From 6c9ead56e825b1188a28c5a87193d36ea9223cec Mon Sep 17 00:00:00 2001 From: "bluejoe2008@gmail.com" Date: Sat, 13 Oct 2018 22:52:32 +0800 Subject: [PATCH] supports IGP connector --- dist/api/classes/baseapp.html | 44 +++++++------- dist/api/classes/connectctrl.html | 10 ++-- dist/api/classes/expansionctrl.html | 12 ++-- dist/api/classes/findrelationstask.html | 18 +++--- .../api/classes/findrelationstaskmanager.html | 4 +- dist/api/classes/graphexplorer.html | 44 +++++++------- dist/api/classes/graphnavigator.html | 44 +++++++------- dist/api/classes/highlightnodectrl.html | 12 ++-- dist/api/classes/i18n.html | 18 +++--- dist/api/classes/infoboxctrl.html | 2 +- dist/api/classes/localgraph.html | 30 +++++----- dist/api/classes/mainframe.html | 60 +++++++++---------- dist/api/classes/messageboxctrl.html | 8 +-- dist/api/classes/point.html | 10 ++-- dist/api/classes/rect.html | 16 ++--- dist/api/classes/relationfinder.html | 50 ++++++++-------- dist/api/classes/relfinderctrl.html | 8 +-- dist/api/classes/relfinderdialogctrl.html | 6 +- dist/api/classes/remotegraph.html | 22 +++---- dist/api/classes/searchbarctrl.html | 4 +- dist/api/classes/toolbarctrl.html | 10 ++-- dist/api/classes/utils.html | 16 ++--- dist/api/enums/frameeventname.html | 46 +++++++------- dist/api/index.html | 6 +- dist/api/interfaces/button_options.html | 14 ++--- dist/api/interfaces/event_args_frame.html | 8 +-- .../interfaces/event_args_frame_drawing.html | 10 ++-- .../interfaces/event_args_frame_input.html | 14 ++--- .../interfaces/event_args_frame_resize.html | 16 ++--- dist/api/interfaces/event_args_relfinder.html | 10 ++-- dist/api/interfaces/frame_options.html | 14 ++--- dist/api/interfaces/graphservice.html | 20 +++---- dist/api/interfaces/gson.html | 8 +-- dist/api/interfaces/nodeedgeids.html | 4 +- dist/api/interfaces/nodeedgeset.html | 4 +- dist/api/interfaces/nodesedges.html | 4 +- dist/api/interfaces/pair.html | 4 +- dist/api/interfaces/point.html | 4 +- dist/api/interfaces/query_results.html | 4 +- dist/api/interfaces/rect.html | 8 +-- dist/api/interfaces/relation_path.html | 4 +- dist/examples/example1-neo4j.html | 39 ------------ dist/examples/example1.html | 1 + dist/examples/example2-neo4j.html | 43 ------------- dist/examples/example3-neo4j.html | 43 ------------- .../interactive-graph.min.js | 20 +++---- dist/igraph/interactive-graph.min.js | 20 +++---- src/main/typescript/control/ConnectCtrl.ts | 2 +- src/test/webapp/example1-neo4j.html | 39 ------------ src/test/webapp/example1.html | 1 + src/test/webapp/example2-neo4j.html | 43 ------------- src/test/webapp/example3-neo4j.html | 43 ------------- 52 files changed, 348 insertions(+), 596 deletions(-) delete mode 100644 dist/examples/example1-neo4j.html delete mode 100644 dist/examples/example2-neo4j.html delete mode 100644 dist/examples/example3-neo4j.html delete mode 100644 src/test/webapp/example1-neo4j.html delete mode 100644 src/test/webapp/example2-neo4j.html delete mode 100644 src/test/webapp/example3-neo4j.html diff --git a/dist/api/classes/baseapp.html b/dist/api/classes/baseapp.html index b3c7eaa..0b15be9 100644 --- a/dist/api/classes/baseapp.html +++ b/dist/api/classes/baseapp.html @@ -139,7 +139,7 @@

Protected constructor

  • Parameters

    @@ -167,7 +167,7 @@

    Protected _frame

    _frame: MainFrame
    @@ -177,7 +177,7 @@

    Protected _htmlFrame

    _htmlFrame: HTMLElement @@ -187,7 +187,7 @@

    Protected _messageBox_messageBox: MessageBoxCtrl @@ -197,7 +197,7 @@

    Protected _toggleEdge_toggleEdgeLabelHandlers: any @@ -214,7 +214,7 @@

    clearScreen

  • Returns void

    @@ -231,7 +231,7 @@

    connect

  • Parameters

    @@ -257,7 +257,7 @@

    loadGson

  • Parameters

    @@ -283,7 +283,7 @@

    Protected

    Parameters

    @@ -306,7 +306,7 @@

    pickup

  • Parameters

    @@ -350,7 +350,7 @@

    showGraph

  • Parameters

    @@ -388,7 +388,7 @@

    toggleDraggable

  • Parameters

    @@ -411,7 +411,7 @@

    toggleEdgeColor

  • Parameters

    @@ -434,7 +434,7 @@

    toggleEdges

  • Parameters

    @@ -457,7 +457,7 @@

    toggleFaces

  • Parameters

    @@ -480,7 +480,7 @@

    toggleNavigationButtons

  • Parameters

    @@ -503,7 +503,7 @@

    toggleNodeBorder

  • Parameters

    @@ -526,7 +526,7 @@

    toggleShadow

  • Parameters

    @@ -549,7 +549,7 @@

    toggleShowEdgeLabelAlways

  • Parameters

    @@ -572,7 +572,7 @@

    toggleWeights

  • Parameters

    @@ -595,7 +595,7 @@

    updateGraph

  • Parameters

    @@ -633,7 +633,7 @@

    updateTheme

  • Parameters

    diff --git a/dist/api/classes/connectctrl.html b/dist/api/classes/connectctrl.html index f04cfed..4402c13 100644 --- a/dist/api/classes/connectctrl.html +++ b/dist/api/classes/connectctrl.html @@ -452,7 +452,7 @@

    loadGsonString

  • Returns void

    @@ -469,7 +469,7 @@

    loadGsonUrl

  • Returns void

    @@ -486,7 +486,7 @@

    loadRemoteServer

  • Returns void

    @@ -575,7 +575,7 @@

    onCreateUI

    Parameters

    @@ -627,7 +627,7 @@

    onResize

    Parameters

    diff --git a/dist/api/classes/expansionctrl.html b/dist/api/classes/expansionctrl.html index 10628da..1c68b0e 100644 --- a/dist/api/classes/expansionctrl.html +++ b/dist/api/classes/expansionctrl.html @@ -229,7 +229,7 @@

    clear

  • Returns void

    @@ -246,7 +246,7 @@

    collapse

  • Parameters

    @@ -352,7 +352,7 @@

    expand

  • Parameters

    @@ -394,7 +394,7 @@

    isExpanded

  • Parameters

    @@ -514,7 +514,7 @@

    onCreate

    Parameters

    @@ -538,7 +538,7 @@

    onDestroy

    Parameters

    diff --git a/dist/api/classes/findrelationstask.html b/dist/api/classes/findrelationstask.html index 8a53146..30b04e9 100644 --- a/dist/api/classes/findrelationstask.html +++ b/dist/api/classes/findrelationstask.html @@ -115,7 +115,7 @@

    constructor

  • Parameters

    @@ -137,7 +137,7 @@

    _completed

    _completed: boolean = false
    @@ -147,7 +147,7 @@

    _pointer

    _pointer: number = 0
    @@ -157,7 +157,7 @@

    _taskId

    _taskId: number = 0
    @@ -167,7 +167,7 @@

    _timerId

    _timerId: number = 0
    @@ -177,7 +177,7 @@

    paths

    paths: RELATION_PATH[] = []
    @@ -194,7 +194,7 @@

    readMore

  • Parameters

    @@ -217,7 +217,7 @@

    start

  • Parameters

    @@ -249,7 +249,7 @@

    stop

  • Returns void

    diff --git a/dist/api/classes/findrelationstaskmanager.html b/dist/api/classes/findrelationstaskmanager.html index c562f39..3115188 100644 --- a/dist/api/classes/findrelationstaskmanager.html +++ b/dist/api/classes/findrelationstaskmanager.html @@ -98,7 +98,7 @@

    createTask

  • Returns FindRelationsTask

    @@ -115,7 +115,7 @@

    getTask

  • Parameters

    diff --git a/dist/api/classes/graphexplorer.html b/dist/api/classes/graphexplorer.html index cba620e..7f116c7 100644 --- a/dist/api/classes/graphexplorer.html +++ b/dist/api/classes/graphexplorer.html @@ -134,7 +134,7 @@

    constructor

    Parameters

    @@ -157,7 +157,7 @@

    Protected _frame

    @@ -168,7 +168,7 @@

    Protected _htmlFrame

    Inherited from BaseApp._htmlFrame

    @@ -179,7 +179,7 @@

    Protected _messageBox

    Inherited from BaseApp._messageBox

    @@ -190,7 +190,7 @@

    Protected _toggleEdge

    Inherited from BaseApp._toggleEdgeLabelHandlers

    @@ -208,7 +208,7 @@

    clearScreen

    Returns void

    @@ -226,7 +226,7 @@

    connect

    Parameters

    @@ -253,7 +253,7 @@

    loadGson

    Parameters

    @@ -280,7 +280,7 @@

    Protected onCreateF

    Parameters

    @@ -304,7 +304,7 @@

    pickup

    Parameters

    @@ -349,7 +349,7 @@

    showGraph

    Parameters

    @@ -388,7 +388,7 @@

    toggleDraggable

    Parameters

    @@ -412,7 +412,7 @@

    toggleEdgeColor

    Parameters

    @@ -436,7 +436,7 @@

    toggleEdges

    Parameters

    @@ -460,7 +460,7 @@

    toggleFaces

    Parameters

    @@ -484,7 +484,7 @@

    toggleNavigationButtons

    Parameters

    @@ -508,7 +508,7 @@

    toggleNodeBorder

    Parameters

    @@ -532,7 +532,7 @@

    toggleShadow

    Parameters

    @@ -556,7 +556,7 @@

    toggleShowEdgeLabelAlways

    Parameters

    @@ -580,7 +580,7 @@

    toggleWeights

    Parameters

    @@ -604,7 +604,7 @@

    updateGraph

    Parameters

    @@ -643,7 +643,7 @@

    updateTheme

    Parameters

    diff --git a/dist/api/classes/graphnavigator.html b/dist/api/classes/graphnavigator.html index fb559c0..f8a0a3a 100644 --- a/dist/api/classes/graphnavigator.html +++ b/dist/api/classes/graphnavigator.html @@ -134,7 +134,7 @@

    constructor

    Parameters

    @@ -157,7 +157,7 @@

    Protected _frame

    @@ -168,7 +168,7 @@

    Protected _htmlFrame

    Inherited from BaseApp._htmlFrame

    @@ -179,7 +179,7 @@

    Protected _messageBox

    Inherited from BaseApp._messageBox

    @@ -190,7 +190,7 @@

    Protected _toggleEdge

    Inherited from BaseApp._toggleEdgeLabelHandlers

    @@ -208,7 +208,7 @@

    clearScreen

    Returns void

    @@ -226,7 +226,7 @@

    connect

    Parameters

    @@ -253,7 +253,7 @@

    loadGson

    Parameters

    @@ -280,7 +280,7 @@

    Protected onCreateF

    Parameters

    @@ -304,7 +304,7 @@

    pickup

    Parameters

    @@ -349,7 +349,7 @@

    showGraph

    Parameters

    @@ -388,7 +388,7 @@

    toggleDraggable

    Parameters

    @@ -412,7 +412,7 @@

    toggleEdgeColor

    Parameters

    @@ -436,7 +436,7 @@

    toggleEdges

    Parameters

    @@ -460,7 +460,7 @@

    toggleFaces

    Parameters

    @@ -484,7 +484,7 @@

    toggleNavigationButtons

    Parameters

    @@ -508,7 +508,7 @@

    toggleNodeBorder

    Parameters

    @@ -532,7 +532,7 @@

    toggleShadow

    Parameters

    @@ -556,7 +556,7 @@

    toggleShowEdgeLabelAlways

    Parameters

    @@ -580,7 +580,7 @@

    toggleWeights

    Parameters

    @@ -604,7 +604,7 @@

    updateGraph

    Parameters

    @@ -643,7 +643,7 @@

    updateTheme

    Parameters

    diff --git a/dist/api/classes/highlightnodectrl.html b/dist/api/classes/highlightnodectrl.html index b52d3bc..6783aa5 100644 --- a/dist/api/classes/highlightnodectrl.html +++ b/dist/api/classes/highlightnodectrl.html @@ -229,7 +229,7 @@

    clear

  • Returns void

    @@ -348,7 +348,7 @@

    highlight

  • Parameters

    @@ -468,7 +468,7 @@

    onCreate

    Parameters

    @@ -492,7 +492,7 @@

    onDestroy

    Parameters

    @@ -774,7 +774,7 @@

    toggle

  • Parameters

    @@ -797,7 +797,7 @@

    unhighlight

  • Parameters

    diff --git a/dist/api/classes/i18n.html b/dist/api/classes/i18n.html index 7b2cebf..b3b0be6 100644 --- a/dist/api/classes/i18n.html +++ b/dist/api/classes/i18n.html @@ -114,7 +114,7 @@

    Static RESOURCE_BUNDLE

    RESOURCE_BUNDLE: any
    @@ -131,7 +131,7 @@

    Static getMessage

  • Parameters

    @@ -154,7 +154,7 @@

    Static setLanguage

  • Parameters

    @@ -176,7 +176,7 @@

    Static MESSAGES

    MESSAGES: object
    @@ -185,7 +185,7 @@

    default

    default: object = i18n.MESSAGES_EN
    @@ -206,7 +206,7 @@

    en

    en: object = i18n.MESSAGES_EN
    @@ -228,7 +228,7 @@

    Static MESSAGES_EN

    MESSAGES_EN: object
    @@ -237,7 +237,7 @@

    INITIALING

    INITIALING: string = "initializing..."
    @@ -247,7 +247,7 @@

    LOADING_GRAPH

    LOADING_GRAPH: string = "loading graph..."
    diff --git a/dist/api/classes/infoboxctrl.html b/dist/api/classes/infoboxctrl.html index f88706a..e2189d4 100644 --- a/dist/api/classes/infoboxctrl.html +++ b/dist/api/classes/infoboxctrl.html @@ -521,7 +521,7 @@

    onCreateUI

    Parameters

    diff --git a/dist/api/classes/localgraph.html b/dist/api/classes/localgraph.html index 342ec6a..38f7440 100644 --- a/dist/api/classes/localgraph.html +++ b/dist/api/classes/localgraph.html @@ -117,7 +117,7 @@

    _async

  • Parameters

    @@ -158,7 +158,7 @@

    findRelations

  • Parameters

    @@ -194,7 +194,7 @@

    getNodeCategories

    Returns object

    @@ -211,7 +211,7 @@

    requestConnect

  • Parameters

    @@ -246,7 +246,7 @@

    requestFilterNodesByCategory

  • Parameters

    @@ -293,7 +293,7 @@

    requestFindRelations

  • Parameters

    @@ -343,7 +343,7 @@

    requestGetMoreRelations

  • Parameters

    @@ -387,7 +387,7 @@

    requestGetNeighbours

  • Parameters

    @@ -434,7 +434,7 @@

    requestGetNodeInfos

  • Parameters

    @@ -478,7 +478,7 @@

    requestLoadGraph

  • Parameters

    @@ -522,7 +522,7 @@

    requestSearch

  • Parameters

    @@ -570,7 +570,7 @@

    requestStopFindRelations

    Parameters

    @@ -593,7 +593,7 @@

    Static fromGson

  • Parameters

    @@ -616,7 +616,7 @@

    Static fromGsonFile

    Parameters

    @@ -639,7 +639,7 @@

    Static fromGsonString<
  • Parameters

    diff --git a/dist/api/classes/mainframe.html b/dist/api/classes/mainframe.html index 13d7e23..6554f02 100644 --- a/dist/api/classes/mainframe.html +++ b/dist/api/classes/mainframe.html @@ -131,7 +131,7 @@

    constructor

  • Parameters

    @@ -163,7 +163,7 @@

    addControl

  • Type parameters

    @@ -195,7 +195,7 @@

    clearScreen

  • Returns void

    @@ -212,7 +212,7 @@

    connect

  • Parameters

    @@ -238,7 +238,7 @@

    deleteNodes

  • @@ -287,7 +287,7 @@

    emit

  • Parameters

    @@ -313,7 +313,7 @@

    fire

  • Parameters

    @@ -339,7 +339,7 @@

    fits

  • Parameters

    @@ -365,7 +365,7 @@

    focusNodes

  • Parameters

    @@ -388,7 +388,7 @@

    getControl

  • Parameters

    @@ -411,7 +411,7 @@

    getGraphService

  • Returns GraphService

    @@ -428,7 +428,7 @@

    getNodeById

  • Parameters

    @@ -451,7 +451,7 @@

    getNodeCategories

  • Returns object

    @@ -468,7 +468,7 @@

    getScreenData

  • Returns NodeEdgeSet

    @@ -485,7 +485,7 @@

    insertEdges

  • Parameters

    @@ -508,7 +508,7 @@

    insertNodes

  • @@ -540,7 +540,7 @@

    load

  • @@ -585,7 +585,7 @@

    lockScale

  • Parameters

    @@ -611,7 +611,7 @@

    off

  • Parameters

    @@ -655,7 +655,7 @@

    on

  • Parameters

    @@ -699,7 +699,7 @@

    placeNodes

  • Parameters

    @@ -722,7 +722,7 @@

    removeControl

  • Parameters

    @@ -745,7 +745,7 @@

    scaleTo

  • Parameters

    @@ -768,7 +768,7 @@

    search

  • Parameters

    @@ -812,7 +812,7 @@

    showNodesOfCategory

  • Parameters

    @@ -853,7 +853,7 @@

    updateEdges

  • Parameters

    @@ -876,7 +876,7 @@

    updateGraph

  • Parameters

    @@ -914,7 +914,7 @@

    updateNetworkOptions

  • Parameters

    @@ -937,7 +937,7 @@

    updateNodes

  • Parameters

    @@ -960,7 +960,7 @@

    updateTheme

  • Parameters

    diff --git a/dist/api/classes/messageboxctrl.html b/dist/api/classes/messageboxctrl.html index 3f744f8..47c1e49 100644 --- a/dist/api/classes/messageboxctrl.html +++ b/dist/api/classes/messageboxctrl.html @@ -401,7 +401,7 @@

    hideMessage

  • Returns void

    @@ -540,7 +540,7 @@

    onCreateUI

    Parameters

    @@ -592,7 +592,7 @@

    onResize

    Parameters

    @@ -937,7 +937,7 @@

    showMessage

  • Parameters

    diff --git a/dist/api/classes/point.html b/dist/api/classes/point.html index f865b02..7899442 100644 --- a/dist/api/classes/point.html +++ b/dist/api/classes/point.html @@ -111,7 +111,7 @@

    constructor

  • Parameters

    @@ -136,7 +136,7 @@

    x

    x: number
    @@ -146,7 +146,7 @@

    y

    y: number
    @@ -163,7 +163,7 @@

    delta

  • Parameters

    @@ -186,7 +186,7 @@

    expand

  • Parameters

    diff --git a/dist/api/classes/rect.html b/dist/api/classes/rect.html index 0b50225..a86b2aa 100644 --- a/dist/api/classes/rect.html +++ b/dist/api/classes/rect.html @@ -114,7 +114,7 @@

    constructor

  • Parameters

    @@ -145,7 +145,7 @@

    x1

    x1: number
    @@ -155,7 +155,7 @@

    x2

    x2: number
    @@ -165,7 +165,7 @@

    y1

    y1: number
    @@ -175,7 +175,7 @@

    y2

    y2: number
    @@ -192,7 +192,7 @@

    center

  • Returns Point

    @@ -209,7 +209,7 @@

    height

  • Returns number

    @@ -226,7 +226,7 @@

    width

  • Returns number

    diff --git a/dist/api/classes/relationfinder.html b/dist/api/classes/relationfinder.html index 26c7ffb..8b9dc20 100644 --- a/dist/api/classes/relationfinder.html +++ b/dist/api/classes/relationfinder.html @@ -137,7 +137,7 @@

    constructor

    Parameters

    @@ -163,7 +163,7 @@

    Protected _frame

    @@ -174,7 +174,7 @@

    Protected _htmlFrame

    Inherited from BaseApp._htmlFrame

    @@ -185,7 +185,7 @@

    Protected _messageBox

    Inherited from BaseApp._messageBox

    @@ -196,7 +196,7 @@

    Protected _toggleEdge

    Inherited from BaseApp._toggleEdgeLabelHandlers

    @@ -214,7 +214,7 @@

    clearScreen

    Returns void

    @@ -232,7 +232,7 @@

    connect

    Parameters

    @@ -259,7 +259,7 @@

    loadGson

    Parameters

    @@ -286,7 +286,7 @@

    Protected onCreateF

    Parameters

    @@ -310,7 +310,7 @@

    pickup

    Parameters

    @@ -355,7 +355,7 @@

    showGraph

    Parameters

    @@ -393,7 +393,7 @@

    startQuery

  • Parameters

    @@ -419,7 +419,7 @@

    startQueryWithPrompt

  • Parameters

    @@ -445,7 +445,7 @@

    stopQuery

  • Returns void

    @@ -463,7 +463,7 @@

    toggleDraggable

    Parameters

    @@ -487,7 +487,7 @@

    toggleEdgeColor

    Parameters

    @@ -511,7 +511,7 @@

    toggleEdges

    Parameters

    @@ -535,7 +535,7 @@

    toggleFaces

    Parameters

    @@ -559,7 +559,7 @@

    toggleNavigationButtons

    Parameters

    @@ -583,7 +583,7 @@

    toggleNodeBorder

    Parameters

    @@ -607,7 +607,7 @@

    toggleShadow

    Parameters

    @@ -631,7 +631,7 @@

    toggleShowEdgeLabelAlways

    Parameters

    @@ -655,7 +655,7 @@

    toggleWeights

    Parameters

    @@ -679,7 +679,7 @@

    updateGraph

    Parameters

    @@ -718,7 +718,7 @@

    updateTheme

    Parameters

    diff --git a/dist/api/classes/relfinderctrl.html b/dist/api/classes/relfinderctrl.html index e0c3df6..383b8b5 100644 --- a/dist/api/classes/relfinderctrl.html +++ b/dist/api/classes/relfinderctrl.html @@ -426,7 +426,7 @@

    onCreate

    Parameters

    @@ -450,7 +450,7 @@

    onDestroy

    Parameters

    @@ -732,7 +732,7 @@

    startQuery

  • Parameters

    @@ -761,7 +761,7 @@

    stopQuery

  • Returns void

    diff --git a/dist/api/classes/relfinderdialogctrl.html b/dist/api/classes/relfinderdialogctrl.html index 0967170..76fba71 100644 --- a/dist/api/classes/relfinderdialogctrl.html +++ b/dist/api/classes/relfinderdialogctrl.html @@ -383,7 +383,7 @@

    getSelectedNodeIds

  • Returns string[]

    @@ -540,7 +540,7 @@

    onCreateUI

    Parameters

    @@ -849,7 +849,7 @@

    selectNodes

  • Parameters

    diff --git a/dist/api/classes/remotegraph.html b/dist/api/classes/remotegraph.html index 15175fb..9209862 100644 --- a/dist/api/classes/remotegraph.html +++ b/dist/api/classes/remotegraph.html @@ -118,7 +118,7 @@

    constructor

  • Parameters

    @@ -145,7 +145,7 @@

    getNodeCategories

    Returns object

    @@ -162,7 +162,7 @@

    requestConnect

  • Parameters

    @@ -197,7 +197,7 @@

    requestFilterNodesByCategory

  • Parameters

    @@ -244,7 +244,7 @@

    requestFindRelations

  • Parameters

    @@ -294,7 +294,7 @@

    requestGetMoreRelations

  • Parameters

    @@ -338,7 +338,7 @@

    requestGetNeighbours

  • Parameters

    @@ -385,7 +385,7 @@

    requestGetNodeInfos

  • Parameters

    @@ -429,7 +429,7 @@

    requestLoadGraph

  • Parameters

    @@ -473,7 +473,7 @@

    requestSearch

  • Parameters

    @@ -521,7 +521,7 @@

    requestStopFindRelations

    Parameters

    diff --git a/dist/api/classes/searchbarctrl.html b/dist/api/classes/searchbarctrl.html index 9841b9d..dd69516 100644 --- a/dist/api/classes/searchbarctrl.html +++ b/dist/api/classes/searchbarctrl.html @@ -280,7 +280,7 @@

    createSearchBox

  • Parameters

    @@ -545,7 +545,7 @@

    onCreateUI

    Parameters

    diff --git a/dist/api/classes/toolbarctrl.html b/dist/api/classes/toolbarctrl.html index 2f3966a..7e78962 100644 --- a/dist/api/classes/toolbarctrl.html +++ b/dist/api/classes/toolbarctrl.html @@ -236,7 +236,7 @@

    addButton

  • Parameters

    @@ -259,7 +259,7 @@

    addButtons

  • Parameters

    @@ -328,7 +328,7 @@

    addTool

  • Parameters

    @@ -593,7 +593,7 @@

    onCreateUI

    Parameters

    @@ -620,7 +620,7 @@

    onDestroy

    Parameters

    diff --git a/dist/api/classes/utils.html b/dist/api/classes/utils.html index 379fd8a..3ccdda4 100644 --- a/dist/api/classes/utils.html +++ b/dist/api/classes/utils.html @@ -104,7 +104,7 @@

    Static deepClone

  • Parameters

    @@ -127,7 +127,7 @@

    Static deepExtend

  • @@ -160,7 +160,7 @@

    Static distinct

  • Parameters

    @@ -183,7 +183,7 @@

    Static evaluate

  • @@ -211,7 +211,7 @@

    Static flatMap

  • Parameters

    @@ -255,7 +255,7 @@

    Static partOf

  • Parameters

    @@ -283,7 +283,7 @@

    Static toArray

  • Type parameters

    @@ -312,7 +312,7 @@

    Static toMap

  • Parameters

    diff --git a/dist/api/enums/frameeventname.html b/dist/api/enums/frameeventname.html index 60dd6f3..17be52f 100644 --- a/dist/api/enums/frameeventname.html +++ b/dist/api/enums/frameeventname.html @@ -107,7 +107,7 @@

    ADD_CONTROL

    ADD_CONTROL: = "ADD_CONTROL"
    @@ -117,7 +117,7 @@

    CREATE_CONTROL

    CREATE_CONTROL: = "CREATE_CONTROL"
    @@ -127,7 +127,7 @@

    DESTROY_CONTROL

    DESTROY_CONTROL: = "DESTROY_CONTROL"
    @@ -137,7 +137,7 @@

    FOCUS_NODES

    FOCUS_NODES: = "FOCUS_NODES"
    @@ -147,7 +147,7 @@

    FRAME_CREATED

    FRAME_CREATED: = "FRAME_CREATED"
    @@ -157,7 +157,7 @@

    FRAME_RESIZE

    FRAME_RESIZE: = "FRAME_RESIZE"
    @@ -167,7 +167,7 @@

    GRAPH_CONNECTED

    GRAPH_CONNECTED: = "GRAPH_CONNECTED"
    @@ -177,7 +177,7 @@

    INSERT_NODES

    INSERT_NODES: = "INSERT_NODES"
    @@ -187,7 +187,7 @@

    NETWORK_AFTER_DRAWING

    NETWORK_AFTER_DRAWING: = "NETWORK_END_DRAWING"
    @@ -197,7 +197,7 @@

    NETWORK_BEFORE_DRAWING

    NETWORK_BEFORE_DRAWING: = "NETWORK_BEFORE_DRAWING"
    @@ -207,7 +207,7 @@

    NETWORK_CLICK

    NETWORK_CLICK: = "NETWORK_CLICK"
    @@ -217,7 +217,7 @@

    NETWORK_DBLCLICK

    NETWORK_DBLCLICK: = "NETWORK_DBLCLICK"
    @@ -227,7 +227,7 @@

    NETWORK_DESELECT_EDGES

    NETWORK_DESELECT_EDGES: = "NETWORK_DESELECT_EDGES"
    @@ -237,7 +237,7 @@

    NETWORK_DESELECT_NODES

    NETWORK_DESELECT_NODES: = "NETWORK_DESELECT_NODES"
    @@ -247,7 +247,7 @@

    NETWORK_DRAGGING

    NETWORK_DRAGGING: = "NETWORK_DRAGGING"
    @@ -257,7 +257,7 @@

    NETWORK_SELECT_EDGES

    NETWORK_SELECT_EDGES: = "NETWORK_SELECT_EDGES"
    @@ -267,7 +267,7 @@

    NETWORK_SELECT_NODES

    NETWORK_SELECT_NODES: = "NETWORK_SELECT_NODES"
    @@ -277,7 +277,7 @@

    RELFINDER_START

    RELFINDER_START: = "RELFINDER_START"
    @@ -287,7 +287,7 @@

    RELFINDER_STARTED

    RELFINDER_STARTED: = "RELFINDER_STARTED"
    @@ -297,7 +297,7 @@

    RELFINDER_STOP

    RELFINDER_STOP: = "RELFINDER_STOP"
    @@ -307,7 +307,7 @@

    RELFINDER_STOPPED

    RELFINDER_STOPPED: = "RELFINDER_STOPPED"
    @@ -317,7 +317,7 @@

    REMOVE_CONTROL

    REMOVE_CONTROL: = "REMOVE_CONTROL"
    @@ -327,7 +327,7 @@

    THEME_CHANGED

    THEME_CHANGED: = "THEME_CHANGED"
    diff --git a/dist/api/index.html b/dist/api/index.html index 0aa9ecb..4122753 100644 --- a/dist/api/index.html +++ b/dist/api/index.html @@ -145,7 +145,7 @@

    CANVAS_PADDING

    CANVAS_PADDING: number = 80
    @@ -155,7 +155,7 @@

    MAX_EDGES_COUNT

    MAX_EDGES_COUNT: number = 5000
    @@ -165,7 +165,7 @@

    MAX_NODES_COUNT

    MAX_NODES_COUNT: number = 5000
    diff --git a/dist/api/interfaces/button_options.html b/dist/api/interfaces/button_options.html index 7fd4ccb..ed272d8 100644 --- a/dist/api/interfaces/button_options.html +++ b/dist/api/interfaces/button_options.html @@ -99,7 +99,7 @@

    Optional caption

    caption: string
    @@ -109,7 +109,7 @@

    Optional checked

    checked: boolean
    @@ -119,7 +119,7 @@

    Optional click

    click: Function
    @@ -129,7 +129,7 @@

    Optional disabled

    disabled: boolean
    @@ -139,7 +139,7 @@

    Optional icon

    icon: string
    @@ -149,7 +149,7 @@

    Optional iconPosition

    iconPosition: string @@ -159,7 +159,7 @@

    Optional tooltip

    tooltip: string
    diff --git a/dist/api/interfaces/event_args_frame.html b/dist/api/interfaces/event_args_frame.html index b864944..76d8101 100644 --- a/dist/api/interfaces/event_args_frame.html +++ b/dist/api/interfaces/event_args_frame.html @@ -110,7 +110,7 @@

    htmlMainFrame

    htmlMainFrame: HTMLElement
    @@ -120,7 +120,7 @@

    mainFrame

    mainFrame: MainFrame
    @@ -130,7 +130,7 @@

    network

    network: GraphNetwork
    @@ -140,7 +140,7 @@

    theme

    theme: Theme
    diff --git a/dist/api/interfaces/event_args_frame_drawing.html b/dist/api/interfaces/event_args_frame_drawing.html index dd099c2..f4eff1e 100644 --- a/dist/api/interfaces/event_args_frame_drawing.html +++ b/dist/api/interfaces/event_args_frame_drawing.html @@ -102,7 +102,7 @@

    context2d

    context2d: CanvasRenderingContext2D
    @@ -113,7 +113,7 @@

    htmlMainFrame

    @@ -124,7 +124,7 @@

    mainFrame

    @@ -135,7 +135,7 @@

    network

    @@ -146,7 +146,7 @@

    theme

    diff --git a/dist/api/interfaces/event_args_frame_input.html b/dist/api/interfaces/event_args_frame_input.html index d18c560..e2356ff 100644 --- a/dist/api/interfaces/event_args_frame_input.html +++ b/dist/api/interfaces/event_args_frame_input.html @@ -108,7 +108,7 @@

    edges

    @@ -119,7 +119,7 @@

    htmlMainFrame

    @@ -130,7 +130,7 @@

    mainFrame

    @@ -141,7 +141,7 @@

    network

    @@ -152,7 +152,7 @@

    nodes

    @@ -162,7 +162,7 @@

    Optional previousSelectio
    previousSelection: NodeEdgeIds
    @@ -173,7 +173,7 @@

    theme

    diff --git a/dist/api/interfaces/event_args_frame_resize.html b/dist/api/interfaces/event_args_frame_resize.html index ad7b254..d413675 100644 --- a/dist/api/interfaces/event_args_frame_resize.html +++ b/dist/api/interfaces/event_args_frame_resize.html @@ -105,7 +105,7 @@

    Optional height

    height: number
    @@ -116,7 +116,7 @@

    htmlMainFrame

    @@ -127,7 +127,7 @@

    mainFrame

    @@ -138,7 +138,7 @@

    network

    @@ -148,7 +148,7 @@

    Optional oldHeight

    oldHeight: number
    @@ -158,7 +158,7 @@

    Optional oldWidth

    oldWidth: number
    @@ -169,7 +169,7 @@

    theme

    @@ -179,7 +179,7 @@

    Optional width

    width: number
    diff --git a/dist/api/interfaces/event_args_relfinder.html b/dist/api/interfaces/event_args_relfinder.html index 80592d6..d0f656e 100644 --- a/dist/api/interfaces/event_args_relfinder.html +++ b/dist/api/interfaces/event_args_relfinder.html @@ -103,7 +103,7 @@

    htmlMainFrame

    @@ -114,7 +114,7 @@

    mainFrame

    @@ -124,7 +124,7 @@

    maxDepth

    maxDepth: number
    @@ -135,7 +135,7 @@

    network

    @@ -146,7 +146,7 @@

    theme

    diff --git a/dist/api/interfaces/frame_options.html b/dist/api/interfaces/frame_options.html index 58d483a..a9c7bdd 100644 --- a/dist/api/interfaces/frame_options.html +++ b/dist/api/interfaces/frame_options.html @@ -99,7 +99,7 @@

    Optional showDegrees

    showDegrees: boolean
    @@ -109,7 +109,7 @@

    Optional showEdges

    showEdges: boolean
    @@ -119,7 +119,7 @@

    Optional showFaces

    showFaces: boolean
    @@ -129,7 +129,7 @@

    Optional showGroups

    showGroups: boolean
    @@ -139,7 +139,7 @@

    Optional showLabels

    showLabels: boolean
    @@ -149,7 +149,7 @@

    Optional showNodes

    showNodes: boolean
    @@ -159,7 +159,7 @@

    Optional showTitles

    showTitles: boolean
    diff --git a/dist/api/interfaces/graphservice.html b/dist/api/interfaces/graphservice.html index b2ec3dd..95f4a91 100644 --- a/dist/api/interfaces/graphservice.html +++ b/dist/api/interfaces/graphservice.html @@ -113,7 +113,7 @@

    getNodeCategories

  • @@ -135,7 +135,7 @@

    requestConnect

  • @@ -177,7 +177,7 @@

    requestFilterNodesByCategory

  • @@ -231,7 +231,7 @@

    requestFindRelations

  • @@ -288,7 +288,7 @@

    requestGetMoreRelations

  • @@ -339,7 +339,7 @@

    requestGetNeighbours

  • @@ -393,7 +393,7 @@

    requestGetNodeInfos

  • @@ -444,7 +444,7 @@

    requestLoadGraph

  • @@ -495,7 +495,7 @@

    requestSearch

  • @@ -549,7 +549,7 @@

    requestStopFindRelations

  • diff --git a/dist/api/interfaces/gson.html b/dist/api/interfaces/gson.html index 87b8b95..0b35d77 100644 --- a/dist/api/interfaces/gson.html +++ b/dist/api/interfaces/gson.html @@ -103,7 +103,7 @@

    Optional categories

    categories: object
    @@ -113,7 +113,7 @@

    data

    data: object
    @@ -134,7 +134,7 @@

    Optional dbinfo

    dbinfo: object
    @@ -144,7 +144,7 @@

    Optional translator

    translator: object
    diff --git a/dist/api/interfaces/nodeedgeids.html b/dist/api/interfaces/nodeedgeids.html index 56da36e..1f8e8c0 100644 --- a/dist/api/interfaces/nodeedgeids.html +++ b/dist/api/interfaces/nodeedgeids.html @@ -99,7 +99,7 @@

    edges

    edges: string[]
    @@ -109,7 +109,7 @@

    nodes

    nodes: string[]
    diff --git a/dist/api/interfaces/nodeedgeset.html b/dist/api/interfaces/nodeedgeset.html index 15e647d..9d88f46 100644 --- a/dist/api/interfaces/nodeedgeset.html +++ b/dist/api/interfaces/nodeedgeset.html @@ -94,7 +94,7 @@

    edges

    @@ -104,7 +104,7 @@

    nodes

    diff --git a/dist/api/interfaces/nodesedges.html b/dist/api/interfaces/nodesedges.html index 7b93d17..3b53982 100644 --- a/dist/api/interfaces/nodesedges.html +++ b/dist/api/interfaces/nodesedges.html @@ -94,7 +94,7 @@

    edges

    edges: any[]
    @@ -104,7 +104,7 @@

    nodes

    nodes: any[]
    diff --git a/dist/api/interfaces/pair.html b/dist/api/interfaces/pair.html index 35c95a9..11e801b 100644 --- a/dist/api/interfaces/pair.html +++ b/dist/api/interfaces/pair.html @@ -105,7 +105,7 @@

    _1

    _1: K
    @@ -115,7 +115,7 @@

    _2

    _2: V
    diff --git a/dist/api/interfaces/point.html b/dist/api/interfaces/point.html index 70a35ee..7252066 100644 --- a/dist/api/interfaces/point.html +++ b/dist/api/interfaces/point.html @@ -94,7 +94,7 @@

    x

    x: number
    @@ -104,7 +104,7 @@

    y

    y: number
    diff --git a/dist/api/interfaces/query_results.html b/dist/api/interfaces/query_results.html index 26dba4a..549dd8a 100644 --- a/dist/api/interfaces/query_results.html +++ b/dist/api/interfaces/query_results.html @@ -94,7 +94,7 @@

    completed

    completed: boolean
    @@ -104,7 +104,7 @@

    paths

    paths: RELATION_PATH[]
    diff --git a/dist/api/interfaces/rect.html b/dist/api/interfaces/rect.html index 64208a0..a3f797e 100644 --- a/dist/api/interfaces/rect.html +++ b/dist/api/interfaces/rect.html @@ -96,7 +96,7 @@

    bottom

    bottom: number
    @@ -106,7 +106,7 @@

    left

    left: number
    @@ -116,7 +116,7 @@

    right

    right: number
    @@ -126,7 +126,7 @@

    top

    top: number
    diff --git a/dist/api/interfaces/relation_path.html b/dist/api/interfaces/relation_path.html index cad2928..c19f865 100644 --- a/dist/api/interfaces/relation_path.html +++ b/dist/api/interfaces/relation_path.html @@ -94,7 +94,7 @@

    edges

    edges: any[]
    @@ -104,7 +104,7 @@

    nodes

    nodes: any[]
    diff --git a/dist/examples/example1-neo4j.html b/dist/examples/example1-neo4j.html deleted file mode 100644 index a4bcaeb..0000000 --- a/dist/examples/example1-neo4j.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - GraphNavigator - - - - - - - - - - - -
    -
    -
    - - - - - \ No newline at end of file diff --git a/dist/examples/example1.html b/dist/examples/example1.html index 63cf44c..3dbaf40 100644 --- a/dist/examples/example1.html +++ b/dist/examples/example1.html @@ -33,6 +33,7 @@ var app = new igraph.GraphNavigator(document.getElementById('graphArea')); console.log(app); app.loadGson("honglou.json"); + //app.connect("http://localhost:9999/graphserver/connector-bolt"); diff --git a/dist/examples/example2-neo4j.html b/dist/examples/example2-neo4j.html deleted file mode 100644 index a1221e9..0000000 --- a/dist/examples/example2-neo4j.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - GraphExplorer - - - - - - - - - - - -
    -
    -
    - - - - \ No newline at end of file diff --git a/dist/examples/example3-neo4j.html b/dist/examples/example3-neo4j.html deleted file mode 100644 index 0d7f450..0000000 --- a/dist/examples/example3-neo4j.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - RelationFinder - - - - - - - - - - - -
    -
    -
    - - - - \ No newline at end of file diff --git a/dist/examples/lib/interactive-graph-0.1.0/interactive-graph.min.js b/dist/examples/lib/interactive-graph-0.1.0/interactive-graph.min.js index 299467c..a9ab005 100644 --- a/dist/examples/lib/interactive-graph-0.1.0/interactive-graph.min.js +++ b/dist/examples/lib/interactive-graph-0.1.0/interactive-graph.min.js @@ -1,16 +1,16 @@ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.igraph=e():t.igraph=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=91)}([function(t,e,i){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,i){"use strict";e.__esModule=!0;var n=i(112),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(){function t(t,e){for(var i=0;i0&&e-1 in t)}function h(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function l(t,e,i){return yt.isFunction(e)?yt.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?yt.grep(t,function(t){return t===e!==i}):"string"!=typeof e?yt.grep(t,function(t){return ut.call(e,t)>-1!==i}):Tt.test(e)?yt.filter(e,t,i):(e=yt.filter(e,t),yt.grep(t,function(t){return ut.call(e,t)>-1!==i&&1===t.nodeType}))}function d(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function u(t){var e={};return yt.each(t.match(Pt)||[],function(t,i){e[i]=!0}),e}function c(t){return t}function p(t){throw t}function f(t,e,i,n){var o;try{t&&yt.isFunction(o=t.promise)?o.call(t).done(e).fail(i):t&&yt.isFunction(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}function m(){rt.removeEventListener("DOMContentLoaded",m),i.removeEventListener("load",m),yt.ready()}function g(){this.expando=yt.expando+g.uid++}function v(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Ht.test(t)?JSON.parse(t):t)}function y(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(jt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=v(i)}catch(t){}Bt.set(t,e,i)}else i=void 0;return i}function b(t,e,i,n){var o,s=1,r=20,a=n?function(){return n.cur()}:function(){return yt.css(t,e,"")},h=a(),l=i&&i[3]||(yt.cssNumber[e]?"":"px"),d=(yt.cssNumber[e]||"px"!==l&&+h)&&Gt.exec(yt.css(t,e));if(d&&d[3]!==l){l=l||d[3],i=i||[],d=+h||1;do{s=s||".5",d/=s,yt.style(t,e,d+l)}while(s!==(s=a()/h)&&1!==s&&--r)}return i&&(d=+d||+h||0,o=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=l,n.start=d,n.end=o)),o}function _(t){var e,i=t.ownerDocument,n=t.nodeName,o=qt[n];return o||(e=i.body.appendChild(i.createElement(n)),o=yt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),qt[n]=o,o)}function w(t,e){for(var i,n,o=[],s=0,r=t.length;s-1)o&&o.push(s);else if(l=yt.contains(s.ownerDocument,s),r=x(u.appendChild(s),"script"),l&&k(r),i)for(d=0;s=r[d++];)Kt.test(s.type||"")&&i.push(s);return u}function D(){return!0}function E(){return!1}function S(){try{return rt.activeElement}catch(t){}}function T(t,e,i,n,o,s){var r,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)T(t,a,i,n,e[a],s);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=E;else if(!o)return t;return 1===s&&(r=o,o=function(t){return yt().off(t),r.apply(this,arguments)},o.guid=r.guid||(r.guid=yt.guid++)),t.each(function(){yt.event.add(this,e,o,n,i)})}function M(t,e){return h(t,"table")&&h(11!==e.nodeType?e:e.firstChild,"tr")?yt(">tbody",t)[0]||t:t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function I(t){var e=re.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function N(t,e){var i,n,o,s,r,a,h,l;if(1===e.nodeType){if(zt.hasData(t)&&(s=zt.access(t),r=zt.set(e,s),l=s.events)){delete r.handle,r.events={};for(o in l)for(i=0,n=l[o].length;i1&&"string"==typeof f&&!vt.checkClone&&se.test(f))return t.each(function(o){var s=t.eq(o);m&&(e[0]=f.call(this,o,s.html())),A(s,e,i,n)});if(c&&(o=C(e,t[0].ownerDocument,!1,t,n),s=o.firstChild,1===o.childNodes.length&&(o=s),s||n)){for(a=yt.map(x(o,"script"),O),h=a.length;u=0&&iw.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[z]=!0,t}function o(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&xt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function h(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function u(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function f(t,i,n){for(var o=0,s=i.length;o-1&&(n[l]=!(r[l]=u))}}else b=m(b===r?b.splice(g,b.length):b),s?s(null,r,b,h):K.apply(r,b)})}function v(t){for(var e,i,n,o=t.length,s=w.relative[t[0].type],r=s||w.relative[" "],a=s?1:0,h=c(function(t){return t===e},r,!0),l=c(function(t){return Q(e,t)>-1},r,!0),d=[function(t,i,n){var o=!s&&(n||i!==S)||((e=i).nodeType?h(t,i,n):l(t,i,n));return e=null,o}];a1&&p(d),a>1&&u(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(st,"$1"),i,a0,s=t.length>0,r=function(n,r,a,h,l){var d,u,c,p=0,f="0",g=n&&[],v=[],y=S,b=n||s&&w.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,x=b.length;for(l&&(S=r===I||r||l);f!==x&&null!=(d=b[f]);f++){if(s&&d){for(u=0,r||d.ownerDocument===I||(O(d),a=!P);c=t[u++];)if(c(d,r||I,a)){h.push(d);break}l&&(H=_)}o&&((d=!c&&d)&&p--,n&&g.push(d))}if(p+=f,o&&f!==p){for(u=0;c=i[u++];)c(g,v,r,a);if(n){if(p>0)for(;f--;)g[f]||v[f]||(v[f]=$.call(h));v=m(v)}K.apply(h,v),l&&!n&&v.length>0&&p+i.length>1&&e.uniqueSort(h)}return l&&(H=_,S=y),g};return o?n(r):r}var b,_,w,x,k,C,D,E,S,T,M,O,I,N,P,A,R,L,F,z="sizzle"+1*new Date,B=t.document,H=0,j=0,W=i(),G=i(),Y=i(),V=function(t,e){return t===e&&(M=!0),0},U={}.hasOwnProperty,q=[],$=q.pop,X=q.push,K=q.push,Z=q.slice,Q=function(t,e){for(var i=0,n=t.length;i+~]|"+tt+")"+tt+"*"),ht=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),lt=new RegExp(nt),dt=new RegExp("^"+et+"$"),ut={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},ct=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,ft=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},wt=function(){O()},xt=c(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{K.apply(q=Z.call(B.childNodes),B.childNodes),q[B.childNodes.length].nodeType}catch(t){K={apply:q.length?function(t,e){X.apply(t,Z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}_=e.support={},k=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:B;return n!==I&&9===n.nodeType&&n.documentElement?(I=n,N=I.documentElement,P=!k(I),B!==I&&(i=I.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",wt,!1):i.attachEvent&&i.attachEvent("onunload",wt)),_.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=o(function(t){return t.appendChild(I.createComment("")),!t.getElementsByTagName("*").length}), _.getElementsByClassName=ft.test(I.getElementsByClassName),_.getById=o(function(t){return N.appendChild(t).id=z,!I.getElementsByName||!I.getElementsByName(z).length}),_.getById?(w.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var i=e.getElementById(t);return i?[i]:[]}}):(w.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),w.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},w.find.CLASS=_.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&P)return e.getElementsByClassName(t)},R=[],A=[],(_.qsa=ft.test(I.querySelectorAll))&&(o(function(t){N.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&A.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||A.push("\\["+tt+"*(?:value|"+J+")"),t.querySelectorAll("[id~="+z+"-]").length||A.push("~="),t.querySelectorAll(":checked").length||A.push(":checked"),t.querySelectorAll("a#"+z+"+*").length||A.push(".#.+[+~]")}),o(function(t){t.innerHTML="";var e=I.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&A.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&A.push(":enabled",":disabled"),N.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&A.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),A.push(",.*:")})),(_.matchesSelector=ft.test(L=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&o(function(t){_.disconnectedMatch=L.call(t,"*"),L.call(t,"[s!='']:x"),R.push("!=",nt)}),A=A.length&&new RegExp(A.join("|")),R=R.length&&new RegExp(R.join("|")),e=ft.test(N.compareDocumentPosition),F=e||ft.test(N.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return M=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!_.sortDetached&&e.compareDocumentPosition(t)===i?t===I||t.ownerDocument===B&&F(B,t)?-1:e===I||e.ownerDocument===B&&F(B,e)?1:T?Q(T,t)-Q(T,e):0:4&i?-1:1)}:function(t,e){if(t===e)return M=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],h=[e];if(!o||!s)return t===I?-1:e===I?1:o?-1:s?1:T?Q(T,t)-Q(T,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)h.unshift(i);for(;a[n]===h[n];)n++;return n?r(a[n],h[n]):a[n]===B?-1:h[n]===B?1:0},I):I},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==I&&O(t),i=i.replace(ht,"='$1']"),_.matchesSelector&&P&&!Y[i+" "]&&(!R||!R.test(i))&&(!A||!A.test(i)))try{var n=L.call(t,i);if(n||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&O(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&O(t);var i=w.attrHandle[e.toLowerCase()],n=i&&U.call(w.attrHandle,e.toLowerCase())?i(t,e,!P):void 0;return void 0!==n?n:_.attributes||!P?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(M=!_.detectDuplicates,T=!_.sortStable&&t.slice(0),t.sort(V),M){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return T=null,t},x=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=x(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=x(e);return i},w=e.selectors={cacheLength:50,createPseudo:n,match:ut,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ut.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&<.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(ot," ")+" ").indexOf(n)>-1:"|="===i&&(s===n||s.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),r="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,h){var l,d,u,c,p,f,m=s!==r?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!h&&!a,b=!1;if(g){if(s){for(;m;){for(c=e;c=c[m];)if(a?c.nodeName.toLowerCase()===v:1===c.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(c=g,u=c[z]||(c[z]={}),d=u[c.uniqueID]||(u[c.uniqueID]={}),l=d[t]||[],p=l[0]===H&&l[1],b=p&&l[2],c=p&&g.childNodes[p];c=++p&&c&&c[m]||(b=p=0)||f.pop();)if(1===c.nodeType&&++b&&c===e){d[t]=[H,p,b];break}}else if(y&&(c=e,u=c[z]||(c[z]={}),d=u[c.uniqueID]||(u[c.uniqueID]={}),l=d[t]||[],p=l[0]===H&&l[1],b=p),!1===b)for(;(c=++p&&c&&c[m]||(b=p=0)||f.pop())&&((a?c.nodeName.toLowerCase()!==v:1!==c.nodeType)||!++b||(y&&(u=c[z]||(c[z]={}),d=u[c.uniqueID]||(u[c.uniqueID]={}),d[t]=[H,b]),c!==e)););return(b-=o)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,i){var o,s=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[z]?s(i):s.length>1?(o=[t,t,"",i],w.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=s(t,i),r=o.length;r--;)n=Q(t,o[r]),t[n]=!(e[n]=o[r])}):function(t){return s(t,0,o)}):s}},pseudos:{not:n(function(t){var e=[],i=[],o=D(t.replace(st,"$1"));return o[z]?n(function(t,e,i,n){for(var s,r=o(t,null,n,[]),a=t.length;a--;)(s=r[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,o(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(vt,yt),function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),lang:n(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(vt,yt).toLowerCase(),function(e){var i;do{if(i=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===N},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return ct.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:h(function(){return[0]}),last:h(function(t,e){return[e-1]}),eq:h(function(t,e,i){return[i<0?i+e:i]}),even:h(function(t,e){for(var i=0;i=0;)t.push(n);return t}),gt:h(function(t,e,i){for(var n=i<0?i+e:i;++n2&&"ID"===(r=s[0]).type&&9===e.nodeType&&P&&w.relative[s[1].type]){if(!(e=(w.find.ID(r.matches[0].replace(vt,yt),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=ut.needsContext.test(t)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((h=w.find[a])&&(n=h(r.matches[0].replace(vt,yt),gt.test(s[0].type)&&l(e.parentNode)||e))){if(s.splice(o,1),!(t=n.length&&u(s)))return K.apply(i,n),i;break}}return(d||D(t,c))(n,e,!P,i,!e||gt.test(t)&&l(e.parentNode)||e),i},_.sortStable=z.split("").sort(V).join("")===z,_.detectDuplicates=!!M,O(),_.sortDetached=o(function(t){return 1&t.compareDocumentPosition(I.createElement("fieldset"))}),o(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&o(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||s(J,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(i);yt.find=kt,yt.expr=kt.selectors,yt.expr[":"]=yt.expr.pseudos,yt.uniqueSort=yt.unique=kt.uniqueSort,yt.text=kt.getText,yt.isXMLDoc=kt.isXML,yt.contains=kt.contains,yt.escapeSelector=kt.escape;var Ct=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&yt(t).is(i))break;n.push(t)}return n},Dt=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},Et=yt.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Tt=/^.[^:#\[\.,]*$/;yt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?yt.find.matchesSelector(n,t)?[n]:[]:yt.find.matches(t,yt.grep(e,function(t){return 1===t.nodeType}))},yt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(yt(t).filter(function(){for(e=0;e1?yt.uniqueSort(i):i},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Et.test(t)?yt(t):t||[],!1).length}});var Mt,Ot=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(yt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||Mt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Ot.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof yt?e[0]:e,yt.merge(this,yt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:rt,!0)),St.test(n[1])&&yt.isPlainObject(e))for(n in e)yt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return o=rt.getElementById(n[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):yt.isFunction(t)?void 0!==i.ready?i.ready(t):t(yt):yt.makeArray(t,this)}).prototype=yt.fn,Mt=yt(rt);var It=/^(?:parents|prev(?:Until|All))/,Nt={children:!0,contents:!0,next:!0,prev:!0};yt.fn.extend({has:function(t){var e=yt(t,this),i=e.length;return this.filter(function(){for(var t=0;t-1:1===i.nodeType&&yt.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?yt.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?ut.call(yt(t),this[0]):ut.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(yt.uniqueSort(yt.merge(this.get(),yt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),yt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Ct(t,"parentNode")},parentsUntil:function(t,e,i){return Ct(t,"parentNode",i)},next:function(t){return d(t,"nextSibling")},prev:function(t){return d(t,"previousSibling")},nextAll:function(t){return Ct(t,"nextSibling")},prevAll:function(t){return Ct(t,"previousSibling")},nextUntil:function(t,e,i){return Ct(t,"nextSibling",i)},prevUntil:function(t,e,i){return Ct(t,"previousSibling",i)},siblings:function(t){return Dt((t.parentNode||{}).firstChild,t)},children:function(t){return Dt(t.firstChild)},contents:function(t){return h(t,"iframe")?t.contentDocument:(h(t,"template")&&(t=t.content||t),yt.merge([],t.childNodes))}},function(t,e){yt.fn[t]=function(i,n){var o=yt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=yt.filter(n,o)),this.length>1&&(Nt[t]||yt.uniqueSort(o),It.test(t)&&o.reverse()),this.pushStack(o)}});var Pt=/[^\x20\t\r\n\f]+/g;yt.Callbacks=function(t){t="string"==typeof t?u(t):yt.extend({},t);var e,i,n,o,s=[],r=[],a=-1,h=function(){for(o=o||t.once,n=e=!0;r.length;a=-1)for(i=r.shift();++a-1;)s.splice(i,1),i<=a&&a--}),this},has:function(t){return t?yt.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=r=[],s=i="",this},disabled:function(){return!s},lock:function(){return o=r=[],i||e||(s=i=""),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=i||[],i=[t,i.slice?i.slice():i],r.push(i),e||h()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},yt.extend({Deferred:function(t){var e=[["notify","progress",yt.Callbacks("memory"),yt.Callbacks("memory"),2],["resolve","done",yt.Callbacks("once memory"),yt.Callbacks("once memory"),0,"resolved"],["reject","fail",yt.Callbacks("once memory"),yt.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return yt.Deferred(function(i){yt.each(e,function(e,n){var o=yt.isFunction(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=o&&o.apply(this,arguments);t&&yt.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,n,o){function s(t,e,n,o){return function(){var a=this,h=arguments,l=function(){var i,l;if(!(t=r&&(n!==p&&(a=void 0,h=[i]),e.rejectWith(a,h))}};t?d():(yt.Deferred.getStackHook&&(d.stackTrace=yt.Deferred.getStackHook()),i.setTimeout(d))}}var r=0;return yt.Deferred(function(i){e[0][3].add(s(0,i,yt.isFunction(o)?o:c,i.notifyWith)),e[1][3].add(s(0,i,yt.isFunction(t)?t:c)),e[2][3].add(s(0,i,yt.isFunction(n)?n:p))}).promise()},promise:function(t){return null!=t?yt.extend(t,o):o}},s={};return yt.each(e,function(t,i){var r=i[2],a=i[5];o[i[1]]=r.add,a&&r.add(function(){n=a},e[3-t][2].disable,e[0][2].lock),r.add(i[3].fire),s[i[0]]=function(){return s[i[0]+"With"](this===s?void 0:this,arguments),this},s[i[0]+"With"]=r.fireWith}),o.promise(s),t&&t.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),o=ht.call(arguments),s=yt.Deferred(),r=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?ht.call(arguments):i,--e||s.resolveWith(n,o)}};if(e<=1&&(f(t,s.done(r(i)).resolve,s.reject,!e),"pending"===s.state()||yt.isFunction(o[i]&&o[i].then)))return s.then();for(;i--;)f(o[i],r(i),s.reject);return s.promise()}});var At=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;yt.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&At.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},yt.readyException=function(t){i.setTimeout(function(){throw t})};var Rt=yt.Deferred();yt.fn.ready=function(t){return Rt.then(t).catch(function(t){yt.readyException(t)}),this},yt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--yt.readyWait:yt.isReady)||(yt.isReady=!0,!0!==t&&--yt.readyWait>0||Rt.resolveWith(rt,[yt]))}}),yt.ready.then=Rt.then,"complete"===rt.readyState||"loading"!==rt.readyState&&!rt.documentElement.doScroll?i.setTimeout(yt.ready):(rt.addEventListener("DOMContentLoaded",m),i.addEventListener("load",m));var Lt=function(t,e,i,n,o,s,r){var a=0,h=t.length,l=null==i;if("object"===yt.type(i)){o=!0;for(a in i)Lt(t,e,a,i[a],!0,s,r)}else if(void 0!==n&&(o=!0,yt.isFunction(n)||(r=!0),l&&(r?(e.call(t,n),e=null):(l=e,e=function(t,e,i){return l.call(yt(t),i)})),e))for(;a1,null,!0)},removeData:function(t){return this.each(function(){Bt.remove(this,t)})}}),yt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=zt.get(t,e),i&&(!n||Array.isArray(i)?n=zt.access(t,e,yt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=yt.queue(t,e),n=i.length,o=i.shift(),s=yt._queueHooks(t,e),r=function(){yt.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,r,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return zt.get(t,i)||zt.access(t,i,{empty:yt.Callbacks("once memory").add(function(){zt.remove(t,[e+"queue",i])})})}}),yt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length\x20\t\r\n\f]+)/i,Kt=/^$|\/(?:java|ecma)script/i,Zt={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td;var Qt=/<|&#?\w+;/;!function(){var t=rt.createDocumentFragment(),e=t.appendChild(rt.createElement("div")),i=rt.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),vt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",vt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Jt=rt.documentElement,te=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ie=/^([^.]*)(?:\.(.+)|)/;yt.event={global:{},add:function(t,e,i,n,o){var s,r,a,h,l,d,u,c,p,f,m,g=zt.get(t);if(g)for(i.handler&&(s=i,i=s.handler,o=s.selector),o&&yt.find.matchesSelector(Jt,o),i.guid||(i.guid=yt.guid++),(h=g.events)||(h=g.events={}),(r=g.handle)||(r=g.handle=function(e){return void 0!==yt&&yt.event.triggered!==e.type?yt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Pt)||[""],l=e.length;l--;)a=ie.exec(e[l])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p&&(u=yt.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=yt.event.special[p]||{},d=yt.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&yt.expr.match.needsContext.test(o),namespace:f.join(".")},s),(c=h[p])||(c=h[p]=[],c.delegateCount=0,u.setup&&!1!==u.setup.call(t,n,f,r)||t.addEventListener&&t.addEventListener(p,r)),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),o?c.splice(c.delegateCount++,0,d):c.push(d),yt.event.global[p]=!0)},remove:function(t,e,i,n,o){var s,r,a,h,l,d,u,c,p,f,m,g=zt.hasData(t)&&zt.get(t);if(g&&(h=g.events)){for(e=(e||"").match(Pt)||[""],l=e.length;l--;)if(a=ie.exec(e[l])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(u=yt.event.special[p]||{},p=(n?u.delegateType:u.bindType)||p,c=h[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=c.length;s--;)d=c[s],!o&&m!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(c.splice(s,1),d.selector&&c.delegateCount--,u.remove&&u.remove.call(t,d));r&&!c.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||yt.removeEvent(t,p,g.handle),delete h[p])}else for(p in h)yt.event.remove(t,p+e[l],i,n,!0);yt.isEmptyObject(h)&&zt.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=yt.event.fix(t),h=new Array(arguments.length),l=(zt.get(this,"events")||{})[a.type]||[],d=yt.event.special[a.type]||{};for(h[0]=a,e=1;e=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(s=[],r={},i=0;i-1:yt.find(o,this,null,[l]).length),r[o]&&s.push(n);s.length&&a.push({elem:l,handlers:s})}return l=this,h\x20\t\r\n\f]*)[^>]*)\/>/gi,oe=/\s*$/g;yt.extend({htmlPrefilter:function(t){return t.replace(ne,"<$1>")},clone:function(t,e,i){var n,o,s,r,a=t.cloneNode(!0),h=yt.contains(t.ownerDocument,t);if(!(vt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||yt.isXMLDoc(t)))for(r=x(a),s=x(t),n=0,o=s.length;n0&&k(r,!h&&x(t,"script")),a},cleanData:function(t){ for(var e,i,n,o=yt.event.special,s=0;void 0!==(i=t[s]);s++)if(Ft(i)){if(e=i[zt.expando]){if(e.events)for(n in e.events)o[n]?yt.event.remove(i,n):yt.removeEvent(i,n,e.handle);i[zt.expando]=void 0}i[Bt.expando]&&(i[Bt.expando]=void 0)}}}),yt.fn.extend({detach:function(t){return R(this,t,!0)},remove:function(t){return R(this,t)},text:function(t){return Lt(this,function(t){return void 0===t?yt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return A(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){M(this,t).appendChild(t)}})},prepend:function(){return A(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=M(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(yt.cleanData(x(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return yt.clone(this,t,e)})},html:function(t){return Lt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!oe.test(t)&&!Zt[(Xt.exec(t)||["",""])[1].toLowerCase()]){t=yt.htmlPrefilter(t);try{for(;i1)}}),yt.Tween=G,G.prototype={constructor:G,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||yt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(yt.cssNumber[i]?"":"px")},cur:function(){var t=G.propHooks[this.prop];return t&&t.get?t.get(this):G.propHooks._default.get(this)},run:function(t){var e,i=G.propHooks[this.prop];return this.options.duration?this.pos=e=yt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):G.propHooks._default.set(this),this}},G.prototype.init.prototype=G.prototype,G.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=yt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){yt.fx.step[t.prop]?yt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[yt.cssProps[t.prop]]&&!yt.cssHooks[t.prop]?t.elem[t.prop]=t.now:yt.style(t.elem,t.prop,t.now+t.unit)}}},G.propHooks.scrollTop=G.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},yt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},yt.fx=G.prototype.init,yt.fx.step={};var ve,ye,be=/^(?:toggle|show|hide)$/,_e=/queueHooks$/;yt.Animation=yt.extend(K,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return b(i.elem,t,Gt.exec(e),i),i}]},tweener:function(t,e){yt.isFunction(t)?(e=t,t=["*"]):t=t.match(Pt);for(var i,n=0,o=t.length;n1)},removeAttr:function(t){return this.each(function(){yt.removeAttr(this,t)})}}),yt.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?yt.prop(t,e,i):(1===s&&yt.isXMLDoc(t)||(o=yt.attrHooks[e.toLowerCase()]||(yt.expr.match.bool.test(e)?we:void 0)),void 0!==i?null===i?void yt.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:(n=yt.find.attr(t,e),null==n?void 0:n))},attrHooks:{type:{set:function(t,e){if(!vt.radioValue&&"radio"===e&&h(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(Pt);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),we={set:function(t,e,i){return!1===e?yt.removeAttr(t,i):t.setAttribute(i,i),i}},yt.each(yt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=xe[e]||yt.find.attr;xe[e]=function(t,e,n){var o,s,r=e.toLowerCase();return n||(s=xe[r],xe[r]=o,o=null!=i(t,e,n)?r:null,xe[r]=s),o}});var ke=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;yt.fn.extend({prop:function(t,e){return Lt(this,yt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[yt.propFix[t]||t]})}}),yt.extend({prop:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&yt.isXMLDoc(t)||(e=yt.propFix[e]||e,o=yt.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=yt.find.attr(t,"tabindex");return e?parseInt(e,10):ke.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),vt.optSelected||(yt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),yt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){yt.propFix[this.toLowerCase()]=this}),yt.fn.extend({addClass:function(t){var e,i,n,o,s,r,a,h=0;if(yt.isFunction(t))return this.each(function(e){yt(this).addClass(t.call(this,e,Q(this)))});if("string"==typeof t&&t)for(e=t.match(Pt)||[];i=this[h++];)if(o=Q(i),n=1===i.nodeType&&" "+Z(o)+" "){for(r=0;s=e[r++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");a=Z(n),o!==a&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,o,s,r,a,h=0;if(yt.isFunction(t))return this.each(function(e){yt(this).removeClass(t.call(this,e,Q(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Pt)||[];i=this[h++];)if(o=Q(i),n=1===i.nodeType&&" "+Z(o)+" "){for(r=0;s=e[r++];)for(;n.indexOf(" "+s+" ")>-1;)n=n.replace(" "+s+" "," ");a=Z(n),o!==a&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):yt.isFunction(t)?this.each(function(i){yt(this).toggleClass(t.call(this,i,Q(this),e),e)}):this.each(function(){var e,n,o,s;if("string"===i)for(n=0,o=yt(this),s=t.match(Pt)||[];e=s[n++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==i||(e=Q(this),e&&zt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":zt.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+Z(Q(i))+" ").indexOf(e)>-1)return!0;return!1}});var De=/\r/g;yt.fn.extend({val:function(t){var e,i,n,o=this[0];{if(arguments.length)return n=yt.isFunction(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,yt(this).val()):t,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=yt.map(o,function(t){return null==t?"":t+""})),(e=yt.valHooks[this.type]||yt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return(e=yt.valHooks[o.type]||yt.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(De,""):null==i?"":i)}}}),yt.extend({valHooks:{option:{get:function(t){var e=yt.find.attr(t,"value");return null!=e?e:Z(yt.text(t))}},select:{get:function(t){var e,i,n,o=t.options,s=t.selectedIndex,r="select-one"===t.type,a=r?null:[],l=r?s+1:o.length;for(n=s<0?l:r?s:0;n-1)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),yt.each(["radio","checkbox"],function(){yt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=yt.inArray(yt(t).val(),e)>-1}},vt.checkOn||(yt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ee=/^(?:focusinfocus|focusoutblur)$/;yt.extend(yt.event,{trigger:function(t,e,n,o){var s,r,a,h,l,d,u,c=[n||rt],p=ft.call(t,"type")?t.type:t,f=ft.call(t,"namespace")?t.namespace.split("."):[];if(r=a=n=n||rt,3!==n.nodeType&&8!==n.nodeType&&!Ee.test(p+yt.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,t=t[yt.expando]?t:new yt.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:yt.makeArray(e,[t]),u=yt.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(n,e))){if(!o&&!u.noBubble&&!yt.isWindow(n)){for(h=u.delegateType||p,Ee.test(h+p)||(r=r.parentNode);r;r=r.parentNode)c.push(r),a=r;a===(n.ownerDocument||rt)&&c.push(a.defaultView||a.parentWindow||i)}for(s=0;(r=c[s++])&&!t.isPropagationStopped();)t.type=s>1?h:u.bindType||p,d=(zt.get(r,"events")||{})[t.type]&&zt.get(r,"handle"),d&&d.apply(r,e),(d=l&&r[l])&&d.apply&&Ft(r)&&(t.result=d.apply(r,e),!1===t.result&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(c.pop(),e)||!Ft(n)||l&&yt.isFunction(n[p])&&!yt.isWindow(n)&&(a=n[l],a&&(n[l]=null),yt.event.triggered=p,n[p](),yt.event.triggered=void 0,a&&(n[l]=a)),t.result}},simulate:function(t,e,i){var n=yt.extend(new yt.Event,i,{type:t,isSimulated:!0});yt.event.trigger(n,null,e)}}),yt.fn.extend({trigger:function(t,e){return this.each(function(){yt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return yt.event.trigger(t,e,i,!0)}}),yt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){yt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),yt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),vt.focusin="onfocusin"in i,vt.focusin||yt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){yt.event.simulate(e,t.target,yt.event.fix(t))};yt.event.special[e]={setup:function(){var n=this.ownerDocument||this,o=zt.access(n,e);o||n.addEventListener(t,i,!0),zt.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=zt.access(n,e)-1;o?zt.access(n,e,o):(n.removeEventListener(t,i,!0),zt.remove(n,e))}}});var Se=i.location,Te=yt.now(),Me=/\?/;yt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||yt.error("Invalid XML: "+t),e};var Oe=/\[\]$/,Ie=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;yt.param=function(t,e){var i,n=[],o=function(t,e){var i=yt.isFunction(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(t)||t.jquery&&!yt.isPlainObject(t))yt.each(t,function(){o(this.name,this.value)});else for(i in t)J(i,t[i],e,o);return n.join("&")},yt.fn.extend({serialize:function(){return yt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=yt.prop(this,"elements");return t?yt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!yt(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!$t.test(t))}).map(function(t,e){var i=yt(this).val();return null==i?null:Array.isArray(i)?yt.map(i,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:i.replace(Ie,"\r\n")}}).get()}});var Ae=/%20/g,Re=/#.*$/,Le=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Be=/^(?:GET|HEAD)$/,He=/^\/\//,je={},We={},Ge="*/".concat("*"),Ye=rt.createElement("a");Ye.href=Se.href,yt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:ze.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ge,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":yt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?it(it(t,yt.ajaxSettings),e):it(yt.ajaxSettings,t)},ajaxPrefilter:tt(je),ajaxTransport:tt(We),ajax:function(t,e){function n(t,e,n,a){var l,c,p,_,w,x=e;d||(d=!0,h&&i.clearTimeout(h),o=void 0,r=a||"",k.readyState=t>0?4:0,l=t>=200&&t<300||304===t,n&&(_=nt(f,k,n)),_=ot(f,_,k,l),l?(f.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(yt.lastModified[s]=w),(w=k.getResponseHeader("etag"))&&(yt.etag[s]=w)),204===t||"HEAD"===f.type?x="nocontent":304===t?x="notmodified":(x=_.state,c=_.data,p=_.error,l=!p)):(p=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(e||x)+"",l?v.resolveWith(m,[c,x,k]):v.rejectWith(m,[k,x,p]),k.statusCode(b),b=void 0,u&&g.trigger(l?"ajaxSuccess":"ajaxError",[k,f,l?c:p]),y.fireWith(m,[k,x]),u&&(g.trigger("ajaxComplete",[k,f]),--yt.active||yt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,s,r,a,h,l,d,u,c,p,f=yt.ajaxSetup({},e),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?yt(m):yt.event,v=yt.Deferred(),y=yt.Callbacks("once memory"),b=f.statusCode||{},_={},w={},x="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(d){if(!a)for(a={};e=Fe.exec(r);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(t,e){return null==d&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==d&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(d)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return o&&o.abort(e),n(0,e),this}};if(v.promise(k),f.url=((t||f.url||Se.href)+"").replace(He,Se.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Pt)||[""],null==f.crossDomain){l=rt.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Ye.protocol+"//"+Ye.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=yt.param(f.data,f.traditional)),et(je,f,e,k),d)return k;u=yt.event&&f.global,u&&0==yt.active++&&yt.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Be.test(f.type),s=f.url.replace(Re,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ae,"+")):(p=f.url.slice(s.length),f.data&&(s+=(Me.test(s)?"&":"?")+f.data,delete f.data),!1===f.cache&&(s=s.replace(Le,"$1"),p=(Me.test(s)?"&":"?")+"_="+Te+++p),f.url=s+p),f.ifModified&&(yt.lastModified[s]&&k.setRequestHeader("If-Modified-Since",yt.lastModified[s]),yt.etag[s]&&k.setRequestHeader("If-None-Match",yt.etag[s])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ge+"; q=0.01":""):f.accepts["*"]);for(c in f.headers)k.setRequestHeader(c,f.headers[c]);if(f.beforeSend&&(!1===f.beforeSend.call(m,k,f)||d))return k.abort();if(x="abort",y.add(f.complete),k.done(f.success),k.fail(f.error),o=et(We,f,e,k)){if(k.readyState=1,u&&g.trigger("ajaxSend",[k,f]),d)return k;f.async&&f.timeout>0&&(h=i.setTimeout(function(){k.abort("timeout")},f.timeout));try{d=!1,o.send(_,n)}catch(t){if(d)throw t;n(-1,t)}}else n(-1,"No Transport");return k},getJSON:function(t,e,i){return yt.get(t,e,i,"json")},getScript:function(t,e){return yt.get(t,void 0,e,"script")}}),yt.each(["get","post"],function(t,e){yt[e]=function(t,i,n,o){return yt.isFunction(i)&&(o=o||n,n=i,i=void 0),yt.ajax(yt.extend({url:t,type:e,dataType:o,data:i,success:n},yt.isPlainObject(t)&&t))}}),yt._evalUrl=function(t){return yt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},yt.fn.extend({wrapAll:function(t){var e;return this[0]&&(yt.isFunction(t)&&(t=t.call(this[0])),e=yt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return yt.isFunction(t)?this.each(function(e){yt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=yt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=yt.isFunction(t);return this.each(function(i){yt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){yt(this).replaceWith(this.childNodes)}),this}}),yt.expr.pseudos.hidden=function(t){return!yt.expr.pseudos.visible(t)},yt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},yt.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Ue=yt.ajaxSettings.xhr();vt.cors=!!Ue&&"withCredentials"in Ue,vt.ajax=Ue=!!Ue,yt.ajaxTransport(function(t){var e,n;if(vt.cors||Ue&&!t.crossDomain)return{send:function(o,s){var r,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)a[r]=t.xhrFields[r];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(r in o)a.setRequestHeader(r,o[r]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Ve[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){e&&n()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),yt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),yt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return yt.globalEval(t),t}}}),yt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),yt.ajaxTransport("script",function(t){if(t.crossDomain){var e,i;return{send:function(n,o){e=yt(" - - - - - - - - - - -
    -
    -
    - - - - - \ No newline at end of file diff --git a/src/test/webapp/example1.html b/src/test/webapp/example1.html index 5031b0f..67377cc 100644 --- a/src/test/webapp/example1.html +++ b/src/test/webapp/example1.html @@ -33,6 +33,7 @@ var app = new igraph.GraphNavigator(document.getElementById('graphArea')); console.log(app); app.loadGson("honglou.json"); + //app.connect("http://localhost:9999/graphserver/connector-bolt"); diff --git a/src/test/webapp/example2-neo4j.html b/src/test/webapp/example2-neo4j.html deleted file mode 100644 index bd7b2df..0000000 --- a/src/test/webapp/example2-neo4j.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - GraphExplorer - - - - - - - - - - - -
    -
    -
    - - - - \ No newline at end of file diff --git a/src/test/webapp/example3-neo4j.html b/src/test/webapp/example3-neo4j.html deleted file mode 100644 index dbde24e..0000000 --- a/src/test/webapp/example3-neo4j.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - RelationFinder - - - - - - - - - - - -
    -
    -
    - - - - \ No newline at end of file