From feaeef7b3d2086a9b46e8a2a7c3da2b60fb350bc Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Fri, 29 Dec 2023 16:39:25 +0530 Subject: [PATCH] Issue #IQ-653 fix: Updated Resouce Library version --- package-lock.json | 6 +++--- package.json | 2 +- projects/questionset-editor-library/package.json | 2 +- .../vanilla-js/sunbird-questionset-editor.js | 2 +- web-component/package.json | 2 +- web-component/sunbird-questionset-editor.js | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3db8e40a..4777082a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4234,9 +4234,9 @@ } }, "@project-sunbird/sunbird-resource-library": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@project-sunbird/sunbird-resource-library/-/sunbird-resource-library-7.0.2.tgz", - "integrity": "sha512-BTHJQCLWL93GKU1oK9Qb/dcqFOkDh1oJEzNlp/XtmUSXmq0v5rfBHAFf3PRWHokehv+StbOQBKqYEAZmy4JmyA==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@project-sunbird/sunbird-resource-library/-/sunbird-resource-library-7.0.3.tgz", + "integrity": "sha512-Q1MhBNQIVrFAqGMBHQHq+uqVAbSUAbnaPo1zqy5l1vgvVOj32tm9Xz2kVLNU8vzOnEkRlh95+qsnw/icins5wQ==", "requires": { "tslib": "^2.0.0" } diff --git a/package.json b/package.json index 9d5d7536..af544d1a 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@project-sunbird/sb-styles": "0.0.9", "@project-sunbird/sunbird-file-upload-library": "1.0.2", "@project-sunbird/sunbird-quml-player": "7.0.2", - "@project-sunbird/sunbird-resource-library": "7.0.2", + "@project-sunbird/sunbird-resource-library": "7.0.3", "@project-sunbird/telemetry-sdk": "0.0.29", "@types/jquery": "^3.5.5", "alphanum-sort": "^1.0.2", diff --git a/projects/questionset-editor-library/package.json b/projects/questionset-editor-library/package.json index f437e3d7..56d3f2ba 100644 --- a/projects/questionset-editor-library/package.json +++ b/projects/questionset-editor-library/package.json @@ -1,6 +1,6 @@ { "name": "@project-sunbird/sunbird-questionset-editor", - "version": "7.0.3", + "version": "7.0.4", "dependencies": { "tslib": "^2.0.0" }, diff --git a/web-component-examples/vanilla-js/sunbird-questionset-editor.js b/web-component-examples/vanilla-js/sunbird-questionset-editor.js index 29c02e38..9933d233 100644 --- a/web-component-examples/vanilla-js/sunbird-questionset-editor.js +++ b/web-component-examples/vanilla-js/sunbird-questionset-editor.js @@ -1,4 +1,4 @@ (()=>{"use strict";var e,s={},_={};function n(e){var a=_[e];if(void 0!==a)return a.exports;var r=_[e]={id:e,loaded:!1,exports:{}};return s[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=s,n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(a,r,f,o)=>{if(!r){var u=1/0;for(t=0;t=o)&&Object.keys(n.O).every(h=>n.O[h](r[l]))?r.splice(l--,1):(c=!1,o0&&e[t-1][2]>o;t--)e[t]=e[t-1];e[t]=[r,f,o]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),n.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};n.O.j=f=>0===e[f];var a=(f,o)=>{var l,i,[t,u,c]=o,d=0;if(t.some(v=>0!==e[v])){for(l in u)n.o(u,l)&&(n.m[l]=u[l]);if(c)var b=c(n)}for(f&&f(o);d{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,E){n&&n.measure&&n.measure(L,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,E,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,E,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,E,t,r)=>L.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:w,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[Z]&&(K=e[Z].resolve(0)),K){let E=K[N];E||(E=K.then),E.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,De="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(De),Ne=Zone.__symbol__(Oe),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Le(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Me(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),Pe={},Ue=function(e){if(!(e=e||Y.event))return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return je&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let w=Pe[d];w||(w=Pe[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[w]&&m.removeEventListener(d,Ue),y&&y.call(m,null),m[w]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[w];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,n,i){if(n)for(let o=0;ofunction(y,d){const w=i(y,d);return w.cbIdx>=0&&"function"==typeof d[w.cbIdx]?Le(w.name,d[w.cbIdx],w,c):a.apply(y,d)})}function le(e,n){e[A("OriginalDelegate")]=n}let Xe=!1,Ae=!1;function ft(){if(Xe)return Ae;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],w=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,p=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const S=l[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=b);const O=u.run(T,void 0,D&&T!==K&&T!==H?[]:[S]);z(s,!0,O)}catch(S){z(s,!1,S)}},s)}const L=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,S)=>{for(let D=0;D{g||(g=!0,T(O))},O=>{b.push(O),f--,0===f&&(g=!0,S(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,D)=>{s=S,f=D});function b(S){s(S)}function T(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((O,V)=>{f=O,g=V}),T=2,S=0;const D=[];for(let O of u){B(O)||(O=this.resolve(O));const V=S;try{O.then(F=>{D[V]=s?s.thenCallback(F):F,T--,0===T&&f(D)},F=>{s?(D[V]=s.errorCallback(F),T--,0===T&&f(D)):g(F)})}catch(F){g(F)}T++,S++}return T-=2,0===T&&f(D),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(L),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(L);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((S,D)=>{f.call(this,S,D)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||De,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",w=A(c),v="."+c+":",m="prependListener",M="."+m+":",Z=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=ve(p);if(!p&&R[c]&&(p=R),!p||p[w])return!1;const G=_&&_.eventNameToString,h={},I=p[w]=p[c],P=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,w,v){return w&&w.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,Z=w.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(w.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),y.call(n,d,w,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Me,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Be,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:De,REMOVE_EVENT_LISTENER_STR:Oe})});const Re=A("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function w(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Re]=null))}};const B=Le(n,M[0],Z,d,w);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Re],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(w,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let w=0;w{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Be||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function w(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=ae(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const w=function(){return d.apply(this,Me(arguments,i+"."+c))};return le(w,d),w})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const w=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(w)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ue=>{ue(ue.s=8583)}]); var conceptModal;!function(z,W){"function"==typeof define&&define.amd?define([],W()):"object"==typeof exports?module.exports=W():z.iziToast=W()}(typeof global<"u"?global:window||this.window||this.global,function(z){"use strict";var W={},b="iziToast",e=(document.querySelector("body"),!!/Mobi/.test(navigator.userAgent)),t=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),w=typeof InstallTrigger<"u",a="ontouchstart"in document.documentElement,h=["bottomRight","bottomLeft","bottomCenter","topRight","topLeft","topCenter","center"],o=568,u={};W.children={};var i={id:null,class:"",title:"",titleColor:"",titleSize:"",titleLineHeight:"",message:"",messageColor:"",messageSize:"",messageLineHeight:"",backgroundColor:"",theme:"light",color:"",icon:"",iconText:"",iconColor:"",image:"",imageWidth:50,maxWidth:null,zindex:null,layout:1,balloon:!1,close:!0,closeOnEscape:!1,closeOnClick:!1,rtl:!1,position:"bottomRight",target:"",targetFirst:!0,toastOnce:!1,timeout:5e3,animateInside:!0,drag:!0,pauseOnHover:!0,resetOnHover:!1,progressBar:!0,progressBarColor:"",progressBarEasing:"linear",overlay:!1,overlayClose:!1,overlayColor:"rgba(0, 0, 0, 0.6)",transitionIn:"fadeInUp",transitionOut:"fadeOut",transitionInMobile:"fadeInUp",transitionOutMobile:"fadeOutDown",buttons:{},inputs:{},onOpening:function(){},onOpened:function(){},onClosing:function(){},onClosed:function(){}};if("remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"function"!=typeof window.CustomEvent){var l=function(_,v){v=v||{bubbles:!1,cancelable:!1,detail:void 0};var f=document.createEvent("CustomEvent");return f.initCustomEvent(_,v.bubbles,v.cancelable,v.detail),f};l.prototype=window.Event.prototype,window.CustomEvent=l}var c=function(_,v,f){if("[object Object]"===Object.prototype.toString.call(_))for(var r in _)Object.prototype.hasOwnProperty.call(_,r)&&v.call(f,_[r],r,_);else if(_)for(var C=0,y=_.length;y>C;C++)v.call(f,_[C],C,_)},d=function(_,v){var f={};return c(_,function(r,C){f[C]=_[C]}),c(v,function(r,C){f[C]=v[C]}),f},g=function(_){var v=document.createDocumentFragment(),f=document.createElement("div");for(f.innerHTML=_;f.firstChild;)v.appendChild(f.firstChild);return v},E={move:function(_,v,f,r){var C,y=.3,n=180;0!==r&&(_.classList.add(b+"-dragged"),_.style.transform="translateX("+r+"px)",r>0?y>(C=(n-r)/n)&&v.hide(d(f,{transitionOut:"fadeOutRight",transitionOutMobile:"fadeOutRight"}),_,"drag"):y>(C=(n+r)/n)&&v.hide(d(f,{transitionOut:"fadeOutLeft",transitionOutMobile:"fadeOutLeft"}),_,"drag"),_.style.opacity=C,y>C&&((t||w)&&(_.style.left=r+"px"),_.parentNode.style.opacity=y,this.stopMoving(_,null)))},startMoving:function(_,v,f,r){r=r||window.event;var C=a?r.touches[0].clientX:r.clientX,y=_.style.transform.replace("px)",""),n=C-(y=y.replace("translateX(",""));_.classList.remove(f.transitionIn),_.classList.remove(f.transitionInMobile),_.style.transition="",a?document.ontouchmove=function(p){p.preventDefault(),p=p||window.event,E.move(_,v,f,p.touches[0].clientX-n)}:document.onmousemove=function(p){p.preventDefault(),p=p||window.event,E.move(_,v,f,p.clientX-n)}},stopMoving:function(_,v){a?document.ontouchmove=function(){}:document.onmousemove=function(){},_.style.opacity="",_.style.transform="",_.classList.contains(b+"-dragged")&&(_.classList.remove(b+"-dragged"),_.style.transition="transform 0.4s ease, opacity 0.4s ease",setTimeout(function(){_.style.transition=""},400))}};return W.setSetting=function(_,v,f){W.children[_][v]=f},W.getSetting=function(_,v){return W.children[_][v]},W.destroy=function(){c(document.querySelectorAll("."+b+"-wrapper"),function(_,v){_.remove()}),c(document.querySelectorAll("."+b),function(_,v){_.remove()}),document.removeEventListener(b+"-opened",{},!1),document.removeEventListener(b+"-opening",{},!1),document.removeEventListener(b+"-closing",{},!1),document.removeEventListener(b+"-closed",{},!1),document.removeEventListener("keyup",{},!1),u={}},W.settings=function(_){W.destroy(),u=_,i=d(i,_||{})},c({info:{color:"blue",icon:"ico-info"},success:{color:"green",icon:"ico-success"},warning:{color:"orange",icon:"ico-warning"},error:{color:"red",icon:"ico-error"},question:{color:"yellow",icon:"ico-question"}},function(_,v){W[v]=function(f){var r=d(u,f||{});r=d(_,r||{}),this.show(r)}}),W.progress=function(_,v,f){var r=this,C=v.getAttribute("data-iziToast-ref"),y=d(this.children[C],_||{}),n=v.querySelector("."+b+"-progressbar div");return{start:function(){typeof y.time.REMAINING>"u"&&(v.classList.remove(b+"-reseted"),null!==n&&(n.style.transition="width "+y.timeout+"ms "+y.progressBarEasing,n.style.width="0%"),y.time.START=(new Date).getTime(),y.time.END=y.time.START+y.timeout,y.time.TIMER=setTimeout(function(){clearTimeout(y.time.TIMER),v.classList.contains(b+"-closing")||(r.hide(y,v,"timeout"),"function"==typeof f&&f.apply(r))},y.timeout),r.setSetting(C,"time",y.time))},pause:function(){if(typeof y.time.START<"u"&&!v.classList.contains(b+"-paused")&&!v.classList.contains(b+"-reseted")){if(v.classList.add(b+"-paused"),y.time.REMAINING=y.time.END-(new Date).getTime(),clearTimeout(y.time.TIMER),r.setSetting(C,"time",y.time),null!==n){var x=window.getComputedStyle(n).getPropertyValue("width");n.style.transition="none",n.style.width=x}"function"==typeof f&&setTimeout(function(){f.apply(r)},10)}},resume:function(){typeof y.time.REMAINING<"u"?(v.classList.remove(b+"-paused"),null!==n&&(n.style.transition="width "+y.time.REMAINING+"ms "+y.progressBarEasing,n.style.width="0%"),y.time.END=(new Date).getTime()+y.time.REMAINING,y.time.TIMER=setTimeout(function(){clearTimeout(y.time.TIMER),v.classList.contains(b+"-closing")||(r.hide(y,v,"timeout"),"function"==typeof f&&f.apply(r))},y.time.REMAINING),r.setSetting(C,"time",y.time)):this.start()},reset:function(){clearTimeout(y.time.TIMER),delete y.time.REMAINING,r.setSetting(C,"time",y.time),v.classList.add(b+"-reseted"),v.classList.remove(b+"-paused"),null!==n&&(n.style.transition="none",n.style.width="100%"),"function"==typeof f&&setTimeout(function(){f.apply(r)},10)}}},W.hide=function(_,v,f){var r=this,C=d(this.children[v.getAttribute("data-iziToast-ref")],_||{});C.closedBy=f||null,delete C.time.REMAINING,"object"!=typeof v&&(v=document.querySelector(v)),v.classList.add(b+"-closing"),function(){var p=document.querySelector("."+b+"-overlay");if(null!==p){var x=p.getAttribute("data-iziToast-ref"),k=(x=x.split(",")).indexOf(String(C.ref));-1!==k&&x.splice(k,1),p.setAttribute("data-iziToast-ref",x.join()),0===x.length&&(p.classList.remove("fadeIn"),p.classList.add("fadeOut"),setTimeout(function(){p.remove()},700))}}(),(C.transitionIn||C.transitionInMobile)&&(v.classList.remove(C.transitionIn),v.classList.remove(C.transitionInMobile)),e||window.innerWidth<=o?C.transitionOutMobile&&v.classList.add(C.transitionOutMobile):C.transitionOut&&v.classList.add(C.transitionOut),v.parentNode.style.height=v.parentNode.offsetHeight+"px",v.style.pointerEvents="none",(!e||window.innerWidth>o)&&(v.parentNode.style.transitionDelay="0.2s");try{var n=new CustomEvent(b+"-closing",{detail:C,bubbles:!0,cancelable:!0});document.dispatchEvent(n)}catch(p){console.warn(p)}setTimeout(function(){v.parentNode.style.height="0px",v.parentNode.style.overflow="",setTimeout(function(){delete r.children[C.ref],v.parentNode.remove();try{var p=new CustomEvent(b+"-closed",{detail:C,bubbles:!0,cancelable:!0});document.dispatchEvent(p)}catch(x){console.warn(x)}typeof C.onClosed<"u"&&C.onClosed.apply(null,[C,v,f])},1e3)},200),typeof C.onClosing<"u"&&C.onClosing.apply(null,[C,v,f])},W.show=function(_){var v=this,f=d(u,_||{});if((f=d(i,f)).time={},f.toastOnce&&f.id&&document.querySelectorAll("."+b+"#"+f.id).length>0)return!1;f.ref=(new Date).getTime()+Math.floor(1e7*Math.random()+1),W.children[f.ref]=f;var C,r={body:document.querySelector("body"),overlay:document.createElement("div"),toast:document.createElement("div"),toastBody:document.createElement("div"),toastTexts:document.createElement("div"),toastCapsule:document.createElement("div"),icon:document.createElement("i"),cover:document.createElement("div"),buttons:document.createElement("div"),inputs:document.createElement("div"),wrapper:null};r.toast.setAttribute("data-iziToast-ref",f.ref),r.toast.appendChild(r.toastBody),r.toastCapsule.appendChild(r.toast),function(){if(r.toast.classList.add(b),r.toast.classList.add(b+"-opening"),r.toastCapsule.classList.add(b+"-capsule"),r.toastBody.classList.add(b+"-body"),r.toastTexts.classList.add(b+"-texts"),e||window.innerWidth<=o?f.transitionInMobile&&r.toast.classList.add(f.transitionInMobile):f.transitionIn&&r.toast.classList.add(f.transitionIn),f.class){var n=f.class.split(" ");c(n,function(p,x){r.toast.classList.add(p)})}f.id&&(r.toast.id=f.id),f.rtl&&(r.toast.classList.add(b+"-rtl"),r.toast.setAttribute("dir","rtl")),f.layout>1&&r.toast.classList.add(b+"-layout"+f.layout),f.balloon&&r.toast.classList.add(b+"-balloon"),f.maxWidth&&(r.toast.style.maxWidth=isNaN(f.maxWidth)?f.maxWidth:f.maxWidth+"px"),""===f.theme&&"light"===f.theme||r.toast.classList.add(b+"-theme-"+f.theme),f.color&&(function(_){return"#"==_.substring(0,1)||"rgb"==_.substring(0,3)||"hsl"==_.substring(0,3)}(f.color)?r.toast.style.background=f.color:r.toast.classList.add(b+"-color-"+f.color)),f.backgroundColor&&(r.toast.style.background=f.backgroundColor,f.balloon&&(r.toast.style.borderColor=f.backgroundColor))}(),f.image&&(r.cover.classList.add(b+"-cover"),r.cover.style.width=f.imageWidth+"px",r.cover.style.backgroundImage=function(_){try{return btoa(atob(_))==_}catch{return!1}}(f.image.replace(/ /g,""))?"url(data:image/png;base64,"+f.image.replace(/ /g,"")+")":"url("+f.image+")",f.rtl?r.toastBody.style.marginRight=f.imageWidth+10+"px":r.toastBody.style.marginLeft=f.imageWidth+10+"px",r.toast.appendChild(r.cover)),f.close?(r.buttonClose=document.createElement("button"),r.buttonClose.classList.add(b+"-close"),r.buttonClose.addEventListener("click",function(n){v.hide(f,r.toast,"button")}),r.toast.appendChild(r.buttonClose)):f.rtl?r.toast.style.paddingLeft="18px":r.toast.style.paddingRight="18px",f.progressBar&&(r.progressBar=document.createElement("div"),r.progressBarDiv=document.createElement("div"),r.progressBar.classList.add(b+"-progressbar"),r.progressBarDiv.style.background=f.progressBarColor,r.progressBar.appendChild(r.progressBarDiv),r.toast.appendChild(r.progressBar)),f.timeout&&(f.pauseOnHover&&!f.resetOnHover&&(r.toast.addEventListener("mouseenter",function(n){v.progress(f,r.toast).pause()}),r.toast.addEventListener("mouseleave",function(n){v.progress(f,r.toast).resume()})),f.resetOnHover&&(r.toast.addEventListener("mouseenter",function(n){v.progress(f,r.toast).reset()}),r.toast.addEventListener("mouseleave",function(n){v.progress(f,r.toast).start()}))),f.icon&&(r.icon.setAttribute("class",b+"-icon "+f.icon),f.iconText&&r.icon.appendChild(document.createTextNode(f.iconText)),f.rtl?r.toastBody.style.paddingRight="33px":r.toastBody.style.paddingLeft="33px",f.iconColor&&(r.icon.style.color=f.iconColor),r.toastBody.appendChild(r.icon)),f.title.length>0&&(r.strong=document.createElement("strong"),r.strong.classList.add(b+"-title"),r.strong.appendChild(g(f.title)),r.toastTexts.appendChild(r.strong),f.titleColor&&(r.strong.style.color=f.titleColor),f.titleSize&&(r.strong.style.fontSize=isNaN(f.titleSize)?f.titleSize:f.titleSize+"px"),f.titleLineHeight&&(r.strong.style.lineHeight=isNaN(f.titleSize)?f.titleLineHeight:f.titleLineHeight+"px")),f.message.length>0&&(r.p=document.createElement("p"),r.p.classList.add(b+"-message"),r.p.appendChild(g(f.message)),r.toastTexts.appendChild(r.p),f.messageColor&&(r.p.style.color=f.messageColor),f.messageSize&&(r.p.style.fontSize=isNaN(f.titleSize)?f.messageSize:f.messageSize+"px"),f.messageLineHeight&&(r.p.style.lineHeight=isNaN(f.titleSize)?f.messageLineHeight:f.messageLineHeight+"px")),f.title.length>0&&f.message.length>0&&(f.rtl?r.strong.style.marginLeft="10px":2===f.layout||f.rtl||(r.strong.style.marginRight="10px")),r.toastBody.appendChild(r.toastTexts),f.inputs.length>0&&(r.inputs.classList.add(b+"-inputs"),c(f.inputs,function(n,p){r.inputs.appendChild(g(n[0])),(C=r.inputs.childNodes)[p].classList.add(b+"-inputs-child"),n[3]&&setTimeout(function(){C[p].focus()},300),C[p].addEventListener(n[1],function(x){return(0,n[2])(v,r.toast,this,x)})}),r.toastBody.appendChild(r.inputs)),f.buttons.length>0&&(r.buttons.classList.add(b+"-buttons"),c(f.buttons,function(n,p){r.buttons.appendChild(g(n[0]));var x=r.buttons.childNodes;x[p].classList.add(b+"-buttons-child"),n[2]&&setTimeout(function(){x[p].focus()},300),x[p].addEventListener("click",function(k){return k.preventDefault(),(0,n[1])(v,r.toast,this,k,C)})})),r.toastBody.appendChild(r.buttons),f.message.length>0&&(f.inputs.length>0||f.buttons.length>0)&&(r.p.style.marginBottom="0"),(f.inputs.length>0||f.buttons.length>0)&&(f.rtl?r.toastTexts.style.marginLeft="10px":r.toastTexts.style.marginRight="10px",f.inputs.length>0&&f.buttons.length>0&&(f.rtl?r.inputs.style.marginLeft="8px":r.inputs.style.marginRight="8px")),r.toastCapsule.style.visibility="hidden",setTimeout(function(){var n=r.toast.offsetHeight,p=r.toast.currentStyle||window.getComputedStyle(r.toast),x=p.marginTop;x=x.split("px"),x=parseInt(x[0]);var k=p.marginBottom;k=k.split("px"),k=parseInt(k[0]),r.toastCapsule.style.visibility="",r.toastCapsule.style.height=n+k+x+"px",setTimeout(function(){r.toastCapsule.style.height="auto",f.target&&(r.toastCapsule.style.overflow="visible")},500),f.timeout&&v.progress(f,r.toast).start()},100),function(){var n=f.position;if(f.target)r.wrapper=document.querySelector(f.target),r.wrapper.classList.add(b+"-target"),f.targetFirst?r.wrapper.insertBefore(r.toastCapsule,r.wrapper.firstChild):r.wrapper.appendChild(r.toastCapsule);else{if(-1==h.indexOf(f.position))return void console.warn("["+b+"] Incorrect position.\nIt can be \u203a "+h);n=e||window.innerWidth<=o?"bottomLeft"==f.position||"bottomRight"==f.position||"bottomCenter"==f.position?b+"-wrapper-bottomCenter":"topLeft"==f.position||"topRight"==f.position||"topCenter"==f.position?b+"-wrapper-topCenter":b+"-wrapper-center":b+"-wrapper-"+n,r.wrapper=document.querySelector("."+b+"-wrapper."+n),r.wrapper||(r.wrapper=document.createElement("div"),r.wrapper.classList.add(b+"-wrapper"),r.wrapper.classList.add(n),document.body.appendChild(r.wrapper)),"topLeft"==f.position||"topCenter"==f.position||"topRight"==f.position?r.wrapper.insertBefore(r.toastCapsule,r.wrapper.firstChild):r.wrapper.appendChild(r.toastCapsule)}isNaN(f.zindex)?console.warn("["+b+"] Invalid zIndex."):r.wrapper.style.zIndex=f.zindex}(),f.overlay&&(null!==document.querySelector("."+b+"-overlay.fadeIn")?(r.overlay=document.querySelector("."+b+"-overlay"),r.overlay.setAttribute("data-iziToast-ref",r.overlay.getAttribute("data-iziToast-ref")+","+f.ref),isNaN(f.zindex)||null===f.zindex||(r.overlay.style.zIndex=f.zindex-1)):(r.overlay.classList.add(b+"-overlay"),r.overlay.classList.add("fadeIn"),r.overlay.style.background=f.overlayColor,r.overlay.setAttribute("data-iziToast-ref",f.ref),isNaN(f.zindex)||null===f.zindex||(r.overlay.style.zIndex=f.zindex-1),document.querySelector("body").appendChild(r.overlay)),f.overlayClose?(r.overlay.removeEventListener("click",{}),r.overlay.addEventListener("click",function(n){v.hide(f,r.toast,"overlay")})):r.overlay.removeEventListener("click",{})),function(){if(f.animateInside){r.toast.classList.add(b+"-animateInside");var n=[200,100,300];"bounceInLeft"!=f.transitionIn&&"bounceInRight"!=f.transitionIn||(n=[400,200,400]),f.title.length>0&&setTimeout(function(){r.strong.classList.add("slideIn")},n[0]),f.message.length>0&&setTimeout(function(){r.p.classList.add("slideIn")},n[1]),f.icon&&setTimeout(function(){r.icon.classList.add("revealIn")},n[2]);var p=150;f.buttons.length>0&&r.buttons&&setTimeout(function(){c(r.buttons.childNodes,function(x,k){setTimeout(function(){x.classList.add("revealIn")},p),p+=150})},f.inputs.length>0?150:0),f.inputs.length>0&&r.inputs&&(p=150,c(r.inputs.childNodes,function(x,k){setTimeout(function(){x.classList.add("revealIn")},p),p+=150}))}}(),f.onOpening.apply(null,[f,r.toast]);try{var y=new CustomEvent(b+"-opening",{detail:f,bubbles:!0,cancelable:!0});document.dispatchEvent(y)}catch(n){console.warn(n)}setTimeout(function(){r.toast.classList.remove(b+"-opening"),r.toast.classList.add(b+"-opened");try{var n=new CustomEvent(b+"-opened",{detail:f,bubbles:!0,cancelable:!0});document.dispatchEvent(n)}catch(p){console.warn(p)}f.onOpened.apply(null,[f,r.toast])},1e3),f.drag&&(a?(r.toast.addEventListener("touchstart",function(n){E.startMoving(this,v,f,n)},!1),r.toast.addEventListener("touchend",function(n){E.stopMoving(this,n)},!1)):(r.toast.addEventListener("mousedown",function(n){n.preventDefault(),E.startMoving(this,v,f,n)},!1),r.toast.addEventListener("mouseup",function(n){n.preventDefault(),E.stopMoving(this,n)},!1))),f.closeOnEscape&&document.addEventListener("keyup",function(n){27==(n=n||window.event).keyCode&&v.hide(f,r.toast,"esc")}),f.closeOnClick&&r.toast.addEventListener("click",function(n){v.hide(f,r.toast,"toast")}),v.toast=r.toast},W}),function(z,W){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=z.document?W(z,!0):function(b){if(!b.document)throw new Error("jQuery requires a window with a document");return W(b)}:W(z)}(typeof window<"u"?window:this,function(z,W){"use strict";var b=[],e=Object.getPrototypeOf,t=b.slice,w=b.flat?function(P){return b.flat.call(P)}:function(P){return b.concat.apply([],P)},a=b.push,h=b.indexOf,s={},o=s.toString,u=s.hasOwnProperty,i=u.toString,l=i.call(Object),c={},d=function(P){return"function"==typeof P&&"number"!=typeof P.nodeType&&"function"!=typeof P.item},g=function(P){return null!=P&&P===P.window},m=z.document,S={type:!0,src:!0,nonce:!0,noModule:!0};function E(P,H,se){var de,Ce,Pe=(se=se||m).createElement("script");if(Pe.text=P,H)for(de in S)(Ce=H[de]||H.getAttribute&&H.getAttribute(de))&&Pe.setAttribute(de,Ce);se.head.appendChild(Pe).parentNode.removeChild(Pe)}function _(P){return null==P?P+"":"object"==typeof P||"function"==typeof P?s[o.call(P)]||"object":typeof P}var v="3.7.0",f=/HTML$/i,r=function(P,H){return new r.fn.init(P,H)};function C(P){var H=!!P&&"length"in P&&P.length,se=_(P);return!d(P)&&!g(P)&&("array"===se||0===H||"number"==typeof H&&0+~]|"+k+")"+k+"*"),vt=new RegExp(k+"|>"),Ue=new RegExp(ye),St=new RegExp("^"+G+"$"),gr={ID:new RegExp("^#("+G+")"),CLASS:new RegExp("^\\.("+G+")"),TAG:new RegExp("^("+G+"|[*])"),ATTR:new RegExp("^"+le),PSEUDO:new RegExp("^"+ye),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+X+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},Er=/^(?:input|select|textarea|button)$/i,Kr=/^h\d$/i,zr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Rr=/[+~]/,br=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),Ar=function(Ge,st){var yt="0x"+Ge.slice(1)-65536;return st||(yt<0?String.fromCharCode(yt+65536):String.fromCharCode(yt>>10|55296,1023&yt|56320))},un=function(){_n()},Wr=ei(function(Ge){return!0===Ge.disabled&&y(Ge,"fieldset")},{dir:"parentNode",next:"legend"});try{gt.apply(b=t.call(U.childNodes),U.childNodes)}catch{gt={apply:function(st,yt){Y.apply(st,t.call(yt))},call:function(st){Y.apply(st,t.call(arguments,1))}}}function rr(Ge,st,yt,Et){var Rt,Yt,Re,Zt,Gt,xr,dr,fr=st&&st.ownerDocument,wr=st?st.nodeType:9;if(yt=yt||[],"string"!=typeof Ge||!Ge||1!==wr&&9!==wr&&11!==wr)return yt;if(!Et&&(_n(st),st=st||Pe,et)){if(11!==wr&&(Gt=zr.exec(Ge)))if(Rt=Gt[1]){if(9===wr){if(!(Re=st.getElementById(Rt)))return yt;if(Re.id===Rt)return gt.call(yt,Re),yt}else if(fr&&(Re=fr.getElementById(Rt))&&rr.contains(st,Re)&&Re.id===Rt)return gt.call(yt,Re),yt}else{if(Gt[2])return gt.apply(yt,st.getElementsByTagName(Ge)),yt;if((Rt=Gt[3])&&st.getElementsByClassName)return gt.apply(yt,st.getElementsByClassName(Rt)),yt}if(!(kr[Ge+" "]||Xe&&Xe.test(Ge))){if(dr=Ge,fr=st,1===wr&&(vt.test(Ge)||ot.test(Ge))){for((fr=Rr.test(Ge)&&oi(st.parentNode)||st)==st&&c.scope||((Zt=st.getAttribute("id"))?Zt=r.escapeSelector(Zt):st.setAttribute("id",Zt=xt)),Yt=(xr=Hn(Ge)).length;Yt--;)xr[Yt]=(Zt?"#"+Zt:":scope")+" "+Zn(xr[Yt]);dr=xr.join(",")}try{return gt.apply(yt,fr.querySelectorAll(dr)),yt}catch{kr(Ge,!0)}finally{Zt===xt&&st.removeAttribute("id")}}}return gi(Ge.replace(T,"$1"),st,yt,Et)}function Dr(){var Ge=[];return function st(yt,Et){return Ge.push(yt+" ")>H.cacheLength&&delete st[Ge.shift()],st[yt+" "]=Et}}function jr(Ge){return Ge[xt]=!0,Ge}function Mr(Ge){var st=Pe.createElement("fieldset");try{return!!Ge(st)}catch{return!1}finally{st.parentNode&&st.parentNode.removeChild(st),st=null}}function yn(Ge){return function(st){return y(st,"input")&&st.type===Ge}}function Ln(Ge){return function(st){return(y(st,"input")||y(st,"button"))&&st.type===Ge}}function Jn(Ge){return function(st){return"form"in st?st.parentNode&&!1===st.disabled?"label"in st?"label"in st.parentNode?st.parentNode.disabled===Ge:st.disabled===Ge:st.isDisabled===Ge||st.isDisabled!==!Ge&&Wr(st)===Ge:st.disabled===Ge:"label"in st&&st.disabled===Ge}}function Nn(Ge){return jr(function(st){return st=+st,jr(function(yt,Et){for(var Rt,Yt=Ge([],yt.length,st),Re=Yt.length;Re--;)yt[Rt=Yt[Re]]&&(yt[Rt]=!(Et[Rt]=yt[Rt]))})})}function oi(Ge){return Ge&&typeof Ge.getElementsByTagName<"u"&&Ge}function _n(Ge){var st,yt=Ge?Ge.ownerDocument||Ge:U;return yt!=Pe&&9===yt.nodeType&&yt.documentElement&&(je=(Pe=yt).documentElement,et=!r.isXMLDoc(Pe),ht=je.matches||je.webkitMatchesSelector||je.msMatchesSelector,U!=Pe&&(st=Pe.defaultView)&&st.top!==st&&st.addEventListener("unload",un),c.getById=Mr(function(Et){return je.appendChild(Et).id=r.expando,!Pe.getElementsByName||!Pe.getElementsByName(r.expando).length}),c.disconnectedMatch=Mr(function(Et){return ht.call(Et,"*")}),c.scope=Mr(function(){return Pe.querySelectorAll(":scope")}),c.cssHas=Mr(function(){try{return Pe.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),c.getById?(H.filter.ID=function(Et){var Rt=Et.replace(br,Ar);return function(Yt){return Yt.getAttribute("id")===Rt}},H.find.ID=function(Et,Rt){if(typeof Rt.getElementById<"u"&&et){var Yt=Rt.getElementById(Et);return Yt?[Yt]:[]}}):(H.filter.ID=function(Et){var Rt=Et.replace(br,Ar);return function(Yt){var Re=typeof Yt.getAttributeNode<"u"&&Yt.getAttributeNode("id");return Re&&Re.value===Rt}},H.find.ID=function(Et,Rt){if(typeof Rt.getElementById<"u"&&et){var Yt,Re,Zt,Gt=Rt.getElementById(Et);if(Gt){if((Yt=Gt.getAttributeNode("id"))&&Yt.value===Et)return[Gt];for(Zt=Rt.getElementsByName(Et),Re=0;Gt=Zt[Re++];)if((Yt=Gt.getAttributeNode("id"))&&Yt.value===Et)return[Gt]}return[]}}),H.find.TAG=function(Et,Rt){return typeof Rt.getElementsByTagName<"u"?Rt.getElementsByTagName(Et):Rt.querySelectorAll(Et)},H.find.CLASS=function(Et,Rt){if(typeof Rt.getElementsByClassName<"u"&&et)return Rt.getElementsByClassName(Et)},Xe=[],Mr(function(Et){var Rt;je.appendChild(Et).innerHTML="",Et.querySelectorAll("[selected]").length||Xe.push("\\["+k+"*(?:value|"+X+")"),Et.querySelectorAll("[id~="+xt+"-]").length||Xe.push("~="),Et.querySelectorAll("a#"+xt+"+*").length||Xe.push(".#.+[+~]"),Et.querySelectorAll(":checked").length||Xe.push(":checked"),(Rt=Pe.createElement("input")).setAttribute("type","hidden"),Et.appendChild(Rt).setAttribute("name","D"),je.appendChild(Et).disabled=!0,2!==Et.querySelectorAll(":disabled").length&&Xe.push(":enabled",":disabled"),(Rt=Pe.createElement("input")).setAttribute("name",""),Et.appendChild(Rt),Et.querySelectorAll("[name='']").length||Xe.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")}),c.cssHas||Xe.push(":has"),Xe=Xe.length&&new RegExp(Xe.join("|")),oe=function(Et,Rt){if(Et===Rt)return Ce=!0,0;var Yt=!Et.compareDocumentPosition-!Rt.compareDocumentPosition;return Yt||(1&(Yt=(Et.ownerDocument||Et)==(Rt.ownerDocument||Rt)?Et.compareDocumentPosition(Rt):1)||!c.sortDetached&&Rt.compareDocumentPosition(Et)===Yt?Et===Pe||Et.ownerDocument==U&&rr.contains(U,Et)?-1:Rt===Pe||Rt.ownerDocument==U&&rr.contains(U,Rt)?1:de?h.call(de,Et)-h.call(de,Rt):0:4&Yt?-1:1)}),Pe}for(P in rr.matches=function(Ge,st){return rr(Ge,null,null,st)},rr.matchesSelector=function(Ge,st){if(_n(Ge),et&&!kr[st+" "]&&(!Xe||!Xe.test(st)))try{var yt=ht.call(Ge,st);if(yt||c.disconnectedMatch||Ge.document&&11!==Ge.document.nodeType)return yt}catch{kr(st,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ge){return Ge[1]=Ge[1].replace(br,Ar),Ge[3]=(Ge[3]||Ge[4]||Ge[5]||"").replace(br,Ar),"~="===Ge[2]&&(Ge[3]=" "+Ge[3]+" "),Ge.slice(0,4)},CHILD:function(Ge){return Ge[1]=Ge[1].toLowerCase(),"nth"===Ge[1].slice(0,3)?(Ge[3]||rr.error(Ge[0]),Ge[4]=+(Ge[4]?Ge[5]+(Ge[6]||1):2*("even"===Ge[3]||"odd"===Ge[3])),Ge[5]=+(Ge[7]+Ge[8]||"odd"===Ge[3])):Ge[3]&&rr.error(Ge[0]),Ge},PSEUDO:function(Ge){var st,yt=!Ge[6]&&Ge[2];return gr.CHILD.test(Ge[0])?null:(Ge[3]?Ge[2]=Ge[4]||Ge[5]||"":yt&&Ue.test(yt)&&(st=Hn(yt,!0))&&(st=yt.indexOf(")",yt.length-st)-yt.length)&&(Ge[0]=Ge[0].slice(0,st),Ge[2]=yt.slice(0,st)),Ge.slice(0,3))}},filter:{TAG:function(Ge){var st=Ge.replace(br,Ar).toLowerCase();return"*"===Ge?function(){return!0}:function(yt){return y(yt,st)}},CLASS:function(Ge){var st=Jt[Ge+" "];return st||(st=new RegExp("(^|"+k+")"+Ge+"("+k+"|$)"))&&Jt(Ge,function(yt){return st.test("string"==typeof yt.className&&yt.className||typeof yt.getAttribute<"u"&&yt.getAttribute("class")||"")})},ATTR:function(Ge,st,yt){return function(Et){var Rt=rr.attr(Et,Ge);return null==Rt?"!="===st:!st||(Rt+="","="===st?Rt===yt:"!="===st?Rt!==yt:"^="===st?yt&&0===Rt.indexOf(yt):"*="===st?yt&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(P,H,se){return d(H)?r.grep(P,function(de,Ce){return!!H.call(de,Ce,de)!==se}):H.nodeType?r.grep(P,function(de){return de===H!==se}):"string"!=typeof H?r.grep(P,function(de){return-1)[^>]*|#([\w-]+))$/;(r.fn.init=function(P,H,se){var de,Ce;if(!P)return this;if(se=se||D,"string"==typeof P){if(!(de="<"===P[0]&&">"===P[P.length-1]&&3<=P.length?[null,P,null]:B.exec(P))||!de[1]&&H)return!H||H.jquery?(H||se).find(P):this.constructor(H).find(P);if(de[1]){if(r.merge(this,r.parseHTML(de[1],(H=H instanceof r?H[0]:H)&&H.nodeType?H.ownerDocument||H:m,!0)),Te.test(de[1])&&r.isPlainObject(H))for(de in H)d(this[de])?this[de](H[de]):this.attr(de,H[de]);return this}return(Ce=m.getElementById(de[2]))&&(this[0]=Ce,this.length=1),this}return P.nodeType?(this[0]=P,this.length=1,this):d(P)?void 0!==se.ready?se.ready(P):P(r):r.makeArray(P,this)}).prototype=r.fn,D=r(m);var V=/^(?:parents|prev(?:Until|All))/,te={children:!0,contents:!0,next:!0,prev:!0};function ce(P,H){for(;(P=P[H])&&1!==P.nodeType;);return P}r.fn.extend({has:function(P){var H=r(P,this),se=H.length;return this.filter(function(){for(var de=0;de\x20\t\r\n\f]*)/i,Je=/^$|^module$|\/(?:java|ecma)script/i;rt=m.createDocumentFragment().appendChild(m.createElement("div")),(At=m.createElement("input")).setAttribute("type","radio"),At.setAttribute("checked","checked"),At.setAttribute("name","t"),rt.appendChild(At),c.checkClone=rt.cloneNode(!0).cloneNode(!0).lastChild.checked,rt.innerHTML="",c.noCloneChecked=!!rt.cloneNode(!0).lastChild.defaultValue,rt.innerHTML="",c.option=!!rt.lastChild;var Ze={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Tt(P,H){var se;return se=typeof P.getElementsByTagName<"u"?P.getElementsByTagName(H||"*"):typeof P.querySelectorAll<"u"?P.querySelectorAll(H||"*"):[],void 0===H||H&&y(P,H)?r.merge([P],se):se}function Lt(P,H){for(var se=0,de=P.length;se",""]);var Bt=/<|&#?\w+;/;function zt(P,H,se,de,Ce){for(var Pe,je,et,Xe,ht,gt,xt=H.createDocumentFragment(),mt=[],kt=0,Jt=P.length;kt\s*$/g;function vr(P,H){return y(P,"table")&&y(11!==H.nodeType?H:H.firstChild,"tr")&&r(P).children("tbody")[0]||P}function lt(P){return P.type=(null!==P.getAttribute("type"))+"/"+P.type,P}function Ee(P){return"true/"===(P.type||"").slice(0,5)?P.type=P.type.slice(5):P.removeAttribute("type"),P}function De(P,H){var se,de,Ce,Pe,je,et;if(1===H.nodeType){if(ee.hasData(P)&&(et=ee.get(P).events))for(Ce in ee.remove(H,"handle events"),et)for(se=0,de=et[Ce].length;se"u"?r.prop(P,H,se):(1===Pe&&r.isXMLDoc(P)||(Ce=r.attrHooks[H.toLowerCase()]||(r.expr.match.bool.test(H)?Ft:void 0)),void 0!==se?null===se?void r.removeAttr(P,H):Ce&&"set"in Ce&&void 0!==(de=Ce.set(P,se,H))?de:(P.setAttribute(H,se+""),se):Ce&&"get"in Ce&&null!==(de=Ce.get(P,H))?de:null==(de=r.find.attr(P,H))?void 0:de)},attrHooks:{type:{set:function(P,H){if(!c.radioValue&&"radio"===H&&y(P,"input")){var se=P.value;return P.setAttribute("type",H),se&&(P.value=se),H}}}},removeAttr:function(P,H){var se,de=0,Ce=H&&H.match(re);if(Ce&&1===P.nodeType)for(;se=Ce[de++];)P.removeAttribute(se)}}),Ft={set:function(P,H,se){return!1===H?r.removeAttr(P,se):P.setAttribute(se,se),se}},r.each(r.expr.match.bool.source.match(/\w+/g),function(P,H){var se=qt[H]||r.find.attr;qt[H]=function(de,Ce,Pe){var je,et,Xe=Ce.toLowerCase();return Pe||(et=qt[Xe],qt[Xe]=je,je=null!=se(de,Ce,Pe)?Xe:null,qt[Xe]=et),je}});var Cr=/^(?:input|select|textarea|button)$/i,_r=/^(?:a|area)$/i;function Hr(P){return(P.match(re)||[]).join(" ")}function Fr(P){return P.getAttribute&&P.getAttribute("class")||""}function Gr(P){return Array.isArray(P)?P:"string"==typeof P&&P.match(re)||[]}r.fn.extend({prop:function(P,H){return Z(this,r.prop,P,H,1").attr(P.scriptAttrs||{}).prop({charset:P.scriptCharset,src:P.url}).on("load error",se=function(Pe){H.remove(),se=null,Pe&&Ce("error"===Pe.type?404:200,Pe.type)}),m.head.appendChild(H[0])},abort:function(){se&&se()}}});var Cn,Pn=[],Xn=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var P=Pn.pop()||r.expando+"_"+Jr.guid++;return this[P]=!0,P}}),r.ajaxPrefilter("json jsonp",function(P,H,se){var de,Ce,Pe,je=!1!==P.jsonp&&(Xn.test(P.url)?"url":"string"==typeof P.data&&0===(P.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xn.test(P.data)&&"data");if(je||"jsonp"===P.dataTypes[0])return de=P.jsonpCallback=d(P.jsonpCallback)?P.jsonpCallback():P.jsonpCallback,je?P[je]=P[je].replace(Xn,"$1"+de):!1!==P.jsonp&&(P.url+=(sn.test(P.url)?"&":"?")+P.jsonp+"="+de),P.converters["script json"]=function(){return Pe||r.error(de+" was not called"),Pe[0]},P.dataTypes[0]="json",Ce=z[de],z[de]=function(){Pe=arguments},se.always(function(){void 0===Ce?r(z).removeProp(de):z[de]=Ce,P[de]&&(P.jsonpCallback=H.jsonpCallback,Pn.push(de)),Pe&&d(Ce)&&Ce(Pe[0]),Pe=Ce=void 0}),"script"}),c.createHTMLDocument=((Cn=m.implementation.createHTMLDocument("").body).innerHTML="
",2===Cn.childNodes.length),r.parseHTML=function(P,H,se){return"string"!=typeof P?[]:("boolean"==typeof H&&(se=H,H=!1),H||(c.createHTMLDocument?((de=(H=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,H.head.appendChild(de)):H=m),Pe=!se&&[],(Ce=Te.exec(P))?[H.createElement(Ce[1])]:(Ce=zt([P],H,Pe),Pe&&Pe.length&&r(Pe).remove(),r.merge([],Ce.childNodes)));var de,Ce,Pe},r.fn.load=function(P,H,se){var de,Ce,Pe,je=this,et=P.indexOf(" ");return-1").append(r.parseHTML(Xe)).find(de):Xe)}).always(se&&function(Xe,ht){je.each(function(){se.apply(this,Pe||[Xe.responseText,ht,Xe])})}),this},r.expr.pseudos.animated=function(P){return r.grep(r.timers,function(H){return P===H.elem}).length},r.offset={setOffset:function(P,H,se){var de,Ce,Pe,je,et,Xe,ht=r.css(P,"position"),gt=r(P),xt={};"static"===ht&&(P.style.position="relative"),et=gt.offset(),Pe=r.css(P,"top"),Xe=r.css(P,"left"),("absolute"===ht||"fixed"===ht)&&-1<(Pe+Xe).indexOf("auto")?(je=(de=gt.position()).top,Ce=de.left):(je=parseFloat(Pe)||0,Ce=parseFloat(Xe)||0),d(H)&&(H=H.call(P,se,r.extend({},et))),null!=H.top&&(xt.top=H.top-et.top+je),null!=H.left&&(xt.left=H.left-et.left+Ce),"using"in H?H.using.call(P,xt):gt.css(xt)}},r.fn.extend({offset:function(P){if(arguments.length)return void 0===P?this:this.each(function(Ce){r.offset.setOffset(this,P,Ce)});var H,se,de=this[0];return de?de.getClientRects().length?{top:(H=de.getBoundingClientRect()).top+(se=de.ownerDocument.defaultView).pageYOffset,left:H.left+se.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var P,H,se,de=this[0],Ce={top:0,left:0};if("fixed"===r.css(de,"position"))H=de.getBoundingClientRect();else{for(H=this.offset(),se=de.ownerDocument,P=de.offsetParent||se.documentElement;P&&(P===se.body||P===se.documentElement)&&"static"===r.css(P,"position");)P=P.parentNode;P&&P!==de&&1===P.nodeType&&((Ce=r(P).offset()).top+=r.css(P,"borderTopWidth",!0),Ce.left+=r.css(P,"borderLeftWidth",!0))}return{top:H.top-Ce.top-r.css(de,"marginTop",!0),left:H.left-Ce.left-r.css(de,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var P=this.offsetParent;P&&"static"===r.css(P,"position");)P=P.offsetParent;return P||Se})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(P,H){var se="pageYOffset"===H;r.fn[P]=function(de){return Z(this,function(Ce,Pe,je){var et;if(g(Ce)?et=Ce:9===Ce.nodeType&&(et=Ce.defaultView),void 0===je)return et?et[H]:Ce[Pe];et?et.scrollTo(se?et.pageXOffset:je,se?je:et.pageYOffset):Ce[Pe]=je},P,de,arguments.length)}}),r.each(["top","left"],function(P,H){r.cssHooks[H]=Ut(c.pixelPosition,function(se,de){if(de)return de=jt(se,H),tt.test(de)?r(se).position()[H]+"px":de})}),r.each({Height:"height",Width:"width"},function(P,H){r.each({padding:"inner"+P,content:H,"":"outer"+P},function(se,de){r.fn[de]=function(Ce,Pe){var je=arguments.length&&(se||"boolean"!=typeof Ce),et=se||(!0===Ce||!0===Pe?"margin":"border");return Z(this,function(Xe,ht,gt){var xt;return g(Xe)?0===de.indexOf("outer")?Xe["inner"+P]:Xe.document.documentElement["client"+P]:9===Xe.nodeType?(xt=Xe.documentElement,Math.max(Xe.body["scroll"+P],xt["scroll"+P],Xe.body["offset"+P],xt["offset"+P],xt["client"+P])):void 0===gt?r.css(Xe,ht,et):r.style(Xe,ht,gt,et)},H,je?Ce:void 0,je)}})}),r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(P,H){r.fn[H]=function(se){return this.on(H,se)}}),r.fn.extend({bind:function(P,H,se){return this.on(P,null,H,se)},unbind:function(P,H){return this.off(P,null,H)},delegate:function(P,H,se,de){return this.on(H,P,se,de)},undelegate:function(P,H,se){return 1===arguments.length?this.off(P,"**"):this.off(H,P||"**",se)},hover:function(P,H){return this.mouseenter(P).mouseleave(H||P)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(P,H){r.fn[H]=function(se,de){return 0"u"&&(z.jQuery=z.$=r),r}),function(z){z.ui=z.ui||{},z.ui.version="1.13.2";var W,w,a,h,s,o,u,i,l,c,S,E,_,b=0,e=Array.prototype.hasOwnProperty,t=Array.prototype.slice;function d(v,f,r){return[parseFloat(v[0])*(l.test(v[0])?f/100:1),parseFloat(v[1])*(l.test(v[1])?r/100:1)]}function g(v,f){return parseInt(z.css(v,f),10)||0}function m(v){return null!=v&&v===v.window}z.cleanData=(W=z.cleanData,function(v){for(var f,r,C=0;null!=(r=v[C]);C++)(f=z._data(r,"events"))&&f.remove&&z(r).triggerHandler("remove");W(v)}),z.widget=function(v,f,r){var C,y,n,p={},x=v.split(".")[0],k=x+"-"+(v=v.split(".")[1]);return r||(r=f,f=z.Widget),Array.isArray(r)&&(r=z.extend.apply(null,[{}].concat(r))),z.expr.pseudos[k.toLowerCase()]=function(T){return!!z.data(T,k)},z[x]=z[x]||{},C=z[x][v],y=z[x][v]=function(T,R){if(!this||!this._createWidget)return new y(T,R);arguments.length&&this._createWidget(T,R)},z.extend(y,C,{version:r.version,_proto:z.extend({},r),_childConstructors:[]}),(n=new f).options=z.widget.extend({},n.options),z.each(r,function(T,R){function j(){return f.prototype[T].apply(this,arguments)}function U(Y){return f.prototype[T].apply(this,Y)}p[T]="function"==typeof R?function(){var Y,q=this._super,he=this._superApply;return this._super=j,this._superApply=U,Y=R.apply(this,arguments),this._super=q,this._superApply=he,Y}:R}),y.prototype=z.widget.extend(n,{widgetEventPrefix:C&&n.widgetEventPrefix||v},p,{constructor:y,namespace:x,widgetName:v,widgetFullName:k}),C?(z.each(C._childConstructors,function(T,R){var j=R.prototype;z.widget(j.namespace+"."+j.widgetName,y,R._proto)}),delete C._childConstructors):f._childConstructors.push(y),z.widget.bridge(v,y),y},z.widget.extend=function(v){for(var f,r,C=t.call(arguments,1),y=0,n=C.length;y",options:{classes:{},disabled:!1,create:null},_createWidget:function(v,f){f=z(f||this.defaultElement||this)[0],this.element=z(f),this.uuid=b++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=z(),this.hoverable=z(),this.focusable=z(),this.classesElementLookup={},f!==this&&(z.data(f,this.widgetFullName,this),this._on(!0,this.element,{remove:function(r){r.target===f&&this.destroy()}}),this.document=z(f.style?f.ownerDocument:f.document||f),this.window=z(this.document[0].defaultView||this.document[0].parentWindow)),this.options=z.widget.extend({},this.options,this._getCreateOptions(),v),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:z.noop,_create:z.noop,_init:z.noop,destroy:function(){var v=this;this._destroy(),z.each(this.classesElementLookup,function(f,r){v._removeClass(r,f)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:z.noop,widget:function(){return this.element},option:function(v,f){var r,C,y,n=v;if(0===arguments.length)return z.widget.extend({},this.options);if("string"==typeof v)if(n={},v=(r=v.split(".")).shift(),r.length){for(C=n[v]=z.widget.extend({},this.options[v]),y=0;y
"),r=f.children()[0];return z("body").append(f),v=r.offsetWidth,f.css("overflow","scroll"),v===(r=r.offsetWidth)&&(r=f[0].clientWidth),f.remove(),w=v-r},getScrollInfo:function(v){var r=v.isWindow||v.isDocument?"":v.element.css("overflow-x"),f=v.isWindow||v.isDocument?"":v.element.css("overflow-y");return r="scroll"===r||"auto"===r&&v.widtha(h(Be),h(Me))?"horizontal":"vertical",v.using.call(this,re,M)}),he.offset(z.extend(te,{using:q}))})},z.ui.position={fit:{left:function(v,f){var r=f.within,C=r.isWindow?r.scrollLeft:r.offset.left,y=r.width,n=v.left-f.collisionPosition.marginLeft,p=C-n,x=n+f.collisionWidth-y-C;f.collisionWidth>y?0y?0"'/]/g,h=/[<>"'/]/g,s="$recursive_request",o="$request_target_invalid",u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},i={16:!0,17:!0,18:!0},l={8:"backspace",9:"tab",10:"return",13:"return",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={16:"shift",17:"ctrl",18:"alt",91:"meta",93:"meta"},d={0:"",1:"left",2:"middle",3:"right"},g="active expanded focus folder lazy radiogroup selected unselectable unselectableIgnore".split(" "),m={},S="columns types".split(" "),E="checkbox expanded extraClasses folder icon iconTooltip key lazy partsel radiogroup refKey selected statusNodeType title tooltip type unselectable unselectableIgnore unselectableStatus".split(" "),_={},v={},f={active:!0,children:!0,data:!0,focus:!0},r=0;rL.getIndexHier(".",5)},isChildOf:function(L){return this.parent&&this.parent===L},isDescendantOf:function(L){if(!L||L.tree!==this.tree)return!1;for(var D=this.parent;D;){if(D===L)return!0;D===D.parent&&b.error("Recursive parent link: "+D),D=D.parent}return!1},isExpanded:function(){return!!this.expanded},isFirstSibling:function(){var L=this.parent;return!L||L.children[0]===this},isFolder:function(){return!!this.folder},isLastSibling:function(){var L=this.parent;return!L||L.children[L.children.length-1]===this},isLazy:function(){return!!this.lazy},isLoaded:function(){return!this.lazy||void 0!==this.hasChildren()},isLoading:function(){return!!this._isLoading},isRoot:function(){return this.isRootNode()},isPartsel:function(){return!this.selected&&!!this.partsel},isPartload:function(){return!!this.partload},isRootNode:function(){return this.tree.rootNode===this},isSelected:function(){return!!this.selected},isStatusNode:function(){return!!this.statusNodeType},isPagingNode:function(){return"paging"===this.statusNodeType},isTopLevel:function(){return this.tree.rootNode===this.parent},isUndefined:function(){return void 0===this.hasChildren()},isVisible:function(){var L,D,B=this.tree.enableFilter,V=this.getParentList(!1,!1);if(B&&!this.match&&!this.subMatchCount)return!1;for(L=0,D=V.length;LDate.now()?D.value:(delete this._tempCache[L],null)},_usesExtension:function(L){return 0<=b.inArray(L,this.options.extensions)},_requireExtension:function(L,D,B,V){null!=B&&(B=!!B);var ce,te=this._local.name,re=b.inArray(L,ce=this.options.extensions)",{type:"checkbox",name:V,value:Be.key,checked:!0}))}re.length?re.empty():re=b("
",{id:ce}).hide().insertAfter(this.$container),!1!==D&&this.activeNode&&re.append(b("",{type:"radio",name:te,value:this.activeNode.key,checked:!0})),B.filter?this.visit(function(Be){var Me=B.filter(Be);if("skip"===Me)return Me;!1!==Me&&ke(Be)}):!1!==L&&(xe=this.getSelectedNodes(xe),b.each(xe,function(Be,Me){ke(Me)}))},getActiveNode:function(){return this.activeNode},getFirstChild:function(){return this.rootNode.getFirstChild()},getFocusNode:function(){return this.focusNode},getOption:function(L){return this.widget.option(L)},getNodeByKey:function(L,D){var B,V;return!D&&(B=document.getElementById(this.options.idPrefix+L))?B.ftnode||null:(L=""+L,(D=D||this.rootNode).visit(function(te){if(te.key===L)return V=te,!1},!(V=null)),V)},getRootNode:function(){return this.rootNode},getSelectedNodes:function(L){return this.rootNode.getSelectedNodes(L)},hasFocus:function(){return!!this._hasFocus},info:function(L){3<=this.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),k("info",arguments))},isLoading:function(){var L=!1;return this.rootNode.visit(function(D){if(D._isLoading||D._requestId)return!(L=!0)},!0),L},loadKeyPath:function(L,D){var B,V,te,ce=this,re=new b.Deferred,xe=this.getRootNode(),ke=this.options.keyPathSeparator,Be=[],Me=b.extend({},D);for("function"==typeof D?B=D:D&&D.callback&&(B=D.callback),Me.callback=function(M,I,Z){B&&B.call(M,I,Z),re.notifyWith(M,[{node:I,status:Z}])},null==Me.matchKey&&(Me.matchKey=function(M,I){return M.key===I}),C(L)||(L=[L]),V=0;VM)te.rejectWith(this,[s]);else if(null!==ke.parent||null===Be){if(L.options.postProcess){try{(Le=xe._triggerNodeEvent("postProcess",L,L.originalEvent,{response:I,error:null,dataType:D.dataType})).error&&xe.warn("postProcess returned error:",Le)}catch(ve){Le={error:ve,message:""+ve,details:"postProcess failed"}}if(Le.error)return pe=b.isPlainObject(Le.error)?Le.error:{message:Le.error},pe=xe._makeHookContext(ke,null,pe),void te.rejectWith(this,[pe]);(C(Le)||b.isPlainObject(Le)&&C(Le.children))&&(I=Le)}else I&&n(I,"d")&&L.options.enableAspx&&(42===L.options.enableAspx&&xe.warn("The default for enableAspx will change to `false` in the fututure. Pass `enableAspx: true` or implement postProcess to silence this warning."),I="string"==typeof I.d?b.parseJSON(I.d):I.d);te.resolveWith(this,[I])}else te.rejectWith(this,[o])},function(I,Z,Q){Q=xe._makeHookContext(ke,null,{error:I,args:Array.prototype.slice.call(arguments),message:Q,details:I.status+": "+Q}),te.rejectWith(this,[Q])}),te.done(function(I){var Z,Q,pe;xe.nodeSetStatus(L,"ok"),b.isPlainObject(I)?(y(ke.isRootNode(),"source may only be an object for root nodes (expecting an array of child objects otherwise)"),y(C(I.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),Z=(Q=I).children,delete Q.children,b.each(S,function(Le,ve){void 0!==Q[ve]&&(xe[ve]=Q[ve],delete Q[ve])}),b.extend(xe.data,Q)):Z=I,y(C(Z),"expected array of children"),ke._setChildren(Z),xe.options.nodata&&0===Z.length&&(p(xe.options.nodata)?pe=xe.options.nodata.call(xe,{type:"nodata"},L):!0===xe.options.nodata&&ke.isRootNode()?pe=xe.options.strings.noData:"string"==typeof xe.options.nodata&&ke.isRootNode()&&(pe=xe.options.nodata),pe&&ke.setStatus("nodata",pe)),xe._triggerNodeEvent("loadChildren",ke)}).fail(function(I){var Z;I!==s?I!==o?(I.node&&I.error&&I.message?Z=I:"[object Object]"===(Z=xe._makeHookContext(ke,null,{error:I,args:Array.prototype.slice.call(arguments),message:I?I.message||I.toString():""})).message&&(Z.message=""),ke.warn("Load children failed ("+Z.message+")",Z),!1!==xe._triggerNodeEvent("loadError",Z,null)&&xe.nodeSetStatus(L,"error",Z.message,Z.details)):ke.warn("Lazy parent node was removed while loading: discarding response."):ke.warn("Ignored response for obsolete load request #"+M+" (expected #"+ke._requestId+")")}).always(function(){ke._requestId=null,re&&xe.debugTimeEnd(Me)}),te.promise()},nodeLoadKeyPath:function(L,D){},nodeRemoveChild:function(L,D){var B=L.node,V=b.extend({},L,{node:D}),te=B.children;if(1===te.length)return y(D===te[0],"invalid single child"),this.nodeRemoveChildren(L);this.activeNode&&(D===this.activeNode||this.activeNode.isDescendantOf(D))&&this.activeNode.setActive(!1),this.focusNode&&(D===this.focusNode||this.focusNode.isDescendantOf(D))&&(this.focusNode=null),this.nodeRemoveMarkup(V),this.nodeRemoveChildren(V),y(0<=(V=b.inArray(D,te)),"invalid child"),B.triggerModifyChild("remove",D),D.visit(function(ce){ce.parent=null},!0),this._callHook("treeRegisterNode",this,!1,D),te.splice(V,1)},nodeRemoveChildMarkup:function(L){(L=L.node).ul&&(L.isRootNode()?b(L.ul).empty():(b(L.ul).remove(),L.ul=null),L.visit(function(D){D.li=D.ul=null}))},nodeRemoveChildren:function(L){var D=L.tree,B=L.node;B.children&&(this.activeNode&&this.activeNode.isDescendantOf(B)&&this.activeNode.setActive(!1),this.focusNode&&this.focusNode.isDescendantOf(B)&&(this.focusNode=null),this.nodeRemoveChildMarkup(L),B.triggerModifyChild("remove",null),B.visit(function(V){V.parent=null,D._callHook("treeRegisterNode",D,!1,V)}),B.children=B.lazy?[]:null,B.isRootNode()||(B.expanded=!1),this.nodeRenderStatus(L))},nodeRemoveMarkup:function(L){var D=L.node;D.li&&(b(D.li).remove(),D.li=null),this.nodeRemoveChildMarkup(L)},nodeRender:function(L,D,B,V,te){var ce,re,xe,ke,Be,Me,M,I=L.node,Z=L.tree,Q=L.options,pe=Q.aria,Le=!1,ve=I.parent,ne=!ve,fe=I.children,ee=null;if(!1!==Z._enableUpdate&&(ne||ve.ul)){if(y(ne||ve.ul,"parent UL must exist"),ne||(I.li&&(D||I.li.parentNode!==I.parent.ul)&&(I.li.parentNode===I.parent.ul?ee=I.li.nextSibling:this.debug("Unlinking "+I+" (must be child of "+I.parent+")"),this.nodeRemoveMarkup(L)),I.li?this.nodeRenderStatus(L):(Le=!0,I.li=document.createElement("li"),(I.li.ftnode=I).key&&Q.generateIds&&(I.li.id=Q.idPrefix+I.key),I.span=document.createElement("span"),I.span.className="fancytree-node",pe&&!I.tr&&b(I.li).attr("role","treeitem"),I.li.appendChild(I.span),this.nodeRenderTitle(L),Q.createNode&&Q.createNode.call(Z,{type:"createNode"},L)),Q.renderNode&&Q.renderNode.call(Z,{type:"renderNode"},L)),fe){if(ne||I.expanded||!0===B){for(I.ul||(I.ul=document.createElement("ul"),(!0!==V||te)&&I.expanded||(I.ul.style.display="none"),pe&&b(I.ul).attr("role","group"),I.li?I.li.appendChild(I.ul):I.tree.$div.append(I.ul)),ke=0,Be=fe.length;ke")):Be.push(""),(ke=t.evalOption("checkbox",te,te,re,!1))&&!te.isStatusNode()&&(B="fancytree-checkbox",("radio"===ke||te.parent&&te.parent.radiogroup)&&(B+=" fancytree-radio"),Be.push("")),void 0!==te.data.iconClass&&(te.icon?b.error("'iconClass' node option is deprecated since v2.14.0: use 'icon' only instead"):(te.warn("'iconClass' node option is deprecated since v2.14.0: use 'icon' instead"),te.icon=te.data.iconClass)),!1!==(B=t.evalOption("icon",te,te,re,!0))&&(D=xe?" role='presentation'":"",V=(V=t.evalOption("iconTooltip",te,te,re,null))?" title='"+q(V)+"'":"","string"==typeof B?w.test(B)?(B="/"===B.charAt(0)?B:(re.imagePath||"")+B,Be.push("")):Be.push(""):Be.push(B.text?""+t.escapeHtml(B.text)+"":B.html?""+B.html+"":"")),D="",D=(D=re.renderTitle?re.renderTitle.call(ce,{type:"renderTitle"},L)||"":D)||""+(re.escapeTitles?t.escapeHtml(te.title):te.title)+"",Be.push(D),te.span.innerHTML=Be.join(""),this.nodeRenderStatus(L),re.enhanceTitle&&(L.$title=b(">span.fancytree-title",te.span),D=re.enhanceTitle.call(ce,{type:"enhanceTitle"},L)||""))},nodeRenderStatus:function(Me){var D,B=Me.node,V=Me.tree,te=Me.options,ce=B.hasChildren(),re=B.isLastSibling(),xe=te.aria,ke=te._classNames,Be=[];(Me=B[V.statusClassPropName])&&!1!==V._enableUpdate&&(xe&&(D=b(B.tr||B.li)),Be.push(ke.node),V.activeNode===B&&Be.push(ke.active),V.focusNode===B&&Be.push(ke.focused),B.expanded&&Be.push(ke.expanded),xe&&(!1===ce?D.removeAttr("aria-expanded"):D.attr("aria-expanded",Boolean(B.expanded))),B.folder&&Be.push(ke.folder),!1!==ce&&Be.push(ke.hasChildren),re&&Be.push(ke.lastsib),B.lazy&&null==B.children&&Be.push(ke.lazy),B.partload&&Be.push(ke.partload),B.partsel&&Be.push(ke.partsel),t.evalOption("unselectable",B,B,te,!1)&&Be.push(ke.unselectable),B._isLoading&&Be.push(ke.loading),B._error&&Be.push(ke.error),B.statusNodeType&&Be.push(ke.statusNodePrefix+B.statusNodeType),B.selected?(Be.push(ke.selected),xe&&D.attr("aria-selected",!0)):xe&&D.attr("aria-selected",!1),B.extraClasses&&Be.push(B.extraClasses),Be.push(!1===ce?ke.combinedExpanderPrefix+"n"+(re?"l":""):ke.combinedExpanderPrefix+(B.expanded?"e":"c")+(B.lazy&&null==B.children?"d":"")+(re?"l":"")),Be.push(ke.combinedIconPrefix+(B.expanded?"e":"c")+(B.folder?"f":"")),Me.className=Be.join(" "),B.li&&b(B.li).toggleClass(ke.lastsib,re))},nodeSetActive:function(L,D,ke){var V=L.node,te=L.tree,ce=L.options,re=!0===(ke=ke||{}).noEvents,xe=!0===ke.noFocus;return ke=!1!==ke.scrollIntoView,V===te.activeNode==(D=!1!==D)?R(V):(ke&&L.originalEvent&&b(L.originalEvent.target).is("a,:checkbox")&&(V.info("Not scrolling while clicking an embedded link."),ke=!1),D&&!re&&!1===this._triggerNodeEvent("beforeActivate",V,L.originalEvent)?j(V,["rejected"]):(D?(te.activeNode&&(y(te.activeNode!==V,"node was active (inconsistency)"),D=b.extend({},L,{node:te.activeNode}),te.nodeSetActive(D,!1),y(null===te.activeNode,"deactivate was out of sync?")),ce.activeVisible&&V.makeVisible({scrollIntoView:ke}),te.activeNode=V,te.nodeRenderStatus(L),xe||te.nodeSetFocus(L),re||te._triggerNodeEvent("activate",V,L.originalEvent)):(y(te.activeNode===V,"node was not active (inconsistency)"),te.activeNode=null,this.nodeRenderStatus(L),re||L.tree._triggerNodeEvent("deactivate",V,L.originalEvent)),R(V)))},nodeSetExpanded:function(L,D,B){var V,te,ce,re,xe,ke,Be=L.node,Me=L.tree,M=L.options,I=!0===(B=B||{}).noAnimation,Z=!0===B.noEvents;if(D=!1!==D,b(Be.li).hasClass(M._classNames.animating))return Be.warn("setExpanded("+D+") while animating: ignored."),j(Be,["recursion"]);if(Be.expanded&&D||!Be.expanded&&!D||D&&!Be.lazy&&!Be.hasChildren())return R(Be);if(!D&&Be.getLevel()ul.fancytree-container").empty(),D.rootNode.children=null,D._callHook("treeStructureChanged",L,"clear")},treeCreate:function(L){},treeDestroy:function(L){this.$div.find(">ul.fancytree-container").remove(),this.$source&&this.$source.removeClass("fancytree-helper-hidden")},treeInit:function(L){var D=L.tree,B=D.options;D.$container.attr("tabindex",B.tabindex),b.each(S,function(V,te){void 0!==B[te]&&(D.info("Move option "+te+" to tree"),D[te]=B[te],delete B[te])}),B.checkboxAutoHide&&D.$container.addClass("fancytree-checkbox-auto-hide"),B.rtl?D.$container.attr("DIR","RTL").addClass("fancytree-rtl"):D.$container.removeAttr("DIR").removeClass("fancytree-rtl"),B.aria&&(D.$container.attr("role","tree"),1!==B.selectMode&&D.$container.attr("aria-multiselectable",!0)),this.treeLoad(L)},treeLoad:function(L,D){var B,V,te,ce=L.tree,re=L.widget.element,xe=b.extend({},L,{node:this.rootNode});if(ce.rootNode.children&&this.treeClear(L),D=D||this.options.source)"string"==typeof D&&b.error("Not implemented");else switch(V=re.data("type")||"html"){case"html":(te=re.find(">ul").not(".fancytree-container").first()).length?(te.addClass("ui-fancytree-source fancytree-helper-hidden"),D=b.ui.fancytree.parseHtml(te),this.data=b.extend(this.data,Y(te))):(t.warn("No `source` option was passed and container does not contain `
    `: assuming `source: []`."),D=[]);break;case"json":D=b.parseJSON(re.text()),re.contents().filter(function(){return 3===this.nodeType}).remove(),b.isPlainObject(D)&&(y(C(D.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),D=(B=D).children,delete B.children,b.each(S,function(ke,Be){void 0!==B[Be]&&(ce[Be]=B[Be],delete B[Be])}),b.extend(ce.data,B));break;default:b.error("Invalid data-type: "+V)}return ce._triggerTreeEvent("preInit",null),this.nodeLoadChildren(xe,D).done(function(){ce._callHook("treeStructureChanged",L,"loadChildren"),ce.render(),3===L.options.selectMode&&ce.rootNode.fixSelection3FromEndNodes(),ce.activeNode&&ce.options.activeVisible&&ce.activeNode.makeVisible(),ce._triggerTreeEvent("init",null,{status:!0})}).fail(function(){ce.render(),ce._triggerTreeEvent("init",null,{status:!1})})},treeRegisterNode:function(L,D,B){L.tree._callHook("treeStructureChanged",L,D?"addNode":"removeNode")},treeSetFocus:function(L,D,B){var V;(D=!1!==D)!==this.hasFocus()&&(!(this._hasFocus=D)&&this.focusNode?this.focusNode.setFocus(!1):!D||B&&B.calledByNode||b(this.$container).focus(),this.$container.toggleClass("fancytree-treefocus",D),this._triggerTreeEvent(D?"focusTree":"blurTree"),D&&!this.activeNode&&(V=this._lastMousedownNode||this.getFirstChild())&&V.setFocus())},treeSetOption:function(L,D,B){var V=L.tree,te=!0,ce=!1,re=!1;switch(D){case"aria":case"checkbox":case"icon":case"minExpandLevel":case"tabindex":re=ce=!0;break;case"checkboxAutoHide":V.$container.toggleClass("fancytree-checkbox-auto-hide",!!B);break;case"escapeTitles":case"tooltip":re=!0;break;case"rtl":!1===B?V.$container.removeAttr("DIR").removeClass("fancytree-rtl"):V.$container.attr("DIR","RTL").addClass("fancytree-rtl"),re=!0;break;case"source":te=!1,V._callHook("treeLoad",V,B),re=!0}V.debug("set option "+D+"="+B+" <"+typeof B+">"),te&&(this.widget._super||b.Widget.prototype._setOption).call(this.widget,D,B),ce&&V._callHook("treeCreate",V),re&&V.render(!0,!1)},treeStructureChanged:function(L,D){}}),b.widget("ui.fancytree",{options:{activeVisible:!0,ajax:{type:"GET",cache:!1,dataType:"json"},aria:!0,autoActivate:!0,autoCollapse:!1,autoScroll:!1,checkbox:!1,clickFolderMode:4,copyFunctionsToData:!1,debugLevel:null,disabled:!1,enableAspx:42,escapeTitles:!1,extensions:[],focusOnSelect:!1,generateIds:!1,icon:!0,idPrefix:"ft_",keyboard:!0,keyPathSeparator:"/",minExpandLevel:1,nodata:!0,quicksearch:!1,rtl:!1,scrollOfs:{top:0,bottom:0},scrollParent:null,selectMode:2,strings:{loading:"Loading...",loadError:"Load error!",moreData:"More...",noData:"No data."},tabindex:"0",titlesTabbable:!1,toggleEffect:{effect:"slideToggle",duration:200},tooltip:!1,treeId:null,_classNames:{active:"fancytree-active",animating:"fancytree-animating",combinedExpanderPrefix:"fancytree-exp-",combinedIconPrefix:"fancytree-ico-",error:"fancytree-error",expanded:"fancytree-expanded",focused:"fancytree-focused",folder:"fancytree-folder",hasChildren:"fancytree-has-children",lastsib:"fancytree-lastsib",lazy:"fancytree-lazy",loading:"fancytree-loading",node:"fancytree-node",partload:"fancytree-partload",partsel:"fancytree-partsel",radio:"fancytree-radio",selected:"fancytree-selected",statusNodePrefix:"fancytree-statusnode-",unselectable:"fancytree-unselectable"},lazyLoad:null,postProcess:null},_deprecationWarning:function(L){var D=this.tree;D&&3<=D.options.debugLevel&&D.warn("$().fancytree('"+L+"') is deprecated (see https://wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree_Widget.html")},_create:function(){this.tree=new Te(this),this.$source=this.source||"json"===this.element.data("type")?this.element:this.element.find(">ul").first();for(var L,D,B=this.options,V=B.extensions,te=0;te element.");else{if(re){if(B._getExpiringValue("focusin"))return void B.debug("Ignored double focusin.");B._setExpiringValue("focusin",!0,50),ce||(ce=B._getExpiringValue("mouseDownNode"))&&B.debug("Reconstruct mouse target for focusin from recent event.")}ce?B._callHook("nodeSetFocus",B._makeHookContext(ce,te),re):B.tbody&&b(te.target).parents("table.fancytree-container > thead").length?B.debug("Ignore focus event outside table body.",te):B._callHook("treeSetFocus",B,re)}}).on("selectstart"+V,"span.fancytree-title",function(te){te.preventDefault()}).on("keydown"+V,function(te){if(D.disabled||!1===D.keyboard)return!0;var ce,re=B.focusNode,xe=B._makeHookContext(re||B,te),ke=B.phase;try{return B.phase="userEvent","preventNav"===(ce=re?B._triggerNodeEvent("keydown",re,te):B._triggerTreeEvent("keydown",te))?ce=!0:!1!==ce&&(ce=B._callHook("nodeKeydown",xe)),ce}finally{B.phase=ke}}).on("mousedown"+V,function(te){te=t.getEventTarget(te),B._lastMousedownNode=te?te.node:null,B._setExpiringValue("mouseDownNode",B._lastMousedownNode)}).on("click"+V+" dblclick"+V,function(te){if(D.disabled)return!0;var ce,re=t.getEventTarget(te),xe=re.node,ke=L.tree,Be=ke.phase;if(!xe)return!0;ce=ke._makeHookContext(xe,te);try{switch(ke.phase="userEvent",te.type){case"click":return ce.targetType=re.type,xe.isPagingNode()?!0===ke._triggerNodeEvent("clickPaging",ce,te):!1!==ke._triggerNodeEvent("click",ce,te)&&ke._callHook("nodeClick",ce);case"dblclick":return ce.targetType=re.type,!1!==ke._triggerNodeEvent("dblclick",ce,te)&&ke._callHook("nodeDblclick",ce)}}finally{ke.phase=Be}})},getActiveNode:function(){return this._deprecationWarning("getActiveNode"),this.tree.activeNode},getNodeByKey:function(L){return this._deprecationWarning("getNodeByKey"),this.tree.getNodeByKey(L)},getRootNode:function(){return this._deprecationWarning("getRootNode"),this.tree.rootNode},getTree:function(){return this._deprecationWarning("getTree"),this.tree}}),t=b.ui.fancytree,b.extend(b.ui.fancytree,{version:"2.38.3",buildType:"production",debugLevel:3,_nextId:1,_nextNodeKey:1,_extensions:{},_FancytreeClass:Te,_FancytreeNodeClass:K,jquerySupports:{positionMyOfs:function(L){for(var D,B,V=b.map(x(L).split("."),function(re){return parseInt(re,10)}),te=b.map(Array.prototype.slice.call(arguments,1),function(re){return parseInt(re,10)}),ce=0;celi"),Me=[];return Be.each(function(){var M,I,Z=b(this),Q=Z.find(">span",this).first(),pe=Q.length?null:Z.find(">a").first(),Le={tooltip:null,data:{}};for(Q.length?Le.title=Q.html():pe&&pe.length?(Le.title=pe.html(),Le.data.href=pe.attr("href"),Le.data.target=pe.attr("target"),Le.tooltip=pe.attr("title")):(Le.title=Z.html(),0<=(ce=Le.title.search(/
      ul").first()).length?b.ui.fancytree.parseHtml(L):Le.lazy?void 0:null,Me.push(Le)}),Me},registerExtension:function(L){y(null!=L.name,"extensions must have a `name` property."),y(null!=L.version,"extensions must have a `version` property."),b.ui.fancytree._extensions[L.name]=L},trim:x,unescapeHtml:function(L){var D=document.createElement("div");return D.innerHTML=L,0===D.childNodes.length?"":D.childNodes[0].nodeValue},warn:function(L){2<=b.ui.fancytree.debugLevel&&k("warn",arguments)}}),b.ui.fancytree}function y(L,D){L||(b.ui.fancytree.error(D="Fancytree assertion failed"+(D=D?": "+D:"")),b.error(D))}function n(L,D){return Object.prototype.hasOwnProperty.call(L,D)}function p(L){return"function"==typeof L}function x(L){return null==L?"":L.trim()}function k(te,D){var B,V;if(te=window.console?window.console[te]:null)try{te.apply(window.console,D)}catch{for(V="",B=0;Bul.fancytree-container").remove(),this.rootNode=new K({tree:this},{title:"root",key:"root_"+this._id,children:null,expanded:!0}),this.rootNode.parent=null,L=b("
        ",{id:"ft-id-"+this._id,class:"ui-fancytree fancytree-container fancytree-plain"}).appendTo(this.$div),this.$container=L,this.rootNode.ul=L[0],null==this.options.debugLevel&&(this.options.debugLevel=t.debugLevel)}b.ui.fancytree.warn("Fancytree: ignored duplicate include")},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree.ui-deps"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree.ui-deps"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";return b.ui.fancytree._FancytreeClass.prototype.countSelected=function(e){return this.getSelectedNodes(e).length},b.ui.fancytree._FancytreeNodeClass.prototype.updateCounters=function(){var e=this,t=b("span.fancytree-childcounter",e.span),w=e.tree.options.childcounter,a=e.countChildren(w.deep);!(e.data.childCounter=a)&&w.hideZeros||e.isExpanded()&&w.hideExpanded?t.remove():(t=t.length?t:b("").appendTo(b("span.fancytree-icon,span.fancytree-custom-icon",e.span))).text(a),!w.deep||e.isTopLevel()||e.isRootNode()||e.parent.updateCounters()},b.ui.fancytree.prototype.widgetMethod1=function(e){return e},b.ui.fancytree.registerExtension({name:"childcounter",version:"2.38.3",options:{deep:!0,hideZeros:!0,hideExpanded:!1},foo:42,_appendCounter:function(e){},treeInit:function(e){this._superApply(arguments),this.$container.addClass("fancytree-ext-childcounter")},treeDestroy:function(e){this._superApply(arguments)},nodeRenderTitle:function(e,t){var w=e.node,a=e.options.childcounter,h=null==w.data.childCounter?w.countChildren(a.deep):+w.data.childCounter;this._super(e,t),!h&&a.hideZeros||w.isExpanded()&&a.hideExpanded||b("span.fancytree-icon,span.fancytree-custom-icon",w.span).append(b("").text(h))},nodeSetExpanded:function(e,t,w){var a=e.tree;return this._superApply(arguments).always(function(){a.nodeRenderTitle(e)})}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=b.ui.fancytree.assert;function t(w,a,h){for(var s,o,u=3&w.length,i=w.length-u,l=h,c=3432918353,d=461845907,g=0;g>>16)*c&65535)<<16)&4294967295)<<15|o>>>17))*d+(((o>>>16)*d&65535)<<16)&4294967295)<<13|l>>>19))+((5*(l>>>16)&65535)<<16)&4294967295))+((58964+(s>>>16)&65535)<<16);switch(o=0,u){case 3:o^=(255&w.charCodeAt(g+2))<<16;case 2:o^=(255&w.charCodeAt(g+1))<<8;case 1:l^=o=(65535&(o=(o=(65535&(o^=255&w.charCodeAt(g)))*c+(((o>>>16)*c&65535)<<16)&4294967295)<<15|o>>>17))*d+(((o>>>16)*d&65535)<<16)&4294967295}return l^=w.length,l=2246822507*(65535&(l^=l>>>16))+((2246822507*(l>>>16)&65535)<<16)&4294967295,l=3266489909*(65535&(l^=l>>>13))+((3266489909*(l>>>16)&65535)<<16)&4294967295,l^=l>>>16,a?("0000000"+(l>>>0).toString(16)).substr(-8):l>>>0}return b.ui.fancytree._FancytreeNodeClass.prototype.getCloneList=function(w){var a,h=this.tree,s=h.refMap[this.refKey]||null,o=h.keyMap;return s&&(a=this.key,w?s=b.map(s,function(u){return o[u]}):(s=b.map(s,function(u){return u===a?null:o[u]})).length<1&&(s=null)),s},b.ui.fancytree._FancytreeNodeClass.prototype.isClone=function(){var w;return!!((w=(w=this.refKey||null)&&this.tree.refMap[w]||null)&&1 "+o.getPath(!0),u.error(o),b.error(o)),i[c]=h,d&&((s=l[d])?(s.push(c),2===s.length&&w.options.clones.highlightClones&&i[s[0]].renderStatus()):l[d]=[c])):(null==i[c]&&b.error("clones.treeRegisterNode: node.key not registered: "+h.key),delete i[c],d&&(s=l[d])&&((o=s.length)<=1?(e(1===o),e(s[0]===c),delete l[d]):(function(g,m){for(var S=g.length-1;0<=S;S--)if(g[S]===m)return g.splice(S,1)}(s,c),2===o&&w.options.clones.highlightClones&&i[s[0]].renderStatus())))),this._super(w,a,h)},nodeRenderStatus:function(w){var a,h=w.node,s=this._super(w);return w.options.clones.highlightClones&&(a=b(h[w.tree.statusClassPropName])).length&&h.isClone()&&a.addClass("fancytree-clone"),s},nodeSetActive:function(w,a,h){var s=w.tree.statusClassPropName,o=w.node,u=this._superApply(arguments);return w.options.clones.highlightActiveClones&&o.isClone()&&b.each(o.getCloneList(!0),function(i,l){b(l[s]).toggleClass("fancytree-active-clone",!1!==a)}),u}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e,t,w=b.ui.fancytree,a=/Mac/.test(navigator.platform),h="fancytree-drag-source",s="fancytree-drag-remove",o="fancytree-drop-accept",u="fancytree-drop-after",i="fancytree-drop-before",l="fancytree-drop-over",c="fancytree-drop-reject",d="fancytree-drop-target",g="application/x-fancytree-node",m=null,S=null,E=null,_=null,v=null,f=null,r=null,C=null,y=null,n=null;function p(){E=S=f=C=r=n=v=null,_&&_.removeClass(h+" "+s),_=null,m&&m.hide(),t&&(t.remove(),t=null)}function x(U){return 0===U?"":0 "+he),f=he),Y.isMove="move"===Y.dropEffect,Y.files=K.files||[]}function T(U,Y,q){var he=Y.tree,K=Y.dataTransfer;return"dragstart"!==U.type&&C!==Y.effectAllowed&&he.warn("effectAllowed should only be changed in dragstart event: "+U.type+": data.effectAllowed changed from "+C+" -> "+Y.effectAllowed),!1===q&&(he.info("applyDropEffectCallback: allowDrop === false"),Y.effectAllowed="none",Y.dropEffect="none"),Y.isMove="move"===Y.dropEffect,"dragstart"===U.type&&(C=Y.effectAllowed,r=Y.dropEffect),K.effectAllowed=C,K.dropEffect=r}function j(U){var Y,q=this,he=q.options.dnd5,K=null,Te=w.getNode(U),L=U.dataTransfer||U.originalEvent.dataTransfer,D={tree:q,node:Te,options:q.options,originalEvent:U.originalEvent,widget:q.widget,hitMode:v,dataTransfer:L,otherNode:S||null,otherNodeList:E||null,otherNodeData:null,useDefaultImage:!0,dropEffect:void 0,dropEffectSuggested:void 0,effectAllowed:void 0,files:null,isCancelled:void 0,isMove:void 0};switch(U.type){case"dragenter":if(n=null,!Te){q.debug("Ignore non-node "+U.type+": "+U.target.tagName+"."+U.target.className),v=!1;break}if(b(Te.span).addClass(l).removeClass(o+" "+c),Y=0<=b.inArray(g,L.types),he.preventNonNodes&&!Y){Te.debug("Reject dropping a non-node."),v=!1;break}if(he.preventForeignNodes&&(!S||S.tree!==Te.tree)){Te.debug("Reject dropping a foreign node."),v=!1;break}if(he.preventSameParent&&D.otherNode&&D.otherNode.tree===Te.tree&&Te.parent===D.otherNode.parent){Te.debug("Reject dropping as sibling (same parent)."),v=!1;break}if(he.preventRecursion&&D.otherNode&&D.otherNode.tree===Te.tree&&Te.isDescendantOf(D.otherNode)){Te.debug("Reject dropping below own ancestor."),v=!1;break}if(he.preventLazyParents&&!Te.isLoaded()){Te.warn("Drop over unloaded target node prevented."),v=!1;break}m.show(),k(U,D),Y=!!(Y=he.dragEnter(Te,D))&&(Y=b.isPlainObject(Y)?{over:!!Y.over,before:!!Y.before,after:!!Y.after}:Array.isArray(Y)?{over:0<=b.inArray("over",Y),before:0<=b.inArray("before",Y),after:0<=b.inArray("after",Y)}:{over:!0===Y||"over"===Y,before:!0===Y||"before"===Y,after:!0===Y||"after"===Y},0!==Object.keys(Y).length&&Y),T(U,D,K=(v=Y)&&(Y.over||Y.before||Y.after));break;case"dragover":if(!Te){q.debug("Ignore non-node "+U.type+": "+U.target.tagName+"."+U.target.className);break}k(U,D),K=!!(y=function R(U,Y){if(Y.options.dnd5.scroll&&(L=U,B=(K=(re=Y.tree).options.dnd5).scrollSensitivity,ce=K.scrollSpeed,he=0,(Te=re.$scrollParent[0])!==document&&"HTML"!==Te.tagName?(K=re.$scrollParent.offset(),V=Te.scrollTop,K.top+Te.offsetHeight-L.pageYhe.autoExpandMS)||Te.isLoading()||he.dragExpand&&!1===he.dragExpand(Te,D)||Te.setExpanded():n=Date.now();break;case"dragleave":if(!Te){q.debug("Ignore non-node "+U.type+": "+U.target.tagName+"."+U.target.className);break}if(!b(Te.span).hasClass(l)){Te.debug("Ignore dragleave (multi).");break}b(Te.span).removeClass(l+" "+o+" "+c),Te.scheduleAction("cancel"),he.dragLeave(Te,D),m.hide();break;case"drop":if(0<=b.inArray(g,L.types)&&(V=L.getData(g),q.info(U.type+": getData('application/x-fancytree-node'): '"+V+"'")),V||(V=L.getData("text"),q.info(U.type+": getData('text'): '"+V+"'")),V)try{void 0!==(B=JSON.parse(V)).title&&(D.otherNodeData=B)}catch{}q.debug(U.type+": nodeData: '"+V+"', otherNodeData: ",D.otherNodeData),b(Te.span).removeClass(l+" "+o+" "+c),D.hitMode=y,k(U,D),D.isCancelled=!y;var B=S&&S.span,V=S&&S.tree;he.dragDrop(Te,D),U.preventDefault(),B&&!document.body.contains(B)&&(V===q?(q.debug("Drop handler removed source element: generating dragEnd."),he.dragEnd(S,D)):q.warn("Drop handler removed source element: dragend event may be lost.")),p()}if(K)return U.preventDefault(),!1}return b.ui.fancytree.getDragNodeList=function(){return E||[]},b.ui.fancytree.getDragNode=function(){return S},b.ui.fancytree.registerExtension({name:"dnd5",version:"2.38.3",options:{autoExpandMS:1500,dropMarkerInsertOffsetX:-16,dropMarkerOffsetX:-24,dropMarkerParent:"body",multiSource:!1,effectAllowed:"all",dropEffectDefault:"move",preventForeignNodes:!1,preventLazyParents:!0,preventNonNodes:!1,preventRecursion:!0,preventSameParent:!1,preventVoidMoves:!0,scroll:!0,scrollSensitivity:20,scrollSpeed:5,setTextTypeJson:!1,sourceCopyHook:null,dragStart:null,dragDrag:b.noop,dragEnd:b.noop,dragEnter:null,dragOver:b.noop,dragExpand:b.noop,dragDrop:b.noop,dragLeave:b.noop},treeInit:function(U){var Y=U.tree,q=U.options,he=q.glyph||null,K=q.dnd5;0<=b.inArray("dnd",q.extensions)&&b.error("Extensions 'dnd' and 'dnd5' are mutually exclusive."),K.dragStop&&b.error("dragStop is not used by ext-dnd5. Use dragEnd instead."),null!=K.preventRecursiveMoves&&b.error("preventRecursiveMoves was renamed to preventRecursion."),K.dragStart&&w.overrideMethod(U.options,"createNode",function(Te,L){this._super.apply(this,arguments),L.node.span?L.node.span.draggable=!0:L.node.warn("Cannot add `draggable`: no span tag")}),this._superApply(arguments),this.$container.addClass("fancytree-ext-dnd5"),U=b("").appendTo(this.$container),this.$scrollParent=U.scrollParent(),U.remove(),(m=b("#fancytree-drop-marker")).length||(m=b("
        ").hide().css({"z-index":1e3,"pointer-events":"none"}).prependTo(K.dropMarkerParent),he&&w.setSpanIcon(m[0],he.map._addClass,he.map.dropMarker)),m.toggleClass("fancytree-rtl",!!q.rtl),K.dragStart&&Y.$container.on("dragstart drag dragend",function(Te){var L=this,D=L.options.dnd5,B=w.getNode(Te),V=Te.dataTransfer||Te.originalEvent.dataTransfer,te={tree:L,node:B,options:L.options,originalEvent:Te.originalEvent,widget:L.widget,dataTransfer:V,useDefaultImage:!0,dropEffect:void 0,dropEffectSuggested:void 0,effectAllowed:void 0,files:void 0,isCancelled:void 0,isMove:void 0};switch(Te.type){case"dragstart":if(!B)return L.info("Ignored dragstart on a non-node."),!1;S=B,E=!1===D.multiSource?[B]:!0===D.multiSource?B.isSelected()?L.getSelectedNodes():[B]:D.multiSource(B,te),(_=b(b.map(E,function(re){return re.span}))).addClass(h);var ce=B.toDict(!0,D.sourceCopyHook);ce.treeId=B.tree._id,ce=JSON.stringify(ce);try{V.setData(g,ce),V.setData("text/html",b(B.span).html()),V.setData("text/plain",B.title)}catch(re){L.warn("Could not set data (IE only accepts 'text') - "+re)}return V.setData("text",D.setTextTypeJson?ce:B.title),k(Te,te),!1===D.dragStart(B,te)?(p(),!1):(T(Te,te),t=null,te.useDefaultImage&&(e=b(B.span).find(".fancytree-title"),E&&1").text("+"+(E.length-1)).appendTo(e)),V.setDragImage&&V.setDragImage(e[0],-10,-10)),!0);case"drag":k(Te,te),D.dragDrag(B,te),T(Te,te),_.toggleClass(s,te.isMove);break;case"dragend":k(Te,te),p(),te.isCancelled=!y,D.dragEnd(B,te,!y)}}.bind(Y)),K.dragEnter&&Y.$container.on("dragenter dragover dragleave drop",j.bind(Y))}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=/Mac/.test(navigator.platform),t=b.ui.fancytree.escapeHtml,w=b.ui.fancytree.trim,a=b.ui.fancytree.unescapeHtml;return b.ui.fancytree._FancytreeNodeClass.prototype.editStart=function(){var h,s=this,o=this.tree,u=o.ext.edit,i=o.options.edit,l=b(".fancytree-title",s.span),c={node:s,tree:o,options:o.options,isNew:b(s[o.statusClassPropName]).hasClass("fancytree-edit-new"),orgTitle:s.title,input:null,dirty:!1};if(!1===i.beforeEdit.call(s,{type:"beforeEdit"},c))return!1;b.ui.fancytree.assert(!u.currentNode,"recursive edit"),u.currentNode=this,u.eventData=c,o.widget._unbind(),u.lastDraggableAttrValue=s.span.draggable,u.lastDraggableAttrValue&&(s.span.draggable=!1),b(document).on("mousedown.fancytree-edit",function(d){b(d.target).hasClass("fancytree-edit-input")||s.editEnd(!0,d)}),h=b("",{class:"fancytree-edit-input",type:"text",value:o.options.escapeTitles?c.orgTitle:a(c.orgTitle)}),u.eventData.input=h,null!=i.adjustWidthOfs&&h.width(l.width()+i.adjustWidthOfs),null!=i.inputCss&&h.css(i.inputCss),l.html(h),h.focus().change(function(d){h.addClass("fancytree-edit-dirty")}).on("keydown",function(d){switch(d.which){case b.ui.keyCode.ESCAPE:s.editEnd(!1,d);break;case b.ui.keyCode.ENTER:return s.editEnd(!0,d),!1}d.stopPropagation()}).blur(function(d){return s.editEnd(!0,d)}),i.edit.call(s,{type:"edit"},c)},b.ui.fancytree._FancytreeNodeClass.prototype.editEnd=function(h,s){var o,u=this,i=this.tree,l=i.ext.edit,c=l.eventData,d=i.options.edit,g=b(".fancytree-title",u.span).find("input.fancytree-edit-input");return d.trim&&g.val(w(g.val())),o=g.val(),c.dirty=o!==u.title,c.originalEvent=s,c.save=!1!==h&&(c.isNew||c.dirty)&&""!==o,!(!1===d.beforeClose.call(u,{type:"beforeClose"},c)||c.save&&!1===d.save.call(u,{type:"save"},c)||(g.removeClass("fancytree-edit-dirty").off(),b(document).off(".fancytree-edit"),c.save?(u.setTitle(i.options.escapeTitles?o:t(o)),u.setFocus()):c.isNew?(u.remove(),u=c.node=null,l.relatedNode.setFocus()):(u.renderTitle(),u.setFocus()),l.eventData=null,l.currentNode=null,l.relatedNode=null,i.widget._bind(),u&&l.lastDraggableAttrValue&&(u.span.draggable=!0),i.$container.get(0).focus({preventScroll:!0}),c.input=null,d.close.call(u,{type:"close"},c),0))},b.ui.fancytree._FancytreeNodeClass.prototype.editCreateNode=function(h,s){var o,u=this.tree,i=this;h=h||"child",null==s?s={title:""}:"string"==typeof s?s={title:s}:b.ui.fancytree.assert(b.isPlainObject(s)),"child"!==h||this.isExpanded()||!1===this.hasChildren()?((o=this.addNode(s,h)).match=!0,b(o[u.statusClassPropName]).removeClass("fancytree-hide").addClass("fancytree-match"),o.makeVisible().done(function(){b(o[u.statusClassPropName]).addClass("fancytree-edit-new"),i.tree.ext.edit.relatedNode=i,o.editStart()})):this.setExpanded().done(function(){i.editCreateNode(h,s)})},b.ui.fancytree._FancytreeClass.prototype.isEditing=function(){return this.ext.edit?this.ext.edit.currentNode:null},b.ui.fancytree._FancytreeNodeClass.prototype.isEditing=function(){return!!this.tree.ext.edit&&this.tree.ext.edit.currentNode===this},b.ui.fancytree.registerExtension({name:"edit",version:"2.38.3",options:{adjustWidthOfs:4,allowEmpty:!1,inputCss:{minWidth:"3em"},triggerStart:["f2","mac+enter","shift+click"],trim:!0,beforeClose:b.noop,beforeEdit:b.noop,close:b.noop,edit:b.noop,save:b.noop},currentNode:null,treeInit:function(h){var s=h.tree;this._superApply(arguments),this.$container.addClass("fancytree-ext-edit").on("fancytreebeforeupdateviewport",function(o,u){var i=s.isEditing();i&&(i.info("Cancel edit due to scroll event."),i.editEnd(!1,o))})},nodeClick:function(h){var s=b.ui.fancytree.eventToString(h.originalEvent),o=h.options.edit.triggerStart;return"shift+click"===s&&0<=b.inArray("shift+click",o)&&h.originalEvent.shiftKey||"click"===s&&0<=b.inArray("clickActive",o)&&h.node.isActive()&&!h.node.isEditing()&&b(h.originalEvent.target).hasClass("fancytree-title")?(h.node.editStart(),!1):this._superApply(arguments)},nodeDblclick:function(h){return 0<=b.inArray("dblclick",h.options.edit.triggerStart)?(h.node.editStart(),!1):this._superApply(arguments)},nodeKeydown:function(h){switch(h.originalEvent.which){case 113:if(0<=b.inArray("f2",h.options.edit.triggerStart))return h.node.editStart(),!1;break;case b.ui.keyCode.ENTER:if(0<=b.inArray("mac+enter",h.options.edit.triggerStart)&&e)return h.node.editStart(),!1}return this._superApply(arguments)}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e="__not_found__",t=b.ui.fancytree.escapeHtml;function w(h){return(h+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function a(h,s,o){for(var u=[],i=1;i"}),c.join("")}return b.ui.fancytree._FancytreeClass.prototype._applyFilterImpl=function(h,s,o){var u,i,l,c,d,g,m=0,S=this.options,E=S.escapeTitles,_=S.autoCollapse,v=b.extend({},S.filter,o),f="hide"===v.mode,r=!!v.leavesOnly&&!s;if("string"==typeof h){if(""===h)return this.warn("Fancytree passing an empty string as a filter is handled as clearFilter()."),void this.clearFilter();u=v.fuzzy?h.split("").map(w).reduce(function(C,y){return C+"([^"+y+"]*)"+y},""):w(h),i=new RegExp(u,"i"),l=new RegExp(w(h),"gi"),E&&(c=new RegExp(w("\ufff7"),"g"),d=new RegExp(w("\ufff8"),"g")),h=function(C){if(!C.title)return!1;var n,y=E?C.title:0<=(n=C.title).indexOf(">")?b("
        ").html(n).text():n;return(n=y.match(i))&&v.highlight&&(E?(g=v.fuzzy?a(y,n,E):y.replace(l,function(p){return"\ufff7"+p+"\ufff8"}),C.titleWithHighlight=t(g).replace(c,"").replace(d,"")):C.titleWithHighlight=v.fuzzy?a(y,n):y.replace(l,function(p){return""+p+""})),!!n}}return this.enableFilter=!0,this.lastFilterArgs=arguments,o=this.enableUpdate(!1),this.$div.addClass("fancytree-ext-filter"),this.$div.addClass(f?"fancytree-ext-filter-hide":"fancytree-ext-filter-dimm"),this.$div.toggleClass("fancytree-ext-filter-hide-expanders",!!v.hideExpanders),this.rootNode.subMatchCount=0,this.visit(function(C){delete C.match,delete C.titleWithHighlight,C.subMatchCount=0}),(u=this.getRootNode()._findDirectChild(e))&&u.remove(),S.autoCollapse=!1,this.visit(function(C){if(!r||null==C.children){var y=h(C),n=!1;if("skip"===y)return C.visit(function(p){p.match=!1},!0),"skip";y||!s&&"branch"!==y||!C.parent.match||(n=y=!0),y&&(m++,C.match=!0,C.visitParents(function(p){p!==C&&(p.subMatchCount+=1),!v.autoExpand||n||p.expanded||(p.setExpanded(!0,{noAnimation:!0,noEvents:!0,scrollIntoView:!1}),p._filterAutoExpanded=!0)},!0))}}),S.autoCollapse=_,0===m&&v.nodata&&f&&(!0===(u="function"==typeof(u=v.nodata)?u():u)?u={}:"string"==typeof u&&(u={title:u}),u=b.extend({statusNodeType:"nodata",key:e,title:this.options.strings.noData},u),this.getRootNode().addNode(u).match=!0),this._callHook("treeStructureChanged",this,"applyFilter"),this.enableUpdate(o),m},b.ui.fancytree._FancytreeClass.prototype.filterNodes=function(h,s){return"boolean"==typeof s&&(s={leavesOnly:s},this.warn("Fancytree.filterNodes() leavesOnly option is deprecated since 2.9.0 / 2015-04-19. Use opts.leavesOnly instead.")),this._applyFilterImpl(h,!1,s)},b.ui.fancytree._FancytreeClass.prototype.filterBranches=function(h,s){return this._applyFilterImpl(h,!0,s)},b.ui.fancytree._FancytreeClass.prototype.updateFilter=function(){this.enableFilter&&this.lastFilterArgs&&this.options.filter.autoApply?this._applyFilterImpl.apply(this,this.lastFilterArgs):this.warn("updateFilter(): no filter active.")},b.ui.fancytree._FancytreeClass.prototype.clearFilter=function(){var h,s=this.getRootNode()._findDirectChild(e),o=this.options.escapeTitles,u=this.options.enhanceTitle,i=this.enableUpdate(!1);s&&s.remove(),delete this.rootNode.match,delete this.rootNode.subMatchCount,this.visit(function(l){l.match&&l.span&&(h=b(l.span).find(">span.fancytree-title"),o?h.text(l.title):h.html(l.title),u&&u({type:"enhanceTitle"},{node:l,$title:h})),delete l.match,delete l.subMatchCount,delete l.titleWithHighlight,l.$subMatchBadge&&(l.$subMatchBadge.remove(),delete l.$subMatchBadge),l._filterAutoExpanded&&l.expanded&&l.setExpanded(!1,{noAnimation:!0,noEvents:!0,scrollIntoView:!1}),delete l._filterAutoExpanded}),this.enableFilter=!1,this.lastFilterArgs=null,this.$div.removeClass("fancytree-ext-filter fancytree-ext-filter-dimm fancytree-ext-filter-hide"),this._callHook("treeStructureChanged",this,"clearFilter"),this.enableUpdate(i)},b.ui.fancytree._FancytreeClass.prototype.isFilterActive=function(){return!!this.enableFilter},b.ui.fancytree._FancytreeNodeClass.prototype.isMatched=function(){return!(this.tree.enableFilter&&!this.match)},b.ui.fancytree.registerExtension({name:"filter",version:"2.38.3",options:{autoApply:!0,autoExpand:!1,counter:!0,fuzzy:!1,hideExpandedCounter:!0,hideExpanders:!1,highlight:!0,leavesOnly:!1,nodata:!0,mode:"dimm"},nodeLoadChildren:function(h,s){var o=h.tree;return this._superApply(arguments).done(function(){o.enableFilter&&o.lastFilterArgs&&h.options.filter.autoApply&&o._applyFilterImpl.apply(o,o.lastFilterArgs)})},nodeSetExpanded:function(h,s,o){var u=h.node;return delete u._filterAutoExpanded,!s&&h.options.filter.hideExpandedCounter&&u.$subMatchBadge&&u.$subMatchBadge.show(),this._superApply(arguments)},nodeRenderStatus:function(g){var s=g.node,o=g.tree,u=g.options.filter,i=b(s.span).find("span.fancytree-title"),l=b(s[o.statusClassPropName]),c=g.options.enhanceTitle,d=g.options.escapeTitles;return g=this._super(g),l.length&&o.enableFilter&&(l.toggleClass("fancytree-match",!!s.match).toggleClass("fancytree-submatch",!!s.subMatchCount).toggleClass("fancytree-hide",!(s.match||s.subMatchCount)),!u.counter||!s.subMatchCount||s.isExpanded()&&u.hideExpandedCounter?s.$subMatchBadge&&s.$subMatchBadge.hide():(s.$subMatchBadge||(s.$subMatchBadge=b(""),b("span.fancytree-icon, span.fancytree-custom-icon",s.span).append(s.$subMatchBadge)),s.$subMatchBadge.show().text(s.subMatchCount)),!s.span||s.isEditing&&s.isEditing.call(s)||(s.titleWithHighlight?i.html(s.titleWithHighlight):d?i.text(s.title):i.html(s.title),c&&c({type:"enhanceTitle"},{node:s,$title:i}))),g}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=b.ui.fancytree,t={awesome3:{_addClass:"",checkbox:"icon-check-empty",checkboxSelected:"icon-check",checkboxUnknown:"icon-check icon-muted",dragHelper:"icon-caret-right",dropMarker:"icon-caret-right",error:"icon-exclamation-sign",expanderClosed:"icon-caret-right",expanderLazy:"icon-angle-right",expanderOpen:"icon-caret-down",loading:"icon-refresh icon-spin",nodata:"icon-meh",noExpander:"",radio:"icon-circle-blank",radioSelected:"icon-circle",doc:"icon-file-alt",docOpen:"icon-file-alt",folder:"icon-folder-close-alt",folderOpen:"icon-folder-open-alt"},awesome4:{_addClass:"fa",checkbox:"fa-square-o",checkboxSelected:"fa-check-square-o",checkboxUnknown:"fa-square fancytree-helper-indeterminate-cb",dragHelper:"fa-arrow-right",dropMarker:"fa-long-arrow-right",error:"fa-warning",expanderClosed:"fa-caret-right",expanderLazy:"fa-angle-right",expanderOpen:"fa-caret-down",loading:{html:""},nodata:"fa-meh-o",noExpander:"",radio:"fa-circle-thin",radioSelected:"fa-circle",doc:"fa-file-o",docOpen:"fa-file-o",folder:"fa-folder-o",folderOpen:"fa-folder-open-o"},awesome5:{_addClass:"",checkbox:"far fa-square",checkboxSelected:"far fa-check-square",checkboxUnknown:"fas fa-square fancytree-helper-indeterminate-cb",radio:"far fa-circle",radioSelected:"fas fa-circle",radioUnknown:"far fa-dot-circle",dragHelper:"fas fa-arrow-right",dropMarker:"fas fa-long-arrow-alt-right",error:"fas fa-exclamation-triangle",expanderClosed:"fas fa-caret-right",expanderLazy:"fas fa-angle-right",expanderOpen:"fas fa-caret-down",loading:"fas fa-spinner fa-pulse",nodata:"far fa-meh",noExpander:"",doc:"far fa-file",docOpen:"far fa-file",folder:"far fa-folder",folderOpen:"far fa-folder-open"},bootstrap3:{_addClass:"glyphicon",checkbox:"glyphicon-unchecked",checkboxSelected:"glyphicon-check",checkboxUnknown:"glyphicon-expand fancytree-helper-indeterminate-cb",dragHelper:"glyphicon-play",dropMarker:"glyphicon-arrow-right",error:"glyphicon-warning-sign",expanderClosed:"glyphicon-menu-right",expanderLazy:"glyphicon-menu-right",expanderOpen:"glyphicon-menu-down",loading:"glyphicon-refresh fancytree-helper-spin",nodata:"glyphicon-info-sign",noExpander:"",radio:"glyphicon-remove-circle",radioSelected:"glyphicon-ok-circle",doc:"glyphicon-file",docOpen:"glyphicon-file",folder:"glyphicon-folder-close",folderOpen:"glyphicon-folder-open"},material:{_addClass:"material-icons",checkbox:{text:"check_box_outline_blank"},checkboxSelected:{text:"check_box"},checkboxUnknown:{text:"indeterminate_check_box"},dragHelper:{text:"play_arrow"},dropMarker:{text:"arrow-forward"},error:{text:"warning"},expanderClosed:{text:"chevron_right"},expanderLazy:{text:"last_page"},expanderOpen:{text:"expand_more"},loading:{text:"autorenew",addClass:"fancytree-helper-spin"},nodata:{text:"info"},noExpander:{text:""},radio:{text:"radio_button_unchecked"},radioSelected:{text:"radio_button_checked"},doc:{text:"insert_drive_file"},docOpen:{text:"insert_drive_file"},folder:{text:"folder"},folderOpen:{text:"folder_open"}}};function w(a,h,s,c,u){var i=(d=c.map)[u],l=b(h),d=(c=l.find(".fancytree-childcounter"),s+" "+(d._addClass||""));"string"==typeof(i="function"==typeof i?i.call(this,a,h,u):i)?(h.innerHTML="",l.attr("class",d+" "+i).append(c)):i&&(i.text?h.textContent=""+i.text:h.innerHTML=i.html?i.html:"",l.attr("class",d+" "+(i.addClass||"")).append(c))}return b.ui.fancytree.registerExtension({name:"glyph",version:"2.38.3",options:{preset:null,map:{}},treeInit:function(s){var h=s.tree;(s=s.options.glyph).preset?(e.assert(!!t[s.preset],"Invalid value for `options.glyph.preset`: "+s.preset),s.map=b.extend({},t[s.preset],s.map)):h.warn("ext-glyph: missing `preset` option."),this._superApply(arguments),h.$container.addClass("fancytree-ext-glyph")},nodeRenderStatus:function(a){var h,s,o=a.node,u=b(o.span),i=a.options.glyph,l=this._super(a);return o.isRootNode()||((s=u.children(".fancytree-expander").get(0))&&(h=o.expanded&&o.hasChildren()?"expanderOpen":o.isUndefined()?"expanderLazy":o.hasChildren()?"expanderClosed":"noExpander",w(o,s,"fancytree-expander",i,h)),(s=(o.tr?b("td",o.tr).find(".fancytree-checkbox"):u.children(".fancytree-checkbox")).get(0))&&(a=e.evalOption("checkbox",o,o,i,!1),o.parent&&o.parent.radiogroup||"radio"===a?w(o,s,"fancytree-checkbox fancytree-radio",i,h=o.selected?"radioSelected":"radio"):w(o,s,"fancytree-checkbox",i,h=o.selected?"checkboxSelected":o.partsel?"checkboxUnknown":"checkbox")),(s=u.children(".fancytree-icon").get(0))&&(h=o.statusNodeType||(o.folder?o.expanded&&o.hasChildren()?"folderOpen":"folder":o.expanded?"docOpen":"doc"),w(o,s,"fancytree-icon",i,h))),l},nodeSetStatus:function(c,h,s,o){var u,i=c.options.glyph,l=c.node;return c=this._superApply(arguments),"error"!==h&&"loading"!==h&&"nodata"!==h||(l.parent?(u=b(".fancytree-expander",l.span).get(0))&&w(l,u,"fancytree-expander",i,h):(u=b(".fancytree-statusnode-"+h,l[this.nodeContainerAttrName]).find(".fancytree-icon").get(0))&&w(l,u,"fancytree-icon",i,h)),c}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=b.ui.keyCode,t={text:[e.UP,e.DOWN],checkbox:[e.UP,e.DOWN,e.LEFT,e.RIGHT],link:[e.UP,e.DOWN,e.LEFT,e.RIGHT],radiobutton:[e.UP,e.DOWN,e.LEFT,e.RIGHT],"select-one":[e.LEFT,e.RIGHT],"select-multiple":[e.LEFT,e.RIGHT]};return b.ui.fancytree.registerExtension({name:"gridnav",version:"2.38.3",options:{autofocusInput:!1,handleCursorKeys:!0},treeInit:function(a){this._requireExtension("table",!0,!0),this._superApply(arguments),this.$container.addClass("fancytree-ext-gridnav"),this.$container.on("focusin",function(h){var s=b.ui.fancytree.getNode(h.target);s&&!s.isActive()&&(h=a.tree._makeHookContext(s,h),a.tree._callHook("nodeSetActive",h,!0))})},nodeSetActive:function(a,h,s){var o=a.options.gridnav,u=a.node,i=b((i=a.originalEvent||{}).target).is(":input");h=!1!==h,this._superApply(arguments),h&&(a.options.titlesTabbable?(i||(b(u.span).find("span.fancytree-title").focus(),u.setFocus()),a.tree.$container.attr("tabindex","-1")):o.autofocusInput&&!i&&b(u.tr||u.span).find(":input:enabled").first().focus())},nodeKeydown:function(i){var h,s,o=i.options.gridnav,u=i.originalEvent;return(i=b(u.target)).is(":input:enabled")?h=i.prop("type"):i.is("a")&&(h="link"),h&&o.handleCursorKeys?!((h=t[h])&&0<=b.inArray(u.which,h)&&(s=function w(a,h){var s,o,u,i,l,c,d=a.closest("td"),g=null;switch(h){case e.LEFT:g=d.prev();break;case e.RIGHT:g=d.next();break;case e.UP:case e.DOWN:for(u=s=d.parent(),l=d.get(0),c=0,u.children().each(function(){return this!==l&&(i=b(this).prop("colspan"),void(c+=i||1))}),o=c;(s=h===e.UP?s.prev():s.next()).length&&(s.is(":hidden")||!(g=function(m,S){var E,_=null,v=0;return m.children().each(function(){return S<=v?(_=b(this),!1):(E=b(this).prop("colspan"),void(v+=E||1))}),_}(s,o))||!g.find(":input,a").length););}return g}(i,u.which))&&s.length&&(s.find(":input:enabled,a").focus(),1)):this._superApply(arguments)}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree","./jquery.fancytree.table"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree.table"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";return b.ui.fancytree.registerExtension({name:"multi",version:"2.38.3",options:{allowNoSelect:!1,mode:"sameParent"},treeInit:function(e){this._superApply(arguments),this.$container.addClass("fancytree-ext-multi"),1===e.options.selectMode&&b.error("Fancytree ext-multi: selectMode: 1 (single) is not compatible.")},nodeClick:function(e){var t=e.tree,w=e.node,a=t.getActiveNode()||t.getFirstChild(),h="checkbox"===e.targetType,s="expander"===e.targetType;switch(b.ui.fancytree.eventToString(e.originalEvent)){case"click":if(s)break;h||(t.selectAll(!1),w.setSelected());break;case"shift+click":t.visitRows(function(o){if(o.setSelected(),o===w)return!1},{start:a,reverse:a.isBelowOf(w)});break;case"ctrl+click":case"meta+click":return void w.toggleSelected()}return this._superApply(arguments)},nodeKeydown:function(e){var t=e.tree,w=e.node,a=e.originalEvent;switch(b.ui.fancytree.eventToString(a)){case"up":case"down":t.selectAll(!1),w.navigate(a.which,!0),t.getActiveNode().setSelected();break;case"shift+up":case"shift+down":w.navigate(a.which,!0),t.getActiveNode().setSelected()}return this._superApply(arguments)}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=null,t=null,w=null,a=b.ui.fancytree.assert,h="active",s="expanded",o="focus",u="selected";try{a(window.localStorage&&window.localStorage.getItem),t={get:function(i){return window.localStorage.getItem(i)},set:function(i,l){window.localStorage.setItem(i,l)},remove:function(i){window.localStorage.removeItem(i)}}}catch(i){b.ui.fancytree.warn("Could not access window.localStorage",i)}try{a(window.sessionStorage&&window.sessionStorage.getItem),w={get:function(i){return window.sessionStorage.getItem(i)},set:function(i,l){window.sessionStorage.setItem(i,l)},remove:function(i){window.sessionStorage.removeItem(i)}}}catch(i){b.ui.fancytree.warn("Could not access window.sessionStorage",i)}return"function"==typeof Cookies?e={get:Cookies.get,set:function(i,l){Cookies.set(i,l,this.options.persist.cookie)},remove:Cookies.remove}:b&&"function"==typeof b.cookie&&(e={get:b.cookie,set:function(i,l){b.cookie(i,l,this.options.persist.cookie)},remove:b.removeCookie}),b.ui.fancytree._FancytreeClass.prototype.clearPersistData=function(i){var l=this.ext.persist,c=l.cookiePrefix;0<=(i=i||"active expanded focus selected").indexOf(h)&&l._data(c+h,null),0<=i.indexOf(s)&&l._data(c+s,null),0<=i.indexOf(o)&&l._data(c+o,null),0<=i.indexOf(u)&&l._data(c+u,null)},b.ui.fancytree._FancytreeClass.prototype.clearCookies=function(i){return this.warn("'tree.clearCookies()' is deprecated since v2.27.0: use 'clearPersistData()' instead."),this.clearPersistData(i)},b.ui.fancytree._FancytreeClass.prototype.getPersistData=function(){var i=this.ext.persist,l=i.cookiePrefix,c=i.cookieDelimiter,d={};return d[h]=i._data(l+h),d[s]=(i._data(l+s)||"").split(c),d[u]=(i._data(l+u)||"").split(c),d[o]=i._data(l+o),d},b.ui.fancytree.registerExtension({name:"persist",version:"2.38.3",options:{cookieDelimiter:"~",cookiePrefix:void 0,cookie:{raw:!1,expires:"",path:"",domain:"",secure:!1},expandLazy:!1,expandOpts:void 0,fireActivate:!0,overrideSource:!0,store:"auto",types:"active expanded focus selected"},_data:function(i,l){var c=this._local.store;if(void 0===l)return c.get.call(this,i);null===l?c.remove.call(this,i):c.set.call(this,i,l)},_appendKey:function(S,l,c){l=""+l;var E,d=this._local,g=this.options.persist.cookieDelimiter,m=d.cookiePrefix+S;S=(E=d._data(m))?E.split(g):[],0<=(E=b.inArray(l,S))&&S.splice(E,1),c&&S.push(l),d._data(m,S.join(g))},treeInit:function(i){var l=i.tree,c=i.options,d=this._local,g=this.options.persist;return d.cookiePrefix=g.cookiePrefix||"fancytree-"+l._id+"-",d.storeActive=0<=g.types.indexOf(h),d.storeExpanded=0<=g.types.indexOf(s),d.storeSelected=0<=g.types.indexOf(u),d.storeFocus=0<=g.types.indexOf(o),d.store=null,"auto"===g.store&&(g.store=t?"local":"cookie"),b.isPlainObject(g.store)?d.store=g.store:"cookie"===g.store?d.store=e:"local"!==g.store&&"session"!==g.store||(d.store="local"===g.store?t:w),a(d.store,"Need a valid store."),l.$div.on("fancytreeinit",function(m){var S,E,_,v,f,r;!1!==l._triggerTreeEvent("beforeRestore",null,{})&&(_=d._data(d.cookiePrefix+o),v=!1===g.fireActivate,f=d._data(d.cookiePrefix+s),r=f&&f.split(g.cookieDelimiter),(d.storeExpanded?function C(y,n,p,x,k){var T,R,j,U,Y=!1,q=y.options.persist.expandOpts,he=[],K=[];for(p=p||[],k=k||b.Deferred(),T=0,j=p.length;Ttbody")).length||(l.find(">tr").length&&b.error("Expected table > tbody > tr. If you see this please open an issue."),s=b("").appendTo(l)),o.tbody=s[0],o.columnCount=b("thead >tr",l).last().find(">th",l).length,(h=s.children("tr").first()).length)w=h.children("td").length,o.columnCount&&w!==o.columnCount&&(o.warn("Column count mismatch between thead ("+o.columnCount+") and tbody ("+w+"): using tbody."),o.columnCount=w),h=h.clone();else for(e(1<=o.columnCount,"Need either or with elements to determine column count."),h=b(""),a=0;a");h.find(">td").eq(i.nodeColumnIdx).html(""),u.aria&&(h.attr("role","row"),h.find("td").attr("role","gridcell")),o.rowFragment=document.createDocumentFragment(),o.rowFragment.appendChild(h.get(0)),s.empty(),o.statusClassPropName="tr",o.ariaPropName="tr",this.nodeContainerAttrName="tr",o.$container=l,this._superApply(arguments),b(o.rootNode.ul).remove(),o.rootNode.ul=null,this.$container.attr("tabindex",u.tabindex),u.aria&&o.$container.attr("role","treegrid").attr("aria-readonly",!0)},nodeRemoveChildMarkup:function(w){w.node.visit(function(a){a.tr&&(b(a.tr).remove(),a.tr=null)})},nodeRemoveMarkup:function(w){var a=w.node;a.tr&&(b(a.tr).remove(),a.tr=null),this.nodeRemoveChildMarkup(w)},nodeRender:function(w,a,h,s,o){var u,i,l,c,d,g,m,S,E,_=w.tree,v=w.node,f=w.options,r=!v.parent;if(!1!==_._enableUpdate){if(o||(w.hasCollapsedParents=v.parent&&!v.parent.expanded),!r)if(v.tr&&a&&this.nodeRemoveMarkup(w),v.tr)a?this.nodeRenderTitle(w):this.nodeRenderStatus(w);else{if(w.hasCollapsedParents&&!h)return;d=_.rowFragment.firstChild.cloneNode(!0),S=function(C){var y,n,p=C.parent,x=p?p.children:null;if(x&&1td").eq(0).prop("colspan",h.columnCount).text(s.title).addClass("fancytree-status-merged").nextAll().remove():o.renderColumns&&o.renderColumns.call(h,{type:"renderColumns"},w)),i},nodeRenderStatus:function(w){var a=w.node,h=w.options;this._super(w),b(a.tr).removeClass("fancytree-node"),w=(a.getLevel()-1)*h.table.indentation,h.rtl?b(a.span).css({paddingRight:w+"px"}):b(a.span).css({paddingLeft:w+"px"})},nodeSetExpanded:function(w,a,h){if(a=!1!==a,w.node.expanded&&a||!w.node.expanded&&!a)return this._superApply(arguments);var s=new b.Deferred,o=b.extend({},h,{noEvents:!0,noAnimation:!0});function u(i){i?(t(w.node,a),a&&w.options.autoScroll&&!h.noAnimation&&w.node.hasChildren()?w.node.getLastChild().scrollIntoView(!0,{topNode:w.node}).always(function(){h.noEvents||w.tree._triggerNodeEvent(a?"expand":"collapse",w),s.resolveWith(w.node)}):(h.noEvents||w.tree._triggerNodeEvent(a?"expand":"collapse",w),s.resolveWith(w.node))):(h.noEvents||w.tree._triggerNodeEvent(a?"expand":"collapse",w),s.rejectWith(w.node))}return h=h||{},this._super(w,a,o).done(function(){u(!0)}).fail(function(){u(!1)}),s.promise()},nodeSetStatus:function(w,a,h,s){return"ok"!==a||(w=(w=w.node).children?w.children[0]:null)&&w.isStatusNode()&&b(w.tr).remove(),this._superApply(arguments)},treeClear:function(w){return this.nodeRemoveChildMarkup(this._makeHookContext(this.rootNode)),this._superApply(arguments)},treeDestroy:function(w){return this.$container.find("tbody").empty(),this.$source&&this.$source.removeClass("fancytree-helper-hidden"),this._superApply(arguments)}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";return b.ui.fancytree.registerExtension({name:"themeroller",version:"2.38.3",options:{activeClass:"ui-state-active",addClass:"ui-corner-all",focusClass:"ui-state-focus",hoverClass:"ui-state-hover",selectedClass:"ui-state-highlight"},treeInit:function(e){var t=e.widget.element,w=e.options.themeroller;this._superApply(arguments),"TABLE"===t[0].nodeName?(t.addClass("ui-widget ui-corner-all"),t.find(">thead tr").addClass("ui-widget-header"),t.find(">tbody").addClass("ui-widget-conent")):t.addClass("ui-widget ui-widget-content ui-corner-all"),t.on("mouseenter mouseleave",".fancytree-node",function(s){var h=b.ui.fancytree.getNode(s.target);s="mouseenter"===s.type,b(h.tr||h.span).toggleClass(w.hoverClass+" "+w.addClass,s)})},treeDestroy:function(e){this._superApply(arguments),e.widget.element.removeClass("ui-widget ui-widget-content ui-corner-all")},nodeRenderStatus:function(e){var t={},w=e.node,a=b(w.tr||w.span),h=e.options.themeroller;this._super(e),t[h.activeClass]=!1,t[h.focusClass]=!1,t[h.selectedClass]=!1,w.isActive()&&(t[h.activeClass]=!0),w.hasFocus()&&(t[h.focusClass]=!0),w.isSelected()&&!w.isActive()&&(t[h.selectedClass]=!0),a.toggleClass(h.activeClass,t[h.activeClass]),a.toggleClass(h.focusClass,t[h.focusClass]),a.toggleClass(h.selectedClass,t[h.selectedClass]),a.addClass(h.addClass)}}),b.ui.fancytree},"function"==typeof define&&define.amd?define(["jquery","./jquery.fancytree"],W):"object"==typeof module&&module.exports?(require("./jquery.fancytree"),module.exports=W(require("jquery"))):W(jQuery),W=function(b){"use strict";var e=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function t(a,h){var s=b("#"+(a="fancytree-style-"+a));if(h){s.length||(s=b("