graphdb-workbench 2.7.5 → 2.7.6-RC1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/148.254a642917f6b6c15d61.bundle.js +1 -1
- package/dist/17.3d7eaaad411633e6bcac.bundle.js +1 -1
- package/dist/{18.d9d99950a0c1da7f12c6.bundle.js → 18.5ec8d8bedc5900dd9987.bundle.js} +2 -2
- package/dist/{19.b4244c289c3dfc3c09ec.bundle.js → 19.8c07889227bc39cae000.bundle.js} +1 -1
- package/dist/28.c11269f1bfdea632cc8c.bundle.js +1 -1
- package/dist/29.9e82fddb3191a1d492ef.bundle.js +1 -1
- package/dist/299.6bc38539ac3a1f688515.bundle.js +1 -1
- package/dist/301.311927a5091e698dcfed.bundle.js +1 -1
- package/dist/302.07e63f56f579a56c5ea0.bundle.js +1 -1
- package/dist/303.0cc447af82c7337dc639.bundle.js +1 -1
- package/dist/332.218235e77c873ac2a107.bundle.js +1 -1
- package/dist/42.c1055d3f77e831a0feee.bundle.js +1 -1
- package/dist/51.5f93e26d33e6f8276243.bundle.js +1 -1
- package/dist/{bundle.e9d033452bd6be1b83f3.bundle.js → bundle.50d66e1ce767a80f7f20.bundle.js} +2 -2
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +3 -3
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +1 -1
package/dist/{bundle.e9d033452bd6be1b83f3.bundle.js → bundle.50d66e1ce767a80f7f20.bundle.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){function t(t){for(var n,i,o=t[0],s=t[1],a=0,l=[];a<o.length;a++)i=o[a],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&l.push(r[i][0]),r[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);l.length;)l.shift()()}var n={},r={276:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({278:"polyfills-dom",280:"vendors~polyfills-core-js"}[e]||e)+"."+{0:"7740a14c971ea1d2eba0",1:"9a8a5a340e17c11643b6",2:"f1a215f762fbc9060ff8",3:"1fa42f37ad5bd0e5ccfa",4:"f801e3f2505057b5fe87",5:"4dc4c9e2cc7f47eebc6d",6:"6cb08e9e9ad072cbfc81",7:"ee0f4f4648f8fc3ce108",8:"32be4128f570c447549e",9:"41a5f9b1f94054ff21b4",10:"cde4715aee111520ab10",11:"d6074d5e8b21f93140ef",12:"d77cbf85a04c13416797",13:"9d8d961a482d42349b33",14:"443c28ad7cefb54afbc3",15:"6cdd681f18f8cccb36e3",16:"bdd4a67077a1dfa0aefc",17:"3d7eaaad411633e6bcac",18:"d9d99950a0c1da7f12c6",19:"b4244c289c3dfc3c09ec",20:"b7b67f324565878b78fb",21:"f3e03a35598e574d1088",22:"ca2ee125533414af6b44",23:"352eec217c0d24b98b14",24:"79bd905f69d00f38ce5a",25:"600e8bbf7fc20af9e673",26:"a46725dccee91696a0ba",27:"6f188fed594aabd1b602",28:"c11269f1bfdea632cc8c",29:"9e82fddb3191a1d492ef",30:"5e637735aba63bdf1dde",31:"fb4f5161b4a6772d5070",32:"d8891b8f8b38d373d766",33:"2f0f674804db0b6e1285",34:"3664a756f3a6545525cb",35:"822c7f9fb748934a4408",36:"fd1ab27926210be8ab74",37:"a13e60850a9a07c446dc",38:"f722999a96d03d283e5d",39:"a871b7027a2a298b4299",40:"2209efb6cf9a445aaf72",41:"2c9a2d3442452650eb05",42:"c1055d3f77e831a0feee",43:"f3516933e9fc7c240588",44:"ae510f5df386fbbebef2",45:"d91d7edbc37142f4f78e",46:"7ad1a08290f31fd43400",47:"73df3897064e52f7e349",48:"3c991adc332749c3acdd",49:"8889b00d2203095c3a93",50:"367ae07d769401becd85",51:"5f93e26d33e6f8276243",52:"d0576a9b8e77887a0256",53:"755b81d1c2a1a4996ead",54:"d121d14b8519ccfbcb89",55:"03e7d8a381e4675c44d1",56:"c7c46100fbdfa25645de",57:"4af71143d20ef8319653",58:"69b21edd46a707e2b7a4",59:"cd0020e8e69a551f3ce7",60:"c1d4a6e7b7db06eb5cf0",61:"98a3ef4ed5c339daddb8",62:"d8e356c03ac8411adbc1",63:"8e37fba90bde83bd2f3f",64:"6a6aa6434a66542efffa",65:"6941c78bf1dc89a30b9f",66:"b0e1523c5ffaef2e7332",67:"2e0c784b7da674617bbb",68:"7b133326e3a06d04bde1",69:"efd0918b042b1f398041",70:"829438eff9c2658951c2",71:"e62a381e89828b1c6313",72:"bc7fc2aaf3a8e8ec1c41",73:"9db238b1b899b65fd024",74:"79caa682c1fb91f0cba7",75:"198f1c728a9dc99932dc",76:"17d0e859ea1d5af3db31",77:"e510a937a762eecefd8e",78:"6f4f90c087c54d245a1f",79:"f3efb595666ebe8f0914",80:"dca09d62e752f0cfc49c",81:"c8d004888156470c3aad",82:"45eb346dc80bc3d07b7b",83:"d34173500de6f79f117d",84:"bd622caf3a67cf0911ac",85:"9cb089f63b89d8e7d4b8",86:"4693b1e6a0732bdd10ab",87:"8c703c24e6940c7c322c",88:"d5d55f2a585edc6ca23c",89:"73e31db425e7bdd57694",90:"677903cb383d54b99bb3",91:"3f0a70d1f461d707733a",92:"dcaf435d98ba85bf41d9",93:"c7ffdd12d101f0759f50",94:"ef149157cec71e8c6727",95:"481f9941f7c5102fd02a",96:"963fb705cf41d4813f5f",97:"885a73aa0360fd138b06",98:"4682c01b8beedb7ee99f",99:"15cb2b4dc8cf54d6c473",100:"468b84c65c7b8c06657d",101:"67724d1c5eab0229cbe8",102:"73ff72236ce70b195ca5",103:"1cf434c1865ad9ca7f7e",104:"c90b212514e1bb149d36",105:"9ddd0bff6272f563749a",106:"7dcd770aee236e1e4b9e",107:"9501561f24a33fd8ac99",108:"4c18340aa198d13ff031",109:"c5a77ee8cc5ca77d1a24",110:"dd2f5b0811c880673b1c",111:"c69116afc8952402b94b",112:"7836140f8c321eb4cc92",113:"23ff31977d4a2f51e366",114:"11d025f071059a96e016",115:"271c8849214e9cb68b82",116:"44bbe19c8267478cfe47",117:"dc5863c0ad28647bd5ff",118:"90d7cffadf0edb7dab22",119:"49fbd4f9fa7814dcf524",120:"3d0da2f33c1998e15059",121:"a9905fd2f001942970c3",122:"cfc9eb38b4d4206d3b0f",123:"537690673829efc8d449",124:"ac495e52eeb93db1c258",125:"39798647d6fc59af6daa",126:"4c0939dcafeb3e016c9a",127:"cc107d2f31dab809d124",128:"31535237e77713023ab3",129:"14133cf026c08e488e9e",130:"83ca4bfc89844018c61f",131:"f6aec556f49c78da8665",132:"bda2e1408a049ad349b2",133:"f9aae73e47de861bb86e",134:"a5c33a40d2b84ab5b624",135:"e3e8ff0d0cce2e980f9b",136:"49d2a1a7cfb9325f793a",137:"c66ea292a9fd631984e5",138:"cb759fc495f9ce8e21ce",139:"7537655f500bab3e9c21",140:"74aba9df15b050c129d9",141:"60071851020a1bc11595",142:"8906dd00536438b339df",143:"b1a2222304f8efe71776",144:"f82ff50a8d2c08295627",145:"0f1b69f230a46b4de5f6",146:"9b3518b9d896bf47382d",147:"e311377785362269579e",148:"254a642917f6b6c15d61",149:"8a2de058d7b72f417791",150:"b9d376ab86b1f17e4f78",151:"ebeb15de6f8b7ab9ea57",152:"ed9387e19d9cc69953db",153:"8d702923e48b57442b55",154:"a008e16c56c63f25799f",155:"49c4d893ed30c28e6302",156:"9b98cd7f44f0ed2dd7cb",157:"800a7154e719650d7925",158:"5cb23287d8549b4c51ba",159:"f87835a57d2af1de4121",160:"033025b2f36a7ef831d4",161:"476f62c4922a9d145220",162:"12011000dea3e7ebd49a",163:"b275d2dc30b13e3ccc59",164:"9d468fabae7dd09d9f97",165:"e2ecb64983939a96f129",166:"65286425804ad7dfe2e9",167:"c6c6cc46fcc2b8583175",168:"315ff506ef157f2dd68d",169:"a8137f6bfee189645694",170:"0eb13b2a619662203972",171:"689e5189a68b5d712f1d",172:"24bac3c88732b6bc72f9",173:"c0b3e63eb4c2b828a1b6",174:"d8e0820fa9a854ca9bcd",175:"1b8efcb27b17dd75d62f",176:"a782be4f5035dbcf47f3",177:"4f0582fedc8fda87babb",178:"0957348875d0effa1ef9",179:"fe1f4ff6cae23c056538",180:"1182b4fec70a9597c7ec",181:"badd2e06a003c34308fd",182:"107bd28df28bef4c2909",183:"d0783efdda9357f3fecf",184:"67a82fc3d401ed71e42d",185:"66708cd7a879a4eae697",186:"108c237753ea448dc4d3",187:"7f30c4e08e34208a39e0",188:"532c781e1ef597c73e67",189:"05e267b32af8242bbb08",190:"1d35ed6c3463117d673a",191:"4a27829ca9f82917c075",192:"18b48442299e101c94bb",193:"a1bdfd421997c6409184",194:"11dce90246b57ec587b7",195:"bf6f340f6c26325f8a68",196:"49c3671b0ba069dc7ef1",197:"d90b1f3a6fa0fa5c8e71",198:"bc0d8a5bcd304f288f29",199:"91ebfd371cf7bf6f5c4f",200:"d51dae4d7a098dbdf4fe",201:"6b142495658006864d07",202:"8edcdbed3861f93e2b9c",203:"3e57e9c58ea07a5c557b",204:"54e15792c8c1c60b49d6",205:"a9ec4a6ed99007eade40",206:"b8ea895d33805498670e",207:"a7009c479f89c28c2b35",208:"e24574635d546598ed63",209:"4b9ac5e926fe1fde0941",210:"0e1ac9a13cec02b2e00f",211:"c66166dfc9bef130f11a",212:"578f5adf8b5c02e176a9",213:"bf39c553daaec0e3a17d",214:"f8a7783d8a401220f40b",215:"4c7d4e26060bc4fa665e",216:"d4576c9401e162281c05",217:"6153ee468e30b8b3f4f6",218:"f4c5214b9f608a2835d8",219:"42d2968dff17a1cb197e",220:"b5a3c109cb5ae12138e7",221:"8a9bb83e2ca80c71aa0f",222:"a98f48c0726553a3e27f",223:"172b2476d760a0afb627",224:"30c6fb78c4913479a4fb",225:"e4b402662c5f8ecdd969",226:"d41bd3bd54d68a488d00",227:"987d372a187ed7979252",228:"d4601448c9799d1c6538",229:"61c97977e7032772ecb4",230:"cb819039e67a93a34541",231:"f60b94ce332af52008aa",232:"1d6fb6e62d8fc62ea10a",233:"dbe5dc7cf2503ca5c591",234:"50f38ed9c15d7485e98e",235:"36eea53474e198ed9f8e",236:"d0119bc798c924cfae70",237:"d115baad2682f050b642",238:"98486ccd2b7ee258fcc4",239:"8c68b3f9d15a13a5da0b",240:"bd7eafce1c66bf1c7882",241:"a90f93cdf6b718f8ccf9",242:"3a73c867bf57d3fbb810",243:"1973d7431d7a17936443",244:"8444f98a8ec24b7c37e2",245:"9636cf7f6606068cb3a6",246:"9f9f0bf8d23dc6f1662c",247:"4955851755c875c53533",248:"ada296e9a8a5456816fa",249:"92cb46db35d013e374e4",250:"551ab6039ac308b37046",251:"c50beffac4a15fcd6cc4",252:"9c49ec3e8e6216666f72",253:"cacce88991f3565ccbc5",254:"6f2f418d35f273d36d46",255:"440b872b6108a6ccdbca",256:"5299aff146bff9106694",257:"edeb2160403986002b6a",258:"5e948ed7fb4ad5b044b9",259:"ee3a351a443f650ce82e",260:"0ef916c69b120f308964",261:"225137d2ad99664d6161",262:"c9a141390f2ea8b03a0f",263:"ca7df4aba7e4f945ad36",264:"a03e17d70d78681e1891",265:"74666bb6329431145ee6",266:"c313c81618050f779d0a",267:"1615e2999c584ba47a3f",268:"4537af5084595364571e",269:"34add7a24cff1727163f",270:"1d56637b5e881e9d574c",271:"db31c78b09a0419559e1",272:"7046c61a75b544baf99b",273:"d931a545293c81cc8502",274:"12bae4619afa0b2e4562",275:"b813e0c8f34990596f78",278:"ca5eb32124bc19968252",280:"3624d97a659a8b5960c6",281:"e063a110cf1cc6b1ee3c",282:"e5f5ef3b1fb929634ba9",283:"1704806f1c3bda8bb708",284:"fd607e6497c2eb2331cd",285:"818720039f4ecc77b3e7",286:"fd8efdecce8cbe19c230",287:"aa9e8e2b092c60c7669c",288:"f627ffd85def2677d419",289:"ac33b97442c69a26dbc3",290:"abc3688c658e9720c2b9",291:"2f19d0eb3d7fb55c9ac4",292:"9a208c01122fe17410b9",293:"360da392346e3f8076ff",294:"1e0134fafd669378ec10",295:"9b2955a638a6336dc6e5",296:"c688f2b1a4361ca938df",297:"10723db0cfa2ca3d7e9d",298:"2df50a85d79650a27a56",299:"6bc38539ac3a1f688515",300:"0cfb3d0b14a74af64e82",301:"311927a5091e698dcfed",302:"07e63f56f579a56c5ea0",303:"0cc447af82c7337dc639",304:"3d83f1dfe533dec88e6c",305:"14891e5939f97cb751ca",306:"20f724177de07f5c890d",307:"46fbff297c0287265fd9",308:"88f7a0db8be6837e00fa",309:"7b83f6b5a705afff9eab",310:"dca6c1bfeb9264e0ab4f",311:"56cb5e0f1b1dc8b3725e",312:"3b54b95368a118302e20",313:"1ce22bfc57424ad1d2fb",314:"926516bd7e90c67373a3",315:"92036aca75b6a9dad60a",316:"765d133afe5fb97fdd40",317:"c744f8f1f21fdafc0b78",318:"390af989d3ef5f42577d",319:"a625c9ecab007095f599",320:"3889f0a6f5aff873ab7c",321:"e0e2ccb2b30c9a5484a6",322:"1fe729e77c7a2a33fdcc",323:"bcf838c211c993cb08a7",324:"dc37822abaa94de31d80",325:"8d68453857cbd562cd09",326:"923de7c364b841c430ee",327:"31295ecc092f78340f0b",328:"80c4d1297a758ae32c30",329:"90bdbda895cddb141603",330:"7b52a9acca29f3b211f5",331:"9f8f417788cceb622475",332:"218235e77c873ac2a107",333:"e85fbde479e1736f7367",334:"59a725f3379fb526e9ad",335:"de41e90d68f183fbd569",336:"890188e781f2276309c9",337:"8fb07ae44f3b18843fd9",338:"4a5b533a9fb5a3448eb8",339:"b966848214f586787e34",340:"043aff0dbbc4295504c2",341:"e3398d4ba3bdd8411fd6",342:"100cf6659f33171fe28a",343:"36326f594b059044bead",344:"bb213971ae0911fc62a2",345:"617ee68d74a419aa638d",346:"33b06b8194844c6ac70c",347:"c22b11b9399a806611f7",348:"b1f95e9668604c9f1537"}[e]+".bundle.js"}(e);var u=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}r[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:a})}),12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var u=s;i(i.s=0)}({0:function(e,t,n){"use strict";n.r(t),n.d(t,"decodeHTML",(function(){return s}));n(7),n(46),n(53),n(370),n(64),n(371),n(40),n(41),n(54),n(55),n(56),n(57),n(58),n(59),n(60),n(61);var r=n(33);const i=(e,t)=>"undefined"==typeof window?Promise.resolve():Object(r.f)().then(()=>Object(r.b)([["ontotext-download-as",[[0,"ontotext-download-as",{translationService:[16],nameLabelKey:[1,"name-label-key"],tooltipLabelKey:[1,"tooltip-label-key"],items:[16],pluginName:[1,"plugin-name"],query:[1],infer:[4],sameAs:[4,"same-as"]}]]],["keyboard-shortcuts-dialog",[[0,"keyboard-shortcuts-dialog",{items:[16],translationService:[16],open:[32]},[[8,"keydown","keydownListener"]]]]],["alert-box",[[0,"alert-box",{type:[1],message:[1],noIcon:[4,"no-icon"],noButton:[4,"no-button"],isVisible:[32]}]]],["copy-resource-link-button",[[0,"copy-resource-link-button",{uri:[1],classes:[1]}]]],["loader-component",[[1,"loader-component",{timeFormattingService:[16],showQueryProgress:[4,"show-query-progress"],message:[1],additionalMessage:[1,"additional-message"],size:[1],hidden:[4],queryProgress:[32]}]]],["ontotext-editable-text-field",[[0,"ontotext-editable-text-field",{value:[1025],edit:[1028],translationService:[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination",[[0,"ontotext-pagination",{pageNumber:[2,"page-number"],pageSize:[2,"page-size"],totalElements:[2,"total-elements"],pageElements:[2,"page-elements"],hasMorePages:[4,"has-more-pages"]}]]],["confirmation-dialog_9",[[0,"ontotext-yasgui",{config:[16],language:[1],savedQueryConfig:[16],saveQueryData:[32],savedQueryData:[32],deleteQueryData:[32],isVerticalOrientation:[32],renderingMode:[32],showSaveQueryDialog:[32],showSavedQueriesPopup:[32],showSavedQueriesPopupTarget:[32],showConfirmationDialog:[32],showShareQueryDialog:[32],showCopyResourceLinkDialog:[32],copiedResourceLink:[32],loaderMessage:[32],additionalLoaderMessage:[32],yasqeBtnLabel:[32],yasguiBtnLabel:[32],yasrBtnLabel:[32],changeRenderMode:[64],setQuery:[64],query:[64],getQuery:[64],isQueryValid:[64],openTab:[64],getQueryMode:[64],getQueryType:[64],getEmbeddedResultAsJson:[64],getEmbeddedResultAsCSV:[64],hideYasqeActionButton:[64],showYasqeActionButton:[64],getOngoingRequestsInfo:[64],abortQuery:[64],abortAllRequests:[64],reInitYasgui:[64],isQueryDirty:[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{serviceFactory:[16],resourceLink:[1,"resource-link"]}],[0,"share-query-dialog",{config:[16],serviceFactory:[16]}],[0,"save-query-dialog",{serviceFactory:[16],data:[16],queryName:[32],query:[32],isPublic:[32],isNew:[32],isSaveAllowed:[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{translationService:[16],config:[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{config:[16],serviceFactory:[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{config:[16],serviceFactory:[16],copyLinkEventsObserver:[16],classes:[1]}],[4,"yasgui-tooltip",{dataTooltip:[1,"data-tooltip"],placement:[1],showOnClick:[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{config:[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown",[[0,"ontotext-dropdown",{translationService:[16],nameLabelKey:[1,"name-label-key"],tooltipLabelKey:[1,"tooltip-label-key"],items:[16],iconClass:[1,"icon-class"],open:[32],showTooltip:[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]],t));!function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}();var o=n(19);const s=function(e){let t=document.createElement("textarea");return t.innerHTML=e,t.value},a=["ngRoute","graphdb.workbench.se.controllers","graphdb.framework.core","angularCancelOnNavigateModule","oc.lazyLoad","pascalprecht.translate","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.directives.rdfresourcesearch.rdfresourcesearch","graphdb.framework.core.directives.languageselector.languageselector","graphdb.framework.core.directives.copytoclipboard.copytoclipboard","graphdb.framework.core.directives.angular-tooltips","graphdb.framework.core.directives.uppercased","graphdb.framework.core.directives.prop-indeterminate","graphdb.framework.guides.services","graphdb.framework.core.directives.operationsstatusesmonitor","graphdb.framework.core.directives.autocomplete","ngCustomElement"],u=["$routeProvider","$locationProvider","$menuItemsProvider","toastrConfig","localStorageServiceProvider","$uibTooltipProvider","$httpProvider","$templateRequestProvider","$translateProvider"];$.get("rest/info/version?local=1",(function(e){const t=e.productVersion.match(/^(\d+\.\d+)/);t.length?e.productShortVersion=t[1]:e.productShortVersion=e.productVersion;const r=e.productVersion.match(/(-.*?)(-|$)/);r&&r.length&&(e.productShortVersion=e.productShortVersion+r[1]),function(e){i();const t=angular.module("graphdb.workbench",a);t.config([...u,function(t,r,i,o,s,a,u,l,c){c.useStaticFilesLoader({prefix:"i18n/locale-",suffix:".json?v=2.7.5"}),c.preferredLanguage("en"),c.useSanitizeValueStrategy("escape"),angular.extend(o,{timeOut:5e3,positionClass:"toast-bottom-right",tapToDismiss:!1,extendedTimeOut:5e3}),s.setStorageType("localStorage").setNotify(!0,!0);var h=t.$get[t.$get.length-1]({$on:function(){}});t.when("_openid_implicit_",{controller:function(){},template:"<div></div>"}),h.routes._openid_implicit_.regexp=/[&/](?:id_token=.*&access_token=|access_token=.*&id_token=)/;let p=PluginRegistry.get("route");angular.forEach(p,(function(e){t.when(e.url,{controller:e.controller,templateUrl:e.templateUrl,title:e.title,helpInfo:e.helpInfo,reloadOnSearch:void 0===e.reloadOnSearch||e.reloadOnSearch,resolve:{preload:["$ocLazyLoad","$q",function(t,r){return e.path?n(373)("./"+e.path).then(n=>{t.inject(e.module)}):r.defer().resolve()}]}})})),t.otherwise({templateUrl:"pages/not_found.html"}),r.html5Mode(!0),a.setTriggers({show:"hide"}),a.options({appendToBody:!0}),i.setProductInfo(e),PluginRegistry.get("main.menu").forEach((function(e){e.items.forEach((function(e){i.addItem(e)}))})),u.interceptors.push("$unauthorizedInterceptor"),u.interceptors.push("$authenticationInterceptor");const d=l.$get[3];"function"==typeof d&&(l.$get[3]=function(e,t,n){const r=d(e,t,n);return function(t,n){return e.get(t)||(t+="?v=2.7.5"),r(t,n)}})}]),t.constant("productInfo",e),t.run(["$rootScope","$route","toastr","$sce","$translate","ThemeService","WorkbenchSettingsStorageService","LSKeys","GuidesService",function(e,t,n,r,i,o,a,u,l){function c(){t.current.title?document.title=s(i.instant(t.current.title))+" | GraphDB Workbench":document.title="GraphDB Workbench",e.helpInfo=r.trustAsHtml(s(i.instant(t.current.helpInfo))),e.title=s(i.instant(t.current.title))}e.$on("$routeChangeSuccess",(function(){c(),n.clear()})),e.$on("$translateChangeSuccess",(function(){c()}));const h=a.getThemeName();o.applyTheme(h),o.applyDarkThemeMode(),l.init()}]),t.filter("titlecase",(function(){return function(e){var t=""+e;return t.charAt(0).toUpperCase()+t.slice(1)}})),t.filter("prettyJSON",()=>e=>angular.toJson(e,!0)),t.filter("humanReadableSize",()=>e=>Object(o.convertToHumanReadable)(e)),angular.bootstrap(document,["graphdb.workbench"])}(e)}))},1:function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_GROUP_TYPE",(function(){return r}));const r={IMPORT_OPERATION:"IMPORT_OPERATION",QUERIES_OPERATION:"QUERIES_OPERATION",BACKUP_AND_RESTORE_OPERATION:"BACKUP_AND_RESTORE_OPERATION",CLUSTER_OPERATION:"CLUSTER_OPERATION"}},10:function(e,t){function n(e,t){return{get:function(t){return e.get(t)},set:function(t,n){e.set(t,n)},keys:n,remove:r,clearAll:function(){e.clearAll()},clearClassHieararchyState:function(){n().forEach((function(e){0!==e.indexOf("classHierarchy-")||e===t.CLASS_HIERARCHY_HIDE_PREFIXES||e.startsWith("classHierarchy-selectedGraph-")||r(e)}))}};function n(){return e.keys()}function r(t){e.remove(t)}}angular.module("graphdb.framework.utils.localstorageadapter",[]).factory("LocalStorageAdapter",n).value("LSKeys",{TABS_STATE:"tabs-state",TABS_STATE_CURRENT_ID:"tabs-state-currentid",TABS_STATE_MAXID:"tabs-state-maxid",VIEW_MODE:"viewMode",CLASS_HIERARCHY_HIDE_PREFIXES:"classHierarchy-hidePrefixes",CLASS_HIERARCHY_CURRENT_SLIDER_VALUE:"classHierarchy-currentSliderValue",CLASS_HIERARCHY_SWITCH_PREFIXES:"classHierarchy-switchPrefixes",CLASS_HIERARCHY_LAST_SELECTED_CLASS:"classHierarchy-lastSelectedClass",DOMAIN_RANGE_WENT_BACK:"domainRange-wentBack",DOMAIN_RANGE_COLLAPSE_EDGES:"domainRange-collapseEdges",HIDE_SIMILARITY_HELP:"hide-similarity-help",TUTORIAL_STATE:"tutorial-state",MENU_STATE:"menu-state",HIDE_GRAPH_CONFIG_HELP:"hide-graph-config-help",GRAPHS_VIZ:"graphs-viz",AUTOCOMPLETE_ENABLED:"autocomplete.enabled",RDF_SEARCH_TYPE:"rdf-search.search-type",RDF_SEARCH_INPUT:"rdf-search.search-input",RDF_SEARCH_EXPANDED_URI:"rdf-search.search-expanded-uri",RDF_RESOURCE_DESCRIPTION:"rdf-search.resource-description",PREFERRED_LANG:"preferred-language",WORKBENCH_SETTINGS:"workbench-settings",REPOSITORY_ID:"repository-id",REPOSITORY_LOCATION:"repository-location",JSONLD_EXPORT_SETTINGS:"jsonld-export-settings",IMPORT_VIEW:"import-view",SPARQL_LAST_REPO:"sparql-last-repo"}),n.$inject=["localStorageService","LSKeys"]},11:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},12:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryMode",(function(){return r}));const r={UPDATE:"update",QUERY:"query"}},13:function(e,t,n){"use strict";n.r(t),n.d(t,"GUIDE_ID",(function(){return ln})),n.d(t,"GUIDE_CURRENT_STEP_ID",(function(){return cn})),n.d(t,"GUIDE_STEP_HISTORY",(function(){return hn})),n.d(t,"GUIDE_PAUSE",(function(){return pn}));var r=n(2),i=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};
|
|
1
|
+
!function(e){function t(t){for(var n,i,o=t[0],s=t[1],a=0,l=[];a<o.length;a++)i=o[a],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&l.push(r[i][0]),r[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);l.length;)l.shift()()}var n={},r={276:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({278:"polyfills-dom",280:"vendors~polyfills-core-js"}[e]||e)+"."+{0:"7740a14c971ea1d2eba0",1:"9a8a5a340e17c11643b6",2:"f1a215f762fbc9060ff8",3:"1fa42f37ad5bd0e5ccfa",4:"f801e3f2505057b5fe87",5:"4dc4c9e2cc7f47eebc6d",6:"6cb08e9e9ad072cbfc81",7:"ee0f4f4648f8fc3ce108",8:"32be4128f570c447549e",9:"41a5f9b1f94054ff21b4",10:"cde4715aee111520ab10",11:"d6074d5e8b21f93140ef",12:"d77cbf85a04c13416797",13:"9d8d961a482d42349b33",14:"443c28ad7cefb54afbc3",15:"6cdd681f18f8cccb36e3",16:"bdd4a67077a1dfa0aefc",17:"3d7eaaad411633e6bcac",18:"5ec8d8bedc5900dd9987",19:"8c07889227bc39cae000",20:"b7b67f324565878b78fb",21:"f3e03a35598e574d1088",22:"ca2ee125533414af6b44",23:"352eec217c0d24b98b14",24:"79bd905f69d00f38ce5a",25:"600e8bbf7fc20af9e673",26:"a46725dccee91696a0ba",27:"6f188fed594aabd1b602",28:"c11269f1bfdea632cc8c",29:"9e82fddb3191a1d492ef",30:"5e637735aba63bdf1dde",31:"fb4f5161b4a6772d5070",32:"d8891b8f8b38d373d766",33:"2f0f674804db0b6e1285",34:"3664a756f3a6545525cb",35:"822c7f9fb748934a4408",36:"fd1ab27926210be8ab74",37:"a13e60850a9a07c446dc",38:"f722999a96d03d283e5d",39:"a871b7027a2a298b4299",40:"2209efb6cf9a445aaf72",41:"2c9a2d3442452650eb05",42:"c1055d3f77e831a0feee",43:"f3516933e9fc7c240588",44:"ae510f5df386fbbebef2",45:"d91d7edbc37142f4f78e",46:"7ad1a08290f31fd43400",47:"73df3897064e52f7e349",48:"3c991adc332749c3acdd",49:"8889b00d2203095c3a93",50:"367ae07d769401becd85",51:"5f93e26d33e6f8276243",52:"d0576a9b8e77887a0256",53:"755b81d1c2a1a4996ead",54:"d121d14b8519ccfbcb89",55:"03e7d8a381e4675c44d1",56:"c7c46100fbdfa25645de",57:"4af71143d20ef8319653",58:"69b21edd46a707e2b7a4",59:"cd0020e8e69a551f3ce7",60:"c1d4a6e7b7db06eb5cf0",61:"98a3ef4ed5c339daddb8",62:"d8e356c03ac8411adbc1",63:"8e37fba90bde83bd2f3f",64:"6a6aa6434a66542efffa",65:"6941c78bf1dc89a30b9f",66:"b0e1523c5ffaef2e7332",67:"2e0c784b7da674617bbb",68:"7b133326e3a06d04bde1",69:"efd0918b042b1f398041",70:"829438eff9c2658951c2",71:"e62a381e89828b1c6313",72:"bc7fc2aaf3a8e8ec1c41",73:"9db238b1b899b65fd024",74:"79caa682c1fb91f0cba7",75:"198f1c728a9dc99932dc",76:"17d0e859ea1d5af3db31",77:"e510a937a762eecefd8e",78:"6f4f90c087c54d245a1f",79:"f3efb595666ebe8f0914",80:"dca09d62e752f0cfc49c",81:"c8d004888156470c3aad",82:"45eb346dc80bc3d07b7b",83:"d34173500de6f79f117d",84:"bd622caf3a67cf0911ac",85:"9cb089f63b89d8e7d4b8",86:"4693b1e6a0732bdd10ab",87:"8c703c24e6940c7c322c",88:"d5d55f2a585edc6ca23c",89:"73e31db425e7bdd57694",90:"677903cb383d54b99bb3",91:"3f0a70d1f461d707733a",92:"dcaf435d98ba85bf41d9",93:"c7ffdd12d101f0759f50",94:"ef149157cec71e8c6727",95:"481f9941f7c5102fd02a",96:"963fb705cf41d4813f5f",97:"885a73aa0360fd138b06",98:"4682c01b8beedb7ee99f",99:"15cb2b4dc8cf54d6c473",100:"468b84c65c7b8c06657d",101:"67724d1c5eab0229cbe8",102:"73ff72236ce70b195ca5",103:"1cf434c1865ad9ca7f7e",104:"c90b212514e1bb149d36",105:"9ddd0bff6272f563749a",106:"7dcd770aee236e1e4b9e",107:"9501561f24a33fd8ac99",108:"4c18340aa198d13ff031",109:"c5a77ee8cc5ca77d1a24",110:"dd2f5b0811c880673b1c",111:"c69116afc8952402b94b",112:"7836140f8c321eb4cc92",113:"23ff31977d4a2f51e366",114:"11d025f071059a96e016",115:"271c8849214e9cb68b82",116:"44bbe19c8267478cfe47",117:"dc5863c0ad28647bd5ff",118:"90d7cffadf0edb7dab22",119:"49fbd4f9fa7814dcf524",120:"3d0da2f33c1998e15059",121:"a9905fd2f001942970c3",122:"cfc9eb38b4d4206d3b0f",123:"537690673829efc8d449",124:"ac495e52eeb93db1c258",125:"39798647d6fc59af6daa",126:"4c0939dcafeb3e016c9a",127:"cc107d2f31dab809d124",128:"31535237e77713023ab3",129:"14133cf026c08e488e9e",130:"83ca4bfc89844018c61f",131:"f6aec556f49c78da8665",132:"bda2e1408a049ad349b2",133:"f9aae73e47de861bb86e",134:"a5c33a40d2b84ab5b624",135:"e3e8ff0d0cce2e980f9b",136:"49d2a1a7cfb9325f793a",137:"c66ea292a9fd631984e5",138:"cb759fc495f9ce8e21ce",139:"7537655f500bab3e9c21",140:"74aba9df15b050c129d9",141:"60071851020a1bc11595",142:"8906dd00536438b339df",143:"b1a2222304f8efe71776",144:"f82ff50a8d2c08295627",145:"0f1b69f230a46b4de5f6",146:"9b3518b9d896bf47382d",147:"e311377785362269579e",148:"254a642917f6b6c15d61",149:"8a2de058d7b72f417791",150:"b9d376ab86b1f17e4f78",151:"ebeb15de6f8b7ab9ea57",152:"ed9387e19d9cc69953db",153:"8d702923e48b57442b55",154:"a008e16c56c63f25799f",155:"49c4d893ed30c28e6302",156:"9b98cd7f44f0ed2dd7cb",157:"800a7154e719650d7925",158:"5cb23287d8549b4c51ba",159:"f87835a57d2af1de4121",160:"033025b2f36a7ef831d4",161:"476f62c4922a9d145220",162:"12011000dea3e7ebd49a",163:"b275d2dc30b13e3ccc59",164:"9d468fabae7dd09d9f97",165:"e2ecb64983939a96f129",166:"65286425804ad7dfe2e9",167:"c6c6cc46fcc2b8583175",168:"315ff506ef157f2dd68d",169:"a8137f6bfee189645694",170:"0eb13b2a619662203972",171:"689e5189a68b5d712f1d",172:"24bac3c88732b6bc72f9",173:"c0b3e63eb4c2b828a1b6",174:"d8e0820fa9a854ca9bcd",175:"1b8efcb27b17dd75d62f",176:"a782be4f5035dbcf47f3",177:"4f0582fedc8fda87babb",178:"0957348875d0effa1ef9",179:"fe1f4ff6cae23c056538",180:"1182b4fec70a9597c7ec",181:"badd2e06a003c34308fd",182:"107bd28df28bef4c2909",183:"d0783efdda9357f3fecf",184:"67a82fc3d401ed71e42d",185:"66708cd7a879a4eae697",186:"108c237753ea448dc4d3",187:"7f30c4e08e34208a39e0",188:"532c781e1ef597c73e67",189:"05e267b32af8242bbb08",190:"1d35ed6c3463117d673a",191:"4a27829ca9f82917c075",192:"18b48442299e101c94bb",193:"a1bdfd421997c6409184",194:"11dce90246b57ec587b7",195:"bf6f340f6c26325f8a68",196:"49c3671b0ba069dc7ef1",197:"d90b1f3a6fa0fa5c8e71",198:"bc0d8a5bcd304f288f29",199:"91ebfd371cf7bf6f5c4f",200:"d51dae4d7a098dbdf4fe",201:"6b142495658006864d07",202:"8edcdbed3861f93e2b9c",203:"3e57e9c58ea07a5c557b",204:"54e15792c8c1c60b49d6",205:"a9ec4a6ed99007eade40",206:"b8ea895d33805498670e",207:"a7009c479f89c28c2b35",208:"e24574635d546598ed63",209:"4b9ac5e926fe1fde0941",210:"0e1ac9a13cec02b2e00f",211:"c66166dfc9bef130f11a",212:"578f5adf8b5c02e176a9",213:"bf39c553daaec0e3a17d",214:"f8a7783d8a401220f40b",215:"4c7d4e26060bc4fa665e",216:"d4576c9401e162281c05",217:"6153ee468e30b8b3f4f6",218:"f4c5214b9f608a2835d8",219:"42d2968dff17a1cb197e",220:"b5a3c109cb5ae12138e7",221:"8a9bb83e2ca80c71aa0f",222:"a98f48c0726553a3e27f",223:"172b2476d760a0afb627",224:"30c6fb78c4913479a4fb",225:"e4b402662c5f8ecdd969",226:"d41bd3bd54d68a488d00",227:"987d372a187ed7979252",228:"d4601448c9799d1c6538",229:"61c97977e7032772ecb4",230:"cb819039e67a93a34541",231:"f60b94ce332af52008aa",232:"1d6fb6e62d8fc62ea10a",233:"dbe5dc7cf2503ca5c591",234:"50f38ed9c15d7485e98e",235:"36eea53474e198ed9f8e",236:"d0119bc798c924cfae70",237:"d115baad2682f050b642",238:"98486ccd2b7ee258fcc4",239:"8c68b3f9d15a13a5da0b",240:"bd7eafce1c66bf1c7882",241:"a90f93cdf6b718f8ccf9",242:"3a73c867bf57d3fbb810",243:"1973d7431d7a17936443",244:"8444f98a8ec24b7c37e2",245:"9636cf7f6606068cb3a6",246:"9f9f0bf8d23dc6f1662c",247:"4955851755c875c53533",248:"ada296e9a8a5456816fa",249:"92cb46db35d013e374e4",250:"551ab6039ac308b37046",251:"c50beffac4a15fcd6cc4",252:"9c49ec3e8e6216666f72",253:"cacce88991f3565ccbc5",254:"6f2f418d35f273d36d46",255:"440b872b6108a6ccdbca",256:"5299aff146bff9106694",257:"edeb2160403986002b6a",258:"5e948ed7fb4ad5b044b9",259:"ee3a351a443f650ce82e",260:"0ef916c69b120f308964",261:"225137d2ad99664d6161",262:"c9a141390f2ea8b03a0f",263:"ca7df4aba7e4f945ad36",264:"a03e17d70d78681e1891",265:"74666bb6329431145ee6",266:"c313c81618050f779d0a",267:"1615e2999c584ba47a3f",268:"4537af5084595364571e",269:"34add7a24cff1727163f",270:"1d56637b5e881e9d574c",271:"db31c78b09a0419559e1",272:"7046c61a75b544baf99b",273:"d931a545293c81cc8502",274:"12bae4619afa0b2e4562",275:"b813e0c8f34990596f78",278:"ca5eb32124bc19968252",280:"3624d97a659a8b5960c6",281:"e063a110cf1cc6b1ee3c",282:"e5f5ef3b1fb929634ba9",283:"1704806f1c3bda8bb708",284:"fd607e6497c2eb2331cd",285:"818720039f4ecc77b3e7",286:"fd8efdecce8cbe19c230",287:"aa9e8e2b092c60c7669c",288:"f627ffd85def2677d419",289:"ac33b97442c69a26dbc3",290:"abc3688c658e9720c2b9",291:"2f19d0eb3d7fb55c9ac4",292:"9a208c01122fe17410b9",293:"360da392346e3f8076ff",294:"1e0134fafd669378ec10",295:"9b2955a638a6336dc6e5",296:"c688f2b1a4361ca938df",297:"10723db0cfa2ca3d7e9d",298:"2df50a85d79650a27a56",299:"6bc38539ac3a1f688515",300:"0cfb3d0b14a74af64e82",301:"311927a5091e698dcfed",302:"07e63f56f579a56c5ea0",303:"0cc447af82c7337dc639",304:"3d83f1dfe533dec88e6c",305:"14891e5939f97cb751ca",306:"20f724177de07f5c890d",307:"46fbff297c0287265fd9",308:"88f7a0db8be6837e00fa",309:"7b83f6b5a705afff9eab",310:"dca6c1bfeb9264e0ab4f",311:"56cb5e0f1b1dc8b3725e",312:"3b54b95368a118302e20",313:"1ce22bfc57424ad1d2fb",314:"926516bd7e90c67373a3",315:"92036aca75b6a9dad60a",316:"765d133afe5fb97fdd40",317:"c744f8f1f21fdafc0b78",318:"390af989d3ef5f42577d",319:"a625c9ecab007095f599",320:"3889f0a6f5aff873ab7c",321:"e0e2ccb2b30c9a5484a6",322:"1fe729e77c7a2a33fdcc",323:"bcf838c211c993cb08a7",324:"dc37822abaa94de31d80",325:"8d68453857cbd562cd09",326:"923de7c364b841c430ee",327:"31295ecc092f78340f0b",328:"80c4d1297a758ae32c30",329:"90bdbda895cddb141603",330:"7b52a9acca29f3b211f5",331:"9f8f417788cceb622475",332:"218235e77c873ac2a107",333:"e85fbde479e1736f7367",334:"59a725f3379fb526e9ad",335:"de41e90d68f183fbd569",336:"890188e781f2276309c9",337:"8fb07ae44f3b18843fd9",338:"4a5b533a9fb5a3448eb8",339:"b966848214f586787e34",340:"043aff0dbbc4295504c2",341:"e3398d4ba3bdd8411fd6",342:"100cf6659f33171fe28a",343:"36326f594b059044bead",344:"bb213971ae0911fc62a2",345:"617ee68d74a419aa638d",346:"33b06b8194844c6ac70c",347:"c22b11b9399a806611f7",348:"b1f95e9668604c9f1537"}[e]+".bundle.js"}(e);var u=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}r[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:a})}),12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var u=s;i(i.s=0)}({0:function(e,t,n){"use strict";n.r(t),n.d(t,"decodeHTML",(function(){return s}));n(7),n(46),n(53),n(370),n(64),n(371),n(40),n(41),n(54),n(55),n(56),n(57),n(58),n(59),n(60),n(61);var r=n(33);const i=(e,t)=>"undefined"==typeof window?Promise.resolve():Object(r.f)().then(()=>Object(r.b)([["ontotext-download-as",[[0,"ontotext-download-as",{translationService:[16],nameLabelKey:[1,"name-label-key"],tooltipLabelKey:[1,"tooltip-label-key"],items:[16],pluginName:[1,"plugin-name"],query:[1],infer:[4],sameAs:[4,"same-as"]}]]],["keyboard-shortcuts-dialog",[[0,"keyboard-shortcuts-dialog",{items:[16],translationService:[16],open:[32]},[[8,"keydown","keydownListener"]]]]],["alert-box",[[0,"alert-box",{type:[1],message:[1],noIcon:[4,"no-icon"],noButton:[4,"no-button"],isVisible:[32]}]]],["copy-resource-link-button",[[0,"copy-resource-link-button",{uri:[1],classes:[1]}]]],["loader-component",[[1,"loader-component",{timeFormattingService:[16],showQueryProgress:[4,"show-query-progress"],message:[1],additionalMessage:[1,"additional-message"],size:[1],hidden:[4],queryProgress:[32]}]]],["ontotext-editable-text-field",[[0,"ontotext-editable-text-field",{value:[1025],edit:[1028],translationService:[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination",[[0,"ontotext-pagination",{pageNumber:[2,"page-number"],pageSize:[2,"page-size"],totalElements:[2,"total-elements"],pageElements:[2,"page-elements"],hasMorePages:[4,"has-more-pages"]}]]],["confirmation-dialog_9",[[0,"ontotext-yasgui",{config:[16],language:[1],savedQueryConfig:[16],saveQueryData:[32],savedQueryData:[32],deleteQueryData:[32],isVerticalOrientation:[32],renderingMode:[32],showSaveQueryDialog:[32],showSavedQueriesPopup:[32],showSavedQueriesPopupTarget:[32],showConfirmationDialog:[32],showShareQueryDialog:[32],showCopyResourceLinkDialog:[32],copiedResourceLink:[32],loaderMessage:[32],additionalLoaderMessage:[32],yasqeBtnLabel:[32],yasguiBtnLabel:[32],yasrBtnLabel:[32],changeRenderMode:[64],setQuery:[64],query:[64],getQuery:[64],isQueryValid:[64],openTab:[64],getQueryMode:[64],getQueryType:[64],getEmbeddedResultAsJson:[64],getEmbeddedResultAsCSV:[64],hideYasqeActionButton:[64],showYasqeActionButton:[64],getOngoingRequestsInfo:[64],abortQuery:[64],abortAllRequests:[64],reInitYasgui:[64],isQueryDirty:[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{serviceFactory:[16],resourceLink:[1,"resource-link"]}],[0,"share-query-dialog",{config:[16],serviceFactory:[16]}],[0,"save-query-dialog",{serviceFactory:[16],data:[16],queryName:[32],query:[32],isPublic:[32],isNew:[32],isSaveAllowed:[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{translationService:[16],config:[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{config:[16],serviceFactory:[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{config:[16],serviceFactory:[16],copyLinkEventsObserver:[16],classes:[1]}],[4,"yasgui-tooltip",{dataTooltip:[1,"data-tooltip"],placement:[1],showOnClick:[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{config:[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown",[[0,"ontotext-dropdown",{translationService:[16],nameLabelKey:[1,"name-label-key"],tooltipLabelKey:[1,"tooltip-label-key"],items:[16],iconClass:[1,"icon-class"],open:[32],showTooltip:[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]],t));!function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}();var o=n(19);const s=function(e){let t=document.createElement("textarea");return t.innerHTML=e,t.value},a=["ngRoute","graphdb.workbench.se.controllers","graphdb.framework.core","angularCancelOnNavigateModule","oc.lazyLoad","pascalprecht.translate","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.directives.rdfresourcesearch.rdfresourcesearch","graphdb.framework.core.directives.languageselector.languageselector","graphdb.framework.core.directives.copytoclipboard.copytoclipboard","graphdb.framework.core.directives.angular-tooltips","graphdb.framework.core.directives.uppercased","graphdb.framework.core.directives.prop-indeterminate","graphdb.framework.guides.services","graphdb.framework.core.directives.operationsstatusesmonitor","graphdb.framework.core.directives.autocomplete","ngCustomElement"],u=["$routeProvider","$locationProvider","$menuItemsProvider","toastrConfig","localStorageServiceProvider","$uibTooltipProvider","$httpProvider","$templateRequestProvider","$translateProvider"];$.get("rest/info/version?local=1",(function(e){const t=e.productVersion.match(/^(\d+\.\d+)/);t.length?e.productShortVersion=t[1]:e.productShortVersion=e.productVersion;const r=e.productVersion.match(/(-.*?)(-|$)/);r&&r.length&&(e.productShortVersion=e.productShortVersion+r[1]),function(e){i();const t=angular.module("graphdb.workbench",a);t.config([...u,function(t,r,i,o,s,a,u,l,c){c.useStaticFilesLoader({prefix:"i18n/locale-",suffix:".json?v=2.7.6-RC1"}),c.preferredLanguage("en"),c.useSanitizeValueStrategy("escape"),angular.extend(o,{timeOut:5e3,positionClass:"toast-bottom-right",tapToDismiss:!1,extendedTimeOut:5e3}),s.setStorageType("localStorage").setNotify(!0,!0);var h=t.$get[t.$get.length-1]({$on:function(){}});t.when("_openid_implicit_",{controller:function(){},template:"<div></div>"}),h.routes._openid_implicit_.regexp=/[&/](?:id_token=.*&access_token=|access_token=.*&id_token=)/;let p=PluginRegistry.get("route");angular.forEach(p,(function(e){t.when(e.url,{controller:e.controller,templateUrl:e.templateUrl,title:e.title,helpInfo:e.helpInfo,reloadOnSearch:void 0===e.reloadOnSearch||e.reloadOnSearch,resolve:{preload:["$ocLazyLoad","$q",function(t,r){return e.path?n(373)("./"+e.path).then(n=>{t.inject(e.module)}):r.defer().resolve()}]}})})),t.otherwise({templateUrl:"pages/not_found.html"}),r.html5Mode(!0),a.setTriggers({show:"hide"}),a.options({appendToBody:!0}),i.setProductInfo(e),PluginRegistry.get("main.menu").forEach((function(e){e.items.forEach((function(e){i.addItem(e)}))})),u.interceptors.push("$unauthorizedInterceptor"),u.interceptors.push("$authenticationInterceptor");const d=l.$get[3];"function"==typeof d&&(l.$get[3]=function(e,t,n){const r=d(e,t,n);return function(t,n){return e.get(t)||(t+="?v=2.7.6-RC1"),r(t,n)}})}]),t.constant("productInfo",e),t.run(["$rootScope","$route","toastr","$sce","$translate","ThemeService","WorkbenchSettingsStorageService","LSKeys","GuidesService",function(e,t,n,r,i,o,a,u,l){function c(){t.current.title?document.title=s(i.instant(t.current.title))+" | GraphDB Workbench":document.title="GraphDB Workbench",e.helpInfo=r.trustAsHtml(s(i.instant(t.current.helpInfo))),e.title=s(i.instant(t.current.title))}e.$on("$routeChangeSuccess",(function(){c(),n.clear()})),e.$on("$translateChangeSuccess",(function(){c()}));const h=a.getThemeName();o.applyTheme(h),o.applyDarkThemeMode(),l.init()}]),t.filter("titlecase",(function(){return function(e){var t=""+e;return t.charAt(0).toUpperCase()+t.slice(1)}})),t.filter("prettyJSON",()=>e=>angular.toJson(e,!0)),t.filter("humanReadableSize",()=>e=>Object(o.convertToHumanReadable)(e)),angular.bootstrap(document,["graphdb.workbench"])}(e)}))},1:function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_GROUP_TYPE",(function(){return r}));const r={IMPORT_OPERATION:"IMPORT_OPERATION",QUERIES_OPERATION:"QUERIES_OPERATION",BACKUP_AND_RESTORE_OPERATION:"BACKUP_AND_RESTORE_OPERATION",CLUSTER_OPERATION:"CLUSTER_OPERATION"}},10:function(e,t){function n(e,t){return{get:function(t){return e.get(t)},set:function(t,n){e.set(t,n)},keys:n,remove:r,clearAll:function(){e.clearAll()},clearClassHieararchyState:function(){n().forEach((function(e){0!==e.indexOf("classHierarchy-")||e===t.CLASS_HIERARCHY_HIDE_PREFIXES||e.startsWith("classHierarchy-selectedGraph-")||r(e)}))}};function n(){return e.keys()}function r(t){e.remove(t)}}angular.module("graphdb.framework.utils.localstorageadapter",[]).factory("LocalStorageAdapter",n).value("LSKeys",{TABS_STATE:"tabs-state",TABS_STATE_CURRENT_ID:"tabs-state-currentid",TABS_STATE_MAXID:"tabs-state-maxid",VIEW_MODE:"viewMode",CLASS_HIERARCHY_HIDE_PREFIXES:"classHierarchy-hidePrefixes",CLASS_HIERARCHY_CURRENT_SLIDER_VALUE:"classHierarchy-currentSliderValue",CLASS_HIERARCHY_SWITCH_PREFIXES:"classHierarchy-switchPrefixes",CLASS_HIERARCHY_LAST_SELECTED_CLASS:"classHierarchy-lastSelectedClass",DOMAIN_RANGE_WENT_BACK:"domainRange-wentBack",DOMAIN_RANGE_COLLAPSE_EDGES:"domainRange-collapseEdges",HIDE_SIMILARITY_HELP:"hide-similarity-help",TUTORIAL_STATE:"tutorial-state",MENU_STATE:"menu-state",HIDE_GRAPH_CONFIG_HELP:"hide-graph-config-help",GRAPHS_VIZ:"graphs-viz",AUTOCOMPLETE_ENABLED:"autocomplete.enabled",RDF_SEARCH_TYPE:"rdf-search.search-type",RDF_SEARCH_INPUT:"rdf-search.search-input",RDF_SEARCH_EXPANDED_URI:"rdf-search.search-expanded-uri",RDF_RESOURCE_DESCRIPTION:"rdf-search.resource-description",PREFERRED_LANG:"preferred-language",WORKBENCH_SETTINGS:"workbench-settings",REPOSITORY_ID:"repository-id",REPOSITORY_LOCATION:"repository-location",JSONLD_EXPORT_SETTINGS:"jsonld-export-settings",IMPORT_VIEW:"import-view",SPARQL_LAST_REPO:"sparql-last-repo"}),n.$inject=["localStorageService","LSKeys"]},11:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},12:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryMode",(function(){return r}));const r={UPDATE:"update",QUERY:"query"}},13:function(e,t,n){"use strict";n.r(t),n.d(t,"GUIDE_ID",(function(){return ln})),n.d(t,"GUIDE_CURRENT_STEP_ID",(function(){return cn})),n.d(t,"GUIDE_STEP_HISTORY",(function(){return hn})),n.d(t,"GUIDE_PAUSE",(function(){return pn}));var r=n(2),i=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};
|
|
2
2
|
/*! shepherd.js 11.2.0 */var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return s(e,n)}))}function u(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var r={};return n.isMergeableObject(e)&&u(e).forEach((function(t){r[t]=s(e[t],n)})),u(t).forEach((function(i){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(l(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return h;var n=t.customMerge(e);return"function"==typeof n?n:h}(i,n)(e[i],t[i],n):r[i]=s(t[i],n))})),r}function h(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=s;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):s(t,n)}h.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return h(e,n,t)}),{})};var p=h;function d(e){return e instanceof HTMLElement}function f(e){return"function"==typeof e}function g(e){return"string"==typeof e}function m(e){return void 0===e}class v{on(e,t,n,r=!1){return m(this.bindings)&&(this.bindings={}),m(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r}),this}once(e,t,n){return this.on(e,t,n,!0)}off(e,t){return m(this.bindings)||m(this.bindings[e])||(m(t)?delete this.bindings[e]:this.bindings[e].forEach((n,r)=>{n.handler===t&&this.bindings[e].splice(r,1)})),this}trigger(e,...t){return!m(this.bindings)&&this.bindings[e]&&this.bindings[e].forEach((n,r)=>{const{ctx:i,handler:o,once:s}=n,a=i||this;o.apply(a,t),s&&this.bindings[e].splice(r,1)}),this}}function y(e){const t=Object.getOwnPropertyNames(e.constructor.prototype);for(let n=0;n<t.length;n++){const r=t[n],i=e[r];"constructor"!==r&&"function"==typeof i&&(e[r]=i.bind(e))}return e}function b(e){const{event:t,selector:n}=e.options.advanceOn||{};if(!t)return console.error("advanceOn was defined, but no event name was passed.");{const r=function(e,t){return n=>{if(t.isOpen()){const r=t.el&&n.currentTarget===t.el;(!m(e)&&n.currentTarget.matches(e)||r)&&t.tour.next()}}}(n,e);let i;try{i=document.querySelector(n)}catch(e){}if(!m(n)&&!i)return console.error("No element was found for the selector supplied to advanceOn: "+n);i?(i.addEventListener(t,r),e.on("destroy",()=>i.removeEventListener(t,r))):(document.body.addEventListener(t,r,!0),e.on("destroy",()=>document.body.removeEventListener(t,r,!0)))}}function $(e){return g(e)&&""!==e?"-"!==e.charAt(e.length-1)?e+"-":e:""}function w(e){return null==e||(!e.element||!e.on)}function x(){let e=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?n:3&n|8).toString(16)})}function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function E(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}const A=Math.min,C=Math.max,F=Math.round,T=Math.floor,D=e=>({x:e,y:e}),R={left:"right",right:"left",bottom:"top",top:"bottom"},k={start:"end",end:"start"};function I(e,t,n){return C(e,A(t,n))}function P(e,t){return"function"==typeof e?e(t):e}function O(e){return e.split("-")[0]}function _(e){return e.split("-")[1]}function j(e){return"x"===e?"y":"x"}function L(e){return"y"===e?"height":"width"}function N(e){return["top","bottom"].includes(O(e))?"y":"x"}function M(e){return j(N(e))}function B(e){return e.replace(/start|end/g,e=>k[e])}function H(e){return e.replace(/left|right|bottom|top/g,e=>R[e])}function U(e){return"number"!=typeof e?function(e){return S({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function V(e){return S({},e,{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}const q=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],z=["mainAxis","crossAxis","limiter"];function K(e,t,n){let{reference:r,floating:i}=e;const o=N(t),s=M(t),a=L(s),u=O(t),l="y"===o,c=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,p=r[a]/2-i[a]/2;let d;switch(u){case"top":d={x:c,y:r.y-i.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:h};break;case"left":d={x:r.x-i.width,y:h};break;default:d={x:r.x,y:r.y}}switch(_(t)){case"start":d[s]-=p*(n&&l?-1:1);break;case"end":d[s]+=p*(n&&l?-1:1)}return d}async function G(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=P(t,e),f=U(d),g=a[p?"floating"===h?"reference":"floating":h],m=V(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:u})),v="floating"===h?S({},s.floating,{x:r,y:i}):s.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},$=V(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:y,strategy:u}):v);return{top:(m.top-$.top+f.top)/b.y,bottom:($.bottom-m.bottom+f.bottom)/b.y,left:(m.left-$.left+f.left)/b.x,right:($.right-m.right+f.right)/b.x}}const W=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:u}=t,l=P(e,t),{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:g=!0}=l,m=E(l,q),v=O(r),y=O(s)===s,b=await(null==a.isRTL?void 0:a.isRTL(u.floating)),$=p||(y||!g?[H(s)]:function(e){const t=H(e);return[B(e),t,B(t)]}(s));p||"none"===f||$.push(...function(e,t,n,r){const i=_(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}(O(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(B)))),o}(s,g,f,b));const w=[s,...$],x=await G(t,m),S=[];let A=(null==(n=i.flip)?void 0:n.overflows)||[];if(c&&S.push(x[v]),h){const e=function(e,t,n){void 0===n&&(n=!1);const r=_(e),i=M(e),o=L(i);let s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=H(s)),[s,H(s)]}(r,o,b);S.push(x[e[0]],x[e[1]])}if(A=[...A,{placement:r,overflows:S}],!S.every(e=>e<=0)){var C,F;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(F=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:F.placement;if(!n)switch(d){case"bestFit":{var T;const e=null==(T=A.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},Y=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:u=!0,crossAxis:l=!0}=P(e,t),c={x:n,y:r},h=N(i),p=j(h);let d=c[p],f=c[h];const g=P(a,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:S({mainAxis:0,crossAxis:0},g);if(u){const e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+m.mainAxis,n=o.reference[p]+o.reference[e]-m.mainAxis;d<t?d=t:d>n&&(d=n)}if(l){var v,y;const e="y"===p?"width":"height",t=["top","left"].includes(O(i)),n=o.reference[h]-o.floating[e]+(t&&(null==(v=s.offset)?void 0:v[h])||0)+(t?0:m.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(y=s.offset)?void 0:y[h])||0)-(t?m.crossAxis:0);f<n?f=n:f>r&&(f=r)}return{[p]:d,[h]:f}}}};function X(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Q(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return e instanceof Node||e instanceof J(e).Node}function ee(e){return e instanceof Element||e instanceof J(e).Element}function te(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function ne(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof J(e).ShadowRoot)}function re(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ue(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function ie(e){return["table","td","th"].includes(X(e))}function oe(e){const t=se(),n=ue(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function se(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ae(e){return["html","body","#document"].includes(X(e))}function ue(e){return J(e).getComputedStyle(e)}function le(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ce(e){if("html"===X(e))return e;const t=e.assignedSlot||e.parentNode||ne(e)&&e.host||Q(e);return ne(t)?t.host:t}function he(e,t){var n;void 0===t&&(t=[]);const r=function e(t){const n=ce(t);return ae(n)?t.ownerDocument?t.ownerDocument.body:t.body:te(n)&&re(n)?n:e(n)}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=J(r);return i?t.concat(o,o.visualViewport||[],re(r)?r:[]):t.concat(r,he(r))}function pe(e){const t=ue(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=te(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=F(n)!==o||F(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function de(e){return ee(e)?e:e.contextElement}function fe(e){const t=de(e);if(!te(t))return D(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=pe(t);let s=(o?F(n.width):n.width)/r,a=(o?F(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const ge=D(0);function me(e){const t=J(e);return se()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ge}function ve(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=de(e);let s=D(1);t&&(r?ee(r)&&(s=fe(r)):s=fe(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==J(e))&&t}(o,n,r)?me(o):D(0);let u=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,h=i.height/s.y;if(o){const e=J(o),t=r&&ee(r)?J(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=fe(n),t=n.getBoundingClientRect(),r=ue(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,h*=e.y,u+=i,l+=o,n=J(n).frameElement}}return V({width:c,height:h,x:u,y:l})}function ye(e){return ve(Q(e)).left+le(e).scrollLeft}function be(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=J(e),r=Q(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;const e=se();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:a,y:u}}(e,n);else if("document"===t)r=function(e){const t=Q(e),n=le(e),r=e.ownerDocument.body,i=C(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=C(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+ye(e);const a=-n.scrollTop;return"rtl"===ue(r).direction&&(s+=C(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(Q(e));else if(ee(t))r=function(e,t){const n=ve(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=te(e)?fe(e):D(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=me(e);r=S({},t,{x:t.x-n.x,y:t.y-n.y})}return V(r)}function $e(e,t){const n=ce(e);return!(n===t||!ee(n)||ae(n))&&("fixed"===ue(n).position||$e(n,t))}function we(e,t,n){const r=te(t),i=Q(t),o="fixed"===n,s=ve(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const u=D(0);if(r||!r&&!o)if(("body"!==X(t)||re(i))&&(a=le(t)),r){const e=ve(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ye(i));return{x:s.left+a.scrollLeft-u.x,y:s.top+a.scrollTop-u.y,width:s.width,height:s.height}}function xe(e,t){return te(e)&&"fixed"!==ue(e).position?t?t(e):e.offsetParent:null}function Se(e,t){const n=J(e);if(!te(e))return n;let r=xe(e,t);for(;r&&ie(r)&&"static"===ue(r).position;)r=xe(r,t);return r&&("html"===X(r)||"body"===X(r)&&"static"===ue(r).position&&!oe(r))?n:r||function(e){let t=ce(e);for(;te(t)&&!ae(t);){if(oe(t))return t;t=ce(t)}return null}(e)||n}const Ee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=te(n),o=Q(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0},a=D(1);const u=D(0);if((i||!i&&"fixed"!==r)&&(("body"!==X(n)||re(o))&&(s=le(n)),te(n))){const e=ve(n);a=fe(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+u.x,y:t.y*a.y-s.scrollTop*a.y+u.y}},getDocumentElement:Q,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=he(e).filter(e=>ee(e)&&"body"!==X(e)),i=null;const o="fixed"===ue(e).position;let s=o?ce(e):e;for(;ee(s)&&!ae(s);){const t=ue(s),n=oe(s);n||"fixed"!==t.position||(i=null);(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||re(s)&&!n&&$e(e,s))?r=r.filter(e=>e!==s):i=t,s=ce(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=be(t,n,i);return e.top=C(r.top,e.top),e.right=A(r.right,e.right),e.bottom=A(r.bottom,e.bottom),e.left=C(r.left,e.left),e},be(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Se,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||Se,o=this.getDimensions;return{reference:we(t,await i(n),r),floating:S({x:0,y:0},await o(n))}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return pe(e)},getScale:fe,isElement:ee,isRTL:function(e){return"rtl"===ue(e).direction}};function Ae(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=de(e),c=i||o?[...l?he(l):[],...he(t)]:[];c.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const h=l&&a?function(e,t){let n,r=null;const i=Q(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return function s(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),o();const{left:l,top:c,width:h,height:p}=e.getBoundingClientRect();if(a||t(),!h||!p)return;const d={rootMargin:-T(c)+"px "+-T(i.clientWidth-(l+h))+"px "+-T(i.clientHeight-(c+p))+"px "+-T(l)+"px",threshold:C(0,A(1,u))||1};let f=!0;function g(e){const t=e[0].intersectionRatio;if(t!==u){if(!f)return s();t?s(!1,t):n=setTimeout(()=>{s(!1,1e-7)},100)}f=!1}try{r=new IntersectionObserver(g,S({},d,{root:i.ownerDocument}))}catch(e){r=new IntersectionObserver(g,d)}r.observe(e)}(!0),o}(l,n):null;let p,d=-1,f=null;s&&(f=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&f&&(f.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{f&&f.observe(t)})),n()}),l&&!u&&f.observe(l),f.observe(t));let g=u?ve(e):null;return u&&function t(){const r=ve(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n();g=r,p=requestAnimationFrame(t)}(),n(),()=>{c.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),h&&h(),f&&f.disconnect(),f=null,u&&cancelAnimationFrame(p)}}const Ce=(e,t,n)=>{const r=new Map,i=S({platform:Ee},n),o=S({},i.platform,{_c:r});return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=K(l,r,u),p=r,d={},f=0;for(let n=0;n<a.length;n++){const{name:o,fn:g}=a[n],{x:m,y:v,data:y,reset:b}=await g({x:c,y:h,initialPlacement:r,placement:p,strategy:i,middlewareData:d,rects:l,platform:s,elements:{reference:e,floating:t}});c=null!=m?m:c,h=null!=v?v:h,d=S({},d,{[o]:S({},d[o],y)}),b&&f<=50&&(f++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(l=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:c,y:h}=K(l,p,u))),n=-1)}return{x:c,y:h,placement:p,strategy:i,middlewareData:d}})(e,t,S({},i,{platform:o}))};function Fe(e){e.cleanup&&e.cleanup();const t=e._getResolvedAttachToOptions();let n=t.element;const r=function(e,t){const n={strategy:"absolute",middleware:[]},r=function(e){if(e.options.arrow&&e.el)return e.el.querySelector(".shepherd-arrow");return!1}(t);w(e)||(n.middleware.push(W(),function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,o=P(e,t),{mainAxis:s=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}}}=o,l=E(o,z),c={x:n,y:r},h=await G(t,l),p=N(O(i)),d=j(p);let f=c[d],g=c[p];if(s){const e="y"===d?"bottom":"right";f=I(f+h["y"===d?"top":"left"],f,f-h[e])}if(a){const e="y"===p?"bottom":"right";g=I(g+h["y"===p?"top":"left"],g,g-h[e])}const m=u.fn(S({},t,{[d]:f,[p]:g}));return S({},m,{data:{x:m.x-n,y:m.y-r}})}}}({limiter:Y(),crossAxis:!0})),r&&n.middleware.push((e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a}=t,{element:u,padding:l=0}=P(e,t)||{};if(null==u)return{};const c=U(l),h={x:n,y:r},p=M(i),d=L(p),f=await s.getDimensions(u),g="y"===p,m=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=o.reference[d]+o.reference[p]-h[p]-o.floating[d],$=h[p]-o.reference[p],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let x=w?w[y]:0;x&&await(null==s.isElement?void 0:s.isElement(w))||(x=a.floating[y]||o.floating[d]);const S=b/2-$/2,E=x/2-f[d]/2-1,C=A(c[m],E),F=A(c[v],E),T=C,D=x-f[d]-F,R=x/2-f[d]/2+S,k=I(T,R,D),O=null!=_(i)&&R!=k&&o.reference[d]/2-(R<T?C:F)-f[d]/2<0?R<T?T-R:D-R:0;return{[p]:h[p]-O,data:{[p]:k,centerOffset:R-k+O}}}}))({element:r})),n.placement=e.on);return p(t.options.floatingUIOptions||{},n)}(t,e),i=w(t);if(i){n=document.body;e.shepherdElementComponent.getElement().classList.add("shepherd-centered")}return e.cleanup=Ae(n,e.el,()=>{e.el?function(e,t,n,r){Ce(e,t.el,n).then(function(e,t){return({x:n,y:r,placement:i,middlewareData:o})=>e.el?(t?Object.assign(e.el.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}):Object.assign(e.el.style,{position:"absolute",left:n+"px",top:r+"px"}),e.el.dataset.popperPlacement=i,function(e,t){const n=e.querySelector(".shepherd-arrow");if(n&&t.arrow){const{x:e,y:r}=t.arrow;Object.assign(n.style,{left:null!=e?e+"px":"",top:null!=r?r+"px":""})}}(e.el,o),e):e}(t,r)).then(e=>new Promise(t=>{setTimeout(()=>t(e),300)})).then(e=>{e&&e.el&&e.el.focus({preventScroll:!0})})}(n,e,r,i):e.cleanup()}),e.target=t.element,r}function Te(){}function De(e,t){for(const n in t)e[n]=t[n];return e}function Re(e){return e()}function ke(){return Object.create(null)}function Ie(e){e.forEach(Re)}function Pe(e){return"function"==typeof e}function Oe(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function _e(e,t){e.appendChild(t)}function je(e,t,n){e.insertBefore(t,n||null)}function Le(e){e.parentNode&&e.parentNode.removeChild(e)}function Ne(e){return document.createElement(e)}function Me(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Be(e){return document.createTextNode(e)}function He(){return Be(" ")}function Ue(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function Ve(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const qe=["width","height"];function ze(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r]?e.removeAttribute(r):"style"===r?e.style.cssText=t[r]:"__value"===r?e.value=e[r]=t[r]:n[r]&&n[r].set&&-1===qe.indexOf(r)?e[r]=t[r]:Ve(e,r,t[r])}function Ke(e,t,n){e.classList[n?"add":"remove"](t)}let Ge;function We(e){Ge=e}function Ye(){if(!Ge)throw new Error("Function called outside component initialization");return Ge}function Xe(e){Ye().$$.after_update.push(e)}const Je=[],Qe=[];let Ze=[];const et=[],tt=Promise.resolve();let nt=!1;function rt(e){Ze.push(e)}const it=new Set;let ot=0;function st(){if(0!==ot)return;const e=Ge;do{try{for(;ot<Je.length;){const e=Je[ot];ot++,We(e),at(e.$$)}}catch(e){throw Je.length=0,ot=0,e}for(We(null),Je.length=0,ot=0;Qe.length;)Qe.pop()();for(let e=0;e<Ze.length;e+=1){const t=Ze[e];it.has(t)||(it.add(t),t())}Ze.length=0}while(Je.length);for(;et.length;)et.pop()();nt=!1,it.clear(),We(e)}function at(e){if(null!==e.fragment){e.update(),Ie(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(rt)}}const ut=new Set;let lt;function ct(){lt={r:0,c:[],p:lt}}function ht(){lt.r||Ie(lt.c),lt=lt.p}function pt(e,t){e&&e.i&&(ut.delete(e),e.i(t))}function dt(e,t,n,r){if(e&&e.o){if(ut.has(e))return;ut.add(e),lt.c.push(()=>{ut.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function ft(e){e&&e.c()}function gt(e,t,n,r){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),r||rt(()=>{const t=e.$$.on_mount.map(Re).filter(Pe);e.$$.on_destroy?e.$$.on_destroy.push(...t):Ie(t),e.$$.on_mount=[]}),o.forEach(rt)}function mt(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];Ze.forEach(r=>-1===e.indexOf(r)?t.push(r):n.push(r)),n.forEach(e=>e()),Ze=t}(n.after_update),Ie(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function vt(e,t){-1===e.$$.dirty[0]&&(Je.push(e),nt||(nt=!0,tt.then(st)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function yt(e,t,n,r,i,o,s,a=[-1]){const u=Ge;We(e);const l=e.$$={fragment:null,ctx:[],props:o,update:Te,not_equal:i,bound:ke(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:ke(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(t,n,...r)=>{const o=r.length?r[0]:n;return l.ctx&&i(l.ctx[t],l.ctx[t]=o)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](o),c&&vt(e,t)),n}):[],l.update(),c=!0,Ie(l.before_update),l.fragment=!!r&&r(l.ctx),t.target){if(t.hydrate){const e=(h=t.target,Array.from(h.childNodes));l.fragment&&l.fragment.l(e),e.forEach(Le)}else l.fragment&&l.fragment.c();t.intro&&pt(e.$$.fragment),gt(e,t.target,t.anchor,t.customElement),st()}var h;We(u)}class bt{$destroy(){mt(this,1),this.$destroy=Te}$on(e,t){if(!Pe(t))return Te;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function $t(e){let t,n,r,i,o;return{c(){t=Ne("button"),Ve(t,"aria-label",n=e[3]?e[3]:null),Ve(t,"class",r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`),t.disabled=e[2],Ve(t,"tabindex","0")},m(n,r){je(n,t,r),t.innerHTML=e[5],i||(o=Ue(t,"click",(function(){Pe(e[0])&&e[0].apply(this,arguments)})),i=!0)},p(i,[o]){e=i,32&o&&(t.innerHTML=e[5]),8&o&&n!==(n=e[3]?e[3]:null)&&Ve(t,"aria-label",n),18&o&&r!==(r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`)&&Ve(t,"class",r),4&o&&(t.disabled=e[2])},i:Te,o:Te,d(e){e&&Le(t),i=!1,o()}}}function wt(e,t,n){let r,i,o,s,a,u,{config:l,step:c}=t;function h(e){return f(e)?e.call(c):e}return e.$$set=e=>{"config"in e&&n(6,l=e.config),"step"in e&&n(7,c=e.step)},e.$$.update=()=>{192&e.$$.dirty&&(n(0,r=l.action?l.action.bind(c.tour):null),n(1,i=l.classes),n(2,o=!!l.disabled&&h(l.disabled)),n(3,s=l.label?h(l.label):null),n(4,a=l.secondary),n(5,u=l.text?h(l.text):null))},[r,i,o,s,a,u,l,c]}class xt extends bt{constructor(e){super(),yt(this,e,wt,$t,Oe,{config:6,step:7})}}function St(e,t,n){const r=e.slice();return r[2]=t[n],r}function Et(e){let t,n,r=e[1],i=[];for(let t=0;t<r.length;t+=1)i[t]=At(St(e,r,t));const o=e=>dt(i[e],1,1,()=>{i[e]=null});return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=Be("")},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);je(e,t,r),n=!0},p(e,n){if(3&n){let s;for(r=e[1],s=0;s<r.length;s+=1){const o=St(e,r,s);i[s]?(i[s].p(o,n),pt(i[s],1)):(i[s]=At(o),i[s].c(),pt(i[s],1),i[s].m(t.parentNode,t))}for(ct(),s=r.length;s<i.length;s+=1)o(s);ht()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)pt(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)dt(i[e]);n=!1},d(e){!function(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}(i,e),e&&Le(t)}}}function At(e){let t,n;return t=new xt({props:{config:e[2],step:e[0]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};2&n&&(r.config=e[2]),1&n&&(r.step=e[0]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function Ct(e){let t,n,r=e[1]&&Et(e);return{c(){t=Ne("footer"),r&&r.c(),Ve(t,"class","shepherd-footer")},m(e,i){je(e,t,i),r&&r.m(t,null),n=!0},p(e,[n]){e[1]?r?(r.p(e,n),2&n&&pt(r,1)):(r=Et(e),r.c(),pt(r,1),r.m(t,null)):r&&(ct(),dt(r,1,1,()=>{r=null}),ht())},i(e){n||(pt(r),n=!0)},o(e){dt(r),n=!1},d(e){e&&Le(t),r&&r.d()}}}function Ft(e,t,n){let r,{step:i}=t;return e.$$set=e=>{"step"in e&&n(0,i=e.step)},e.$$.update=()=>{1&e.$$.dirty&&n(1,r=i.options.buttons)},[i,r]}class Tt extends bt{constructor(e){super(),yt(this,e,Ft,Ct,Oe,{step:0})}}function Dt(e){let t,n,r,i,o;return{c(){t=Ne("button"),n=Ne("span"),n.textContent="×",Ve(n,"aria-hidden","true"),Ve(t,"aria-label",r=e[0].label?e[0].label:"Close Tour"),Ve(t,"class","shepherd-cancel-icon"),Ve(t,"type","button")},m(r,s){je(r,t,s),_e(t,n),i||(o=Ue(t,"click",e[1]),i=!0)},p(e,[n]){1&n&&r!==(r=e[0].label?e[0].label:"Close Tour")&&Ve(t,"aria-label",r)},i:Te,o:Te,d(e){e&&Le(t),i=!1,o()}}}function Rt(e,t,n){let{cancelIcon:r,step:i}=t;return e.$$set=e=>{"cancelIcon"in e&&n(0,r=e.cancelIcon),"step"in e&&n(2,i=e.step)},[r,e=>{e.preventDefault(),i.cancel()},i]}class kt extends bt{constructor(e){super(),yt(this,e,Rt,Dt,Oe,{cancelIcon:0,step:2})}}function It(e){let t;return{c(){t=Ne("h3"),Ve(t,"id",e[1]),Ve(t,"class","shepherd-title")},m(n,r){je(n,t,r),e[3](t)},p(e,[n]){2&n&&Ve(t,"id",e[1])},i:Te,o:Te,d(n){n&&Le(t),e[3](null)}}}function Pt(e,t,n){let{labelId:r,element:i,title:o}=t;return Xe(()=>{f(o)&&n(2,o=o()),n(0,i.innerHTML=o,i)}),e.$$set=e=>{"labelId"in e&&n(1,r=e.labelId),"element"in e&&n(0,i=e.element),"title"in e&&n(2,o=e.title)},[i,r,o,function(e){Qe[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}class Ot extends bt{constructor(e){super(),yt(this,e,Pt,It,Oe,{labelId:1,element:0,title:2})}}function _t(e){let t,n;return t=new Ot({props:{labelId:e[0],title:e[2]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.labelId=e[0]),4&n&&(r.title=e[2]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function jt(e){let t,n;return t=new kt({props:{cancelIcon:e[3],step:e[1]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};8&n&&(r.cancelIcon=e[3]),2&n&&(r.step=e[1]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function Lt(e){let t,n,r,i=e[2]&&_t(e),o=e[3]&&e[3].enabled&&jt(e);return{c(){t=Ne("header"),i&&i.c(),n=He(),o&&o.c(),Ve(t,"class","shepherd-header")},m(e,s){je(e,t,s),i&&i.m(t,null),_e(t,n),o&&o.m(t,null),r=!0},p(e,[r]){e[2]?i?(i.p(e,r),4&r&&pt(i,1)):(i=_t(e),i.c(),pt(i,1),i.m(t,n)):i&&(ct(),dt(i,1,1,()=>{i=null}),ht()),e[3]&&e[3].enabled?o?(o.p(e,r),8&r&&pt(o,1)):(o=jt(e),o.c(),pt(o,1),o.m(t,null)):o&&(ct(),dt(o,1,1,()=>{o=null}),ht())},i(e){r||(pt(i),pt(o),r=!0)},o(e){dt(i),dt(o),r=!1},d(e){e&&Le(t),i&&i.d(),o&&o.d()}}}function Nt(e,t,n){let r,i,{labelId:o,step:s}=t;return e.$$set=e=>{"labelId"in e&&n(0,o=e.labelId),"step"in e&&n(1,s=e.step)},e.$$.update=()=>{2&e.$$.dirty&&(n(2,r=s.options.title),n(3,i=s.options.cancelIcon))},[o,s,r,i]}class Mt extends bt{constructor(e){super(),yt(this,e,Nt,Lt,Oe,{labelId:0,step:1})}}function Bt(e){let t;return{c(){t=Ne("div"),Ve(t,"class","shepherd-text"),Ve(t,"id",e[1])},m(n,r){je(n,t,r),e[3](t)},p(e,[n]){2&n&&Ve(t,"id",e[1])},i:Te,o:Te,d(n){n&&Le(t),e[3](null)}}}function Ht(e,t,n){let{descriptionId:r,element:i,step:o}=t;return Xe(()=>{let{text:e}=o.options;f(e)&&(e=e.call(o)),d(e)?i.appendChild(e):n(0,i.innerHTML=e,i)}),e.$$set=e=>{"descriptionId"in e&&n(1,r=e.descriptionId),"element"in e&&n(0,i=e.element),"step"in e&&n(2,o=e.step)},[i,r,o,function(e){Qe[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}class Ut extends bt{constructor(e){super(),yt(this,e,Ht,Bt,Oe,{descriptionId:1,element:0,step:2})}}function Vt(e){let t,n;return t=new Mt({props:{labelId:e[1],step:e[2]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};2&n&&(r.labelId=e[1]),4&n&&(r.step=e[2]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function qt(e){let t,n;return t=new Ut({props:{descriptionId:e[0],step:e[2]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.descriptionId=e[0]),4&n&&(r.step=e[2]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function zt(e){let t,n;return t=new Tt({props:{step:e[2]}}),{c(){ft(t.$$.fragment)},m(e,r){gt(t,e,r),n=!0},p(e,n){const r={};4&n&&(r.step=e[2]),t.$set(r)},i(e){n||(pt(t.$$.fragment,e),n=!0)},o(e){dt(t.$$.fragment,e),n=!1},d(e){mt(t,e)}}}function Kt(e){let t,n,r,i,o=!m(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled,s=!m(e[2].options.text),a=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length,u=o&&Vt(e),l=s&&qt(e),c=a&&zt(e);return{c(){t=Ne("div"),u&&u.c(),n=He(),l&&l.c(),r=He(),c&&c.c(),Ve(t,"class","shepherd-content")},m(e,o){je(e,t,o),u&&u.m(t,null),_e(t,n),l&&l.m(t,null),_e(t,r),c&&c.m(t,null),i=!0},p(e,[i]){4&i&&(o=!m(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled),o?u?(u.p(e,i),4&i&&pt(u,1)):(u=Vt(e),u.c(),pt(u,1),u.m(t,n)):u&&(ct(),dt(u,1,1,()=>{u=null}),ht()),4&i&&(s=!m(e[2].options.text)),s?l?(l.p(e,i),4&i&&pt(l,1)):(l=qt(e),l.c(),pt(l,1),l.m(t,r)):l&&(ct(),dt(l,1,1,()=>{l=null}),ht()),4&i&&(a=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length),a?c?(c.p(e,i),4&i&&pt(c,1)):(c=zt(e),c.c(),pt(c,1),c.m(t,null)):c&&(ct(),dt(c,1,1,()=>{c=null}),ht())},i(e){i||(pt(u),pt(l),pt(c),i=!0)},o(e){dt(u),dt(l),dt(c),i=!1},d(e){e&&Le(t),u&&u.d(),l&&l.d(),c&&c.d()}}}function Gt(e,t,n){let{descriptionId:r,labelId:i,step:o}=t;return e.$$set=e=>{"descriptionId"in e&&n(0,r=e.descriptionId),"labelId"in e&&n(1,i=e.labelId),"step"in e&&n(2,o=e.step)},[r,i,o]}class Wt extends bt{constructor(e){super(),yt(this,e,Gt,Kt,Oe,{descriptionId:0,labelId:1,step:2})}}function Yt(e){let t;return{c(){t=Ne("div"),Ve(t,"class","shepherd-arrow"),Ve(t,"data-popper-arrow","")},m(e,n){je(e,t,n)},d(e){e&&Le(t)}}}function Xt(e){let t,n,r,i,o,s,a,u,l=e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on&&Yt();r=new Wt({props:{descriptionId:e[2],labelId:e[3],step:e[4]}});let c=[{"aria-describedby":i=m(e[4].options.text)?null:e[2]},{"aria-labelledby":o=e[4].options.title?e[3]:null},e[1],{role:"dialog"},{tabindex:"0"}],h={};for(let e=0;e<c.length;e+=1)h=De(h,c[e]);return{c(){t=Ne("div"),l&&l.c(),n=He(),ft(r.$$.fragment),ze(t,h),Ke(t,"shepherd-has-cancel-icon",e[5]),Ke(t,"shepherd-has-title",e[6]),Ke(t,"shepherd-element",!0)},m(i,o){je(i,t,o),l&&l.m(t,null),_e(t,n),gt(r,t,null),e[13](t),s=!0,a||(u=Ue(t,"keydown",e[7]),a=!0)},p(e,[a]){e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on?l||(l=Yt(),l.c(),l.m(t,n)):l&&(l.d(1),l=null);const u={};4&a&&(u.descriptionId=e[2]),8&a&&(u.labelId=e[3]),16&a&&(u.step=e[4]),r.$set(u),ze(t,h=function(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const s=e[o],a=t[o];if(a){for(const e in s)e in a||(r[e]=1);for(const e in a)i[e]||(n[e]=a[e],i[e]=1);e[o]=a}else for(const e in s)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}(c,[(!s||20&a&&i!==(i=m(e[4].options.text)?null:e[2]))&&{"aria-describedby":i},(!s||24&a&&o!==(o=e[4].options.title?e[3]:null))&&{"aria-labelledby":o},2&a&&e[1],{role:"dialog"},{tabindex:"0"}])),Ke(t,"shepherd-has-cancel-icon",e[5]),Ke(t,"shepherd-has-title",e[6]),Ke(t,"shepherd-element",!0)},i(e){s||(pt(r.$$.fragment,e),s=!0)},o(e){dt(r.$$.fragment,e),s=!1},d(n){n&&Le(t),l&&l.d(),mt(r),e[13](null),a=!1,u()}}}function Jt(e){return e.split(" ").filter(e=>!!e.length)}function Qt(e,t,n){let r,i,o,{classPrefix:s,element:a,descriptionId:u,firstFocusableElement:l,focusableElements:c,labelId:h,lastFocusableElement:p,step:d,dataStepId:f}=t;var m;m=()=>{n(1,f={[`data-${s}shepherd-step-id`]:d.id}),n(9,c=a.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,l=c[0]),n(10,p=c[c.length-1])},Ye().$$.on_mount.push(m),Xe(()=>{o!==d.options.classes&&(function(e){if(g(e)){const t=Jt(e);t.length&&a.classList.remove(...t)}}(o),o=d.options.classes,function(e){if(g(e)){const t=Jt(e);t.length&&a.classList.add(...t)}}(o))});return e.$$set=e=>{"classPrefix"in e&&n(11,s=e.classPrefix),"element"in e&&n(0,a=e.element),"descriptionId"in e&&n(2,u=e.descriptionId),"firstFocusableElement"in e&&n(8,l=e.firstFocusableElement),"focusableElements"in e&&n(9,c=e.focusableElements),"labelId"in e&&n(3,h=e.labelId),"lastFocusableElement"in e&&n(10,p=e.lastFocusableElement),"step"in e&&n(4,d=e.step),"dataStepId"in e&&n(1,f=e.dataStepId)},e.$$.update=()=>{16&e.$$.dirty&&(n(5,r=d.options&&d.options.cancelIcon&&d.options.cancelIcon.enabled),n(6,i=d.options&&d.options.title))},[a,f,u,h,d,r,i,e=>{const{tour:t}=d;switch(e.keyCode){case 9:if(0===c.length){e.preventDefault();break}e.shiftKey?(document.activeElement===l||document.activeElement.classList.contains("shepherd-element"))&&(e.preventDefault(),p.focus()):document.activeElement===p&&(e.preventDefault(),l.focus());break;case 27:t.options.exitOnEsc&&(e.stopPropagation(),d.cancel());break;case 37:t.options.keyboardNavigation&&(e.stopPropagation(),t.back());break;case 39:t.options.keyboardNavigation&&(e.stopPropagation(),t.next())}},l,c,p,s,()=>a,function(e){Qe[e?"unshift":"push"](()=>{a=e,n(0,a)})}]}class Zt extends bt{constructor(e){super(),yt(this,e,Qt,Xt,Oe,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12})}get getElement(){return this.$$.ctx[12]}}class en extends v{constructor(e,t={}){return super(e,t),this.tour=e,this.classPrefix=this.tour.options?$(this.tour.options.classPrefix):"",this.styles=e.styles,this._resolvedAttachTo=null,y(this),this._setOptions(t),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){var e;(e=this).cleanup&&e.cleanup(),e.cleanup=null,d(this.el)&&(this.el.remove(),this.el=null),this._updateStepTargetOnHide(),this.trigger("destroy")}getTour(){return this.tour}hide(){this.tour.modal.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this._updateStepTargetOnHide(),this.trigger("hide")}_resolveAttachToOptions(){return this._resolvedAttachTo=function(e){const t=e.options.attachTo||{},n=Object.assign({},t);if(f(n.element)&&(n.element=n.element.call(e)),g(n.element)){try{n.element=document.querySelector(n.element)}catch(e){}n.element||console.error("The element for this Shepherd step was not found "+t.element)}return n}(this),this._resolvedAttachTo}_getResolvedAttachToOptions(){return null===this._resolvedAttachTo?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return Boolean(this.el&&!this.el.hidden)}show(){return f(this.options.beforeShowPromise)?Promise.resolve(this.options.beforeShowPromise()).then(()=>this._show()):Promise.resolve(this._show())}updateStepOptions(e){Object.assign(this.options,e),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})}getElement(){return this.el}getTarget(){return this.target}_createTooltipContent(){const e=this.id+"-description",t=this.id+"-label";return this.shepherdElementComponent=new Zt({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:e,labelId:t,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()}_scrollTo(e){const{element:t}=this._getResolvedAttachToOptions();f(this.options.scrollToHandler)?this.options.scrollToHandler(t):t instanceof Element&&"function"==typeof t.scrollIntoView&&t.scrollIntoView(e)}_getClassOptions(e){const t=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,n=e.classes?e.classes:"",r=t&&t.classes?t.classes:"",i=[...n.split(" "),...r.split(" ")],o=new Set(i);return Array.from(o).join(" ").trim()}_setOptions(e={}){let t=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;t=p({},t||{}),this.options=Object.assign({arrow:!0},t,e,function(e,t){return{floatingUIOptions:p(e.floatingUIOptions||{},t.floatingUIOptions||{})}}(t,e));const{when:n}=this.options;this.options.classes=this._getClassOptions(e),this.destroy(),this.id=this.options.id||"step-"+x(),n&&Object.keys(n).forEach(e=>{this.on(e,n[e],this)})}_setupElements(){m(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&b(this),Fe(this)}_show(){this.trigger("before-show"),this._resolveAttachToOptions(),this._setupElements(),this.tour.modal||this.tour._setupModal(),this.tour.modal.setupForStep(this),this._styleTargetElementForStep(this),this.el.hidden=!1,this.options.scrollTo&&setTimeout(()=>{this._scrollTo(this.options.scrollTo)}),this.el.hidden=!1;const e=this.shepherdElementComponent.getElement(),t=this.target||document.body;t.classList.add(this.classPrefix+"shepherd-enabled"),t.classList.add(this.classPrefix+"shepherd-target"),e.classList.add("shepherd-enabled"),this.trigger("show")}_styleTargetElementForStep(e){const t=e.target;t&&(e.options.highlightClass&&t.classList.add(e.options.highlightClass),t.classList.remove("shepherd-target-click-disabled"),!1===e.options.canClickTarget&&t.classList.add("shepherd-target-click-disabled"))}_updateStepTargetOnHide(){const e=this.target||document.body;this.options.highlightClass&&e.classList.remove(this.options.highlightClass),e.classList.remove("shepherd-target-click-disabled",this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")}}function tn(e){let t,n,r,i,o;return{c(){t=Me("svg"),n=Me("path"),Ve(n,"d",e[2]),Ve(t,"class",r=(e[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m(r,s){je(r,t,s),_e(t,n),e[11](t),i||(o=Ue(t,"touchmove",e[3]),i=!0)},p(e,[i]){4&i&&Ve(n,"d",e[2]),2&i&&r!==(r=(e[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&Ve(t,"class",r)},i:Te,o:Te,d(n){n&&Le(t),e[11](null),i=!1,o()}}}function nn(e,t,n){let{element:r,openingProperties:i}=t;x();let o,s=!1,a=void 0;u();function u(){n(4,i={width:0,height:0,x:0,y:0,r:0})}function l(){n(1,s=!1),d()}function c(e=0,t=0,r,o){if(o){const{y:s,height:a}=function(e,t){const n=e.getBoundingClientRect();let r=n.y||n.top,i=n.bottom||r+n.height;if(t){const e=t.getBoundingClientRect(),n=e.y||e.top,o=e.bottom||n+e.height;r=Math.max(r,n),i=Math.min(i,o)}return{y:r,height:Math.max(i-r,0)}}(o,r),{x:u,width:l,left:c}=o.getBoundingClientRect();n(4,i={width:l+2*e,height:a+2*e,x:(u||c)-e,y:s-e,r:t})}else u()}function h(){n(1,s=!0)}const p=e=>{e.preventDefault()};function d(){a&&(cancelAnimationFrame(a),a=void 0),window.removeEventListener("touchmove",p,{passive:!1})}return e.$$set=e=>{"element"in e&&n(0,r=e.element),"openingProperties"in e&&n(4,i=e.openingProperties)},e.$$.update=()=>{16&e.$$.dirty&&n(2,o=function({width:e,height:t,x:n=0,y:r=0,r:i=0}){const{innerWidth:o,innerHeight:s}=window,{topLeft:a=0,topRight:u=0,bottomRight:l=0,bottomLeft:c=0}="number"==typeof i?{topLeft:i,topRight:i,bottomRight:i,bottomLeft:i}:i;return`M${o},${s}H0V0H${o}V${s}ZM${n+a},${r}a${a},${a},0,0,0-${a},${a}V${t+r-c}a${c},${c},0,0,0,${c},${c}H${e+n-l}a${l},${l},0,0,0,${l}-${l}V${r+u}a${u},${u},0,0,0-${u}-${u}Z`}(i))},[r,s,o,e=>{e.stopPropagation()},i,()=>r,u,l,c,function(e){d(),e.tour.options.useModalOverlay?(!function(e){const{modalOverlayOpeningPadding:t,modalOverlayOpeningRadius:n}=e.options,r=function e(t){if(!t)return null;const n=t instanceof HTMLElement&&window.getComputedStyle(t).overflowY;return"hidden"!==n&&"visible"!==n&&t.scrollHeight>=t.clientHeight?t:e(t.parentElement)}(e.target),i=()=>{a=void 0,c(t,n,r,e.target),a=requestAnimationFrame(i)};i(),window.addEventListener("touchmove",p,{passive:!1})}(e),h()):l()},h,function(e){Qe[e?"unshift":"push"](()=>{r=e,n(0,r)})}]}class rn extends bt{constructor(e){super(),yt(this,e,nn,tn,Oe,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10})}get getElement(){return this.$$.ctx[5]}get closeModalOpening(){return this.$$.ctx[6]}get hide(){return this.$$.ctx[7]}get positionModal(){return this.$$.ctx[8]}get setupForStep(){return this.$$.ctx[9]}get show(){return this.$$.ctx[10]}}const on=new v;class sn extends v{constructor(e={}){super(e),y(this);this.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),this.classPrefix=$(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps);return["active","cancel","complete","inactive","show","start"].map(e=>{(e=>{this.on(e,t=>{(t=t||{}).tour=this,on.trigger(e,t)})})(e)}),this._setTourID(),this}addStep(e,t){let n=e;return n instanceof en?n.tour=this:n=new en(this,n),m(t)?this.steps.push(n):this.steps.splice(t,0,n),n}addSteps(e){return Array.isArray(e)&&e.forEach(e=>{this.addStep(e)}),this}back(){const e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)}async cancel(){if(this.options.confirmCancel){const e="function"==typeof this.options.confirmCancel,t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";(e?await this.options.confirmCancel():window.confirm(t))&&this._done("cancel")}else this._done("cancel")}complete(){this._done("complete")}getById(e){return this.steps.find(t=>t.id===e)}getCurrentStep(){return this.currentStep}hide(){const e=this.getCurrentStep();if(e)return e.hide()}isActive(){return on.activeTour===this}next(){const e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)}removeStep(e){const t=this.getCurrentStep();this.steps.some((t,n)=>{if(t.id===e)return t.isOpen()&&t.hide(),t.destroy(),this.steps.splice(n,1),!0}),t&&t.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(e=0,t=!0){const n=g(e)?this.getById(e):this.steps[e];if(n){this._updateStateBeforeShow();f(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show())}}start(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupModal(),this._setupActiveTour(),this.next()}_done(e){const t=this.steps.indexOf(this.currentStep);if(Array.isArray(this.steps)&&this.steps.forEach(e=>e.destroy()),function(e){if(e){const{steps:t}=e;t.forEach(e=>{e.options&&!1===e.options.canClickTarget&&e.options.attachTo&&e.target instanceof HTMLElement&&e.target.classList.remove("shepherd-target-click-disabled")})}}(this),this.trigger(e,{index:t}),on.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),("cancel"===e||"complete"===e)&&this.modal){const e=document.querySelector(".shepherd-modal-overlay-container");e&&e.remove()}d(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),on.activeTour=this}_setupModal(){this.modal=new rn({target:this.options.modalContainer||document.body,props:{classPrefix:this.classPrefix,styles:this.styles}})}_skipStep(e,t){const n=this.steps.indexOf(e);if(n===this.steps.length-1)this.complete();else{const e=t?n+1:n-1;this.show(e,t)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(){const e=this.options.tourName||"tour";this.id=`${e}--${x()}`}}const an="undefined"==typeof window;class un{constructor(){}}an?Object.assign(on,{Tour:un,Step:un}):Object.assign(on,{Tour:sn,Step:en});const ln="shepherd.guide_id",cn="shepherd.guide.current.step.id",hn="shepherd.guide.step.history",pn="shepherd.guide.pause";function dn(e,t,n,i,o,s,a){this.guideCancelSubscription=void 0,this.onPause=()=>{},this.onCancel=()=>{},this.startGuide=(e,t,r,i=!0)=>{if(i&&n.remove(hn),!t)return;const o=this._createGuide(e);this._addGuideSteps(o,t),this._startGuide(o,r)},this.resumeGuide=(e,t,r)=>{n.set(pn,!1),this.startGuide(e,t,r,!1)},this.isActive=()=>on.activeTour&&!this.isPaused(),this.isPaused=()=>"true"===n.get(pn),this.getGuideId=()=>n.get(ln),this.getCurrentStepId=()=>n.get(cn),this.subscribeToGuideCancel=e=>{angular.isFunction(e)&&(this.onCancel=e)},this.subscribeToGuidePause=e=>{angular.isFunction(e)&&(this.onPause=e)},this._createGuide=e=>(this._subscribeToGuideCanceled(),new on.Tour({name:e,useModalOverlay:!0,confirmCancel:!0,confirmCancelMessage:t.instant("guide.confirm.cancel.message"),defaultStepOptions:{classes:"shadow-md bg-purple-dark",scrollTo:!0}})),this._addGuideSteps=(e,t)=>{if(t.length>0&&e.addStep(this._getFirstStep(e,t)),t.length>2)for(let n=1;n<t.length-1;n++)e.addStep(this._getMiddleStep(e,t,n));t.length>1&&e.addStep(this._getLastStep(e,t))},this._startGuide=(o,a)=>{n.remove(pn);let u=o.steps.findIndex(e=>e.options.id===a);u<0&&(u=0);const l=o.steps[u],c=l.options.url;c&&(e.url(c),i.reload()),l.options.attachTo?r.GuideUtils.waitFor(l.options.attachTo.element,l.options.maxWaitTime).then(()=>o.show(u)).catch(e=>{console.log(e),s.error(t.instant("guide.start.unexpected.error.message"))}):o.show(u)},this._subscribeToGuideCanceled=()=>{this.guideCancelSubscription||(this.guideCancelSubscription=on.on("cancel",()=>{this._clearLocaleStorage();const e=on.activeTour.getCurrentStep();e&&angular.isFunction(e.hide)&&e.hide(),this.onCancel&&this.onCancel()}))},this._getFirstStep=function(e,t){const n=t.length>1?t[1]:void 0;return this._toGuideStep(e,void 0,t[0],n)},this._getMiddleStep=(e,t,n)=>this._toGuideStep(e,t[n-1],t[n],t[n+1]),this._getLastStep=(e,t)=>{const n=this._toGuideStep(e,null,t[t.length-1]);return n.buttons.push(this._getBackToGuidesButton(e)),n.buttons.push(this._getCancelButton(e)),n},this._getBackToGuidesButton=e=>this._getButton(t.instant("back.to.guides.btn"),()=>this._backToGuidesButton(e),!0),this._getCancelButton=e=>this._getButton(t.instant("common.close"),()=>this._cancelGuide(e,!1),!0),this._backToGuidesButton=t=>{e.path("guides"),this._cancelGuide(t,!1)},this._cancelGuide=(e,t=!0)=>{e.options.confirmCancel=t,e.cancel(),this.onCancel()&&this.onCancel()},this._toGuideStep=(e,n,r,i)=>{const o=this._toBaseGuideStep(e,t,r,()=>this._updateLocalStorage()),s=[];return r.skipPoint&&s.push(this._getSkipButton(e)),n&&s.push(this._getPreviousButton(e)),i&&s.push(this._getNextButton(e,r,i)),o.buttons=s,o},this._getPauseButton=e=>this._getButton(t.instant("pause.btn"),()=>this._pauseGuide(e),!0),this._getSkipButton=e=>this._getButton(t.instant("skip.btn"),()=>this._skipSteps(e),!0),this._skipSteps=e=>{const t=e.getCurrentStep(),n=e.steps.findIndex(e=>t.id===e.id);this._startGuide(e,this._getNextSkipPointId(e.steps,n))},this._getNextSkipPointId=(e,t)=>{for(let n=t+1;n<e.length;n++){const t=e.at(n);if(t.options.skipPoint)return t.id}return e.at(e.length-1).id},this._pauseGuide=e=>{e.hide();const t=this._getStepWhichCanBePaused(e.steps,e.getCurrentStep().id);this._saveStep(t),n.set(pn,!0);let r=!1;for(;!r;){const e=this._getHistory();e&&e.length>0&&e.at(e.length-1)!==t.options.id?this._removeLastStepFromHistory():r=!0}this.onPause()&&this.onPause()},this._getStepWhichCanBePaused=(e,t)=>{const n=e.findIndex(e=>e.id===t),r=e[n];return r.options.canBePaused?r:n>0?this._getStepWhichCanBePaused(e,e[n-1].id):void 0},this._getPreviousButton=e=>{const n=t.instant("previous.btn"),r=this._getPreviousButtonAction(e);return this._getButton(n,r)},this._getPreviousButtonAction=n=>()=>{const i=this._getPreviousStepIdFromHistory();let o;o=-1===i?n.steps.at(0):n.steps.find(e=>e.options.id===i);const a=n.getCurrentStep();a.hide(),a.options.initPreviousStep({GuideUtils:r.GuideUtils,ShepherdService:this},a.options.id).then(()=>{angular.isFunction(a.options.onPreviousClick)?a.options.onPreviousClick(n).then(e=>{!angular.isUndefined(e)&&null!==e&&e||(a.hide(),n.show(o.id))}).catch(e=>{console.log(e),s.error(t.instant("guide.unexpected.error.message")),this._cancelGuide(n,!1)}):((o.options.forceReload||o.options.url&&o.options.url!==a.options.url)&&e.path(o.options.url),a.hide(),n.show(o.id))}).catch(e=>{console.log(e),s.error(t.instant("guide.unexpected.error.message")),this._cancelGuide(n,!1)})},this._getNextButton=(e,n,r)=>{const i=t.instant("next.btn"),o=u(e,n,r);return this._getButton(i,o)};const u=(n,r,i)=>()=>{r.onNextValidate(r).then(o=>{if(o)if(angular.isFunction(r.onNextClick)){const e=r.onNextClick(n,r);e instanceof Promise&&e.catch(e=>{s.error(t.instant("guide.unexpected.error.message")),this._cancelGuide(n,!1)})}else(i.forceReload||i.url&&i.url!==r.url)&&e.path(i.url),n.next()})};this._updateLocalStorage=()=>{const e=on.activeTour;if(!e)return;const t=e.getCurrentStep();if(t.options.skipFromHistory)return void console.log("Current step: ",t.options.skipFromHistory);const n=e.steps.findIndex(e=>e.id===t.id),r=this.getCurrentStepId(),i=e.steps.findIndex(e=>e.id===r);n>i?this._addStepToHistory(t):i>n&&this._removeLastStepFromHistory(),this._saveStep(t)},this._saveStep=e=>{e&&(n.set(ln,e.tour.options.name),n.set(cn,e.options.id))},this._addStepToHistory=e=>{const t=this._getHistory();t.push(e.options.id),n.set(hn,t)},this._getHistory=()=>{const e=n.get(hn);return e||[]},this._removeLastStepFromHistory=()=>{const e=this._getHistory();e.splice(e.length-1,1),n.set(hn,e)},this._getPreviousStepIdFromHistory=e=>{const t=this._getHistory()||[];if(e){const n=t.findIndex(t=>t===e);if(n>0)return t.at(n-1)}else if(t.length>1)return t.at(t.length-2);return-1},this.getPreviousStepFromHistory=e=>{const t=this._getPreviousStepIdFromHistory(e);return on.activeTour.steps.find(e=>e.id===t)},this._clearLocaleStorage=()=>{n.remove(ln),n.remove(pn),n.remove(cn),n.remove(hn)},this._toBaseGuideStep=(e,t,n,i)=>{let s;n.elementSelector&&(s={element:n.elementSelector,on:n.placement});const a=r.GuideUtils.unescapeHtml(r.GuideUtils.translateLocalMessage(t,o,n.title,n));let u="";if(n.stepsTotalN>1){const e=document.createElement("span");e.setAttribute("gdb-tooltip",t.instant("guide.block.progress.tooltip",{action:a})),e.setAttribute("tooltip-placement","bottom"),e.innerText=t.instant("guide.block.progress",{n:n.stepN+1,nn:n.stepsTotalN}),u=" — "+e.outerHTML}const l="readonly"!==n.type,c=n.extraPadding?n.extraPadding:0,h={id:n.id,title:a+u,text:()=>{const e=this._toParagraph(r.GuideUtils.translateLocalMessage(t,o,n.content,n));let i="";return n.extraContent&&(i=r.GuideUtils.translateLocalMessage(t,o,n.extraContent,n),i=this._toParagraph(i,n.extraContentClass)),e+i},url:n.url,maxWaitTime:n.maxWaitTime,cancelIcon:{enabled:!0},attachTo:s,modalOverlayOpeningPadding:c,modalOverlayOpeningRadius:0,canBePaused:n.canBePaused,advanceOn:n.advanceOn,showOn:n.showOn,scrollToHandler:n.scrollToHandler,classes:"guide-dialog "+n.class,beforeShowPromise:n.beforeShowPromise,canClickTarget:l,keyboardNavigation:!1,skipPoint:n.skipPoint,skipFromHistory:n.skipFromHistory,onPreviousClick:n.onPreviousClick,initPreviousStep:n.initPreviousStep,when:{show:this._getShowFunction(e,n,i)}};return angular.isFunction(n.hide)&&(h.when.hide=n.hide(e)),h},this._getShowFunction=(e,t,n)=>angular.isFunction(t.show)?()=>{t.show(e)(),n(),this._whenStepShow(t)}:()=>{n(),this._whenStepShow(t)},this._whenStepShow=e=>{const t=on.activeTour.getCurrentStep(),n=t.getElement();this._addTotalProgress(t,n),this._addTypeIcon(n,e);const r=angular.element(n).scope();angular.isFunction(e.onScope)&&e.onScope(r),setTimeout(()=>r.$apply(()=>a(n)(r)))},this._toParagraph=(e,t)=>{if(e){const n=document.createElement("p");return t&&(n.className=t),n.innerHTML=e,n.outerHTML}return""},this._addTotalProgress=(e,n)=>{const r=on.activeTour.steps,i=n.querySelector(".shepherd-content"),o=document.createElement("div");o.className="shepherd-progress";const s=document.createElement("span");s.className="text-muted",s.innerText=t.instant("guide.total.progress",{n:r.indexOf(e)+1,nn:r.length}),s.setAttribute("gdb-tooltip",t.instant("guide.total.progress.tooltip")),s.setAttribute("tooltip-placement","left"),o.appendChild(s),i.appendChild(o)},this._addTypeIcon=(e,n)=>{let r,i;switch(n.type){case"clickable":r="focus",i="mouse";break;case"input":r="edit",i="input";break;default:r="info",i="info"}const o=document.createElement("span");o.className="shepherd-step-type icon-"+r+" icon-1-25x",o.setAttribute("gdb-tooltip",t.instant("guide.step-type."+i)),o.setAttribute("tooltip-placement","bottom-right"),angular.element(e.querySelector(".shepherd-header")).prepend(o)},this._getButton=(e,t,n)=>{const r={text:e,classes:n?"btn btn-secondary":"btn btn-primary",action:e=>{e.stopPropagation(),t()}};return r}}angular.module("graphdb.framework.guides.shepherd.services",["graphdb.framework.utils.localstorageadapter"]).service("ShepherdService",dn),dn.$inject=["$location","$translate","LocalStorageAdapter","$route","$interpolate","toastr","$compile"]},14:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponentDirectiveUtil",(function(){return i})),n.d(t,"YasqeButtonsBuilder",(function(){return o})),n.d(t,"YasqeButtonName",(function(){return s})),n.d(t,"DISABLE_YASQE_BUTTONS_CONFIGURATION",(function(){return a})),n.d(t,"INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION",(function(){return u}));const r=["var(--primary-color)","","var(--primary-color)"],i=function(){const e=e=>{const t=angular.element(document.querySelector(e));return angular.element(t).isolateScope()},t=(t,n=1)=>new Promise((r,i)=>{let o=e(t);o&&r(o.getOntotextYasguiElement());let s=1e3*n|1e3;const a=setInterval(()=>{o=e(t),o?(clearInterval(a),r(o.getOntotextYasguiElement())):(s-=100,s<0&&(clearInterval(a),console.log("YASGUI component is not found",t),i(new Error("Element is not found: "+t))))},100)}),n=(e,n)=>{let r=void 0;return t(e).then(e=>(r=e,e)).then(()=>r.setQuery(n)).then(()=>r)},o=e=>{if(!e||!e.yasgui||!e.yasgui.tabElements)return;const t=e.yasgui.tabElements.get(e.getId());return t?t.tabEl:void 0};return{getOntotextYasguiElementController:e,getOntotextYasguiElement:e=>{const t=i.getOntotextYasguiElementController(e);if(t)return t.getOntotextYasguiElement()},getOntotextYasguiElementAsync:t,executeSparqlQuery:(e,t)=>{let r=void 0;return n(e,t).then(e=>(r=e,e)).then(()=>r.query()).then(()=>r)},setQuery:n,highlightTabName:e=>{const t=o(e);if(!t)return;let n=0,i=void 0;const s=()=>{t.style.color=r[n++],n>r.length&&(t.style.color="",clearInterval(i))};i=setInterval(s,400),s()}}}();class o{constructor(){this.createSavedQueryVisibility=!1,this.showSavedQueriesVisibility=!1,this.shareQueryVisibility=!1,this.includeInferredStatementsVisibility=!1}addCreateSavedQuery(){return this.createSavedQueryVisibility=!0,this}addShowSavedQueries(){return this.showSavedQueriesVisibility=!0,this}addShareQuery(){return this.shareQueryVisibility=!0,this}addIncludeInferredStatements(){return this.includeInferredStatementsVisibility=!0,this}build(){return[{name:s.CREATE_SAVED_QUERY,visible:this.createSavedQueryVisibility},{name:s.SHOW_SAVED_QUERIES,visible:this.showSavedQueriesVisibility},{name:s.SHARE_QUERY,visible:this.shareQueryVisibility},{name:s.INCLUDE_INFERRED_STATEMENTS,visible:this.includeInferredStatementsVisibility}]}}const s={CREATE_SAVED_QUERY:"createSavedQuery",SHOW_SAVED_QUERIES:"showSavedQueries",SHARE_QUERY:"shareQuery",EXPANDS_RESULTS:"expandResults",INFER_STATEMENTS:"inferStatements",INCLUDE_INFERRED_STATEMENTS:"includeInferredStatements"},a=(new o).build(),u=(new o).addIncludeInferredStatements().build()},143:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},15:function(e,t){angular.module("graphdb.framework.utils.event-emitter-service",[]).factory("EventEmitterService",(function(){const e={},t={};return{subscribe:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),function(){const r=e[t].indexOf(n);-1!==r&&e[t].splice(r,1)}),emit:(t,n,r)=>{(e[t]||[]).reduce((e,t)=>e.then(e=>t(e)),Promise.resolve(n)).then(()=>{angular.isFunction(r)&&r(n)})},subscribeSync:(e,n)=>(t[e]||(t[e]=[]),t[e].push(n),function(){const r=t[e].indexOf(n);-1!==r&&t[e].splice(r,1)}),emitSync:(e,n)=>{(t[e]||[]).forEach(t=>{angular.isFunction(t)?t(n):console.error(`Callback of "${e}" is not function:`,t)})}}}))},16:function(e,t){angular.module("graphdb.framework.rest.license.service",["ngFileUpload"]).factory("LicenseRestService",r),r.$inject=["$http","Upload"];const n="rest/graphdb-settings/license";function r(e,t){return{getLicenseInfo:function(){return e.get(n)},getHardcodedLicense:function(){return e.get(n+"/hardcoded")},sendLicenseToValidate:function(t){return e.post("rest/info/license/validate",t,{headers:{Accept:"application/json","Content-Type":"text/plain"}})},extractFromLicenseFile:function(e){return t.upload({url:"rest/info/license/to-base-64",file:e,headers:{Accept:"text/plain"}})},checkLicenseHardcoded:function(){return e.get(n+"/hardcoded")},registerLicense:function(t){const r=new Uint8Array(t.length);for(let e=0;e<r.length;e++)r[e]=t.charCodeAt(e);return e({method:"POST",url:n,headers:{"Content-Type":"application/octet-stream"},data:r,transformRequest:[]})},unregisterLicense:function(){return e({method:"DELETE",url:"rest/graphdb-settings/license"})},getInfo:function(){return e.get("rest/info/properties")},getVersion:function(t){return e.get("rest/info/version",{headers:{"X-GraphDB-Repository-Location":t}})},getStatistics:function(){return e.get("rest/graphdb-settings/statistics")},toggleStatistics:function(t){return e({method:"POST",url:"rest/graphdb-settings/statistics",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:"enabled="+t})}}}},17:function(e,t,n){"use strict";n.r(t),n.d(t,"md5HashGenerator",(function(){return i}));var r=n(5);const i=()=>{const e=new r.KJUR.crypto.MessageDigest({alg:"md5",prov:"cryptojs"});return t=>e.digestString(t)}},18:function(e,t){angular.module("graphdb.framework.rest.repositories.service",[]).factory("RepositoriesRestService",n),n.$inject=["$http"];function n(e){return{getRepositories:function(t){return e.get("rest/repositories/all",{params:{location:t}})},getRepository:function(t){return e.get("rest/repositories/"+t.id,{params:{location:t.location}})},deleteRepository:function(t){return e.delete("rest/repositories/"+t.id,{params:{location:t.location}})},createRepository:function(t){return e.post("rest/repositories",t)},editRepository:function(t,n){return e.put("rest/repositories/"+t,n)},getRepositoryConfiguration:function(t){return e.get("rest/repositories/default-config/"+t)},getSize:function(t){return e.get(`rest/repositories/${t.id}/size`,{params:{location:t.location}})},getPrefix:function(t,n){return e.post(`rest/repositories/${t}/prefix`,null,{params:n})},getCluster:function(){return e.get("rest/repositories/cluster")},getRepositoryFileContent:function(t){return e.get("rest/repositories/file",{params:{fileLocation:t}})},updateRepositoryFileContent:function(t,n,r){return e.post("rest/repositories/file/update",JSON.stringify(n),{params:{fileLocation:t,location:r}})},validateOntopPropertiesConnection:function(t){return e.post("rest/repositories/ontop/test-connection",t.params.propertiesFile,{params:{location:t.location}})},restartRepository:function(t){return e.post(`rest/repositories/${t.id}/restart`,null,{params:{location:t.location}})},getSupportedDriversData:function(t){return e.get("rest/repositories/ontop/drivers",{params:{location:t.location}})},updatePropertiesFile:function(t,n,r,i){return e.post("rest/repositories/ontop/jdbc-properties",JSON.stringify(n),{params:{fileLocation:t,location:r,driverType:i}})},loadPropertiesFile:function(t,n,r){return e.get("rest/repositories/ontop/jdbc-properties",{params:{fileLocation:t,location:n,driverType:r}})},getRepositoriesFromKnownLocation:function(t){return e.get("rest/repositories?location="+t)},getRepositoryTurtleConfig:function(t){return e.get("rest/repositories/"+t.id,{headers:{Accept:"text/turtle"}})}}}},19:function(e,t,n){"use strict";n.r(t),n.d(t,"convertToBytes",(function(){return s})),n.d(t,"convertToHumanReadable",(function(){return a}));const r={BYTES:1,KB:1024,MB:1048576,GB:1024**3,TB:1024**4,PB:1024**5},i=/^(\d+(?:\.\d+)?)\s*(bytes|KB|MB|GB|TB|PB)$/i,o=/^\d+$/,s=e=>{if(null==e)return 0;if("number"==typeof e)return e;if(e=e.trim(),o.test(e))return parseInt(e,10);const t=e.match(i);if(!t)return 0;const n=parseFloat(t[1]),s=t[2];return n*r[s.toUpperCase()]},a=e=>{if(!angular.isDefined(e))return"0 bytes";if(i.test(e))return e;if("string"==typeof e&&(e=parseFloat(e)),isNaN(e)||e<=0)return"0 bytes";const t=Object.keys(r).reverse();for(const n of t){const t=r[n];if(e>=t){const r=e/t;return`${Number.isInteger(r)?r:r.toFixed(2)} ${n.toLowerCase()}`}}return"0 bytes"}},2:function(e,t,n){"use strict";n.r(t),n.d(t,"GuideUtils",(function(){return r}));const r=function(){const e=function(e,t=1,n=!0){const r=a(e);return new Promise((function(e,i){let o=1e3*t|1e3;const s=setInterval(()=>{try{const t=document.querySelector(r);null!=t?!n||angular.element(t).is(":visible")?(clearInterval(s),setTimeout(()=>{e(angular.element(t))},0)):(o-=100,o<0&&(clearInterval(s),console.log("Element is not visible: "+r),i(new Error("Element is not visible: "+r)))):(o-=100,o<0&&(clearInterval(s),console.log("Element is not found: "+r),i(new Error("Element is not found: "+r))))}catch(e){clearInterval(s),console.log("Error when processing selector: "+r),console.log(e),i(e)}},100)}))},t=function(e){const t=document.querySelector(e);return t&&angular.element(t).is(":visible")},n=function(e,t){return`[guide-selector="${e}"] ${t||""}`},i=(e,t,n,r)=>{const i=e.use();let s;return angular.isObject(n)?(s=n[i],s||(s=n.en),s=t(s)(r)):s=o(e.instant(n,r)),s},o=e=>{const t=document.createElement("div");return t.innerHTML=e,t.innerText},s=e=>angular.element(e).is(":checked"),a=e=>angular.isFunction(e)?e():e;return{GUIDES_LIST_URL:"rest/guides",GUIDES_DOWNLOAD_URL:"rest/guides/download/",waitFor:e,getOrWaiteFor:(t,n=1,r=!0)=>{const i=a(t),o=document.querySelector(i);return null==o||r&&!angular.element(o).is(":visible")?e(t,n,r):Promise.resolve(o)},clickOnElement:function(t){return()=>e(t).then(e=>{e.click()})},clickOnGuideElement:function(e,t){return r.clickOnElement(r.getGuideElementSelector(e,t))},getGuideElementSelector:n,isVisible:t,isGuideElementVisible:function(e){return t(n(e))},awaitAlphaDropD3:function(e,n,r=2,i=.1){return()=>new Promise((function(o){t(e)?o():setTimeout(()=>{let e=1e3*r;const t=setInterval(()=>{n.d3alpha<i?(clearInterval(t),o()):(e-=100,e<0&&(clearInterval(t),o()))},100)},150)}))},graphVizExpandNode:function(e){const t=d3.select(e),n=new CustomEvent("gdb-expand-node",{detail:t.datum()});t.node().dispatchEvent(n)},graphVizShowNodeInfo:function(e){const t=d3.select(e),n=new CustomEvent("gdb-show-node-info",{detail:t.datum()});t.node().dispatchEvent(n)},classHierarchyFocus:function(e){const t=d3.select(e),n=new CustomEvent("gdb-focus",{detail:t.datum()});t.node().dispatchEvent(n)},classHierarchyZoom:function(e){const t=d3.select(e),n=new CustomEvent("gdb-zoom",{detail:t.datum()});t.node().dispatchEvent(n)},validateTextInput:function(e,t,n=!0){const r=$(e).val();return""===r&&n?($(e).val(t),$(e).trigger("change"),!0):r===t},translateLocalMessage:i,unescapeHtml:o,noNextErrorToast:(e,t,n,r,s)=>{e.error(o(i(t,n,r,s)),o(i(t,n,"guide.validate.no-next",s)),{allowHtml:!0})},deferredShow:e=>()=>new Promise((function(t){setTimeout(()=>{t()},e)})),scrollToTop:()=>{window.scrollTo(0,0)},removeWhiteSpaces:e=>e.replace(/\s+/g,""),toResourceDownloadUrl:e=>"rest/guides/download/"+e.resourcePath+"/"+e.resourceFile,getSparqlResultsSelectorForIri:e=>`${r.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR} a[title='${e}']`,getSparqlResultsSelectorForRow:e=>`${r.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR} tbody tr:nth-child(${e})`,isChecked:s,isGuideElementChecked:(e,t)=>s(r.getGuideElementSelector("autocompleteCheckbox",t)),defaultInitPreviousStep:(e,t)=>new Promise((function(n,r){const i=e.ShepherdService.getPreviousStepFromHistory(t);i?i.options.initPreviousStep(e,i.options.id).then(()=>n()).catch(e=>r(e)):n()})),getElementSelector:a,CSS_SELECTORS:{SPARQL_EDITOR_SELECTOR:".tabPanel.active .yasqe .CodeMirror-code",SPARQL_RESULTS_SELECTOR:".tabPanel.active .yasr_results",SPARQL_RESULTS_ROWS_SELECTOR:".tabPanel.active .yasr_results tbody",SPARQL_RUN_BUTTON_SELECTOR:".tabPanel.active .yasqe .yasqe_queryButton"}}}()},20:function(e,t,n){"use strict";n.r(t),n.d(t,"mapBackupAndRestoreResponseToModel",(function(){return o})),n.d(t,"mapSnapshotOptionsResponseToModel",(function(){return s}));var r=n(21),i=n(22);const o=e=>{const t=[],n=new r.BackupAndRestoreInfo;return 0===Object.keys(e).length||(n.id=e.id,n.username=e.username,n.operation=e.operation,n.affectedRepositories=e.affectedRepositories,n.secondsSinceCreated=e.msSinceCreated/1e3,n.snapshotOptions=s(e.snapshotOptions),n.nodePerformingClusterBackup=e.nodePerformingClusterBackup,t.push(n)),t},s=e=>{const t=new i.SnapshotOptionInfo;return t.withRepositoryData=e.withRepositoryData,t.withSystemData=e.withSystemData,t.withClusterData=e.withClusterData,t.cleanDataDir=e.cleanDataDir,t.removeCluster=e.removeCluster,t.repositories=e.repositories,t.replicationTimeoutMs=e.replicationTimeoutMs,t}},21:function(e,t,n){"use strict";n.r(t),n.d(t,"BackupAndRestoreInfo",(function(){return r}));class r{constructor(){this.id=void 0,this.username="",this.operation="",this.affectedRepositories=[],this.secondsSinceCreated=0,this.snapshotOptions=[],this.nodePerformingClusterBackup=""}}},22:function(e,t,n){"use strict";n.r(t),n.d(t,"SnapshotOptionInfo",(function(){return r}));class r{constructor(){this.withRepositoryData=!1,this.withSystemData=!1,this.withClusterData=!1,this.cleanDataDir=!1,this.removeCluster=!1,this.repositories=[],this.replicationTimeoutMs=0}}},23:function(e,t,n){"use strict";n.r(t),n.d(t,"mapActiveOperationResponseToModel",(function(){return u})),n.d(t,"mapActiveOperationToActiveOperationInfoModel",(function(){return c})),n.d(t,"mapImportActiveOperationToActiveOperationInfoModel",(function(){return h})),n.d(t,"mapQueriesActiveOperationToActiveOperationInfoModel",(function(){return p})),n.d(t,"mapBackupAndRestoreActiveOperationToActiveOperationInfoModel",(function(){return d})),n.d(t,"mapClusterActiveOperationToActiveOperationInfoModel",(function(){return f}));var r=n(3),i=n(8),o=n(1),s=n(24),a=n(9);const u=e=>{const t=new s.ActiveOperationsModel;return t.status=e.status,t.operations=l(e.allRunningOperations),t},l=(e=[])=>{const t=[];return e.forEach(e=>t.push(c(e))),t},c=e=>{switch(e.type){case r.OPERATION_TYPE.IMPORTS:return h(e);case r.OPERATION_TYPE.QUERIES:case r.OPERATION_TYPE.UPDATES:return p(e);case r.OPERATION_TYPE.BACKUP_RESTORE:return d(e);case r.OPERATION_TYPE.CLUSTER_STATUS:return f(e)}},h=e=>{const t=new i.ActiveOperationModel;return t.operationGroup=o.OPERATION_GROUP_TYPE.IMPORT_OPERATION,t.runningOperationCount=parseInt(e.value,10),t.status=e.status,t.type=e.type,t.titleLabelKey=e.type,t.monitoringViewUrl=a.OPERATION_MONITORING_CONSTANTS.IMPORT_MONITORING_URL,t},p=e=>{const t=new i.ActiveOperationModel;return t.operationGroup=o.OPERATION_GROUP_TYPE.QUERIES_OPERATION,t.runningOperationCount=parseInt(e.value,10),t.status=e.status,t.type=e.type,t.titleLabelKey=e.type,t.monitoringViewUrl=a.OPERATION_MONITORING_CONSTANTS.QUERIES_MONITORING_URL,t},d=e=>{const t=new i.ActiveOperationModel;return t.operationGroup=o.OPERATION_GROUP_TYPE.BACKUP_AND_RESTORE_OPERATION,t.status=e.status,t.type=e.type,t.titleLabelKey=e.value,t.monitoringViewUrl=a.OPERATION_MONITORING_CONSTANTS.BACKUP_AND_RESTORE_MONITORING_URL,t},f=e=>{const t=new i.ActiveOperationModel;return t.operationGroup=o.OPERATION_GROUP_TYPE.CLUSTER_OPERATION,t.status=e.status,t.type=e.type,t.titleLabelKey=e.value,t.monitoringViewUrl=a.OPERATION_MONITORING_CONSTANTS.CLUSTER_MONITORING_URL,t}},239:function(e,t,n){var r,i,o;i=[n(65)],void 0===(o="function"==typeof(r=function(e){e.module("pageslide-directive",[]).directive("pageslide",["$document","$timeout",function(t,n){return{restrict:"EA",transclude:!1,scope:{psOpen:"=?",psAutoClose:"@",psSide:"@",psSpeed:"@",psClass:"@",psSize:"@",psZindex:"@",psPush:"@",psContainer:"@",psKeyListener:"@",psBodyClass:"@",psClickOutside:"@",onopen:"&?",onclose:"&?"},link:function(r,i,o){var s={};s.side=r.psSide||"right",s.speed=r.psSpeed||"0.5",s.size=r.psSize||"300px",s.zindex=r.psZindex||1e3,s.className=r.psClass||"ng-pageslide",s.push="true"===r.psPush,s.container=r.psContainer||!1,s.keyListener="true"===r.psKeyListener,s.bodyClass=r.psBodyClass||!1,s.clickOutside="false"!==r.psClickOutside,s.autoClose=r.psAutoClose||!1,s.push=s.push&&!s.container,i.addClass(s.className);var a,u,l=!1;function c(e){var t=e.touches&&e.touches[0]||e.target;l&&u.contains(t)&&!a.contains(t)&&(l=!1,r.psOpen=!1,r.$apply()),r.psOpen&&(l=!0)}function h(e){if(s.bodyClass){var t=s.className+"-body",n=new RegExp(t+"-closed|"+t+"-open");u.className=u.className.replace(n,"");var r=t+"-"+e;" "!==u.className[u.className.length-1]?u.className+=" "+r:u.className+=r}}if(u=s.container?document.getElementById(s.container):document.body,"div"!==(a=i[0]).tagName.toLowerCase()&&"pageslide"!==a.tagName.toLowerCase())throw new Error("Pageslide can only be applied to <div> or <pageslide> elements");if(0===a.children.length)throw new Error("You need to have content inside the <pageslide>");function p(){r.psOpen?"function"==typeof r.onopen&&r.onopen()():"function"==typeof r.onclose&&r.onclose()()}function d(e,t){switch(t.side){case"right":case"left":e.style.width=t.size,e.style.height="100%",e.style.top="0px",e.style.bottom="0px";break;case"top":case"bottom":e.style.height=t.size,e.style.width="100%",e.style.left="0px",e.style.right="0px"}r.psOpen?g(e,t):f(e,t)}function f(e,n){switch(n.side){case"right":e.style.right="-"+n.size,n.push&&(u.style.right="0px",u.style.left="0px");break;case"left":e.style.left="-"+n.size,n.push&&(u.style.left="0px",u.style.right="0px");break;case"top":e.style.top="-"+n.size,n.push&&(u.style.top="0px",u.style.bottom="0px");break;case"bottom":e.style.bottom="-"+n.size,n.push&&(u.style.bottom="0px",u.style.top="0px")}n.keyListener&&t.off("keydown",m),n.clickOutside&&t.off("touchend click",c),l=!1,h("closed"),r.psOpen=!1}function g(e,n){switch(n.side){case"right":e.style.right="0px",n.push&&(u.style.right=n.size,u.style.left="-"+n.size);break;case"left":e.style.left="0px",n.push&&(u.style.left=n.size,u.style.right="-"+n.size);break;case"top":e.style.top="0px",n.push&&(u.style.top=n.size,u.style.bottom="-"+n.size);break;case"bottom":e.style.bottom="0px",n.push&&(u.style.bottom=n.size,u.style.top="-"+n.size)}r.psOpen=!0,n.keyListener&&t.on("keydown",m),n.clickOutside&&t.on("touchend click",c),h("open")}function m(e){27===(e.keyCode||e.which)&&(f(a,s),n((function(){r.$apply()})))}e.element(a.children),u.appendChild(a),a.style.zIndex=s.zindex,a.style.position="fixed",a.style.transitionDuration=s.speed+"s",a.style.webkitTransitionDuration=s.speed+"s",a.style.height=s.size,a.style.transitionProperty="top, bottom, left, right",s.push&&(u.style.position="absolute",u.style.transitionDuration=s.speed+"s",u.style.webkitTransitionDuration=s.speed+"s",u.style.transitionProperty="top, bottom, left, right"),s.container&&(a.style.position="absolute",u.style.position="relative",u.style.overflow="hidden"),a.addEventListener("transitionend",p),d(a,s),r.$watch("psOpen",(function(e){e?g(a,s):f(a,s)})),r.$watch("psSize",(function(e,t){t!==e&&(s.size=e,d(a,s))})),r.$on("$destroy",(function(){a.parentNode===u&&(s.clickOutside&&t.off("touchend click",c),u.removeChild(a)),a.removeEventListener("transitionend",p)})),s.autoClose&&(r.$on("$locationChangeStart",(function(){f(a,s)})),r.$on("$stateChangeStart",(function(){f(a,s)})))}}}])})?r.apply(t,i):r)||(e.exports=o)},24:function(e,t,n){"use strict";n.r(t),n.d(t,"ActiveOperationsModel",(function(){return o}));var r=n(4),i=n(1);class o{constructor(){this.operations=[],this.status=r.OPERATION_STATUS.INFORMATION}hasClusterOperation(){return!!this.operations&&this.operations.some(e=>i.OPERATION_GROUP_TYPE.CLUSTER_OPERATION===e.operationGroup)}}},247:function(e,t,n){"use strict";(function(e){
|
|
3
3
|
/*!
|
|
4
4
|
* The buffer module from node.js, for the browser.
|
|
@@ -14,7 +14,7 @@ var r=n(366),i=n(367),o=n(368);function s(){return u.TYPED_ARRAY_SUPPORT?2147483
|
|
|
14
14
|
* Released under MIT license <https://lodash.com/license>
|
|
15
15
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
16
16
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
17
|
-
*/(function(){var o="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",h="[object Date]",p="[object Error]",d="[object Function]",f="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Object]",y="[object RegExp]",b="[object Set]",$="[object String]",w="[object Symbol]",x="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",F="[object Int8Array]",T="[object Int16Array]",D="[object Int32Array]",R="[object Uint8Array]",k="[object Uint16Array]",I="[object Uint32Array]",P=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,N=RegExp(j.source),M=RegExp(L.source),B=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,G=RegExp(K.source),W=/^\s+/,Y=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,Z=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,he=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="[\\ud800-\\udfff]",ge="["+de+"]",me="["+pe+"]",ve="\\d+",ye="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",$e="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",xe="[^\\ud800-\\udfff]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ce="(?:"+be+"|"+$e+")",Fe="(?:"+Ae+"|"+$e+")",Te="(?:"+me+"|"+we+")"+"?",De="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[xe,Se,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),Re="(?:"+[ye,Se,Ee].join("|")+")"+De,ke="(?:"+[xe+me+"?",me,Se,Ee,fe].join("|")+")",Ie=RegExp("['’]","g"),Pe=RegExp(me,"g"),Oe=RegExp(we+"(?="+we+")|"+ke+De,"g"),_e=RegExp([Ae+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,Ae,"$"].join("|")+")",Fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,Ae+Ce,"$"].join("|")+")",Ae+"?"+Ce+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Re].join("|"),"g"),je=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Me=-1,Be={};Be[A]=Be[C]=Be[F]=Be[T]=Be[D]=Be[R]=Be["[object Uint8ClampedArray]"]=Be[k]=Be[I]=!0,Be[u]=Be[l]=Be[S]=Be[c]=Be[E]=Be[h]=Be[p]=Be[d]=Be[g]=Be[m]=Be[v]=Be[y]=Be[b]=Be[$]=Be[x]=!1;var He={};He[u]=He[l]=He[S]=He[E]=He[c]=He[h]=He[A]=He[C]=He[F]=He[T]=He[D]=He[g]=He[m]=He[v]=He[y]=He[b]=He[$]=He[w]=He[R]=He["[object Uint8ClampedArray]"]=He[k]=He[I]=!0,He[p]=He[d]=He[x]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,qe=parseInt,ze="object"==typeof e&&e&&e.Object===Object&&e,Ke="object"==typeof self&&self&&self.Object===Object&&self,Ge=ze||Ke||Function("return this")(),We=t&&!t.nodeType&&t,Ye=We&&"object"==typeof r&&r&&!r.nodeType&&r,Xe=Ye&&Ye.exports===We,Je=Xe&&ze.process,Qe=function(){try{var e=Ye&&Ye.require&&Ye.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Ze=Qe&&Qe.isArrayBuffer,et=Qe&&Qe.isDate,tt=Qe&&Qe.isMap,nt=Qe&&Qe.isRegExp,rt=Qe&&Qe.isSet,it=Qe&&Qe.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function st(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ct(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function ht(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function ft(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function gt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function vt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var yt=At("length");function bt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function $t(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):$t(e,St,n)}function xt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function St(e){return e!=e}function Et(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function At(e){return function(t){return null==t?void 0:t[e]}}function Ct(e){return function(t){return null==e?void 0:e[t]}}function Ft(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Tt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Dt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Rt(e){return e?e.slice(0,Wt(e)+1).replace(W,""):e}function kt(e){return function(t){return e(t)}}function It(e,t){return dt(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function _t(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function jt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Ct({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Nt=Ct({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mt(e){return"\\"+Ue[e]}function Bt(e){return je.test(e)}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function zt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Kt(e){return Bt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):yt(e)}function Gt(e){return Bt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}function Wt(e){for(var t=e.length;t--&&Y.test(e.charAt(t)););return t}var Yt=Ct({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Xt=function e(t){var n,r=(t=null==t?Ge:Xt.defaults(Ge.Object(),t,Xt.pick(Ge,Ne))).Array,i=t.Date,Y=t.Error,pe=t.Function,de=t.Math,fe=t.Object,ge=t.RegExp,me=t.String,ve=t.TypeError,ye=r.prototype,be=pe.prototype,$e=fe.prototype,we=t["__core-js_shared__"],xe=be.toString,Se=$e.hasOwnProperty,Ee=0,Ae=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ce=$e.toString,Fe=xe.call(fe),Te=Ge._,De=ge("^"+xe.call(Se).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=Xe?t.Buffer:void 0,ke=t.Symbol,Oe=t.Uint8Array,je=Re?Re.allocUnsafe:void 0,Ue=Ut(fe.getPrototypeOf,fe),ze=fe.create,Ke=$e.propertyIsEnumerable,We=ye.splice,Ye=ke?ke.isConcatSpreadable:void 0,Je=ke?ke.iterator:void 0,Qe=ke?ke.toStringTag:void 0,yt=function(){try{var e=eo(fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ct=t.clearTimeout!==Ge.clearTimeout&&t.clearTimeout,Jt=i&&i.now!==Ge.Date.now&&i.now,Qt=t.setTimeout!==Ge.setTimeout&&t.setTimeout,Zt=de.ceil,en=de.floor,tn=fe.getOwnPropertySymbols,nn=Re?Re.isBuffer:void 0,rn=t.isFinite,on=ye.join,sn=Ut(fe.keys,fe),an=de.max,un=de.min,ln=i.now,cn=t.parseInt,hn=de.random,pn=ye.reverse,dn=eo(t,"DataView"),fn=eo(t,"Map"),gn=eo(t,"Promise"),mn=eo(t,"Set"),vn=eo(t,"WeakMap"),yn=eo(fe,"create"),bn=vn&&new vn,$n={},wn=To(dn),xn=To(fn),Sn=To(gn),En=To(mn),An=To(vn),Cn=ke?ke.prototype:void 0,Fn=Cn?Cn.valueOf:void 0,Tn=Cn?Cn.toString:void 0;function Dn(e){if(zs(e)&&!Os(e)&&!(e instanceof Pn)){if(e instanceof In)return e;if(Se.call(e,"__wrapped__"))return Do(e)}return new In(e)}var Rn=function(){function e(){}return function(t){if(!qs(t))return{};if(ze)return ze(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function kn(){}function In(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Pn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new jn;++t<n;)this.add(e[t])}function Nn(e){var t=this.__data__=new _n(e);this.size=t.size}function Mn(e,t){var n=Os(e),r=!n&&Ps(e),i=!n&&!r&&Ns(e),o=!n&&!r&&!i&&Zs(e),s=n||r||i||o,a=s?Dt(e.length,me):[],u=a.length;for(var l in e)!t&&!Se.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ao(l,u))||a.push(l);return a}function Bn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Hn(e,t){return Ao(yi(e),Xn(t,0,e.length))}function Un(e){return Ao(yi(e))}function Vn(e,t,n){(void 0!==n&&!Rs(e[t],n)||void 0===n&&!(t in e))&&Wn(e,t,n)}function qn(e,t,n){var r=e[t];Se.call(e,t)&&Rs(r,n)&&(void 0!==n||t in e)||Wn(e,t,n)}function zn(e,t){for(var n=e.length;n--;)if(Rs(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return tr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Gn(e,t){return e&&bi(t,wa(t),e)}function Wn(e,t,n){"__proto__"==t&&yt?yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Yn(e,t){for(var n=-1,i=t.length,o=r(i),s=null==e;++n<i;)o[n]=s?void 0:ma(e,t[n]);return o}function Xn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,o){var s,a=1&t,l=2&t,p=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),void 0!==s)return s;if(!qs(e))return e;var x=Os(e);if(x){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!a)return yi(e,s)}else{var P=ro(e),O=P==d||P==f;if(Ns(e))return pi(e,a);if(P==v||P==u||O&&!i){if(s=l||O?{}:oo(e),!a)return l?function(e,t){return bi(e,no(e),t)}(e,function(e,t){return e&&bi(t,xa(t),e)}(s,e)):function(e,t){return bi(e,to(e),t)}(e,Gn(s,e))}else{if(!He[P])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case S:return di(e);case c:case h:return new r(+e);case E:return function(e,t){var n=t?di(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case C:case F:case T:case D:case R:case"[object Uint8ClampedArray]":case k:case I:return fi(e,n);case g:return new r;case m:case $:return new r(e);case y:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case w:return i=e,Fn?fe(Fn.call(i)):{}}var i}(e,P,a)}}o||(o=new Nn);var _=o.get(e);if(_)return _;o.set(e,s),Xs(e)?e.forEach((function(r){s.add(Jn(r,t,n,r,e,o))})):Ks(e)&&e.forEach((function(r,i){s.set(i,Jn(r,t,n,i,e,o))}));var j=x?void 0:(p?l?Gi:Ki:l?xa:wa)(e);return at(j||e,(function(r,i){j&&(r=e[i=r]),qn(s,i,Jn(r,t,n,i,e,o))})),s}function Qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=fe(e);r--;){var i=n[r],o=t[i],s=e[i];if(void 0===s&&!(i in e)||!o(s))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ve(o);return wo((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var i=-1,o=ht,s=!0,a=e.length,u=[],l=t.length;if(!a)return u;n&&(t=dt(t,kt(n))),r?(o=pt,s=!1):t.length>=200&&(o=Pt,s=!1,t=new Ln(t));e:for(;++i<a;){var c=e[i],h=null==n?c:n(c);if(c=r||0!==c?c:0,s&&h==h){for(var p=l;p--;)if(t[p]===h)continue e;u.push(c)}else o(t,h,r)||u.push(c)}return u}Dn.templateSettings={escape:B,evaluate:H,interpolate:U,variable:"",imports:{_:Dn}},Dn.prototype=kn.prototype,Dn.prototype.constructor=Dn,In.prototype=Rn(kn.prototype),In.prototype.constructor=In,Pn.prototype=Rn(kn.prototype),Pn.prototype.constructor=Pn,On.prototype.clear=function(){this.__data__=yn?yn(null):{},this.size=0},On.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},On.prototype.get=function(e){var t=this.__data__;if(yn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},On.prototype.has=function(e){var t=this.__data__;return yn?void 0!==t[e]:Se.call(t,e)},On.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yn&&void 0===t?"__lodash_hash_undefined__":t,this},_n.prototype.clear=function(){this.__data__=[],this.size=0},_n.prototype.delete=function(e){var t=this.__data__,n=zn(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},_n.prototype.get=function(e){var t=this.__data__,n=zn(t,e);return n<0?void 0:t[n][1]},_n.prototype.has=function(e){return zn(this.__data__,e)>-1},_n.prototype.set=function(e,t){var n=this.__data__,r=zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},jn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(fn||_n),string:new On}},jn.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},jn.prototype.get=function(e){return Qi(this,e).get(e)},jn.prototype.has=function(e){return Qi(this,e).has(e)},jn.prototype.set=function(e,t){var n=Qi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Nn.prototype.clear=function(){this.__data__=new _n,this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Nn.prototype.get=function(e){return this.__data__.get(e)},Nn.prototype.has=function(e){return this.__data__.has(e)},Nn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof _n){var r=n.__data__;if(!fn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new jn(r)}return n.set(e,t),this.size=n.size,this};var tr=xi(lr),nr=xi(cr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],s=t(o);if(null!=s&&(void 0===a?s==s&&!Qs(s):n(s,a)))var a=s,u=o}return u}function or(e,t){var n=[];return tr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function sr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=so),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?sr(a,t-1,n,r,i):ft(i,a):r||(i[i.length]=a)}return i}var ar=Si(),ur=Si(!0);function lr(e,t){return e&&ar(e,t,wa)}function cr(e,t){return e&&ur(e,t,wa)}function hr(e,t){return ct(t,(function(t){return Hs(e[t])}))}function pr(e,t){for(var n=0,r=(t=ui(t,e)).length;null!=e&&n<r;)e=e[Fo(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Os(e)?r:ft(r,n(e))}function fr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Qe&&Qe in fe(e)?function(e){var t=Se.call(e,Qe),n=e[Qe];try{e[Qe]=void 0;var r=!0}catch(e){}var i=Ce.call(e);r&&(t?e[Qe]=n:delete e[Qe]);return i}(e):function(e){return Ce.call(e)}(e)}function gr(e,t){return e>t}function mr(e,t){return null!=e&&Se.call(e,t)}function vr(e,t){return null!=e&&t in fe(e)}function yr(e,t,n){for(var i=n?pt:ht,o=e[0].length,s=e.length,a=s,u=r(s),l=1/0,c=[];a--;){var h=e[a];a&&t&&(h=dt(h,kt(t))),l=un(h.length,l),u[a]=!n&&(t||o>=120&&h.length>=120)?new Ln(a&&h):void 0}h=e[0];var p=-1,d=u[0];e:for(;++p<o&&c.length<l;){var f=h[p],g=t?t(f):f;if(f=n||0!==f?f:0,!(d?Pt(d,g):i(c,g,n))){for(a=s;--a;){var m=u[a];if(!(m?Pt(m,g):i(e[a],g,n)))continue e}d&&d.push(g),c.push(f)}}return c}function br(e,t,n){var r=null==(e=vo(e,t=ui(t,e)))?e:e[Fo(Bo(t))];return null==r?void 0:ot(r,e,n)}function $r(e){return zs(e)&&fr(e)==u}function wr(e,t,n,r,i){return e===t||(null==e||null==t||!zs(e)&&!zs(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var s=Os(e),a=Os(t),d=s?l:ro(e),f=a?l:ro(t),x=(d=d==u?v:d)==v,A=(f=f==u?v:f)==v,C=d==f;if(C&&Ns(e)){if(!Ns(t))return!1;s=!0,x=!1}if(C&&!x)return o||(o=new Nn),s||Zs(e)?qi(e,t,n,r,i,o):function(e,t,n,r,i,o,s){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!o(new Oe(e),new Oe(t)));case c:case h:case m:return Rs(+e,+t);case p:return e.name==t.name&&e.message==t.message;case y:case $:return e==t+"";case g:var a=Ht;case b:var u=1&r;if(a||(a=qt),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var d=qi(a(e),a(t),r,i,o,s);return s.delete(e),d;case w:if(Fn)return Fn.call(e)==Fn.call(t)}return!1}(e,t,d,n,r,i,o);if(!(1&n)){var F=x&&Se.call(e,"__wrapped__"),T=A&&Se.call(t,"__wrapped__");if(F||T){var D=F?e.value():e,R=T?t.value():t;return o||(o=new Nn),i(D,R,n,r,o)}}if(!C)return!1;return o||(o=new Nn),function(e,t,n,r,i,o){var s=1&n,a=Ki(e),u=a.length,l=Ki(t).length;if(u!=l&&!s)return!1;var c=u;for(;c--;){var h=a[c];if(!(s?h in t:Se.call(t,h)))return!1}var p=o.get(e),d=o.get(t);if(p&&d)return p==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);var g=s;for(;++c<u;){h=a[c];var m=e[h],v=t[h];if(r)var y=s?r(v,m,h,t,e,o):r(m,v,h,e,t,o);if(!(void 0===y?m===v||i(m,v,n,r,o):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=e.constructor,$=t.constructor;b==$||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof $&&$ instanceof $||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,o)}(e,t,n,r,wr,i))}function xr(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=fe(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var u=(a=n[i])[0],l=e[u],c=a[1];if(s&&a[2]){if(void 0===l&&!(u in e))return!1}else{var h=new Nn;if(r)var p=r(l,c,u,e,t,h);if(!(void 0===p?wr(c,l,3,r,h):p))return!1}}return!0}function Sr(e){return!(!qs(e)||(t=e,Ae&&Ae in t))&&(Hs(e)?De:se).test(To(e));var t}function Er(e){return"function"==typeof e?e:null==e?Ga:"object"==typeof e?Os(e)?Rr(e[0],e[1]):Dr(e):nu(e)}function Ar(e){if(!po(e))return sn(e);var t=[];for(var n in fe(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Cr(e){if(!qs(e))return function(e){var t=[];if(null!=e)for(var n in fe(e))t.push(n);return t}(e);var t=po(e),n=[];for(var r in e)("constructor"!=r||!t&&Se.call(e,r))&&n.push(r);return n}function Fr(e,t){return e<t}function Tr(e,t){var n=-1,i=js(e)?r(e.length):[];return tr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Dr(e){var t=Zi(e);return 1==t.length&&t[0][2]?go(t[0][0],t[0][1]):function(n){return n===e||xr(n,e,t)}}function Rr(e,t){return lo(e)&&fo(t)?go(Fo(e),t):function(n){var r=ma(n,e);return void 0===r&&r===t?va(n,e):wr(t,r,3)}}function kr(e,t,n,r,i){e!==t&&ar(t,(function(o,s){if(i||(i=new Nn),qs(o))!function(e,t,n,r,i,o,s){var a=bo(e,n),u=bo(t,n),l=s.get(u);if(l)return void Vn(e,n,l);var c=o?o(a,u,n+"",e,t,s):void 0,h=void 0===c;if(h){var p=Os(u),d=!p&&Ns(u),f=!p&&!d&&Zs(u);c=u,p||d||f?Os(a)?c=a:Ls(a)?c=yi(a):d?(h=!1,c=pi(u,!0)):f?(h=!1,c=fi(u,!0)):c=[]:Ws(u)||Ps(u)?(c=a,Ps(a)?c=aa(a):qs(a)&&!Hs(a)||(c=oo(u))):h=!1}h&&(s.set(u,c),i(c,u,r,o,s),s.delete(u));Vn(e,n,c)}(e,t,s,n,kr,r,i);else{var a=r?r(bo(e,s),o,s+"",e,t,i):void 0;void 0===a&&(a=o),Vn(e,s,a)}}),xa)}function Ir(e,t){var n=e.length;if(n)return ao(t+=t<0?n:0,n)?e[t]:void 0}function Pr(e,t,n){t=t.length?dt(t,(function(e){return Os(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Ga];var r=-1;return t=dt(t,kt(Ji())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Tr(e,(function(e,n,i){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;for(;++r<s;){var u=gi(i[r],o[r]);if(u){if(r>=a)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=pr(e,s);n(a,s)&&Ur(o,ui(s,e),a)}return o}function _r(e,t,n,r){var i=r?xt:wt,o=-1,s=t.length,a=e;for(e===t&&(t=yi(t)),n&&(a=dt(e,kt(n)));++o<s;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(a,c,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function jr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ao(i)?We.call(e,i,1):ei(e,i)}}return e}function Lr(e,t){return e+en(hn()*(t-e+1))}function Nr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Mr(e,t){return xo(mo(e,t,Ga),e+"")}function Br(e){return Bn(Ra(e))}function Hr(e,t){var n=Ra(e);return Ao(n,Xn(t,0,n.length))}function Ur(e,t,n,r){if(!qs(e))return e;for(var i=-1,o=(t=ui(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var u=Fo(t[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var c=a[u];void 0===(l=r?r(c,u,a):void 0)&&(l=qs(c)?c:ao(t[i+1])?[]:{})}qn(a,u,l),a=a[u]}return e}var Vr=bn?function(e,t){return bn.set(e,t),e}:Ga,qr=yt?function(e,t){return yt(e,"toString",{configurable:!0,enumerable:!1,value:qa(t),writable:!0})}:Ga;function zr(e){return Ao(Ra(e))}function Kr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function Gr(e,t){var n;return tr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Wr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!Qs(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return Yr(e,t,Ga,n)}function Yr(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,a=null===t,u=Qs(t),l=void 0===t;i<o;){var c=en((i+o)/2),h=n(e[c]),p=void 0!==h,d=null===h,f=h==h,g=Qs(h);if(s)var m=r||f;else m=l?f&&(r||p):a?f&&p&&(r||!d):u?f&&p&&!d&&(r||!g):!d&&!g&&(r?h<=t:h<t);m?i=c+1:o=c}return un(o,4294967294)}function Xr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Rs(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function Jr(e){return"number"==typeof e?e:Qs(e)?NaN:+e}function Qr(e){if("string"==typeof e)return e;if(Os(e))return dt(e,Qr)+"";if(Qs(e))return Tn?Tn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,i=ht,o=e.length,s=!0,a=[],u=a;if(n)s=!1,i=pt;else if(o>=200){var l=t?null:Ni(e);if(l)return qt(l);s=!1,i=Pt,u=new Ln}else u=t?[]:a;e:for(;++r<o;){var c=e[r],h=t?t(c):c;if(c=n||0!==c?c:0,s&&h==h){for(var p=u.length;p--;)if(u[p]===h)continue e;t&&u.push(h),a.push(c)}else i(u,h,n)||(u!==a&&u.push(h),a.push(c))}return a}function ei(e,t){return null==(e=vo(e,t=ui(t,e)))||delete e[Fo(Bo(t))]}function ti(e,t,n,r){return Ur(e,t,n(pr(e,t)),r)}function ni(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kr(e,r?0:o,r?o+1:i):Kr(e,r?o+1:0,r?i:o)}function ri(e,t){var n=e;return n instanceof Pn&&(n=n.value()),gt(t,(function(e,t){return t.func.apply(t.thisArg,ft([e],t.args))}),n)}function ii(e,t,n){var i=e.length;if(i<2)return i?Zr(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],u=-1;++u<i;)u!=o&&(s[o]=er(s[o]||a,e[u],t,n));return Zr(sr(s,1),t,n)}function oi(e,t,n){for(var r=-1,i=e.length,o=t.length,s={};++r<i;){var a=r<o?t[r]:void 0;n(s,e[r],a)}return s}function si(e){return Ls(e)?e:[]}function ai(e){return"function"==typeof e?e:Ga}function ui(e,t){return Os(e)?e:lo(e,t)?[e]:Co(ua(e))}var li=Mr;function ci(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var hi=Ct||function(e){return Ge.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var n=e.length,r=je?je(n):new e.constructor(n);return e.copy(r),r}function di(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function fi(e,t){var n=t?di(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function gi(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Qs(e),s=void 0!==t,a=null===t,u=t==t,l=Qs(t);if(!a&&!l&&!o&&e>t||o&&s&&u&&!a&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function mi(e,t,n,i){for(var o=-1,s=e.length,a=n.length,u=-1,l=t.length,c=an(s-a,0),h=r(l+c),p=!i;++u<l;)h[u]=t[u];for(;++o<a;)(p||o<s)&&(h[n[o]]=e[o]);for(;c--;)h[u++]=e[o++];return h}function vi(e,t,n,i){for(var o=-1,s=e.length,a=-1,u=n.length,l=-1,c=t.length,h=an(s-u,0),p=r(h+c),d=!i;++o<h;)p[o]=e[o];for(var f=o;++l<c;)p[f+l]=t[l];for(;++a<u;)(d||o<s)&&(p[f+n[a]]=e[o++]);return p}function yi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function bi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],u=r?r(n[a],e[a],a,n,e):void 0;void 0===u&&(u=e[a]),i?Wn(n,a,u):qn(n,a,u)}return n}function $i(e,t){return function(n,r){var i=Os(n)?st:Kn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function wi(e){return Mr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,s&&uo(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=fe(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t}))}function xi(e,t){return function(n,r){if(null==n)return n;if(!js(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=fe(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Si(e){return function(t,n,r){for(var i=-1,o=fe(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Ei(e){return function(t){var n=Bt(t=ua(t))?Gt(t):void 0,r=n?n[0]:t.charAt(0),i=n?ci(n,1).join(""):t.slice(1);return r[e]()+i}}function Ai(e){return function(t){return gt(Ha(Pa(t).replace(Ie,"")),e,"")}}function Ci(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Rn(e.prototype),r=e.apply(n,t);return qs(r)?r:n}}function Fi(e){return function(t,n,r){var i=fe(t);if(!js(t)){var o=Ji(n,3);t=wa(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:void 0}}function Ti(e){return zi((function(t){var n=t.length,r=n,i=In.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new ve(o);if(i&&!a&&"wrapper"==Yi(s))var a=new In([],!0)}for(r=a?r:n;++r<n;){var u=Yi(s=t[r]),l="wrapper"==u?Wi(s):void 0;a=l&&co(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Yi(l[0])].apply(a,l[3]):1==s.length&&co(s)?a[u]():a.thru(s)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Os(r))return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Di(e,t,n,i,o,s,a,u,l,c){var h=128&t,p=1&t,d=2&t,f=24&t,g=512&t,m=d?void 0:Ci(e);return function v(){for(var y=arguments.length,b=r(y),$=y;$--;)b[$]=arguments[$];if(f)var w=Xi(v),x=jt(b,w);if(i&&(b=mi(b,i,o,f)),s&&(b=vi(b,s,a,f)),y-=x,f&&y<c){var S=Vt(b,w);return ji(e,t,Di,v.placeholder,n,b,S,u,l,c-y)}var E=p?n:this,A=d?E[e]:e;return y=b.length,u?b=yo(b,u):g&&y>1&&b.reverse(),h&&l<y&&(b.length=l),this&&this!==Ge&&this instanceof v&&(A=m||Ci(A)),A.apply(E,b)}}function Ri(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function ki(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Ii(e){return zi((function(t){return t=dt(t,kt(Ji())),Mr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Pi(e,t){var n=(t=void 0===t?" ":Qr(t)).length;if(n<2)return n?Nr(t,e):t;var r=Nr(t,Zt(e/Kt(t)));return Bt(t)?ci(Gt(r),0,e).join(""):r.slice(0,e)}function Oi(e){return function(t,n,i){return i&&"number"!=typeof i&&uo(t,n,i)&&(n=i=void 0),t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n,i){for(var o=-1,s=an(Zt((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,i=void 0===i?t<n?1:-1:ra(i),e)}}function _i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=sa(t),n=sa(n)),e(t,n)}}function ji(e,t,n,r,i,o,s,a,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var h=[e,t,i,c?o:void 0,c?s:void 0,c?void 0:o,c?void 0:s,a,u,l],p=n.apply(void 0,h);return co(e)&&$o(p,h),p.placeholder=r,So(p,e,t)}function Li(e){var t=de[e];return function(e,n){if(e=sa(e),(n=null==n?0:un(ia(n),292))&&rn(e)){var r=(ua(e)+"e").split("e");return+((r=(ua(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ni=mn&&1/qt(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Qa;function Mi(e){return function(t){var n=ro(t);return n==g?Ht(t):n==b?zt(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Bi(e,t,n,i,a,u,l,c){var h=2&t;if(!h&&"function"!=typeof e)throw new ve(o);var p=i?i.length:0;if(p||(t&=-97,i=a=void 0),l=void 0===l?l:an(ia(l),0),c=void 0===c?c:ia(c),p-=a?a.length:0,64&t){var d=i,f=a;i=a=void 0}var g=h?void 0:Wi(e),m=[e,t,n,i,a,d,f,u,l,c];if(g&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?mi(l,u,t[4]):u,e[4]=l?Vt(e[3],s):t[4]}(u=t[5])&&(l=e[5],e[5]=l?vi(l,u,t[6]):u,e[6]=l?Vt(e[5],s):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:un(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(m,g),e=m[0],t=m[1],n=m[2],i=m[3],a=m[4],!(c=m[9]=void 0===m[9]?h?0:e.length:an(m[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var i=Ci(e);return function o(){for(var s=arguments.length,a=r(s),u=s,l=Xi(o);u--;)a[u]=arguments[u];var c=s<3&&a[0]!==l&&a[s-1]!==l?[]:Vt(a,l);if((s-=c.length)<n)return ji(e,t,Di,o.placeholder,void 0,a,c,void 0,void 0,n-s);var h=this&&this!==Ge&&this instanceof o?i:e;return ot(h,this,a)}}(e,t,c):32!=t&&33!=t||a.length?Di.apply(void 0,m):function(e,t,n,i){var o=1&t,s=Ci(e);return function t(){for(var a=-1,u=arguments.length,l=-1,c=i.length,h=r(c+u),p=this&&this!==Ge&&this instanceof t?s:e;++l<c;)h[l]=i[l];for(;u--;)h[l++]=arguments[++a];return ot(p,o?n:this,h)}}(e,t,n,i);else var v=function(e,t,n){var r=1&t,i=Ci(e);return function t(){var o=this&&this!==Ge&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,n);return So((g?Vr:$o)(v,m),e,t)}function Hi(e,t,n,r){return void 0===e||Rs(e,$e[n])&&!Se.call(r,n)?t:e}function Ui(e,t,n,r,i,o){return qs(e)&&qs(t)&&(o.set(t,e),kr(e,t,void 0,Ui,o),o.delete(t)),e}function Vi(e){return Ws(e)?void 0:e}function qi(e,t,n,r,i,o){var s=1&n,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var h=-1,p=!0,d=2&n?new Ln:void 0;for(o.set(e,t),o.set(t,e);++h<a;){var f=e[h],g=t[h];if(r)var m=s?r(g,f,h,t,e,o):r(f,g,h,e,t,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!vt(t,(function(e,t){if(!Pt(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){p=!1;break}}else if(f!==g&&!i(f,g,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function zi(e){return xo(mo(e,void 0,_o),e+"")}function Ki(e){return dr(e,wa,to)}function Gi(e){return dr(e,xa,no)}var Wi=bn?function(e){return bn.get(e)}:Qa;function Yi(e){for(var t=e.name+"",n=$n[t],r=Se.call($n,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Xi(e){return(Se.call(Dn,"placeholder")?Dn:e).placeholder}function Ji(){var e=Dn.iteratee||Wa;return e=e===Wa?Er:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Zi(e){for(var t=wa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,fo(i)]}return t}function eo(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Sr(n)?n:void 0}var to=tn?function(e){return null==e?[]:(e=fe(e),ct(tn(e),(function(t){return Ke.call(e,t)})))}:ou,no=tn?function(e){for(var t=[];e;)ft(t,to(e)),e=Ue(e);return t}:ou,ro=fr;function io(e,t,n){for(var r=-1,i=(t=ui(t,e)).length,o=!1;++r<i;){var s=Fo(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Vs(i)&&ao(s,i)&&(Os(e)||Ps(e))}function oo(e){return"function"!=typeof e.constructor||po(e)?{}:Rn(Ue(e))}function so(e){return Os(e)||Ps(e)||!!(Ye&&e&&e[Ye])}function ao(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function uo(e,t,n){if(!qs(n))return!1;var r=typeof t;return!!("number"==r?js(n)&&ao(t,n.length):"string"==r&&t in n)&&Rs(n[t],e)}function lo(e,t){if(Os(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qs(e))||(q.test(e)||!V.test(e)||null!=t&&e in fe(t))}function co(e){var t=Yi(e),n=Dn[t];if("function"!=typeof n||!(t in Pn.prototype))return!1;if(e===n)return!0;var r=Wi(n);return!!r&&e===r[0]}(dn&&ro(new dn(new ArrayBuffer(1)))!=E||fn&&ro(new fn)!=g||gn&&"[object Promise]"!=ro(gn.resolve())||mn&&ro(new mn)!=b||vn&&ro(new vn)!=x)&&(ro=function(e){var t=fr(e),n=t==v?e.constructor:void 0,r=n?To(n):"";if(r)switch(r){case wn:return E;case xn:return g;case Sn:return"[object Promise]";case En:return b;case An:return x}return t});var ho=we?Hs:su;function po(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$e)}function fo(e){return e==e&&!qs(e)}function go(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in fe(n)))}}function mo(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=an(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(a),ot(e,this,u)}}function vo(e,t){return t.length<2?e:pr(e,Kr(t,0,-1))}function yo(e,t){for(var n=e.length,r=un(t.length,n),i=yi(e);r--;){var o=t[r];e[r]=ao(o,n)?i[o]:void 0}return e}function bo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var $o=Eo(Vr),wo=Qt||function(e,t){return Ge.setTimeout(e,t)},xo=Eo(qr);function So(e,t,n){var r=t+"";return xo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ht(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Q):[]}(r),n)))}function Eo(e){var t=0,n=0;return function(){var r=ln(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ao(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Lr(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var Co=function(e){var t=Es(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(z,(function(e,n,r,i){t.push(r?i.replace(te,"$1"):n||e)})),t}));function Fo(e){if("string"==typeof e||Qs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function To(e){if(null!=e){try{return xe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Do(e){if(e instanceof Pn)return e.clone();var t=new In(e.__wrapped__,e.__chain__);return t.__actions__=yi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ro=Mr((function(e,t){return Ls(e)?er(e,sr(t,1,Ls,!0)):[]})),ko=Mr((function(e,t){var n=Bo(t);return Ls(n)&&(n=void 0),Ls(e)?er(e,sr(t,1,Ls,!0),Ji(n,2)):[]})),Io=Mr((function(e,t){var n=Bo(t);return Ls(n)&&(n=void 0),Ls(e)?er(e,sr(t,1,Ls,!0),void 0,n):[]}));function Po(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),$t(e,Ji(t,3),i)}function Oo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ia(n),i=n<0?an(r+i,0):un(i,r-1)),$t(e,Ji(t,3),i,!0)}function _o(e){return(null==e?0:e.length)?sr(e,1):[]}function jo(e){return e&&e.length?e[0]:void 0}var Lo=Mr((function(e){var t=dt(e,si);return t.length&&t[0]===e[0]?yr(t):[]})),No=Mr((function(e){var t=Bo(e),n=dt(e,si);return t===Bo(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?yr(n,Ji(t,2)):[]})),Mo=Mr((function(e){var t=Bo(e),n=dt(e,si);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?yr(n,void 0,t):[]}));function Bo(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ho=Mr(Uo);function Uo(e,t){return e&&e.length&&t&&t.length?_r(e,t):e}var Vo=zi((function(e,t){var n=null==e?0:e.length,r=Yn(e,t);return jr(e,dt(t,(function(e){return ao(e,n)?+e:e})).sort(gi)),r}));function qo(e){return null==e?e:pn.call(e)}var zo=Mr((function(e){return Zr(sr(e,1,Ls,!0))})),Ko=Mr((function(e){var t=Bo(e);return Ls(t)&&(t=void 0),Zr(sr(e,1,Ls,!0),Ji(t,2))})),Go=Mr((function(e){var t=Bo(e);return t="function"==typeof t?t:void 0,Zr(sr(e,1,Ls,!0),void 0,t)}));function Wo(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(Ls(e))return t=an(e.length,t),!0})),Dt(t,(function(t){return dt(e,At(t))}))}function Yo(e,t){if(!e||!e.length)return[];var n=Wo(e);return null==t?n:dt(n,(function(e){return ot(t,void 0,e)}))}var Xo=Mr((function(e,t){return Ls(e)?er(e,t):[]})),Jo=Mr((function(e){return ii(ct(e,Ls))})),Qo=Mr((function(e){var t=Bo(e);return Ls(t)&&(t=void 0),ii(ct(e,Ls),Ji(t,2))})),Zo=Mr((function(e){var t=Bo(e);return t="function"==typeof t?t:void 0,ii(ct(e,Ls),void 0,t)})),es=Mr(Wo);var ts=Mr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Yo(e,n)}));function ns(e){var t=Dn(e);return t.__chain__=!0,t}function rs(e,t){return t(e)}var is=zi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Yn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pn&&ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:rs,args:[i],thisArg:void 0}),new In(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var os=$i((function(e,t,n){Se.call(e,n)?++e[n]:Wn(e,n,1)}));var ss=Fi(Po),as=Fi(Oo);function us(e,t){return(Os(e)?at:tr)(e,Ji(t,3))}function ls(e,t){return(Os(e)?ut:nr)(e,Ji(t,3))}var cs=$i((function(e,t,n){Se.call(e,n)?e[n].push(t):Wn(e,n,[t])}));var hs=Mr((function(e,t,n){var i=-1,o="function"==typeof t,s=js(e)?r(e.length):[];return tr(e,(function(e){s[++i]=o?ot(t,e,n):br(e,t,n)})),s})),ps=$i((function(e,t,n){Wn(e,n,t)}));function ds(e,t){return(Os(e)?dt:Tr)(e,Ji(t,3))}var fs=$i((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gs=Mr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&uo(e,t[0],t[1])?t=[]:n>2&&uo(t[0],t[1],t[2])&&(t=[t[0]]),Pr(e,sr(t,1),[])})),ms=Jt||function(){return Ge.Date.now()};function vs(e,t,n){return t=n?void 0:t,Bi(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ys(e,t){var n;if("function"!=typeof t)throw new ve(o);return e=ia(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var bs=Mr((function(e,t,n){var r=1;if(n.length){var i=Vt(n,Xi(bs));r|=32}return Bi(e,r,t,n,i)})),$s=Mr((function(e,t,n){var r=3;if(n.length){var i=Vt(n,Xi($s));r|=32}return Bi(t,r,e,n,i)}));function ws(e,t,n){var r,i,s,a,u,l,c=0,h=!1,p=!1,d=!0;if("function"!=typeof e)throw new ve(o);function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function g(e){return c=e,u=wo(v,t),h?f(e):a}function m(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-c>=s}function v(){var e=ms();if(m(e))return y(e);u=wo(v,function(e){var n=t-(e-l);return p?un(n,s-(e-c)):n}(e))}function y(e){return u=void 0,d&&r?f(e):(r=i=void 0,a)}function b(){var e=ms(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===u)return g(l);if(p)return hi(u),u=wo(v,t),f(l)}return void 0===u&&(u=wo(v,t)),a}return t=sa(t)||0,qs(n)&&(h=!!n.leading,s=(p="maxWait"in n)?an(sa(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==u&&hi(u),c=0,r=l=i=u=void 0},b.flush=function(){return void 0===u?a:y(ms())},b}var xs=Mr((function(e,t){return Zn(e,1,t)})),Ss=Mr((function(e,t,n){return Zn(e,sa(t)||0,n)}));function Es(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Es.Cache||jn),n}function As(e){if("function"!=typeof e)throw new ve(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Es.Cache=jn;var Cs=li((function(e,t){var n=(t=1==t.length&&Os(t[0])?dt(t[0],kt(Ji())):dt(sr(t,1),kt(Ji()))).length;return Mr((function(r){for(var i=-1,o=un(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ot(e,this,r)}))})),Fs=Mr((function(e,t){return Bi(e,32,void 0,t,Vt(t,Xi(Fs)))})),Ts=Mr((function(e,t){return Bi(e,64,void 0,t,Vt(t,Xi(Ts)))})),Ds=zi((function(e,t){return Bi(e,256,void 0,void 0,void 0,t)}));function Rs(e,t){return e===t||e!=e&&t!=t}var ks=_i(gr),Is=_i((function(e,t){return e>=t})),Ps=$r(function(){return arguments}())?$r:function(e){return zs(e)&&Se.call(e,"callee")&&!Ke.call(e,"callee")},Os=r.isArray,_s=Ze?kt(Ze):function(e){return zs(e)&&fr(e)==S};function js(e){return null!=e&&Vs(e.length)&&!Hs(e)}function Ls(e){return zs(e)&&js(e)}var Ns=nn||su,Ms=et?kt(et):function(e){return zs(e)&&fr(e)==h};function Bs(e){if(!zs(e))return!1;var t=fr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ws(e)}function Hs(e){if(!qs(e))return!1;var t=fr(e);return t==d||t==f||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Us(e){return"number"==typeof e&&e==ia(e)}function Vs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zs(e){return null!=e&&"object"==typeof e}var Ks=tt?kt(tt):function(e){return zs(e)&&ro(e)==g};function Gs(e){return"number"==typeof e||zs(e)&&fr(e)==m}function Ws(e){if(!zs(e)||fr(e)!=v)return!1;var t=Ue(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&xe.call(n)==Fe}var Ys=nt?kt(nt):function(e){return zs(e)&&fr(e)==y};var Xs=rt?kt(rt):function(e){return zs(e)&&ro(e)==b};function Js(e){return"string"==typeof e||!Os(e)&&zs(e)&&fr(e)==$}function Qs(e){return"symbol"==typeof e||zs(e)&&fr(e)==w}var Zs=it?kt(it):function(e){return zs(e)&&Vs(e.length)&&!!Be[fr(e)]};var ea=_i(Fr),ta=_i((function(e,t){return e<=t}));function na(e){if(!e)return[];if(js(e))return Js(e)?Gt(e):yi(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ro(e);return(t==g?Ht:t==b?qt:Ra)(e)}function ra(e){return e?(e=sa(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ia(e){var t=ra(e),n=t%1;return t==t?n?t-n:t:0}function oa(e){return e?Xn(ia(e),0,4294967295):0}function sa(e){if("number"==typeof e)return e;if(Qs(e))return NaN;if(qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Rt(e);var n=oe.test(e);return n||ae.test(e)?qe(e.slice(2),n?2:8):ie.test(e)?NaN:+e}function aa(e){return bi(e,xa(e))}function ua(e){return null==e?"":Qr(e)}var la=wi((function(e,t){if(po(t)||js(t))bi(t,wa(t),e);else for(var n in t)Se.call(t,n)&&qn(e,n,t[n])})),ca=wi((function(e,t){bi(t,xa(t),e)})),ha=wi((function(e,t,n,r){bi(t,xa(t),e,r)})),pa=wi((function(e,t,n,r){bi(t,wa(t),e,r)})),da=zi(Yn);var fa=Mr((function(e,t){e=fe(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&uo(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=xa(o),a=-1,u=s.length;++a<u;){var l=s[a],c=e[l];(void 0===c||Rs(c,$e[l])&&!Se.call(e,l))&&(e[l]=o[l])}return e})),ga=Mr((function(e){return e.push(void 0,Ui),ot(Ea,void 0,e)}));function ma(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function va(e,t){return null!=e&&io(e,t,vr)}var ya=Ri((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ce.call(t)),e[t]=n}),qa(Ga)),ba=Ri((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ce.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),$a=Mr(br);function wa(e){return js(e)?Mn(e):Ar(e)}function xa(e){return js(e)?Mn(e,!0):Cr(e)}var Sa=wi((function(e,t,n){kr(e,t,n)})),Ea=wi((function(e,t,n,r){kr(e,t,n,r)})),Aa=zi((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=ui(t,e),r||(r=t.length>1),t})),bi(e,Gi(e),n),r&&(n=Jn(n,7,Vi));for(var i=t.length;i--;)ei(n,t[i]);return n}));var Ca=zi((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return va(e,n)}))}(e,t)}));function Fa(e,t){if(null==e)return{};var n=dt(Gi(e),(function(e){return[e]}));return t=Ji(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ta=Mi(wa),Da=Mi(xa);function Ra(e){return null==e?[]:It(e,wa(e))}var ka=Ai((function(e,t,n){return t=t.toLowerCase(),e+(n?Ia(t):t)}));function Ia(e){return Ba(ua(e).toLowerCase())}function Pa(e){return(e=ua(e))&&e.replace(le,Lt).replace(Pe,"")}var Oa=Ai((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),_a=Ai((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ja=Ei("toLowerCase");var La=Ai((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Na=Ai((function(e,t,n){return e+(n?" ":"")+Ba(t)}));var Ma=Ai((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ba=Ei("toUpperCase");function Ha(e,t,n){return e=ua(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(_e)||[]}(e):function(e){return e.match(Z)||[]}(e):e.match(t)||[]}var Ua=Mr((function(e,t){try{return ot(e,void 0,t)}catch(e){return Bs(e)?e:new Y(e)}})),Va=zi((function(e,t){return at(t,(function(t){t=Fo(t),Wn(e,t,bs(e[t],e))})),e}));function qa(e){return function(){return e}}var za=Ti(),Ka=Ti(!0);function Ga(e){return e}function Wa(e){return Er("function"==typeof e?e:Jn(e,1))}var Ya=Mr((function(e,t){return function(n){return br(n,e,t)}})),Xa=Mr((function(e,t){return function(n){return br(e,n,t)}}));function Ja(e,t,n){var r=wa(t),i=hr(t,r);null!=n||qs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,wa(t)));var o=!(qs(n)&&"chain"in n&&!n.chain),s=Hs(e);return at(i,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=yi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ft([this.value()],arguments))})})),e}function Qa(){}var Za=Ii(dt),eu=Ii(lt),tu=Ii(vt);function nu(e){return lo(e)?At(Fo(e)):function(e){return function(t){return pr(t,e)}}(e)}var ru=Oi(),iu=Oi(!0);function ou(){return[]}function su(){return!1}var au=ki((function(e,t){return e+t}),0),uu=Li("ceil"),lu=ki((function(e,t){return e/t}),1),cu=Li("floor");var hu,pu=ki((function(e,t){return e*t}),1),du=Li("round"),fu=ki((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new ve(o);return e=ia(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=vs,Dn.assign=la,Dn.assignIn=ca,Dn.assignInWith=ha,Dn.assignWith=pa,Dn.at=da,Dn.before=ys,Dn.bind=bs,Dn.bindAll=Va,Dn.bindKey=$s,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Os(e)?e:[e]},Dn.chain=ns,Dn.chunk=function(e,t,n){t=(n?uo(e,t,n):void 0===t)?1:an(ia(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,a=r(Zt(i/t));o<i;)a[s++]=Kr(e,o,o+=t);return a},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return ft(Os(n)?yi(n):[n],sr(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ve(o);return[n(e[0]),e[1]]})):[],Mr((function(n){for(var r=-1;++r<t;){var i=e[r];if(ot(i[0],this,n))return ot(i[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=wa(e);return function(n){return Qn(n,e,t)}}(Jn(e,1))},Dn.constant=qa,Dn.countBy=os,Dn.create=function(e,t){var n=Rn(e);return null==t?n:Gn(n,t)},Dn.curry=function e(t,n,r){var i=Bi(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Dn.curryRight=function e(t,n,r){var i=Bi(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Dn.debounce=ws,Dn.defaults=fa,Dn.defaultsDeep=ga,Dn.defer=xs,Dn.delay=Ss,Dn.difference=Ro,Dn.differenceBy=ko,Dn.differenceWith=Io,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:ia(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0):[]},Dn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&uo(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=n>r?0:oa(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return(Os(e)?ct:or)(e,Ji(t,3))},Dn.flatMap=function(e,t){return sr(ds(e,t),1)},Dn.flatMapDeep=function(e,t){return sr(ds(e,t),1/0)},Dn.flatMapDepth=function(e,t,n){return n=void 0===n?1:ia(n),sr(ds(e,t),n)},Dn.flatten=_o,Dn.flattenDeep=function(e){return(null==e?0:e.length)?sr(e,1/0):[]},Dn.flattenDepth=function(e,t){return(null==e?0:e.length)?sr(e,t=void 0===t?1:ia(t)):[]},Dn.flip=function(e){return Bi(e,512)},Dn.flow=za,Dn.flowRight=Ka,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Dn.functions=function(e){return null==e?[]:hr(e,wa(e))},Dn.functionsIn=function(e){return null==e?[]:hr(e,xa(e))},Dn.groupBy=cs,Dn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},Dn.intersection=Lo,Dn.intersectionBy=No,Dn.intersectionWith=Mo,Dn.invert=ya,Dn.invertBy=ba,Dn.invokeMap=hs,Dn.iteratee=Wa,Dn.keyBy=ps,Dn.keys=wa,Dn.keysIn=xa,Dn.map=ds,Dn.mapKeys=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){Wn(n,t(e,r,i),e)})),n},Dn.mapValues=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){Wn(n,r,t(e,r,i))})),n},Dn.matches=function(e){return Dr(Jn(e,1))},Dn.matchesProperty=function(e,t){return Rr(e,Jn(t,1))},Dn.memoize=Es,Dn.merge=Sa,Dn.mergeWith=Ea,Dn.method=Ya,Dn.methodOf=Xa,Dn.mixin=Ja,Dn.negate=As,Dn.nthArg=function(e){return e=ia(e),Mr((function(t){return Ir(t,e)}))},Dn.omit=Aa,Dn.omitBy=function(e,t){return Fa(e,As(Ji(t)))},Dn.once=function(e){return ys(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:(Os(t)||(t=null==t?[]:[t]),Os(n=r?void 0:n)||(n=null==n?[]:[n]),Pr(e,t,n))},Dn.over=Za,Dn.overArgs=Cs,Dn.overEvery=eu,Dn.overSome=tu,Dn.partial=Fs,Dn.partialRight=Ts,Dn.partition=fs,Dn.pick=Ca,Dn.pickBy=Fa,Dn.property=nu,Dn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},Dn.pull=Ho,Dn.pullAll=Uo,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,Ji(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,void 0,n):e},Dn.pullAt=Vo,Dn.range=ru,Dn.rangeRight=iu,Dn.rearg=Ds,Dn.reject=function(e,t){return(Os(e)?ct:or)(e,As(Ji(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return jr(e,i),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new ve(o);return Mr(e,t=void 0===t?t:ia(t))},Dn.reverse=qo,Dn.sampleSize=function(e,t,n){return t=(n?uo(e,t,n):void 0===t)?1:ia(t),(Os(e)?Hn:Hr)(e,t)},Dn.set=function(e,t,n){return null==e?e:Ur(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},Dn.shuffle=function(e){return(Os(e)?Un:zr)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&uo(e,t,n)?(t=0,n=r):(t=null==t?0:ia(t),n=void 0===n?r:ia(n)),Kr(e,t,n)):[]},Dn.sortBy=gs,Dn.sortedUniq=function(e){return e&&e.length?Xr(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?Xr(e,Ji(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&uo(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ua(e))&&("string"==typeof t||null!=t&&!Ys(t))&&!(t=Qr(t))&&Bt(e)?ci(Gt(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new ve(o);return t=null==t?0:an(ia(t),0),Mr((function(n){var r=n[t],i=ci(n,0,t);return r&&ft(i,r),ot(e,this,i)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:ia(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ve(o);return qs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ws(e,t,{leading:r,maxWait:t,trailing:i})},Dn.thru=rs,Dn.toArray=na,Dn.toPairs=Ta,Dn.toPairsIn=Da,Dn.toPath=function(e){return Os(e)?dt(e,Fo):Qs(e)?[e]:yi(Co(ua(e)))},Dn.toPlainObject=aa,Dn.transform=function(e,t,n){var r=Os(e),i=r||Ns(e)||Zs(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:qs(e)&&Hs(o)?Rn(Ue(e)):{}}return(i?at:lr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Dn.unary=function(e){return vs(e,1)},Dn.union=zo,Dn.unionBy=Ko,Dn.unionWith=Go,Dn.uniq=function(e){return e&&e.length?Zr(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?Zr(e,Ji(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},Dn.unset=function(e,t){return null==e||ei(e,t)},Dn.unzip=Wo,Dn.unzipWith=Yo,Dn.update=function(e,t,n){return null==e?e:ti(e,t,ai(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ti(e,t,ai(n),r)},Dn.values=Ra,Dn.valuesIn=function(e){return null==e?[]:It(e,xa(e))},Dn.without=Xo,Dn.words=Ha,Dn.wrap=function(e,t){return Fs(ai(t),e)},Dn.xor=Jo,Dn.xorBy=Qo,Dn.xorWith=Zo,Dn.zip=es,Dn.zipObject=function(e,t){return oi(e||[],t||[],qn)},Dn.zipObjectDeep=function(e,t){return oi(e||[],t||[],Ur)},Dn.zipWith=ts,Dn.entries=Ta,Dn.entriesIn=Da,Dn.extend=ca,Dn.extendWith=ha,Ja(Dn,Dn),Dn.add=au,Dn.attempt=Ua,Dn.camelCase=ka,Dn.capitalize=Ia,Dn.ceil=uu,Dn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==t&&(t=(t=sa(t))==t?t:0),Xn(sa(e),t,n)},Dn.clone=function(e){return Jn(e,4)},Dn.cloneDeep=function(e){return Jn(e,5)},Dn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},Dn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},Dn.conformsTo=function(e,t){return null==t||Qn(e,t,wa(t))},Dn.deburr=Pa,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=lu,Dn.endsWith=function(e,t,n){e=ua(e),t=Qr(t);var r=e.length,i=n=void 0===n?r:Xn(ia(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Dn.eq=Rs,Dn.escape=function(e){return(e=ua(e))&&M.test(e)?e.replace(L,Nt):e},Dn.escapeRegExp=function(e){return(e=ua(e))&&G.test(e)?e.replace(K,"\\$&"):e},Dn.every=function(e,t,n){var r=Os(e)?lt:rr;return n&&uo(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Dn.find=ss,Dn.findIndex=Po,Dn.findKey=function(e,t){return bt(e,Ji(t,3),lr)},Dn.findLast=as,Dn.findLastIndex=Oo,Dn.findLastKey=function(e,t){return bt(e,Ji(t,3),cr)},Dn.floor=cu,Dn.forEach=us,Dn.forEachRight=ls,Dn.forIn=function(e,t){return null==e?e:ar(e,Ji(t,3),xa)},Dn.forInRight=function(e,t){return null==e?e:ur(e,Ji(t,3),xa)},Dn.forOwn=function(e,t){return e&&lr(e,Ji(t,3))},Dn.forOwnRight=function(e,t){return e&&cr(e,Ji(t,3))},Dn.get=ma,Dn.gt=ks,Dn.gte=Is,Dn.has=function(e,t){return null!=e&&io(e,t,mr)},Dn.hasIn=va,Dn.head=jo,Dn.identity=Ga,Dn.includes=function(e,t,n,r){e=js(e)?e:Ra(e),n=n&&!r?ia(n):0;var i=e.length;return n<0&&(n=an(i+n,0)),Js(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&wt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),wt(e,t,i)},Dn.inRange=function(e,t,n){return t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n){return e>=un(t,n)&&e<an(t,n)}(e=sa(e),t,n)},Dn.invoke=$a,Dn.isArguments=Ps,Dn.isArray=Os,Dn.isArrayBuffer=_s,Dn.isArrayLike=js,Dn.isArrayLikeObject=Ls,Dn.isBoolean=function(e){return!0===e||!1===e||zs(e)&&fr(e)==c},Dn.isBuffer=Ns,Dn.isDate=Ms,Dn.isElement=function(e){return zs(e)&&1===e.nodeType&&!Ws(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(js(e)&&(Os(e)||"string"==typeof e||"function"==typeof e.splice||Ns(e)||Zs(e)||Ps(e)))return!e.length;var t=ro(e);if(t==g||t==b)return!e.size;if(po(e))return!Ar(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return wr(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Dn.isError=Bs,Dn.isFinite=function(e){return"number"==typeof e&&rn(e)},Dn.isFunction=Hs,Dn.isInteger=Us,Dn.isLength=Vs,Dn.isMap=Ks,Dn.isMatch=function(e,t){return e===t||xr(e,t,Zi(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,xr(e,t,Zi(t),n)},Dn.isNaN=function(e){return Gs(e)&&e!=+e},Dn.isNative=function(e){if(ho(e))throw new Y("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Sr(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=Gs,Dn.isObject=qs,Dn.isObjectLike=zs,Dn.isPlainObject=Ws,Dn.isRegExp=Ys,Dn.isSafeInteger=function(e){return Us(e)&&e>=-9007199254740991&&e<=9007199254740991},Dn.isSet=Xs,Dn.isString=Js,Dn.isSymbol=Qs,Dn.isTypedArray=Zs,Dn.isUndefined=function(e){return void 0===e},Dn.isWeakMap=function(e){return zs(e)&&ro(e)==x},Dn.isWeakSet=function(e){return zs(e)&&"[object WeakSet]"==fr(e)},Dn.join=function(e,t){return null==e?"":on.call(e,t)},Dn.kebabCase=Oa,Dn.last=Bo,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ia(n))<0?an(r+i,0):un(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):$t(e,St,i,!0)},Dn.lowerCase=_a,Dn.lowerFirst=ja,Dn.lt=ea,Dn.lte=ta,Dn.max=function(e){return e&&e.length?ir(e,Ga,gr):void 0},Dn.maxBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),gr):void 0},Dn.mean=function(e){return Et(e,Ga)},Dn.meanBy=function(e,t){return Et(e,Ji(t,2))},Dn.min=function(e){return e&&e.length?ir(e,Ga,Fr):void 0},Dn.minBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),Fr):void 0},Dn.stubArray=ou,Dn.stubFalse=su,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=pu,Dn.nth=function(e,t){return e&&e.length?Ir(e,ia(t)):void 0},Dn.noConflict=function(){return Ge._===this&&(Ge._=Te),this},Dn.noop=Qa,Dn.now=ms,Dn.pad=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Pi(en(i),n)+e+Pi(Zt(i),n)},Dn.padEnd=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?e+Pi(t-r,n):e},Dn.padStart=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?Pi(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),cn(ua(e).replace(W,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&uo(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ra(e),void 0===t?(t=e,e=0):t=ra(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hn();return un(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Lr(e,t)},Dn.reduce=function(e,t,n){var r=Os(e)?gt:Ft,i=arguments.length<3;return r(e,Ji(t,4),n,i,tr)},Dn.reduceRight=function(e,t,n){var r=Os(e)?mt:Ft,i=arguments.length<3;return r(e,Ji(t,4),n,i,nr)},Dn.repeat=function(e,t,n){return t=(n?uo(e,t,n):void 0===t)?1:ia(t),Nr(ua(e),t)},Dn.replace=function(){var e=arguments,t=ua(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,i=(t=ui(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[Fo(t[r])];void 0===o&&(r=i,o=n),e=Hs(o)?o.call(e):o}return e},Dn.round=du,Dn.runInContext=e,Dn.sample=function(e){return(Os(e)?Bn:Br)(e)},Dn.size=function(e){if(null==e)return 0;if(js(e))return Js(e)?Kt(e):e.length;var t=ro(e);return t==g||t==b?e.size:Ar(e).length},Dn.snakeCase=La,Dn.some=function(e,t,n){var r=Os(e)?vt:Gr;return n&&uo(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Dn.sortedIndex=function(e,t){return Wr(e,t)},Dn.sortedIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Wr(e,t);if(r<n&&Rs(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return Wr(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Wr(e,t,!0)-1;if(Rs(e[n],t))return n}return-1},Dn.startCase=Na,Dn.startsWith=function(e,t,n){return e=ua(e),n=null==n?0:Xn(ia(n),0,e.length),t=Qr(t),e.slice(n,n+t.length)==t},Dn.subtract=fu,Dn.sum=function(e){return e&&e.length?Tt(e,Ga):0},Dn.sumBy=function(e,t){return e&&e.length?Tt(e,Ji(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&uo(e,t,n)&&(t=void 0),e=ua(e),t=ha({},t,r,Hi);var i,o,s=ha({},t.imports,r.imports,Hi),a=wa(s),u=It(s,a),l=0,c=t.interpolate||ce,h="__p += '",p=ge((t.escape||ce).source+"|"+c.source+"|"+(c===U?ne:ce).source+"|"+(t.evaluate||ce).source+"|$","g"),d="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Me+"]")+"\n";e.replace(p,(function(t,n,r,s,a,u){return r||(r=s),h+=e.slice(l,u).replace(he,Mt),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),h+="';\n";var f=Se.call(t,"variable")&&t.variable;if(f){if(ee.test(f))throw new Y("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(P,""):h).replace(O,"$1").replace(_,"$1;"),h="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Ua((function(){return pe(a,d+"return "+h).apply(void 0,u)}));if(g.source=h,Bs(g))throw g;return g},Dn.times=function(e,t){if((e=ia(e))<1||e>9007199254740991)return[];var n=4294967295,r=un(e,4294967295);e-=4294967295;for(var i=Dt(r,t=Ji(t));++n<e;)t(n);return i},Dn.toFinite=ra,Dn.toInteger=ia,Dn.toLength=oa,Dn.toLower=function(e){return ua(e).toLowerCase()},Dn.toNumber=sa,Dn.toSafeInteger=function(e){return e?Xn(ia(e),-9007199254740991,9007199254740991):0===e?e:0},Dn.toString=ua,Dn.toUpper=function(e){return ua(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return Rt(e);if(!e||!(t=Qr(t)))return e;var r=Gt(e),i=Gt(t);return ci(r,Ot(r,i),_t(r,i)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.slice(0,Wt(e)+1);if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ci(r,0,_t(r,Gt(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.replace(W,"");if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ci(r,Ot(r,Gt(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(qs(t)){var i="separator"in t?t.separator:i;n="length"in t?ia(t.length):n,r="omission"in t?Qr(t.omission):r}var o=(e=ua(e)).length;if(Bt(e)){var s=Gt(e);o=s.length}if(n>=o)return e;var a=n-Kt(r);if(a<1)return r;var u=s?ci(s,0,a).join(""):e.slice(0,a);if(void 0===i)return u+r;if(s&&(a+=u.length-a),Ys(i)){if(e.slice(a).search(i)){var l,c=u;for(i.global||(i=ge(i.source,ua(re.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var h=l.index;u=u.slice(0,void 0===h?a:h)}}else if(e.indexOf(Qr(i),a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Dn.unescape=function(e){return(e=ua(e))&&N.test(e)?e.replace(j,Yt):e},Dn.uniqueId=function(e){var t=++Ee;return ua(e)+t},Dn.upperCase=Ma,Dn.upperFirst=Ba,Dn.each=us,Dn.eachRight=ls,Dn.first=jo,Ja(Dn,(hu={},lr(Dn,(function(e,t){Se.call(Dn.prototype,t)||(hu[t]=e)})),hu),{chain:!1}),Dn.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),at(["drop","take"],(function(e,t){Pn.prototype[e]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!t?new Pn(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Pn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Pn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Pn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Pn.prototype[e]=function(){return this.__filtered__?new Pn(this):this[n](1)}})),Pn.prototype.compact=function(){return this.filter(Ga)},Pn.prototype.find=function(e){return this.filter(e).head()},Pn.prototype.findLast=function(e){return this.reverse().find(e)},Pn.prototype.invokeMap=Mr((function(e,t){return"function"==typeof e?new Pn(this):this.map((function(n){return br(n,e,t)}))})),Pn.prototype.reject=function(e){return this.filter(As(Ji(e)))},Pn.prototype.slice=function(e,t){e=ia(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Pn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ia(t))<0?n.dropRight(-t):n.take(t-e)),n)},Pn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pn.prototype.toArray=function(){return this.take(4294967295)},lr(Pn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Dn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Dn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Pn,u=s[0],l=a||Os(t),c=function(e){var t=i.apply(Dn,ft([e],s));return r&&h?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,f=a&&!p;if(!o&&l){t=f?t:new Pn(this);var g=e.apply(t,s);return g.__actions__.push({func:rs,args:[c],thisArg:void 0}),new In(g,h)}return d&&f?e.apply(this,s):(g=this.thru(c),d?r?g.value()[0]:g.value():g)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Os(i)?i:[],e)}return this[n]((function(n){return t.apply(Os(n)?n:[],e)}))}})),lr(Pn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Se.call($n,r)||($n[r]=[]),$n[r].push({name:t,func:n})}})),$n[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],Pn.prototype.clone=function(){var e=new Pn(this.__wrapped__);return e.__actions__=yi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yi(this.__views__),e},Pn.prototype.reverse=function(){if(this.__filtered__){var e=new Pn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Pn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Os(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=un(t,e+s);break;case"takeRight":e=an(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,l=r?a:s-1,c=this.__iteratees__,h=c.length,p=0,d=un(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return ri(e,this.__actions__);var f=[];e:for(;u--&&p<d;){for(var g=-1,m=e[l+=t];++g<h;){var v=c[g],y=v.iteratee,b=v.type,$=y(m);if(2==b)m=$;else if(!$){if(1==b)continue e;break e}}f[p++]=m}return f},Dn.prototype.at=is,Dn.prototype.chain=function(){return ns(this)},Dn.prototype.commit=function(){return new In(this.value(),this.__chain__)},Dn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof kn;){var r=Do(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Pn){var t=e;return this.__actions__.length&&(t=new Pn(this)),(t=t.reverse()).__actions__.push({func:rs,args:[qo],thisArg:void 0}),new In(t,this.__chain__)}return this.thru(qo)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Je&&(Dn.prototype[Je]=function(){return this}),Dn}();Ge._=Xt,void 0===(i=function(){return Xt}.call(t,n,t,r))||(r.exports=i)}).call(this)}).call(this,n(11),n(143)(e))},28:function(e,t,n){"use strict";n.r(t);n(10);var r=n(0);function i(){return{template:function(e,t){return'<object width="'+t.size+'" height="'+t.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.5">{{\'common.loading\' | translate}}</object>'}}}function o(){return{template:function(e,t){return'<object width="'+t.size+'" height="'+t.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.5"></object><div>{{\'common.loading\' | translate}}<div>'}}}function s(e){const t=function(e,n){n.timer=void 0,n.currentMessage=n.getMessage();const r=n.timeout[n.index%n.timeout.length];r&&(n.timer=e((function(){(n.index+1<n.message.length||0===n.message.length)&&(n.index++,t(e,n))}),1e3*r))};return{restrict:"EA",scope:{size:"@",trigger:"@",messageAttr:"=*message",timeoutAttr:"=*timeout",ngShow:"=",ngHide:"="},link:function(n){n.message=n.messageAttr,n.getMessage=function(){return n.message[n.index]},void 0===n.message?n.message=[""]:"function"==typeof n.message?(n.getMessage=n.message,n.message=[]):"object"!=typeof n.message&&(n.message=[n.message]),n.timeout=n.timeoutAttr,void 0===n.timeout?n.timeout=[0]:"object"!=typeof n.timeout&&(n.timeout=[n.timeout]),n.index=0,t(e,n);const r=function(r){n.timer&&e.cancel(n.timer),r&&(n.index=0,t(e,n))};n.$watch("ngShow",(function(e){r(e)})),n.$watch("ngHide",(function(e){r(!e)})),n.$on("$destroy",(function(){n.timer&&e.cancel(n.timer)}))},template:'<div class="ot-loader-new-content"><img width="{{size}}" height="{{size}}" src="js/angular/templates/loader/ot-loader.svg?v=2.7.5"/><div style="font-size: {{size/4}}px">{{currentMessage}}<div></div>'}}function a(e){return{restrict:"EA",transclude:!0,templateUrl:"js/angular/core/templates/core-errors.html",link:function(t,n,r){let i;t.$watch("getActiveRepository()",(function(e){e&&!t.isRestricted?n.hide():n.show()})),t.setAttrs(r),t.setRestricted(),t.showRemoteLocations=!1,t.toggleShowRemoteLocations=()=>{t.showRemoteLocations=!t.showRemoteLocations},t.getAccessibleRepositories=function(){let e=e=>!0;return t.showRemoteLocations||(e=e=>e.local),t.isRestricted?t.getWritableRepositories().filter(e):t.getReadableRepositories().filter(e)},t.showPopoverForRepo=function(n,r){t.hidePopoverForRepo(),t.setPopoverRepo(r),e((function(){const e=$(n.toElement).find(".popover-anchor")[0];i=e,e&&!t.getActiveRepository()&&e.dispatchEvent(new Event("show"))})),n.stopPropagation()},t.hidePopoverForRepo=function(t){if(t){let e=t.relatedTarget;for(;e;){if(0===e.className.indexOf("popover"))return;e=e.parentElement}}i&&e((function(){i&&(i.dispatchEvent(new Event("hide")),i=null)})),t&&t.stopPropagation()}}}}function u(){return function(e,t){$(t).click((function(e){e.preventDefault(),e.stopPropagation()}))}}function l(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){e.multiRequired||(e.multiRequired=[]);const i=n.multiRequireElement,o=function(t){i&&i%1==0&&(e.multiRequired[i-1]=t)},s=function(){let t=!1,n=!1;for(let r=0;r<e.multiRequired.length;r++)e.multiRequired[r]?t=!0:n=!0;r.$setValidity("multiRequire",!(t&&n))};r.$parsers.unshift((function(e){return o(e),s(),e})),r.$formatters.unshift((function(e){return o(e),s(),e})),$("[multi-required]").on("blur keyup change focusout",(function(){s()}))}}}angular.module("graphdb.framework.core.directives",["graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).directive("ontoLoader",i).directive("ontoLoaderFancy",o).directive("ontoLoaderNew",s).directive("coreErrors",a).directive("eatClick",u).directive("multiRequired",l).directive("searchResourceInput",h).directive("keyboardShortcuts",p).directive("inactivePluginDirective",d).directive("autoGrow",(function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){const i=function(){const e=r.$viewValue;e&&""!==e.trim()?(t[0].style.height="0px",t[0].style.height=t[0].scrollHeight+"px"):t[0].style.height="26px",t[0].style.overflow="hidden"};e.$watch((function(){return r.$viewValue}),(function(){i()})),t.bind("input change",(function(){i()}))}}})).directive("captureHeight",(function(){return{restrict:"A",scope:{rowIndex:"=captureHeight"},link:function(e,t,n){e.$watch((function(){return t[0].offsetHeight}),(function(t){e.$parent.rowHeights[e.rowIndex]=t+"px!important"}))}}})),i.$inject=[],o.$inject=[],s.$inject=["$timeout"],a.$inject=["$timeout"],u.$inject=[],l.$inject=[];const c={table:"table",visual:"visual"};function h(e,t,n,i,o,s,a,u,l,h,p,d){return{restrict:"EA",scope:{namespacespromise:"=",autocompletepromisestatus:"=",textButton:"@",visualButton:"@",textCallback:"&",visualCallback:"&",placeholder:"@",uriValidation:"@",preserveInput:"@",empty:"=",clear:"=?clear",openInNewTab:"@",preserveSearch:"@",radioButtons:"@",clearInputIcon:"@"},templateUrl:"js/angular/core/templates/search-resource-input.html",link:function(f,g,m){g.autoCompleteStatus=void 0,g.autoCompleteWarning=!1,f.empty=!1,f.clear=!1,f.searchDisplayType=c;const v="true"===f.preserveSearch,y=g.find(".view-res-input");let b,w;f.textButtonLabel=f.textButton||"query.editor.table.btn",f.visualButtonLabel=f.visualButton||"query.editor.visual.btn",f.showClearInputIcon=!1,f.searchType=u.get(l.RDF_SEARCH_TYPE)||c.table,f.searchInput="",f.changeSearchType=function(e){f.searchType=e,u.set(l.RDF_SEARCH_TYPE,f.searchType)},f.$on("addStartFixedNodeAutomatically",(function(e,t){f.searchInput||!t.startIRI?f.checkIfValidAndSearchText():f.visualCallback({uri:t.startIRI,label:""})})),f.clearInput=function(){f.searchInput="",f.selectedElementIndex=-1,f.autoCompleteUriResults=[],f.showClearInputIcon=!1,u.remove(l.RDF_SEARCH_INPUT),u.remove(l.RDF_SEARCH_EXPANDED_URI),u.remove(l.RDF_RESOURCE_DESCRIPTION)},f.$watch("namespacespromise",(function(){angular.isDefined(f.namespacespromise)&&f.namespacespromise.success((function(e){g.namespaces=e.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}}))})).error((function(e){const n=getError(e);t.error(n,p.instant("error.getting.namespaces.for.repo"))}))})),f.$watch("autocompletepromisestatus",(function(){!h.isActiveRepoFedXType()&&angular.isDefined(f.autocompletepromisestatus)&&f.autocompletepromisestatus.success((function(e){g.autoCompleteStatus=!!e,""!==f.searchInput&&f.onChange()})).error((function(){t.error(p.instant("explore.error.autocomplete"))}))})),f.$watch("empty",(function(){v||(f.searchInput="",f.empty=!1)})),f.$watch("clear",(function(){f.clear&&(f.clearInput(),f.clear=!1)})),o.$on("$translateChangeSuccess",(function(){m.$attr.placeholder?f.placeholder=m.$attr.placeholder:f.placeholder=p.instant("search.resources.msg")+"..."}));const x=function(t){const n=t.type||"uri";"true"===f.openInNewTab?E(!1,t):e.path("resource").search(n,t.uri)},S=function(t){const n=t.type||"uri";"true"===f.openInNewTab?E(!0,t):e.path("graphs-visualizations").search(n,t.uri)},E=function(e,t){const n=e?"graphs-visualizations":"resource";window.open(`${n}?uri=${encodeURIComponent(t.uri)}`)};angular.isUndefined(m.$attr.textCallback)&&(f.textCallback=x),angular.isUndefined(m.$attr.visualCallback)&&(f.visualCallback=S),m.$attr.textButton&&!f.textButton?f.textCallback=f.visualCallback:m.$attr.visualButton&&!f.visualButton&&(f.visualCallback=f.textCallback),m.$attr.placeholder?f.placeholder=m.$attr.placeholder:f.placeholder=p.instant("search.resources.msg")+"...",angular.isDefined(m.$attr.uriValidation)?f.uriValidation=m.$attr.uriValidation:f.uriValidation="true",angular.isDefined(m.$attr.preserveInput)&&(f.preserveInput=m.$attr.preserveInput),f.getResultItemHtml=function(e){return a.trustAsHtml(e.description)},f.searchRdfResource=function(e,t){if("prefix"===e.type)f.searchInput=T(e.value+":"),y.focus(),f.onChange();else{let n;n=angular.isUndefined(e)?f.searchInput:"object"==typeof e?e.value:e;let r="";if(e.description){const t=e.description.indexOf("<"+n+">");t>0&&(r=e.description.substring(0,t).replace(/<\/?b>/g,""))}t({uri:n,description:e.description,label:r,type:e.type}),v?(f.selectedElementIndex=f.activeSearchElm,u.set(l.RDF_SEARCH_EXPANDED_URI,b),u.set(l.RDF_SEARCH_INPUT,f.searchInput),u.set(l.RDF_RESOURCE_DESCRIPTION,e.description)):"true"===f.preserveInput?(f.searchInput=n,f.autoCompleteUriResults=[]):(f.searchInput="",f.autoCompleteUriResults=[])}},f.searchRdfResourceByEvent=function(e,t){f.searchType===c.visual||t.ctrlKey||t.metaKey?f.searchRdfResource(e,f.visualCallback):f.searchRdfResource(e,f.textCallback)};const A=function(e){const n=f.searchInput;""!==n?"false"!==f.uriValidation?g.autoCompleteStatus&&f.autoCompleteUriResults&&f.autoCompleteUriResults.length>0?"prefix"===f.autoCompleteUriResults[f.activeSearchElm].type?(f.searchInput=T(f.autoCompleteUriResults[f.activeSearchElm].value+":"),f.autoCompleteUriResults=[]):f.searchRdfResource(f.autoCompleteUriResults[f.activeSearchElm],e):F(n)?f.searchRdfResource(n,e):t.error(p.instant("invalid.uri.msg")):f.searchRdfResource(n,e):t.error(p.instant("fill.input.field.msg"))};function C(){let e=-1;const n=u.get(l.RDF_RESOURCE_DESCRIPTION);n&&f.autoCompleteUriResults&&(e=f.autoCompleteUriResults.findIndex(e=>e.description===n),f.selectedElementIndex=e,new Promise(e=>{const t=document.getElementById("auto-complete-results-wrapper").getBoundingClientRect();setTimeout(()=>{e(t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth))})}).then((function(){!function(){const e=$("#auto-complete-results-wrapper"),t=$("#auto_"+f.selectedElementIndex);e.animate({scrollTop:t.offset().top-e.offset().top+e.scrollTop()})}()})).catch((function(e){t.error(getError(e),p.instant("no.prev.search.element"))}))),f.activeSearchElm=-1===e?0:e}function F(e){const t=e.indexOf("<")>=0&&e.indexOf(">")>=0,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?(http|urn).*>?/.test(e)&&(t||n);let i=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");i=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(i=e.substring(4).length>0);return r&&i}function T(e){if(!/^<?(http|urn).*>?/.test(e)){const t=e.split(":"),r=t[0],i=t[1];if(!angular.isUndefined(i)){const e=n.getNamespaceUriForPrefix(g.namespaces,r);if(b=e!==b?e:b,b)return y.val(b),b+i}}return e}f.checkIfValidAndSearchText=function(){A(f.textCallback)},f.checkIfValidAndSearchVisual=function(){A(f.visualCallback)},f.checkIfValidAndSearchEvent=function(e){f.searchType===c.visual||e.ctrlKey||e.metaKey?A(f.visualCallback):A(f.textCallback)},f.onChange=function(){return f.showClearInputIcon=f.clearInputIcon,v&&u.set(l.RDF_SEARCH_INPUT,f.searchInput),"false"!==f.uriValidation&&(f.searchInput=T(f.searchInput),g.autoCompleteStatus)?function(e){let t=e.replace(b,b+";");if(g.autoCompleteStatus)return";"===t.charAt(0)&&(t=t.slice(1)),t=function(e){let t=e;if(-1===t.indexOf(";")&&F(t)){t=t.replace(/<|>/g,"");const e=/[^/^#]*$/.exec(t)[0];return t.split(e)[0]+";"+e}return t}(t),w&&w.resolve(),w=s.defer(),i.getAutocompleteSuggestions(t,w.promise).then((function(e){w=null,f.autoCompleteUriResults=e.data.suggestions,f.activeSearchElm=0}));return Promise.resolve()}(f.searchInput):Promise.resolve()},f.onKeyDown=function(e){if(13===e.keyCode){if(e.preventDefault(),d.isActive())return;"false"!==f.uriValidation?g.autoCompleteStatus?f.checkIfValidAndSearchEvent(e):F(e.target.value)?f.searchRdfResourceByEvent(e.target.value,e):t.error(p.instant("invalid.uri.msg")):f.searchRdfResourceByEvent(e.target.value,e)}else if(f.searchInput.length>0&&!g.autoCompleteWarning&&!g.autoCompleteStatus){g.autoCompleteWarning=!0;const e=Object(r.decodeHTML)(p.instant("explore.autocomplete.warning.msg"));t.warning("",`<div class="autocomplete-toast"><a href="autocomplete">${e}</a></div>`,{allowHtml:!0})}if(g.autoCompleteStatus&&!angular.isUndefined(f.autoCompleteUriResults)){if(40===e.keyCode&&f.activeSearchElm<f.autoCompleteUriResults.length-1&&(f.activeSearchElm++,f.searchInput=f.autoCompleteUriResults[f.activeSearchElm].value,function(){const e=$("#auto-complete-results-wrapper"),t=e.children("div"),n=e.children("div.active");void 0!==n[0]&&n[0].offsetTop-t.height()-6-e.scrollTop()>170&&e.scrollTop(n[0].offsetTop-t.height()-6-170)}()),38===e.keyCode&&f.activeSearchElm>0&&(e.preventDefault(),f.activeSearchElm--,f.searchInput=f.autoCompleteUriResults[f.activeSearchElm].value,function(){const e=$("#auto-complete-results-wrapper"),t=e.children("div"),n=e.children("div.active");void 0!==n[0]&&n[0].offsetTop-t.height()-40<=e.scrollTop()&&e.scrollTop(e.scrollTop()-34)}()),27===e.keyCode){if(v)return;f.searchInput="",f.autoCompleteUriResults=[]}f.searchInput||f.clearInput()}},f.$on("rdfResourceSearchExpanded",(function(){(v?(f.preserveInput="true",f.searchInput=u.get(l.RDF_SEARCH_INPUT)||"",b=u.get(l.RDF_SEARCH_EXPANDED_URI),f.onChange()):Promise.resolve()).then((function(){C()}))})),f.setActiveClassOnMouseMove=function(e){g.autoCompleteStatus&&(f.activeSearchElm=e)}}}}function p(e){return{restrict:"AE",link:function(t,n,r){function i(e){27===e.keyCode&&(t.toggleCheatSheet(),t.$apply())}t.getTemplateUrl=function(){return r.templateUrl},t.shortcutsVisible=!1,t.toggleCheatSheet=function(){t.shortcutsVisible=!t.shortcutsVisible,t.shortcutsVisible?e.on("keydown",i):e.off("keydown",i)}},template:'<ng-include src="getTemplateUrl()" />'}}function d(e,t,n,i,o,s){return{restrict:"E",transclude:!0,scope:{loadSaved:"&",setPluginActive:"&",pluginName:"@",humanReadablePluginName:"@"},templateUrl:"js/angular/core/templates/inactive-plugin-warning-page.html",link:function(a){function u(){if(o.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType())return t.checkPluginIsActive(a.pluginName,i.getActiveRepository()).then((function({data:e}){a.pluginIsActive=e.indexOf("true")>0,a.setPluginActive({isPluginActive:a.pluginIsActive})})).catch((function(t){e.error(getError(t),s.instant("check.active.plugin.failure"))}))}a.pluginIsActive=!0,a.activatePlugin=function(){const o=Object(r.decodeHTML)(s.instant("activate.plugin.warning.msg",{humanReadablePluginName:a.humanReadablePluginName}));n.openSimpleModal({title:s.instant("activate.plugin.confirmation"),message:`<p>${o}</p>`,warning:!0}).result.then((function(){t.activatePlugin(a.pluginName,i.getActiveRepository()).then((function(){a.pluginIsActive=!0,a.setPluginActive({isPluginActive:a.pluginIsActive}),a.loadSaved()})).catch((function(t){e.error(getError(t),s.instant("activate.plugin.failure"))}))}))};const l=a.$on("repositoryIsSet",(function(){u()}));window.addEventListener("beforeunload",(function e(){l(),window.removeEventListener("beforeunload",e)})),a.$on("checkIsActive",u),u()}}}h.$inject=["$location","toastr","ClassInstanceDetailsService","AutocompleteRestService","$rootScope","$q","$sce","LocalStorageAdapter","LSKeys","$repositories","$translate","GuidesService"],p.$inject=["$document"],d.$inject=["toastr","RDF4JRepositoriesRestService","ModalService","$repositories","$licenseService","$translate"]},29:function(e,t,n){"use strict";n.r(t);n(7),n(18),n(36),n(16),n(62),n(63),n(15);var r=n(12),i=n(17);angular.module("graphdb.framework.core.services.repositories",["ngCookies","graphdb.framework.rest.repositories.service","graphdb.framework.rest.locations.service","graphdb.framework.rest.license.service","toastr","graphdb.framework.utils.event-emitter-service"]).service("$repositories",["toastr","$rootScope","$timeout","$location","productInfo","$jwtAuth","RepositoriesRestService","LocationsRestService","LicenseRestService","$translate","$q","LocalStorageAdapter","LSKeys","EventEmitterService","RDF4JRepositoriesRestService",function(e,t,n,o,s,a,u,l,c,h,p,d,f,g,m){this.location={uri:"",label:"Local",local:!0,isInCluster:!1},this.locationError="",this.loading=!0,this.locations=[this.location],this.repositories=new Map,this.locationsShouldReload=!0;const v=this,y=function(t,n){v.loading=!1,t&&(v.location={},v.locationError=n,v.repositories=new Map,v.setRepository(""),t.statusText?e.error(t.statusText,h.instant("repositories.service.error.loading.location")):e.error(h.instant("repositories.service.error.loading.location")))};let b;this.resetActiveRepository=function(){const e=this.getActiveRepositoryObjectFromStorage(),n=v.repositories.get(e.location);let r=!1;n&&(r=n.find(t=>t.id===e.id)),r?a.canReadRepo(e)?t.$broadcast("repositoryIsSet",{newRepo:!1}):this.setRepository(""):this.setRepository(this.location.defaultRepository?{id:this.location.defaultRepository,location:this.location.uri}:"")},this.checkLocationsDegraded=function(e){this.locations.forEach(t=>{t.local||(t.errorMsg&&v.repositories.delete(t.uri)&&v.resetActiveRepository(),c.getVersion(t.uri).success((function(e){"object"==typeof e?e.productVersion!==s.productVersion&&(t.degradedReason=h.instant("repositories.service.different.gdb.version",{location:t.name})):t.degradedReason=h.instant("repositories.service.different.gdb.version",{location:t.name})})).error((function(n){t.errorMsg=n,e||(v.locationsShouldReload=!0)})))})},this.getDegradedReason=function(){const e=this.getActiveRepositoryObjectFromStorage(),t=this.locations.find(t=>t.uri===e.location);return t?t.degradedReason:""},this.clearLocationErrorMsg=function(e){const t=this.locations.find(t=>t.uri===e);t&&t.errorMsg&&(t.errorMsg=null)},this.initQuick=function(){this.hasActiveLocation()&&this.init(null,null,!0)},this.assignHashesToRepositories=function(e){return e.map(e=>{const t=Object(i.md5HashGenerator)();return e.hash=t(JSON.stringify(e)),e})},this.init=function(e,n,r){return this.loading=!0,r||(this.locationsShouldReload=!0),l.getActiveLocation().then((function(i){if(i.data){const o=i.data;if(o.active)return u.getRepositories().then((function(n){v.location=o,Object.entries(n.data).forEach(([e,t])=>{const n=v.assignHashesToRepositories(t);v.clearLocationErrorMsg(e),v.repositories.set(e,n)}),v.resetActiveRepository(),y(),v.checkLocationsDegraded(r),t.globalLocation=v.location,t.globalRepositories=v.getRepositories(),e&&e()})).catch((function(e){y(e),n&&n()}))}else y(),r&&(v.locationsShouldReload=!0),v.location="",v.repositories=new Map,v.setRepository("");t.globalLocation=v.location,t.globalRepositories=v.getRepositories()})).catch((function(e){y(e),n&&n()}))},this.getLocations=function(e){if(this.locationsShouldReload||b)return b||(this.locationsShouldReload=!1,this.locations=[this.location],b=l.getLocations(e,!0).then(e=>(v.locations=e.data,this.locations)).catch((function(){n((function(){v.locationsShouldReload=!0}),2e3)})).finally(()=>{b=null})),b;const t=p.defer();return t.resolve(this.locations),t.promise},this.getActiveLocation=function(){return this.location},this.hasActiveLocation=function(){return!_.isEmpty(this.location)},this.getLocationError=function(){return this.locationError?this.locationError:h.instant("repositories.service.no.active.location")},this.isLoadingLocation=function(){return this.loading},this.getRepositories=function(){const e=[];return this.repositories.forEach(t=>e.push.apply(e,t)),e},this.getReadableRepositories=function(){return _.filter(this.getRepositories(),(function(e){return a.canReadRepo(e)}))},this.getWritableRepositories=function(){const e=this;return _.filter(this.getRepositories(),(function(t){return a.canWriteRepo(t)&&!e.isActiveRepoOntopType(t)}))},this.getActiveRepositoryObjectFromStorage=function(){return{id:d.get(f.REPOSITORY_ID)||"",location:d.get(f.REPOSITORY_LOCATION)||""}},this.getActiveRepository=function(){return d.get(f.REPOSITORY_ID)||void 0},this.getActiveRepositoryObject=function(){const e=this.getActiveRepositoryObjectFromStorage(),t=this.repositories.get(e.location);return t?t.find(t=>t.id===e.id):null},this.isSystemRepository=function(){return"SYSTEM"===this.getActiveRepositoryObjectFromStorage().id},this.isActiveRepoOntopType=function(e){const t=this;let n;return e||(e=t.getActiveRepositoryObject()),e&&(n=t.repositories.get(e.location).find(t=>t.id===e.id),n)?"graphdb:OntopRepository"===n.sesameType:void 0===n},this.isActiveRepoFedXType=function(){const e=this,t=e.getActiveRepositoryObject();let n;return t&&(n=e.repositories.get(t.location).find(e=>e.id===t.id),n)?"graphdb:FedXRepository"===n.sesameType:void 0===n},this.getLocationFromUri=function(e){return this.locations.find(t=>t.uri===e)},this.setRepositoryHeaders=function(e){$.ajaxSetup().headers=$.ajaxSetup().headers||{},$.ajaxSetup().headers["X-GraphDB-Repository"]=e?e.id:void 0,$.ajaxSetup().headers["X-GraphDB-Repository-Location"]=e?e.location:void 0},this.setRepository=function(e){const n={oldRepository:this.repository,newRepository:e,cancel:!1};g.emit("repositoryWillChangeEvent",n,n=>{n.cancel||(e?(d.set(f.REPOSITORY_ID,e.id),d.set(f.REPOSITORY_LOCATION,e.location)):(d.remove(f.REPOSITORY_ID),d.remove(f.REPOSITORY_LOCATION)),this.setRepositoryHeaders(e),t.$broadcast("repositoryIsSet",{newRepo:!0}),e&&!a.canReadRepo(e)&&this.setRepository(""),t.deniedPermissions={})})},this.getDefaultRepository=function(){return this.hasActiveLocation()?this.location.defaultRepository:""},this.setDefaultRepository=function(t){if(!this.hasActiveLocation())return void e.error(h.instant("repositories.service.no.active.location"),h.instant("common.error"));const n=this;l.setDefaultRepository(t).success((function(){n.location.defaultRepository=t})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.deleteLocation=function(t){return l.deleteLocation(encodeURIComponent(t)).success((function(){const e=v.getActiveRepositoryObject();e&&e.location===t&&(v.location="",v.setRepository("")),v.init()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.deleteRepository=function(t){return u.deleteRepository(t).success((function(){v.init()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))})).finally(()=>{const e=v.getActiveRepositoryObject();e&&e.id===t.id&&e.location===t.location&&v.setRepository("")})},this.restartRepository=function(t){return u.restartRepository(t).success((function(){e.success(h.instant("repositories.service.restarting.repo",{repositoryId:t.id})),v.initQuick()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.getRepositoryTurtleConfig=function(e){return u.getRepositoryTurtleConfig(e)},this.isRepoActive=function(e){const t=this.getActiveRepositoryObjectFromStorage();return!!t.id&&(e.id===t.id&&e.location===t.location)},this.getRepositoriesFromLocation=function(e){return this.repositories.get(e)},this.getPrefixes=e=>m.getRepositoryNamespaces(e).then(e=>{const t={};return e.data.results.bindings.forEach((function(e){t[e.prefix.value]=e.namespace.value})),t}),this.resolveSparqlEndpoint=e=>e===r.QueryMode.UPDATE?`repositories/${this.getActiveRepository()}/statements`:e===r.QueryMode.QUERY?"repositories/"+this.getActiveRepository():void 0,t.$on("securityInit",(function(e,t,r,i){b=null,(!t||r||i)&&n((function(){v.init()}))})),t.$on("reloadLocations",(function(){v.locationsShouldReload=!0,v.getLocations().then(()=>v.initQuick())}))}])},3:function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_TYPE",(function(){return r})),n.d(t,"OPERATION_TYPE_SORT_ORDER",(function(){return i}));const r={CLUSTER_STATUS:"clusterHealth",BACKUP_RESTORE:"backupAndRestore",QUERIES:"queries",UPDATES:"updates",IMPORTS:"imports"},i={clusterHealth:0,backupAndRestore:1,queries:3,updates:4,imports:2}},30:function(e,t,n){"use strict";n.r(t);n(7),n(43),n(44);var r=n(6);angular.module("graphdb.framework.core.services.jwtauth",["toastr","graphdb.framework.rest.security.service","graphdb.framework.core.services.openIDService"]).service("$jwtAuth",["$http","toastr","$location","$rootScope","SecurityRestService","$openIDAuth","$translate","$q","AuthTokenService","LSKeys","LocalStorageAdapter",function(e,t,n,i,o,s,a,u,l,c,h){const p=this;i.deniedPermissions={},i.setPermissionDenied=function(e){return!("/login"===e||!p.isAuthenticated())&&(i.deniedPermissions[e]=!0,!0)},i.hasPermission=function(){const e=n.path();return!i.deniedPermissions[e]},this.updateReturnUrl=()=>{0!==n.url().indexOf("/login")&&(i.returnToUrl=n.url())},i.redirectToLogin=function(e,t){return p.authTokenIsType("Bearer")&&(e=!0),p.clearAuthenticationInternal(),p.updateReturnUrl(),n.path("/login"),t?n.search("noaccess"):e&&n.search("expired"),new Promise(e=>{setTimeout(()=>{e(!0)},100)})},i.hasExternalAuthUser=function(){return p.hasExternalAuthUser()},this.securityEnabled=!0,this.freeAccess=!1,this.hasOverrideAuth=!1,this.externalAuthUser=!1,this.securityInitialized=!1;const d=this;this.getAuthenticatedUserFromBackend=function(e,t){o.getAuthenticatedUser().success((function(e,t,n){const r=l.getAuthToken();r&&r.startsWith("GDB")?(d.externalAuthUser=!1,d.principal=e,i.$broadcast("securityInit",d.securityEnabled,!0,d.freeAccess)):d.openIDEnabled&&r&&r.startsWith("Bearer")?d.authenticate(e,r):(d.externalAuthUser=!0,d.authenticate(e,""))})).error((function(){e||!d.freeAccess?i.redirectToLogin(!1,t):(d.securityInitialized=!0,d.hasExplicitAuthentication()||d.clearAuthentication())}))},this.initSecurity=function(){this.securityInitialized=!1,o.getSecurityConfig().then((function(e){if(d.securityEnabled=e.data.enabled,d.externalAuth=e.data.hasExternalAuth,d.authImplementation=e.data.authImplementation,d.openIDEnabled=e.data.openIdEnabled,d.passwordLoginEnabled=e.data.passwordLoginEnabled,d.securityEnabled){const t=e.data.freeAccess;d.freeAccess=t.enabled,d.freeAccess&&(d.freeAccessPrincipal={authorities:t.authorities,appSettings:t.appSettings}),d.openIDEnabled?(d.openIDConfig=e.data.methodSettings.openid,d.gdbUrl=n.absUrl().replace(n.url().substr(1),""),s.initOpenId(d.openIDConfig,d.gdbUrl,(function(e){l.setAuthToken(s.authHeaderGraphDB()),console.log("oidc: set id/access token as GraphDB auth"),d.getAuthenticatedUserFromBackend(!0,e)}),(function(){console.log("oidc: not logged or login error"),d.authTokenIsType("Bearer")?setTimeout(()=>{i.redirectToLogin(!0)},0):d.getAuthenticatedUserFromBackend()}))):d.getAuthenticatedUserFromBackend()}else{l.clearAuthToken();const t=e.data.overrideAuth;if(d.hasOverrideAuth=t.enabled,!d.hasOverrideAuth)return o.getAdminUser().then((function(e){d.principal={username:"admin",appSettings:e.data.appSettings,authorities:e.data.grantedAuthorities},i.$broadcast("securityInit",d.securityEnabled,!0,d.hasOverrideAuth)}));d.principal={username:"overrideauth",authorities:t.authorities,appSettings:t.appSettings},i.$broadcast("securityInit",d.securityEnabled,!0,d.hasOverrideAuth)}}))},this.initSecurity(),this.reinitializeSecurity=function(){this.securityInitialized||this.initSecurity()},this.isSecurityEnabled=function(){return this.securityEnabled},this.hasExternalAuth=function(){return this.externalAuth},this.getAuthImplementation=function(){return this.authImplementation},this.isFreeAccessEnabled=function(){return this.freeAccess},this.isDefaultAuthEnabled=function(){return this.hasOverrideAuth&&this.principal&&"overrideauth"===this.principal.username},this.authTokenIsType=function(e){const t=l.getAuthToken();return t&&t.startsWith(e)},this.loginOpenID=function(){s.login(this.openIDConfig,this.gdbUrl)},this.toggleSecurity=function(e){e!==this.securityEnabled&&o.toggleSecurity(e).then((function(){t.success(a.instant("jwt.auth.security.status",{status:a.instant(e?"enabled.status":"disabled.status")})),l.clearAuthToken(),d.initSecurity(),d.securityEnabled=e}),(function(e){t.error(e.data,a.instant("common.error"))}))},this.toggleFreeAccess=function(e,n,r,s){(e!==this.freeAccess||s)&&(this.freeAccess=e,this.freeAccessPrincipal=e?{authorities:n,appSettings:r}:void 0,o.setFreeAccess({enabled:e?"true":"false",authorities:n,appSettings:r}).then((function(){s?t.success(a.instant("jwt.auth.free.access.updated.msg")):t.success(a.instant("jwt.auth.free.access.status",{status:a.instant(e?"enabled.status":"disabled.status")}))}),(function(e){t.error(e.data.error.message,a.instant("common.error"))})),i.$broadcast("securityInit",this.securityEnabled,this.hasExplicitAuthentication(),this.freeAccess))},this.authenticate=function(e,t){return new Promise(n=>{t?(l.setAuthToken(t),this.externalAuthUser=!1):l.clearAuthToken(),this.principal=e,i.deniedPermissions={},this.securityInitialized=!0;const r={id:h.get(c.REPOSITORY_ID)||"",location:h.get(c.REPOSITORY_LOCATION)||""};p.canReadRepo(r)||(h.remove(c.REPOSITORY_ID),h.remove(c.REPOSITORY_LOCATION),i.deniedPermissions={}),i.$broadcast("securityInit",this.securityEnabled,d.hasExplicitAuthentication(),this.freeAccess),setTimeout(()=>{n(!0)})})},this.authenticateOpenID=function(e){l.clearAuthToken(),e&&(l.setAuthToken(e),this.externalAuthUser=!1)},this.hasExternalAuthUser=function(){return this.externalAuthUser},this.hasExplicitAuthentication=function(){return null!=l.getAuthToken()||this.externalAuthUser},this.getPrincipal=function(){if(this.principal)return Promise.resolve(this.principal);const e=u.defer();return i.$on("securityInit",()=>{e.resolve(this.principal)}),e.promise},this.clearAuthenticationInternal=function(){s.softLogout(),this.principal=this.freeAccessPrincipal,l.clearAuthToken()},this.clearAuthentication=function(){this.clearAuthenticationInternal(),i.$broadcast("securityInit",this.securityEnabled,!1,this.freeAccess)},this.isAuthenticated=function(){return!this.securityEnabled||this.hasExplicitAuthentication()},this.hasPermission=function(){},this.hasRole=function(e){if(void 0!==e&&(this.securityEnabled||this.hasOverrideAuth)){"string"==typeof e&&(e=[e]);const t=!_.isEmpty(this.principal);return!!t&&("IS_AUTHENTICATED_FULLY"===e[0]?t:_.intersection(e,this.principal.authorities).length>0)}return!0},this.isAdmin=function(){return this.hasRole(r.UserRole.ROLE_ADMIN)},this.isRepoManager=function(){return this.hasRole(r.UserRole.ROLE_REPO_MANAGER)},this.hasRoleMonitor=function(){return this.hasRole(r.UserRole.ROLE_MONITORING)},this.checkForWrite=function(e,t){return"WRITE_REPO"===e?this.canWriteRepo(t):this.hasRole(e)},this.hasAdminRole=function(){return this.isAdmin()||this.isRepoManager()},this.canWriteRepo=function(e){return!!e&&(!this.securityEnabled&&!this.hasOverrideAuth||!_.isEmpty(this.principal)&&(!!this.hasAdminRole()||this.checkRights(e,"WRITE")))},this.canReadRepo=function(e){return!!e&&(!this.securityEnabled||!_.isEmpty(this.principal)&&(!!this.hasAdminRole()||this.checkRights(e,"READ")))},this.checkRights=function(e,t){if(e)for(let n=0;n<this.principal.authorities.length;n++){const r=this.principal.authorities[n],i=r.split("_",2),o=r.slice(i[0].length+i[1].length+2),s=e.location?`${e.id}@${e.location}`:e.id;if(i[0]===t&&(s===o||"SYSTEM"!==e.id&&"*"===o))return!0}return!1}}])},31:function(e,t,n){"use strict";n.r(t);var r=n(20),i=n(23);angular.module("graphdb.framework.rest.monitoring.service",[]).factory("MonitoringRestService",o),o.$inject=["$http"];function o(e){return{monitorResources:function(){return e.get("rest/monitor/infrastructure")},monitorStructures:function(){return e.get("rest/monitor/structures")},monitorCluster:function(){return e.get("rest/monitor/cluster")},monitorGC:function(){return e.post("rest/monitor/infrastructure/gc")},monitorQuery:function(t){return e.get(`rest/monitor/repository/${t}/query/active`)},monitorBackup:function(){return e.get("rest/monitor/backup").then(e=>Object(r.mapBackupAndRestoreResponseToModel)(e.data))},monitorActiveOperations:function(t){return e.get(`rest/monitor/${t}/operations`).then(e=>Object(i.mapActiveOperationResponseToModel)(e.data))},deleteQuery:function(t,n){return e.delete(`rest/monitor/repository/${n}/query?query=${encodeURIComponent(t)}`)},getQueryCount:function(t){return e({url:`rest/monitor/repository/${t}/query/count`,method:"GET",timeout:1e4})},checkAutocompleteStatus:function(){return e.get("rest/autocomplete/enabled")},monitorQueryTransactionStatistics:function(t){return e.get("rest/monitor/repository/"+t)}}}},32:function(e,t){let n;angular.module("graphdb.framework.utils.uriutils",[]).factory("UriUtils",r);try{n=new RegExp("^<?[a-z](?:[-a-z0-9\\+\\.])*:(?:\\/\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:])*@)?(?:\\[(?:(?:(?:[0-9a-f]{1,4}:){6}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|::(?:[0-9a-f]{1,4}:){5}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4}:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|v[0-9a-f]+[-a-z0-9\\._~!\\$&'\\(\\)\\*\\+,;=:]+)\\]|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}|(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=@])*)(?::[0-9]*)?(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*|\\/(?:(?:(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))+)(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*)?|(?:(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))+)(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*|(?!(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])))(?:\\?(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])|[\\u{E000}-\\u{F8FF}\\u{F0000}-\\u{FFFFD}\\u{100000}-\\u{10FFFD}\\/\\?])*)?(?:#(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])|[\\/\\?])*)?>?$","ui")}catch(e){n=new RegExp("^<?[a-z](?:[-a-z0-9\\+\\.])*:>?","i")}function r(e){function t(e){const t=e.indexOf("<")>=0&&e.indexOf(">")>=0,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?(http|urn).*>?/.test(e)&&(t||n);let i=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");i=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(i=e.substring(4).length>0);return r&&i}return{isValidIri:function(e,r){return!(void 0===e||void 0===r||!t(r)&&!r.match(n))},validateRdfUri:t,shortenIri:function(e){const t=document.createElement("a");t.href=e;let n=t.hostname;return function(e){const t=e.split(".");for(let e=0,n=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?n++:n=0,4===n)return!0;return!1}(t.hostname)||(n=t.hostname.split(".")[0]),n+":"+t.port},expandPrefix:function(t,n){const r=/^<.*>$/.test(t);if(t=function(e,t){if(t.test(e))return e.substring(1,e.length-1);return e}(t,/^<.*>$/),!/^<?(http|urn).*>?/.test(t)){const i=t.split(":"),o=i[0],s=i[1];if(!angular.isUndefined(s)){const t=e.getNamespaceUriForPrefix(n,o);if(t)return t+s;if(!r)return""}}return t}}}r.$inject=["ClassInstanceDetailsService"]},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return ne})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return be})),n.d(t,"g",(function(){return le}));let r,i,o,s=!1,a=!1,u=!1,l=!1;const c={},h=e=>"object"===(e=typeof e)||"function"===e,p=(e,t,...n)=>{let r=null,i=null,o=!1,s=!1;const a=[],u=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?u(r):null!=r&&"boolean"!=typeof r&&((o="function"!=typeof e&&!h(r))&&(r=String(r)),o&&s?a[a.length-1].$text$+=r:a.push(o?d(null,r):r),s=o)};if(u(n),t){t.name&&(i=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,g);const l=d(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l.$name$=i,l},d=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$name$:null};return n},f={},g={forEach:(e,t)=>e.map(m).forEach(t),map:(e,t)=>e.map(m).map(t).map(v)},m=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),v=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),p(e.vtag,t,...e.vchildren||[])}const t=d(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},y=e=>ue(e).$hostElement$,b=(e,t,n)=>{const r=y(e);return{emit:e=>$(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},$=(e,t,n)=>{const r=ye.ce(t,n);return e.dispatchEvent(r),r},w=new WeakMap,x=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=(t.$tagName$,()=>{}),o=((e,t,n,r)=>{let i=S(t);const o=ge.get(i);if(e=11===e.nodeType?e:ve,o)if("string"==typeof o){e=e.head||e;let t,n=w.get(e);n||w.set(e,n=new Set),n.has(i)||(t=ve.createElement("style"),t.innerHTML=o,e.insertBefore(t,e.querySelector("link")),n&&n.add(i))}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&r&&(n["s-sc"]=o,n.classList.add(o+"-h")),i()},S=(e,t)=>"sc-"+e.$tagName$,E=(e,t,n,r,i,o)=>{if(n!==r){let s=he(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,i=C(n),o=C(r);t.remove(...i.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!i.includes(e)))}else if("ref"===t)r&&r(e);else if(s||"o"!==t[0]||"n"!==t[1]){const a=h(r);if((s||a&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{const i=null==r?"":r;"list"===t?s=!1:null!=n&&e[t]==i||(e[t]=i)}}catch(e){}null==r||!1===r?!1===r&&""!==e.getAttribute(t)||e.removeAttribute(t):(!s||4&o||i)&&!a&&(r=!0===r?"":r,e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):he(me,a)?a.slice(2):a[2]+t.slice(3),n&&ye.rel(e,t,n,!1),r&&ye.ael(e,t,r,!1)}},A=/\s/,C=e=>e?e.split(A):[],F=(e,t,n,r)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||c,s=t.$attrs$||c;for(r in o)r in s||E(i,r,o[r],void 0,n,t.$flags$);for(r in s)E(i,r,o[r],s[r],n,t.$flags$)},T=(e,t,n,a)=>{const l=t.$children$[n];let c,h,p,d=0;if(s||(u=!0,"slot"===l.$tag$&&(r&&a.classList.add(r+"-s"),l.$flags$|=l.$children$?2:1)),null!==l.$text$)c=l.$elm$=ve.createTextNode(l.$text$);else if(1&l.$flags$)c=l.$elm$=ve.createTextNode("");else if(c=l.$elm$=ve.createElement(2&l.$flags$?"slot-fb":l.$tag$),F(null,l,!1),null!=r&&c["s-si"]!==r&&c.classList.add(c["s-si"]=r),l.$children$)for(d=0;d<l.$children$.length;++d)h=T(e,l,d,c),h&&c.appendChild(h);return c["s-hn"]=o,3&l.$flags$&&(c["s-sr"]=!0,c["s-cr"]=i,c["s-sn"]=l.$name$||"",p=e&&e.$children$&&e.$children$[n],p&&p.$tag$===l.$tag$&&e.$elm$&&D(e.$elm$,!1)),c},D=(e,t)=>{ye.$flags$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const r=n[e];r["s-hn"]!==o&&r["s-ol"]&&(O(r).insertBefore(r,P(r)),r["s-ol"].remove(),r["s-ol"]=void 0,u=!0),t&&D(r,t)}ye.$flags$&=-2},R=(e,t,n,r,i,s)=>{let a,u=e["s-cr"]&&e["s-cr"].parentNode||e;for(u.shadowRoot&&u.tagName===o&&(u=u.shadowRoot);i<=s;++i)r[i]&&(a=T(null,n,i,e),a&&(r[i].$elm$=a,u.insertBefore(a,P(t))))},k=(e,t,n,r,i)=>{for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,B(r),a=!0,i["s-ol"]?i["s-ol"].remove():D(i,!0),i.remove())},I=(e,t)=>e.$tag$===t.$tag$&&("slot"!==e.$tag$||e.$name$===t.$name$),P=e=>e&&e["s-ol"]||e,O=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,o=t.$tag$,s=t.$text$;let a;null===s?("slot"===o||F(e,t,!1),null!==r&&null!==i?((e,t,n,r)=>{let i,o=0,s=0,a=t.length-1,u=t[0],l=t[a],c=r.length-1,h=r[0],p=r[c];for(;o<=a&&s<=c;)null==u?u=t[++o]:null==l?l=t[--a]:null==h?h=r[++s]:null==p?p=r[--c]:I(u,h)?(_(u,h),u=t[++o],h=r[++s]):I(l,p)?(_(l,p),l=t[--a],p=r[--c]):I(u,p)?("slot"!==u.$tag$&&"slot"!==p.$tag$||D(u.$elm$.parentNode,!1),_(u,p),e.insertBefore(u.$elm$,l.$elm$.nextSibling),u=t[++o],p=r[--c]):I(l,h)?("slot"!==u.$tag$&&"slot"!==p.$tag$||D(l.$elm$.parentNode,!1),_(l,h),e.insertBefore(l.$elm$,u.$elm$),l=t[--a],h=r[++s]):(i=T(t&&t[s],n,s,e),h=r[++s],i&&O(u.$elm$).insertBefore(i,P(u.$elm$)));o>a?R(e,null==r[c+1]?null:r[c+1].$elm$,n,r,s,c):s>c&&k(t,o,a)})(n,r,t,i):null!==i?(null!==e.$text$&&(n.textContent=""),R(n,null,t,i,0,i.length-1)):null!==r&&k(r,0,r.length-1)):(a=n["s-cr"])?a.parentNode.textContent=s:e.$text$!==s&&(n.data=s)},j=e=>{const t=e.childNodes;let n,r,i,o,s,a;for(r=0,i=t.length;r<i;r++)if(n=t[r],1===n.nodeType){if(n["s-sr"])for(s=n["s-sn"],n.hidden=!1,o=0;o<i;o++)if(a=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==s){if(1===a&&s===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===a||3===a&&""!==t[o].textContent.trim()){n.hidden=!0;break}j(n)}},L=[],N=e=>{let t,n,r,i,o,s,u=0;const l=e.childNodes,c=l.length;for(;u<c;u++){if(t=l[u],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=t["s-sn"],s=r.length-1;s>=0;s--)n=r[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(M(n,i)?(o=L.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||i,o?o.$slotRefNode$=t:L.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&L.map(e=>{M(e.$nodeToRelocate$,n["s-sn"])&&(o=L.find(e=>e.$nodeToRelocate$===n),o&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$))})):L.some(e=>e.$nodeToRelocate$===n)||L.push({$nodeToRelocate$:n}));1===t.nodeType&&N(t)}},M=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,B=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(B)},H=(e,t)=>{const n=e.$hostElement$,l=e.$cmpMeta$,c=e.$vnode$||d(null,null),h=(g=t)&&g.$tag$===f?t:p(null,null,t);var g;if(o=n.tagName,h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=c.$elm$=n.shadowRoot||n,r=n["s-sc"],i=n["s-cr"],s=0!=(1&l.$flags$),a=!1,_(c,h),ye.$flags$|=1,u){let e,t,n,r,i,o;N(h.$elm$);let s=0;for(;s<L.length;s++)e=L[s],t=e.$nodeToRelocate$,t["s-ol"]||(n=ve.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(s=0;s<L.length;s++)if(e=L[s],t=e.$nodeToRelocate$,e.$slotRefNode$){for(r=e.$slotRefNode$.parentNode,i=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&r===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){i=o;break}(!i&&r!==t.parentNode||t.nextSibling!==i)&&t!==i&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),r.insertBefore(t,i))}else 1===t.nodeType&&(t.hidden=!0)}a&&j(h.$elm$),ye.$flags$&=-2,L.length=0},U=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},V=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);U(e,e.$ancestorComponent$);return Fe(()=>q(e,t))},q=(e,t)=>{const n=(e.$cmpMeta$.$tagName$,()=>{}),r=e.$lazyInstance$;let i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>Y(r,e,t)),e.$queuedListeners$=null),i=Y(r,"componentWillLoad")),n(),X(i,()=>z(e,r,t))},z=async(e,t,n)=>{const r=e.$hostElement$,i=(e.$cmpMeta$.$tagName$,()=>{}),o=r["s-rc"];n&&x(e);const s=(e.$cmpMeta$.$tagName$,()=>{});K(e,t),o&&(o.map(e=>e()),r["s-rc"]=void 0),s(),i();{const t=r["s-p"],n=()=>G(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},K=(e,t,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,H(e,t)}catch(t){pe(t,e.$hostElement$)}return null},G=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=()=>{},r=e.$lazyInstance$,i=e.$ancestorComponent$;Y(r,"componentDidRender"),64&e.$flags$?(Y(r,"componentDidUpdate"),n()):(e.$flags$|=64,J(t),Y(r,"componentDidLoad"),n(),e.$onReadyResolve$(t),i||W()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ce(()=>V(e,!1)),e.$flags$&=-517},W=e=>{J(ve.documentElement),Ce(()=>$(me,"appload",{detail:{namespace:"ontotext-yasgui-web-component"}}))},Y=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){pe(e)}},X=(e,t)=>e&&e.then?e.then(t):t(),J=e=>e.classList.add("hydrated"),Q=(e,t,n,r)=>{const i=ue(e),o=i.$hostElement$,s=i.$instanceValues$.get(t),a=i.$flags$,u=i.$lazyInstance$;var l,c;l=n,c=r.$members$[t][0],n=null==l||h(l)?l:4&c?"false"!==l&&(""===l||!!l):2&c?parseFloat(l):1&c?String(l):l;const p=Number.isNaN(s)&&Number.isNaN(n);if((!(8&a)||void 0===s)&&(n!==s&&!p)&&(i.$instanceValues$.set(t,n),u)){if(r.$watchers$&&128&a){const e=r.$watchers$[t];e&&e.map(e=>{try{u[e](n,s,t)}catch(e){pe(e,o)}})}2==(18&a)&&V(i,!1)}},Z=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),i=e.prototype;if(r.map(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(i,e,{get(){return t=e,ue(this).$instanceValues$.get(t);var t},set(n){Q(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(i,e,{value(...t){const n=ue(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const t=new Map;i.attributeChangedCallback=function(e,n,r){ye.jmp(()=>{const n=t.get(e);if(this.hasOwnProperty(n))r=this[n],delete this[n];else if(i.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==r)return;this[n]=(null!==r||"boolean"!=typeof this[n])&&r})},e.observedAttributes=r.filter(([e,t])=>15&t[0]).map(([e,n])=>{const r=n[1]||e;return t.set(r,e),r})}}return e},ee=async(e,t,n,r,i)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(i=fe(n)).then){const e=()=>{};i=await i,e()}i.isProxied||(n.$watchers$=i.watchers,Z(i,n,2),i.isProxied=!0);const e=(n.$tagName$,()=>{});t.$flags$|=8;try{new i(t)}catch(e){pe(e)}t.$flags$&=-9,t.$flags$|=128,e()}if(i.style){let e=i.style;const t=S(n);if(!ge.has(t)){const r=(n.$tagName$,()=>{});((e,t,n)=>{let r=ge.get(e);$e&&n?(r=r||new CSSStyleSheet,"string"==typeof r?r=t:r.replaceSync(t)):r=t,ge.set(e,r)})(t,e,!!(1&n.$flags$)),r()}}}const o=t.$ancestorComponent$,s=()=>V(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},te=e=>{const t=e["s-cr"]=ve.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ne=(e,t={})=>{const n=()=>{},r=[],i=t.exclude||[],o=me.customElements,s=ve.head,a=s.querySelector("meta[charset]"),u=ve.createElement("style"),l=[];let c,h=!0;Object.assign(ye,t),ye.$resourcesUrl$=new URL(t.resourcesUrl||"./",ve.baseURI).href,e.map(e=>{e[1].map(t=>{const n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};n.$members$=t[2],n.$listeners$=t[3],n.$watchers$={};const s=n.$tagName$,a=class extends HTMLElement{constructor(e){super(e),ce(e=this,n),1&n.$flags$&&e.attachShadow({mode:"open"})}connectedCallback(){c&&(clearTimeout(c),c=null),h?l.push(this):ye.jmp(()=>(e=>{if(0==(1&ye.$flags$)){const t=ue(e),n=t.$cmpMeta$,r=(n.$tagName$,()=>{});if(1&t.$flags$)re(e,t,n.$listeners$);else{t.$flags$|=1,12&n.$flags$&&te(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){U(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),ee(0,t,n)}r()}})(this))}disconnectedCallback(){ye.jmp(()=>(e=>{if(0==(1&ye.$flags$)){const t=ue(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),Y(n,"disconnectedCallback")}})(this))}componentOnReady(){return ue(this).$onReadyPromise$}};n.$lazyBundleId$=e[0],i.includes(s)||o.get(s)||(r.push(s),o.define(s,Z(a,n,1)))})}),u.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles",""),s.insertBefore(u,a?a.nextSibling:s.firstChild),h=!1,l.length?l.map(e=>e.connectedCallback()):ye.jmp(()=>c=setTimeout(W,30)),n()},re=(e,t,n,r)=>{n&&n.map(([n,r,i])=>{const o=oe(e,n),s=ie(t,i),a=se(n);ye.ael(o,r,s,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>ye.rel(o,r,s,a))})},ie=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(e){pe(e)}},oe=(e,t)=>4&t?ve:8&t?me:e,se=e=>0!=(2&e),ae=new WeakMap,ue=e=>ae.get(e),le=(e,t)=>ae.set(t.$lazyInstance$=e,t),ce=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],re(e,n,t.$listeners$),ae.set(e,n)},he=(e,t)=>t in e,pe=(e,t)=>(0,console.error)(e,t),de=new Map,fe=(e,t,r)=>{const i=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,s=de.get(o);return s?s[i]:n(372)(`./${o}.entry.js`).then(e=>(de.set(o,e),e[i]),pe)
|
|
17
|
+
*/(function(){var o="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",h="[object Date]",p="[object Error]",d="[object Function]",f="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Object]",y="[object RegExp]",b="[object Set]",$="[object String]",w="[object Symbol]",x="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",F="[object Int8Array]",T="[object Int16Array]",D="[object Int32Array]",R="[object Uint8Array]",k="[object Uint16Array]",I="[object Uint32Array]",P=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,N=RegExp(j.source),M=RegExp(L.source),B=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,G=RegExp(K.source),W=/^\s+/,Y=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,Z=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,he=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="[\\ud800-\\udfff]",ge="["+de+"]",me="["+pe+"]",ve="\\d+",ye="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",$e="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",xe="[^\\ud800-\\udfff]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ce="(?:"+be+"|"+$e+")",Fe="(?:"+Ae+"|"+$e+")",Te="(?:"+me+"|"+we+")"+"?",De="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[xe,Se,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),Re="(?:"+[ye,Se,Ee].join("|")+")"+De,ke="(?:"+[xe+me+"?",me,Se,Ee,fe].join("|")+")",Ie=RegExp("['’]","g"),Pe=RegExp(me,"g"),Oe=RegExp(we+"(?="+we+")|"+ke+De,"g"),_e=RegExp([Ae+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,Ae,"$"].join("|")+")",Fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,Ae+Ce,"$"].join("|")+")",Ae+"?"+Ce+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Re].join("|"),"g"),je=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Me=-1,Be={};Be[A]=Be[C]=Be[F]=Be[T]=Be[D]=Be[R]=Be["[object Uint8ClampedArray]"]=Be[k]=Be[I]=!0,Be[u]=Be[l]=Be[S]=Be[c]=Be[E]=Be[h]=Be[p]=Be[d]=Be[g]=Be[m]=Be[v]=Be[y]=Be[b]=Be[$]=Be[x]=!1;var He={};He[u]=He[l]=He[S]=He[E]=He[c]=He[h]=He[A]=He[C]=He[F]=He[T]=He[D]=He[g]=He[m]=He[v]=He[y]=He[b]=He[$]=He[w]=He[R]=He["[object Uint8ClampedArray]"]=He[k]=He[I]=!0,He[p]=He[d]=He[x]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,qe=parseInt,ze="object"==typeof e&&e&&e.Object===Object&&e,Ke="object"==typeof self&&self&&self.Object===Object&&self,Ge=ze||Ke||Function("return this")(),We=t&&!t.nodeType&&t,Ye=We&&"object"==typeof r&&r&&!r.nodeType&&r,Xe=Ye&&Ye.exports===We,Je=Xe&&ze.process,Qe=function(){try{var e=Ye&&Ye.require&&Ye.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Ze=Qe&&Qe.isArrayBuffer,et=Qe&&Qe.isDate,tt=Qe&&Qe.isMap,nt=Qe&&Qe.isRegExp,rt=Qe&&Qe.isSet,it=Qe&&Qe.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function st(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ct(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function ht(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function ft(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function gt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function vt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var yt=At("length");function bt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function $t(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):$t(e,St,n)}function xt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function St(e){return e!=e}function Et(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function At(e){return function(t){return null==t?void 0:t[e]}}function Ct(e){return function(t){return null==e?void 0:e[t]}}function Ft(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Tt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Dt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Rt(e){return e?e.slice(0,Wt(e)+1).replace(W,""):e}function kt(e){return function(t){return e(t)}}function It(e,t){return dt(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function _t(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function jt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Ct({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Nt=Ct({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mt(e){return"\\"+Ue[e]}function Bt(e){return je.test(e)}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function zt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Kt(e){return Bt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):yt(e)}function Gt(e){return Bt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}function Wt(e){for(var t=e.length;t--&&Y.test(e.charAt(t)););return t}var Yt=Ct({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Xt=function e(t){var n,r=(t=null==t?Ge:Xt.defaults(Ge.Object(),t,Xt.pick(Ge,Ne))).Array,i=t.Date,Y=t.Error,pe=t.Function,de=t.Math,fe=t.Object,ge=t.RegExp,me=t.String,ve=t.TypeError,ye=r.prototype,be=pe.prototype,$e=fe.prototype,we=t["__core-js_shared__"],xe=be.toString,Se=$e.hasOwnProperty,Ee=0,Ae=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ce=$e.toString,Fe=xe.call(fe),Te=Ge._,De=ge("^"+xe.call(Se).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=Xe?t.Buffer:void 0,ke=t.Symbol,Oe=t.Uint8Array,je=Re?Re.allocUnsafe:void 0,Ue=Ut(fe.getPrototypeOf,fe),ze=fe.create,Ke=$e.propertyIsEnumerable,We=ye.splice,Ye=ke?ke.isConcatSpreadable:void 0,Je=ke?ke.iterator:void 0,Qe=ke?ke.toStringTag:void 0,yt=function(){try{var e=eo(fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ct=t.clearTimeout!==Ge.clearTimeout&&t.clearTimeout,Jt=i&&i.now!==Ge.Date.now&&i.now,Qt=t.setTimeout!==Ge.setTimeout&&t.setTimeout,Zt=de.ceil,en=de.floor,tn=fe.getOwnPropertySymbols,nn=Re?Re.isBuffer:void 0,rn=t.isFinite,on=ye.join,sn=Ut(fe.keys,fe),an=de.max,un=de.min,ln=i.now,cn=t.parseInt,hn=de.random,pn=ye.reverse,dn=eo(t,"DataView"),fn=eo(t,"Map"),gn=eo(t,"Promise"),mn=eo(t,"Set"),vn=eo(t,"WeakMap"),yn=eo(fe,"create"),bn=vn&&new vn,$n={},wn=To(dn),xn=To(fn),Sn=To(gn),En=To(mn),An=To(vn),Cn=ke?ke.prototype:void 0,Fn=Cn?Cn.valueOf:void 0,Tn=Cn?Cn.toString:void 0;function Dn(e){if(zs(e)&&!Os(e)&&!(e instanceof Pn)){if(e instanceof In)return e;if(Se.call(e,"__wrapped__"))return Do(e)}return new In(e)}var Rn=function(){function e(){}return function(t){if(!qs(t))return{};if(ze)return ze(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function kn(){}function In(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Pn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new jn;++t<n;)this.add(e[t])}function Nn(e){var t=this.__data__=new _n(e);this.size=t.size}function Mn(e,t){var n=Os(e),r=!n&&Ps(e),i=!n&&!r&&Ns(e),o=!n&&!r&&!i&&Zs(e),s=n||r||i||o,a=s?Dt(e.length,me):[],u=a.length;for(var l in e)!t&&!Se.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ao(l,u))||a.push(l);return a}function Bn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Hn(e,t){return Ao(yi(e),Xn(t,0,e.length))}function Un(e){return Ao(yi(e))}function Vn(e,t,n){(void 0!==n&&!Rs(e[t],n)||void 0===n&&!(t in e))&&Wn(e,t,n)}function qn(e,t,n){var r=e[t];Se.call(e,t)&&Rs(r,n)&&(void 0!==n||t in e)||Wn(e,t,n)}function zn(e,t){for(var n=e.length;n--;)if(Rs(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return tr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Gn(e,t){return e&&bi(t,wa(t),e)}function Wn(e,t,n){"__proto__"==t&&yt?yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Yn(e,t){for(var n=-1,i=t.length,o=r(i),s=null==e;++n<i;)o[n]=s?void 0:ma(e,t[n]);return o}function Xn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,o){var s,a=1&t,l=2&t,p=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),void 0!==s)return s;if(!qs(e))return e;var x=Os(e);if(x){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!a)return yi(e,s)}else{var P=ro(e),O=P==d||P==f;if(Ns(e))return pi(e,a);if(P==v||P==u||O&&!i){if(s=l||O?{}:oo(e),!a)return l?function(e,t){return bi(e,no(e),t)}(e,function(e,t){return e&&bi(t,xa(t),e)}(s,e)):function(e,t){return bi(e,to(e),t)}(e,Gn(s,e))}else{if(!He[P])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case S:return di(e);case c:case h:return new r(+e);case E:return function(e,t){var n=t?di(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case C:case F:case T:case D:case R:case"[object Uint8ClampedArray]":case k:case I:return fi(e,n);case g:return new r;case m:case $:return new r(e);case y:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case w:return i=e,Fn?fe(Fn.call(i)):{}}var i}(e,P,a)}}o||(o=new Nn);var _=o.get(e);if(_)return _;o.set(e,s),Xs(e)?e.forEach((function(r){s.add(Jn(r,t,n,r,e,o))})):Ks(e)&&e.forEach((function(r,i){s.set(i,Jn(r,t,n,i,e,o))}));var j=x?void 0:(p?l?Gi:Ki:l?xa:wa)(e);return at(j||e,(function(r,i){j&&(r=e[i=r]),qn(s,i,Jn(r,t,n,i,e,o))})),s}function Qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=fe(e);r--;){var i=n[r],o=t[i],s=e[i];if(void 0===s&&!(i in e)||!o(s))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ve(o);return wo((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var i=-1,o=ht,s=!0,a=e.length,u=[],l=t.length;if(!a)return u;n&&(t=dt(t,kt(n))),r?(o=pt,s=!1):t.length>=200&&(o=Pt,s=!1,t=new Ln(t));e:for(;++i<a;){var c=e[i],h=null==n?c:n(c);if(c=r||0!==c?c:0,s&&h==h){for(var p=l;p--;)if(t[p]===h)continue e;u.push(c)}else o(t,h,r)||u.push(c)}return u}Dn.templateSettings={escape:B,evaluate:H,interpolate:U,variable:"",imports:{_:Dn}},Dn.prototype=kn.prototype,Dn.prototype.constructor=Dn,In.prototype=Rn(kn.prototype),In.prototype.constructor=In,Pn.prototype=Rn(kn.prototype),Pn.prototype.constructor=Pn,On.prototype.clear=function(){this.__data__=yn?yn(null):{},this.size=0},On.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},On.prototype.get=function(e){var t=this.__data__;if(yn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},On.prototype.has=function(e){var t=this.__data__;return yn?void 0!==t[e]:Se.call(t,e)},On.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yn&&void 0===t?"__lodash_hash_undefined__":t,this},_n.prototype.clear=function(){this.__data__=[],this.size=0},_n.prototype.delete=function(e){var t=this.__data__,n=zn(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},_n.prototype.get=function(e){var t=this.__data__,n=zn(t,e);return n<0?void 0:t[n][1]},_n.prototype.has=function(e){return zn(this.__data__,e)>-1},_n.prototype.set=function(e,t){var n=this.__data__,r=zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},jn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(fn||_n),string:new On}},jn.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},jn.prototype.get=function(e){return Qi(this,e).get(e)},jn.prototype.has=function(e){return Qi(this,e).has(e)},jn.prototype.set=function(e,t){var n=Qi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Nn.prototype.clear=function(){this.__data__=new _n,this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Nn.prototype.get=function(e){return this.__data__.get(e)},Nn.prototype.has=function(e){return this.__data__.has(e)},Nn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof _n){var r=n.__data__;if(!fn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new jn(r)}return n.set(e,t),this.size=n.size,this};var tr=xi(lr),nr=xi(cr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],s=t(o);if(null!=s&&(void 0===a?s==s&&!Qs(s):n(s,a)))var a=s,u=o}return u}function or(e,t){var n=[];return tr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function sr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=so),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?sr(a,t-1,n,r,i):ft(i,a):r||(i[i.length]=a)}return i}var ar=Si(),ur=Si(!0);function lr(e,t){return e&&ar(e,t,wa)}function cr(e,t){return e&&ur(e,t,wa)}function hr(e,t){return ct(t,(function(t){return Hs(e[t])}))}function pr(e,t){for(var n=0,r=(t=ui(t,e)).length;null!=e&&n<r;)e=e[Fo(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Os(e)?r:ft(r,n(e))}function fr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Qe&&Qe in fe(e)?function(e){var t=Se.call(e,Qe),n=e[Qe];try{e[Qe]=void 0;var r=!0}catch(e){}var i=Ce.call(e);r&&(t?e[Qe]=n:delete e[Qe]);return i}(e):function(e){return Ce.call(e)}(e)}function gr(e,t){return e>t}function mr(e,t){return null!=e&&Se.call(e,t)}function vr(e,t){return null!=e&&t in fe(e)}function yr(e,t,n){for(var i=n?pt:ht,o=e[0].length,s=e.length,a=s,u=r(s),l=1/0,c=[];a--;){var h=e[a];a&&t&&(h=dt(h,kt(t))),l=un(h.length,l),u[a]=!n&&(t||o>=120&&h.length>=120)?new Ln(a&&h):void 0}h=e[0];var p=-1,d=u[0];e:for(;++p<o&&c.length<l;){var f=h[p],g=t?t(f):f;if(f=n||0!==f?f:0,!(d?Pt(d,g):i(c,g,n))){for(a=s;--a;){var m=u[a];if(!(m?Pt(m,g):i(e[a],g,n)))continue e}d&&d.push(g),c.push(f)}}return c}function br(e,t,n){var r=null==(e=vo(e,t=ui(t,e)))?e:e[Fo(Bo(t))];return null==r?void 0:ot(r,e,n)}function $r(e){return zs(e)&&fr(e)==u}function wr(e,t,n,r,i){return e===t||(null==e||null==t||!zs(e)&&!zs(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var s=Os(e),a=Os(t),d=s?l:ro(e),f=a?l:ro(t),x=(d=d==u?v:d)==v,A=(f=f==u?v:f)==v,C=d==f;if(C&&Ns(e)){if(!Ns(t))return!1;s=!0,x=!1}if(C&&!x)return o||(o=new Nn),s||Zs(e)?qi(e,t,n,r,i,o):function(e,t,n,r,i,o,s){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!o(new Oe(e),new Oe(t)));case c:case h:case m:return Rs(+e,+t);case p:return e.name==t.name&&e.message==t.message;case y:case $:return e==t+"";case g:var a=Ht;case b:var u=1&r;if(a||(a=qt),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var d=qi(a(e),a(t),r,i,o,s);return s.delete(e),d;case w:if(Fn)return Fn.call(e)==Fn.call(t)}return!1}(e,t,d,n,r,i,o);if(!(1&n)){var F=x&&Se.call(e,"__wrapped__"),T=A&&Se.call(t,"__wrapped__");if(F||T){var D=F?e.value():e,R=T?t.value():t;return o||(o=new Nn),i(D,R,n,r,o)}}if(!C)return!1;return o||(o=new Nn),function(e,t,n,r,i,o){var s=1&n,a=Ki(e),u=a.length,l=Ki(t).length;if(u!=l&&!s)return!1;var c=u;for(;c--;){var h=a[c];if(!(s?h in t:Se.call(t,h)))return!1}var p=o.get(e),d=o.get(t);if(p&&d)return p==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);var g=s;for(;++c<u;){h=a[c];var m=e[h],v=t[h];if(r)var y=s?r(v,m,h,t,e,o):r(m,v,h,e,t,o);if(!(void 0===y?m===v||i(m,v,n,r,o):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=e.constructor,$=t.constructor;b==$||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof $&&$ instanceof $||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,o)}(e,t,n,r,wr,i))}function xr(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=fe(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var u=(a=n[i])[0],l=e[u],c=a[1];if(s&&a[2]){if(void 0===l&&!(u in e))return!1}else{var h=new Nn;if(r)var p=r(l,c,u,e,t,h);if(!(void 0===p?wr(c,l,3,r,h):p))return!1}}return!0}function Sr(e){return!(!qs(e)||(t=e,Ae&&Ae in t))&&(Hs(e)?De:se).test(To(e));var t}function Er(e){return"function"==typeof e?e:null==e?Ga:"object"==typeof e?Os(e)?Rr(e[0],e[1]):Dr(e):nu(e)}function Ar(e){if(!po(e))return sn(e);var t=[];for(var n in fe(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Cr(e){if(!qs(e))return function(e){var t=[];if(null!=e)for(var n in fe(e))t.push(n);return t}(e);var t=po(e),n=[];for(var r in e)("constructor"!=r||!t&&Se.call(e,r))&&n.push(r);return n}function Fr(e,t){return e<t}function Tr(e,t){var n=-1,i=js(e)?r(e.length):[];return tr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Dr(e){var t=Zi(e);return 1==t.length&&t[0][2]?go(t[0][0],t[0][1]):function(n){return n===e||xr(n,e,t)}}function Rr(e,t){return lo(e)&&fo(t)?go(Fo(e),t):function(n){var r=ma(n,e);return void 0===r&&r===t?va(n,e):wr(t,r,3)}}function kr(e,t,n,r,i){e!==t&&ar(t,(function(o,s){if(i||(i=new Nn),qs(o))!function(e,t,n,r,i,o,s){var a=bo(e,n),u=bo(t,n),l=s.get(u);if(l)return void Vn(e,n,l);var c=o?o(a,u,n+"",e,t,s):void 0,h=void 0===c;if(h){var p=Os(u),d=!p&&Ns(u),f=!p&&!d&&Zs(u);c=u,p||d||f?Os(a)?c=a:Ls(a)?c=yi(a):d?(h=!1,c=pi(u,!0)):f?(h=!1,c=fi(u,!0)):c=[]:Ws(u)||Ps(u)?(c=a,Ps(a)?c=aa(a):qs(a)&&!Hs(a)||(c=oo(u))):h=!1}h&&(s.set(u,c),i(c,u,r,o,s),s.delete(u));Vn(e,n,c)}(e,t,s,n,kr,r,i);else{var a=r?r(bo(e,s),o,s+"",e,t,i):void 0;void 0===a&&(a=o),Vn(e,s,a)}}),xa)}function Ir(e,t){var n=e.length;if(n)return ao(t+=t<0?n:0,n)?e[t]:void 0}function Pr(e,t,n){t=t.length?dt(t,(function(e){return Os(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Ga];var r=-1;return t=dt(t,kt(Ji())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Tr(e,(function(e,n,i){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;for(;++r<s;){var u=gi(i[r],o[r]);if(u){if(r>=a)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=pr(e,s);n(a,s)&&Ur(o,ui(s,e),a)}return o}function _r(e,t,n,r){var i=r?xt:wt,o=-1,s=t.length,a=e;for(e===t&&(t=yi(t)),n&&(a=dt(e,kt(n)));++o<s;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(a,c,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function jr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ao(i)?We.call(e,i,1):ei(e,i)}}return e}function Lr(e,t){return e+en(hn()*(t-e+1))}function Nr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Mr(e,t){return xo(mo(e,t,Ga),e+"")}function Br(e){return Bn(Ra(e))}function Hr(e,t){var n=Ra(e);return Ao(n,Xn(t,0,n.length))}function Ur(e,t,n,r){if(!qs(e))return e;for(var i=-1,o=(t=ui(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var u=Fo(t[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var c=a[u];void 0===(l=r?r(c,u,a):void 0)&&(l=qs(c)?c:ao(t[i+1])?[]:{})}qn(a,u,l),a=a[u]}return e}var Vr=bn?function(e,t){return bn.set(e,t),e}:Ga,qr=yt?function(e,t){return yt(e,"toString",{configurable:!0,enumerable:!1,value:qa(t),writable:!0})}:Ga;function zr(e){return Ao(Ra(e))}function Kr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function Gr(e,t){var n;return tr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Wr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!Qs(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return Yr(e,t,Ga,n)}function Yr(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,a=null===t,u=Qs(t),l=void 0===t;i<o;){var c=en((i+o)/2),h=n(e[c]),p=void 0!==h,d=null===h,f=h==h,g=Qs(h);if(s)var m=r||f;else m=l?f&&(r||p):a?f&&p&&(r||!d):u?f&&p&&!d&&(r||!g):!d&&!g&&(r?h<=t:h<t);m?i=c+1:o=c}return un(o,4294967294)}function Xr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Rs(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function Jr(e){return"number"==typeof e?e:Qs(e)?NaN:+e}function Qr(e){if("string"==typeof e)return e;if(Os(e))return dt(e,Qr)+"";if(Qs(e))return Tn?Tn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,i=ht,o=e.length,s=!0,a=[],u=a;if(n)s=!1,i=pt;else if(o>=200){var l=t?null:Ni(e);if(l)return qt(l);s=!1,i=Pt,u=new Ln}else u=t?[]:a;e:for(;++r<o;){var c=e[r],h=t?t(c):c;if(c=n||0!==c?c:0,s&&h==h){for(var p=u.length;p--;)if(u[p]===h)continue e;t&&u.push(h),a.push(c)}else i(u,h,n)||(u!==a&&u.push(h),a.push(c))}return a}function ei(e,t){return null==(e=vo(e,t=ui(t,e)))||delete e[Fo(Bo(t))]}function ti(e,t,n,r){return Ur(e,t,n(pr(e,t)),r)}function ni(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kr(e,r?0:o,r?o+1:i):Kr(e,r?o+1:0,r?i:o)}function ri(e,t){var n=e;return n instanceof Pn&&(n=n.value()),gt(t,(function(e,t){return t.func.apply(t.thisArg,ft([e],t.args))}),n)}function ii(e,t,n){var i=e.length;if(i<2)return i?Zr(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],u=-1;++u<i;)u!=o&&(s[o]=er(s[o]||a,e[u],t,n));return Zr(sr(s,1),t,n)}function oi(e,t,n){for(var r=-1,i=e.length,o=t.length,s={};++r<i;){var a=r<o?t[r]:void 0;n(s,e[r],a)}return s}function si(e){return Ls(e)?e:[]}function ai(e){return"function"==typeof e?e:Ga}function ui(e,t){return Os(e)?e:lo(e,t)?[e]:Co(ua(e))}var li=Mr;function ci(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var hi=Ct||function(e){return Ge.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var n=e.length,r=je?je(n):new e.constructor(n);return e.copy(r),r}function di(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function fi(e,t){var n=t?di(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function gi(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Qs(e),s=void 0!==t,a=null===t,u=t==t,l=Qs(t);if(!a&&!l&&!o&&e>t||o&&s&&u&&!a&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function mi(e,t,n,i){for(var o=-1,s=e.length,a=n.length,u=-1,l=t.length,c=an(s-a,0),h=r(l+c),p=!i;++u<l;)h[u]=t[u];for(;++o<a;)(p||o<s)&&(h[n[o]]=e[o]);for(;c--;)h[u++]=e[o++];return h}function vi(e,t,n,i){for(var o=-1,s=e.length,a=-1,u=n.length,l=-1,c=t.length,h=an(s-u,0),p=r(h+c),d=!i;++o<h;)p[o]=e[o];for(var f=o;++l<c;)p[f+l]=t[l];for(;++a<u;)(d||o<s)&&(p[f+n[a]]=e[o++]);return p}function yi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function bi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],u=r?r(n[a],e[a],a,n,e):void 0;void 0===u&&(u=e[a]),i?Wn(n,a,u):qn(n,a,u)}return n}function $i(e,t){return function(n,r){var i=Os(n)?st:Kn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function wi(e){return Mr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,s&&uo(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=fe(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t}))}function xi(e,t){return function(n,r){if(null==n)return n;if(!js(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=fe(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Si(e){return function(t,n,r){for(var i=-1,o=fe(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Ei(e){return function(t){var n=Bt(t=ua(t))?Gt(t):void 0,r=n?n[0]:t.charAt(0),i=n?ci(n,1).join(""):t.slice(1);return r[e]()+i}}function Ai(e){return function(t){return gt(Ha(Pa(t).replace(Ie,"")),e,"")}}function Ci(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Rn(e.prototype),r=e.apply(n,t);return qs(r)?r:n}}function Fi(e){return function(t,n,r){var i=fe(t);if(!js(t)){var o=Ji(n,3);t=wa(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:void 0}}function Ti(e){return zi((function(t){var n=t.length,r=n,i=In.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new ve(o);if(i&&!a&&"wrapper"==Yi(s))var a=new In([],!0)}for(r=a?r:n;++r<n;){var u=Yi(s=t[r]),l="wrapper"==u?Wi(s):void 0;a=l&&co(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Yi(l[0])].apply(a,l[3]):1==s.length&&co(s)?a[u]():a.thru(s)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Os(r))return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Di(e,t,n,i,o,s,a,u,l,c){var h=128&t,p=1&t,d=2&t,f=24&t,g=512&t,m=d?void 0:Ci(e);return function v(){for(var y=arguments.length,b=r(y),$=y;$--;)b[$]=arguments[$];if(f)var w=Xi(v),x=jt(b,w);if(i&&(b=mi(b,i,o,f)),s&&(b=vi(b,s,a,f)),y-=x,f&&y<c){var S=Vt(b,w);return ji(e,t,Di,v.placeholder,n,b,S,u,l,c-y)}var E=p?n:this,A=d?E[e]:e;return y=b.length,u?b=yo(b,u):g&&y>1&&b.reverse(),h&&l<y&&(b.length=l),this&&this!==Ge&&this instanceof v&&(A=m||Ci(A)),A.apply(E,b)}}function Ri(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function ki(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Ii(e){return zi((function(t){return t=dt(t,kt(Ji())),Mr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Pi(e,t){var n=(t=void 0===t?" ":Qr(t)).length;if(n<2)return n?Nr(t,e):t;var r=Nr(t,Zt(e/Kt(t)));return Bt(t)?ci(Gt(r),0,e).join(""):r.slice(0,e)}function Oi(e){return function(t,n,i){return i&&"number"!=typeof i&&uo(t,n,i)&&(n=i=void 0),t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n,i){for(var o=-1,s=an(Zt((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,i=void 0===i?t<n?1:-1:ra(i),e)}}function _i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=sa(t),n=sa(n)),e(t,n)}}function ji(e,t,n,r,i,o,s,a,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var h=[e,t,i,c?o:void 0,c?s:void 0,c?void 0:o,c?void 0:s,a,u,l],p=n.apply(void 0,h);return co(e)&&$o(p,h),p.placeholder=r,So(p,e,t)}function Li(e){var t=de[e];return function(e,n){if(e=sa(e),(n=null==n?0:un(ia(n),292))&&rn(e)){var r=(ua(e)+"e").split("e");return+((r=(ua(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ni=mn&&1/qt(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Qa;function Mi(e){return function(t){var n=ro(t);return n==g?Ht(t):n==b?zt(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Bi(e,t,n,i,a,u,l,c){var h=2&t;if(!h&&"function"!=typeof e)throw new ve(o);var p=i?i.length:0;if(p||(t&=-97,i=a=void 0),l=void 0===l?l:an(ia(l),0),c=void 0===c?c:ia(c),p-=a?a.length:0,64&t){var d=i,f=a;i=a=void 0}var g=h?void 0:Wi(e),m=[e,t,n,i,a,d,f,u,l,c];if(g&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?mi(l,u,t[4]):u,e[4]=l?Vt(e[3],s):t[4]}(u=t[5])&&(l=e[5],e[5]=l?vi(l,u,t[6]):u,e[6]=l?Vt(e[5],s):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:un(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(m,g),e=m[0],t=m[1],n=m[2],i=m[3],a=m[4],!(c=m[9]=void 0===m[9]?h?0:e.length:an(m[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var i=Ci(e);return function o(){for(var s=arguments.length,a=r(s),u=s,l=Xi(o);u--;)a[u]=arguments[u];var c=s<3&&a[0]!==l&&a[s-1]!==l?[]:Vt(a,l);if((s-=c.length)<n)return ji(e,t,Di,o.placeholder,void 0,a,c,void 0,void 0,n-s);var h=this&&this!==Ge&&this instanceof o?i:e;return ot(h,this,a)}}(e,t,c):32!=t&&33!=t||a.length?Di.apply(void 0,m):function(e,t,n,i){var o=1&t,s=Ci(e);return function t(){for(var a=-1,u=arguments.length,l=-1,c=i.length,h=r(c+u),p=this&&this!==Ge&&this instanceof t?s:e;++l<c;)h[l]=i[l];for(;u--;)h[l++]=arguments[++a];return ot(p,o?n:this,h)}}(e,t,n,i);else var v=function(e,t,n){var r=1&t,i=Ci(e);return function t(){var o=this&&this!==Ge&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,n);return So((g?Vr:$o)(v,m),e,t)}function Hi(e,t,n,r){return void 0===e||Rs(e,$e[n])&&!Se.call(r,n)?t:e}function Ui(e,t,n,r,i,o){return qs(e)&&qs(t)&&(o.set(t,e),kr(e,t,void 0,Ui,o),o.delete(t)),e}function Vi(e){return Ws(e)?void 0:e}function qi(e,t,n,r,i,o){var s=1&n,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var h=-1,p=!0,d=2&n?new Ln:void 0;for(o.set(e,t),o.set(t,e);++h<a;){var f=e[h],g=t[h];if(r)var m=s?r(g,f,h,t,e,o):r(f,g,h,e,t,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!vt(t,(function(e,t){if(!Pt(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){p=!1;break}}else if(f!==g&&!i(f,g,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function zi(e){return xo(mo(e,void 0,_o),e+"")}function Ki(e){return dr(e,wa,to)}function Gi(e){return dr(e,xa,no)}var Wi=bn?function(e){return bn.get(e)}:Qa;function Yi(e){for(var t=e.name+"",n=$n[t],r=Se.call($n,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Xi(e){return(Se.call(Dn,"placeholder")?Dn:e).placeholder}function Ji(){var e=Dn.iteratee||Wa;return e=e===Wa?Er:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Zi(e){for(var t=wa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,fo(i)]}return t}function eo(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Sr(n)?n:void 0}var to=tn?function(e){return null==e?[]:(e=fe(e),ct(tn(e),(function(t){return Ke.call(e,t)})))}:ou,no=tn?function(e){for(var t=[];e;)ft(t,to(e)),e=Ue(e);return t}:ou,ro=fr;function io(e,t,n){for(var r=-1,i=(t=ui(t,e)).length,o=!1;++r<i;){var s=Fo(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Vs(i)&&ao(s,i)&&(Os(e)||Ps(e))}function oo(e){return"function"!=typeof e.constructor||po(e)?{}:Rn(Ue(e))}function so(e){return Os(e)||Ps(e)||!!(Ye&&e&&e[Ye])}function ao(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function uo(e,t,n){if(!qs(n))return!1;var r=typeof t;return!!("number"==r?js(n)&&ao(t,n.length):"string"==r&&t in n)&&Rs(n[t],e)}function lo(e,t){if(Os(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qs(e))||(q.test(e)||!V.test(e)||null!=t&&e in fe(t))}function co(e){var t=Yi(e),n=Dn[t];if("function"!=typeof n||!(t in Pn.prototype))return!1;if(e===n)return!0;var r=Wi(n);return!!r&&e===r[0]}(dn&&ro(new dn(new ArrayBuffer(1)))!=E||fn&&ro(new fn)!=g||gn&&"[object Promise]"!=ro(gn.resolve())||mn&&ro(new mn)!=b||vn&&ro(new vn)!=x)&&(ro=function(e){var t=fr(e),n=t==v?e.constructor:void 0,r=n?To(n):"";if(r)switch(r){case wn:return E;case xn:return g;case Sn:return"[object Promise]";case En:return b;case An:return x}return t});var ho=we?Hs:su;function po(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$e)}function fo(e){return e==e&&!qs(e)}function go(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in fe(n)))}}function mo(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=an(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(a),ot(e,this,u)}}function vo(e,t){return t.length<2?e:pr(e,Kr(t,0,-1))}function yo(e,t){for(var n=e.length,r=un(t.length,n),i=yi(e);r--;){var o=t[r];e[r]=ao(o,n)?i[o]:void 0}return e}function bo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var $o=Eo(Vr),wo=Qt||function(e,t){return Ge.setTimeout(e,t)},xo=Eo(qr);function So(e,t,n){var r=t+"";return xo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ht(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Q):[]}(r),n)))}function Eo(e){var t=0,n=0;return function(){var r=ln(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ao(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Lr(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var Co=function(e){var t=Es(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(z,(function(e,n,r,i){t.push(r?i.replace(te,"$1"):n||e)})),t}));function Fo(e){if("string"==typeof e||Qs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function To(e){if(null!=e){try{return xe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Do(e){if(e instanceof Pn)return e.clone();var t=new In(e.__wrapped__,e.__chain__);return t.__actions__=yi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ro=Mr((function(e,t){return Ls(e)?er(e,sr(t,1,Ls,!0)):[]})),ko=Mr((function(e,t){var n=Bo(t);return Ls(n)&&(n=void 0),Ls(e)?er(e,sr(t,1,Ls,!0),Ji(n,2)):[]})),Io=Mr((function(e,t){var n=Bo(t);return Ls(n)&&(n=void 0),Ls(e)?er(e,sr(t,1,Ls,!0),void 0,n):[]}));function Po(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),$t(e,Ji(t,3),i)}function Oo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ia(n),i=n<0?an(r+i,0):un(i,r-1)),$t(e,Ji(t,3),i,!0)}function _o(e){return(null==e?0:e.length)?sr(e,1):[]}function jo(e){return e&&e.length?e[0]:void 0}var Lo=Mr((function(e){var t=dt(e,si);return t.length&&t[0]===e[0]?yr(t):[]})),No=Mr((function(e){var t=Bo(e),n=dt(e,si);return t===Bo(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?yr(n,Ji(t,2)):[]})),Mo=Mr((function(e){var t=Bo(e),n=dt(e,si);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?yr(n,void 0,t):[]}));function Bo(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ho=Mr(Uo);function Uo(e,t){return e&&e.length&&t&&t.length?_r(e,t):e}var Vo=zi((function(e,t){var n=null==e?0:e.length,r=Yn(e,t);return jr(e,dt(t,(function(e){return ao(e,n)?+e:e})).sort(gi)),r}));function qo(e){return null==e?e:pn.call(e)}var zo=Mr((function(e){return Zr(sr(e,1,Ls,!0))})),Ko=Mr((function(e){var t=Bo(e);return Ls(t)&&(t=void 0),Zr(sr(e,1,Ls,!0),Ji(t,2))})),Go=Mr((function(e){var t=Bo(e);return t="function"==typeof t?t:void 0,Zr(sr(e,1,Ls,!0),void 0,t)}));function Wo(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(Ls(e))return t=an(e.length,t),!0})),Dt(t,(function(t){return dt(e,At(t))}))}function Yo(e,t){if(!e||!e.length)return[];var n=Wo(e);return null==t?n:dt(n,(function(e){return ot(t,void 0,e)}))}var Xo=Mr((function(e,t){return Ls(e)?er(e,t):[]})),Jo=Mr((function(e){return ii(ct(e,Ls))})),Qo=Mr((function(e){var t=Bo(e);return Ls(t)&&(t=void 0),ii(ct(e,Ls),Ji(t,2))})),Zo=Mr((function(e){var t=Bo(e);return t="function"==typeof t?t:void 0,ii(ct(e,Ls),void 0,t)})),es=Mr(Wo);var ts=Mr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Yo(e,n)}));function ns(e){var t=Dn(e);return t.__chain__=!0,t}function rs(e,t){return t(e)}var is=zi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Yn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pn&&ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:rs,args:[i],thisArg:void 0}),new In(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var os=$i((function(e,t,n){Se.call(e,n)?++e[n]:Wn(e,n,1)}));var ss=Fi(Po),as=Fi(Oo);function us(e,t){return(Os(e)?at:tr)(e,Ji(t,3))}function ls(e,t){return(Os(e)?ut:nr)(e,Ji(t,3))}var cs=$i((function(e,t,n){Se.call(e,n)?e[n].push(t):Wn(e,n,[t])}));var hs=Mr((function(e,t,n){var i=-1,o="function"==typeof t,s=js(e)?r(e.length):[];return tr(e,(function(e){s[++i]=o?ot(t,e,n):br(e,t,n)})),s})),ps=$i((function(e,t,n){Wn(e,n,t)}));function ds(e,t){return(Os(e)?dt:Tr)(e,Ji(t,3))}var fs=$i((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gs=Mr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&uo(e,t[0],t[1])?t=[]:n>2&&uo(t[0],t[1],t[2])&&(t=[t[0]]),Pr(e,sr(t,1),[])})),ms=Jt||function(){return Ge.Date.now()};function vs(e,t,n){return t=n?void 0:t,Bi(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ys(e,t){var n;if("function"!=typeof t)throw new ve(o);return e=ia(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var bs=Mr((function(e,t,n){var r=1;if(n.length){var i=Vt(n,Xi(bs));r|=32}return Bi(e,r,t,n,i)})),$s=Mr((function(e,t,n){var r=3;if(n.length){var i=Vt(n,Xi($s));r|=32}return Bi(t,r,e,n,i)}));function ws(e,t,n){var r,i,s,a,u,l,c=0,h=!1,p=!1,d=!0;if("function"!=typeof e)throw new ve(o);function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function g(e){return c=e,u=wo(v,t),h?f(e):a}function m(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-c>=s}function v(){var e=ms();if(m(e))return y(e);u=wo(v,function(e){var n=t-(e-l);return p?un(n,s-(e-c)):n}(e))}function y(e){return u=void 0,d&&r?f(e):(r=i=void 0,a)}function b(){var e=ms(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===u)return g(l);if(p)return hi(u),u=wo(v,t),f(l)}return void 0===u&&(u=wo(v,t)),a}return t=sa(t)||0,qs(n)&&(h=!!n.leading,s=(p="maxWait"in n)?an(sa(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==u&&hi(u),c=0,r=l=i=u=void 0},b.flush=function(){return void 0===u?a:y(ms())},b}var xs=Mr((function(e,t){return Zn(e,1,t)})),Ss=Mr((function(e,t,n){return Zn(e,sa(t)||0,n)}));function Es(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Es.Cache||jn),n}function As(e){if("function"!=typeof e)throw new ve(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Es.Cache=jn;var Cs=li((function(e,t){var n=(t=1==t.length&&Os(t[0])?dt(t[0],kt(Ji())):dt(sr(t,1),kt(Ji()))).length;return Mr((function(r){for(var i=-1,o=un(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ot(e,this,r)}))})),Fs=Mr((function(e,t){return Bi(e,32,void 0,t,Vt(t,Xi(Fs)))})),Ts=Mr((function(e,t){return Bi(e,64,void 0,t,Vt(t,Xi(Ts)))})),Ds=zi((function(e,t){return Bi(e,256,void 0,void 0,void 0,t)}));function Rs(e,t){return e===t||e!=e&&t!=t}var ks=_i(gr),Is=_i((function(e,t){return e>=t})),Ps=$r(function(){return arguments}())?$r:function(e){return zs(e)&&Se.call(e,"callee")&&!Ke.call(e,"callee")},Os=r.isArray,_s=Ze?kt(Ze):function(e){return zs(e)&&fr(e)==S};function js(e){return null!=e&&Vs(e.length)&&!Hs(e)}function Ls(e){return zs(e)&&js(e)}var Ns=nn||su,Ms=et?kt(et):function(e){return zs(e)&&fr(e)==h};function Bs(e){if(!zs(e))return!1;var t=fr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ws(e)}function Hs(e){if(!qs(e))return!1;var t=fr(e);return t==d||t==f||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Us(e){return"number"==typeof e&&e==ia(e)}function Vs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zs(e){return null!=e&&"object"==typeof e}var Ks=tt?kt(tt):function(e){return zs(e)&&ro(e)==g};function Gs(e){return"number"==typeof e||zs(e)&&fr(e)==m}function Ws(e){if(!zs(e)||fr(e)!=v)return!1;var t=Ue(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&xe.call(n)==Fe}var Ys=nt?kt(nt):function(e){return zs(e)&&fr(e)==y};var Xs=rt?kt(rt):function(e){return zs(e)&&ro(e)==b};function Js(e){return"string"==typeof e||!Os(e)&&zs(e)&&fr(e)==$}function Qs(e){return"symbol"==typeof e||zs(e)&&fr(e)==w}var Zs=it?kt(it):function(e){return zs(e)&&Vs(e.length)&&!!Be[fr(e)]};var ea=_i(Fr),ta=_i((function(e,t){return e<=t}));function na(e){if(!e)return[];if(js(e))return Js(e)?Gt(e):yi(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ro(e);return(t==g?Ht:t==b?qt:Ra)(e)}function ra(e){return e?(e=sa(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ia(e){var t=ra(e),n=t%1;return t==t?n?t-n:t:0}function oa(e){return e?Xn(ia(e),0,4294967295):0}function sa(e){if("number"==typeof e)return e;if(Qs(e))return NaN;if(qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Rt(e);var n=oe.test(e);return n||ae.test(e)?qe(e.slice(2),n?2:8):ie.test(e)?NaN:+e}function aa(e){return bi(e,xa(e))}function ua(e){return null==e?"":Qr(e)}var la=wi((function(e,t){if(po(t)||js(t))bi(t,wa(t),e);else for(var n in t)Se.call(t,n)&&qn(e,n,t[n])})),ca=wi((function(e,t){bi(t,xa(t),e)})),ha=wi((function(e,t,n,r){bi(t,xa(t),e,r)})),pa=wi((function(e,t,n,r){bi(t,wa(t),e,r)})),da=zi(Yn);var fa=Mr((function(e,t){e=fe(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&uo(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=xa(o),a=-1,u=s.length;++a<u;){var l=s[a],c=e[l];(void 0===c||Rs(c,$e[l])&&!Se.call(e,l))&&(e[l]=o[l])}return e})),ga=Mr((function(e){return e.push(void 0,Ui),ot(Ea,void 0,e)}));function ma(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function va(e,t){return null!=e&&io(e,t,vr)}var ya=Ri((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ce.call(t)),e[t]=n}),qa(Ga)),ba=Ri((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ce.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),$a=Mr(br);function wa(e){return js(e)?Mn(e):Ar(e)}function xa(e){return js(e)?Mn(e,!0):Cr(e)}var Sa=wi((function(e,t,n){kr(e,t,n)})),Ea=wi((function(e,t,n,r){kr(e,t,n,r)})),Aa=zi((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=ui(t,e),r||(r=t.length>1),t})),bi(e,Gi(e),n),r&&(n=Jn(n,7,Vi));for(var i=t.length;i--;)ei(n,t[i]);return n}));var Ca=zi((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return va(e,n)}))}(e,t)}));function Fa(e,t){if(null==e)return{};var n=dt(Gi(e),(function(e){return[e]}));return t=Ji(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ta=Mi(wa),Da=Mi(xa);function Ra(e){return null==e?[]:It(e,wa(e))}var ka=Ai((function(e,t,n){return t=t.toLowerCase(),e+(n?Ia(t):t)}));function Ia(e){return Ba(ua(e).toLowerCase())}function Pa(e){return(e=ua(e))&&e.replace(le,Lt).replace(Pe,"")}var Oa=Ai((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),_a=Ai((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ja=Ei("toLowerCase");var La=Ai((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Na=Ai((function(e,t,n){return e+(n?" ":"")+Ba(t)}));var Ma=Ai((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ba=Ei("toUpperCase");function Ha(e,t,n){return e=ua(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(_e)||[]}(e):function(e){return e.match(Z)||[]}(e):e.match(t)||[]}var Ua=Mr((function(e,t){try{return ot(e,void 0,t)}catch(e){return Bs(e)?e:new Y(e)}})),Va=zi((function(e,t){return at(t,(function(t){t=Fo(t),Wn(e,t,bs(e[t],e))})),e}));function qa(e){return function(){return e}}var za=Ti(),Ka=Ti(!0);function Ga(e){return e}function Wa(e){return Er("function"==typeof e?e:Jn(e,1))}var Ya=Mr((function(e,t){return function(n){return br(n,e,t)}})),Xa=Mr((function(e,t){return function(n){return br(e,n,t)}}));function Ja(e,t,n){var r=wa(t),i=hr(t,r);null!=n||qs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,wa(t)));var o=!(qs(n)&&"chain"in n&&!n.chain),s=Hs(e);return at(i,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=yi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ft([this.value()],arguments))})})),e}function Qa(){}var Za=Ii(dt),eu=Ii(lt),tu=Ii(vt);function nu(e){return lo(e)?At(Fo(e)):function(e){return function(t){return pr(t,e)}}(e)}var ru=Oi(),iu=Oi(!0);function ou(){return[]}function su(){return!1}var au=ki((function(e,t){return e+t}),0),uu=Li("ceil"),lu=ki((function(e,t){return e/t}),1),cu=Li("floor");var hu,pu=ki((function(e,t){return e*t}),1),du=Li("round"),fu=ki((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new ve(o);return e=ia(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=vs,Dn.assign=la,Dn.assignIn=ca,Dn.assignInWith=ha,Dn.assignWith=pa,Dn.at=da,Dn.before=ys,Dn.bind=bs,Dn.bindAll=Va,Dn.bindKey=$s,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Os(e)?e:[e]},Dn.chain=ns,Dn.chunk=function(e,t,n){t=(n?uo(e,t,n):void 0===t)?1:an(ia(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,a=r(Zt(i/t));o<i;)a[s++]=Kr(e,o,o+=t);return a},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return ft(Os(n)?yi(n):[n],sr(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ve(o);return[n(e[0]),e[1]]})):[],Mr((function(n){for(var r=-1;++r<t;){var i=e[r];if(ot(i[0],this,n))return ot(i[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=wa(e);return function(n){return Qn(n,e,t)}}(Jn(e,1))},Dn.constant=qa,Dn.countBy=os,Dn.create=function(e,t){var n=Rn(e);return null==t?n:Gn(n,t)},Dn.curry=function e(t,n,r){var i=Bi(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Dn.curryRight=function e(t,n,r){var i=Bi(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Dn.debounce=ws,Dn.defaults=fa,Dn.defaultsDeep=ga,Dn.defer=xs,Dn.delay=Ss,Dn.difference=Ro,Dn.differenceBy=ko,Dn.differenceWith=Io,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:ia(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0):[]},Dn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&uo(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=n>r?0:oa(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return(Os(e)?ct:or)(e,Ji(t,3))},Dn.flatMap=function(e,t){return sr(ds(e,t),1)},Dn.flatMapDeep=function(e,t){return sr(ds(e,t),1/0)},Dn.flatMapDepth=function(e,t,n){return n=void 0===n?1:ia(n),sr(ds(e,t),n)},Dn.flatten=_o,Dn.flattenDeep=function(e){return(null==e?0:e.length)?sr(e,1/0):[]},Dn.flattenDepth=function(e,t){return(null==e?0:e.length)?sr(e,t=void 0===t?1:ia(t)):[]},Dn.flip=function(e){return Bi(e,512)},Dn.flow=za,Dn.flowRight=Ka,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Dn.functions=function(e){return null==e?[]:hr(e,wa(e))},Dn.functionsIn=function(e){return null==e?[]:hr(e,xa(e))},Dn.groupBy=cs,Dn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},Dn.intersection=Lo,Dn.intersectionBy=No,Dn.intersectionWith=Mo,Dn.invert=ya,Dn.invertBy=ba,Dn.invokeMap=hs,Dn.iteratee=Wa,Dn.keyBy=ps,Dn.keys=wa,Dn.keysIn=xa,Dn.map=ds,Dn.mapKeys=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){Wn(n,t(e,r,i),e)})),n},Dn.mapValues=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){Wn(n,r,t(e,r,i))})),n},Dn.matches=function(e){return Dr(Jn(e,1))},Dn.matchesProperty=function(e,t){return Rr(e,Jn(t,1))},Dn.memoize=Es,Dn.merge=Sa,Dn.mergeWith=Ea,Dn.method=Ya,Dn.methodOf=Xa,Dn.mixin=Ja,Dn.negate=As,Dn.nthArg=function(e){return e=ia(e),Mr((function(t){return Ir(t,e)}))},Dn.omit=Aa,Dn.omitBy=function(e,t){return Fa(e,As(Ji(t)))},Dn.once=function(e){return ys(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:(Os(t)||(t=null==t?[]:[t]),Os(n=r?void 0:n)||(n=null==n?[]:[n]),Pr(e,t,n))},Dn.over=Za,Dn.overArgs=Cs,Dn.overEvery=eu,Dn.overSome=tu,Dn.partial=Fs,Dn.partialRight=Ts,Dn.partition=fs,Dn.pick=Ca,Dn.pickBy=Fa,Dn.property=nu,Dn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},Dn.pull=Ho,Dn.pullAll=Uo,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,Ji(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,void 0,n):e},Dn.pullAt=Vo,Dn.range=ru,Dn.rangeRight=iu,Dn.rearg=Ds,Dn.reject=function(e,t){return(Os(e)?ct:or)(e,As(Ji(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return jr(e,i),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new ve(o);return Mr(e,t=void 0===t?t:ia(t))},Dn.reverse=qo,Dn.sampleSize=function(e,t,n){return t=(n?uo(e,t,n):void 0===t)?1:ia(t),(Os(e)?Hn:Hr)(e,t)},Dn.set=function(e,t,n){return null==e?e:Ur(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},Dn.shuffle=function(e){return(Os(e)?Un:zr)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&uo(e,t,n)?(t=0,n=r):(t=null==t?0:ia(t),n=void 0===n?r:ia(n)),Kr(e,t,n)):[]},Dn.sortBy=gs,Dn.sortedUniq=function(e){return e&&e.length?Xr(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?Xr(e,Ji(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&uo(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ua(e))&&("string"==typeof t||null!=t&&!Ys(t))&&!(t=Qr(t))&&Bt(e)?ci(Gt(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new ve(o);return t=null==t?0:an(ia(t),0),Mr((function(n){var r=n[t],i=ci(n,0,t);return r&&ft(i,r),ot(e,this,i)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:ia(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ve(o);return qs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ws(e,t,{leading:r,maxWait:t,trailing:i})},Dn.thru=rs,Dn.toArray=na,Dn.toPairs=Ta,Dn.toPairsIn=Da,Dn.toPath=function(e){return Os(e)?dt(e,Fo):Qs(e)?[e]:yi(Co(ua(e)))},Dn.toPlainObject=aa,Dn.transform=function(e,t,n){var r=Os(e),i=r||Ns(e)||Zs(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:qs(e)&&Hs(o)?Rn(Ue(e)):{}}return(i?at:lr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Dn.unary=function(e){return vs(e,1)},Dn.union=zo,Dn.unionBy=Ko,Dn.unionWith=Go,Dn.uniq=function(e){return e&&e.length?Zr(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?Zr(e,Ji(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},Dn.unset=function(e,t){return null==e||ei(e,t)},Dn.unzip=Wo,Dn.unzipWith=Yo,Dn.update=function(e,t,n){return null==e?e:ti(e,t,ai(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ti(e,t,ai(n),r)},Dn.values=Ra,Dn.valuesIn=function(e){return null==e?[]:It(e,xa(e))},Dn.without=Xo,Dn.words=Ha,Dn.wrap=function(e,t){return Fs(ai(t),e)},Dn.xor=Jo,Dn.xorBy=Qo,Dn.xorWith=Zo,Dn.zip=es,Dn.zipObject=function(e,t){return oi(e||[],t||[],qn)},Dn.zipObjectDeep=function(e,t){return oi(e||[],t||[],Ur)},Dn.zipWith=ts,Dn.entries=Ta,Dn.entriesIn=Da,Dn.extend=ca,Dn.extendWith=ha,Ja(Dn,Dn),Dn.add=au,Dn.attempt=Ua,Dn.camelCase=ka,Dn.capitalize=Ia,Dn.ceil=uu,Dn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==t&&(t=(t=sa(t))==t?t:0),Xn(sa(e),t,n)},Dn.clone=function(e){return Jn(e,4)},Dn.cloneDeep=function(e){return Jn(e,5)},Dn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},Dn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},Dn.conformsTo=function(e,t){return null==t||Qn(e,t,wa(t))},Dn.deburr=Pa,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=lu,Dn.endsWith=function(e,t,n){e=ua(e),t=Qr(t);var r=e.length,i=n=void 0===n?r:Xn(ia(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Dn.eq=Rs,Dn.escape=function(e){return(e=ua(e))&&M.test(e)?e.replace(L,Nt):e},Dn.escapeRegExp=function(e){return(e=ua(e))&&G.test(e)?e.replace(K,"\\$&"):e},Dn.every=function(e,t,n){var r=Os(e)?lt:rr;return n&&uo(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Dn.find=ss,Dn.findIndex=Po,Dn.findKey=function(e,t){return bt(e,Ji(t,3),lr)},Dn.findLast=as,Dn.findLastIndex=Oo,Dn.findLastKey=function(e,t){return bt(e,Ji(t,3),cr)},Dn.floor=cu,Dn.forEach=us,Dn.forEachRight=ls,Dn.forIn=function(e,t){return null==e?e:ar(e,Ji(t,3),xa)},Dn.forInRight=function(e,t){return null==e?e:ur(e,Ji(t,3),xa)},Dn.forOwn=function(e,t){return e&&lr(e,Ji(t,3))},Dn.forOwnRight=function(e,t){return e&&cr(e,Ji(t,3))},Dn.get=ma,Dn.gt=ks,Dn.gte=Is,Dn.has=function(e,t){return null!=e&&io(e,t,mr)},Dn.hasIn=va,Dn.head=jo,Dn.identity=Ga,Dn.includes=function(e,t,n,r){e=js(e)?e:Ra(e),n=n&&!r?ia(n):0;var i=e.length;return n<0&&(n=an(i+n,0)),Js(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&wt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),wt(e,t,i)},Dn.inRange=function(e,t,n){return t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n){return e>=un(t,n)&&e<an(t,n)}(e=sa(e),t,n)},Dn.invoke=$a,Dn.isArguments=Ps,Dn.isArray=Os,Dn.isArrayBuffer=_s,Dn.isArrayLike=js,Dn.isArrayLikeObject=Ls,Dn.isBoolean=function(e){return!0===e||!1===e||zs(e)&&fr(e)==c},Dn.isBuffer=Ns,Dn.isDate=Ms,Dn.isElement=function(e){return zs(e)&&1===e.nodeType&&!Ws(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(js(e)&&(Os(e)||"string"==typeof e||"function"==typeof e.splice||Ns(e)||Zs(e)||Ps(e)))return!e.length;var t=ro(e);if(t==g||t==b)return!e.size;if(po(e))return!Ar(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return wr(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Dn.isError=Bs,Dn.isFinite=function(e){return"number"==typeof e&&rn(e)},Dn.isFunction=Hs,Dn.isInteger=Us,Dn.isLength=Vs,Dn.isMap=Ks,Dn.isMatch=function(e,t){return e===t||xr(e,t,Zi(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,xr(e,t,Zi(t),n)},Dn.isNaN=function(e){return Gs(e)&&e!=+e},Dn.isNative=function(e){if(ho(e))throw new Y("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Sr(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=Gs,Dn.isObject=qs,Dn.isObjectLike=zs,Dn.isPlainObject=Ws,Dn.isRegExp=Ys,Dn.isSafeInteger=function(e){return Us(e)&&e>=-9007199254740991&&e<=9007199254740991},Dn.isSet=Xs,Dn.isString=Js,Dn.isSymbol=Qs,Dn.isTypedArray=Zs,Dn.isUndefined=function(e){return void 0===e},Dn.isWeakMap=function(e){return zs(e)&&ro(e)==x},Dn.isWeakSet=function(e){return zs(e)&&"[object WeakSet]"==fr(e)},Dn.join=function(e,t){return null==e?"":on.call(e,t)},Dn.kebabCase=Oa,Dn.last=Bo,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ia(n))<0?an(r+i,0):un(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):$t(e,St,i,!0)},Dn.lowerCase=_a,Dn.lowerFirst=ja,Dn.lt=ea,Dn.lte=ta,Dn.max=function(e){return e&&e.length?ir(e,Ga,gr):void 0},Dn.maxBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),gr):void 0},Dn.mean=function(e){return Et(e,Ga)},Dn.meanBy=function(e,t){return Et(e,Ji(t,2))},Dn.min=function(e){return e&&e.length?ir(e,Ga,Fr):void 0},Dn.minBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),Fr):void 0},Dn.stubArray=ou,Dn.stubFalse=su,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=pu,Dn.nth=function(e,t){return e&&e.length?Ir(e,ia(t)):void 0},Dn.noConflict=function(){return Ge._===this&&(Ge._=Te),this},Dn.noop=Qa,Dn.now=ms,Dn.pad=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Pi(en(i),n)+e+Pi(Zt(i),n)},Dn.padEnd=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?e+Pi(t-r,n):e},Dn.padStart=function(e,t,n){e=ua(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?Pi(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),cn(ua(e).replace(W,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&uo(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ra(e),void 0===t?(t=e,e=0):t=ra(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hn();return un(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Lr(e,t)},Dn.reduce=function(e,t,n){var r=Os(e)?gt:Ft,i=arguments.length<3;return r(e,Ji(t,4),n,i,tr)},Dn.reduceRight=function(e,t,n){var r=Os(e)?mt:Ft,i=arguments.length<3;return r(e,Ji(t,4),n,i,nr)},Dn.repeat=function(e,t,n){return t=(n?uo(e,t,n):void 0===t)?1:ia(t),Nr(ua(e),t)},Dn.replace=function(){var e=arguments,t=ua(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,i=(t=ui(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[Fo(t[r])];void 0===o&&(r=i,o=n),e=Hs(o)?o.call(e):o}return e},Dn.round=du,Dn.runInContext=e,Dn.sample=function(e){return(Os(e)?Bn:Br)(e)},Dn.size=function(e){if(null==e)return 0;if(js(e))return Js(e)?Kt(e):e.length;var t=ro(e);return t==g||t==b?e.size:Ar(e).length},Dn.snakeCase=La,Dn.some=function(e,t,n){var r=Os(e)?vt:Gr;return n&&uo(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Dn.sortedIndex=function(e,t){return Wr(e,t)},Dn.sortedIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Wr(e,t);if(r<n&&Rs(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return Wr(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Wr(e,t,!0)-1;if(Rs(e[n],t))return n}return-1},Dn.startCase=Na,Dn.startsWith=function(e,t,n){return e=ua(e),n=null==n?0:Xn(ia(n),0,e.length),t=Qr(t),e.slice(n,n+t.length)==t},Dn.subtract=fu,Dn.sum=function(e){return e&&e.length?Tt(e,Ga):0},Dn.sumBy=function(e,t){return e&&e.length?Tt(e,Ji(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&uo(e,t,n)&&(t=void 0),e=ua(e),t=ha({},t,r,Hi);var i,o,s=ha({},t.imports,r.imports,Hi),a=wa(s),u=It(s,a),l=0,c=t.interpolate||ce,h="__p += '",p=ge((t.escape||ce).source+"|"+c.source+"|"+(c===U?ne:ce).source+"|"+(t.evaluate||ce).source+"|$","g"),d="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Me+"]")+"\n";e.replace(p,(function(t,n,r,s,a,u){return r||(r=s),h+=e.slice(l,u).replace(he,Mt),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),h+="';\n";var f=Se.call(t,"variable")&&t.variable;if(f){if(ee.test(f))throw new Y("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(P,""):h).replace(O,"$1").replace(_,"$1;"),h="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Ua((function(){return pe(a,d+"return "+h).apply(void 0,u)}));if(g.source=h,Bs(g))throw g;return g},Dn.times=function(e,t){if((e=ia(e))<1||e>9007199254740991)return[];var n=4294967295,r=un(e,4294967295);e-=4294967295;for(var i=Dt(r,t=Ji(t));++n<e;)t(n);return i},Dn.toFinite=ra,Dn.toInteger=ia,Dn.toLength=oa,Dn.toLower=function(e){return ua(e).toLowerCase()},Dn.toNumber=sa,Dn.toSafeInteger=function(e){return e?Xn(ia(e),-9007199254740991,9007199254740991):0===e?e:0},Dn.toString=ua,Dn.toUpper=function(e){return ua(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return Rt(e);if(!e||!(t=Qr(t)))return e;var r=Gt(e),i=Gt(t);return ci(r,Ot(r,i),_t(r,i)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.slice(0,Wt(e)+1);if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ci(r,0,_t(r,Gt(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.replace(W,"");if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ci(r,Ot(r,Gt(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(qs(t)){var i="separator"in t?t.separator:i;n="length"in t?ia(t.length):n,r="omission"in t?Qr(t.omission):r}var o=(e=ua(e)).length;if(Bt(e)){var s=Gt(e);o=s.length}if(n>=o)return e;var a=n-Kt(r);if(a<1)return r;var u=s?ci(s,0,a).join(""):e.slice(0,a);if(void 0===i)return u+r;if(s&&(a+=u.length-a),Ys(i)){if(e.slice(a).search(i)){var l,c=u;for(i.global||(i=ge(i.source,ua(re.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var h=l.index;u=u.slice(0,void 0===h?a:h)}}else if(e.indexOf(Qr(i),a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Dn.unescape=function(e){return(e=ua(e))&&N.test(e)?e.replace(j,Yt):e},Dn.uniqueId=function(e){var t=++Ee;return ua(e)+t},Dn.upperCase=Ma,Dn.upperFirst=Ba,Dn.each=us,Dn.eachRight=ls,Dn.first=jo,Ja(Dn,(hu={},lr(Dn,(function(e,t){Se.call(Dn.prototype,t)||(hu[t]=e)})),hu),{chain:!1}),Dn.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),at(["drop","take"],(function(e,t){Pn.prototype[e]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!t?new Pn(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Pn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Pn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Pn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Pn.prototype[e]=function(){return this.__filtered__?new Pn(this):this[n](1)}})),Pn.prototype.compact=function(){return this.filter(Ga)},Pn.prototype.find=function(e){return this.filter(e).head()},Pn.prototype.findLast=function(e){return this.reverse().find(e)},Pn.prototype.invokeMap=Mr((function(e,t){return"function"==typeof e?new Pn(this):this.map((function(n){return br(n,e,t)}))})),Pn.prototype.reject=function(e){return this.filter(As(Ji(e)))},Pn.prototype.slice=function(e,t){e=ia(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Pn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ia(t))<0?n.dropRight(-t):n.take(t-e)),n)},Pn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pn.prototype.toArray=function(){return this.take(4294967295)},lr(Pn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Dn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Dn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Pn,u=s[0],l=a||Os(t),c=function(e){var t=i.apply(Dn,ft([e],s));return r&&h?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,f=a&&!p;if(!o&&l){t=f?t:new Pn(this);var g=e.apply(t,s);return g.__actions__.push({func:rs,args:[c],thisArg:void 0}),new In(g,h)}return d&&f?e.apply(this,s):(g=this.thru(c),d?r?g.value()[0]:g.value():g)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Os(i)?i:[],e)}return this[n]((function(n){return t.apply(Os(n)?n:[],e)}))}})),lr(Pn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Se.call($n,r)||($n[r]=[]),$n[r].push({name:t,func:n})}})),$n[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],Pn.prototype.clone=function(){var e=new Pn(this.__wrapped__);return e.__actions__=yi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yi(this.__views__),e},Pn.prototype.reverse=function(){if(this.__filtered__){var e=new Pn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Pn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Os(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=un(t,e+s);break;case"takeRight":e=an(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,l=r?a:s-1,c=this.__iteratees__,h=c.length,p=0,d=un(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return ri(e,this.__actions__);var f=[];e:for(;u--&&p<d;){for(var g=-1,m=e[l+=t];++g<h;){var v=c[g],y=v.iteratee,b=v.type,$=y(m);if(2==b)m=$;else if(!$){if(1==b)continue e;break e}}f[p++]=m}return f},Dn.prototype.at=is,Dn.prototype.chain=function(){return ns(this)},Dn.prototype.commit=function(){return new In(this.value(),this.__chain__)},Dn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof kn;){var r=Do(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Pn){var t=e;return this.__actions__.length&&(t=new Pn(this)),(t=t.reverse()).__actions__.push({func:rs,args:[qo],thisArg:void 0}),new In(t,this.__chain__)}return this.thru(qo)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Je&&(Dn.prototype[Je]=function(){return this}),Dn}();Ge._=Xt,void 0===(i=function(){return Xt}.call(t,n,t,r))||(r.exports=i)}).call(this)}).call(this,n(11),n(143)(e))},28:function(e,t,n){"use strict";n.r(t);n(10);var r=n(0);function i(){return{template:function(e,t){return'<object width="'+t.size+'" height="'+t.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.6-RC1">{{\'common.loading\' | translate}}</object>'}}}function o(){return{template:function(e,t){return'<object width="'+t.size+'" height="'+t.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.6-RC1"></object><div>{{\'common.loading\' | translate}}<div>'}}}function s(e){const t=function(e,n){n.timer=void 0,n.currentMessage=n.getMessage();const r=n.timeout[n.index%n.timeout.length];r&&(n.timer=e((function(){(n.index+1<n.message.length||0===n.message.length)&&(n.index++,t(e,n))}),1e3*r))};return{restrict:"EA",scope:{size:"@",trigger:"@",messageAttr:"=*message",timeoutAttr:"=*timeout",ngShow:"=",ngHide:"="},link:function(n){n.message=n.messageAttr,n.getMessage=function(){return n.message[n.index]},void 0===n.message?n.message=[""]:"function"==typeof n.message?(n.getMessage=n.message,n.message=[]):"object"!=typeof n.message&&(n.message=[n.message]),n.timeout=n.timeoutAttr,void 0===n.timeout?n.timeout=[0]:"object"!=typeof n.timeout&&(n.timeout=[n.timeout]),n.index=0,t(e,n);const r=function(r){n.timer&&e.cancel(n.timer),r&&(n.index=0,t(e,n))};n.$watch("ngShow",(function(e){r(e)})),n.$watch("ngHide",(function(e){r(!e)})),n.$on("$destroy",(function(){n.timer&&e.cancel(n.timer)}))},template:'<div class="ot-loader-new-content"><img width="{{size}}" height="{{size}}" src="js/angular/templates/loader/ot-loader.svg?v=2.7.6-RC1"/><div style="font-size: {{size/4}}px">{{currentMessage}}<div></div>'}}function a(e){return{restrict:"EA",transclude:!0,templateUrl:"js/angular/core/templates/core-errors.html",link:function(t,n,r){let i;t.$watch("getActiveRepository()",(function(e){e&&!t.isRestricted?n.hide():n.show()})),t.setAttrs(r),t.setRestricted(),t.showRemoteLocations=!1,t.toggleShowRemoteLocations=()=>{t.showRemoteLocations=!t.showRemoteLocations},t.getAccessibleRepositories=function(){let e=e=>!0;return t.showRemoteLocations||(e=e=>e.local),t.isRestricted?t.getWritableRepositories().filter(e):t.getReadableRepositories().filter(e)},t.showPopoverForRepo=function(n,r){t.hidePopoverForRepo(),t.setPopoverRepo(r),e((function(){const e=$(n.toElement).find(".popover-anchor")[0];i=e,e&&!t.getActiveRepository()&&e.dispatchEvent(new Event("show"))})),n.stopPropagation()},t.hidePopoverForRepo=function(t){if(t){let e=t.relatedTarget;for(;e;){if(0===e.className.indexOf("popover"))return;e=e.parentElement}}i&&e((function(){i&&(i.dispatchEvent(new Event("hide")),i=null)})),t&&t.stopPropagation()}}}}function u(){return function(e,t){$(t).click((function(e){e.preventDefault(),e.stopPropagation()}))}}function l(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){e.multiRequired||(e.multiRequired=[]);const i=n.multiRequireElement,o=function(t){i&&i%1==0&&(e.multiRequired[i-1]=t)},s=function(){let t=!1,n=!1;for(let r=0;r<e.multiRequired.length;r++)e.multiRequired[r]?t=!0:n=!0;r.$setValidity("multiRequire",!(t&&n))};r.$parsers.unshift((function(e){return o(e),s(),e})),r.$formatters.unshift((function(e){return o(e),s(),e})),$("[multi-required]").on("blur keyup change focusout",(function(){s()}))}}}angular.module("graphdb.framework.core.directives",["graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).directive("ontoLoader",i).directive("ontoLoaderFancy",o).directive("ontoLoaderNew",s).directive("coreErrors",a).directive("eatClick",u).directive("multiRequired",l).directive("searchResourceInput",h).directive("keyboardShortcuts",p).directive("inactivePluginDirective",d).directive("autoGrow",(function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){const i=function(){const e=r.$viewValue;e&&""!==e.trim()?(t[0].style.height="0px",t[0].style.height=t[0].scrollHeight+"px"):t[0].style.height="26px",t[0].style.overflow="hidden"};e.$watch((function(){return r.$viewValue}),(function(){i()})),t.bind("input change",(function(){i()}))}}})).directive("captureHeight",(function(){return{restrict:"A",scope:{rowIndex:"=captureHeight"},link:function(e,t,n){e.$watch((function(){return t[0].offsetHeight}),(function(t){e.$parent.rowHeights[e.rowIndex]=t+"px!important"}))}}})),i.$inject=[],o.$inject=[],s.$inject=["$timeout"],a.$inject=["$timeout"],u.$inject=[],l.$inject=[];const c={table:"table",visual:"visual"};function h(e,t,n,i,o,s,a,u,l,h,p,d){return{restrict:"EA",scope:{namespacespromise:"=",autocompletepromisestatus:"=",textButton:"@",visualButton:"@",textCallback:"&",visualCallback:"&",placeholder:"@",uriValidation:"@",preserveInput:"@",empty:"=",clear:"=?clear",openInNewTab:"@",preserveSearch:"@",radioButtons:"@",clearInputIcon:"@"},templateUrl:"js/angular/core/templates/search-resource-input.html",link:function(f,g,m){g.autoCompleteStatus=void 0,g.autoCompleteWarning=!1,f.empty=!1,f.clear=!1,f.searchDisplayType=c;const v="true"===f.preserveSearch,y=g.find(".view-res-input");let b,w;f.textButtonLabel=f.textButton||"query.editor.table.btn",f.visualButtonLabel=f.visualButton||"query.editor.visual.btn",f.showClearInputIcon=!1,f.searchType=u.get(l.RDF_SEARCH_TYPE)||c.table,f.searchInput="",f.changeSearchType=function(e){f.searchType=e,u.set(l.RDF_SEARCH_TYPE,f.searchType)},f.$on("addStartFixedNodeAutomatically",(function(e,t){f.searchInput||!t.startIRI?f.checkIfValidAndSearchText():f.visualCallback({uri:t.startIRI,label:""})})),f.clearInput=function(){f.searchInput="",f.selectedElementIndex=-1,f.autoCompleteUriResults=[],f.showClearInputIcon=!1,u.remove(l.RDF_SEARCH_INPUT),u.remove(l.RDF_SEARCH_EXPANDED_URI),u.remove(l.RDF_RESOURCE_DESCRIPTION)},f.$watch("namespacespromise",(function(){angular.isDefined(f.namespacespromise)&&f.namespacespromise.success((function(e){g.namespaces=e.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}}))})).error((function(e){const n=getError(e);t.error(n,p.instant("error.getting.namespaces.for.repo"))}))})),f.$watch("autocompletepromisestatus",(function(){!h.isActiveRepoFedXType()&&angular.isDefined(f.autocompletepromisestatus)&&f.autocompletepromisestatus.success((function(e){g.autoCompleteStatus=!!e,""!==f.searchInput&&f.onChange()})).error((function(){t.error(p.instant("explore.error.autocomplete"))}))})),f.$watch("empty",(function(){v||(f.searchInput="",f.empty=!1)})),f.$watch("clear",(function(){f.clear&&(f.clearInput(),f.clear=!1)})),o.$on("$translateChangeSuccess",(function(){m.$attr.placeholder?f.placeholder=m.$attr.placeholder:f.placeholder=p.instant("search.resources.msg")+"..."}));const x=function(t){const n=t.type||"uri";"true"===f.openInNewTab?E(!1,t):e.path("resource").search(n,t.uri)},S=function(t){const n=t.type||"uri";"true"===f.openInNewTab?E(!0,t):e.path("graphs-visualizations").search(n,t.uri)},E=function(e,t){const n=e?"graphs-visualizations":"resource";window.open(`${n}?uri=${encodeURIComponent(t.uri)}`)};angular.isUndefined(m.$attr.textCallback)&&(f.textCallback=x),angular.isUndefined(m.$attr.visualCallback)&&(f.visualCallback=S),m.$attr.textButton&&!f.textButton?f.textCallback=f.visualCallback:m.$attr.visualButton&&!f.visualButton&&(f.visualCallback=f.textCallback),m.$attr.placeholder?f.placeholder=m.$attr.placeholder:f.placeholder=p.instant("search.resources.msg")+"...",angular.isDefined(m.$attr.uriValidation)?f.uriValidation=m.$attr.uriValidation:f.uriValidation="true",angular.isDefined(m.$attr.preserveInput)&&(f.preserveInput=m.$attr.preserveInput),f.getResultItemHtml=function(e){return a.trustAsHtml(e.description)},f.searchRdfResource=function(e,t){if("prefix"===e.type)f.searchInput=T(e.value+":"),y.focus(),f.onChange();else{let n;n=angular.isUndefined(e)?f.searchInput:"object"==typeof e?e.value:e;let r="";if(e.description){const t=e.description.indexOf("<"+n+">");t>0&&(r=e.description.substring(0,t).replace(/<\/?b>/g,""))}t({uri:n,description:e.description,label:r,type:e.type}),v?(f.selectedElementIndex=f.activeSearchElm,u.set(l.RDF_SEARCH_EXPANDED_URI,b),u.set(l.RDF_SEARCH_INPUT,f.searchInput),u.set(l.RDF_RESOURCE_DESCRIPTION,e.description)):"true"===f.preserveInput?(f.searchInput=n,f.autoCompleteUriResults=[]):(f.searchInput="",f.autoCompleteUriResults=[])}},f.searchRdfResourceByEvent=function(e,t){f.searchType===c.visual||t.ctrlKey||t.metaKey?f.searchRdfResource(e,f.visualCallback):f.searchRdfResource(e,f.textCallback)};const A=function(e){const n=f.searchInput;""!==n?"false"!==f.uriValidation?g.autoCompleteStatus&&f.autoCompleteUriResults&&f.autoCompleteUriResults.length>0?"prefix"===f.autoCompleteUriResults[f.activeSearchElm].type?(f.searchInput=T(f.autoCompleteUriResults[f.activeSearchElm].value+":"),f.autoCompleteUriResults=[]):f.searchRdfResource(f.autoCompleteUriResults[f.activeSearchElm],e):F(n)?f.searchRdfResource(n,e):t.error(p.instant("invalid.uri.msg")):f.searchRdfResource(n,e):t.error(p.instant("fill.input.field.msg"))};function C(){let e=-1;const n=u.get(l.RDF_RESOURCE_DESCRIPTION);n&&f.autoCompleteUriResults&&(e=f.autoCompleteUriResults.findIndex(e=>e.description===n),f.selectedElementIndex=e,new Promise(e=>{const t=document.getElementById("auto-complete-results-wrapper").getBoundingClientRect();setTimeout(()=>{e(t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth))})}).then((function(){!function(){const e=$("#auto-complete-results-wrapper"),t=$("#auto_"+f.selectedElementIndex);e.animate({scrollTop:t.offset().top-e.offset().top+e.scrollTop()})}()})).catch((function(e){t.error(getError(e),p.instant("no.prev.search.element"))}))),f.activeSearchElm=-1===e?0:e}function F(e){const t=e.indexOf("<")>=0&&e.indexOf(">")>=0,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?(http|urn).*>?/.test(e)&&(t||n);let i=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");i=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(i=e.substring(4).length>0);return r&&i}function T(e){if(!/^<?(http|urn).*>?/.test(e)){const t=e.split(":"),r=t[0],i=t[1];if(!angular.isUndefined(i)){const e=n.getNamespaceUriForPrefix(g.namespaces,r);if(b=e!==b?e:b,b)return y.val(b),b+i}}return e}f.checkIfValidAndSearchText=function(){A(f.textCallback)},f.checkIfValidAndSearchVisual=function(){A(f.visualCallback)},f.checkIfValidAndSearchEvent=function(e){f.searchType===c.visual||e.ctrlKey||e.metaKey?A(f.visualCallback):A(f.textCallback)},f.onChange=function(){return f.showClearInputIcon=f.clearInputIcon,v&&u.set(l.RDF_SEARCH_INPUT,f.searchInput),"false"!==f.uriValidation&&(f.searchInput=T(f.searchInput),g.autoCompleteStatus)?function(e){let t=e.replace(b,b+";");if(g.autoCompleteStatus)return";"===t.charAt(0)&&(t=t.slice(1)),t=function(e){let t=e;if(-1===t.indexOf(";")&&F(t)){t=t.replace(/<|>/g,"");const e=/[^/^#]*$/.exec(t)[0];return t.split(e)[0]+";"+e}return t}(t),w&&w.resolve(),w=s.defer(),i.getAutocompleteSuggestions(t,w.promise).then((function(e){w=null,f.autoCompleteUriResults=e.data.suggestions,f.activeSearchElm=0}));return Promise.resolve()}(f.searchInput):Promise.resolve()},f.onKeyDown=function(e){if(13===e.keyCode){if(e.preventDefault(),d.isActive())return;"false"!==f.uriValidation?g.autoCompleteStatus?f.checkIfValidAndSearchEvent(e):F(e.target.value)?f.searchRdfResourceByEvent(e.target.value,e):t.error(p.instant("invalid.uri.msg")):f.searchRdfResourceByEvent(e.target.value,e)}else if(f.searchInput.length>0&&!g.autoCompleteWarning&&!g.autoCompleteStatus){g.autoCompleteWarning=!0;const e=Object(r.decodeHTML)(p.instant("explore.autocomplete.warning.msg"));t.warning("",`<div class="autocomplete-toast"><a href="autocomplete">${e}</a></div>`,{allowHtml:!0})}if(g.autoCompleteStatus&&!angular.isUndefined(f.autoCompleteUriResults)){if(40===e.keyCode&&f.activeSearchElm<f.autoCompleteUriResults.length-1&&(f.activeSearchElm++,f.searchInput=f.autoCompleteUriResults[f.activeSearchElm].value,function(){const e=$("#auto-complete-results-wrapper"),t=e.children("div"),n=e.children("div.active");void 0!==n[0]&&n[0].offsetTop-t.height()-6-e.scrollTop()>170&&e.scrollTop(n[0].offsetTop-t.height()-6-170)}()),38===e.keyCode&&f.activeSearchElm>0&&(e.preventDefault(),f.activeSearchElm--,f.searchInput=f.autoCompleteUriResults[f.activeSearchElm].value,function(){const e=$("#auto-complete-results-wrapper"),t=e.children("div"),n=e.children("div.active");void 0!==n[0]&&n[0].offsetTop-t.height()-40<=e.scrollTop()&&e.scrollTop(e.scrollTop()-34)}()),27===e.keyCode){if(v)return;f.searchInput="",f.autoCompleteUriResults=[]}f.searchInput||f.clearInput()}},f.$on("rdfResourceSearchExpanded",(function(){(v?(f.preserveInput="true",f.searchInput=u.get(l.RDF_SEARCH_INPUT)||"",b=u.get(l.RDF_SEARCH_EXPANDED_URI),f.onChange()):Promise.resolve()).then((function(){C()}))})),f.setActiveClassOnMouseMove=function(e){g.autoCompleteStatus&&(f.activeSearchElm=e)}}}}function p(e){return{restrict:"AE",link:function(t,n,r){function i(e){27===e.keyCode&&(t.toggleCheatSheet(),t.$apply())}t.getTemplateUrl=function(){return r.templateUrl},t.shortcutsVisible=!1,t.toggleCheatSheet=function(){t.shortcutsVisible=!t.shortcutsVisible,t.shortcutsVisible?e.on("keydown",i):e.off("keydown",i)}},template:'<ng-include src="getTemplateUrl()" />'}}function d(e,t,n,i,o,s){return{restrict:"E",transclude:!0,scope:{loadSaved:"&",setPluginActive:"&",pluginName:"@",humanReadablePluginName:"@"},templateUrl:"js/angular/core/templates/inactive-plugin-warning-page.html",link:function(a){function u(){if(o.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType())return t.checkPluginIsActive(a.pluginName,i.getActiveRepository()).then((function({data:e}){a.pluginIsActive=e.indexOf("true")>0,a.setPluginActive({isPluginActive:a.pluginIsActive})})).catch((function(t){e.error(getError(t),s.instant("check.active.plugin.failure"))}))}a.pluginIsActive=!0,a.activatePlugin=function(){const o=Object(r.decodeHTML)(s.instant("activate.plugin.warning.msg",{humanReadablePluginName:a.humanReadablePluginName}));n.openSimpleModal({title:s.instant("activate.plugin.confirmation"),message:`<p>${o}</p>`,warning:!0}).result.then((function(){t.activatePlugin(a.pluginName,i.getActiveRepository()).then((function(){a.pluginIsActive=!0,a.setPluginActive({isPluginActive:a.pluginIsActive}),a.loadSaved()})).catch((function(t){e.error(getError(t),s.instant("activate.plugin.failure"))}))}))};const l=a.$on("repositoryIsSet",(function(){u()}));window.addEventListener("beforeunload",(function e(){l(),window.removeEventListener("beforeunload",e)})),a.$on("checkIsActive",u),u()}}}h.$inject=["$location","toastr","ClassInstanceDetailsService","AutocompleteRestService","$rootScope","$q","$sce","LocalStorageAdapter","LSKeys","$repositories","$translate","GuidesService"],p.$inject=["$document"],d.$inject=["toastr","RDF4JRepositoriesRestService","ModalService","$repositories","$licenseService","$translate"]},29:function(e,t,n){"use strict";n.r(t);n(7),n(18),n(36),n(16),n(62),n(63),n(15);var r=n(12),i=n(17);angular.module("graphdb.framework.core.services.repositories",["ngCookies","graphdb.framework.rest.repositories.service","graphdb.framework.rest.locations.service","graphdb.framework.rest.license.service","toastr","graphdb.framework.utils.event-emitter-service"]).service("$repositories",["toastr","$rootScope","$timeout","$location","productInfo","$jwtAuth","RepositoriesRestService","LocationsRestService","LicenseRestService","$translate","$q","LocalStorageAdapter","LSKeys","EventEmitterService","RDF4JRepositoriesRestService",function(e,t,n,o,s,a,u,l,c,h,p,d,f,g,m){this.location={uri:"",label:"Local",local:!0,isInCluster:!1},this.locationError="",this.loading=!0,this.locations=[this.location],this.repositories=new Map,this.locationsShouldReload=!0;const v=this,y=function(t,n){v.loading=!1,t&&(v.location={},v.locationError=n,v.repositories=new Map,v.setRepository(""),t.statusText?e.error(t.statusText,h.instant("repositories.service.error.loading.location")):e.error(h.instant("repositories.service.error.loading.location")))};let b;this.resetActiveRepository=function(){const e=this.getActiveRepositoryObjectFromStorage(),n=v.repositories.get(e.location);let r=!1;n&&(r=n.find(t=>t.id===e.id)),r?a.canReadRepo(e)?t.$broadcast("repositoryIsSet",{newRepo:!1}):this.setRepository(""):this.setRepository(this.location.defaultRepository?{id:this.location.defaultRepository,location:this.location.uri}:"")},this.checkLocationsDegraded=function(e){this.locations.forEach(t=>{t.local||(t.errorMsg&&v.repositories.delete(t.uri)&&v.resetActiveRepository(),c.getVersion(t.uri).success((function(e){"object"==typeof e?e.productVersion!==s.productVersion&&(t.degradedReason=h.instant("repositories.service.different.gdb.version",{location:t.name})):t.degradedReason=h.instant("repositories.service.different.gdb.version",{location:t.name})})).error((function(n){t.errorMsg=n,e||(v.locationsShouldReload=!0)})))})},this.getDegradedReason=function(){const e=this.getActiveRepositoryObjectFromStorage(),t=this.locations.find(t=>t.uri===e.location);return t?t.degradedReason:""},this.clearLocationErrorMsg=function(e){const t=this.locations.find(t=>t.uri===e);t&&t.errorMsg&&(t.errorMsg=null)},this.initQuick=function(){this.hasActiveLocation()&&this.init(null,null,!0)},this.assignHashesToRepositories=function(e){return e.map(e=>{const t=Object(i.md5HashGenerator)();return e.hash=t(JSON.stringify(e)),e})},this.init=function(e,n,r){return this.loading=!0,r||(this.locationsShouldReload=!0),l.getActiveLocation().then((function(i){if(i.data){const o=i.data;if(o.active)return u.getRepositories().then((function(n){v.location=o,Object.entries(n.data).forEach(([e,t])=>{const n=v.assignHashesToRepositories(t);v.clearLocationErrorMsg(e),v.repositories.set(e,n)}),v.resetActiveRepository(),y(),v.checkLocationsDegraded(r),t.globalLocation=v.location,t.globalRepositories=v.getRepositories(),e&&e()})).catch((function(e){y(e),n&&n()}))}else y(),r&&(v.locationsShouldReload=!0),v.location="",v.repositories=new Map,v.setRepository("");t.globalLocation=v.location,t.globalRepositories=v.getRepositories()})).catch((function(e){y(e),n&&n()}))},this.getLocations=function(e){if(this.locationsShouldReload||b)return b||(this.locationsShouldReload=!1,this.locations=[this.location],b=l.getLocations(e,!0).then(e=>(v.locations=e.data,this.locations)).catch((function(){n((function(){v.locationsShouldReload=!0}),2e3)})).finally(()=>{b=null})),b;const t=p.defer();return t.resolve(this.locations),t.promise},this.getActiveLocation=function(){return this.location},this.hasActiveLocation=function(){return!_.isEmpty(this.location)},this.getLocationError=function(){return this.locationError?this.locationError:h.instant("repositories.service.no.active.location")},this.isLoadingLocation=function(){return this.loading},this.getRepositories=function(){const e=[];return this.repositories.forEach(t=>e.push.apply(e,t)),e},this.getReadableRepositories=function(){return _.filter(this.getRepositories(),(function(e){return a.canReadRepo(e)}))},this.getWritableRepositories=function(){const e=this;return _.filter(this.getRepositories(),(function(t){return a.canWriteRepo(t)&&!e.isActiveRepoOntopType(t)}))},this.getActiveRepositoryObjectFromStorage=function(){return{id:d.get(f.REPOSITORY_ID)||"",location:d.get(f.REPOSITORY_LOCATION)||""}},this.getActiveRepository=function(){return d.get(f.REPOSITORY_ID)||void 0},this.getActiveRepositoryObject=function(){const e=this.getActiveRepositoryObjectFromStorage(),t=this.repositories.get(e.location);return t?t.find(t=>t.id===e.id):null},this.isSystemRepository=function(){return"SYSTEM"===this.getActiveRepositoryObjectFromStorage().id},this.isActiveRepoOntopType=function(e){const t=this;let n;return e||(e=t.getActiveRepositoryObject()),e&&(n=t.repositories.get(e.location).find(t=>t.id===e.id),n)?"graphdb:OntopRepository"===n.sesameType:void 0===n},this.isActiveRepoFedXType=function(){const e=this,t=e.getActiveRepositoryObject();let n;return t&&(n=e.repositories.get(t.location).find(e=>e.id===t.id),n)?"graphdb:FedXRepository"===n.sesameType:void 0===n},this.getLocationFromUri=function(e){return this.locations.find(t=>t.uri===e)},this.setRepositoryHeaders=function(e){$.ajaxSetup().headers=$.ajaxSetup().headers||{},$.ajaxSetup().headers["X-GraphDB-Repository"]=e?e.id:void 0,$.ajaxSetup().headers["X-GraphDB-Repository-Location"]=e?e.location:void 0},this.setRepository=function(e){const n={oldRepository:this.repository,newRepository:e,cancel:!1};g.emit("repositoryWillChangeEvent",n,n=>{n.cancel||(e?(d.set(f.REPOSITORY_ID,e.id),d.set(f.REPOSITORY_LOCATION,e.location)):(d.remove(f.REPOSITORY_ID),d.remove(f.REPOSITORY_LOCATION)),this.setRepositoryHeaders(e),t.$broadcast("repositoryIsSet",{newRepo:!0}),e&&!a.canReadRepo(e)&&this.setRepository(""),t.deniedPermissions={})})},this.getDefaultRepository=function(){return this.hasActiveLocation()?this.location.defaultRepository:""},this.setDefaultRepository=function(t){if(!this.hasActiveLocation())return void e.error(h.instant("repositories.service.no.active.location"),h.instant("common.error"));const n=this;l.setDefaultRepository(t).success((function(){n.location.defaultRepository=t})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.deleteLocation=function(t){return l.deleteLocation(encodeURIComponent(t)).success((function(){const e=v.getActiveRepositoryObject();e&&e.location===t&&(v.location="",v.setRepository("")),v.init()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.deleteRepository=function(t){return u.deleteRepository(t).success((function(){v.init()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))})).finally(()=>{const e=v.getActiveRepositoryObject();e&&e.id===t.id&&e.location===t.location&&v.setRepository("")})},this.restartRepository=function(t){return u.restartRepository(t).success((function(){e.success(h.instant("repositories.service.restarting.repo",{repositoryId:t.id})),v.initQuick()})).error((function(t){const n=getError(t);e.error(n,h.instant("common.error"))}))},this.getRepositoryTurtleConfig=function(e){return u.getRepositoryTurtleConfig(e)},this.isRepoActive=function(e){const t=this.getActiveRepositoryObjectFromStorage();return!!t.id&&(e.id===t.id&&e.location===t.location)},this.getRepositoriesFromLocation=function(e){return this.repositories.get(e)},this.getPrefixes=e=>m.getRepositoryNamespaces(e).then(e=>{const t={};return e.data.results.bindings.forEach((function(e){t[e.prefix.value]=e.namespace.value})),t}),this.resolveSparqlEndpoint=e=>e===r.QueryMode.UPDATE?`repositories/${this.getActiveRepository()}/statements`:e===r.QueryMode.QUERY?"repositories/"+this.getActiveRepository():void 0,t.$on("securityInit",(function(e,t,r,i){b=null,(!t||r||i)&&n((function(){v.init()}))})),t.$on("reloadLocations",(function(){v.locationsShouldReload=!0,v.getLocations().then(()=>v.initQuick())}))}])},3:function(e,t,n){"use strict";n.r(t),n.d(t,"OPERATION_TYPE",(function(){return r})),n.d(t,"OPERATION_TYPE_SORT_ORDER",(function(){return i}));const r={CLUSTER_STATUS:"clusterHealth",BACKUP_RESTORE:"backupAndRestore",QUERIES:"queries",UPDATES:"updates",IMPORTS:"imports"},i={clusterHealth:0,backupAndRestore:1,queries:3,updates:4,imports:2}},30:function(e,t,n){"use strict";n.r(t);n(7),n(43),n(44);var r=n(6);angular.module("graphdb.framework.core.services.jwtauth",["toastr","graphdb.framework.rest.security.service","graphdb.framework.core.services.openIDService"]).service("$jwtAuth",["$http","toastr","$location","$rootScope","SecurityRestService","$openIDAuth","$translate","$q","AuthTokenService","LSKeys","LocalStorageAdapter",function(e,t,n,i,o,s,a,u,l,c,h){const p=this;i.deniedPermissions={},i.setPermissionDenied=function(e){return!("/login"===e||!p.isAuthenticated())&&(i.deniedPermissions[e]=!0,!0)},i.hasPermission=function(){const e=n.path();return!i.deniedPermissions[e]},this.updateReturnUrl=()=>{0!==n.url().indexOf("/login")&&(i.returnToUrl=n.url())},i.redirectToLogin=function(e,t){return p.authTokenIsType("Bearer")&&(e=!0),p.clearAuthenticationInternal(),p.updateReturnUrl(),n.path("/login"),t?n.search("noaccess"):e&&n.search("expired"),new Promise(e=>{setTimeout(()=>{e(!0)},100)})},i.hasExternalAuthUser=function(){return p.hasExternalAuthUser()},this.securityEnabled=!0,this.freeAccess=!1,this.hasOverrideAuth=!1,this.externalAuthUser=!1,this.securityInitialized=!1;const d=this;this.getAuthenticatedUserFromBackend=function(e,t){o.getAuthenticatedUser().success((function(e,t,n){const r=l.getAuthToken();r&&r.startsWith("GDB")?(d.externalAuthUser=!1,d.principal=e,i.$broadcast("securityInit",d.securityEnabled,!0,d.freeAccess)):d.openIDEnabled&&r&&r.startsWith("Bearer")?d.authenticate(e,r):(d.externalAuthUser=!0,d.authenticate(e,""))})).error((function(){e||!d.freeAccess?i.redirectToLogin(!1,t):(d.securityInitialized=!0,d.hasExplicitAuthentication()||d.clearAuthentication())}))},this.initSecurity=function(){this.securityInitialized=!1,o.getSecurityConfig().then((function(e){if(d.securityEnabled=e.data.enabled,d.externalAuth=e.data.hasExternalAuth,d.authImplementation=e.data.authImplementation,d.openIDEnabled=e.data.openIdEnabled,d.passwordLoginEnabled=e.data.passwordLoginEnabled,d.securityEnabled){const t=e.data.freeAccess;d.freeAccess=t.enabled,d.freeAccess&&(d.freeAccessPrincipal={authorities:t.authorities,appSettings:t.appSettings}),d.openIDEnabled?(d.openIDConfig=e.data.methodSettings.openid,d.gdbUrl=n.absUrl().replace(n.url().substr(1),""),s.initOpenId(d.openIDConfig,d.gdbUrl,(function(e){l.setAuthToken(s.authHeaderGraphDB()),console.log("oidc: set id/access token as GraphDB auth"),d.getAuthenticatedUserFromBackend(!0,e)}),(function(){console.log("oidc: not logged or login error"),d.authTokenIsType("Bearer")?setTimeout(()=>{i.redirectToLogin(!0)},0):d.getAuthenticatedUserFromBackend()}))):d.getAuthenticatedUserFromBackend()}else{l.clearAuthToken();const t=e.data.overrideAuth;if(d.hasOverrideAuth=t.enabled,!d.hasOverrideAuth)return o.getAdminUser().then((function(e){d.principal={username:"admin",appSettings:e.data.appSettings,authorities:e.data.grantedAuthorities},i.$broadcast("securityInit",d.securityEnabled,!0,d.hasOverrideAuth)}));d.principal={username:"overrideauth",authorities:t.authorities,appSettings:t.appSettings},i.$broadcast("securityInit",d.securityEnabled,!0,d.hasOverrideAuth)}}))},this.initSecurity(),this.reinitializeSecurity=function(){this.securityInitialized||this.initSecurity()},this.isSecurityEnabled=function(){return this.securityEnabled},this.hasExternalAuth=function(){return this.externalAuth},this.getAuthImplementation=function(){return this.authImplementation},this.isFreeAccessEnabled=function(){return this.freeAccess},this.isDefaultAuthEnabled=function(){return this.hasOverrideAuth&&this.principal&&"overrideauth"===this.principal.username},this.authTokenIsType=function(e){const t=l.getAuthToken();return t&&t.startsWith(e)},this.loginOpenID=function(){s.login(this.openIDConfig,this.gdbUrl)},this.toggleSecurity=function(e){e!==this.securityEnabled&&o.toggleSecurity(e).then((function(){t.success(a.instant("jwt.auth.security.status",{status:a.instant(e?"enabled.status":"disabled.status")})),l.clearAuthToken(),d.initSecurity(),d.securityEnabled=e}),(function(e){t.error(e.data,a.instant("common.error"))}))},this.toggleFreeAccess=function(e,n,r,s){(e!==this.freeAccess||s)&&(this.freeAccess=e,this.freeAccessPrincipal=e?{authorities:n,appSettings:r}:void 0,o.setFreeAccess({enabled:e?"true":"false",authorities:n,appSettings:r}).then((function(){s?t.success(a.instant("jwt.auth.free.access.updated.msg")):t.success(a.instant("jwt.auth.free.access.status",{status:a.instant(e?"enabled.status":"disabled.status")}))}),(function(e){t.error(e.data.error.message,a.instant("common.error"))})),i.$broadcast("securityInit",this.securityEnabled,this.hasExplicitAuthentication(),this.freeAccess))},this.authenticate=function(e,t){return new Promise(n=>{t?(l.setAuthToken(t),this.externalAuthUser=!1):l.clearAuthToken(),this.principal=e,i.deniedPermissions={},this.securityInitialized=!0;const r={id:h.get(c.REPOSITORY_ID)||"",location:h.get(c.REPOSITORY_LOCATION)||""};p.canReadRepo(r)||(h.remove(c.REPOSITORY_ID),h.remove(c.REPOSITORY_LOCATION),i.deniedPermissions={}),i.$broadcast("securityInit",this.securityEnabled,d.hasExplicitAuthentication(),this.freeAccess),setTimeout(()=>{n(!0)})})},this.authenticateOpenID=function(e){l.clearAuthToken(),e&&(l.setAuthToken(e),this.externalAuthUser=!1)},this.hasExternalAuthUser=function(){return this.externalAuthUser},this.hasExplicitAuthentication=function(){return null!=l.getAuthToken()||this.externalAuthUser},this.getPrincipal=function(){if(this.principal)return Promise.resolve(this.principal);const e=u.defer();return i.$on("securityInit",()=>{e.resolve(this.principal)}),e.promise},this.clearAuthenticationInternal=function(){s.softLogout(),this.principal=this.freeAccessPrincipal,l.clearAuthToken()},this.clearAuthentication=function(){this.clearAuthenticationInternal(),i.$broadcast("securityInit",this.securityEnabled,!1,this.freeAccess)},this.isAuthenticated=function(){return!this.securityEnabled||this.hasExplicitAuthentication()},this.hasPermission=function(){},this.hasRole=function(e){if(void 0!==e&&(this.securityEnabled||this.hasOverrideAuth)){"string"==typeof e&&(e=[e]);const t=!_.isEmpty(this.principal);return!!t&&("IS_AUTHENTICATED_FULLY"===e[0]?t:_.intersection(e,this.principal.authorities).length>0)}return!0},this.isAdmin=function(){return this.hasRole(r.UserRole.ROLE_ADMIN)},this.isRepoManager=function(){return this.hasRole(r.UserRole.ROLE_REPO_MANAGER)},this.hasRoleMonitor=function(){return this.hasRole(r.UserRole.ROLE_MONITORING)},this.checkForWrite=function(e,t){return"WRITE_REPO"===e?this.canWriteRepo(t):this.hasRole(e)},this.hasAdminRole=function(){return this.isAdmin()||this.isRepoManager()},this.canWriteRepo=function(e){return!!e&&(!this.securityEnabled&&!this.hasOverrideAuth||!_.isEmpty(this.principal)&&(!!this.hasAdminRole()||this.checkRights(e,"WRITE")))},this.canReadRepo=function(e){return!!e&&(!this.securityEnabled||!_.isEmpty(this.principal)&&(!!this.hasAdminRole()||this.checkRights(e,"READ")))},this.checkRights=function(e,t){if(e)for(let n=0;n<this.principal.authorities.length;n++){const r=this.principal.authorities[n],i=r.split("_",2),o=r.slice(i[0].length+i[1].length+2),s=e.location?`${e.id}@${e.location}`:e.id;if(i[0]===t&&(s===o||"SYSTEM"!==e.id&&"*"===o))return!0}return!1}}])},31:function(e,t,n){"use strict";n.r(t);var r=n(20),i=n(23);angular.module("graphdb.framework.rest.monitoring.service",[]).factory("MonitoringRestService",o),o.$inject=["$http"];function o(e){return{monitorResources:function(){return e.get("rest/monitor/infrastructure")},monitorStructures:function(){return e.get("rest/monitor/structures")},monitorCluster:function(){return e.get("rest/monitor/cluster")},monitorGC:function(){return e.post("rest/monitor/infrastructure/gc")},monitorQuery:function(t){return e.get(`rest/monitor/repository/${t}/query/active`)},monitorBackup:function(){return e.get("rest/monitor/backup").then(e=>Object(r.mapBackupAndRestoreResponseToModel)(e.data))},monitorActiveOperations:function(t){return e.get(`rest/monitor/${t}/operations`).then(e=>Object(i.mapActiveOperationResponseToModel)(e.data))},deleteQuery:function(t,n){return e.delete(`rest/monitor/repository/${n}/query?query=${encodeURIComponent(t)}`)},getQueryCount:function(t){return e({url:`rest/monitor/repository/${t}/query/count`,method:"GET",timeout:1e4})},checkAutocompleteStatus:function(){return e.get("rest/autocomplete/enabled")},monitorQueryTransactionStatistics:function(t){return e.get("rest/monitor/repository/"+t)}}}},32:function(e,t){let n;angular.module("graphdb.framework.utils.uriutils",[]).factory("UriUtils",r);try{n=new RegExp("^<?[a-z](?:[-a-z0-9\\+\\.])*:(?:\\/\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:])*@)?(?:\\[(?:(?:(?:[0-9a-f]{1,4}:){6}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|::(?:[0-9a-f]{1,4}:){5}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4}:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|v[0-9a-f]+[-a-z0-9\\._~!\\$&'\\(\\)\\*\\+,;=:]+)\\]|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}|(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=@])*)(?::[0-9]*)?(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*|\\/(?:(?:(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))+)(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*)?|(?:(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))+)(?:\\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@]))*)*|(?!(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])))(?:\\?(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])|[\\u{E000}-\\u{F8FF}\\u{F0000}-\\u{FFFFD}\\u{100000}-\\u{10FFFD}\\/\\?])*)?(?:#(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\\._~\\u{A0}-\\u{D7FF}\\u{F900}-\\u{FDCF}\\u{FDF0}-\\u{FFEF}\\u{10000}-\\u{1FFFD}\\u{20000}-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}\\u{50000}-\\u{5FFFD}\\u{60000}-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}\\u{90000}-\\u{9FFFD}\\u{A0000}-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}\\u{D0000}-\\u{DFFFD}\\u{E1000}-\\u{EFFFD}!\\$&'\\(\\)\\*\\+,;=:@])|[\\/\\?])*)?>?$","ui")}catch(e){n=new RegExp("^<?[a-z](?:[-a-z0-9\\+\\.])*:>?","i")}function r(e){function t(e){const t=e.indexOf("<")>=0&&e.indexOf(">")>=0,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?(http|urn).*>?/.test(e)&&(t||n);let i=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");i=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(i=e.substring(4).length>0);return r&&i}return{isValidIri:function(e,r){return!(void 0===e||void 0===r||!t(r)&&!r.match(n))},validateRdfUri:t,shortenIri:function(e){const t=document.createElement("a");t.href=e;let n=t.hostname;return function(e){const t=e.split(".");for(let e=0,n=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?n++:n=0,4===n)return!0;return!1}(t.hostname)||(n=t.hostname.split(".")[0]),n+":"+t.port},expandPrefix:function(t,n){const r=/^<.*>$/.test(t);if(t=function(e,t){if(t.test(e))return e.substring(1,e.length-1);return e}(t,/^<.*>$/),!/^<?(http|urn).*>?/.test(t)){const i=t.split(":"),o=i[0],s=i[1];if(!angular.isUndefined(s)){const t=e.getNamespaceUriForPrefix(n,o);if(t)return t+s;if(!r)return""}}return t}}}r.$inject=["ClassInstanceDetailsService"]},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return ne})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return be})),n.d(t,"g",(function(){return le}));let r,i,o,s=!1,a=!1,u=!1,l=!1;const c={},h=e=>"object"===(e=typeof e)||"function"===e,p=(e,t,...n)=>{let r=null,i=null,o=!1,s=!1;const a=[],u=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?u(r):null!=r&&"boolean"!=typeof r&&((o="function"!=typeof e&&!h(r))&&(r=String(r)),o&&s?a[a.length-1].$text$+=r:a.push(o?d(null,r):r),s=o)};if(u(n),t){t.name&&(i=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,g);const l=d(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l.$name$=i,l},d=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$name$:null};return n},f={},g={forEach:(e,t)=>e.map(m).forEach(t),map:(e,t)=>e.map(m).map(t).map(v)},m=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),v=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),p(e.vtag,t,...e.vchildren||[])}const t=d(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},y=e=>ue(e).$hostElement$,b=(e,t,n)=>{const r=y(e);return{emit:e=>$(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},$=(e,t,n)=>{const r=ye.ce(t,n);return e.dispatchEvent(r),r},w=new WeakMap,x=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=(t.$tagName$,()=>{}),o=((e,t,n,r)=>{let i=S(t);const o=ge.get(i);if(e=11===e.nodeType?e:ve,o)if("string"==typeof o){e=e.head||e;let t,n=w.get(e);n||w.set(e,n=new Set),n.has(i)||(t=ve.createElement("style"),t.innerHTML=o,e.insertBefore(t,e.querySelector("link")),n&&n.add(i))}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&r&&(n["s-sc"]=o,n.classList.add(o+"-h")),i()},S=(e,t)=>"sc-"+e.$tagName$,E=(e,t,n,r,i,o)=>{if(n!==r){let s=he(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,i=C(n),o=C(r);t.remove(...i.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!i.includes(e)))}else if("ref"===t)r&&r(e);else if(s||"o"!==t[0]||"n"!==t[1]){const a=h(r);if((s||a&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{const i=null==r?"":r;"list"===t?s=!1:null!=n&&e[t]==i||(e[t]=i)}}catch(e){}null==r||!1===r?!1===r&&""!==e.getAttribute(t)||e.removeAttribute(t):(!s||4&o||i)&&!a&&(r=!0===r?"":r,e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):he(me,a)?a.slice(2):a[2]+t.slice(3),n&&ye.rel(e,t,n,!1),r&&ye.ael(e,t,r,!1)}},A=/\s/,C=e=>e?e.split(A):[],F=(e,t,n,r)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||c,s=t.$attrs$||c;for(r in o)r in s||E(i,r,o[r],void 0,n,t.$flags$);for(r in s)E(i,r,o[r],s[r],n,t.$flags$)},T=(e,t,n,a)=>{const l=t.$children$[n];let c,h,p,d=0;if(s||(u=!0,"slot"===l.$tag$&&(r&&a.classList.add(r+"-s"),l.$flags$|=l.$children$?2:1)),null!==l.$text$)c=l.$elm$=ve.createTextNode(l.$text$);else if(1&l.$flags$)c=l.$elm$=ve.createTextNode("");else if(c=l.$elm$=ve.createElement(2&l.$flags$?"slot-fb":l.$tag$),F(null,l,!1),null!=r&&c["s-si"]!==r&&c.classList.add(c["s-si"]=r),l.$children$)for(d=0;d<l.$children$.length;++d)h=T(e,l,d,c),h&&c.appendChild(h);return c["s-hn"]=o,3&l.$flags$&&(c["s-sr"]=!0,c["s-cr"]=i,c["s-sn"]=l.$name$||"",p=e&&e.$children$&&e.$children$[n],p&&p.$tag$===l.$tag$&&e.$elm$&&D(e.$elm$,!1)),c},D=(e,t)=>{ye.$flags$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const r=n[e];r["s-hn"]!==o&&r["s-ol"]&&(O(r).insertBefore(r,P(r)),r["s-ol"].remove(),r["s-ol"]=void 0,u=!0),t&&D(r,t)}ye.$flags$&=-2},R=(e,t,n,r,i,s)=>{let a,u=e["s-cr"]&&e["s-cr"].parentNode||e;for(u.shadowRoot&&u.tagName===o&&(u=u.shadowRoot);i<=s;++i)r[i]&&(a=T(null,n,i,e),a&&(r[i].$elm$=a,u.insertBefore(a,P(t))))},k=(e,t,n,r,i)=>{for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,B(r),a=!0,i["s-ol"]?i["s-ol"].remove():D(i,!0),i.remove())},I=(e,t)=>e.$tag$===t.$tag$&&("slot"!==e.$tag$||e.$name$===t.$name$),P=e=>e&&e["s-ol"]||e,O=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,o=t.$tag$,s=t.$text$;let a;null===s?("slot"===o||F(e,t,!1),null!==r&&null!==i?((e,t,n,r)=>{let i,o=0,s=0,a=t.length-1,u=t[0],l=t[a],c=r.length-1,h=r[0],p=r[c];for(;o<=a&&s<=c;)null==u?u=t[++o]:null==l?l=t[--a]:null==h?h=r[++s]:null==p?p=r[--c]:I(u,h)?(_(u,h),u=t[++o],h=r[++s]):I(l,p)?(_(l,p),l=t[--a],p=r[--c]):I(u,p)?("slot"!==u.$tag$&&"slot"!==p.$tag$||D(u.$elm$.parentNode,!1),_(u,p),e.insertBefore(u.$elm$,l.$elm$.nextSibling),u=t[++o],p=r[--c]):I(l,h)?("slot"!==u.$tag$&&"slot"!==p.$tag$||D(l.$elm$.parentNode,!1),_(l,h),e.insertBefore(l.$elm$,u.$elm$),l=t[--a],h=r[++s]):(i=T(t&&t[s],n,s,e),h=r[++s],i&&O(u.$elm$).insertBefore(i,P(u.$elm$)));o>a?R(e,null==r[c+1]?null:r[c+1].$elm$,n,r,s,c):s>c&&k(t,o,a)})(n,r,t,i):null!==i?(null!==e.$text$&&(n.textContent=""),R(n,null,t,i,0,i.length-1)):null!==r&&k(r,0,r.length-1)):(a=n["s-cr"])?a.parentNode.textContent=s:e.$text$!==s&&(n.data=s)},j=e=>{const t=e.childNodes;let n,r,i,o,s,a;for(r=0,i=t.length;r<i;r++)if(n=t[r],1===n.nodeType){if(n["s-sr"])for(s=n["s-sn"],n.hidden=!1,o=0;o<i;o++)if(a=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==s){if(1===a&&s===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===a||3===a&&""!==t[o].textContent.trim()){n.hidden=!0;break}j(n)}},L=[],N=e=>{let t,n,r,i,o,s,u=0;const l=e.childNodes,c=l.length;for(;u<c;u++){if(t=l[u],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=t["s-sn"],s=r.length-1;s>=0;s--)n=r[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(M(n,i)?(o=L.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||i,o?o.$slotRefNode$=t:L.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&L.map(e=>{M(e.$nodeToRelocate$,n["s-sn"])&&(o=L.find(e=>e.$nodeToRelocate$===n),o&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$))})):L.some(e=>e.$nodeToRelocate$===n)||L.push({$nodeToRelocate$:n}));1===t.nodeType&&N(t)}},M=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,B=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(B)},H=(e,t)=>{const n=e.$hostElement$,l=e.$cmpMeta$,c=e.$vnode$||d(null,null),h=(g=t)&&g.$tag$===f?t:p(null,null,t);var g;if(o=n.tagName,h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=c.$elm$=n.shadowRoot||n,r=n["s-sc"],i=n["s-cr"],s=0!=(1&l.$flags$),a=!1,_(c,h),ye.$flags$|=1,u){let e,t,n,r,i,o;N(h.$elm$);let s=0;for(;s<L.length;s++)e=L[s],t=e.$nodeToRelocate$,t["s-ol"]||(n=ve.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(s=0;s<L.length;s++)if(e=L[s],t=e.$nodeToRelocate$,e.$slotRefNode$){for(r=e.$slotRefNode$.parentNode,i=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&r===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){i=o;break}(!i&&r!==t.parentNode||t.nextSibling!==i)&&t!==i&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),r.insertBefore(t,i))}else 1===t.nodeType&&(t.hidden=!0)}a&&j(h.$elm$),ye.$flags$&=-2,L.length=0},U=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},V=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);U(e,e.$ancestorComponent$);return Fe(()=>q(e,t))},q=(e,t)=>{const n=(e.$cmpMeta$.$tagName$,()=>{}),r=e.$lazyInstance$;let i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>Y(r,e,t)),e.$queuedListeners$=null),i=Y(r,"componentWillLoad")),n(),X(i,()=>z(e,r,t))},z=async(e,t,n)=>{const r=e.$hostElement$,i=(e.$cmpMeta$.$tagName$,()=>{}),o=r["s-rc"];n&&x(e);const s=(e.$cmpMeta$.$tagName$,()=>{});K(e,t),o&&(o.map(e=>e()),r["s-rc"]=void 0),s(),i();{const t=r["s-p"],n=()=>G(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},K=(e,t,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,H(e,t)}catch(t){pe(t,e.$hostElement$)}return null},G=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=()=>{},r=e.$lazyInstance$,i=e.$ancestorComponent$;Y(r,"componentDidRender"),64&e.$flags$?(Y(r,"componentDidUpdate"),n()):(e.$flags$|=64,J(t),Y(r,"componentDidLoad"),n(),e.$onReadyResolve$(t),i||W()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ce(()=>V(e,!1)),e.$flags$&=-517},W=e=>{J(ve.documentElement),Ce(()=>$(me,"appload",{detail:{namespace:"ontotext-yasgui-web-component"}}))},Y=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){pe(e)}},X=(e,t)=>e&&e.then?e.then(t):t(),J=e=>e.classList.add("hydrated"),Q=(e,t,n,r)=>{const i=ue(e),o=i.$hostElement$,s=i.$instanceValues$.get(t),a=i.$flags$,u=i.$lazyInstance$;var l,c;l=n,c=r.$members$[t][0],n=null==l||h(l)?l:4&c?"false"!==l&&(""===l||!!l):2&c?parseFloat(l):1&c?String(l):l;const p=Number.isNaN(s)&&Number.isNaN(n);if((!(8&a)||void 0===s)&&(n!==s&&!p)&&(i.$instanceValues$.set(t,n),u)){if(r.$watchers$&&128&a){const e=r.$watchers$[t];e&&e.map(e=>{try{u[e](n,s,t)}catch(e){pe(e,o)}})}2==(18&a)&&V(i,!1)}},Z=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),i=e.prototype;if(r.map(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(i,e,{get(){return t=e,ue(this).$instanceValues$.get(t);var t},set(n){Q(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(i,e,{value(...t){const n=ue(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const t=new Map;i.attributeChangedCallback=function(e,n,r){ye.jmp(()=>{const n=t.get(e);if(this.hasOwnProperty(n))r=this[n],delete this[n];else if(i.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==r)return;this[n]=(null!==r||"boolean"!=typeof this[n])&&r})},e.observedAttributes=r.filter(([e,t])=>15&t[0]).map(([e,n])=>{const r=n[1]||e;return t.set(r,e),r})}}return e},ee=async(e,t,n,r,i)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(i=fe(n)).then){const e=()=>{};i=await i,e()}i.isProxied||(n.$watchers$=i.watchers,Z(i,n,2),i.isProxied=!0);const e=(n.$tagName$,()=>{});t.$flags$|=8;try{new i(t)}catch(e){pe(e)}t.$flags$&=-9,t.$flags$|=128,e()}if(i.style){let e=i.style;const t=S(n);if(!ge.has(t)){const r=(n.$tagName$,()=>{});((e,t,n)=>{let r=ge.get(e);$e&&n?(r=r||new CSSStyleSheet,"string"==typeof r?r=t:r.replaceSync(t)):r=t,ge.set(e,r)})(t,e,!!(1&n.$flags$)),r()}}}const o=t.$ancestorComponent$,s=()=>V(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},te=e=>{const t=e["s-cr"]=ve.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ne=(e,t={})=>{const n=()=>{},r=[],i=t.exclude||[],o=me.customElements,s=ve.head,a=s.querySelector("meta[charset]"),u=ve.createElement("style"),l=[];let c,h=!0;Object.assign(ye,t),ye.$resourcesUrl$=new URL(t.resourcesUrl||"./",ve.baseURI).href,e.map(e=>{e[1].map(t=>{const n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};n.$members$=t[2],n.$listeners$=t[3],n.$watchers$={};const s=n.$tagName$,a=class extends HTMLElement{constructor(e){super(e),ce(e=this,n),1&n.$flags$&&e.attachShadow({mode:"open"})}connectedCallback(){c&&(clearTimeout(c),c=null),h?l.push(this):ye.jmp(()=>(e=>{if(0==(1&ye.$flags$)){const t=ue(e),n=t.$cmpMeta$,r=(n.$tagName$,()=>{});if(1&t.$flags$)re(e,t,n.$listeners$);else{t.$flags$|=1,12&n.$flags$&&te(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){U(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),ee(0,t,n)}r()}})(this))}disconnectedCallback(){ye.jmp(()=>(e=>{if(0==(1&ye.$flags$)){const t=ue(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),Y(n,"disconnectedCallback")}})(this))}componentOnReady(){return ue(this).$onReadyPromise$}};n.$lazyBundleId$=e[0],i.includes(s)||o.get(s)||(r.push(s),o.define(s,Z(a,n,1)))})}),u.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles",""),s.insertBefore(u,a?a.nextSibling:s.firstChild),h=!1,l.length?l.map(e=>e.connectedCallback()):ye.jmp(()=>c=setTimeout(W,30)),n()},re=(e,t,n,r)=>{n&&n.map(([n,r,i])=>{const o=oe(e,n),s=ie(t,i),a=se(n);ye.ael(o,r,s,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>ye.rel(o,r,s,a))})},ie=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(e){pe(e)}},oe=(e,t)=>4&t?ve:8&t?me:e,se=e=>0!=(2&e),ae=new WeakMap,ue=e=>ae.get(e),le=(e,t)=>ae.set(t.$lazyInstance$=e,t),ce=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],re(e,n,t.$listeners$),ae.set(e,n)},he=(e,t)=>t in e,pe=(e,t)=>(0,console.error)(e,t),de=new Map,fe=(e,t,r)=>{const i=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,s=de.get(o);return s?s[i]:n(372)(`./${o}.entry.js`).then(e=>(de.set(o,e),e[i]),pe)
|
|
18
18
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ge=new Map,me="undefined"!=typeof window?window:{},ve=me.document||{head:{}},ye={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},be=e=>Promise.resolve(e),$e=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),we=[],xe=[],Se=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&ye.$flags$?Ce(Ae):ye.raf(Ae))},Ee=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){pe(e)}e.length=0},Ae=()=>{Ee(we),Ee(xe),(l=we.length>0)&&ye.raf(Ae)},Ce=e=>be().then(e),Fe=Se(xe,!0)},34:function(e,t){function n(e,t,n,r){e.title=n,e.message=r,e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}function r(e,t,n,r,i,o){t.opened.then((function(){o(()=>{$("#clipboardURI")[0].select()},0)})),e.clipboardURI=n,e.ok=function(){try{document.getElementById("clipboardURI").select(),document.execCommand("copy"),r.success(i.instant("modal.ctr.copy.url.success"))}catch(e){r.error(i.instant("modal.ctr.copy.not.supported.warning"))}t.close()},e.cancel=function(){t.dismiss("cancel")}}function i(e,t,n,r,i){e.query=n,e.cancel=function(){t.dismiss("cancel")},e.selectQuery=function(){e.selectElement($("#create-query"))},e.copyQueryToClipboard=function(){try{e.selectQuery(),document.execCommand("copy"),t.close(),r.success(i.instant("modal.ctr.copy.query.success"))}catch(e){r.error(i.instant("modal.ctr.copy.not.supported.warning"))}},e.selectElement=function(e){if(e.length>0)if(window.getSelection){const t=window.getSelection();t.removeAllRanges();const n=document.createRange();n.selectNodeContents(e[0].firstChild),t.addRange(n)}else if(document.selection){const t=document.body.createTextRange();t.moveToElementText(e[0]),t.select()}}}angular.module("graphdb.framework.core.controllers",[]).controller("CopyToClipboardModalCtrl",r).controller("SimpleModalCtrl",n).controller("ViewQueryCtrl",i),n.$inject=["$scope","$uibModalInstance","title","message"],r.$inject=["$scope","$uibModalInstance","uri","toastr","$translate","$timeout"],i.$inject=["$scope","$uibModalInstance","query","toastr","$translate"]},35:function(e,t){angular.module("graphdb.framework.rest.rdf4j.repositories.service",[]).factory("RDF4JRepositoriesRestService",r),r.$inject=["$http","$translate"];const n="select ?o where {\n?s <http://www.ontotext.com/owlim/system#listplugins> ?o .\nfilter(str(?s) = '{{pluginName}}')\n} ";function r(e,t){return{getNamespaces:function(t){return e.get(`repositories/${t}/namespaces`)},getRepositoryNamespaces:function(t){return e.get(`repositories/${t}/namespaces`)},updateNamespacePrefix:function(t,n,r){return e({url:`repositories/${t}/namespaces/${r}`,method:"PUT",data:n})},deleteNamespacePrefix:function(t,n){return e({url:`repositories/${t}/namespaces/${n}`,method:"DELETE"})},addStatements:function(t,n){return e({url:`repositories/${t}/statements`,method:"POST",data:n,headers:{"Content-Type":"application/x-www-form-urlencoded"}})},activatePlugin:function(t,n){return e({method:"POST",url:`repositories/${n}/statements`,params:{update:"INSERT DATA { <u:a> <http://www.ontotext.com/owlim/system#startplugin> '{{pluginName}}' .}".replace("{{pluginName}}",t)}})},checkPluginIsActive:function(t,r){return e({method:"GET",url:"repositories/"+r,params:{query:n.replace("{{pluginName}}",t)},headers:{Accept:"*/*"}})},getRepositorySize:function(t){return e.get(`repositories/${t}/size`)},getGraphs:r,resolveGraphs:function(e){let t=[];if(e)return r(e).success((function(e){e.results.bindings.unshift({contextID:{type:"default",value:"import.default.graph"}}),Object.keys(e.results.bindings).forEach((function(t){const n=e.results.bindings[t];"bnode"===n.contextID.type?n.contextID.value="_:"+n.contextID.value:"default"===n.contextID.type?n.contextID.uri="http://www.openrdf.org/schema/sesame#nil":n.contextID.uri=n.contextID.value})),e.results.bindings.unshift(allGraphs),t=e.results.bindings}));return t},downloadResultsAsFile:function(t,n,r,i){const o=Object.entries(n).filter(([e,t])=>void 0!==t).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join("&");return e({method:"POST",url:"repositories/"+t,headers:{"Content-Type":"application/x-www-form-urlencoded;charset=utf-8",Accept:r,Link:i},data:o,responseType:"blob"}).then((function(e){const t=e.data;let n=e.headers()["content-disposition"].split("filename=")[1];return n=n.substring(0,n.length),{data:t,filename:n}}))}};function r(t){return e.get(`repositories/${t}/contexts`)}}},356:function(e,t){!function(e,t,n){"use strict";t.module("ngAnimate",["ng"]).directive("ngAnimateChildren",(function(){return function(e,n,r){r=r.ngAnimateChildren,t.isString(r)&&0===r.length?n.data("$$ngAnimateChildren",!0):e.$watch(r,(function(e){n.data("$$ngAnimateChildren",!!e)}))}})).factory("$$animateReflow",["$$rAF","$document",function(e,t){return function(t){return e((function(){t()}))}}]).config(["$provide","$animateProvider",function(r,i){function o(e){for(var t=0;t<e.length;t++){var n=e[t];if(1==n.nodeType)return n}}function s(e,t){return o(e)==o(t)}var a,u=t.noop,l=t.forEach,c=i.$$selectors,h=t.isArray,p=t.isString,d=t.isObject,f={running:!0};r.decorator("$animate",["$delegate","$$q","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document","$templateRequest","$$jqLite",function(e,n,r,g,m,v,y,b,$,w){function x(e,t){var n=e.data("$$ngAnimateState")||{};return t&&(n.running=!0,n.structural=!0,e.data("$$ngAnimateState",n)),n.disabled||n.running&&n.structural}function S(e){var t,r=n.defer();return r.promise.$$cancelFn=function(){t&&t()},y.$$postDigest((function(){t=e((function(){r.resolve()}))})),r.promise}function E(e){if(d(e))return e.tempClasses&&p(e.tempClasses)&&(e.tempClasses=e.tempClasses.split(/\s+/)),e}function A(e,n,i,o){function s(e,t){var n=e[t],r=e["before"+t.charAt(0).toUpperCase()+t.substr(1)];if(n||r)return"leave"==t&&(r=n,n=null),E.push({event:t,fn:n}),w.push({event:t,fn:r}),!0}function a(t,n,r){var s=[];l(t,(function(e){e.fn&&s.push(e)}));var a=0;l(s,(function(t,l){var c=function(){e:{if(n){if((n[l]||u)(),++a<s.length)break e;n=null}r()}};switch(t.event){case"setClass":n.push(t.fn(e,d,f,c,o));break;case"animate":n.push(t.fn(e,i,o.from,o.to,c));break;case"addClass":n.push(t.fn(e,d||i,c,o));break;case"removeClass":n.push(t.fn(e,f||i,c,o));break;default:n.push(t.fn(e,c,o))}})),n&&0===n.length&&r()}var p=e[0];if(p){var d,f;o&&(o.to=o.to||{},o.from=o.from||{}),h(i)&&(d=i[0],f=i[1],d?f?i=d+" "+f:(i=d,n="addClass"):(i=f,n="removeClass"));var m="setClass"==n,v=m||"addClass"==n||"removeClass"==n||"animate"==n,y=e.attr("class")+" "+i;if(I(y)){var b=u,$=[],w=[],x=u,S=[],E=[];y=(" "+y).replace(/\s+/g,".");return l(function(e){if(e){var t=[],n={};e=e.substr(1).split("."),(g.transitions||g.animations)&&t.push(r.get(c[""]));for(var i=0;i<e.length;i++){var o=e[i],s=c[o];s&&!n[o]&&(t.push(r.get(s)),n[o]=!0)}return t}}(y),(function(e){!s(e,n)&&m&&(s(e,"addClass"),s(e,"removeClass"))})),{node:p,event:n,className:i,isClassBased:v,isSetClassOperation:m,applyStyles:function(){o&&e.css(t.extend(o.from||{},o.to||{}))},before:function(e){b=e,a(w,$,(function(){b=u,e()}))},after:function(e){x=e,a(E,S,(function(){x=u,e()}))},cancel:function(){$&&(l($,(function(e){(e||u)(!0)})),b(!0)),S&&(l(S,(function(e){(e||u)(!0)})),x(!0))}}}}}function C(e,n,r,i,o,c,h,p){function d(t){var i="$animate:"+t;x&&x[i]&&0<x[i].length&&v((function(){r.triggerHandler(i,{event:e,className:n})}))}function g(){d("before")}function y(){d("after")}function b(){b.hasBeenRun||(b.hasBeenRun=!0,c())}function $(){if(!$.hasBeenRun){w&&w.applyStyles(),$.hasBeenRun=!0,h&&h.tempClasses&&l(h.tempClasses,(function(e){a.removeClass(r,e)}));var e=r.data("$$ngAnimateState");e&&(w&&w.isClassBased?T(r,n):(v((function(){var e=r.data("$$ngAnimateState")||{};D==e.index&&T(r,n)})),r.data("$$ngAnimateState",e))),d("close"),p()}}var w=A(r,e,n,h);if(!w)return b(),g(),y(),$(),u;e=w.event,n=w.className;var x=(x=t.element._data(w.node))&&x.events;if(i||(i=o?o.parent():r.parent()),function(e,n){if(f.disabled)return!0;if(s(e,m))return f.running;var r,i,o;do{if(0===n.length)break;var a=s(n,m),u=a?f:n.data("$$ngAnimateState")||{};if(u.disabled)return!0;a&&(o=!0),!1!==r&&(a=n.data("$$ngAnimateChildren"),t.isDefined(a)&&(r=a)),i=i||u.running||u.last&&!u.last.isClassBased}while(n=n.parent());return!o||!r&&i}(r,i))return b(),g(),y(),$(),u;var S=(i=r.data("$$ngAnimateState")||{}).active||{},E=i.totalActive||0,C=i.last;if(o=!1,0<E){if(E=[],w.isClassBased)"setClass"==C.event?(E.push(C),T(r,n)):S[n]&&((F=S[n]).event==e?o=!0:(E.push(F),T(r,n)));else if("leave"==e&&S["ng-leave"])o=!0;else{for(var F in S)E.push(S[F]);i={},T(r,!0)}0<E.length&&l(E,(function(e){e.cancel()}))}if(!w.isClassBased||w.isSetClassOperation||"animate"==e||o||(o="addClass"==e==r.hasClass(n)),o)return b(),g(),y(),d("close"),p(),u;S=i.active||{},E=i.totalActive||0,"leave"==e&&r.one("$destroy",(function(e){var n=(e=t.element(this)).data("$$ngAnimateState");n&&(n=n.active["ng-leave"])&&(n.cancel(),T(e,"ng-leave"))})),a.addClass(r,"ng-animate"),h&&h.tempClasses&&l(h.tempClasses,(function(e){a.addClass(r,e)}));var D=R++;return E++,S[n]=w,r.data("$$ngAnimateState",{last:w,active:S,index:D,totalActive:E}),g(),w.before((function(t){var i=r.data("$$ngAnimateState");t=t||!i||!i.active[n]||w.isClassBased&&i.active[n].event!=e,b(),!0===t?$():(y(),w.after($))})),w.cancel}function F(e){(e=o(e))&&(e=t.isFunction(e.getElementsByClassName)?e.getElementsByClassName("ng-animate"):e.querySelectorAll(".ng-animate"),l(e,(function(e){(e=(e=t.element(e)).data("$$ngAnimateState"))&&e.active&&l(e.active,(function(e){e.cancel()}))})))}function T(e,t){if(s(e,m))f.disabled||(f.running=!1,f.structural=!1);else if(t){var n=e.data("$$ngAnimateState")||{},r=!0===t;!r&&n.active&&n.active[t]&&(n.totalActive--,delete n.active[t]),!r&&n.totalActive||(a.removeClass(e,"ng-animate"),e.removeData("$$ngAnimateState"))}}a=w,m.data("$$ngAnimateState",f);var D=y.$watch((function(){return $.totalPendingRequests}),(function(e,t){0===e&&(D(),y.$$postDigest((function(){y.$$postDigest((function(){f.running=!1}))})))})),R=0,k=i.classNameFilter(),I=k?function(e){return k.test(e)}:function(){return!0};return{animate:function(e,n,r,i,s){return i=i||"ng-inline-animate",(s=E(s)||{}).from=r?n:null,s.to=r||n,S((function(n){return C("animate",i,t.element(o(e)),null,null,u,s,n)}))},enter:function(n,r,i,s){return s=E(s),n=t.element(n),r=r&&t.element(r),i=i&&t.element(i),x(n,!0),e.enter(n,r,i),S((function(e){return C("enter","ng-enter",t.element(o(n)),r,i,u,s,e)}))},leave:function(n,r){return r=E(r),F(n=t.element(n)),x(n,!0),S((function(i){return C("leave","ng-leave",t.element(o(n)),null,null,(function(){e.leave(n)}),r,i)}))},move:function(n,r,i,s){return s=E(s),n=t.element(n),r=r&&t.element(r),i=i&&t.element(i),F(n),x(n,!0),e.move(n,r,i),S((function(e){return C("move","ng-move",t.element(o(n)),r,i,u,s,e)}))},addClass:function(e,t,n){return this.setClass(e,t,[],n)},removeClass:function(e,t,n){return this.setClass(e,[],t,n)},setClass:function(n,r,i,s){if(s=E(s),n=t.element(n),x(n=t.element(o(n))))return e.$$setClassImmediately(n,r,i,s);var a,u=n.data("$$animateClasses"),c=!!u;return u||(u={classes:{}}),a=u.classes,r=h(r)?r:r.split(" "),l(r,(function(e){e&&e.length&&(a[e]=!0)})),i=h(i)?i:i.split(" "),l(i,(function(e){e&&e.length&&(a[e]=!1)})),c?(s&&u.options&&(u.options=t.extend(u.options||{},s)),u.promise):(n.data("$$animateClasses",u={classes:a,options:s}),u.promise=S((function(t){var r=n.parent(),i=o(n);if((s=i.parentNode)&&!s.$$NG_REMOVED&&!i.$$NG_REMOVED){i=n.data("$$animateClasses"),n.removeData("$$animateClasses");var s=n.data("$$ngAnimateState")||{},a=function(e,t,n){var r={};l(n=n||{},(function(e,t){l(t.split(" "),(function(t){r[t]=e}))}));var i=Object.create(null);l((e.attr("class")||"").split(/\s+/),(function(e){i[e]=!0}));var o=[],s=[];return l(t&&t.classes||[],(function(e,t){var n=i[t],a=r[t]||{};!1===e?(n||"addClass"==a.event)&&s.push(t):!0===e&&(n&&"removeClass"!=a.event||o.push(t))})),0<o.length+s.length&&[o.join(" "),s.join(" ")]}(n,i,s.active);return a?C("setClass",a,n,r,null,(function(){a[0]&&e.$$addClassImmediately(n,a[0]),a[1]&&e.$$removeClassImmediately(n,a[1])}),i.options,t):t()}t()})))},cancel:function(e){e.$$cancelFn()},enabled:function(e,t){switch(arguments.length){case 2:if(e)T(t);else{var n=t.data("$$ngAnimateState")||{};n.disabled=!0,t.data("$$ngAnimateState",n)}break;case 1:f.disabled=!e;break;default:e=!f.disabled}return!!e}}}]),i.register("",["$window","$sniffer","$timeout","$$animateReflow",function(r,i,s,c){function d(){R||(R=c((function(){P=[],R=null,k={}})))}function f(e,t){R&&R(),P.push(t),R=c((function(){l(P,(function(e){e()})),P=[],R=null,k={}}))}function g(e,n){var r=o(e);e=t.element(r),j.push(e),(r=Date.now()+n)<=_||(s.cancel(O),_=r,O=s((function(){!function(e){l(e,(function(e){(e=e.data("$$ngAnimateCSS3Data"))&&l(e.closeAnimationFns,(function(e){e()}))}))}(j),j=[]}),n,!1))}function m(e,t){var n=t?k[t]:null;if(!n){var i=0,o=0,s=0,a=0;l(e,(function(e){if(1==e.nodeType){e=r.getComputedStyle(e)||{},i=Math.max(v(e[A+"Duration"]),i),o=Math.max(v(e[A+"Delay"]),o),a=Math.max(v(e[F+"Delay"]),a);var t=v(e[F+"Duration"]);0<t&&(t*=parseInt(e[F+"IterationCount"],10)||1),s=Math.max(t,s)}})),n={total:0,transitionDelay:o,transitionDuration:i,animationDelay:a,animationDuration:s},t&&(k[t]=n)}return n}function v(e){var t=0;return e=p(e)?e.split(/\s*,\s*/):[],l(e,(function(e){t=Math.max(parseFloat(e)||0,t)})),t}function y(e,t,n,r){var i;e=0<=["ng-enter","ng-leave","ng-move"].indexOf(n),(u=(s=t.parent()).data("$$ngAnimateKey"))||(s.data("$$ngAnimateKey",++I),u=I),i=u+"-"+o(t).getAttribute("class");var s,u,l={};0<(u=k[s=i+" "+n]?++k[s].total:0)&&((i=!k[l=i+" "+(c=n+"-stagger")])&&a.addClass(t,c),l=m(t,l),i&&a.removeClass(t,c));a.addClass(t,n);var c=t.data("$$ngAnimateCSS3Data")||{},h=m(t,s);return i=h.transitionDuration,h=h.animationDuration,e&&0===i&&0===h?(a.removeClass(t,n),!1):(n=r||e&&0<i,e=0<h&&0<l.animationDelay&&0===l.animationDuration,t.data("$$ngAnimateCSS3Data",{stagger:l,cacheKey:s,running:c.running||0,itemIndex:u,blockTransition:n,closeAnimationFns:c.closeAnimationFns||[]}),s=o(t),n&&(b(s,!0),r&&t.css(r)),e&&(s.style[F+"PlayState"]="paused"),!0)}function b(e,t){e.style[A+"Property"]=t?"none":""}function $(e,t,n,r){if(y(e,t,n,r))return function(e){e&&S(t,n)}}function w(e,t,n,r,i){if(t.data("$$ngAnimateCSS3Data"))return function(e,t,n,r,i){function u(){t.off(I,c),a.removeClass(t,p),a.removeClass(t,d),R&&s.cancel(R),S(t,n);var e,r=o(t);for(e in f)r.style.removeProperty(f[e])}function c(e){e.stopPropagation();var t=e.originalEvent||e;e=t.$manualTimeStamp||t.timeStamp||Date.now(),t=parseFloat(t.elapsedTime.toFixed(3)),Math.max(e-k,0)>=A&&t>=E&&r()}var h=o(t);if(e=t.data("$$ngAnimateCSS3Data"),-1!=h.getAttribute("class").indexOf(n)&&e){var p="",d="";l(n.split(" "),(function(e,t){var n=(0<t?" ":"")+e;p+=n+"-active",d+=n+"-pending"}));var f=[],v=e.itemIndex,y=e.stagger,$=0;if(0<v){$=0,0<y.transitionDelay&&0===y.transitionDuration&&($=y.transitionDelay*v);var w=0;0<y.animationDelay&&0===y.animationDuration&&(w=y.animationDelay*v,f.push(D+"animation-play-state")),$=Math.round(100*Math.max($,w))/100}$||(a.addClass(t,p),e.blockTransition&&b(h,!1));var x=m(t,e.cacheKey+" "+p),E=Math.max(x.transitionDuration,x.animationDuration);if(0!==E){!$&&i&&(x.transitionDuration||(t.css("transition",x.animationDuration+"s linear all"),f.push("transition")),t.css(i));var A=1e3*(v=Math.max(x.transitionDelay,x.animationDelay));0<f.length&&(";"!==(y=h.getAttribute("style")||"").charAt(y.length-1)&&(y+=";"),h.setAttribute("style",y+" "));var R,k=Date.now(),I=T+" "+C;v=1e3*($+1.5*(v+E));return 0<$&&(a.addClass(t,d),R=s((function(){R=null,0<x.transitionDuration&&b(h,!1),0<x.animationDuration&&(h.style[F+"PlayState"]=""),a.addClass(t,p),a.removeClass(t,d),i&&(0===x.transitionDuration&&t.css("transition",x.animationDuration+"s linear all"),t.css(i),f.push("transition"))}),1e3*$,!1)),t.on(I,c),e.closeAnimationFns.push((function(){u(),r()})),e.running++,g(t,v),u}a.removeClass(t,p),S(t,n),r()}else r()}(e,t,n,r,i);S(t,n),r()}function x(e,t,n,r,i){var o=$(e,t,n,i.from);if(o){var s=o;return f(0,(function(){s=w(e,t,n,r,i.to)})),function(e){(s||u)(e)}}d(),r()}function S(e,t){a.removeClass(e,t);var n=e.data("$$ngAnimateCSS3Data");n&&(n.running&&n.running--,n.running&&0!==n.running||e.removeData("$$ngAnimateCSS3Data"))}function E(e,t){var n="";return e=h(e)?e:e.split(/\s+/),l(e,(function(e,r){e&&0<e.length&&(n+=(0<r?" ":"")+e+t)})),n}var A,C,F,T,D="";e.ontransitionend===n&&e.onwebkittransitionend!==n?(D="-webkit-",A="WebkitTransition",C="webkitTransitionEnd transitionend"):(A="transition",C="transitionend"),e.onanimationend===n&&e.onwebkitanimationend!==n?(D="-webkit-",F="WebkitAnimation",T="webkitAnimationEnd animationend"):(F="animation",T="animationend");var R,k={},I=0,P=[],O=null,_=0,j=[];return{animate:function(e,t,n,r,i,o){return(o=o||{}).from=n,o.to=r,x("animate",e,t,i,o)},enter:function(e,t,n){return x("enter",e,"ng-enter",t,n=n||{})},leave:function(e,t,n){return x("leave",e,"ng-leave",t,n=n||{})},move:function(e,t,n){return x("move",e,"ng-move",t,n=n||{})},beforeSetClass:function(e,t,n,r,i){if(i=i||{},i=$("setClass",e,t=E(n,"-remove")+" "+E(t,"-add"),i.from))return f(0,r),i;d(),r()},beforeAddClass:function(e,t,n,r){if(r=r||{},t=$("addClass",e,E(t,"-add"),r.from))return f(0,n),t;d(),n()},beforeRemoveClass:function(e,t,n,r){if(r=r||{},t=$("removeClass",e,E(t,"-remove"),r.from))return f(0,n),t;d(),n()},setClass:function(e,t,n,r,i){return i=i||{},w("setClass",e,(n=E(n,"-remove"))+" "+(t=E(t,"-add")),r,i.to)},addClass:function(e,t,n,r){return r=r||{},w("addClass",e,E(t,"-add"),n,r.to)},removeClass:function(e,t,n,r){return r=r||{},w("removeClass",e,E(t,"-remove"),n,r.to)}}}])}])}(window,window.angular)},357:function(e,t){!function(e,t,n){"use strict";t.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,n){var r,i={},o={},s=!1,a=t.copy,u=t.isUndefined;return n.addPollFn((function(){var t=n.cookies();r!=t&&(r=t,a(t,o),a(t,i),s&&e.$apply())}))(),s=!0,e.$watch((function(){var e,r,s;for(e in o)u(i[e])&&n.cookies(e,void 0);for(e in i)r=i[e],t.isString(r)||(r=""+r,i[e]=r),r!==o[e]&&(n.cookies(e,r),s=!0);if(s)for(e in r=n.cookies(),i)i[e]!==r[e]&&(u(r[e])?delete i[e]:i[e]=r[e])})),i}]).factory("$cookieStore",["$cookies",function(e){return{get:function(n){return(n=e[n])?t.fromJson(n):n},put:function(n,r){e[n]=t.toJson(r)},remove:function(t){delete e[t]}}}])}(window,window.angular)},358:function(e,t){!function(e,t,n){"use strict";function r(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,s,a,u){function l(){d&&(r.cancel(d),d=null),h&&(h.$destroy(),h=null),p&&((d=r.leave(p)).then((function(){d=null})),p=null)}function c(){var s=e.current&&e.current.locals;if(t.isDefined(s&&s.$template)){s=i.$new();var a=e.current;p=u(s,(function(e){r.enter(e,null,p||o).then((function(){!t.isDefined(f)||f&&!i.$eval(f)||n()})),l()})),(h=a.scope=s).$emit("$viewContentLoaded"),h.$eval(g)}else l()}var h,p,d,f=s.autoscroll,g=s.onload||"";i.$on("$routeChangeSuccess",c),c()}}}function i(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,s=o.locals;i.html(s.$template);var a=e(i.contents());o.controller&&(s.$scope=r,s=t(o.controller,s),o.controllerAs&&(r[o.controllerAs]=s),i.data("$ngControllerController",s),i.children().data("$ngControllerController",s)),a(r)}}}e=t.module("ngRoute",["ng"]).provider("$route",(function(){function e(e,n){return t.extend(Object.create(e),n)}function n(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,(function(e,t,n,r){return e="?"===r?r:null,r="*"===r?r:null,i.push({name:n,optional:!!e}),t=t||"",(e?"":t)+"(?:"+(e?t:"")+(r?"(.+?)":"([^/]+)")+(e||"")+")"+(e||"")})).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}var r={};this.when=function(e,i){var o=t.copy(i);if(t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),t.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),r[e]=t.extend(o,e&&n(e,o)),e){var s="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";r[s]=t.extend({redirectTo:e},n(s,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,s,a,u,l,c){function h(o){var s=v.current;(g=(f=function(){var n,o;return t.forEach(r,(function(r,s){var a;if(a=!o){var u=i.path();a=r.keys;var l={};if(r.regexp)if(u=r.regexp.exec(u)){for(var c=1,h=u.length;c<h;++c){var p=a[c-1],d=u[c];p&&d&&(l[p.name]=d)}a=l}else a=null;else a=null;a=n=a}a&&((o=e(r,{params:t.extend({},i.search(),n),pathParams:n})).$$route=r)})),o||r.null&&e(r.null,{params:{},pathParams:{}})}())&&s&&f.$$route===s.$$route&&t.equals(f.pathParams,s.pathParams)&&!f.reloadOnSearch&&!m)||!s&&!f||n.$broadcast("$routeChangeStart",f,s).defaultPrevented&&o&&o.preventDefault()}function p(){var e=v.current,r=f;g?(e.params=r.params,t.copy(e.params,s),n.$broadcast("$routeUpdate",e)):(r||e)&&(m=!1,(v.current=r)&&r.redirectTo&&(t.isString(r.redirectTo)?i.path(d(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),a.when(r).then((function(){if(r){var e,n,i=t.extend({},r.resolve);return t.forEach(i,(function(e,n){i[n]=t.isString(e)?u.get(e):u.invoke(e,null,null,n)})),t.isDefined(e=r.template)?t.isFunction(e)&&(e=e(r.params)):t.isDefined(n=r.templateUrl)&&(t.isFunction(n)&&(n=n(r.params)),n=c.getTrustedResourceUrl(n),t.isDefined(n)&&(r.loadedTemplateUrl=n,e=l(n))),t.isDefined(e)&&(i.$template=e),a.all(i)}})).then((function(i){r==v.current&&(r&&(r.locals=i,t.copy(r.params,s)),n.$broadcast("$routeChangeSuccess",r,e))}),(function(t){r==v.current&&n.$broadcast("$routeChangeError",r,e,t)})))}function d(e,n){var r=[];return t.forEach((e||"").split(":"),(function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}})),r.join("")}var f,g,m=!1,v={routes:r,reload:function(){m=!0,n.$evalAsync((function(){h(),p()}))},updateParams:function(e){if(!this.current||!this.current.$$route)throw o("norout");var n={},r=this;t.forEach(Object.keys(e),(function(t){r.current.pathParams[t]||(n[t]=e[t])})),e=t.extend({},this.current.params,e),i.path(d(this.current.$$route.originalPath,e)),i.search(t.extend({},i.search(),n))}};return n.$on("$locationChangeStart",h),n.$on("$locationChangeSuccess",p),v}]}));var o=t.$$minErr("ngRoute");e.provider("$routeParams",(function(){this.$get=function(){return{}}})),e.directive("ngView",r),e.directive("ngView",i),r.$inject=["$route","$anchorScroll","$animate"],i.$inject=["$compile","$controller","$route"]}(window,window.angular)},359:function(e,t){
|
|
19
19
|
/**
|
|
20
20
|
* An Angular module that gives you access to the browsers local storage
|