@entryscape/rdforms 10.3.1 → 10.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.rdforms=t():e.rdforms=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=776)}([function(e,t,n){var r=n(7),o=n(31).f,i=n(20),a=n(32),s=n(158),l=n(208),c=n(104);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},,function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},,function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports=!1},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(194))},function(e,t,n){var r=n(2),o=n(166),i=n(14),a=n(23),s=n(69),l=n(109),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,d){var f,p,h,m,g,b,v,y=a(t,n,u?2:1);if(d)f=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=i(e.length);m>h;h++)if((g=u?y(r(v=e[h])[0],v[1]):y(e[h]))&&g instanceof c)return g;return new c(!1)}f=p.call(e)}for(b=f.next;!(v=b.call(f)).done;)if("object"==typeof(g=l(f,y,v.value,u))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(e){return new c(!0,e)}},function(e,t,n){var r=n(7),o=n(121),i=n(19),a=n(101),s=n(164),l=n(210),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,,function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(10),o=n(206),i=n(2),a=n(46),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r,o=n(184),i=n(10),a=n(7),s=n(11),l=n(19),c=n(108),u=n(20),d=n(32),f=n(15).f,p=n(33),h=n(70),m=n(9),g=n(101),b=a.Int8Array,v=b&&b.prototype,y=a.Uint8ClampedArray,x=y&&y.prototype,w=b&&p(b),_=v&&p(v),k=Object.prototype,S=k.isPrototypeOf,E=m("toStringTag"),T=g("TYPED_ARRAY_TAG"),C=o&&!!h&&"Opera"!==c(a.opera),O=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D=function(e){return s(e)&&l(A,c(e))};for(r in A)a[r]||(C=!1);if((!C||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},C))for(r in A)a[r]&&h(a[r],w);if((!C||!_||_===k)&&(_=w.prototype,C))for(r in A)a[r]&&h(a[r].prototype,_);if(C&&p(x)!==_&&h(x,_),i&&!l(_,E))for(r in O=!0,f(_,E,{get:function(){return s(this)?this[T]:void 0}}),A)a[r]&&u(a[r],T,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:O&&T,aTypedArray:function(e){if(D(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(S.call(w,e))return e}else for(var t in A)if(l(A,r)){var n=a[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in A){var o=a[r];o&&l(o.prototype,e)&&delete o.prototype[e]}_[e]&&!n||d(_,e,n?t:C&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(h){if(n)for(r in A)(o=a[r])&&l(o,e)&&delete o[e];if(w[e]&&!n)return;try{return d(w,e,n?t:C&&b[e]||t)}catch(e){}}for(r in A)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||l(A,t)},isTypedArray:D,TypedArray:w,TypedArrayPrototype:_}},function(e,t,n){var r=n(47),o=n(7),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(10),o=n(15),i=n(59);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r,o,i,a=n(207),s=n(7),l=n(11),c=n(20),u=n(19),d=n(120),f=n(102),p=s.WeakMap;if(a){var h=new p,m=h.get,g=h.has,b=h.set;r=function(e,t){return b.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return g.call(h,e)}}else{var v=d("state");f[v]=!0,r=function(e,t){return c(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},,function(e,t,n){var r=n(5);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n){"use strict";var r=n(143),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){var r=n(47),o=n(19),i=n(213),a=n(15).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(2),o=n(5),i=n(9)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23),o=n(100),i=n(18),a=n(14),s=n(105),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d;return function(p,h,m,g){for(var b,v,y=i(p),x=o(y),w=r(h,m,3),_=a(x.length),k=0,S=g||s,E=t?S(p,_):n?S(p,0):void 0;_>k;k++)if((f||k in x)&&(v=w(b=x[k],k,y),e))if(t)E[k]=v;else if(v)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:l.call(E,b)}else if(u)return!1;return d?-1:c||u?u:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(673)),o=a(n(84)),i=a(n(674));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l,c,u,d,f,p="body",h=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],m={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(e){return e instanceof Node?e:"string"==typeof e?document.getElementById(e):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new r.default,editorRegistry:new r.default,chooserRegistry:new r.default,renderPresenter:function(e,t,n){var r=m.presenterRegistry.getComponent(t.getItem());r&&(m.prePresenterRenderer(e,t,n),r(e,t,n),m.postPresenterRenderer(e,t,n))},renderEditor:function(e,t,n){var r=m.editorRegistry.getComponent(t.getItem());r&&(m.preEditorRenderer(e,t,n),r(e,t,n),m.postEditorRenderer(e,t,n))},renderValidationMessage:function(e,t,n){},renderSelect:function(){},getChoice:function(e,t){var n=m.chooserRegistry.getComponent(e);if(null==n)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(e.getId()));return n.getChoice(e,t)},hasOpenChoiceSelector:function(e){return null!=m.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,n){var r=m.chooserRegistry.getComponent(e.getItem());if(null!=r&&r&&r.getChoice)r.show(e,t,n);else{var o=e.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(o))}},getExtLinkClass:function(){return""},setMessages:function(e){l=e},getMessages:function(){return l||i.default},getLanguageList:function(){return c||h},getPrimaryLanguageList:function(){if(!d){for(var e,t=m.getLanguageList(),n=u||[],r=[],o=0;o<t.length;o++){var i=t[o].value,a=n.indexOf(i);""===i&&(e=t[o]),-1!==a&&(r[a]=t[o])}d=[];for(var l=0;l<r.length;l++)"object"===s(r[l])&&d.push(r[l]);d.length>0&&e&&d.splice(0,0,e)}return d},getNonPrimaryLanguageList:function(){if(!f){var e=m.getPrimaryLanguageList().length>0,t=m.getLanguageList(),n=u||[];f=[];for(var r=0;r<t.length;r++){var o=t[r].value;-1===n.indexOf(o)&&(e&&""===o||f.push(t[r]))}}return f},setPrimaryLanguageCodes:function(e){f=null,d=null,u=e},setLanguageList:function(e){c=e},filterTranslations:function(e,t,n){for(var r={},o=0;o<e.length;o++){var i=e[o].getLanguage();""===i||null==i?r.noLanguage=!0:i===t?r.best=!0:-1!==i.indexOf(t)||-1!==t.indexOf(i)?r.close=!0:0===i.indexOf(n)&&(r.defaultLanguage=!0)}return r.best?e.filter((function(e){return e.getLanguage()===t})):r.close?e.filter((function(e){var n=e.getLanguage();return n&&(-1!==n.indexOf(t)||-1!==t.indexOf(n))})):r.defaultLanguage?e.filter((function(e){var t=e.getLanguage();return t&&0===t.indexOf(n)})):e},setPopoverContainer:function(e){p=e},getPopoverContainer:function(){return p},preEditorViewRenderer:function(e,t){},prePresenterViewRenderer:function(e,t){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){}};o.default.getChoice=m.getChoice;var g=function(e,t,n){new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,binding:t,topLevel:!1,showLanguage:n.view.showLanguage,defaultLanguage:n.view.defaultLanguage,filterTranslations:n.view.filterTranslations,includeLevel:n.view.includeLevel},e)};m.presenterRegistry.itemtype("group").register(g),m.presenterRegistry.itemtype("propertygroup").register(g);var b=function(e,t,n){var r=new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,languages:n.view.languages,binding:t,topLevel:!1,includeLevel:n.view.includeLevel},e);n.view._subEditors.push(r)};m.editorRegistry.itemtype("group").register(b),m.editorRegistry.itemtype("propertygroup").register(b);var v=m;t.default=v},function(e,t,n){var r=n(10),o=n(119),i=n(59),a=n(39),s=n(46),l=n(19),c=n(206),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(7),o=n(20),i=n(19),a=n(158),s=n(159),l=n(21),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=d.join("string"==typeof t?t:"")),e!==r?(l?!f&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,n){var r=n(19),o=n(18),i=n(120),a=n(168),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(25).a.Symbol;t.a=r},function(e,t,n){var r,o=n(2),i=n(165),a=n(162),s=n(102),l=n(211),c=n(157),u=n(120),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(10),o=n(4),i=n(19),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:l,d=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,d)}))}},function(e,t,n){"use strict";var r,o=n(144),i=n(25).a["__core-js_shared__"],a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var s=function(e){return!!a&&a in e},l=n(55),c=n(66),u=/^\[object .+?Constructor\]$/,d=Function.prototype,f=Object.prototype,p=d.toString,h=f.hasOwnProperty,m=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var g=function(e){return!(!Object(l.a)(e)||s(e))&&(Object(o.a)(e)?m:u).test(Object(c.a)(e))};var b=function(e,t){return null==e?void 0:e[t]};t.a=function(e,t){var n=b(e,t);return g(n)?n:void 0}},function(e,t,n){var r=n(100),o=n(28);e.exports=function(e){return r(o(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(28),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+a+"</"+t+">"}},function(e,t,n){var r=n(4);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){var r;
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.rdforms=t():e.rdforms=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=776)}([function(e,t,n){var r=n(7),o=n(31).f,i=n(20),a=n(32),s=n(158),l=n(208),c=n(104);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},,function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},,function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports=!1},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(194))},function(e,t,n){var r=n(2),o=n(166),i=n(14),a=n(23),s=n(69),l=n(109),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,d){var f,p,h,m,g,b,v,y=a(t,n,u?2:1);if(d)f=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=i(e.length);m>h;h++)if((g=u?y(r(v=e[h])[0],v[1]):y(e[h]))&&g instanceof c)return g;return new c(!1)}f=p.call(e)}for(b=f.next;!(v=b.call(f)).done;)if("object"==typeof(g=l(f,y,v.value,u))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(e){return new c(!0,e)}},function(e,t,n){var r=n(7),o=n(121),i=n(19),a=n(101),s=n(164),l=n(210),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t,n){var r=n(4);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,,function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(10),o=n(206),i=n(2),a=n(46),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r,o=n(184),i=n(10),a=n(7),s=n(11),l=n(19),c=n(108),u=n(20),d=n(32),f=n(15).f,p=n(33),h=n(70),m=n(9),g=n(101),b=a.Int8Array,v=b&&b.prototype,y=a.Uint8ClampedArray,x=y&&y.prototype,w=b&&p(b),_=v&&p(v),k=Object.prototype,S=k.isPrototypeOf,E=m("toStringTag"),T=g("TYPED_ARRAY_TAG"),C=o&&!!h&&"Opera"!==c(a.opera),O=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D=function(e){return s(e)&&l(A,c(e))};for(r in A)a[r]||(C=!1);if((!C||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},C))for(r in A)a[r]&&h(a[r],w);if((!C||!_||_===k)&&(_=w.prototype,C))for(r in A)a[r]&&h(a[r].prototype,_);if(C&&p(x)!==_&&h(x,_),i&&!l(_,E))for(r in O=!0,f(_,E,{get:function(){return s(this)?this[T]:void 0}}),A)a[r]&&u(a[r],T,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:O&&T,aTypedArray:function(e){if(D(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(S.call(w,e))return e}else for(var t in A)if(l(A,r)){var n=a[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in A){var o=a[r];o&&l(o.prototype,e)&&delete o.prototype[e]}_[e]&&!n||d(_,e,n?t:C&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(h){if(n)for(r in A)(o=a[r])&&l(o,e)&&delete o[e];if(w[e]&&!n)return;try{return d(w,e,n?t:C&&b[e]||t)}catch(e){}}for(r in A)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||l(A,t)},isTypedArray:D,TypedArray:w,TypedArrayPrototype:_}},function(e,t,n){var r=n(47),o=n(7),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(10),o=n(15),i=n(59);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r,o,i,a=n(207),s=n(7),l=n(11),c=n(20),u=n(19),d=n(120),f=n(102),p=s.WeakMap;if(a){var h=new p,m=h.get,g=h.has,b=h.set;r=function(e,t){return b.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return g.call(h,e)}}else{var v=d("state");f[v]=!0,r=function(e,t){return c(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},,function(e,t,n){var r=n(5);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n){"use strict";var r=n(143),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){var r=n(47),o=n(19),i=n(213),a=n(15).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(2),o=n(5),i=n(9)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23),o=n(100),i=n(18),a=n(14),s=n(105),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d;return function(p,h,m,g){for(var b,v,y=i(p),x=o(y),w=r(h,m,3),_=a(x.length),k=0,S=g||s,E=t?S(p,_):n?S(p,0):void 0;_>k;k++)if((f||k in x)&&(v=w(b=x[k],k,y),e))if(t)E[k]=v;else if(v)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:l.call(E,b)}else if(u)return!1;return d?-1:c||u?u:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(673)),o=a(n(85)),i=a(n(674));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l,c,u,d,f,p="body",h=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],m={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(e){return e instanceof Node?e:"string"==typeof e?document.getElementById(e):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new r.default,editorRegistry:new r.default,chooserRegistry:new r.default,renderPresenter:function(e,t,n){var r=m.presenterRegistry.getComponent(t.getItem());r&&(m.prePresenterRenderer(e,t,n),r(e,t,n),m.postPresenterRenderer(e,t,n))},renderEditor:function(e,t,n){var r=m.editorRegistry.getComponent(t.getItem());r&&(m.preEditorRenderer(e,t,n),r(e,t,n),m.postEditorRenderer(e,t,n))},renderValidationMessage:function(e,t,n){},renderSelect:function(){},getChoice:function(e,t){var n=m.chooserRegistry.getComponent(e);if(null==n)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(e.getId()));return n.getChoice(e,t)},hasOpenChoiceSelector:function(e){return null!=m.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,n){var r=m.chooserRegistry.getComponent(e.getItem());if(null!=r&&r&&r.getChoice)r.show(e,t,n);else{var o=e.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(o))}},getExtLinkClass:function(){return""},setMessages:function(e){l=e},getMessages:function(){return l||i.default},getLanguageList:function(){return c||h},getPrimaryLanguageList:function(){if(!d){for(var e,t=m.getLanguageList(),n=u||[],r=[],o=0;o<t.length;o++){var i=t[o].value,a=n.indexOf(i);""===i&&(e=t[o]),-1!==a&&(r[a]=t[o])}d=[];for(var l=0;l<r.length;l++)"object"===s(r[l])&&d.push(r[l]);d.length>0&&e&&d.splice(0,0,e)}return d},getNonPrimaryLanguageList:function(){if(!f){var e=m.getPrimaryLanguageList().length>0,t=m.getLanguageList(),n=u||[];f=[];for(var r=0;r<t.length;r++){var o=t[r].value;-1===n.indexOf(o)&&(e&&""===o||f.push(t[r]))}}return f},setPrimaryLanguageCodes:function(e){f=null,d=null,u=e},setLanguageList:function(e){c=e},filterTranslations:function(e,t,n){for(var r={},o=0;o<e.length;o++){var i=e[o].getLanguage();""===i||null==i?r.noLanguage=!0:i===t?r.best=!0:-1!==i.indexOf(t)||-1!==t.indexOf(i)?r.close=!0:0===i.indexOf(n)&&(r.defaultLanguage=!0)}return r.best?e.filter((function(e){return e.getLanguage()===t})):r.close?e.filter((function(e){var n=e.getLanguage();return n&&(-1!==n.indexOf(t)||-1!==t.indexOf(n))})):r.defaultLanguage?e.filter((function(e){var t=e.getLanguage();return t&&0===t.indexOf(n)})):e},setPopoverContainer:function(e){p=e},getPopoverContainer:function(){return p},preEditorViewRenderer:function(e,t){},prePresenterViewRenderer:function(e,t){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){}};o.default.getChoice=m.getChoice;var g=function(e,t,n){new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,binding:t,topLevel:!1,showLanguage:n.view.showLanguage,defaultLanguage:n.view.defaultLanguage,filterTranslations:n.view.filterTranslations,includeLevel:n.view.includeLevel},e)};m.presenterRegistry.itemtype("group").register(g),m.presenterRegistry.itemtype("propertygroup").register(g);var b=function(e,t,n){var r=new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,languages:n.view.languages,binding:t,topLevel:!1,includeLevel:n.view.includeLevel},e);n.view._subEditors.push(r)};m.editorRegistry.itemtype("group").register(b),m.editorRegistry.itemtype("propertygroup").register(b);var v=m;t.default=v},function(e,t,n){var r=n(10),o=n(119),i=n(59),a=n(39),s=n(46),l=n(19),c=n(206),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(7),o=n(20),i=n(19),a=n(158),s=n(159),l=n(21),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=d.join("string"==typeof t?t:"")),e!==r?(l?!f&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,n){var r=n(19),o=n(18),i=n(120),a=n(168),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(25).a.Symbol;t.a=r},function(e,t,n){var r,o=n(2),i=n(165),a=n(162),s=n(102),l=n(211),c=n(157),u=n(120),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(10),o=n(4),i=n(19),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:l,d=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,d)}))}},function(e,t,n){"use strict";var r,o=n(144),i=n(25).a["__core-js_shared__"],a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var s=function(e){return!!a&&a in e},l=n(55),c=n(66),u=/^\[object .+?Constructor\]$/,d=Function.prototype,f=Object.prototype,p=d.toString,h=f.hasOwnProperty,m=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var g=function(e){return!(!Object(l.a)(e)||s(e))&&(Object(o.a)(e)?m:u).test(Object(c.a)(e))};var b=function(e,t){return null==e?void 0:e[t]};t.a=function(e,t){var n=b(e,t);return g(n)?n:void 0}},function(e,t,n){var r=n(100),o=n(28);e.exports=function(e){return r(o(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(28),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+a+"</"+t+">"}},function(e,t,n){var r=n(4);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){var r;
2
2
  /*!
3
3
  * jQuery JavaScript Library v3.6.0
4
4
  * https://jquery.com/
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * Date: 2021-02-16
24
24
  */
25
- function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,b,v,y,x="sizzle"+1*new Date,w=e.document,_=0,k=0,S=le(),E=le(),T=le(),C=le(),O=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,D=[],j=D.pop,I=D.push,N=D.push,M=D.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",V=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",B=new RegExp(R+"+","g"),z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),H=new RegExp("^"+R+"*,"+R+"*"),W=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),Y=new RegExp(R+"|>"),q=new RegExp(V),$=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(D=M.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){N={apply:D.length?function(e,t){I.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,c,u,d,h,b,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(i=d[1]){if(9===w){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(v&&(c=v.getElementById(i))&&y(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return N.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!C[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===w&&(Y.test(e)||W.test(e))){for((v=ee.test(e)&&be(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=x)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+ye(h[s]);b=h.join(",")}try{return N.apply(r,v.querySelectorAll(b)),r}catch(t){C(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[x]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},b=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",V)})),g=g.length&&new RegExp(g.join("|")),b=b.length&&new RegExp(b.join("|")),t=Z.test(h.compareDocumentPosition),y=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&y(w,e)?-1:t==p||t.ownerDocument==w&&y(w,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:u?P(u,e)-P(u,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!C[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(O),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!l&&!s,y=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===b:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&v){for(y=(p=(c=(u=(d=(f=g)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===_&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){u[e]=[_,p,y];break}}else if(v&&(y=p=(c=(u=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===_&&c[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==b:1!==f.nodeType)||!++y||(v&&((u=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[_,y]),f!==t)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=P(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[x]?ce((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return $.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=k++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,f=[_,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[i])&&c[0]===_&&c[1]===s)return f[2]=c[2];if(u[i]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function _e(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function ke(e,t,n,r,o,i){return r&&!r[x]&&(r=ke(r)),o&&!o[x]&&(o=ke(o,i)),ce((function(i,a,s,l){var c,u,d,f=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:_e(m,f,e,s,l),b=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,b,s,l),r)for(c=_e(b,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[p[u]]=!(g[p[u]]=d));if(i){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(g[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?P(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else b=_e(b===a?b.splice(h,b.length):b),o?o(null,a,b,l):N.apply(a,b)}))}function Se(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=xe((function(e){return e===t}),s,!0),d=xe((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[xe(we(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return ke(l>1&&we(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,l<o&&Se(e.slice(l,o)),o<i&&Se(e=e.slice(o)),o<i&&ye(e))}f.push(n)}return we(f)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=se.tokenize=function(e,t){var n,o,i,a,s,l,c,u=E[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):E(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[x]?o.push(s):i.push(s);(s=T(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,u){var d,h,g,b=0,v="0",y=i&&[],x=[],w=c,k=i||o&&r.find.TAG("*",u),S=_+=null==w?1:Math.random()||.1,E=k.length;for(u&&(c=a==p||a||u);v!==E&&null!=(d=k[v]);v++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,a||p,s)){l.push(d);break}u&&(_=S)}n&&((d=!g&&d)&&b--,i&&y.push(d))}if(b+=v,n&&v!==b){for(h=0;g=t[h++];)g(y,x,a,s);if(i){if(b>0)for(;v--;)y[v]||x[v]||(x[v]=j.call(l));x=_e(x)}N.apply(l,x),u&&!i&&x.length>0&&b+t.length>1&&se.uniqueSort(l)}return u&&(_=S,c=w),y};return n?ce(i):i}(i,o))).selector=e}return s},l=se.select=function(e,t,n,o){var i,l,c,u,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&be(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&ye(l)))return N.apply(n,o),n;break}}return(f||s(e,p))(o,t,!m,n,!t||ee.test(e)&&be(t.parentNode)||t),n},n.sortStable=x.split("").sort(O).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);k.find=E,k.expr=E.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=E.uniqueSort,k.text=E.getText,k.isXMLDoc=E.isXML,k.contains=E.contains,k.escapeSelector=E.escape;var T=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return b(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<r;t++)if(k.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,o[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&O.test(e)?k(e):e||[],!1).length}});var I,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=y.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,I=k(y);var M=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&k(e);if(!O.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?k.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var o=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=k.filter(r,o)),this.length>1&&(P[e]||k.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function F(e){return e}function U(e){throw e}function V(e,t,n,r){var o;try{e&&b(o=e.promise)?o.call(e).done(t).fail(n):e&&b(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){k.each(n,(function(n,r){b(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==_(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){for(var n;(n=k.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?k.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var o=b(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,b(c)?o?c.call(n,a(i,t,F,o),a(i,t,U,o)):(i++,c.call(n,a(i,t,F,o),a(i,t,U,o),a(i,t,F,t.notifyWith))):(r!==F&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(n,u.stackTrace),e+1>=i&&(r!==U&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(k.Deferred.getStackHook&&(u.stackTrace=k.Deferred.getStackHook()),n.setTimeout(u))}}return k.Deferred((function(n){t[0][3].add(a(0,n,b(o)?o:F,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:F)),t[2][3].add(a(0,n,b(r)?r:U))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},i={};return k.each(t,(function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=k.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(V(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||b(o[n]&&o[n].then)))return i.then();for(;n--;)V(o[n],a(n),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout((function(){throw e}))};var z=k.Deferred();function H(){y.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),k.ready()}k.fn.ready=function(e){return z.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||z.resolveWith(y,[k]))}}),k.ready.then=z.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(k.ready):(y.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var W=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===_(n))for(s in o=!0,n)W(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,b(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},Y=/^-ms-/,q=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function G(e){return e.replace(Y,"ms-").replace(q,$)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=k.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[G(t)]=n;else for(r in t)o[G(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new K,Z=new K,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return Z.hasData(e)||Q.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Z.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),te(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Z.set(this,e)})):W(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Z.get(i,e))||void 0!==(n=te(i,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,o=n.shift(),i=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){k.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=k.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ie=y.documentElement,ae=function(e){return k.contains(e.ownerDocument,e)},se={composed:!0};ie.getRootNode&&(ae=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===k.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},l=s(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&re.exec(k.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)k.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,k.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=ue[r];return o||(t=n.body.appendChild(n.createElement(r)),o=k.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ue[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}k.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?k(this).show():k(this).hide()}))}});var pe,he,me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;pe=y.createDocumentFragment().appendChild(y.createElement("div")),(he=y.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),g.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",g.option=!!pe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,g.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function _e(e,t,n,r,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===_(i))k.merge(f,i.nodeType?[i]:i);else if(we.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),l=ve[s]||ve._default,a.innerHTML=l[1]+k.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;k.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&k.inArray(i,r)>-1)o&&o.push(i);else if(c=ae(i),a=ye(d.appendChild(i),"script"),c&&xe(a),n)for(u=0;i=a[u++];)be.test(i.type||"")&&n.push(i);return d}var ke=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ee(){return!1}function Te(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ee;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,r,n)}))}function Oe(e,t,n){n?(Q.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&k.event.add(e,t,Se)}k.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.get(e);if(X(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&k.find.matchesSelector(ie,o),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)p=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},u=k.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),k.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(p=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],n,r,!0);k.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=k.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=k.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((k.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?k(o,this).index(c)>-1:k.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Oe(t,"click",Se),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return Oe(this,e,Te),!1},trigger:function(){return Oe(this,e),!0},_default:function(){return!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||k.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){k.event.remove(this,e,n,t)}))}});var Ae=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)k.event.add(t,o,s[o][n]);Z.hasData(e)&&(i=Z.access(e),a=k.extend({},i),Z.set(t,a))}}function Le(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=l(t);var o,i,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],m=b(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&De.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Re(i,t,n,r)}));if(f&&(i=(o=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=k.map(ye(o,"script"),Ne)).length;d<f;d++)c=o,d!==p&&(c=k.clone(c,!0,!0),s&&k.merge(a,ye(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,k.map(a,Me),d=0;d<s;d++)c=a[d],be.test(c.type||"")&&!Q.access(c,"globalEval")&&k.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(je,""),c,u))}return e}function Fe(e,t,n){for(var r,o=t?k.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||k.cleanData(ye(r)),r.parentNode&&(n&&ae(r)&&xe(ye(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ye(s),r=0,o=(i=ye(e)).length;r<o;r++)Le(i[r],a[r]);if(t)if(n)for(i=i||ye(e),a=a||ye(s),r=0,o=i.length;r<o;r++)Pe(i[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&xe(a,!l&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,o=k.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Re(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Re(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(ye(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,r=[],o=k(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),k(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ue=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Be=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},ze=new RegExp(oe.join("|"),"i");function He(e,t,n){var r,o,i,a,s=e.style;return(n=n||Ve(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ae(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&Ue.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ie.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),r=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ie.appendChild(e).appendChild(t).appendChild(r),o=n.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ie.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],qe=y.createElement("div").style,$e={};function Ge(e){var t=k.cssProps[e]||$e[e];return t||(e in qe?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in qe)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=k.css(e,n+oe[a],!0,o)),r?("content"===n&&(l-=k.css(e,"padding"+oe[a],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+oe[a]+"Width",!0,o))):(l+=k.css(e,"padding"+oe[a],!0,o),"padding"!==n?l+=k.css(e,"border"+oe[a]+"Width",!0,o):s+=k.css(e,"border"+oe[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function tt(e,t,n){var r=Ve(e),o=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),i=o,a=He(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(o?"border":"content"),i,r,a)+"px"}function nt(e,t,n,r,o){return new nt.prototype.init(e,t,n,r,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=G(t),l=Ke.test(t),c=e.style;if(l||(t=Ge(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=re.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=G(t);return Ke.test(t)||(t=Ge(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=He(e,t,r)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Be(e,Qe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var o,i=Ve(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,i),l=r?et(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-et(e,t,"border",!1,i)-.5)),l&&(o=re.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),Je(0,n,l)}}})),k.cssHooks.marginLeft=We(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+oe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=Je)})),k.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ve(e),o=t.length;a<o;a++)i[t[a]]=k.css(e,t[a],!1,r);return i}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(k.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=nt.prototype.init,k.fx.step={};var rt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){ot&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,k.fx.interval),k.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=oe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ut(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=G(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=k.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(c,e,u,c.opts))return b(r.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return k.map(u,ut,c),b(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&le(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],it.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||k.style(e,r)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=Q.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=k.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&fe([e],!0),f.done((function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),p)k.style(e,r,p[r])}))),l=ut(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=k.isEmptyObject(e),i=k.speed(t,n,r),a=function(){var t=dt(this,k.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=k.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&at.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=k.timers,a=r?r.length:0;for(n.finish=!0,k.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,o)}})),k.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),rt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ot||(ot=!0,st())},k.fx.stop=function(){ot=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,pt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return W(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?k.prop(e,t,n):(1===i&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||k.find.attr;pt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=pt[a],pt[a]=o,o=null!=n(e,t,r)?a:null,pt[a]=i),o}}));var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(R)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}k.fn.extend({prop:function(e,t){return W(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each((function(t){k(this).addClass(e.call(this,t,bt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(o=bt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each((function(t){k(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(o=bt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=k(this),a=vt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;k.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=b(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(yt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:gt(k.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=k.makeArray(t),a=o.length;a--;)((r=o[a]).selected=k.inArray(k.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,o){var i,a,s,l,c,u,d,f,h=[r||y],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!xt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(r,t))){if(!o&&!d.noBubble&&!v(r)){for(l=d.delegateType||m,xt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(r.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:d.bindType||m,(u=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&X(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!X(r)||c&&b(r[m])&&!v(r)&&((s=r[c])&&(r[c]=null),k.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,wt),k.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var _t=n.location,kt={guid:Date.now()},St=/\?/;k.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||k.error("Invalid XML: "+(r?k.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Tt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var o;if(Array.isArray(t))k.each(t,(function(t,o){n||Et.test(e)?r(e,o):At(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==_(t))r(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,r)}k.param=function(e,t){var n,r=[],o=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(n in e)At(n,e[n],t,o);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Dt=/%20/g,jt=/#.*$/,It=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Lt={},Rt={},Ft="*/".concat("*"),Ut=y.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(R)||[];if(b(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var o={},i=e===Rt;function a(s){var l;return o[s]=!0,k.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,r,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Ut.href=_t.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,k.ajaxSettings),t):zt(k.ajaxSettings,e)},ajaxPrefilter:Vt(Lt),ajaxTransport:Vt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,l,c,u,d,f,p=k.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?k(h):k.event,g=k.Deferred(),b=k.Callbacks("once memory"),v=p.statusCode||{},x={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Nt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),E(0,t),this}};if(g.promise(S),p.url=((e||p.url||_t.href)+"").replace(Pt,_t.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Bt(Lt,p,t,S),c)return S;for(d in(u=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Mt.test(p.type),o=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Dt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(St.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(It,"$1"),f=(St.test(o)?"&":"?")+"_="+kt.guid+++f),p.url=o+f),p.ifModified&&(k.lastModified[o]&&S.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&S.setRequestHeader("If-None-Match",k.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,S,p)||c))return S.abort();if(_="abort",b.add(p.complete),S.done(p.success),S.fail(p.error),r=Bt(Rt,p,t,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,p]),c)return S;p.async&&p.timeout>0&&(s=n.setTimeout((function(){S.abort("timeout")}),p.timeout));try{c=!1,r.send(x,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,l){var d,f,y,x,w,_=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,S,a)),!d&&k.inArray("script",p.dataTypes)>-1&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,x,S,d),d?(p.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(k.etag[o]=w)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=x.state,f=x.data,d=!(y=x.error))):(y=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?g.resolveWith(h,[f,_,S]):g.rejectWith(h,[S,_,y]),S.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[S,p,d?f:y]),b.fireWith(h,[S,_]),u&&(m.trigger("ajaxComplete",[S,p]),--k.active||k.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,o){return b(n)&&(o=o||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return b(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=b(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Wt=k.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,k.ajaxTransport((function(e){var t,r;if(g.cors||Wt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,qt=[],$t=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||k.expando+"_"+kt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,r){var o,i,a,s=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($t,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||k.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?k(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,qt.push(o)),a&&b(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Yt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(r)):t=y),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=_e([e],t,i),i&&i.length&&k(i).remove(),k.merge([],o.childNodes)));var r,o,i},k.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=k.css(e,"position"),u=k(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=k.css(e,"top"),l=k.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),b(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(r,"marginTop",!0),left:t.left-o.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ie}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(r){return W(this,(function(e,r,o){var i;if(v(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=We(g.pixelPosition,(function(e,n){if(n)return n=He(e,t),Ue.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){k.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return W(this,(function(t,n,o){var i;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?k.css(t,n,s):k.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,o},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=b,k.isWindow=v,k.camelCase=G,k.type=_,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(r=function(){return k}.apply(t,[]))||(e.exports=r);var Xt=n.jQuery,Kt=n.$;return k.noConflict=function(e){return n.$===k&&(n.$=Kt),e&&n.jQuery===k&&(n.jQuery=Xt),k},void 0===o&&(n.jQuery=n.$=k),k}))},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(7);e.exports=r},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=Array.isArray;t.a=r},function(e,t,n){"use strict";var r=n(35),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.a?r.a.toStringTag:void 0;var l=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o},c=Object.prototype.toString;var u=function(e){return c.call(e)},d=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":d&&d in Object(e)?l(e):u(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(681)),o=a(n(83)),i=a(n(84));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=o.default.locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(t))return{value:e[t],precision:"exact",lang:t};if(t.indexOf("_")>-1&&e.hasOwnProperty(t.substr(0,2)))return{value:e[t.substr(0,2)],precision:"coarsen",lang:t.substr(0,2)};if(e.hasOwnProperty("en"))return{value:e.en,precision:"default",lang:"en"};if(e.hasOwnProperty(""))return{value:e[""],precision:"nolang",lang:""};var n=Object.keys(e);return n.length>0?{value:e[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},l=function(e,t,n){var r=e.find(t,n);if(r.length>0){for(var o={},i=0;i<r.length;i++)o[r[i].getLanguage()||""]=r[i].getValue();return o}},c={getLocalizedValue:s,getLocalizedMap:function(e,t,n){var r,o=t,a=n;e.getItem?(r=e.getGraph(),o=e.getValue(),a=e.getItem().getURIValueLabelProperties()):r=e,null!=a&&0!==a.length||(a=i.default.labelProperties);for(var c=0;c<a.length;c++){var u=a[c];if(Array.isArray(u)){for(var d=[],f=0;f<u.length;f++){var p=l(r,o,u[f]);p&&d.push(s(p).value)}if(d.length>0)return{"":d.join(" ")}}else{var h=l(r,o,u);if(h)return h}}},cloneArrayWithLabels:function(e,t){for(var n=[],o=0;o<e.length;o++){var i=e[o],a=s(i.label),l={value:i.value,label:a.value||i.value||""};!0===i.top&&(l.top=!0),null!=i.children&&(l.children=(0,r.default)(i.children)),!1===i.selectable?l.selectable=!1:l.selectable=!0,n.push(l)}return!0!==t&&n.sort((function(e,t){return e.label>t.label?1:-1})),n},extractGist:function(e,t){var n=t;if(n){-1===n.indexOf("$1")&&(n+="$1");var r="".concat(n).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),o=new RegExp(r).exec(e);if(null!=o)return o[1]}return e},findFirstValue:function(e,t,n,r){var o=e.findFirstValueBinding(e.match(t,n,r),!1);if(o)return o.getChoice?s(o.getChoice().label).value:o.getGist()},generateUUID:function(){var e=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}))}};t.default=c},function(e,t,n){var r=n(15).f,o=n(19),i=n(9)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(9),o=n(36),i=n(15),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r=n(6),o=n(114);e.exports=r?o:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(10),a=n(185),s=n(16),l=n(137),c=n(48),u=n(59),d=n(20),f=n(14),p=n(243),h=n(244),m=n(46),g=n(19),b=n(108),v=n(11),y=n(36),x=n(70),w=n(75).f,_=n(245),k=n(29).forEach,S=n(78),E=n(15),T=n(31),C=n(21),O=n(133),A=C.get,D=C.set,j=E.f,I=T.f,N=Math.round,M=o.RangeError,P=l.ArrayBuffer,L=l.DataView,R=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,U=s.TypedArray,V=s.TypedArrayPrototype,B=s.aTypedArrayConstructor,z=s.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(B(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){j(e,t,{get:function(){return A(this)[t]}})},Y=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},q=function(e,t){return z(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},$=function(e,t){return q(e,t=m(t,!0))?u(2,e[t]):I(e,t)},G=function(e,t,n){return!(q(e,t=m(t,!0))&&v(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?j(e,t,n):(e[t]=n.value,e)};i?(R||(T.f=$,E.f=G,W(V,"buffer"),W(V,"byteOffset"),W(V,"byteLength"),W(V,"length")),r({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:$,defineProperty:G}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,m=o[s],g=m,b=g&&g.prototype,E={},T=function(e,t){j(e,t,{get:function(){return function(e,t){var n=A(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=A(e);n&&(r=(r=N(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};R?a&&(g=t((function(e,t,n,r){return c(e,g,s),O(v(t)?Y(t)?void 0!==r?new m(t,h(n,i),r):void 0!==n?new m(t,h(n,i)):new m(t):z(t)?H(g,t):_.call(g,t):new m(p(t)),e,g)})),x&&x(g,U),k(w(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=b):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(v(t)){if(!Y(t))return z(t)?H(g,t):_.call(g,t);o=t,d=h(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw M("Wrong length");if((a=m-d)<0)throw M("Wrong length")}else if((a=f(r)*i)+d>m)throw M("Wrong length");l=a/i}else l=p(t),o=new P(a=l*i);for(D(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new L(o)});u<l;)T(e,u++)})),x&&x(g,U),b=g.prototype=y(V)),b.constructor!==g&&d(b,"constructor",g),F&&d(b,F,s),E[s]=g,r({global:!0,forced:g!=m,sham:!R},E),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in b||d(b,"BYTES_PER_ELEMENT",i),S(s)}):e.exports=function(){}},function(e,t,n){var r=n(182),o=n(183),i=n(121)("metadata"),a=i.store||(i.store=new o),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,getMap:s,has:function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){s(n,r,!0).set(e,t)},keys:function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},function(e,t,n){"use strict";var r=n(38),o=n(25),i=Object(r.a)(o.a,"DataView"),a=n(72),s=Object(r.a)(o.a,"Promise"),l=Object(r.a)(o.a,"Set"),c=Object(r.a)(o.a,"WeakMap"),u=n(50),d=n(66),f=Object(d.a)(i),p=Object(d.a)(a.a),h=Object(d.a)(s),m=Object(d.a)(l),g=Object(d.a)(c),b=u.a;(i&&"[object DataView]"!=b(new i(new ArrayBuffer(1)))||a.a&&"[object Map]"!=b(new a.a)||s&&"[object Promise]"!=b(s.resolve())||l&&"[object Set]"!=b(new l)||c&&"[object WeakMap]"!=b(new c))&&(b=function(e){var t=Object(u.a)(e),n="[object Object]"==t?e.constructor:void 0,r=n?Object(d.a)(n):"";if(r)switch(r){case f:return"[object DataView]";case p:return"[object Map]";case h:return"[object Promise]";case m:return"[object Set]";case g:return"[object WeakMap]"}return t});t.a=b},function(e,t,n){"use strict";(function(e){var r=n(143),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(190)(e))},function(e,t,n){"use strict";var r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(45);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(108),o=n(107),i=n(9)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(2),o=n(217);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){"use strict";var r=function(){this.__data__=[],this.size=0},o=n(94);var i=function(e,t){for(var n=e.length;n--;)if(Object(o.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;var s=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)};var l=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]};var c=function(e){return i(this.__data__,e)>-1};var u=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=r,d.prototype.delete=s,d.prototype.get=l,d.prototype.has=c,d.prototype.set=u;t.a=d},function(e,t,n){"use strict";var r=n(38),o=n(25),i=Object(r.a)(o.a,"Map");t.a=i},,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CODES=t.detectLevel=t.levelProfile=t.findFirstValueBinding=t.create=t.constructTemplate=t.findPopularChoice=t.findBindingRelativeToParentBinding=t.matchPathBelowBinding=t.fuzzyMatch=t.match=void 0;var r,o,i,a,s,l=x(n(83)),c=x(n(84)),u=x(n(262)),d=x(n(263)),f=x(n(191)),p=x(n(141)),h=x(n(669)),m=x(n(193)),g=x(n(142)),b=x(n(192)),v=x(n(672)),y=x(n(51));function x(e){return e&&e.__esModule?e:{default:e}}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _=!1,k=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return r(i),o(i),i};t.match=k;var S=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return r(i),_=!0,r(i),_=!1,o(i),i};t.fuzzyMatch=S;var E=function(e,t,n,r){var o=e.findProperties(t),i=[],a={};if(null!=r){var s=function(e){null!=e&&(!function e(t){null!=t.getProperty()?a[t.getProperty()]=!0:t instanceof p.default&&t.getChildren().forEach(e)}(e),i.push(e))};r.forEach((function(e){var t=n.getItem(e);null!=t?t instanceof p.default&&null==t.getProperty()?t.getChildren().forEach(s):s(t):(t=n.getItemByProperty(e))?s(t):console.warn("Warning, when autodetecting a template: Required item '".concat(e,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return o.forEach((function(e){if(!a[e]){var t=n.getItemByProperty(e);null!=t&&i.push(t)}}),void 0),n.createTemplateFromChildren(i)};t.constructTemplate=E;var T,C,O,A,D,j,I=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},N=function(e,t){var n,r,o=t.getChildren()[1],i=e.getGraph();o instanceof p.default?(n=i.create(e.getChildrenRootUri(),"",null,!1),r=s(i,n.getSubject(),o)):n=o instanceof f.default?i.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):i.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new h.default({item:t,statement:n,constraints:r});return e.addChildBinding(a),o instanceof p.default&&o.getChildren().forEach((function(e){M(a.getObjectBinding(),e)})),a},M=function(e,t,n){return t instanceof d.default?function(e,t){if(!t.getProperty()){var n=new v.default({item:t,statement:null,matchingCode:B.OK});return e.addChildBinding(n),n}var r=e.getGraph(),o=t.getNodetype(),i={value:"",type:"literal"};"URI"===o?i.type="uri":"DATATYPE_LITERAL"===o&&(i.datatype=I(t));var a=r.create(e.getChildrenRootUri(),t.getProperty(),i,!1),s=new g.default({item:t,statement:a});e.addChildBinding(s);var l=t.getValue(),c=s.getCardinalityTracker();if(null!=l&&1===c.getCounter()){a.setValue(l,!0);var u=I(t),d=t.getLanguage();null!=u?a.setDatatype(u,!0):null!=d&&a.setLanguage(d,!0)}return s}(e,t):t instanceof u.default?N(e,t):t instanceof p.default?function(e,t,n){var r,o;if(void 0!==t.getProperty()){var i=e.getGraph();r=(t.getNodetype(),i.create(e.getChildrenRootUri(),t.getProperty(),null,!1)),o=s(i,r.getValue(),t)}var a=new m.default({item:t,statement:r,constraints:o});e.addChildBinding(a);var l=t._source["@id"];if(l){if(n[l])return a;n[l]=!0}return a}(e,t,n||{}):t instanceof f.default?function(e,t){var n=e.getGraph(),r=t.getNodetype(),o={type:"literal",value:""};"DATATYPE_LITERAL"===r?o.datatype=I(t):"RESOURCE"!==r&&"URI"!==r||(o.type="uri");var i=n.create(e.getChildrenRootUri(),t.getProperty(),o,!1),a=new b.default({item:t,statement:i});e.addChildBinding(a);var s=t.getValue(),l=a.getCardinalityTracker();return null!=s&&1===l.getCounter()&&a.setChoice(D(t,s,n),!0),a}(e,t):void 0};t.create=M,r=function(e){_&&e.getChildBindings().forEach((function(e){"group"===e.getItem().getType()&&r(e)})),e.getItem().getChildren().forEach((function(t){_?void 0!==t.getProperty()&&T(e,t):T(e,t)}))};T=function(e,t){t instanceof f.default?function(e,t){if(null!=t.getProperty()){var n=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)){var r=C(t,e),o=O(t,e),s=A(t,e);if(r&&o&&s||_){var l=D(t,e.getValue(),e.getGraph());if(void 0!==l){a(e);var c=r?B.OK:B.WRONG_NODETYPE;o?s?l.mismatch&&(c=B.WRONG_VALUE):c=B.WRONG_PATTERN:c=B.WRONG_DATATYPE,n.push(new b.default({item:t,statement:e,choice:l,matchingCode:c}))}}}})),n.length>0&&e.addChildBindings(n)}}(e,t):t instanceof u.default?function(e,t){var n,o,s,l,c=t.getPropertyItem(),u=t.getObjectItem(),d=e.getGraph(),m=[];d.find(e.getChildrenRootUri()).forEach((function(e){i(e)&&C(u,e)&&A(u,e)&&void 0!==(s=D(c,e.getPredicate(),e.getGraph()))&&(o=null,u instanceof p.default?void 0!==(n=j(d,e.getValue(),u))&&(a(e),o=new h.default({item:t,statement:e,constraints:n}),r(o.getObjectBinding())):u instanceof f.default?void 0!==(l=D(u,e.getValue(),e.getGraph()))&&(a(e),(o=new h.default({item:t,statement:e})).getObjectBinding().setChoice(l)):(a(e),o=new h.default({item:t,statement:e})),null!==o&&(o.getPredicateBinding().setChoice(s),m.push(o)))})),m.length>0&&e.addChildBindings(m)}(e,t):t instanceof p.default?function(e,t){var n,o,s,l,c=e.getGraph();void 0!==t.getProperty()?(n=c.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(o=[],n.forEach((function(e){if(i(e)){var n=A(t,e),u=C(t,e);if((n&&u||_)&&(void 0!==(s=j(c,e.getValue(),t))||_)){var d=u?B.OK:B.WRONG_NODETYPE;n?void 0===s&&(d=B.MISSING_CONSTRAINTS):d=B.WRONG_PATTERN,a(e),l=new m.default({item:t,statement:e,constraints:s,matchingCode:d}),o.push(l),d===B.OK&&r(l)}}})),e.addChildBindings(o)):(l=new m.default({item:t}),e.addChildBindings([l]),r(l))}(e,t):t instanceof d.default&&function(e,t){var n=[];null==t.getProperty()?n.push(new v.default({item:t,statement:null,matchingCode:B.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)&&A(t,e)){var r=C(t,e),o=O(t,e);if(r&&o||_){a(e);var s=r?B.OK:B.WRONG_NODETYPE;o||(s=B.WRONG_DATATYPE),n.push(new g.default({item:t,statement:e,matchingCode:s}))}}})),n.length>0&&e.addChildBindings(n)}(e,t)},C=function(e,t){var n=t.getType();switch(e.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===n;case"RESOURCE":return"uri"===n||"bnode"===n;case"URI":return"uri"===n;case"BLANK":return"bnode"===n}return!1},O=function(e,t){var n="DATATYPE_LITERAL"===e.getNodetype()&&e.getDatatype()||null;return null==n||(Array.isArray(n)?-1!==n.indexOf(t.getDatatype()):t.getDatatype()===n)},A=function(e,t){var n=e.getPattern(),r=y.default.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==n)try{return new RegExp("^".concat(n,"$")).test(r)}catch(e){return!0}return!0},j=function(e,t,n){var r,o=n.getConstraints(),i=[],a=function(n,o){if(1!==(r=e.find(t,n,{type:"uri",value:o})).length)return!1;i.push(r[0])};if("object"===w(o)&&null!==o){for(var s=Object.keys(o),l=function(e){var t=s[e],n=o[t];if(n instanceof Array){var r=!0;if(n.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,n))return{v:void 0}},c=0;c<s.length;c++){var u=l(c);if("object"===w(u))return u.v}return i}return[]},s=function(e,t,n){var r=[],o=n.getConstraints();return"object"===w(o)&&null!==o&&Object.keys(o).forEach((function(n){var i=o[n];Array.isArray(i)?r.push(e.create(t,n,{type:"uri",value:i[0]},!1)):r.push(e.create(t,n,{type:"uri",value:i},!1))})),r},D=function(e,t,n){var r,o;if(e.hasChoices()){for(o=e.getChoices(),r=0;r<o.length;r++)if(o[r].value===t)return o[r];if(!e.hasStyle("strictmatch")||_)return{value:t,label:{"":t},mismatch:!0}}else{var i=y.default.getLocalizedMap(n,t,e.getLabelProperties());null==i&&_&&(i={"":t,mismatch:!0});var a=n.findFirstValue(t,b.default.seeAlso);if(null!=i){var s={label:i,value:t};return a&&(s.seeAlso=a),s}if(null!=c.default.getChoice)return c.default.getChoice(e,t,a,n)}},a=function(e){e._dibbs=!0},i=function(e){return!0!==e._dibbs},o=function(e){var t,n,r,i=e.getItemGroupedChildBindings()||[];for(t=0;t<i.length;t++)for(r=i[t],n=0;n<r.length;n++){var a=r[n];a._statement&&delete a._statement._dibbs,(a instanceof m.default||a instanceof h.default)&&o(a)}};var P=function e(t,n){if(t instanceof g.default)return t;for(var r=t.getItemGroupedChildBindings(),o=l.default.locale(),i=0;i<r.length;i++){var a=r[i],s=t.getItem().getChildren()[i];if(0!==a.length){if(!(s instanceof d.default))return e(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var c={firstValue:a[0]},u=0;u<a.length;u++){var f=a[u].getLanguage();null==f?c.emptyLanguageValue=a[u]:f===o?c.perfectLocaleLanguageValue=a[u]:f.substring(0,1)===o.substring(0,1)?c.localeLanguageValue=a[u]:-1!==f.indexOf("en")?c.defaultLanguageValue=a[u]:c.anyLanguageValue=a[u]}return c.perfectLocaleLanguageValue||c.localeLanguageValue||c.defaultLanguageValue||c.anyLanguageValue||c.firstValue}return a[0]}if(n){var p=M(t,s,{});return p instanceof g.default?(p.setLanguage(o),p):e(p,!0)}}};t.findFirstValueBinding=P;var L=function e(t,n){for(var r="/"===n[0]?n.slice(1):n,o=t.getItemGroupedChildBindings(),i=r[0],a=0;a<o.length;a++)for(var s=o[a],l=void 0,c=0;c<s.length;c++){var u=s[c],d=u.getItem();if(d instanceof f.default&&void 0===d.getProperty()&&i===d.getId()&&2===r.length&&r[1]===u.getValue())return u;if(u.isValid()){if("propertygroup"===d.getType())d=(u=u.getObjectBinding()).getItem();else if(void 0===d.getProperty()&&(l=e(u,r)))return l;if("*"===i||i===u.getPredicate())if("group"===d.getType()){if(l=e(u,r.slice(1)))return l}else if(1===r.length||"*"===r[1]||r[1]===u.getValue())return u}}};t.matchPathBelowBinding=L;var R=function(e,t){var n=t[0],r=e;if("/"===n){for(;r.getParent();)r=r.getParent();return r}if(".."===n){for(var o=0;o<t.length;o++){if(".."!==t[o]||!r.getParent())return r;r=r.getParent()}return r}return e};t.findBindingRelativeToParentBinding=R;var F=function(e,t){var n=e.getId(),r={},o={};e.getChoices().forEach((function(e){r[e.value]=0,o[e.value]=e}));t.getChildBindings().forEach((function(e){var t=e.getItem().getDeps();if(t&&(t[0]===n||"/"===t[0]&&t[1]===n)){var o="/"===t[0]?t[2]:t[1],i=r[o];void 0!==i&&(r[o]=i+1)}}));var i,a=0;return Object.keys(r).forEach((function(e){(!i||r[e]>a)&&(i=e,a=r[e])})),o[i]};t.findPopularChoice=F;var U=function(e){var t=function e(t,n,r){var o=n.getCardinality();return r&&"group"===n.getType()||(null!=o?o.min>0?t.mandatory+=1:o.pref>0?t.recommended+=1:t.optional+=1:t.optional+=1),"group"===n.getType()&&n.getChildren().forEach((function(n){return e(t,n)})),t}({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t};t.levelProfile=U;var V=function(e){if(e.mandatory>0){if(0===e.recommended&&0===e.optional)return"mandatory";if(0===e.optional)return"mixed_mandatory_recommended";if(0===e.recommended)return"mixed_mandatory_optional"}else{if(e.recommended>0)return 0===e.optional?"recommended":"mixed_recommended_optional";if(0===e.recommended&&e.recommended>0&&0===e.optional)return"optional"}return"mixed_all"};t.detectLevel=V;var B={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"};t.CODES=B;var z={detectLevel:V,levelProfile:U,findFirstValueBinding:P,create:M,constructTemplate:E,findPopularChoice:F,match:k,fuzzyMatch:S,matchPathBelowBinding:L,findBindingRelativeToParentBinding:R,CODES:B};t.default=z},function(e,t,n){var r=n(209),o=n(162).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(102),o=n(11),i=n(19),a=n(15).f,s=n(101),l=n(106),c=s("meta"),u=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,c)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[c].objectID},getWeakData:function(e,t){if(!i(e,c)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[c].weakData},onFreeze:function(e){return l&&p.REQUIRED&&d(e)&&!i(e,c)&&f(e),e}};r[c]=!0},function(e,t,n){"use strict";var r=n(46),o=n(15),i=n(59);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var r=n(17),o=n(15),i=n(9),a=n(10),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(6),o=n(114);e.exports=r?o:function(e){return Set.prototype.values.call(e)}},function(e,t,n){"use strict";var r=n(47),o=n(5),i=n(2),a=n(36),s=n(20),l=n(61),c=n(9),u=n(21),d=n(17)("Promise"),f=u.set,p=u.get,h=c("toStringTag"),m=function(e){var t=p(this).iterator,n=t.return;return void 0===n?d.resolve({done:!0,value:e}):i(n.call(t,e))},g=function(e){var t=p(this).iterator,n=t.throw;return void 0===n?d.reject(e):n.call(t,e)};e.exports=function(e,t){var n=function(e){e.next=o(e.iterator.next),e.done=!1,f(this,e)};return n.prototype=l(a(r.AsyncIterator.prototype),{next:function(t){var n=p(this);if(n.done)return d.resolve({done:!0,value:void 0});try{return d.resolve(i(e.call(n,t,d)))}catch(e){return d.reject(e)}},return:m,throw:g}),t||s(n.prototype,h,"Generator"),n}},function(e,t,n){"use strict";var r=n(47),o=n(5),i=n(2),a=n(36),s=n(20),l=n(61),c=n(9),u=n(21),d=u.set,f=u.get,p=c("toStringTag"),h=function(e){var t=f(this).iterator,n=t.return;return void 0===n?{done:!0,value:e}:i(n.call(t,e))},m=function(e){var t=f(this).iterator,n=t.throw;if(void 0===n)throw e;return n.call(t,e)};e.exports=function(e,t){var n=function(e){e.next=o(e.iterator.next),e.done=!1,d(this,e)};return n.prototype=l(a(r.Iterator.prototype),{next:function(){var t=f(this),n=t.done?void 0:e.apply(t,arguments);return{done:t.done,value:n}},return:h,throw:m}),t||s(n.prototype,p,"Generator"),n}},function(e,t,n){"use strict";(function(e){var r=n(25),o=n(265),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||o.a;t.a=l}).call(this,n(190)(e))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return kt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=p(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function m(e){var t=f(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var g=r.momentProperties=[];function b(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)a(o=t[r=g[n]])||(e[r]=o);return e}var v=!1;function y(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function x(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&_(e[r])!==_(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,C={};function O(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(S(t),C[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function N(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function M(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function P(e){var t,n,r={};for(n in e)u(e,n)&&(t=M(n))&&(r[t]=e[n]);return r}var L={};function R(e,t){L[e]=t}function F(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function H(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(z[e]=o),t&&(z[t[0]]=function(){return F(o.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=Y(t,e.localeData()),B[t]=B[t]||function(e){var t,n,r,o=e.match(U);for(t=0,n=o.length;t<n;t++)z[o[t]]?o[t]=z[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=A(o[r])?o[r].call(t,e):o[r];return i}}(t),B[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;n>=0&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var q=/\d/,$=/\d\d/,G=/\d{3}/,X=/\d{4}/,K=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ce(e,t,n){le[e]=A(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(function(e){return de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}(e))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function he(e,t){pe(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function me(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}function ge(e){return be(e)?366:365}function be(e){return e%4==0&&e%100!=0||e%400==0}H("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),N("year","y"),R("year",1),ce("Y",oe),ce("YY",Q,$),ce("YYYY",te,X),ce("YYYYY",ne,K),ce("YYYYYY",ne,K),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):_(e)})),pe("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var ve,ye=xe("FullYear",!0);function xe(e,t){return function(n){return null!=n?(_e(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function _e(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?be(e)?29:28:31-r%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),R("month",8),ce("M",Q),ce("MM",Q,$),ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),ce("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=_(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:p(n).invalidMonth=e}));var Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ce(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))||-1!==(o=ve.call(this._longMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))||-1!==(o=ve.call(this._shortMonthsParse,a))?o:null}function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ae(e){return null!=e?(Oe(this,e),r.updateOffset(this,!0),this):we(this,"Month")}var De=se,je=se;function Ie(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ne(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Me(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Pe(e,t,n){var r=7+t-n;return-(7+Me(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Pe(e,r,o);return s<=0?a=ge(i=e-1)+s:s>ge(e)?(i=e+1,a=s-ge(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Re(e,t,n){var r,o,i=Pe(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Fe(o=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Fe(e,t,n){var r=Pe(e,t,n),o=Pe(e+1,t,n);return(ge(e)-r+o)/7}function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),R("week",5),R("isoWeek",5),ce("w",Q),ce("ww",Q,$),ce("W",Q),ce("WW",Q,$),he(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=_(e)})),H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),ce("d",Q),ce("e",Q),ce("E",Q),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),he(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:p(n).invalidWeekday=e})),he(["d","e","E"],(function(e,t,n,r){t[r]=_(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function He(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null}var We=se,Ye=se,qe=se;function $e(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=de(s[t]),l[t]=de(l[t]),c[t]=de(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Xe(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Ge),H("k",["kk",2],0,(function(){return this.hours()||24})),H("hmm",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),N("hour","h"),R("hour",13),ce("a",Ke),ce("A",Ke),ce("H",Q),ce("h",Q),ce("k",Q),ce("HH",Q,$),ce("hh",Q,$),ce("kk",Q,$),ce("hmm",Z),ce("hmmss",J),ce("Hmm",Z),ce("Hmmss",J),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=_(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=_(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r,2)),t[5]=_(e.substr(o)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r,2)),t[5]=_(e.substr(o))}));var Qe,Ze=xe("Hours",!0),Je={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Qe._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(e){}return et[t]}function ot(e,t){var n;return e&&((n=a(t)?at(e):it(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function it(e,t){if(null!==t){var n,r=Je;if(t.abbr=e,null!=et[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new j(D(r,t)),tt[e]&&tt[e].forEach((function(e){it(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=nt(e[i]).split("-")).length,n=(n=nt(e[i+1]))?n.split("-"):null;t>0;){if(r=rt(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(o,n,!0)>=t-1)break;t--}i++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=lt(t.GG,e._a[0],Re(St(),1,4).year),r=lt(t.W,1),((o=lt(t.E,1))<1||o>7)&&(l=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var c=Re(St(),i,a);n=lt(t.gg,e._a[0],c.year),r=lt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i}r<1||r>Fe(n,i,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Le(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=lt(e._a[0],o[0]),(e._dayOfYear>ge(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Me(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Me:Ne).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((\-?\d+)/i;function gt(e){var t,n,r,o,i,a,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(p(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){o=pt[t][0],r=!1!==pt[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[3])){i=(l[2]||" ")+ht[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!ft.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),wt(e)}else e._isValid=!1}var bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,r,o,i,a,s,l=bt.exec(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(l){var c=(t=l[4],n=l[3],r=l[2],o=l[5],i=l[6],a=l[7],s=[vt(t),Te.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return yt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(l[8],l[9],l[10]),e._d=Me.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function wt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,o,i,a,s=""+e._i,l=s.length,c=0;for(o=Y(e._f,e._locale).match(U)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),z[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),me(i,n,e)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ct(e),st(e)}else xt(e);else gt(e)}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new y(st(t)):(l(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],wt(t),h(t)&&(i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?wt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(gt(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),ct(e)):i(t)?function(e){if(!e._d){var t=P(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ct(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),h(e)||(e._d=null),e))}function kt(e,t,n,r,a){var s,l={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=r,(s=new y(st(_t(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function St(e,t,n,r){return kt(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Et=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),Tt=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function Ct(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var t=P(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ve.call(Ot,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Ot.length;++r)if(e[Ot[r]]){if(n)return!1;parseFloat(e[Ot[r]])!==_(e[Ot[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Dt(e){return e instanceof At}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}It("Z",":"),It("ZZ",""),ce("Z",ae),ce("ZZ",ae),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Mt(ae,e)}));var Nt=/([\+\-]|\d\d)/gi;function Mt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Nt)||["-",0,0],o=60*r[1]+_(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Pt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(x(e)||l(e)?e.valueOf():St(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):St(e).local()}function Lt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Ft=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,o,i,a,l,c=e,d=null;return Dt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(c={},t?c[t]=e:c.milliseconds=e):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:_(d[2])*n,h:_(d[3])*n,m:_(d[4])*n,s:_(d[5])*n,ms:_(jt(1e3*d[6]))*n}):(d=Ut.exec(e))?(n="-"===d[1]?-1:1,c={y:Bt(d[2],n),M:Bt(d[3],n),w:Bt(d[4],n),d:Bt(d[5],n),h:Bt(d[6],n),m:Bt(d[7],n),s:Bt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(i=St(c.from),a=St(c.to),o=i.isValid()&&a.isValid()?(a=Pt(a,i),i.isBefore(a)?l=zt(i,a):((l=zt(a,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=o.milliseconds,c.M=o.months),r=new At(c),Dt(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ht(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Wt(this,Vt(n="string"==typeof n?+n:n,r),e),this}}function Wt(e,t,n,o){var i=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(o=null==o||o,s&&Oe(e,we(e,"Month")+s*n),a&&_e(e,"Date",we(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Vt.fn=At.prototype,Vt.invalid=function(){return Vt(NaN)};var Yt=Ht(1,"add"),qt=Ht(-1,"subtract");function $t(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Gt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Kt(){return this._locale}function Qt(e,t){return(e%t+t)%t}function Zt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Jt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){H(0,[e,e.length],0,t)}function tn(e,t,n,r,o){var i;return null==e?Re(this,r,o).year:(t>(i=Fe(e,r,o))&&(t=i),nn.call(this,e,t,n,r,o))}function nn(e,t,n,r,o){var i=Le(e,t,n,r,o),a=Me(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",Q,$),ce("gg",Q,$),ce("GGGG",te,X),ce("gggg",te,X),ce("GGGGG",ne,K),ce("ggggg",ne,K),he(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=_(e)})),he(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),N("quarter","Q"),R("quarter",7),ce("Q",q),pe("Q",(function(e,t){t[1]=3*(_(e)-1)})),H("D",["DD",2],"Do","date"),N("date","D"),R("date",9),ce("D",Q),ce("DD",Q,$),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=_(e.match(Q)[0])}));var rn=xe("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),R("dayOfYear",4),ce("DDD",ee),ce("DDDD",G),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_(e)})),H("m",["mm",2],0,"minute"),N("minute","m"),R("minute",14),ce("m",Q),ce("mm",Q,$),pe(["m","mm"],4);var on=xe("Minutes",!1);H("s",["ss",2],0,"second"),N("second","s"),R("second",15),ce("s",Q),ce("ss",Q,$),pe(["s","ss"],5);var an,sn=xe("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),R("millisecond",16),ce("S",ee,q),ce("SS",ee,$),ce("SSS",ee,G),an="SSSS";an.length<=9;an+="S")ce(an,re);function ln(e,t){t[6]=_(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")pe(an,ln);var cn=xe("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Yt,un.calendar=function(e,t){var n=e||St(),o=Pt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(A(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=M(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)},un.endOf=function(e){var t;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Zt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Qt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Qt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||St(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||St(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return A(this[e=M(e)])?this[e]():this},un.invalidAt=function(){return p(this).overflow},un.isAfter=function(e,t){var n=x(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=x(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,r){var o=x(e)?e:St(e),i=x(t)?t:St(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},un.isSame=function(e,t){var n,r=x(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return h(this)},un.lang=Xt,un.locale=Gt,un.localeData=Kt,un.max=Tt,un.min=Et,un.parsingFlags=function(){return d({},p(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=P(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(A(this[e=M(e)]))return this[e](t);return this},un.startOf=function(e){var t;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Zt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Qt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Qt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},un.subtract=qt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return be(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Ae,un.daysInMonth=function(){return ke(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Re(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return Fe(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Ze,un.minute=un.minutes=on,un.second=un.seconds=sn,un.millisecond=un.milliseconds=cn,un.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Mt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Lt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Wt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Lt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Lt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Mt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Rt,un.isUTC=Rt,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=E("dates accessor is deprecated. Use date instead.",rn),un.months=E("months accessor is deprecated. Use month instead",Ae),un.years=E("years accessor is deprecated. Use year instead",ye),un.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=_t(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=j.prototype;function pn(e,t,n,r){var o=at(),i=f().set(r,t);return o[n](i,e)}function hn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=pn(e,r,n,"month");return o}function mn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=at(),a=e?i._week.dow:0;if(null!=n)return pn(t,(n+a)%7,r,"day");var l=[];for(o=0;o<7;o++)l[o]=pn(t,(o+a)%7,r,"day");return l}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=dn,fn.postformat=dn,fn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return A(o)?o(e,t,n,r):o.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)A(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Ce.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Re(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return He.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",at);var gn=Math.abs;function bn(e,t,n,r){var o=Vt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var _n=wn("ms"),kn=wn("s"),Sn=wn("m"),En=wn("h"),Tn=wn("d"),Cn=wn("w"),On=wn("M"),An=wn("Q"),Dn=wn("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var In=jn("milliseconds"),Nn=jn("seconds"),Mn=jn("minutes"),Pn=jn("hours"),Ln=jn("days"),Rn=jn("months"),Fn=jn("years"),Un=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,M:11};function Bn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),o=zn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var i=w(o/12),a=o%=12,s=r,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=Hn(this._months)!==Hn(d)?"-":"",h=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(i?p+i+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var Yn=At.prototype;return Yn.isValid=function(){return this._isValid},Yn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Yn.add=function(e,t){return bn(this,e,t,1)},Yn.subtract=function(e,t){return bn(this,e,t,-1)},Yn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=M(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Yn.asMilliseconds=_n,Yn.asSeconds=kn,Yn.asMinutes=Sn,Yn.asHours=En,Yn.asDays=Tn,Yn.asWeeks=Cn,Yn.asMonths=On,Yn.asQuarters=An,Yn.asYears=Dn,Yn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},Yn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*vn(xn(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=w(i/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,a+=w(n/24),o=w(yn(a)),s+=o,a-=vn(xn(o)),r=w(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},Yn.clone=function(){return Vt(this)},Yn.get=function(e){return e=M(e),this.isValid()?this[e+"s"]():NaN},Yn.milliseconds=In,Yn.seconds=Nn,Yn.minutes=Mn,Yn.hours=Pn,Yn.days=Ln,Yn.weeks=function(){return w(this.days()/7)},Yn.months=Rn,Yn.years=Fn,Yn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Vt(e).abs(),o=Un(r.as("s")),i=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),l=Un(r.as("M")),c=Un(r.as("y")),u=o<=Vn.ss&&["s",o]||o<Vn.s&&["ss",o]||i<=1&&["m"]||i<Vn.m&&["mm",i]||a<=1&&["h"]||a<Vn.h&&["hh",a]||s<=1&&["d"]||s<Vn.d&&["dd",s]||l<=1&&["M"]||l<Vn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,Bn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Yn.toISOString=Wn,Yn.toString=Wn,Yn.toJSON=Wn,Yn.locale=Gt,Yn.localeData=Kt,Yn.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Yn.lang=Xt,H("X",0,0,"unix"),H("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(_(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return hn(e,t,"months")},r.isDate=l,r.locale=ot,r.invalid=m,r.duration=Vt,r.isMoment=x,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Dt,r.monthsShort=function(e,t){return hn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=it,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Je;null!=(r=rt(e))&&(o=r._config),t=D(o,t),(n=new j(t)).parentLocale=et[e],et[e]=n,ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return T(et)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=M,r.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(666)(e))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(51))&&r.__esModule?r:{default:r};var i=function(e,t,n,r){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=o.default.getLocalizedMap(r,t,e.getURIValueLabelProperties());if(!i){var a=t.lastIndexOf("#"),s=t.lastIndexOf("/");i=a>0||s>0?{"":decodeURIComponent(t.substring(1+(a>s?a:s)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}},a={hasDnDSupport:function(e){return!1},addDnD:function(e,t,n){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(e,t){return!1},openChoiceSelector:function(e,t){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),t({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(e,t,n,r){return i(e,t,0,r)},getFallbackChoice:i,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(e,t){for(var n=t.getChildrenRootUri(),r=n.lastIndexOf("#"),o=-1===r?"".concat(n,"#"):n.substring(0,r+1),i=t.getGraph()._graph;;){var a=o+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==i[a])return a}}};t.default=a},,function(e,t,n){var r=n(209),o=n(162);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(172).IteratorPrototype,o=n(36),i=n(59),a=n(52),s=n(107),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},function(e,t,n){var r=n(40),o=n(28),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(2);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(28),o="["+n(132)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"converters",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Statement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return l.default}}),n(499);var r=c(n(92)),o=c(n(656)),i=c(n(256)),a=c(n(258)),s=c(n(259)),l=c(n(665));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var r=globalThis.__rdfjson_namespaces,o=0,i=function(e,t,n){return r[e]||(r[e]=t),{abbrev:e,ns:t,localname:n,full:t+n,pretty:"".concat(e,":").concat(n)}},a=function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));if(t)return i(t,r[t],e.substring(r[t].length));var n=e.lastIndexOf("/"),a=e.lastIndexOf("#");return a>n&&(n=a),i("ns".concat(o+=1),e.substring(0,n+1),e.substring(n+1))},s={nsify:a,shortenKnown:function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));return t?i(t,r[t],e.substring(r[t].length)).pretty:e},shorten:function(e){return a(e).pretty},expand:function(e){var t=e.split(":");return 2===t.length&&r.hasOwnProperty(t[0])?r[t[0]]+t[1]:e},add:function(e,t){"string"==typeof e?r[e]=t:"object"===n(e)&&Object.keys(e).forEach((function(t){r[t]=e[t]}))},registry:function(){return r}};t.default=s},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},function(e,t,n){"use strict";var r=n(152),o=n(93),i=n(145),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var l=function(e){if(!Object(o.a)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t},c=n(148);t.a=function(e){return Object(c.a)(e)?Object(r.a)(e):l(e)}},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i},o=n(146),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o.a;t.a=s},function(e,t,n){"use strict";var r=n(25).a.Uint8Array;t.a=r},function(e,t,n){"use strict";var r=n(71);var o=function(){this.__data__=new r.a,this.size=0};var i=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var a=function(e){return this.__data__.get(e)};var s=function(e){return this.__data__.has(e)},l=n(72),c=n(151);var u=function(e,t){var n=this.__data__;if(n instanceof r.a){var o=n.__data__;if(!l.a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new c.a(o)}return n.set(e,t),this.size=n.size,this};function d(e){var t=this.__data__=new r.a(e);this.size=t.size}d.prototype.clear=o,d.prototype.delete=i,d.prototype.get=a,d.prototype.has=s,d.prototype.set=u;t.a=d},function(e,t,n){var r=n(4),o=n(45),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(39),o=n(14),i=n(67),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(4),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(11),o=n(68),i=n(9)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(4);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t){e.exports={}},function(e,t,n){var r=n(167),o=n(45),i=n(9)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(2);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(4),o=n(9),i=n(169),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(11),o=n(45),i=n(9)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(40);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){var r=n(2),o=n(69);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(5),o=n(2),i=n(17)("Promise"),a=[].push,s=function(e){var t=0==e,n=1==e,s=2==e,l=3==e;return function(e,c){o(e);var u=r(e.next),d=t?[]:void 0;return t||r(c),new i((function(r,f){var p=function(){try{i.resolve(o(u.call(e))).then((function(e){try{if(o(e).done)r(t?d:!l&&(s||void 0));else{var u=e.value;t?(a.call(d,u),p()):i.resolve(c(u)).then((function(e){n?p():s?e?p():r(!1):e?r(l||u):p()}),f)}}catch(e){f(e)}}),f)}catch(e){f(e)}};p()}))}};e.exports={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)}},function(e,t,n){"use strict";var r=n(150),o=n(97),i=n(96);t.a=function(e){return Object(r.a)(e,i.a,o.a)}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},,function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(121),o=n(101),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(6),o=n(160);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=n(6),o=n(7),i=n(4);e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},function(e,t,n){var r=n(9)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(17);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(5),o=n(18),i=n(100),a=n(14),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in u&&(l=n(l,u[f],f,c));return l}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(39),o=n(53),i=n(107),a=n(21),s=n(171),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";n(175);var r=n(32),o=n(4),i=n(9),a=n(128),s=n(20),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!c||!u||f)||"split"===e&&!p){var b=/./[h],v=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:b.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=v[0],x=v[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},function(e,t,n){"use strict";var r,o,i=n(89),a=n(129),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||d)&&(c=function(e){var t,n,r,o,a=this,c=d&&a.sticky,p=i.call(a),h=a.source,m=0,g=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",p)),f&&(n=new RegExp("^"+h+"$(?!\\s)",p)),u&&(t=a.lastIndex),r=s.call(c?n:a,g),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){"use strict";var r=n(4);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var r=n(88).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(45),o=n(128);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var r=n(11),o=n(70);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(104),a=n(32),s=n(76),l=n(8),c=n(48),u=n(11),d=n(4),f=n(123),p=n(52),h=n(133);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),b=m?"set":"add",v=o[e],y=v&&v.prototype,x=v,w={},_=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof v||!(g||y.forEach&&!d((function(){(new v).entries().next()})))))x=n.getConstructor(t,e,m,b),s.REQUIRED=!0;else if(i(e,!0)){var k=new x,S=k[b](g?{}:-0,1)!=k,E=d((function(){k.has(1)})),T=f((function(e){new v(e)})),C=!g&&d((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));T||((x=t((function(t,n){c(t,x,e);var r=h(new v,t,x);return null!=n&&l(n,r[b],r,m),r}))).prototype=y,y.constructor=x),(E||C)&&(_("delete"),_("has"),m&&_("get")),(C||S)&&_(b),g&&y.clear&&delete y.clear}return w[e]=x,r({global:!0,forced:x!=v},w),p(x,e),g||n.setStrong(x,e,m),x}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(184),a=n(20),s=n(61),l=n(4),c=n(48),u=n(40),d=n(14),f=n(243),p=n(439),h=n(33),m=n(70),g=n(75).f,b=n(15).f,v=n(170),y=n(52),x=n(21),w=x.get,_=x.set,k=r.ArrayBuffer,S=k,E=r.DataView,T=E&&E.prototype,C=Object.prototype,O=r.RangeError,A=p.pack,D=p.unpack,j=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},N=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return A(e,23,4)},L=function(e){return A(e,52,8)},R=function(e,t){b(e.prototype,t,{get:function(){return w(this)[t]}})},F=function(e,t,n,r){var o=f(n),i=w(e);if(o+t>i.byteLength)throw O("Wrong index");var a=w(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},U=function(e,t,n,r,o,i){var a=f(n),s=w(e);if(a+t>s.byteLength)throw O("Wrong index");for(var l=w(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){if(!l((function(){k(1)}))||!l((function(){new k(-1)}))||l((function(){return new k,new k(1.5),new k(NaN),"ArrayBuffer"!=k.name}))){for(var V,B=(S=function(e){return c(this,S),new k(f(e))}).prototype=k.prototype,z=g(k),H=0;z.length>H;)(V=z[H++])in S||a(S,V,k[V]);B.constructor=S}m&&h(T)!==C&&m(T,C);var W=new E(new S(2)),Y=T.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(T,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){c(this,S,"ArrayBuffer");var t=f(e);_(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},E=function(e,t,n){c(this,E,"DataView"),c(e,S,"DataView");var r=w(e).byteLength,i=u(t);if(i<0||i>r)throw O("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw O("Wrong length");_(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(R(S,"byteLength"),R(E,"buffer"),R(E,"byteLength"),R(E,"byteOffset")),s(E.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return D(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return D(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,j,t)},setUint8:function(e,t){U(this,1,e,j,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,L,t,arguments.length>2?arguments[2]:void 0)}});y(S,"ArrayBuffer"),y(E,"DataView"),e.exports={ArrayBuffer:S,DataView:E}},function(e,t,n){"use strict";var r=n(2),o=n(5);e.exports=function(){for(var e,t=r(this),n=o(t.delete),i=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),i=i&&e;return!!i}},function(e,t,n){"use strict";var r=n(5),o=n(23),i=n(8);e.exports=function(e){var t,n,a,s,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),(t=void 0!==c)&&r(c),null==e?new this:(n=[],t?(a=0,s=o(c,l>2?arguments[2]:void 0,2),i(e,(function(e){n.push(s(e,a++))}))):i(e,n.push,n),new this(n))}},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(189))&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=s(this,c(t).call(this,e)))._children=e.children,null!=n._source.content&&(n._source.items=n._source.content,delete n._source.content),n._forceChildrenClones=!1,n._parent=null,n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getChildren",value:function(e){var t,n=e&&this.isExtention(),r=n?this._ochildren:this._children;return null==r&&(r=this._itemStore.getChildren(this,n),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=r).forEach((function(e){e.__label=(e.getLabel()||"").toLowerCase()})),t.sort((function(e,t){return null!=e._source.priority?null!=t._source.priority?e._source.priority>t._source.priority?-1:e._source.priority<t._source.priority?1:0:e._source.priority>0?-1:1:null!=t._source.priority?t._source.priority>0?1:-1:e.__label>t.__label?1:e.__label<t.__label?-1:0}))),this["_".concat(n?"o":"","children")]=r),r}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){l(c(t.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return l(c(t.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&a(n.prototype,r),o&&a(n,o),t}(o.default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(91),o=i(n(264));i(n(51));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,u(t).call(this,e)))._validObject=!0,n._validPredicate=!0,n._excludeFromTreeValidityCheck=!1,n._statement&&(n._validPredicate=n._isValidPredicateValue(n._statement.getPredicate(),!0),n._validObject=n._isValidObjectValue(n._statement.getValue())),n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(o=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var n="string"==typeof e?e.trim():e,r=this._validObject;this._isValidObjectValue(n)?(this._statement.setValue(n,t),this._validObject=!0,!0===r||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==n&&null!==n||this._statement.setValue("",t),this._validObject=!1,!1!==r&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(e){this._statement.setSubject(e)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(e,t){this._statement.setLanguage(e,t),this.updateAssertions()}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(r.namespaces.expand(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),c(u(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var e=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(e,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&s(n.prototype,o),i&&s(n,i),t}(o.default);t.default=f},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(194))},function(e,t,n){"use strict";var r=n(50),o=n(55);t.a=function(e){if(!Object(o.a)(e))return!1;var t=Object(r.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(144),o=n(149);t.a=function(e){return null!=e&&Object(o.a)(e.length)&&!Object(r.a)(e)}},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var r=n(147),o=n(49);t.a=function(e,t,n){var i=t(e);return Object(o.a)(e)?i:Object(r.a)(i,n(e))}},function(e,t,n){"use strict";var r=n(38),o=Object(r.a)(Object,"create");var i=function(){this.__data__=o?o(null):{},this.size=0};var a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s=Object.prototype.hasOwnProperty;var l=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},c=Object.prototype.hasOwnProperty;var u=function(e){var t=this.__data__;return o?void 0!==t[e]:c.call(t,e)};var d=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=i,f.prototype.delete=a,f.prototype.get=l,f.prototype.has=u,f.prototype.set=d;var p=f,h=n(71),m=n(72);var g=function(){this.size=0,this.__data__={hash:new p,map:new(m.a||h.a),string:new p}};var b=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var v=function(e,t){var n=e.__data__;return b(t)?n["string"==typeof t?"string":"hash"]:n.map};var y=function(e){var t=v(this,e).delete(e);return this.size-=t?1:0,t};var x=function(e){return v(this,e).get(e)};var w=function(e){return v(this,e).has(e)};var _=function(e,t){var n=v(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function k(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}k.prototype.clear=g,k.prototype.delete=y,k.prototype.get=x,k.prototype.has=w,k.prototype.set=_;t.a=k},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},o=n(50),i=n(34);var a=function(e){return Object(i.a)(e)&&"[object Arguments]"==Object(o.a)(e)},s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(e){return Object(i.a)(e)&&l.call(e,"callee")&&!c.call(e,"callee")},d=n(49),f=n(82),p=/^(?:0|[1-9]\d*)$/;var h=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&p.test(e))&&e>-1&&e%1==0&&e<t},m=n(153),g=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(d.a)(e),o=!n&&u(e),i=!n&&!o&&Object(f.a)(e),a=!n&&!o&&!i&&Object(m.a)(e),s=n||o||i||a,l=s?r(e.length,String):[],c=l.length;for(var p in e)!t&&!g.call(e,p)||s&&("length"==p||i&&("offset"==p||"parent"==p)||a&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||h(p,c))||l.push(p);return l}},function(e,t,n){"use strict";var r=n(50),o=n(149),i=n(34),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return Object(i.a)(e)&&Object(o.a)(e.length)&&!!a[Object(r.a)(e)]},l=n(95),c=n(65),u=c.a&&c.a.isTypedArray,d=u?Object(l.a)(u):s;t.a=d},,,,function(e,t,n){var r=n(7),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(7),o=n(20);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(160),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(7),o=n(158),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(17),o=n(75),i=n(163),a=n(2);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(10),o=n(15),i=n(2),a=n(86);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(9),o=n(107),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r={};r[n(9)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r,o,i=n(7),a=n(124),s=i.process,l=s&&s.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(18),o=n(67),i=n(14);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(0),o=n(87),i=n(33),a=n(70),s=n(52),l=n(20),c=n(32),u=n(9),d=n(6),f=n(107),p=n(172),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),b=function(){return this};e.exports=function(e,t,n,u,p,v,y){o(n,t,u);var x,w,_,k=function(e){if(e===p&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",E=!1,T=e.prototype,C=T[g]||T["@@iterator"]||p&&T[p],O=!m&&C||k(p),A="Array"==t&&T.entries||C;if(A&&(x=i(A.call(new e)),h!==Object.prototype&&x.next&&(d||i(x)===h||(a?a(x,h):"function"!=typeof x[g]&&l(x,g,b)),s(x,S,!0,!0),d&&(f[S]=b))),"values"==p&&C&&"values"!==C.name&&(E=!0,O=function(){return C.call(this)}),d&&!y||T[g]===O||l(T,g,O),f[t]=O,p)if(w={values:k("values"),keys:v?O:k("keys"),entries:k("entries")},y)for(_ in w)(m||E||!(_ in T))&&c(T,_,w[_]);else r({target:t,proto:!0,forced:m||E},w);return w}},function(e,t,n){"use strict";var r,o,i,a=n(33),s=n(20),l=n(19),c=n(9),u=n(6),d=c("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),u||l(r,d)||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){var r=n(111);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(9)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(0),o=n(128);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(14),o=n(177),i=n(28),a=Math.ceil,s=function(e){return function(t,n,s){var l,c,u=String(i(t)),d=u.length,f=void 0===s?" ":String(s),p=r(n);return p<=d||""==f?u:(l=p-d,(c=o.call(f,a(l/f.length))).length>l&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(40),o=n(28);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(4),o=n(132);e.exports=function(e){return r((function(){return!!o[e]()||"​…᠎"!="​…᠎"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(7),o=n(90).trim,i=n(132),a=r.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(7),s=n(4),l=n(45),c=n(23),u=n(211),d=n(157),f=n(235),p=a.location,h=a.setImmediate,m=a.clearImmediate,g=a.process,b=a.MessageChannel,v=a.Dispatch,y=0,x={},w=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},_=function(e){return function(){w(e)}},k=function(e){w(e.data)},S=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return x[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},m=function(e){delete x[e]},"process"==l(g)?r=function(e){g.nextTick(_(e))}:v&&v.now?r=function(e){v.now(_(e))}:b&&!f?(i=(o=new b).port2,o.port1.onmessage=k,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(S)?r="onreadystatechange"in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(_(e),0)}:(r=S,a.addEventListener("message",k,!1))),e.exports={set:h,clear:m}},function(e,t,n){"use strict";var r=n(136),o=n(240);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r,o=n(7),i=n(61),a=n(76),s=n(136),l=n(242),c=n(11),u=n(21).enforce,d=n(207),f=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(d&&f){r=l.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=m.prototype,b=g.delete,v=g.has,y=g.get,x=g.set;i(g,{delete:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),b.call(this,e)||t.frozen.delete(e)}return b.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.has(e)}return v.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)?y.call(this,e):t.frozen.get(e)}return y.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=u(this);n.frozen||(n.frozen=new r),v.call(this,e)?x.call(this,e,t):n.frozen.set(e,t)}else x.call(this,e,t);return this}})}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(7),o=n(4),i=n(123),a=n(16).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},function(e,t,n){"use strict";n(126);var r=n(0),o=n(17),i=n(249),a=n(32),s=n(61),l=n(52),c=n(87),u=n(21),d=n(48),f=n(19),p=n(23),h=n(108),m=n(2),g=n(11),b=n(36),v=n(59),y=n(114),x=n(69),w=n(9),_=o("fetch"),k=o("Headers"),S=w("iterator"),E=u.set,T=u.getterFor("URLSearchParams"),C=u.getterFor("URLSearchParamsIterator"),O=/\+/g,A=Array(4),D=function(e){return A[e-1]||(A[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},j=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(D(n--),j);return t}},N=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return M[e]},L=function(e){return encodeURIComponent(e).replace(N,P)},R=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:I(r.shift()),value:I(r.join("="))}))},F=function(e){this.entries.length=0,R(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=c((function(e,t){E(this,{type:"URLSearchParamsIterator",iterator:y(T(e).entries),kind:t})}),"Iterator",(function(){var e=C(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),B=function(){d(this,B,"URLSearchParams");var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(E(u,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==c)if(g(c))if("function"==typeof(e=x(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(i=(o=y(m(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&p.push({key:l,value:c[l]+""});else R(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},z=B.prototype;s(z,{append:function(e,t){U(arguments.length,2);var n=T(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=T(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=T(this),o=r.entries,i=!1,a=e+"",s=t+"",l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=T(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=T(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(z,S,z.entries),a(z,"toString",(function(){for(var e,t=T(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(L(e.key)+"="+L(e.value));return n.join("&")}),{enumerable:!0}),l(B,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof _||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=b(t,{body:v(0,String(n)),headers:v(0,r)}))),o.push(t)),_.apply(this,o)}}),e.exports={URLSearchParams:B,getState:T}},function(e,t,n){"use strict";var r=n(21),o=n(87),i=n(19),a=n(86),s=n(18),l=r.set,c=r.getterFor("Object Iterator");e.exports=o((function(e,t){var n=s(e);l(this,{type:"Object Iterator",mode:t,object:n,keys:a(n),index:0})}),"Object",(function(){for(var e=c(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,{value:void 0,done:!0};var n=t[e.index++],r=e.object;if(i(r,n)){switch(e.mode){case"keys":return{value:n,done:!1};case"values":return{value:r[n],done:!1}}return{value:[n,r[n]],done:!1}}}}))},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n,o=r(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof i)throw TypeError("At least one callback required");return o.has(e)?(n=o.get(e),"function"==typeof t&&(n=t(n),o.set(e,n))):"function"==typeof i&&(n=i(),o.set(e,n)),n}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(91),i=(r=n(51))&&r.__esModule?r:{default:r};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=0,u=function(e,t,n){null==n||""===n||Array.isArray(n)&&0===n.length?delete e[t]:e[t]=n},d=function(){function e(t){var n=t.source,r=void 0===n?{}:n,o=t.bundle,a=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=a,this._source=r,this._bundle=o,c+=1,this._internalId=c,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","viewAllTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","deprecated","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated"],this._getLocalizedValue=i.default.getLocalizedValue}var t,n,r;return t=e,(n=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){u(this.getSource(!0),"id",e),delete s["@id"]}},{key:"getType",value:function(e){var t=this.getSource(e);return t.type||t["@type"]}},{key:"setType",value:function(e){u(this.getSource(!0),"type",e),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(e){var t=this.getSource(!0),n=this._itemStore.getItem(e);this._source=null==n?t:this._itemStore.createExtendedSource(n.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"getLabel",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.label):i.default.getLocalizedValue(n.label).value}},{key:"setLabel",value:function(e,t){var n=this.getSource(!0);n.label=this._setLangHash(n.label,e,t),this.refreshExtends()}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){u(this.getSource(!0),"label",e),this.refreshExtends()}},{key:"getDescription",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.description):i.default.getLocalizedValue(n.description).value}},{key:"setDescription",value:function(e,t){var n=this.getSource(!0);n.description=this._setLangHash(n.description,e,t),this.refreshExtends()}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){u(this.getSource(!0),"description",e),this.refreshExtends()}},{key:"getPlaceholder",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.placeholder):i.default.getLocalizedValue(n.placeholder).value}},{key:"setPlaceholder",value:function(e,t){var n=this.getSource(!0);n.placeholder=this._setLangHash(n.placeholder,e,t),this.refreshExtends()}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){u(this.getSource(!0),"placeholder",e),this.refreshExtends()}},{key:"getProperty",value:function(e){var t=null,n=this.getSource(e);return n&&null!=(t=n.property)&&""!==t&&(t=o.namespaces.expand(t)),t}},{key:"setProperty",value:function(e){u(this.getSource(!0),"property",e),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(e){var t=this.getSource(e).uriValueLabelProperties;return null!=t?t.map((function(e){return o.namespaces.expand(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){u(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var n={};return Object.keys(t).forEach((function(e){var r=t[e];Array.isArray(r)?n[o.namespaces.expand(e)]=r.map((function(e){return o.namespaces.expand(e)})):n[o.namespaces.expand(e)]=o.namespaces.expand(r)})),n}return t}},{key:"setConstraints",value:function(e){u(this.getSource(!0),"constraints",e),this.refreshExtends()}},{key:"getDeps",value:function(e){var t=this.getSource(e).deps;return null!=t?t.map((function(e){return"*"!==e&&".."!==e?o.namespaces.expand(e):e})):t}},{key:"setDeps",value:function(e){u(this.getSource(!0),"deps",e),this.refreshExtends()}},{key:"getDatatype",value:function(e){var t=this.getSource(e).datatype;return null!=t&&""!==t?Array.isArray(t)?t.map((function(e){return o.namespaces.expand(e)})):o.namespaces.expand(t):t}},{key:"setDatatype",value:function(e){u(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){u(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){u(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){u(this.getSource(!0),"member",e),this.refreshExtends()}},{key:"getNodetype",value:function(e){var t=this.getSource(e);return t.nodetype||t.nodeType}},{key:"setNodetype",value:function(e){u(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){u(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){u(this.getSource(!0),"valueTemplate",e),this.refreshExtends()}},{key:"getCardinality",value:function(e){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var t=this.getSource(e);return t&&"cardinality"in t?t.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(e){u(this.getSource(!0),"cardinality",e),this.refreshExtends()}},{key:"isEnabled",value:function(e){var t=this.getSource(e);return null==t.enabled||t.enabled}},{key:"setEnabled",value:function(e){var t=this.getSource(!0);e?delete t.enabled:t.enabled=e,this.refreshExtends()}},{key:"getClasses",value:function(e){var t=this.getSource(e);return t&&"cls"in t?t.cls:[]}},{key:"setClasses",value:function(e){u(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var n=this.getSource(t);return!!this.hasStyle(e,t)||null!=n.cls&&n.cls.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(e){return this.getSource(e).styles||[]}},{key:"setStyles",value:function(e){u(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var n=this.getSource(t);return!(!n||!("styles"in n))&&n.styles.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getSource",value:function(e){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var t=this._itemStore.getItem(this.getExtends());return null==t?this._source:t.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var e=[];return this.getId()&&e.push("ID: '".concat(this.getId(),"'")),e.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&e.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&e.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(e.join(", "),")")}},{key:"_setLangHash",value:function(e,t,n){var r=e||{};if("string"==typeof t)"string"==typeof n?r[n]=t:r[""]=t;else if("object"===a(t)&&null!==t)return t;return r}}])&&l(t.prototype,n),r&&l(t,r),e}();t.default=d},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(91),i=(r=n(189))&&r.__esModule?r:{default:r};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){null!=e&&e.forEach((function(e){e.value=o.namespaces.expand(e.value)}))},p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,u(t).call(this,e)))._ontologyStore=e.ontologyStore,n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(r=[{key:"getChoices",value:function(e){return this.getStaticChoices(e)||this.getDynamicChoices(e)||[]}},{key:"hasChoices",value:function(e){var t=this.getSource(e);return null!=t.ontologyUrl||null!=t.choices}},{key:"hasStaticChoices",value:function(e){return null!=this.getSource(e).choices}},{key:"getStaticChoices",value:function(e){var t=this.getSource(e);if(t.choices){var n=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(n&&f(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(n&&f(t.choices),this._staticIsSorted=!0)}return t.choices}},{key:"setStaticChoices",value:function(e){var t=this.getSource(!0);t.choices!==e&&(null!=e&&(this._origStaticIsSorted=!0),t.choices=e,this.refreshExtends())}},{key:"setExtends",value:function(e){c(u(t.prototype),"setExtends",this).call(this,e),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(e){var t=this;if(null==this._dynamicChoices){if(null==e)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(n){t._dynamicChoices=n,null==t._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(t.getLabel())),console.log("OntologyUrl is: ".concat(t._source.ontologyUrl))),e(t._dynamicChoices)}))}else{if(null==e)return this._dynamicChoices;e(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(e){var t=this.getSource(e).ontologyUrl;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setOntologyUrl",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.ontologyUrl:t.ontologyUrl=e,this.refreshExtends()}},{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(e){var t=this.getSource(e).parentProperty;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setParentProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.parentProperty:t.parentProperty=e,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(e){var t=this.getSource(e).hierarchyProperty;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setHierarchyProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.hierarchyProperty:t.hierarchyProperty=e,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(e){return!0===this.getSource(e).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(e){var t=this.getSource(!0);!0===e?t.isParentPropertyInverted=!0:delete t.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(e){return!0===this.getSource(e).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(e){var t=this.getSource(!0);e?t.isHierarchyPropertyInverted=!0:delete t.isHierarchyPropertyInverted,this.refreshExtends()}}])&&s(n.prototype,r),i&&s(n,i),t}(i.default);t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(142))&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d="http://www.w3.org/2000/01/rdf-schema#label",f="http://www.w3.org/2000/01/rdf-schema#seeAlso",p=function(e){function t(e){var n,r=e.choice,o=e.item,i=e.statement,a=e.matchingCode;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=s(this,c(t).call(this,{choice:r,item:o,statement:i,matchingCode:a})))._choice=r,n._validPredicate=null!=o.getProperty(),n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,o=[{key:"seeAlso",get:function(){return f}}],(r=[{key:"setChoice",value:function(e,t){this._choice=e,null==e?this.setValue(null,null,t):this.getValue()!==e.value&&this.setValue(e.value,e,t)}},{key:"getChoice",value:function(){return this._choice}},{key:"remove",value:function(){this.setValue(null),l(c(t.prototype),"remove",this).call(this)}},{key:"setValue",value:function(e,n,r){l(c(t.prototype),"setValue",this).call(this,e,n,r);var o=this.getValue(),i=this._statement.getGraph();if(i.findAndRemove(o,d,void 0,r),i.findAndRemove(o,f,void 0,r),null!=e&&null!=n&&(n.seeAlso&&n.inlineSeeAlso&&i.create(e,f,n.seeAlso,!0,r),!0===n.inlineLabel)){var a=n.label||{};Object.keys(a).forEach((function(t){return i.create(e,d,{value:a[t],lang:t,type:"literal"},!0,r)}))}}}])&&a(n.prototype,r),o&&a(n,o),t}(o.default);t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(264)),o=i(n(670));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=c(this,d(t).call(this,e));var r=e.constraints,o=void 0===r?[]:r,i=e.childrenRootUri,a=void 0===i?null:i;return n._constraints=o,n._childBindings=n._item.getChildren().map((function(){return[]})),n._rootUri=a,n._validPredicate=!0,n._validObject=!0,n._statement&&(n._validPredicate=n._isValidPredicateValue(n._statement.getPredicate()),n._validObject=n._isValidObjectValue(n._statement.getValue(),n._statement.getType())),n._cachedChildBindings=null,n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"getValue",value:function(){return this.getChildrenRootUri()}},{key:"oneChildValidityChanged",value:function(e){return e!==this._oneValidChild&&!(!e&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=e,this._notifyValidityChange(e&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(e){this._statement?this._statement.setSubject(e):this.getChildBindings().forEach((function(t){return t.setSubject(e)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(e){this.addChildBindings([e])}},{key:"addChildBindings",value:function(e){var t=this;if(this._cachedChildBindings=null,Array.isArray(e)&&0!==e.length)for(var n=e[0].getItem(),r=this._item.getChildren(),i=r.length;i>=0&&(n!==r[i]||"break"!==function(){var r=t._childBindings[i].length>0?t._childBindings[i][0].getCardinalityTracker():new o.default(n);return t._childBindings[i]=t._childBindings[i].concat(e),e.forEach((function(e){e.setParent(t),e.setCardinalityTracker(r),r.increment()}),t),"break"}());i--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e.getItem()===t[n]){this._childBindings[n].splice(this._childBindings[n].indexOf(e),1),delete e._parent,e.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(e)}},{key:"getChildBindingsFor",value:function(e){for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e===t[n])return this._childBindings[n]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var e;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(e=[]).concat.apply(e,s(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"setValue",value:function(e){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var t=this._validObject;this._isValidObjectValue(e,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(e),this._constraints.forEach((function(t){return t.setSubject(e)})),this.getChildBindings().forEach((function(t){return t.setSubject(e)})),!t&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,t&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),u(d(t.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(e){var t=this;this._ancestorValid=e,this.updateAssertions(),this._childBindings.forEach((function(n){return n.forEach((function(n){return n.setAncestorValid(e&&t._isValid())}),t)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var e=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(e),this._constraints.forEach((function(t){return t.setAsserted(e)})),this.getChildBindings().forEach((function(e){return e.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(e){return e.some((function(e){return e.isValid()}))}))}},{key:"_notifyValidityChange",value:function(e){this._parent&&this._parent.oneChildValidityChanged(e)||(this.updateAssertions(),this._childBindings.forEach((function(t){return t.forEach((function(t){return t.setAncestorValid(e)}))})))}},{key:"_isValidObjectValue",value:function(e,n){return("URI"!==this.getItem().getNodetype()||"uri"===n)&&u(d(t.prototype),"_isValidObjectValue",this).call(this,e)}}])&&l(n.prototype,r),i&&l(n,i),t}(r.default);t.default=p},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,u=0,d=[],f=n(676);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=c||(c=b(t)),r=_.bind(null,n,a,!1),o=_.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),r=S.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=k.bind(null,n),o=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var x,w=(x=[],function(e,t){return x[e]=t,x.filter(Boolean).join("\n")});function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function k(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function S(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(83)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(){return l(this,t),u(this,f(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(i=[{key:"_handleParams",value:function(e){this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",d(f(t.prototype),"_handleParams",this).call(this,e)}},{key:"showNow",value:function(e,t){return(!e.hasStyle("deprecated")||0!==t.length)&&t.length>0&&!e.hasStyle("invisible")}},{key:"skipBinding",value:function(e){var t=e.getItem(),n="group"===t.getType();return!(!t.getProperty()&&n&&0===t.getChildren().length)&&n&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return!this.filterTranslations||"LANGUAGE_LITERAL"!==e.getNodetype()||e.hasStyle("viewAllTranslations")?t:o.default.filterTranslations(t,r.default.locale(),this.defaultLanguage)}},{key:"addLabel",value:function(e,t,n){n.hasStyle("noLabelInPresent")?o.default.domClassToggle(e,"rdformsInvisibleGroup",!0):o.default.renderPresenterLabel(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return o.default.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return o.default.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){o.default.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){o.default.renderPresenter(e,t,this.context)}}])&&c(n.prototype,i),a&&c(n,a),t}(i(n(679)).default);t.default=h},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.bindingReport=t.graphReport=void 0;var o=n(91),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var s=function(e,t){var n=t;return null==n?n={errors:[],warnings:[],deprecated:[]}:(n.errors=n.errors||[],n.warnings=n.warnings||[],n.deprecated=n.deprecated||[]),d(e,n,!0)};t.bindingReport=s;var l=function(e){for(var t=0,n=0;n<e.length;n++)e[n].isValid()&&(t+=1);return t},c=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},u=function(e,t){if(t.hasStyle("deprecated"))return!0;var n=t.getDeps();if(n){var r=i.findBindingRelativeToParentBinding(e,n);if(!i.matchPathBelowBinding(r,n))return!0}return!1},d=function e(t,n,r){if(t.getMatchingCode()===i.CODES.OK){var o=t.getItem();if(!0===r||t.isValid()||null==o.getProperty()||o.hasStyle("atLeastOneChild")||o.hasStyle("exactlyOneChild")){var a=o.getChildren();if(o.hasStyle("disjoint")||o.hasStyle("atMostOneChild")||o.hasStyle("atLeastOneChild")||o.hasStyle("exactlyOneChild")){var s,d=t.getChildBindings(),f=l(d);f>1&&(o.hasStyle("disjoint")||o.hasStyle("atMostOneChild"))?s=i.CODES.AT_MOST_ONE_CHILD:1!==f&&o.hasStyle("exactlyOneChild")?s=i.CODES.EXACTLY_ONE_CHILD:0===f&&o.hasStyle("atLeastOneChild")&&(s=i.CODES.AT_LEAST_ONE_CHILD),s&&(c([t],s),a.length>0&&n.errors.push({parentBinding:t,item:a[0],code:s}))}else t.getItemGroupedChildBindings().forEach((function(e,r){var o=a[r];if(!u(t,o)&&null!=o.getProperty()){var s=l(e),d=o.getCardinality();null!=d.min&&d.min>s?(n.errors.push({parentBinding:t,item:o,code:i.CODES.TOO_FEW_VALUES_MIN}),c(e,i.CODES.TOO_FEW_VALUES_MIN)):null!=d.pref&&d.pref>s&&n.warnings.push({parentBinding:t,item:o,code:i.CODES.TOO_FEW_VALUES_PREF}),null!=d.max&&d.max<s&&(n.errors.push({parentBinding:t,item:o,code:i.CODES.TOO_MANY_VALUES}),c(e,i.CODES.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(r){var o=r.getItem();r.getMatchingCode()!==i.CODES.OK&&n.errors.push({parentBinding:r,item:o,code:r.getMatchingCode()}),o.hasStyle("deprecated")&&n.deprecated.push(r),u(t,o)||"group"===o.getType()&&e(r,n)}))}return n}},f=function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach((function(t){var n=p(e,t);i[t]=n,n.forEach((function(e){a[e]=!0}))})),Object.keys(i).forEach((function(o){n=t[o],i[o].forEach((function(t){(r=b(t,e,n,a)).uri=t,r.type=o,r.template=n.getId(),s.resources.push(r),s.errors+=r.errors.length,s.warnings+=r.warnings.length,s.deprecated+=r.deprecated.length}))}));var l=[];return o.forEach((function(e){0===i[e].length&&l.push(e)})),l.length>0&&(s.mandatoryError=l,s.errors+=l.length),s};t.graphReport=f;var p=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},h=function(e,t,n){for(var r=e;;){var o=r.getChildrenRootUri?r.getChildrenRootUri():r.getParent().getChildrenRootUri();if(o===t)return!0;if(n[o])return!1;r=r.getParent()}},m=function(e,t){var n=e,r=[];for(null!=t.getProperty()&&n.getItem()!==t&&r.push(o.namespaces.shorten(t.getProperty()));null!=n.getItem().getProperty()&&r.push(o.namespaces.shorten(n.getItem().getProperty())),null!=n.getParent();)n=n.getParent();return r.reverse(),r.join(" > ")},g=function(e){var t=e.errors,n=e.warnings,r=e.deprecated;e.errors=t.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.warnings=n.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.deprecated=r.map((function(e){return function(e){return"".concat(m(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},b=function(e,t,n,r){var o=i.fuzzyMatch(t,e,n),a=s(o);return function(e,t,n){var r=e.errors,o=e.warnings,i=e.deprecated;e.errors=r.filter((function(e){return h(e.parentBinding,t,n)})),e.warnings=o.filter((function(e){return h(e.parentBinding,t,n)})),e.deprecated=i.filter((function(e){return h(e,t,n)}))}(a,e,r||{}),g(a),a},v={graphReport:f,bindingReport:s};t.default=v},,,,,function(e,t,n){n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(219),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(126),n(360),n(361),n(362),n(363),n(364),n(365),n(225),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(227),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(175),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405),n(406),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(430),n(431),n(433),n(434),n(435),n(239),n(436),n(182),n(241),n(183),n(437),n(438),n(440),n(441),n(442),n(443),n(444),n(445),n(446),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455),n(456),n(457),n(458),n(459),n(460),n(461),n(462),n(463),n(464),n(465),n(466),n(467),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(475),n(476),n(477),n(478),n(479),n(480),n(481),n(482),n(483),n(484),n(485),n(486),n(487),n(488),n(489);var r=n(47);e.exports=r},function(e,t,n){var r=n(10),o=n(4),i=n(157);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(7),o=n(159),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(19),o=n(161),i=n(31),a=n(15);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},function(e,t,n){var r=n(19),o=n(39),i=n(103).indexOf,a=n(102);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(164);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(17);e.exports=r("document","documentElement")},function(e,t,n){var r=n(39),o=n(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(9);t.f=r},function(e,t,n){"use strict";var r=n(10),o=n(4),i=n(86),a=n(163),s=n(119),l=n(18),c=n(100),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,f=s.f;o>u;)for(var p,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,b=0;g>b;)p=m[b++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},function(e,t,n){var r=n(10),o=n(86),i=n(39),a=n(119).f,s=function(e){return function(t){for(var n,s=i(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(5),o=n(11),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){n(0)({global:!0},{globalThis:n(7)})},function(e,t,n){"use strict";var r=n(23),o=n(18),i=n(109),a=n(166),s=n(14),l=n(77),c=n(69);e.exports=function(e){var t,n,u,d,f,p,h=o(e),m="function"==typeof this?this:Array,g=arguments.length,b=g>1?arguments[1]:void 0,v=void 0!==b,y=c(h),x=0;if(v&&(b=r(b,g>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(t=s(h.length));t>x;x++)p=v?b(h[x],x):h[x],l(n,x,p);else for(f=(d=y.call(h)).next,n=new m;!(u=f.call(d)).done;x++)p=v?i(d,b,[u.value,x],!0):u.value,l(n,x,p);return n.length=x,n}},function(e,t,n){"use strict";var r=n(18),o=n(67),i=n(14),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),f=1;for(c<l&&l<c+d&&(f=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=f,c+=f;return n}},function(e,t,n){"use strict";var r=n(68),o=n(14),i=n(23),a=function(e,t,n,s,l,c,u,d){for(var f,p=l,h=0,m=!!u&&i(u,d,3);h<s;){if(h in n){if(f=m?m(n[h],h,t):n[h],c>0&&r(f))p=a(e,t,f,o(f.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}h++}return p};e.exports=a},function(e,t,n){"use strict";var r=n(29).forEach,o=n(60),i=n(37),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(39),o=n(40),i=n(14),a=n(60),s=n(37),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=s("indexOf",{ACCESSORS:!0,1:0}),p=u||!d||!f;e.exports=p?function(e){if(u)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(0),o=n(87),i=n(28),a=n(14),s=n(5),l=n(2),c=n(45),u=n(111),d=n(89),f=n(20),p=n(4),h=n(9),m=n(27),g=n(130),b=n(21),v=n(6),y=h("matchAll"),x=b.set,w=b.getterFor("RegExp String Iterator"),_=RegExp.prototype,k=_.exec,S="".matchAll,E=!!S&&!p((function(){"a".matchAll(/./)})),T=o((function(e,t,n,r){x(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=w(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return k.call(e,t)}(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=g(n,a(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),C=function(e){var t,n,r,o,i,s,c=l(this),u=String(e);return t=m(c,RegExp),void 0===(n=c.flags)&&c instanceof RegExp&&!("flags"in _)&&(n=d.call(c)),r=void 0===n?"":String(n),o=new t(t===RegExp?c.source:c,r),i=!!~r.indexOf("g"),s=!!~r.indexOf("u"),o.lastIndex=a(c.lastIndex),new T(o,u,i,s)};r({target:"String",proto:!0,forced:E},{matchAll:function(e){var t,n,r,o=i(this);if(null!=e){if(u(e)&&!~String(i("flags"in _?e.flags:d.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(E)return S.apply(o,arguments);if(void 0===(n=e[y])&&v&&"RegExp"==c(e)&&(n=C),null!=n)return s(n).call(e,o)}else if(E)return S.apply(o,arguments);return t=String(o),r=new RegExp(e,"g"),v?C.call(r,t):r[y](t)}}),v||y in _||f(_,y,C)},function(e,t,n){var r=n(124);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){"use strict";var r=n(88).charAt,o=n(21),i=n(171),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(7),o=n(90).trim,i=n(132),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){var r=n(11),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(45);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(180),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),l=i(2,127)*(2-s),c=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),u=r(e);return i<c?u*(i/c/s+1/a-1/a)*c*s:(n=(t=(1+s/a)*i)-(t-i))>l||n!=n?u*(1/0):u*n}},function(e,t,n){var r=n(7);e.exports=r.Promise},function(e,t,n){var r=n(124);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,s,l,c,u,d=n(7),f=n(31).f,p=n(45),h=n(181).set,m=n(235),g=d.MutationObserver||d.WebKitMutationObserver,b=d.process,v=d.Promise,y="process"==p(b),x=f(d,"queueMicrotask"),w=x&&x.value;w||(r=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},y?a=function(){b.nextTick(r)}:g&&!m?(s=!0,l=document.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):v&&v.resolve?(c=v.resolve(void 0),u=c.then,a=function(){u.call(c,r)}):a=function(){h.call(d,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(2),o=n(11),i=n(112);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(7);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(112),a=n(135),s=n(8);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,l=n.reject,c=a((function(){var n=o(t.resolve),i=[],a=0,l=1;s(e,(function(e){var o=a++,s=!1;i.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--l||r(i))}),(function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--l||r(i))}))})),--l||r(i)}));return c.error&&l(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(15).f,o=n(36),i=n(61),a=n(23),s=n(48),l=n(8),c=n(171),u=n(78),d=n(10),f=n(76).fastKey,p=n(21),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&l(r,e[c],e,n)})),p=m(t),g=function(e,t,n){var r,o,i=p(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=f(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=p(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=p(this),n=b(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(u.prototype,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var r=n(136),o=n(240);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(61),o=n(76).getWeakData,i=n(2),a=n(11),s=n(48),l=n(8),c=n(29),u=n(19),d=n(21),f=d.set,p=d.getterFor,h=c.find,m=c.findIndex,g=0,b=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},y=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){s(e,d,t),f(e,{type:t,id:g++,frozen:void 0}),null!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?b(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?b(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?b(t).has(e):n&&u(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},function(e,t,n){var r=n(40),o=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(113);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(18),o=n(14),i=n(69),a=n(166),s=n(23),l=n(16).aTypedArrayConstructor;e.exports=function(e){var t,n,c,u,d,f,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,b=i(p);if(null!=b&&!a(b))for(f=(d=b.call(p)).next,p=[];!(u=f.call(d)).done;)p.push(u.value);for(g&&h>2&&(m=s(m,arguments[2],2)),n=o(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=g?m(p[t],t):p[t];return c}},function(e,t,n){n(490),n(491),n(492),n(493),n(494),n(248),n(250),n(186);var r=n(47);e.exports=r},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";n(227);var r,o=n(0),i=n(10),a=n(249),s=n(7),l=n(165),c=n(32),u=n(48),d=n(19),f=n(214),p=n(220),h=n(88).codeAt,m=n(495),g=n(52),b=n(186),v=n(21),y=s.URL,x=b.URLSearchParams,w=b.getState,_=v.set,k=v.getterFor("URL"),S=Math.floor,E=Math.pow,T=/[A-Za-z]/,C=/[\d+\-.A-Za-z]/,O=/\d/,A=/^(0x|0X)/,D=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,P=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,L=/[\u0009\u000A\u000D]/g,R=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if($(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(M.test(t))return"Invalid host";for(n="",r=p(t),o=0;o<r.length;o++)n+=Y(r[o],B);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?D:I).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=E(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*E(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&I.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!O.test(f()))return;for(;O.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},z=f({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),W=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(e){return d(q,e.scheme)},G=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},J=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},fe={},pe={},he={},me={},ge={},be={},ve={},ye={},xe={},we=function(e,t,n,o){var i,a,s,l,c,u=n||ee,f=0,h="",m=!1,g=!1,b=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(P,"")),t=t.replace(L,""),i=p(t);f<=i.length;){switch(a=i[f],u){case ee:if(!a||!T.test(a)){if(n)return"Invalid scheme";u=ne;continue}h+=a.toLowerCase(),u=te;break;case te:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",u=ne,f=0;continue}if(n&&($(e)!=d(q,h)||"file"==h&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void($(e)&&q[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=pe:$(e)&&o&&o.scheme==e.scheme?u=re:$(e)?u=se:"/"==i[f+1]?(u=oe,f++):(e.cannotBeABaseURL=!0,e.path.push(""),u=ve)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==o.scheme?pe:ie;continue;case re:if("/"!=a||"/"!=i[f+1]){u=ie;continue}u=le,f++;break;case oe:if("/"==a){u=ce;break}u=be;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&$(e))u=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=ye;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}break;case ae:if(!$(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=be;continue}u=ce}else u=le;break;case se:if(u=le,"/"!=a||"/"!=h.charAt(f+1))continue;f++;break;case le:if("/"!=a&&"\\"!=a){u=ce;continue}break;case ce:if("@"==a){m&&(h="%40"+h),m=!0,s=p(h);for(var v=0;v<s.length;v++){var y=s[v];if(":"!=y||b){var x=Y(y,W);b?e.password+=x:e.username+=x}else b=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if(m&&""==h)return"Invalid authority";f-=p(h).length+1,h="",u=ue}else h+=a;break;case ue:case de:if(n&&"file"==e.scheme){u=me;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if($(e)&&""==h)return"Invalid host";if(n&&""==h&&(G(e)||null!==e.port))return;if(l=R(e,h))return l;if(h="",u=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(l=R(e,h))return l;if(h="",u=fe,n==de)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=$(e)&&w===q[e.scheme]?null:w,h=""}if(n)return;u=ge;continue}return"Invalid port"}h+=a;break;case pe:if(e.scheme="file","/"==a||"\\"==a)u=he;else{if(!o||"file"!=o.scheme){u=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=ye;else{if("#"!=a){Q(i.slice(f).join(""))||(e.host=o.host,e.path=o.path.slice(),Z(e)),u=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}}break;case he:if("/"==a||"\\"==a){u=me;break}o&&"file"==o.scheme&&!Q(i.slice(f).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=be;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))u=be;else if(""==h){if(e.host="",n)return;u=ge}else{if(l=R(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ge}continue}h+=a;break;case ge:if($(e)){if(u=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=be,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=ye;break;case be:if(a==r||"/"==a||"\\"==a&&$(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Z(e),"/"==a||"\\"==a&&$(e)||e.path.push("")):J(h)?"/"==a||"\\"==a&&$(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=ye):"#"==a&&(e.fragment="",u=xe)}else h+=Y(a,H);break;case ve:"?"==a?(e.query="",u=ye):"#"==a?(e.fragment="",u=xe):a!=r&&(e.path[0]+=Y(a,B));break;case ye:n||"#"!=a?a!=r&&("'"==a&&$(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,B)):(e.fragment="",u=xe);break;case xe:a!=r&&(e.fragment+=Y(a,z))}f++}},_e=function(e){var t,n,r=u(this,_e,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=_(r,{type:"URL"});if(void 0!==o)if(o instanceof _e)t=k(o);else if(n=we(t={},String(o)))throw TypeError(n);if(n=we(s,a,null,t))throw TypeError(n);var l=s.searchParams=new x,c=w(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=Se.call(r),r.origin=Ee.call(r),r.protocol=Te.call(r),r.username=Ce.call(r),r.password=Oe.call(r),r.host=Ae.call(r),r.hostname=De.call(r),r.port=je.call(r),r.pathname=Ie.call(r),r.search=Ne.call(r),r.searchParams=Me.call(r),r.hash=Pe.call(r))},ke=_e.prototype,Se=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",G(e)&&(c+=n+(r?":"+r:"")+"@"),c+=V(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ee=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&$(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Te=function(){return k(this).scheme+":"},Ce=function(){return k(this).username},Oe=function(){return k(this).password},Ae=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},De=function(){var e=k(this).host;return null===e?"":V(e)},je=function(){var e=k(this).port;return null===e?"":String(e)},Ie=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=k(this).query;return e?"?"+e:""},Me=function(){return k(this).searchParams},Pe=function(){var e=k(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(ke,{href:Le(Se,(function(e){var t=k(this),n=String(e),r=we(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:Le(Ee),protocol:Le(Te,(function(e){var t=k(this);we(t,String(e)+":",ee)})),username:Le(Ce,(function(e){var t=k(this),n=p(String(e));if(!X(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Y(n[r],W)}})),password:Le(Oe,(function(e){var t=k(this),n=p(String(e));if(!X(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Y(n[r],W)}})),host:Le(Ae,(function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),ue)})),hostname:Le(De,(function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),de)})),port:Le(je,(function(e){var t=k(this);X(t)||(""==(e=String(e))?t.port=null:we(t,e,fe))})),pathname:Le(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ge))})),search:Le(Ne,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",we(t,e,ye)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(Me),hash:Le(Pe,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",we(t,e,xe)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),y){var Re=y.createObjectURL,Fe=y.revokeObjectURL;Re&&c(_e,"createObjectURL",(function(e){return Re.apply(y,arguments)})),Fe&&c(_e,"revokeObjectURL",(function(e){return Fe.apply(y,arguments)}))}g(_e,"URL"),o({global:!0,forced:!a,sham:!i},{URL:_e})},function(e,t,n){var r=n(4),o=n(9),i=n(6),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";n(0)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){"use strict";var r=n(2),o=n(5);e.exports=function(){for(var e=r(this),t=o(e.add),n=0,i=arguments.length;n<i;n++)t.call(e,arguments[n]);return e}},function(e,t,n){var r=n(182),o=n(183),i=n(36),a=n(11),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};s.prototype.get=function(e,t){return this[e]||(this[e]=t())},s.prototype.next=function(e,t,n){var i=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new r),a=i.get(t);return a||i.set(t,a=new s),a};var l=new s;e.exports=function(){var e,t,n=l,r=arguments.length;for(e=0;e<r;e++)a(t=arguments[e])&&(n=n.next(e,t,!0));if(this===Object&&n===l)throw TypeError("Composite keys must contain a non-primitive component");for(e=0;e<r;e++)a(t=arguments[e])||(n=n.next(e,t,!1));return n}},function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},function(e,t,n){var r=n(69),o=n(9)("asyncIterator");e.exports=function(e){var t=e[o];return void 0===t?r(e):t}},function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(!(r instanceof t)){function o(){}o.prototype=t.prototype,n(r,o=new o),e.prototype=r=o}r.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),r.constructor=e)}var o={},i=o.ELEMENT_NODE=1,a=o.ATTRIBUTE_NODE=2,s=o.TEXT_NODE=3,l=o.CDATA_SECTION_NODE=4,c=o.ENTITY_REFERENCE_NODE=5,u=o.ENTITY_NODE=6,d=o.PROCESSING_INSTRUCTION_NODE=7,f=o.COMMENT_NODE=8,p=o.DOCUMENT_NODE=9,h=o.DOCUMENT_TYPE_NODE=10,m=o.DOCUMENT_FRAGMENT_NODE=11,g=o.NOTATION_NODE=12,b={},v={},y=(b.INDEX_SIZE_ERR=(v[1]="Index size error",1),b.DOMSTRING_SIZE_ERR=(v[2]="DOMString size error",2),b.HIERARCHY_REQUEST_ERR=(v[3]="Hierarchy request error",3)),x=(b.WRONG_DOCUMENT_ERR=(v[4]="Wrong document",4),b.INVALID_CHARACTER_ERR=(v[5]="Invalid character",5),b.NO_DATA_ALLOWED_ERR=(v[6]="No data allowed",6),b.NO_MODIFICATION_ALLOWED_ERR=(v[7]="No modification allowed",7),b.NOT_FOUND_ERR=(v[8]="Not found",8)),w=(b.NOT_SUPPORTED_ERR=(v[9]="Not supported",9),b.INUSE_ATTRIBUTE_ERR=(v[10]="Attribute in use",10));b.INVALID_STATE_ERR=(v[11]="Invalid state",11),b.SYNTAX_ERR=(v[12]="Syntax error",12),b.INVALID_MODIFICATION_ERR=(v[13]="Invalid modification",13),b.NAMESPACE_ERR=(v[14]="Invalid namespace",14),b.INVALID_ACCESS_ERR=(v[15]="Invalid access",15);function _(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,v[e]),this.message=v[e],Error.captureStackTrace&&Error.captureStackTrace(this,_);return n.code=e,t&&(this.message=this.message+": "+t),n}function k(){}function S(e,t){this._node=e,this._refresh=t,E(this)}function E(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);te(e,"length",r.length),n(r,e),e._inc=t}}function T(){}function C(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function O(e,t,n,r){if(r?t[C(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&P(o,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function A(e,t,n){var r=C(t,n);if(!(r>=0))throw _(x,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(P(i,e,n),n.ownerElement=null)}}function D(e){if(this._features={},e)for(var t in e)this._features=e[t]}function j(){}function I(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function N(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(N(e,t))return!0}while(e=e.nextSibling)}function M(){}function P(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function L(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i}}}function R(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,L(e.ownerDocument,e),t}function F(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===m){var o=t.firstChild;if(null==o)return t;var i=t.lastChild}else o=i=t;var a=n?n.previousSibling:e.lastChild;o.previousSibling=a,i.nextSibling=n,a?a.nextSibling=o:e.firstChild=o,null==n?e.lastChild=i:n.previousSibling=i;do{o.parentNode=e}while(o!==i&&(o=o.nextSibling));return L(e.ownerDocument||e,e),t.nodeType==m&&(t.firstChild=t.lastChild=null),t}function U(){this._nsMap={}}function V(){}function B(){}function z(){}function H(){}function W(){}function Y(){}function q(){}function $(){}function G(){}function X(){}function K(){}function Q(){}function Z(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ee(this,n,e,t,a),n.join("")}function J(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!r&&!o)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===o||"http://www.w3.org/2000/xmlns/"==o)return!1;for(var i=n.length;i--;){var a=n[i];if(a.prefix==r)return a.namespace!=o}return!0}function ee(e,t,n,r,o){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case i:o||(o=[]);o.length;var u=e.attributes,g=u.length,b=e.firstChild,v=e.tagName;n="http://www.w3.org/1999/xhtml"===e.namespaceURI||n,t.push("<",v);for(var y=0;y<g;y++){"xmlns"==(x=u.item(y)).prefix?o.push({prefix:x.localName,namespace:x.value}):"xmlns"==x.nodeName&&o.push({prefix:"",namespace:x.value})}for(y=0;y<g;y++){var x;if(J(x=u.item(y),0,o)){var w=x.prefix||"",_=x.namespaceURI,k=w?" xmlns:"+w:" xmlns";t.push(k,'="',_,'"'),o.push({prefix:w,namespace:_})}ee(x,t,n,r,o)}if(J(e,0,o)){w=e.prefix||"";if(_=e.namespaceURI){k=w?" xmlns:"+w:" xmlns";t.push(k,'="',_,'"'),o.push({prefix:w,namespace:_})}}if(b||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(v)){if(t.push(">"),n&&/^script$/i.test(v))for(;b;)b.data?t.push(b.data):ee(b,t,n,r,o),b=b.nextSibling;else for(;b;)ee(b,t,n,r,o),b=b.nextSibling;t.push("</",v,">")}else t.push("/>");return;case p:case m:for(b=e.firstChild;b;)ee(b,t,n,r,o),b=b.nextSibling;return;case a:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,I),'"');case s:return t.push(e.data.replace(/[<&]/g,I).replace(/]]>/g,"]]&gt;"));case l:return t.push("<![CDATA[",e.data,"]]>");case f:return t.push("\x3c!--",e.data,"--\x3e");case h:var S=e.publicId,E=e.systemId;if(t.push("<!DOCTYPE ",e.name),S)t.push(" PUBLIC ",S),E&&"."!=E&&t.push(" ",E),t.push(">");else if(E&&"."!=E)t.push(" SYSTEM ",E,">");else{var T=e.internalSubset;T&&t.push(" [",T,"]"),t.push(">")}return;case d:return t.push("<?",e.target," ",e.data,"?>");case c:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function te(e,t,n){e[t]=n}_.prototype=Error.prototype,n(b,_),k.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ee(this[r],n,e,t);return n.join("")}},S.prototype.item=function(e){return E(this),this[e]},r(S,k),T.prototype={length:0,item:k.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new _(w);var n=this.getNamedItem(e.nodeName);return O(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new _(w);return t=this.getNamedItemNS(e.namespaceURI,e.localName),O(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return A(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return A(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},D.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new M;if(r.implementation=this,r.childNodes=new k,r.doctype=n,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new Y;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return F(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return R(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var o=new n.constructor;for(var s in n){var l=n[s];"object"!=typeof l&&l!=o[s]&&(o[s]=l)}n.childNodes&&(o.childNodes=new k);switch(o.ownerDocument=t,o.nodeType){case i:var c=n.attributes,u=o.attributes=new T,d=c.length;u._ownerElement=o;for(var f=0;f<d;f++)o.setAttributeNode(e(t,c.item(f),!0));break;case a:r=!0}if(r)for(var p=n.firstChild;p;)o.appendChild(e(t,p,r)),p=p.nextSibling;return o}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==s&&e.nodeType==s?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==a?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==a?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(o,j),n(o,j.prototype),M.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==m){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==i&&(this.documentElement=e),F(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),R(this,e)},importNode:function(e,t){return function e(t,n,r){var o;switch(n.nodeType){case i:(o=n.cloneNode(!1)).ownerDocument=t;case m:break;case a:r=!0}o||(o=n.cloneNode(!1));if(o.ownerDocument=t,o.parentNode=null,r)for(var s=n.firstChild;s;)o.appendChild(e(t,s,r)),s=s.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return N(this.documentElement,(function(n){if(n.nodeType==i&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=new RegExp("(^|\\s)"+e+"(\\s|$)");return new S(this,(function(e){var n=[];return N(e.documentElement,(function(r){r!==e&&r.nodeType==i&&t.test(r.getAttribute("class"))&&n.push(r)})),n}))},createElement:function(e){var t=new U;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new k,(t.attributes=new T)._ownerElement=t,t},createDocumentFragment:function(){var e=new X;return e.ownerDocument=this,e.childNodes=new k,e},createTextNode:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new K;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new V;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new G;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new U,r=t.split(":"),o=n.attributes=new T;return n.childNodes=new k,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new V,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},r(M,j),U.prototype={nodeType:i,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===m?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t);r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,L(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new S(this,(function(t){var n=[];return N(t,(function(r){r===t||r.nodeType!=i||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new S(this,(function(n){var r=[];return N(n,(function(o){o===n||o.nodeType!==i||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},M.prototype.getElementsByTagName=U.prototype.getElementsByTagName,M.prototype.getElementsByTagNameNS=U.prototype.getElementsByTagNameNS,r(U,j),V.prototype.nodeType=a,r(V,j),B.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(v[y])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},r(B,j),z.prototype={nodeName:"#text",nodeType:s,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},r(z,B),H.prototype={nodeName:"#comment",nodeType:f},r(H,B),W.prototype={nodeName:"#cdata-section",nodeType:l},r(W,B),Y.prototype.nodeType=h,r(Y,j),q.prototype.nodeType=g,r(q,j),$.prototype.nodeType=u,r($,j),G.prototype.nodeType=c,r(G,j),X.prototype.nodeName="#document-fragment",X.prototype.nodeType=m,r(X,j),K.prototype.nodeType=d,r(K,j),Q.prototype.serializeToString=function(e,t,n){return Z.call(e,t,n)},j.prototype.toString=Z;try{if(Object.defineProperty){Object.defineProperty(S.prototype,"length",{get:function(){return E(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case i:case m:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case i:case m:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),te=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.Node=j,t.DOMException=_,t.DOMImplementation=D,t.XMLSerializer=Q},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(257)),o=s(n(92)),i=s(n(258)),a=s(n(259));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(e){return 0===e.length?e:[e[0]]},f=function e(t,n,o){return{object:function(r){for(var i=0;i<n.length;i++){var a=void 0;if(o)a=n[i].getSubject();else{var s=n[i].getType();if("uri"===s||"bnode"===s)continue;a=n[i].getValue()}var l=t.find(a,r);l.length>0&&e(t,[l[0]])}return e(t,[])},objects:function(r){var i,a=[];if(!0===o)for(i=0;i<n.length;i++)a=a.concat(t.find(n[i].getSubject(),r));else for(i=0;i<n.length;i++){var s=n[i].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(n[i].getValue(),r)))}return e(t,a)},constr:function(i,a){var s=a;r.default.isString(s)&&(s={type:"uri",value:s});for(var l=[],c=0;c<n.length;c++){var u=o?n[c].getSubject():n[c].getValue();t.find(u,i,s).length>0&&l.push(n[c])}return e(t,l,o)},each:function(r,i){if(!0===o)for(var a=0;a<n.length;a++){var s="_:"===n[a].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==s||r(e(t,n[a],o))}else for(var l=0;l<n.length;l++)r(e(t,n[l],o))},statements:function(){return n},nodes:function(e){var t=[];if(!0===o)for(var r=0;r<n.length;r++){var i="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push({type:i,value:n[r].getSubject()})}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getObject());return t},values:function(e){var t=[];if(!0===o)for(var r=0;r<n.length;r++){var i="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push(n[r].getSubject())}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getValue());return t},firstValue:function(e){if(!0===o)for(var t=0;t<n.length;t++){var r="_:"===n[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===r)return n[t].getSubject()}else for(var i=0;i<n.length;i++)if(null==e||e===n[i].getType())return n[i].getValue()}}},p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;c(this,e),this._graph=t||{},this._bnodes={},this._bnodesIndexed=!1,!1!==n&&this.validate(),this._changed=!1}var t,n,s;return t=e,(n=[{key:"isEmpty",value:function(){var e=this;return!Object.keys(this._graph).find((function(t){var n=e._graph[t];return Object.keys(n).find((function(e){return n[e].find((function(e){return null==e._statement||e._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(e,t){for(var n,r={},o=e.find(),i=0;i<o.length;i++){var a=o[i],s=a.getSubject(),l=a.getPredicate(),c=a.getCleanObject();t&&(c.ng=t),0===s.indexOf("_:")&&(n=r[s]||this._newBNode(),r[s]=n,s=n),0===l.indexOf("_:")&&(n=r[l]||this._newBNode(),r[l]=n,l=n),"bnode"===c.type&&(n=r[c.value]||this._newBNode(),r[c.value]=n,c.value=n),this.add(s,l,c)}}},{key:"add",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(e instanceof i.default){var s=e.getPredicate(),l=e.getObject(),c=e.getSubject();this._trackBNodes(c,s,l);var u=this._graphObject(l),d=r.default.add(this._graph,c,s,u,a);return!0!==o&&this.setChanged(),this._get(c,s,d,!0)}return this.create(e,t,n,!0,o,a)}},{key:"addL",value:function(e,t,n,r){var o={type:"literal",value:n};return"string"==typeof r&&(o.lang=r),this.create(e,t,o,!0)}},{key:"addD",value:function(e,t,n,r){var i={type:"literal",value:n};return"string"==typeof r&&(i.datatype=o.default.expand(r)),this.create(e,t,i,!0)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=e,d=t,f=n;if(u=null==u?this._newBNode():o.default.expand(u),d=null==d?this._newBNode():o.default.expand(d),null==f?f={type:"bnode",value:this._newBNode()}:r.default.isString(f)?f={type:"uri",value:o.default.expand(f)}:"object"!==l(f)||Array.isArray(f)?f={type:"uri",value:"".concat(f)}:("uri"===(f={type:f.type,value:f.value,lang:f.lang,datatype:f.datatype}).type&&null!=f.value&&(f.value=o.default.expand(f.value)),f.datatype&&(f.datatype=o.default.expand(f.datatype))),!1!==a){var p=r.default.add(this._graph,u,d,f,c);return!0!==s&&this.setChanged(),this._getOrCreate(u,d,p,!0)}return new i.default(this,u,d,f,!1)}},{key:"findAndRemove",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.find(e,t,n),i=0;i<o.length;i++)this.remove(o[i],r)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getSubject(),o=e.getPredicate(),i=e.getObject();this._trackBNodes(n,o,i),null!=r.default.remove(this._graph,n,o,i)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,n){var i=e,a=t,s=n;if("string"==typeof i&&(i=o.default.expand(i)),"string"==typeof a&&(a=o.default.expand(a)),"object"===l(s)&&null!==s&&"uri"===s.type?s.value=o.default.expand(s.value):"string"==typeof s&&(s={type:"uri",value:o.default.expand(s)}),null==s)return null==a?null==i?this._find():this._findS(i):null==i?this._findP(a):this._findSP(i,a);if(null==a)return null==i?this._findO(s):this._findSO(i,s);if(null==i)return this._findPO(a,s);var c=this._get(i,a,r.default.contains(this._graph,i,a,s),!0);return null==c?[]:[c]}},{key:"findFirstValue",value:function(e,t){var n=this.find(e,t);if(n.length>0)return n[0].getValue()}},{key:"projection",value:function(e,t,n){var r=this,o={};return Object.keys(t).forEach((function(i){var a=t[i],s=Array.isArray(a)?r.findPath(e,a):r.find(e,a);if(s.length>0)switch("*"===i[0]?o[i.substr(1)]=s.map((function(e){return e.getValue()})):o[i]=s[0].getValue(),n||"none"){case"statement":o["*".concat(i)]=s;break;case"objects":o["*".concat(i)]=s.map((function(e){return e.getCleanObject()}));break;case"values":o["*".concat(i)]=s.map((function(e){return e.getValue()}))}})),o}},{key:"subjects",value:function(e,t){return f(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return f(this,d(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return f(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return f(this,d(this.find(e,t,null)))}},{key:"findPath",value:function(e,t){return t.slice(1).reduce((function(e,t){return e.objects(t)}),this.objects(e,t[0])).statements()}},{key:"addList",value:function(e){return this._addList(e,"add")}},{key:"addListL",value:function(e,t){return this._addList(e,"addL",t)}},{key:"addListD",value:function(e,t){return this._addList(e,"addD",t)}},{key:"_addList",value:function(e,t,n){var r,i=this;if(Array.isArray(e)&&0!==e.length){var a=r=this._newBNode(),s=e.length-1;e.forEach((function(e,r){i[t](a,"rdf:first",e,n),r!==s?a=i.add(a,"rdf:rest").getValue():i.add(a,"rdf:rest","rdf:nil")}))}else r=o.default.expand("rdf:nil");return r}},{key:"removeList",value:function(e){var t=!1,n="object"===l(e)?e.value:e;try{var r=o.default.expand("rdf:nil");for(t=n===r;n!==r&&null!=n;){var i=this.findFirstValue(n,"rdf:rest");this.findAndRemove(n),t=null!=(n=i)}}catch(e){return console.warn("Invalid list for object: ".concat(n)),!1}return t}},{key:"getList",value:function(e){var t="object"===l(e)?e.value:o.default.expand(e),n=[];try{for(var r=o.default.expand("rdf:nil");t!==r&&null!=t;)n.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn("Invalid list for object: ".concat(t))}return n}},{key:"findFirstListAsValues",value:function(e,t){return this.getList(this.findFirstValue(e,t)).map((function(e){return e.value}))}},{key:"findAndRemoveLists",value:function(e,t){var n=this,r=!1;return this.find(e,t).forEach((function(e){n.removeList(e.getValue())&&(n.remove(e),r=!0)})),r}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,r.default.clone(this._graph,e)}},{key:"replaceSubject",value:function(e,t){return this.replaceURI(e,t)}},{key:"replaceURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e]}return this.forEach((function(n,r,o){"uri"===o.type&&o.value===e&&(o.value=t),n===t&&o._statement&&(o._statement._s=t)})),this}},{key:"replaceBlankWithURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e],this.forEach((function(n,r,o){"bnode"===o.type&&o.value===e&&(o.value=t,o.type="uri"),n===t&&o._statement&&(o._statement._s=t)}))}return delete this._bnodes[e],this}},{key:"clone",value:function(){return new e(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(e){return Object.keys(this._graph[e]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(e){this._bnodes[e]=!0}},{key:"forEach",value:function(e){var t=this._graph;Object.keys(t).forEach((function(n){var r=t[n];Object.keys(r).forEach((function(t){r[t].forEach((function(r){e(n,t,r)}))}))}))}},{key:"map",value:function(e){var t=[];return this.forEach((function(n){t.push(e(n))})),t}},{key:"equals",value:function(e,t){return a.default.fingerprint(this,t)===a.default.fingerprint(e,t)}},{key:"size",value:function(){var e=0;return Object.values(this._graph).forEach((function(t){Object.values(t).forEach((function(t){e+=t.length}))})),e}},{key:"_get",value:function(e,t,n,r){if(null!=n)return this._getOrCreate(e,t,n,r)}},{key:"_getOrCreate",value:function(e,t,n,r){return null==n._statement&&(n._statement=new i.default(this,e,t,n,r)),n._statement}},{key:"_graphObject",value:function(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}},{key:"_findSP",value:function(e,t){var n=this;return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map((function(r){return n._get(e,t,r,!0)}))}},{key:"_findS",value:function(e){var t=this,n=this._graph[e],r=Object.keys(n||{}).map((function(n){return t._findSP(e,n)}));return Array.prototype.concat.apply([],r)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(n,r,o){t.push(e._get(n,r,o,!0))})),t}},{key:"_findP",value:function(e){var t=this,n=[];return this.forEach((function(r,o,i){e===o&&n.push(t._get(r,o,i,!0))})),n}},{key:"_findO",value:function(e){var t=this,n=[];return this.forEach((function(o,i,a){r.default.objectEquals(e,a)&&n.push(t._get(o,i,a,!0))})),n}},{key:"_findSO",value:function(e,t){var n=this,o=[];return this.forEach((function(i,a,s){e===i&&r.default.objectEquals(t,s)&&o.push(n._get(i,a,s,!0))})),o}},{key:"_findPO",value:function(e,t){var n=this,o=[];return this.forEach((function(i,a,s){e===a&&r.default.objectEquals(t,s)&&o.push(n._get(i,a,s,!0))})),o}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(n){var o=e[n];r.default.isObject(o)?Object.keys(o).forEach((function(e){var i=o[e];Array.isArray(i)?i.forEach((function(o,i){r.default.isObject(o)?null!=o.type?r.default.isString(o.value)?t.nr+=1:(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),t.valid=!1)})):(t.errors.push({s:n,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)})):(t.errors.push({s:n,message:"Subject must point to an object."}),t.valid=!1)})),t}},{key:"_newBNode",value:function(){var e,t,n;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(n="_:".concat(Math.floor(Math.random()*(Math.pow(10,e)+1))),!0!==this._bnodes[n])return this._bnodes[n]=!0,n;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var e=this;if(!this._bnodesIndexed){var t=this._graph;Object.keys(t).forEach((function(n){0===n.indexOf("_:")&&(e._bnodes[n]=!0);var r=t[n];Object.keys(r).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),r[t].forEach((function(t){"bnode"===t.type&&(e._bnodes[t.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(e,t,n){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===n.type&&(this._bnodes[n.value]=!0)}}])&&u(t.prototype,n),s&&u(t,s),e}();t.default=p},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return void 0!==e&&(null===e||"object"===n(e)||Array.isArray(e)||"function"==typeof e)},o=function(e){return"string"==typeof e||e instanceof String},i=function(e,t,n){0===e[t][n].length&&(delete e[t][n],0===Object.keys(e[t]).length&&delete e[t])},a=function(e){if(!r(e[0]))throw new Error("Graph is not a object.");if(!o(e[1]))throw new Error("Subject is not a string.");if(!o(e[2]))throw new Error("Predicate is not a string.");if(!r(e[3]))throw new Error("Object is not a object.");if(void 0===e[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===e[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},s=function(e,t){return e===t||null==e&&e===t||(o(e)?o(t)?e===t:e===t.value:o(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},l=function(e){var t={type:e.type,value:e.value};return null!=e.ng&&(t.ng=e.ng),null!=e.lang&&(t.lang=e.lang),null!=e.datatype&&(t.datatype=e.datatype),t},c=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")},u={isObject:r,isString:o,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&s(e.o,t.o)},add:function(e,t,n,r,o){if(a([e,t,n,r]),void 0===e[t])return e[t]={},e[t][n]=[r],r;if(void 0===e[t][n])return e[t][n]=[r],r;var i,l=e[t][n];if(!o)for(i=l.length-1;i>=0;i--)if(s(r,l[i]))return l[i];return l.push(r),r},remove:function(e,t,n,r){if(a([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var o,l=e[t][n];for(o=l.length-1;o>=0;o--)if(s(r,l[o])){var c=l[o];return l.splice(o,1),i(e,t,n),c}}},contains:function(e,t,n,r){if(a([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var o,i=e[t][n];for(o=i.length-1;o>=0;o--)if(s(r,i[o]))return i[o]}},cleanup:i,checkForWrongArgs:a,objectEquals:s,findDirectOrRDFValue:function(e,t,n){var r=e.find(t,n);if(r.length>0)return"bnode"!==r[0].getType()?r[0].getValue():e.findFirstValue(r[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return Object.keys(e).forEach((function(r){var o=e[r];n[r]={},Object.keys(o).forEach((function(e){var i=o[e];if(1===i.length)n[r][e]=[l(i[0])];else if(t){var a=[],s=new Set;n[r][e]=a,o[e].forEach((function(e){var t=l(e),n=c(t);s.has(n)||(s.add(n),a.push(t))}))}else{var u=[];n[r][e]=u,o[e].forEach((function(e){u.push(l(e))}))}}))})),n}};t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(92))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(t,n,r,o,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._graph=t,this._s=n,this._p=r,this._o=o,this._o._statement=this,this._asserted=i}var t,n,r;return t=e,(n=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this._asserted&&(e?this._graph.add(this,void 0,void 0,this._silentValue,t):this._graph.remove(this,this._silentValue),this._asserted=e)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(e){this._silentValue=!1;var t=o.default.expand(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(e){this._silentValue=!1;var t=o.default.expand(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(e){this._o.ng=e}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var e=this._o,t={value:e.value,type:e.type};return this._o.ng&&(t.ng=e.ng),e.lang&&(t.lang=e.lang),this._o.datatype&&(t.datatype=e.datatype),t}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==e&&(this._o.lang=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==e&&(this._o.datatype=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(92)),o=i(n(660));function i(e){return e&&e.__esModule?e:{default:e}}var a={extract:function e(t,n,r,o,i){var a=o||{};return t.find(r,null,null).forEach((function(r){a[r.getPredicate()]?i&&n.add(r):(n.add(r),"bnode"===r.getType()&&e(t,n,r.getValue(),a))})),n},remove:function e(t,n,r){var o=r||{};t.find(n,null,null).forEach((function(n){t.remove(n),o[n.getPredicate()]||"bnode"===n.getType()&&e(t,n.getValue(),o)}))},fingerprint:function(e,t){var n=[],i=new Set((t||[]).map((function(e){return r.default.expand(e)}))),a=[],s={},l=function(e){var t=e.getValue();return e.getLanguage()&&(t+="@".concat(e.getLanguage())),e.getDatatype()&&(t+="^^".concat(e.getDatatype())),t},c=function(e,t){var n=s[e]||{rels:[]};s[e]=n,n.rels.push(t)};return e.find().forEach((function(e){var t=e.getSubject(),r=e.getPredicate();if(!i.has(r)){var o="bnode"===e.getType(),s=e.isSubjectBlank();if(s||o)return a.push(e),s&&c(e.getSubject(),o?r:r+l(e)),void("bnode"===e.getType()&&c(e.getValue(),s?r:t+r));n.push(t+r+l(e))}})),Object.values(s).forEach((function(e){e.rels.sort(),e.hash=(0,o.default)(e.rels.join(""))})),a.forEach((function(e){var t=[];t.push(e.isSubjectBlank()?s[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?s[e.getValue()].hash:l(e)),n.push(t.join(""))})),n.sort(),(0,o.default)(n.join(""))}};t.default=a},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.docpart=t.protocol=t.join=void 0;t.join=function(e,t){var n=t.indexOf("#");if(n>0&&(t=t.slice(0,n)),0==e.length)return t;if(0==e.indexOf("#"))return t+e;if(e.indexOf(":")>=0)return e;var r=t.indexOf(":");if(r<0)return console.log("Invalid base URL "+t),e;var o,i=t.slice(0,r+1);if(0==e.indexOf("//"))return i+e;if(t.indexOf("//",r)==r+1){if((o=t.indexOf("/",r+3))<0)return t.length-r-3>0?t+"/"+e:i+e}else if((o=t.indexOf("/",r+1))<0)return t.length-r-1>0?t+"/"+e:i+e;if(0==e.indexOf("/"))return t.slice(0,o)+e;var a=t.slice(o),s=a.lastIndexOf("/");if(s<0)return i+e;for(s>=0&&s<a.length-1&&(a=a.slice(0,s+1)),a+=e;a.match(/[^\/]*\/\.\.\//);)a=a.replace(/[^\/]*\/\.\.\//,"");return a=a.replace(/\.\//g,""),t.slice(0,o)+a};t.docpart=function(e){var t=e.indexOf("#");return t<0?e:e.slice(0,t)};t.protocol=function(e){return e.slice(0,e.indexOf(":"))}},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){function t(){return i(this,t),s(this,c(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var n=function(){return{min:1,max:1,pref:1}},r=l(c(t.prototype),"getChildren",this).call(this,e)||[];this._delegatedChildren=r.map((function(e){var t=Object.create(e);return t.getCardinality=n,t}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(141))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){function t(){return i(this,t),s(this,l(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(r=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(189))&&r.__esModule?r:{default:r}).default);t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(51))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=0,s=function(){function e(t){var n=t.item,r=t.statement,o=t.graph,i=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=n,this._statement=r,this._graph=o,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(a),this._matchingCode=i||"correct",a+=1}var t,n,r;return t=e,(n=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var e=this.getParent();e&&e._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(e){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(e,t){}},{key:"getGist",value:function(){return o.default.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var n=e,r=this.getItem().getValueTemplate();r&&n.length>0&&(-1===r.indexOf("$1")&&(r+="$1"),n=r.replace("$1",n)),this.setValue(n,t)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(e){this._cardinalityTracker=e}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(e){this._parent=e}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(e){this._matchingCode=e}},{key:"setAncestorValid",value:function(e){this._ancestorValid=e,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(e){this._listeners||(this._listeners=[]),this._listeners.push(e)}},{key:"removeListener",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"bindingChange",value:function(e){if(this._listeners)for(var t=0;t<this._listeners.length;t++)this._listeners[t](e);this._parent&&this._parent.bindingChange(e),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(e){var t=e;if("string"!=typeof t&&null!==t)throw new Error("In a binding every object value need to be a string!");var n=this._item.getPattern();return n?null!=(t=o.default.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(n,"$")).test(t):null!=t&&""!==t}},{key:"_isValidPredicateValue",value:function(e){if("string"!=typeof e&&null!==e)throw new Error("In a binding every predicate need to be a string!");return null!=e&&""!==e}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=s},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(25),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(190)(e))},,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){
25
+ function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,b,v,y,x="sizzle"+1*new Date,w=e.document,_=0,k=0,S=le(),E=le(),T=le(),C=le(),O=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,D=[],j=D.pop,I=D.push,N=D.push,M=D.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",V=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",B=new RegExp(R+"+","g"),z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),H=new RegExp("^"+R+"*,"+R+"*"),W=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),Y=new RegExp(R+"|>"),q=new RegExp(V),$=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(D=M.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){N={apply:D.length?function(e,t){I.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,c,u,d,h,b,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(i=d[1]){if(9===w){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(v&&(c=v.getElementById(i))&&y(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return N.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!C[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===w&&(Y.test(e)||W.test(e))){for((v=ee.test(e)&&be(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=x)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+ye(h[s]);b=h.join(",")}try{return N.apply(r,v.querySelectorAll(b)),r}catch(t){C(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[x]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},b=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",V)})),g=g.length&&new RegExp(g.join("|")),b=b.length&&new RegExp(b.join("|")),t=Z.test(h.compareDocumentPosition),y=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&y(w,e)?-1:t==p||t.ownerDocument==w&&y(w,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:u?P(u,e)-P(u,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!C[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(O),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!l&&!s,y=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===b:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&v){for(y=(p=(c=(u=(d=(f=g)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===_&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){u[e]=[_,p,y];break}}else if(v&&(y=p=(c=(u=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===_&&c[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==b:1!==f.nodeType)||!++y||(v&&((u=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[_,y]),f!==t)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=P(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[x]?ce((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return $.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=k++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,f=[_,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[i])&&c[0]===_&&c[1]===s)return f[2]=c[2];if(u[i]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function _e(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function ke(e,t,n,r,o,i){return r&&!r[x]&&(r=ke(r)),o&&!o[x]&&(o=ke(o,i)),ce((function(i,a,s,l){var c,u,d,f=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:_e(m,f,e,s,l),b=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,b,s,l),r)for(c=_e(b,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[p[u]]=!(g[p[u]]=d));if(i){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(g[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?P(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else b=_e(b===a?b.splice(h,b.length):b),o?o(null,a,b,l):N.apply(a,b)}))}function Se(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=xe((function(e){return e===t}),s,!0),d=xe((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[xe(we(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return ke(l>1&&we(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,l<o&&Se(e.slice(l,o)),o<i&&Se(e=e.slice(o)),o<i&&ye(e))}f.push(n)}return we(f)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=se.tokenize=function(e,t){var n,o,i,a,s,l,c,u=E[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):E(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[x]?o.push(s):i.push(s);(s=T(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,u){var d,h,g,b=0,v="0",y=i&&[],x=[],w=c,k=i||o&&r.find.TAG("*",u),S=_+=null==w?1:Math.random()||.1,E=k.length;for(u&&(c=a==p||a||u);v!==E&&null!=(d=k[v]);v++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,a||p,s)){l.push(d);break}u&&(_=S)}n&&((d=!g&&d)&&b--,i&&y.push(d))}if(b+=v,n&&v!==b){for(h=0;g=t[h++];)g(y,x,a,s);if(i){if(b>0)for(;v--;)y[v]||x[v]||(x[v]=j.call(l));x=_e(x)}N.apply(l,x),u&&!i&&x.length>0&&b+t.length>1&&se.uniqueSort(l)}return u&&(_=S,c=w),y};return n?ce(i):i}(i,o))).selector=e}return s},l=se.select=function(e,t,n,o){var i,l,c,u,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&be(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&ye(l)))return N.apply(n,o),n;break}}return(f||s(e,p))(o,t,!m,n,!t||ee.test(e)&&be(t.parentNode)||t),n},n.sortStable=x.split("").sort(O).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);k.find=E,k.expr=E.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=E.uniqueSort,k.text=E.getText,k.isXMLDoc=E.isXML,k.contains=E.contains,k.escapeSelector=E.escape;var T=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return b(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<r;t++)if(k.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,o[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&O.test(e)?k(e):e||[],!1).length}});var I,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=y.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,I=k(y);var M=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&k(e);if(!O.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?k.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var o=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=k.filter(r,o)),this.length>1&&(P[e]||k.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function F(e){return e}function U(e){throw e}function V(e,t,n,r){var o;try{e&&b(o=e.promise)?o.call(e).done(t).fail(n):e&&b(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){k.each(n,(function(n,r){b(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==_(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){for(var n;(n=k.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?k.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var o=b(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,b(c)?o?c.call(n,a(i,t,F,o),a(i,t,U,o)):(i++,c.call(n,a(i,t,F,o),a(i,t,U,o),a(i,t,F,t.notifyWith))):(r!==F&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(n,u.stackTrace),e+1>=i&&(r!==U&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(k.Deferred.getStackHook&&(u.stackTrace=k.Deferred.getStackHook()),n.setTimeout(u))}}return k.Deferred((function(n){t[0][3].add(a(0,n,b(o)?o:F,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:F)),t[2][3].add(a(0,n,b(r)?r:U))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},i={};return k.each(t,(function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=k.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(V(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||b(o[n]&&o[n].then)))return i.then();for(;n--;)V(o[n],a(n),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout((function(){throw e}))};var z=k.Deferred();function H(){y.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),k.ready()}k.fn.ready=function(e){return z.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||z.resolveWith(y,[k]))}}),k.ready.then=z.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(k.ready):(y.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var W=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===_(n))for(s in o=!0,n)W(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,b(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},Y=/^-ms-/,q=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function G(e){return e.replace(Y,"ms-").replace(q,$)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=k.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[G(t)]=n;else for(r in t)o[G(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new K,Z=new K,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return Z.hasData(e)||Q.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Z.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),te(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Z.set(this,e)})):W(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Z.get(i,e))||void 0!==(n=te(i,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,o=n.shift(),i=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){k.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=k.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ie=y.documentElement,ae=function(e){return k.contains(e.ownerDocument,e)},se={composed:!0};ie.getRootNode&&(ae=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===k.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},l=s(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&re.exec(k.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)k.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,k.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=ue[r];return o||(t=n.body.appendChild(n.createElement(r)),o=k.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ue[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}k.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?k(this).show():k(this).hide()}))}});var pe,he,me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;pe=y.createDocumentFragment().appendChild(y.createElement("div")),(he=y.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),g.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",g.option=!!pe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,g.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function _e(e,t,n,r,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===_(i))k.merge(f,i.nodeType?[i]:i);else if(we.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),l=ve[s]||ve._default,a.innerHTML=l[1]+k.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;k.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&k.inArray(i,r)>-1)o&&o.push(i);else if(c=ae(i),a=ye(d.appendChild(i),"script"),c&&xe(a),n)for(u=0;i=a[u++];)be.test(i.type||"")&&n.push(i);return d}var ke=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ee(){return!1}function Te(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ee;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,r,n)}))}function Oe(e,t,n){n?(Q.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:k.event.trigger(k.extend(i[0],k.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&k.event.add(e,t,Se)}k.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.get(e);if(X(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&k.find.matchesSelector(ie,o),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)p=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},u=k.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),k.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(p=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],n,r,!0);k.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=k.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=k.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((k.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?k(o,this).index(c)>-1:k.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Oe(t,"click",Se),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return Oe(this,e,Te),!1},trigger:function(){return Oe(this,e),!0},_default:function(){return!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||k.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){k.event.remove(this,e,n,t)}))}});var Ae=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)k.event.add(t,o,s[o][n]);Z.hasData(e)&&(i=Z.access(e),a=k.extend({},i),Z.set(t,a))}}function Le(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=l(t);var o,i,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],m=b(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&De.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Re(i,t,n,r)}));if(f&&(i=(o=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=k.map(ye(o,"script"),Ne)).length;d<f;d++)c=o,d!==p&&(c=k.clone(c,!0,!0),s&&k.merge(a,ye(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,k.map(a,Me),d=0;d<s;d++)c=a[d],be.test(c.type||"")&&!Q.access(c,"globalEval")&&k.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(je,""),c,u))}return e}function Fe(e,t,n){for(var r,o=t?k.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||k.cleanData(ye(r)),r.parentNode&&(n&&ae(r)&&xe(ye(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ye(s),r=0,o=(i=ye(e)).length;r<o;r++)Le(i[r],a[r]);if(t)if(n)for(i=i||ye(e),a=a||ye(s),r=0,o=i.length;r<o;r++)Pe(i[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&xe(a,!l&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,o=k.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Re(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Re(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(ye(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,r=[],o=k(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),k(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ue=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Be=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},ze=new RegExp(oe.join("|"),"i");function He(e,t,n){var r,o,i,a,s=e.style;return(n=n||Ve(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ae(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&Ue.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ie.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),r=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ie.appendChild(e).appendChild(t).appendChild(r),o=n.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ie.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],qe=y.createElement("div").style,$e={};function Ge(e){var t=k.cssProps[e]||$e[e];return t||(e in qe?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in qe)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=k.css(e,n+oe[a],!0,o)),r?("content"===n&&(l-=k.css(e,"padding"+oe[a],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+oe[a]+"Width",!0,o))):(l+=k.css(e,"padding"+oe[a],!0,o),"padding"!==n?l+=k.css(e,"border"+oe[a]+"Width",!0,o):s+=k.css(e,"border"+oe[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function tt(e,t,n){var r=Ve(e),o=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),i=o,a=He(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(o?"border":"content"),i,r,a)+"px"}function nt(e,t,n,r,o){return new nt.prototype.init(e,t,n,r,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=G(t),l=Ke.test(t),c=e.style;if(l||(t=Ge(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=re.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=G(t);return Ke.test(t)||(t=Ge(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=He(e,t,r)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Be(e,Qe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var o,i=Ve(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,i),l=r?et(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-et(e,t,"border",!1,i)-.5)),l&&(o=re.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),Je(0,n,l)}}})),k.cssHooks.marginLeft=We(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+oe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=Je)})),k.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ve(e),o=t.length;a<o;a++)i[t[a]]=k.css(e,t[a],!1,r);return i}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(k.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=nt.prototype.init,k.fx.step={};var rt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){ot&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,k.fx.interval),k.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=oe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ut(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=G(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=k.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(c,e,u,c.opts))return b(r.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return k.map(u,ut,c),b(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&le(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],it.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||k.style(e,r)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=Q.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=k.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&fe([e],!0),f.done((function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),p)k.style(e,r,p[r])}))),l=ut(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=k.isEmptyObject(e),i=k.speed(t,n,r),a=function(){var t=dt(this,k.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=k.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&at.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=k.timers,a=r?r.length:0;for(n.finish=!0,k.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,o)}})),k.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),rt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ot||(ot=!0,st())},k.fx.stop=function(){ot=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,pt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return W(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?k.prop(e,t,n):(1===i&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||k.find.attr;pt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=pt[a],pt[a]=o,o=null!=n(e,t,r)?a:null,pt[a]=i),o}}));var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(R)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}k.fn.extend({prop:function(e,t){return W(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each((function(t){k(this).addClass(e.call(this,t,bt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(o=bt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each((function(t){k(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(o=bt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=k(this),a=vt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;k.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=b(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(yt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:gt(k.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=k.makeArray(t),a=o.length;a--;)((r=o[a]).selected=k.inArray(k.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,o){var i,a,s,l,c,u,d,f,h=[r||y],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!xt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(r,t))){if(!o&&!d.noBubble&&!v(r)){for(l=d.delegateType||m,xt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(r.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:d.bindType||m,(u=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&X(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!X(r)||c&&b(r[m])&&!v(r)&&((s=r[c])&&(r[c]=null),k.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,wt),k.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var _t=n.location,kt={guid:Date.now()},St=/\?/;k.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||k.error("Invalid XML: "+(r?k.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Tt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var o;if(Array.isArray(t))k.each(t,(function(t,o){n||Et.test(e)?r(e,o):At(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==_(t))r(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,r)}k.param=function(e,t){var n,r=[],o=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(n in e)At(n,e[n],t,o);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Dt=/%20/g,jt=/#.*$/,It=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Lt={},Rt={},Ft="*/".concat("*"),Ut=y.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(R)||[];if(b(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var o={},i=e===Rt;function a(s){var l;return o[s]=!0,k.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,r,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Ut.href=_t.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,k.ajaxSettings),t):zt(k.ajaxSettings,e)},ajaxPrefilter:Vt(Lt),ajaxTransport:Vt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,l,c,u,d,f,p=k.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?k(h):k.event,g=k.Deferred(),b=k.Callbacks("once memory"),v=p.statusCode||{},x={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Nt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),E(0,t),this}};if(g.promise(S),p.url=((e||p.url||_t.href)+"").replace(Pt,_t.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Bt(Lt,p,t,S),c)return S;for(d in(u=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Mt.test(p.type),o=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Dt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(St.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(It,"$1"),f=(St.test(o)?"&":"?")+"_="+kt.guid+++f),p.url=o+f),p.ifModified&&(k.lastModified[o]&&S.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&S.setRequestHeader("If-None-Match",k.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,S,p)||c))return S.abort();if(_="abort",b.add(p.complete),S.done(p.success),S.fail(p.error),r=Bt(Rt,p,t,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,p]),c)return S;p.async&&p.timeout>0&&(s=n.setTimeout((function(){S.abort("timeout")}),p.timeout));try{c=!1,r.send(x,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,l){var d,f,y,x,w,_=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,S,a)),!d&&k.inArray("script",p.dataTypes)>-1&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,x,S,d),d?(p.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(k.etag[o]=w)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=x.state,f=x.data,d=!(y=x.error))):(y=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?g.resolveWith(h,[f,_,S]):g.rejectWith(h,[S,_,y]),S.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[S,p,d?f:y]),b.fireWith(h,[S,_]),u&&(m.trigger("ajaxComplete",[S,p]),--k.active||k.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,o){return b(n)&&(o=o||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return b(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=b(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Wt=k.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,k.ajaxTransport((function(e){var t,r;if(g.cors||Wt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,qt=[],$t=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||k.expando+"_"+kt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,r){var o,i,a,s=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($t,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||k.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?k(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,qt.push(o)),a&&b(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Yt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(r)):t=y),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=_e([e],t,i),i&&i.length&&k(i).remove(),k.merge([],o.childNodes)));var r,o,i},k.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=k.css(e,"position"),u=k(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=k.css(e,"top"),l=k.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),b(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(r,"marginTop",!0),left:t.left-o.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ie}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(r){return W(this,(function(e,r,o){var i;if(v(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=We(g.pixelPosition,(function(e,n){if(n)return n=He(e,t),Ue.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){k.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return W(this,(function(t,n,o){var i;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?k.css(t,n,s):k.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,o},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=b,k.isWindow=v,k.camelCase=G,k.type=_,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(r=function(){return k}.apply(t,[]))||(e.exports=r);var Xt=n.jQuery,Kt=n.$;return k.noConflict=function(e){return n.$===k&&(n.$=Kt),e&&n.jQuery===k&&(n.jQuery=Xt),k},void 0===o&&(n.jQuery=n.$=k),k}))},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(7);e.exports=r},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=Array.isArray;t.a=r},function(e,t,n){"use strict";var r=n(35),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.a?r.a.toStringTag:void 0;var l=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o},c=Object.prototype.toString;var u=function(e){return c.call(e)},d=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":d&&d in Object(e)?l(e):u(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(681)),o=a(n(84)),i=a(n(85));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=o.default.locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(t))return{value:e[t],precision:"exact",lang:t};if(t.indexOf("_")>-1&&e.hasOwnProperty(t.substr(0,2)))return{value:e[t.substr(0,2)],precision:"coarsen",lang:t.substr(0,2)};if(e.hasOwnProperty("en"))return{value:e.en,precision:"default",lang:"en"};if(e.hasOwnProperty(""))return{value:e[""],precision:"nolang",lang:""};var n=Object.keys(e);return n.length>0?{value:e[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},l=function(e,t,n){var r=e.find(t,n);if(r.length>0){for(var o={},i=0;i<r.length;i++)o[r[i].getLanguage()||""]=r[i].getValue();return o}},c={getLocalizedValue:s,getLocalizedMap:function(e,t,n){var r,o=t,a=n;e.getItem?(r=e.getGraph(),o=e.getValue(),a=e.getItem().getURIValueLabelProperties()):r=e,null!=a&&0!==a.length||(a=i.default.labelProperties);for(var c=0;c<a.length;c++){var u=a[c];if(Array.isArray(u)){for(var d=[],f=0;f<u.length;f++){var p=l(r,o,u[f]);p&&d.push(s(p).value)}if(d.length>0)return{"":d.join(" ")}}else{var h=l(r,o,u);if(h)return h}}},cloneArrayWithLabels:function(e,t){for(var n=[],o=0;o<e.length;o++){var i=e[o],a=s(i.label),l={value:i.value,label:a.value||i.value||""};!0===i.top&&(l.top=!0),null!=i.children&&(l.children=(0,r.default)(i.children)),!1===i.selectable?l.selectable=!1:l.selectable=!0,n.push(l)}return!0!==t&&n.sort((function(e,t){return e.label>t.label?1:-1})),n},extractGist:function(e,t){var n=t;if(n){-1===n.indexOf("$1")&&(n+="$1");var r="".concat(n).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),o=new RegExp(r).exec(e);if(null!=o)return o[1]}return e},findFirstValue:function(e,t,n,r){var o=e.findFirstValueBinding(e.match(t,n,r),!1);if(o)return o.getChoice?s(o.getChoice().label).value:o.getGist()},generateUUID:function(){var e=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}))}};t.default=c},function(e,t,n){var r=n(15).f,o=n(19),i=n(9)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(9),o=n(36),i=n(15),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r=n(6),o=n(114);e.exports=r?o:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(10),a=n(185),s=n(16),l=n(137),c=n(48),u=n(59),d=n(20),f=n(14),p=n(243),h=n(244),m=n(46),g=n(19),b=n(108),v=n(11),y=n(36),x=n(70),w=n(75).f,_=n(245),k=n(29).forEach,S=n(78),E=n(15),T=n(31),C=n(21),O=n(133),A=C.get,D=C.set,j=E.f,I=T.f,N=Math.round,M=o.RangeError,P=l.ArrayBuffer,L=l.DataView,R=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,U=s.TypedArray,V=s.TypedArrayPrototype,B=s.aTypedArrayConstructor,z=s.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(B(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){j(e,t,{get:function(){return A(this)[t]}})},Y=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},q=function(e,t){return z(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},$=function(e,t){return q(e,t=m(t,!0))?u(2,e[t]):I(e,t)},G=function(e,t,n){return!(q(e,t=m(t,!0))&&v(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?j(e,t,n):(e[t]=n.value,e)};i?(R||(T.f=$,E.f=G,W(V,"buffer"),W(V,"byteOffset"),W(V,"byteLength"),W(V,"length")),r({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:$,defineProperty:G}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,m=o[s],g=m,b=g&&g.prototype,E={},T=function(e,t){j(e,t,{get:function(){return function(e,t){var n=A(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=A(e);n&&(r=(r=N(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};R?a&&(g=t((function(e,t,n,r){return c(e,g,s),O(v(t)?Y(t)?void 0!==r?new m(t,h(n,i),r):void 0!==n?new m(t,h(n,i)):new m(t):z(t)?H(g,t):_.call(g,t):new m(p(t)),e,g)})),x&&x(g,U),k(w(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=b):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(v(t)){if(!Y(t))return z(t)?H(g,t):_.call(g,t);o=t,d=h(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw M("Wrong length");if((a=m-d)<0)throw M("Wrong length")}else if((a=f(r)*i)+d>m)throw M("Wrong length");l=a/i}else l=p(t),o=new P(a=l*i);for(D(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new L(o)});u<l;)T(e,u++)})),x&&x(g,U),b=g.prototype=y(V)),b.constructor!==g&&d(b,"constructor",g),F&&d(b,F,s),E[s]=g,r({global:!0,forced:g!=m,sham:!R},E),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in b||d(b,"BYTES_PER_ELEMENT",i),S(s)}):e.exports=function(){}},function(e,t,n){var r=n(182),o=n(183),i=n(121)("metadata"),a=i.store||(i.store=new o),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,getMap:s,has:function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){s(n,r,!0).set(e,t)},keys:function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},function(e,t,n){"use strict";var r=n(38),o=n(25),i=Object(r.a)(o.a,"DataView"),a=n(72),s=Object(r.a)(o.a,"Promise"),l=Object(r.a)(o.a,"Set"),c=Object(r.a)(o.a,"WeakMap"),u=n(50),d=n(66),f=Object(d.a)(i),p=Object(d.a)(a.a),h=Object(d.a)(s),m=Object(d.a)(l),g=Object(d.a)(c),b=u.a;(i&&"[object DataView]"!=b(new i(new ArrayBuffer(1)))||a.a&&"[object Map]"!=b(new a.a)||s&&"[object Promise]"!=b(s.resolve())||l&&"[object Set]"!=b(new l)||c&&"[object WeakMap]"!=b(new c))&&(b=function(e){var t=Object(u.a)(e),n="[object Object]"==t?e.constructor:void 0,r=n?Object(d.a)(n):"";if(r)switch(r){case f:return"[object DataView]";case p:return"[object Map]";case h:return"[object Promise]";case m:return"[object Set]";case g:return"[object WeakMap]"}return t});t.a=b},function(e,t,n){"use strict";(function(e){var r=n(143),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(190)(e))},function(e,t,n){"use strict";var r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(45);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(108),o=n(107),i=n(9)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(2),o=n(217);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){"use strict";var r=function(){this.__data__=[],this.size=0},o=n(94);var i=function(e,t){for(var n=e.length;n--;)if(Object(o.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;var s=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)};var l=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]};var c=function(e){return i(this.__data__,e)>-1};var u=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=r,d.prototype.delete=s,d.prototype.get=l,d.prototype.has=c,d.prototype.set=u;t.a=d},function(e,t,n){"use strict";var r=n(38),o=n(25),i=Object(r.a)(o.a,"Map");t.a=i},,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CODES=t.detectLevel=t.levelProfile=t.findFirstValueBinding=t.create=t.constructTemplate=t.findPopularChoice=t.findBindingRelativeToParentBinding=t.matchPathBelowBinding=t.fuzzyMatch=t.match=void 0;var r,o,i,a,s,l=x(n(84)),c=x(n(85)),u=x(n(262)),d=x(n(263)),f=x(n(191)),p=x(n(141)),h=x(n(669)),m=x(n(193)),g=x(n(142)),b=x(n(192)),v=x(n(672)),y=x(n(51));function x(e){return e&&e.__esModule?e:{default:e}}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _=!1,k=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return r(i),o(i),i};t.match=k;var S=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return r(i),_=!0,r(i),_=!1,o(i),i};t.fuzzyMatch=S;var E=function(e,t,n,r){var o=e.findProperties(t),i=[],a={};if(null!=r){var s=function(e){null!=e&&(!function e(t){null!=t.getProperty()?a[t.getProperty()]=!0:t instanceof p.default&&t.getChildren().forEach(e)}(e),i.push(e))};r.forEach((function(e){var t=n.getItem(e);null!=t?t instanceof p.default&&null==t.getProperty()?t.getChildren().forEach(s):s(t):(t=n.getItemByProperty(e))?s(t):console.warn("Warning, when autodetecting a template: Required item '".concat(e,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return o.forEach((function(e){if(!a[e]){var t=n.getItemByProperty(e);null!=t&&i.push(t)}}),void 0),n.createTemplateFromChildren(i)};t.constructTemplate=E;var T,C,O,A,D,j,I=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},N=function(e,t){var n,r,o=t.getChildren()[1],i=e.getGraph();o instanceof p.default?(n=i.create(e.getChildrenRootUri(),"",null,!1),r=s(i,n.getSubject(),o)):n=o instanceof f.default?i.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):i.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new h.default({item:t,statement:n,constraints:r});return e.addChildBinding(a),o instanceof p.default&&o.getChildren().forEach((function(e){M(a.getObjectBinding(),e)})),a},M=function(e,t,n){return t instanceof d.default?function(e,t){if(!t.getProperty()){var n=new v.default({item:t,statement:null,matchingCode:B.OK});return e.addChildBinding(n),n}var r=e.getGraph(),o=t.getNodetype(),i={value:"",type:"literal"};"URI"===o?i.type="uri":"DATATYPE_LITERAL"===o&&(i.datatype=I(t));var a=r.create(e.getChildrenRootUri(),t.getProperty(),i,!1),s=new g.default({item:t,statement:a});e.addChildBinding(s);var l=t.getValue(),c=s.getCardinalityTracker();if(null!=l&&1===c.getCounter()){a.setValue(l,!0);var u=I(t),d=t.getLanguage();null!=u?a.setDatatype(u,!0):null!=d&&a.setLanguage(d,!0)}return s}(e,t):t instanceof u.default?N(e,t):t instanceof p.default?function(e,t,n){var r,o;if(void 0!==t.getProperty()){var i=e.getGraph();r=(t.getNodetype(),i.create(e.getChildrenRootUri(),t.getProperty(),null,!1)),o=s(i,r.getValue(),t)}var a=new m.default({item:t,statement:r,constraints:o});e.addChildBinding(a);var l=t._source["@id"];if(l){if(n[l])return a;n[l]=!0}return a}(e,t,n||{}):t instanceof f.default?function(e,t){var n=e.getGraph(),r=t.getNodetype(),o={type:"literal",value:""};"DATATYPE_LITERAL"===r?o.datatype=I(t):"RESOURCE"!==r&&"URI"!==r||(o.type="uri");var i=n.create(e.getChildrenRootUri(),t.getProperty(),o,!1),a=new b.default({item:t,statement:i});e.addChildBinding(a);var s=t.getValue(),l=a.getCardinalityTracker();return null!=s&&1===l.getCounter()&&a.setChoice(D(t,s,n),!0),a}(e,t):void 0};t.create=M,r=function(e){_&&e.getChildBindings().forEach((function(e){"group"===e.getItem().getType()&&r(e)})),e.getItem().getChildren().forEach((function(t){_?void 0!==t.getProperty()&&T(e,t):T(e,t)}))};T=function(e,t){t instanceof f.default?function(e,t){if(null!=t.getProperty()){var n=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)){var r=C(t,e),o=O(t,e),s=A(t,e);if(r&&o&&s||_){var l=D(t,e.getValue(),e.getGraph());if(void 0!==l){a(e);var c=r?B.OK:B.WRONG_NODETYPE;o?s?l.mismatch&&(c=B.WRONG_VALUE):c=B.WRONG_PATTERN:c=B.WRONG_DATATYPE,n.push(new b.default({item:t,statement:e,choice:l,matchingCode:c}))}}}})),n.length>0&&e.addChildBindings(n)}}(e,t):t instanceof u.default?function(e,t){var n,o,s,l,c=t.getPropertyItem(),u=t.getObjectItem(),d=e.getGraph(),m=[];d.find(e.getChildrenRootUri()).forEach((function(e){i(e)&&C(u,e)&&A(u,e)&&void 0!==(s=D(c,e.getPredicate(),e.getGraph()))&&(o=null,u instanceof p.default?void 0!==(n=j(d,e.getValue(),u))&&(a(e),o=new h.default({item:t,statement:e,constraints:n}),r(o.getObjectBinding())):u instanceof f.default?void 0!==(l=D(u,e.getValue(),e.getGraph()))&&(a(e),(o=new h.default({item:t,statement:e})).getObjectBinding().setChoice(l)):(a(e),o=new h.default({item:t,statement:e})),null!==o&&(o.getPredicateBinding().setChoice(s),m.push(o)))})),m.length>0&&e.addChildBindings(m)}(e,t):t instanceof p.default?function(e,t){var n,o,s,l,c=e.getGraph();void 0!==t.getProperty()?(n=c.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(o=[],n.forEach((function(e){if(i(e)){var n=A(t,e),u=C(t,e);if((n&&u||_)&&(void 0!==(s=j(c,e.getValue(),t))||_)){var d=u?B.OK:B.WRONG_NODETYPE;n?void 0===s&&(d=B.MISSING_CONSTRAINTS):d=B.WRONG_PATTERN,a(e),l=new m.default({item:t,statement:e,constraints:s,matchingCode:d}),o.push(l),d===B.OK&&r(l)}}})),e.addChildBindings(o)):(l=new m.default({item:t}),e.addChildBindings([l]),r(l))}(e,t):t instanceof d.default&&function(e,t){var n=[];null==t.getProperty()?n.push(new v.default({item:t,statement:null,matchingCode:B.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)&&A(t,e)){var r=C(t,e),o=O(t,e);if(r&&(o||t.hasStyle("relaxedDatatypeMatch"))||_){a(e);var s=r?B.OK:B.WRONG_NODETYPE;o||(s=B.WRONG_DATATYPE),n.push(new g.default({item:t,statement:e,matchingCode:s}))}}})),n.length>0&&e.addChildBindings(n)}(e,t)},C=function(e,t){var n=t.getType();switch(e.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===n;case"RESOURCE":return"uri"===n||"bnode"===n;case"URI":return"uri"===n;case"BLANK":return"bnode"===n}return!1},O=function(e,t){var n="DATATYPE_LITERAL"===e.getNodetype()&&e.getDatatype()||null;return null==n||(Array.isArray(n)?-1!==n.indexOf(t.getDatatype()):t.getDatatype()===n)},A=function(e,t){var n=e.getPattern(),r=y.default.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==n)try{return new RegExp("^".concat(n,"$")).test(r)}catch(e){return!0}return!0},j=function(e,t,n){var r,o=n.getConstraints(),i=[],a=function(n,o){if(1!==(r=e.find(t,n,{type:"uri",value:o})).length)return!1;i.push(r[0])};if("object"===w(o)&&null!==o){for(var s=Object.keys(o),l=function(e){var t=s[e],n=o[t];if(n instanceof Array){var r=!0;if(n.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,n))return{v:void 0}},c=0;c<s.length;c++){var u=l(c);if("object"===w(u))return u.v}return i}return[]},s=function(e,t,n){var r=[],o=n.getConstraints();return"object"===w(o)&&null!==o&&Object.keys(o).forEach((function(n){var i=o[n];Array.isArray(i)?r.push(e.create(t,n,{type:"uri",value:i[0]},!1)):r.push(e.create(t,n,{type:"uri",value:i},!1))})),r},D=function(e,t,n){var r,o;if(e.hasChoices()){for(o=e.getChoices(),r=0;r<o.length;r++)if(o[r].value===t)return o[r];if(!e.hasStyle("strictmatch")||_)return{value:t,label:{"":t},mismatch:!0}}else{var i=y.default.getLocalizedMap(n,t,e.getLabelProperties());null==i&&_&&(i={"":t,mismatch:!0});var a=n.findFirstValue(t,b.default.seeAlso);if(null!=i){var s={label:i,value:t};return a&&(s.seeAlso=a),s}if(null!=c.default.getChoice)return c.default.getChoice(e,t,a,n)}},a=function(e){e._dibbs=!0},i=function(e){return!0!==e._dibbs},o=function(e){var t,n,r,i=e.getItemGroupedChildBindings()||[];for(t=0;t<i.length;t++)for(r=i[t],n=0;n<r.length;n++){var a=r[n];a._statement&&delete a._statement._dibbs,(a instanceof m.default||a instanceof h.default)&&o(a)}};var P=function e(t,n){if(t instanceof g.default)return t;for(var r=t.getItemGroupedChildBindings(),o=l.default.locale(),i=0;i<r.length;i++){var a=r[i],s=t.getItem().getChildren()[i];if(0!==a.length){if(!(s instanceof d.default))return e(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var c={firstValue:a[0]},u=0;u<a.length;u++){var f=a[u].getLanguage();null==f?c.emptyLanguageValue=a[u]:f===o?c.perfectLocaleLanguageValue=a[u]:f.substring(0,1)===o.substring(0,1)?c.localeLanguageValue=a[u]:-1!==f.indexOf("en")?c.defaultLanguageValue=a[u]:c.anyLanguageValue=a[u]}return c.perfectLocaleLanguageValue||c.localeLanguageValue||c.defaultLanguageValue||c.anyLanguageValue||c.firstValue}return a[0]}if(n){var p=M(t,s,{});return p instanceof g.default?(p.setLanguage(o),p):e(p,!0)}}};t.findFirstValueBinding=P;var L=function e(t,n){for(var r="/"===n[0]?n.slice(1):n,o=t.getItemGroupedChildBindings(),i=r[0],a=0;a<o.length;a++)for(var s=o[a],l=void 0,c=0;c<s.length;c++){var u=s[c],d=u.getItem();if(d instanceof f.default&&void 0===d.getProperty()&&i===d.getId()&&2===r.length&&r[1]===u.getValue())return u;if(u.isValid()){if("propertygroup"===d.getType())d=(u=u.getObjectBinding()).getItem();else if(void 0===d.getProperty()&&(l=e(u,r)))return l;if("*"===i||i===u.getPredicate())if("group"===d.getType()){if(l=e(u,r.slice(1)))return l}else if(1===r.length||"*"===r[1]||r[1]===u.getValue())return u}}};t.matchPathBelowBinding=L;var R=function(e,t){var n=t[0],r=e;if("/"===n){for(;r.getParent();)r=r.getParent();return r}if(".."===n){for(var o=0;o<t.length;o++){if(".."!==t[o]||!r.getParent())return r;r=r.getParent()}return r}return e};t.findBindingRelativeToParentBinding=R;var F=function(e,t){var n=e.getId(),r={},o={};e.getChoices().forEach((function(e){r[e.value]=0,o[e.value]=e}));t.getChildBindings().forEach((function(e){var t=e.getItem().getDeps();if(t&&(t[0]===n||"/"===t[0]&&t[1]===n)){var o="/"===t[0]?t[2]:t[1],i=r[o];void 0!==i&&(r[o]=i+1)}}));var i,a=0;return Object.keys(r).forEach((function(e){(!i||r[e]>a)&&(i=e,a=r[e])})),o[i]};t.findPopularChoice=F;var U=function(e){var t=function e(t,n,r){var o=n.getCardinality();return r&&"group"===n.getType()||(null!=o?o.min>0?t.mandatory+=1:o.pref>0?t.recommended+=1:t.optional+=1:t.optional+=1),"group"===n.getType()&&n.getChildren().forEach((function(n){return e(t,n)})),t}({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t};t.levelProfile=U;var V=function(e){if(e.mandatory>0){if(0===e.recommended&&0===e.optional)return"mandatory";if(0===e.optional)return"mixed_mandatory_recommended";if(0===e.recommended)return"mixed_mandatory_optional"}else{if(e.recommended>0)return 0===e.optional?"recommended":"mixed_recommended_optional";if(0===e.recommended&&e.recommended>0&&0===e.optional)return"optional"}return"mixed_all"};t.detectLevel=V;var B={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"};t.CODES=B;var z={detectLevel:V,levelProfile:U,findFirstValueBinding:P,create:M,constructTemplate:E,findPopularChoice:F,match:k,fuzzyMatch:S,matchPathBelowBinding:L,findBindingRelativeToParentBinding:R,CODES:B};t.default=z},function(e,t,n){var r=n(209),o=n(162).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(102),o=n(11),i=n(19),a=n(15).f,s=n(101),l=n(106),c=s("meta"),u=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,c)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[c].objectID},getWeakData:function(e,t){if(!i(e,c)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[c].weakData},onFreeze:function(e){return l&&p.REQUIRED&&d(e)&&!i(e,c)&&f(e),e}};r[c]=!0},function(e,t,n){"use strict";var r=n(46),o=n(15),i=n(59);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var r=n(17),o=n(15),i=n(9),a=n(10),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"converters",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Statement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return l.default}}),n(499);var r=c(n(92)),o=c(n(656)),i=c(n(256)),a=c(n(258)),s=c(n(259)),l=c(n(665));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(6),o=n(114);e.exports=r?o:function(e){return Set.prototype.values.call(e)}},function(e,t,n){"use strict";var r=n(47),o=n(5),i=n(2),a=n(36),s=n(20),l=n(61),c=n(9),u=n(21),d=n(17)("Promise"),f=u.set,p=u.get,h=c("toStringTag"),m=function(e){var t=p(this).iterator,n=t.return;return void 0===n?d.resolve({done:!0,value:e}):i(n.call(t,e))},g=function(e){var t=p(this).iterator,n=t.throw;return void 0===n?d.reject(e):n.call(t,e)};e.exports=function(e,t){var n=function(e){e.next=o(e.iterator.next),e.done=!1,f(this,e)};return n.prototype=l(a(r.AsyncIterator.prototype),{next:function(t){var n=p(this);if(n.done)return d.resolve({done:!0,value:void 0});try{return d.resolve(i(e.call(n,t,d)))}catch(e){return d.reject(e)}},return:m,throw:g}),t||s(n.prototype,h,"Generator"),n}},function(e,t,n){"use strict";var r=n(47),o=n(5),i=n(2),a=n(36),s=n(20),l=n(61),c=n(9),u=n(21),d=u.set,f=u.get,p=c("toStringTag"),h=function(e){var t=f(this).iterator,n=t.return;return void 0===n?{done:!0,value:e}:i(n.call(t,e))},m=function(e){var t=f(this).iterator,n=t.throw;if(void 0===n)throw e;return n.call(t,e)};e.exports=function(e,t){var n=function(e){e.next=o(e.iterator.next),e.done=!1,d(this,e)};return n.prototype=l(a(r.Iterator.prototype),{next:function(){var t=f(this),n=t.done?void 0:e.apply(t,arguments);return{done:t.done,value:n}},return:h,throw:m}),t||s(n.prototype,p,"Generator"),n}},function(e,t,n){"use strict";(function(e){var r=n(25),o=n(265),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||o.a;t.a=l}).call(this,n(190)(e))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return kt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=p(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function m(e){var t=f(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var g=r.momentProperties=[];function b(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)a(o=t[r=g[n]])||(e[r]=o);return e}var v=!1;function y(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function x(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&_(e[r])!==_(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,C={};function O(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(S(t),C[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function N(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function M(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function P(e){var t,n,r={};for(n in e)u(e,n)&&(t=M(n))&&(r[t]=e[n]);return r}var L={};function R(e,t){L[e]=t}function F(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function H(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(z[e]=o),t&&(z[t[0]]=function(){return F(o.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=Y(t,e.localeData()),B[t]=B[t]||function(e){var t,n,r,o=e.match(U);for(t=0,n=o.length;t<n;t++)z[o[t]]?o[t]=z[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=A(o[r])?o[r].call(t,e):o[r];return i}}(t),B[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;n>=0&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var q=/\d/,$=/\d\d/,G=/\d{3}/,X=/\d{4}/,K=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ce(e,t,n){le[e]=A(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(function(e){return de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}(e))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function he(e,t){pe(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function me(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}function ge(e){return be(e)?366:365}function be(e){return e%4==0&&e%100!=0||e%400==0}H("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),N("year","y"),R("year",1),ce("Y",oe),ce("YY",Q,$),ce("YYYY",te,X),ce("YYYYY",ne,K),ce("YYYYYY",ne,K),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):_(e)})),pe("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var ve,ye=xe("FullYear",!0);function xe(e,t){return function(n){return null!=n?(_e(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function _e(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?be(e)?29:28:31-r%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),R("month",8),ce("M",Q),ce("MM",Q,$),ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),ce("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=_(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:p(n).invalidMonth=e}));var Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ce(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))||-1!==(o=ve.call(this._longMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))||-1!==(o=ve.call(this._shortMonthsParse,a))?o:null}function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ae(e){return null!=e?(Oe(this,e),r.updateOffset(this,!0),this):we(this,"Month")}var De=se,je=se;function Ie(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ne(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Me(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Pe(e,t,n){var r=7+t-n;return-(7+Me(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Pe(e,r,o);return s<=0?a=ge(i=e-1)+s:s>ge(e)?(i=e+1,a=s-ge(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Re(e,t,n){var r,o,i=Pe(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Fe(o=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Fe(e,t,n){var r=Pe(e,t,n),o=Pe(e+1,t,n);return(ge(e)-r+o)/7}function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),R("week",5),R("isoWeek",5),ce("w",Q),ce("ww",Q,$),ce("W",Q),ce("WW",Q,$),he(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=_(e)})),H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),ce("d",Q),ce("e",Q),ce("E",Q),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),he(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:p(n).invalidWeekday=e})),he(["d","e","E"],(function(e,t,n,r){t[r]=_(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function He(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null}var We=se,Ye=se,qe=se;function $e(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=de(s[t]),l[t]=de(l[t]),c[t]=de(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Xe(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Ge),H("k",["kk",2],0,(function(){return this.hours()||24})),H("hmm",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),N("hour","h"),R("hour",13),ce("a",Ke),ce("A",Ke),ce("H",Q),ce("h",Q),ce("k",Q),ce("HH",Q,$),ce("hh",Q,$),ce("kk",Q,$),ce("hmm",Z),ce("hmmss",J),ce("Hmm",Z),ce("Hmmss",J),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=_(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=_(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r,2)),t[5]=_(e.substr(o)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=_(e.substr(0,r)),t[4]=_(e.substr(r,2)),t[5]=_(e.substr(o))}));var Qe,Ze=xe("Hours",!0),Je={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Qe._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(e){}return et[t]}function ot(e,t){var n;return e&&((n=a(t)?at(e):it(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function it(e,t){if(null!==t){var n,r=Je;if(t.abbr=e,null!=et[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new j(D(r,t)),tt[e]&&tt[e].forEach((function(e){it(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=nt(e[i]).split("-")).length,n=(n=nt(e[i+1]))?n.split("-"):null;t>0;){if(r=rt(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(o,n,!0)>=t-1)break;t--}i++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=lt(t.GG,e._a[0],Re(St(),1,4).year),r=lt(t.W,1),((o=lt(t.E,1))<1||o>7)&&(l=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var c=Re(St(),i,a);n=lt(t.gg,e._a[0],c.year),r=lt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i}r<1||r>Fe(n,i,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Le(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=lt(e._a[0],o[0]),(e._dayOfYear>ge(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Me(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Me:Ne).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((\-?\d+)/i;function gt(e){var t,n,r,o,i,a,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(p(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){o=pt[t][0],r=!1!==pt[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[3])){i=(l[2]||" ")+ht[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!ft.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),wt(e)}else e._isValid=!1}var bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,r,o,i,a,s,l=bt.exec(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(l){var c=(t=l[4],n=l[3],r=l[2],o=l[5],i=l[6],a=l[7],s=[vt(t),Te.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return yt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(l[8],l[9],l[10]),e._d=Me.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function wt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,o,i,a,s=""+e._i,l=s.length,c=0;for(o=Y(e._f,e._locale).match(U)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),z[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),me(i,n,e)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ct(e),st(e)}else xt(e);else gt(e)}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new y(st(t)):(l(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],wt(t),h(t)&&(i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?wt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(gt(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),ct(e)):i(t)?function(e){if(!e._d){var t=P(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ct(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),h(e)||(e._d=null),e))}function kt(e,t,n,r,a){var s,l={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=r,(s=new y(st(_t(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function St(e,t,n,r){return kt(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Et=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),Tt=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function Ct(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var t=P(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ve.call(Ot,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Ot.length;++r)if(e[Ot[r]]){if(n)return!1;parseFloat(e[Ot[r]])!==_(e[Ot[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Dt(e){return e instanceof At}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}It("Z",":"),It("ZZ",""),ce("Z",ae),ce("ZZ",ae),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Mt(ae,e)}));var Nt=/([\+\-]|\d\d)/gi;function Mt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Nt)||["-",0,0],o=60*r[1]+_(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Pt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(x(e)||l(e)?e.valueOf():St(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):St(e).local()}function Lt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Ft=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,o,i,a,l,c=e,d=null;return Dt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(c={},t?c[t]=e:c.milliseconds=e):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:_(d[2])*n,h:_(d[3])*n,m:_(d[4])*n,s:_(d[5])*n,ms:_(jt(1e3*d[6]))*n}):(d=Ut.exec(e))?(n="-"===d[1]?-1:1,c={y:Bt(d[2],n),M:Bt(d[3],n),w:Bt(d[4],n),d:Bt(d[5],n),h:Bt(d[6],n),m:Bt(d[7],n),s:Bt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(i=St(c.from),a=St(c.to),o=i.isValid()&&a.isValid()?(a=Pt(a,i),i.isBefore(a)?l=zt(i,a):((l=zt(a,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=o.milliseconds,c.M=o.months),r=new At(c),Dt(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ht(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Wt(this,Vt(n="string"==typeof n?+n:n,r),e),this}}function Wt(e,t,n,o){var i=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(o=null==o||o,s&&Oe(e,we(e,"Month")+s*n),a&&_e(e,"Date",we(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Vt.fn=At.prototype,Vt.invalid=function(){return Vt(NaN)};var Yt=Ht(1,"add"),qt=Ht(-1,"subtract");function $t(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Gt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Kt(){return this._locale}function Qt(e,t){return(e%t+t)%t}function Zt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Jt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){H(0,[e,e.length],0,t)}function tn(e,t,n,r,o){var i;return null==e?Re(this,r,o).year:(t>(i=Fe(e,r,o))&&(t=i),nn.call(this,e,t,n,r,o))}function nn(e,t,n,r,o){var i=Le(e,t,n,r,o),a=Me(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",Q,$),ce("gg",Q,$),ce("GGGG",te,X),ce("gggg",te,X),ce("GGGGG",ne,K),ce("ggggg",ne,K),he(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=_(e)})),he(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),N("quarter","Q"),R("quarter",7),ce("Q",q),pe("Q",(function(e,t){t[1]=3*(_(e)-1)})),H("D",["DD",2],"Do","date"),N("date","D"),R("date",9),ce("D",Q),ce("DD",Q,$),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=_(e.match(Q)[0])}));var rn=xe("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),R("dayOfYear",4),ce("DDD",ee),ce("DDDD",G),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_(e)})),H("m",["mm",2],0,"minute"),N("minute","m"),R("minute",14),ce("m",Q),ce("mm",Q,$),pe(["m","mm"],4);var on=xe("Minutes",!1);H("s",["ss",2],0,"second"),N("second","s"),R("second",15),ce("s",Q),ce("ss",Q,$),pe(["s","ss"],5);var an,sn=xe("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),R("millisecond",16),ce("S",ee,q),ce("SS",ee,$),ce("SSS",ee,G),an="SSSS";an.length<=9;an+="S")ce(an,re);function ln(e,t){t[6]=_(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")pe(an,ln);var cn=xe("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Yt,un.calendar=function(e,t){var n=e||St(),o=Pt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(A(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=M(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)},un.endOf=function(e){var t;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Zt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Qt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Qt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||St(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||St(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return A(this[e=M(e)])?this[e]():this},un.invalidAt=function(){return p(this).overflow},un.isAfter=function(e,t){var n=x(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=x(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,r){var o=x(e)?e:St(e),i=x(t)?t:St(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},un.isSame=function(e,t){var n,r=x(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=M(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return h(this)},un.lang=Xt,un.locale=Gt,un.localeData=Kt,un.max=Tt,un.min=Et,un.parsingFlags=function(){return d({},p(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=P(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(A(this[e=M(e)]))return this[e](t);return this},un.startOf=function(e){var t;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Zt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Qt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Qt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},un.subtract=qt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return be(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Ae,un.daysInMonth=function(){return ke(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Re(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return Fe(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Ze,un.minute=un.minutes=on,un.second=un.seconds=sn,un.millisecond=un.milliseconds=cn,un.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Mt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Lt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Wt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Lt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Lt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Mt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Rt,un.isUTC=Rt,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=E("dates accessor is deprecated. Use date instead.",rn),un.months=E("months accessor is deprecated. Use month instead",Ae),un.years=E("years accessor is deprecated. Use year instead",ye),un.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=_t(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=j.prototype;function pn(e,t,n,r){var o=at(),i=f().set(r,t);return o[n](i,e)}function hn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=pn(e,r,n,"month");return o}function mn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=at(),a=e?i._week.dow:0;if(null!=n)return pn(t,(n+a)%7,r,"day");var l=[];for(o=0;o<7;o++)l[o]=pn(t,(o+a)%7,r,"day");return l}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=dn,fn.postformat=dn,fn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return A(o)?o(e,t,n,r):o.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)A(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Ce.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Re(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return He.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",at);var gn=Math.abs;function bn(e,t,n,r){var o=Vt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var _n=wn("ms"),kn=wn("s"),Sn=wn("m"),En=wn("h"),Tn=wn("d"),Cn=wn("w"),On=wn("M"),An=wn("Q"),Dn=wn("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var In=jn("milliseconds"),Nn=jn("seconds"),Mn=jn("minutes"),Pn=jn("hours"),Ln=jn("days"),Rn=jn("months"),Fn=jn("years"),Un=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,M:11};function Bn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),o=zn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var i=w(o/12),a=o%=12,s=r,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=Hn(this._months)!==Hn(d)?"-":"",h=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(i?p+i+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var Yn=At.prototype;return Yn.isValid=function(){return this._isValid},Yn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Yn.add=function(e,t){return bn(this,e,t,1)},Yn.subtract=function(e,t){return bn(this,e,t,-1)},Yn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=M(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Yn.asMilliseconds=_n,Yn.asSeconds=kn,Yn.asMinutes=Sn,Yn.asHours=En,Yn.asDays=Tn,Yn.asWeeks=Cn,Yn.asMonths=On,Yn.asQuarters=An,Yn.asYears=Dn,Yn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},Yn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*vn(xn(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=w(i/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,a+=w(n/24),o=w(yn(a)),s+=o,a-=vn(xn(o)),r=w(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},Yn.clone=function(){return Vt(this)},Yn.get=function(e){return e=M(e),this.isValid()?this[e+"s"]():NaN},Yn.milliseconds=In,Yn.seconds=Nn,Yn.minutes=Mn,Yn.hours=Pn,Yn.days=Ln,Yn.weeks=function(){return w(this.days()/7)},Yn.months=Rn,Yn.years=Fn,Yn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Vt(e).abs(),o=Un(r.as("s")),i=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),l=Un(r.as("M")),c=Un(r.as("y")),u=o<=Vn.ss&&["s",o]||o<Vn.s&&["ss",o]||i<=1&&["m"]||i<Vn.m&&["mm",i]||a<=1&&["h"]||a<Vn.h&&["hh",a]||s<=1&&["d"]||s<Vn.d&&["dd",s]||l<=1&&["M"]||l<Vn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,Bn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Yn.toISOString=Wn,Yn.toString=Wn,Yn.toJSON=Wn,Yn.locale=Gt,Yn.localeData=Kt,Yn.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Yn.lang=Xt,H("X",0,0,"unix"),H("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(_(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return hn(e,t,"months")},r.isDate=l,r.locale=ot,r.invalid=m,r.duration=Vt,r.isMoment=x,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Dt,r.monthsShort=function(e,t){return hn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=it,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Je;null!=(r=rt(e))&&(o=r._config),t=D(o,t),(n=new j(t)).parentLocale=et[e],et[e]=n,ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return T(et)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=M,r.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(666)(e))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(51))&&r.__esModule?r:{default:r};var i=function(e,t,n,r){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=o.default.getLocalizedMap(r,t,e.getURIValueLabelProperties());if(!i){var a=t.lastIndexOf("#"),s=t.lastIndexOf("/");i=a>0||s>0?{"":decodeURIComponent(t.substring(1+(a>s?a:s)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}},a={hasDnDSupport:function(e){return!1},addDnD:function(e,t,n){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(e,t){return!1},openChoiceSelector:function(e,t){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),t({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(e,t,n,r){return i(e,t,0,r)},getFallbackChoice:i,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(e,t){for(var n=t.getChildrenRootUri(),r=n.lastIndexOf("#"),o=-1===r?"".concat(n,"#"):n.substring(0,r+1),i=t.getGraph()._graph;;){var a=o+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==i[a])return a}}};t.default=a},,function(e,t,n){var r=n(209),o=n(162);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(172).IteratorPrototype,o=n(36),i=n(59),a=n(52),s=n(107),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},function(e,t,n){var r=n(40),o=n(28),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(2);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(28),o="["+n(132)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var r=globalThis.__rdfjson_namespaces,o=0,i=function(e,t,n){return r[e]||(r[e]=t),{abbrev:e,ns:t,localname:n,full:t+n,pretty:"".concat(e,":").concat(n)}},a=function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));if(t)return i(t,r[t],e.substring(r[t].length));var n=e.lastIndexOf("/"),a=e.lastIndexOf("#");return a>n&&(n=a),i("ns".concat(o+=1),e.substring(0,n+1),e.substring(n+1))},s={nsify:a,shortenKnown:function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));return t?i(t,r[t],e.substring(r[t].length)).pretty:e},shorten:function(e){return a(e).pretty},expand:function(e){var t=e.split(":");return 2===t.length&&r.hasOwnProperty(t[0])?r[t[0]]+t[1]:e},add:function(e,t){"string"==typeof e?r[e]=t:"object"===n(e)&&Object.keys(e).forEach((function(t){r[t]=e[t]}))},registry:function(){return r}};t.default=s},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},function(e,t,n){"use strict";var r=n(152),o=n(93),i=n(145),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var l=function(e){if(!Object(o.a)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t},c=n(148);t.a=function(e){return Object(c.a)(e)?Object(r.a)(e):l(e)}},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i},o=n(146),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o.a;t.a=s},function(e,t,n){"use strict";var r=n(25).a.Uint8Array;t.a=r},function(e,t,n){"use strict";var r=n(71);var o=function(){this.__data__=new r.a,this.size=0};var i=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var a=function(e){return this.__data__.get(e)};var s=function(e){return this.__data__.has(e)},l=n(72),c=n(151);var u=function(e,t){var n=this.__data__;if(n instanceof r.a){var o=n.__data__;if(!l.a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new c.a(o)}return n.set(e,t),this.size=n.size,this};function d(e){var t=this.__data__=new r.a(e);this.size=t.size}d.prototype.clear=o,d.prototype.delete=i,d.prototype.get=a,d.prototype.has=s,d.prototype.set=u;t.a=d},function(e,t,n){var r=n(4),o=n(45),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(39),o=n(14),i=n(67),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(4),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(11),o=n(68),i=n(9)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(4);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t){e.exports={}},function(e,t,n){var r=n(167),o=n(45),i=n(9)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(2);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(4),o=n(9),i=n(169),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(11),o=n(45),i=n(9)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(5),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(40);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){var r=n(2),o=n(69);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(5),o=n(2),i=n(17)("Promise"),a=[].push,s=function(e){var t=0==e,n=1==e,s=2==e,l=3==e;return function(e,c){o(e);var u=r(e.next),d=t?[]:void 0;return t||r(c),new i((function(r,f){var p=function(){try{i.resolve(o(u.call(e))).then((function(e){try{if(o(e).done)r(t?d:!l&&(s||void 0));else{var u=e.value;t?(a.call(d,u),p()):i.resolve(c(u)).then((function(e){n?p():s?e?p():r(!1):e?r(l||u):p()}),f)}}catch(e){f(e)}}),f)}catch(e){f(e)}};p()}))}};e.exports={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)}},function(e,t,n){"use strict";var r=n(150),o=n(97),i=n(96);t.a=function(e){return Object(r.a)(e,i.a,o.a)}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},,function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(121),o=n(101),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(6),o=n(160);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=n(6),o=n(7),i=n(4);e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},function(e,t,n){var r=n(9)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(17);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(5),o=n(18),i=n(100),a=n(14),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in u&&(l=n(l,u[f],f,c));return l}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(39),o=n(53),i=n(107),a=n(21),s=n(171),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";n(175);var r=n(32),o=n(4),i=n(9),a=n(128),s=n(20),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!c||!u||f)||"split"===e&&!p){var b=/./[h],v=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:b.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=v[0],x=v[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},function(e,t,n){"use strict";var r,o,i=n(90),a=n(129),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||d)&&(c=function(e){var t,n,r,o,a=this,c=d&&a.sticky,p=i.call(a),h=a.source,m=0,g=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",p)),f&&(n=new RegExp("^"+h+"$(?!\\s)",p)),u&&(t=a.lastIndex),r=s.call(c?n:a,g),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},function(e,t,n){"use strict";var r=n(4);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var r=n(89).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(45),o=n(128);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var r=n(11),o=n(70);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(104),a=n(32),s=n(76),l=n(8),c=n(48),u=n(11),d=n(4),f=n(123),p=n(52),h=n(133);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),b=m?"set":"add",v=o[e],y=v&&v.prototype,x=v,w={},_=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof v||!(g||y.forEach&&!d((function(){(new v).entries().next()})))))x=n.getConstructor(t,e,m,b),s.REQUIRED=!0;else if(i(e,!0)){var k=new x,S=k[b](g?{}:-0,1)!=k,E=d((function(){k.has(1)})),T=f((function(e){new v(e)})),C=!g&&d((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));T||((x=t((function(t,n){c(t,x,e);var r=h(new v,t,x);return null!=n&&l(n,r[b],r,m),r}))).prototype=y,y.constructor=x),(E||C)&&(_("delete"),_("has"),m&&_("get")),(C||S)&&_(b),g&&y.clear&&delete y.clear}return w[e]=x,r({global:!0,forced:x!=v},w),p(x,e),g||n.setStrong(x,e,m),x}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(184),a=n(20),s=n(61),l=n(4),c=n(48),u=n(40),d=n(14),f=n(243),p=n(439),h=n(33),m=n(70),g=n(75).f,b=n(15).f,v=n(170),y=n(52),x=n(21),w=x.get,_=x.set,k=r.ArrayBuffer,S=k,E=r.DataView,T=E&&E.prototype,C=Object.prototype,O=r.RangeError,A=p.pack,D=p.unpack,j=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},N=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return A(e,23,4)},L=function(e){return A(e,52,8)},R=function(e,t){b(e.prototype,t,{get:function(){return w(this)[t]}})},F=function(e,t,n,r){var o=f(n),i=w(e);if(o+t>i.byteLength)throw O("Wrong index");var a=w(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},U=function(e,t,n,r,o,i){var a=f(n),s=w(e);if(a+t>s.byteLength)throw O("Wrong index");for(var l=w(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){if(!l((function(){k(1)}))||!l((function(){new k(-1)}))||l((function(){return new k,new k(1.5),new k(NaN),"ArrayBuffer"!=k.name}))){for(var V,B=(S=function(e){return c(this,S),new k(f(e))}).prototype=k.prototype,z=g(k),H=0;z.length>H;)(V=z[H++])in S||a(S,V,k[V]);B.constructor=S}m&&h(T)!==C&&m(T,C);var W=new E(new S(2)),Y=T.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(T,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){c(this,S,"ArrayBuffer");var t=f(e);_(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},E=function(e,t,n){c(this,E,"DataView"),c(e,S,"DataView");var r=w(e).byteLength,i=u(t);if(i<0||i>r)throw O("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw O("Wrong length");_(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(R(S,"byteLength"),R(E,"buffer"),R(E,"byteLength"),R(E,"byteOffset")),s(E.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return D(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return D(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,j,t)},setUint8:function(e,t){U(this,1,e,j,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,L,t,arguments.length>2?arguments[2]:void 0)}});y(S,"ArrayBuffer"),y(E,"DataView"),e.exports={ArrayBuffer:S,DataView:E}},function(e,t,n){"use strict";var r=n(2),o=n(5);e.exports=function(){for(var e,t=r(this),n=o(t.delete),i=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),i=i&&e;return!!i}},function(e,t,n){"use strict";var r=n(5),o=n(23),i=n(8);e.exports=function(e){var t,n,a,s,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),(t=void 0!==c)&&r(c),null==e?new this:(n=[],t?(a=0,s=o(c,l>2?arguments[2]:void 0,2),i(e,(function(e){n.push(s(e,a++))}))):i(e,n.push,n),new this(n))}},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(189))&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=s(this,c(t).call(this,e)))._children=e.children,null!=n._source.content&&(n._source.items=n._source.content,delete n._source.content),n._forceChildrenClones=!1,n._parent=null,n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getChildren",value:function(e){var t,n=e&&this.isExtention(),r=n?this._ochildren:this._children;return null==r&&(r=this._itemStore.getChildren(this,n),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=r).forEach((function(e){e.__label=(e.getLabel()||"").toLowerCase()})),t.sort((function(e,t){return null!=e._source.priority?null!=t._source.priority?e._source.priority>t._source.priority?-1:e._source.priority<t._source.priority?1:0:e._source.priority>0?-1:1:null!=t._source.priority?t._source.priority>0?1:-1:e.__label>t.__label?1:e.__label<t.__label?-1:0}))),this["_".concat(n?"o":"","children")]=r),r}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){l(c(t.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return l(c(t.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&a(n.prototype,r),o&&a(n,o),t}(o.default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(79),o=i(n(264));i(n(51));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,u(t).call(this,e)))._validObject=!0,n._validPredicate=!0,n._excludeFromTreeValidityCheck=!1,n._statement&&(n._validPredicate=n._isValidPredicateValue(n._statement.getPredicate(),!0),n._validObject=n._isValidObjectValue(n._statement.getValue())),n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(o=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var n="string"==typeof e?e.trim():e,r=this._validObject;this._isValidObjectValue(n)?(this._statement.setValue(n,t),this._validObject=!0,!0===r||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==n&&null!==n||this._statement.setValue("",t),this._validObject=!1,!1!==r&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(e){this._statement.setSubject(e)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(e,t){this._statement.setLanguage(e,t),this.updateAssertions()}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(r.namespaces.expand(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),c(u(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var e=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(e,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&s(n.prototype,o),i&&s(n,i),t}(o.default);t.default=f},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(194))},function(e,t,n){"use strict";var r=n(50),o=n(55);t.a=function(e){if(!Object(o.a)(e))return!1;var t=Object(r.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(144),o=n(149);t.a=function(e){return null!=e&&Object(o.a)(e.length)&&!Object(r.a)(e)}},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var r=n(147),o=n(49);t.a=function(e,t,n){var i=t(e);return Object(o.a)(e)?i:Object(r.a)(i,n(e))}},function(e,t,n){"use strict";var r=n(38),o=Object(r.a)(Object,"create");var i=function(){this.__data__=o?o(null):{},this.size=0};var a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s=Object.prototype.hasOwnProperty;var l=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},c=Object.prototype.hasOwnProperty;var u=function(e){var t=this.__data__;return o?void 0!==t[e]:c.call(t,e)};var d=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=i,f.prototype.delete=a,f.prototype.get=l,f.prototype.has=u,f.prototype.set=d;var p=f,h=n(71),m=n(72);var g=function(){this.size=0,this.__data__={hash:new p,map:new(m.a||h.a),string:new p}};var b=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var v=function(e,t){var n=e.__data__;return b(t)?n["string"==typeof t?"string":"hash"]:n.map};var y=function(e){var t=v(this,e).delete(e);return this.size-=t?1:0,t};var x=function(e){return v(this,e).get(e)};var w=function(e){return v(this,e).has(e)};var _=function(e,t){var n=v(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function k(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}k.prototype.clear=g,k.prototype.delete=y,k.prototype.get=x,k.prototype.has=w,k.prototype.set=_;t.a=k},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},o=n(50),i=n(34);var a=function(e){return Object(i.a)(e)&&"[object Arguments]"==Object(o.a)(e)},s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(e){return Object(i.a)(e)&&l.call(e,"callee")&&!c.call(e,"callee")},d=n(49),f=n(83),p=/^(?:0|[1-9]\d*)$/;var h=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&p.test(e))&&e>-1&&e%1==0&&e<t},m=n(153),g=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(d.a)(e),o=!n&&u(e),i=!n&&!o&&Object(f.a)(e),a=!n&&!o&&!i&&Object(m.a)(e),s=n||o||i||a,l=s?r(e.length,String):[],c=l.length;for(var p in e)!t&&!g.call(e,p)||s&&("length"==p||i&&("offset"==p||"parent"==p)||a&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||h(p,c))||l.push(p);return l}},function(e,t,n){"use strict";var r=n(50),o=n(149),i=n(34),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return Object(i.a)(e)&&Object(o.a)(e.length)&&!!a[Object(r.a)(e)]},l=n(95),c=n(65),u=c.a&&c.a.isTypedArray,d=u?Object(l.a)(u):s;t.a=d},,,,function(e,t,n){var r=n(7),o=n(11),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(7),o=n(20);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(160),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(7),o=n(158),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(17),o=n(75),i=n(163),a=n(2);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(10),o=n(15),i=n(2),a=n(87);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(9),o=n(107),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r={};r[n(9)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(4);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r,o,i=n(7),a=n(124),s=i.process,l=s&&s.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(18),o=n(67),i=n(14);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(0),o=n(88),i=n(33),a=n(70),s=n(52),l=n(20),c=n(32),u=n(9),d=n(6),f=n(107),p=n(172),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),b=function(){return this};e.exports=function(e,t,n,u,p,v,y){o(n,t,u);var x,w,_,k=function(e){if(e===p&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",E=!1,T=e.prototype,C=T[g]||T["@@iterator"]||p&&T[p],O=!m&&C||k(p),A="Array"==t&&T.entries||C;if(A&&(x=i(A.call(new e)),h!==Object.prototype&&x.next&&(d||i(x)===h||(a?a(x,h):"function"!=typeof x[g]&&l(x,g,b)),s(x,S,!0,!0),d&&(f[S]=b))),"values"==p&&C&&"values"!==C.name&&(E=!0,O=function(){return C.call(this)}),d&&!y||T[g]===O||l(T,g,O),f[t]=O,p)if(w={values:k("values"),keys:v?O:k("keys"),entries:k("entries")},y)for(_ in w)(m||E||!(_ in T))&&c(T,_,w[_]);else r({target:t,proto:!0,forced:m||E},w);return w}},function(e,t,n){"use strict";var r,o,i,a=n(33),s=n(20),l=n(19),c=n(9),u=n(6),d=c("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),u||l(r,d)||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){var r=n(111);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(9)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(0),o=n(128);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(14),o=n(177),i=n(28),a=Math.ceil,s=function(e){return function(t,n,s){var l,c,u=String(i(t)),d=u.length,f=void 0===s?" ":String(s),p=r(n);return p<=d||""==f?u:(l=p-d,(c=o.call(f,a(l/f.length))).length>l&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(40),o=n(28);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(4),o=n(132);e.exports=function(e){return r((function(){return!!o[e]()||"​…᠎"!="​…᠎"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(7),o=n(91).trim,i=n(132),a=r.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(7),s=n(4),l=n(45),c=n(23),u=n(211),d=n(157),f=n(235),p=a.location,h=a.setImmediate,m=a.clearImmediate,g=a.process,b=a.MessageChannel,v=a.Dispatch,y=0,x={},w=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},_=function(e){return function(){w(e)}},k=function(e){w(e.data)},S=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return x[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},m=function(e){delete x[e]},"process"==l(g)?r=function(e){g.nextTick(_(e))}:v&&v.now?r=function(e){v.now(_(e))}:b&&!f?(i=(o=new b).port2,o.port1.onmessage=k,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(S)?r="onreadystatechange"in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(_(e),0)}:(r=S,a.addEventListener("message",k,!1))),e.exports={set:h,clear:m}},function(e,t,n){"use strict";var r=n(136),o=n(240);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r,o=n(7),i=n(61),a=n(76),s=n(136),l=n(242),c=n(11),u=n(21).enforce,d=n(207),f=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(d&&f){r=l.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=m.prototype,b=g.delete,v=g.has,y=g.get,x=g.set;i(g,{delete:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),b.call(this,e)||t.frozen.delete(e)}return b.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.has(e)}return v.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)?y.call(this,e):t.frozen.get(e)}return y.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=u(this);n.frozen||(n.frozen=new r),v.call(this,e)?x.call(this,e,t):n.frozen.set(e,t)}else x.call(this,e,t);return this}})}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(7),o=n(4),i=n(123),a=n(16).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},function(e,t,n){"use strict";n(126);var r=n(0),o=n(17),i=n(249),a=n(32),s=n(61),l=n(52),c=n(88),u=n(21),d=n(48),f=n(19),p=n(23),h=n(108),m=n(2),g=n(11),b=n(36),v=n(59),y=n(114),x=n(69),w=n(9),_=o("fetch"),k=o("Headers"),S=w("iterator"),E=u.set,T=u.getterFor("URLSearchParams"),C=u.getterFor("URLSearchParamsIterator"),O=/\+/g,A=Array(4),D=function(e){return A[e-1]||(A[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},j=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(D(n--),j);return t}},N=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return M[e]},L=function(e){return encodeURIComponent(e).replace(N,P)},R=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:I(r.shift()),value:I(r.join("="))}))},F=function(e){this.entries.length=0,R(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=c((function(e,t){E(this,{type:"URLSearchParamsIterator",iterator:y(T(e).entries),kind:t})}),"Iterator",(function(){var e=C(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),B=function(){d(this,B,"URLSearchParams");var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(E(u,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==c)if(g(c))if("function"==typeof(e=x(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(i=(o=y(m(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&p.push({key:l,value:c[l]+""});else R(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},z=B.prototype;s(z,{append:function(e,t){U(arguments.length,2);var n=T(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=T(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=T(this),o=r.entries,i=!1,a=e+"",s=t+"",l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=T(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=T(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(z,S,z.entries),a(z,"toString",(function(){for(var e,t=T(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(L(e.key)+"="+L(e.value));return n.join("&")}),{enumerable:!0}),l(B,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof _||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=b(t,{body:v(0,String(n)),headers:v(0,r)}))),o.push(t)),_.apply(this,o)}}),e.exports={URLSearchParams:B,getState:T}},function(e,t,n){"use strict";var r=n(21),o=n(88),i=n(19),a=n(87),s=n(18),l=r.set,c=r.getterFor("Object Iterator");e.exports=o((function(e,t){var n=s(e);l(this,{type:"Object Iterator",mode:t,object:n,keys:a(n),index:0})}),"Object",(function(){for(var e=c(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,{value:void 0,done:!0};var n=t[e.index++],r=e.object;if(i(r,n)){switch(e.mode){case"keys":return{value:n,done:!1};case"values":return{value:r[n],done:!1}}return{value:[n,r[n]],done:!1}}}}))},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n,o=r(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof i)throw TypeError("At least one callback required");return o.has(e)?(n=o.get(e),"function"==typeof t&&(n=t(n),o.set(e,n))):"function"==typeof i&&(n=i(),o.set(e,n)),n}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(79),i=(r=n(51))&&r.__esModule?r:{default:r};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=0,u=function(e,t,n){null==n||""===n||Array.isArray(n)&&0===n.length?delete e[t]:e[t]=n},d=function(){function e(t){var n=t.source,r=void 0===n?{}:n,o=t.bundle,a=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=a,this._source=r,this._bundle=o,c+=1,this._internalId=c,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","deprecated","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated"],this._getLocalizedValue=i.default.getLocalizedValue}var t,n,r;return t=e,(n=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){u(this.getSource(!0),"id",e),delete s["@id"]}},{key:"getType",value:function(e){var t=this.getSource(e);return t.type||t["@type"]}},{key:"setType",value:function(e){u(this.getSource(!0),"type",e),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(e){var t=this.getSource(!0),n=this._itemStore.getItem(e);this._source=null==n?t:this._itemStore.createExtendedSource(n.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"getLabel",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.label):i.default.getLocalizedValue(n.label).value}},{key:"setLabel",value:function(e,t){var n=this.getSource(!0);n.label=this._setLangHash(n.label,e,t),this.refreshExtends()}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){u(this.getSource(!0),"label",e),this.refreshExtends()}},{key:"getDescription",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.description):i.default.getLocalizedValue(n.description).value}},{key:"setDescription",value:function(e,t){var n=this.getSource(!0);n.description=this._setLangHash(n.description,e,t),this.refreshExtends()}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){u(this.getSource(!0),"description",e),this.refreshExtends()}},{key:"getPlaceholder",value:function(e,t){var n=this.getSource(t);return e?i.default.getLocalizedValue(n.placeholder):i.default.getLocalizedValue(n.placeholder).value}},{key:"setPlaceholder",value:function(e,t){var n=this.getSource(!0);n.placeholder=this._setLangHash(n.placeholder,e,t),this.refreshExtends()}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){u(this.getSource(!0),"placeholder",e),this.refreshExtends()}},{key:"getProperty",value:function(e){var t=null,n=this.getSource(e);return n&&null!=(t=n.property)&&""!==t&&(t=o.namespaces.expand(t)),t}},{key:"setProperty",value:function(e){u(this.getSource(!0),"property",e),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(e){var t=this.getSource(e).uriValueLabelProperties;return null!=t?t.map((function(e){return o.namespaces.expand(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){u(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var n={};return Object.keys(t).forEach((function(e){var r=t[e];Array.isArray(r)?n[o.namespaces.expand(e)]=r.map((function(e){return o.namespaces.expand(e)})):n[o.namespaces.expand(e)]=o.namespaces.expand(r)})),n}return t}},{key:"setConstraints",value:function(e){u(this.getSource(!0),"constraints",e),this.refreshExtends()}},{key:"getDeps",value:function(e){var t=this.getSource(e).deps;return null!=t?t.map((function(e){return"*"!==e&&".."!==e?o.namespaces.expand(e):e})):t}},{key:"setDeps",value:function(e){u(this.getSource(!0),"deps",e),this.refreshExtends()}},{key:"getDatatype",value:function(e){var t=this.getSource(e).datatype;return null!=t&&""!==t?Array.isArray(t)?t.map((function(e){return o.namespaces.expand(e)})):o.namespaces.expand(t):t}},{key:"setDatatype",value:function(e){u(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){u(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){u(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){u(this.getSource(!0),"member",e),this.refreshExtends()}},{key:"getNodetype",value:function(e){var t=this.getSource(e);return t.nodetype||t.nodeType}},{key:"setNodetype",value:function(e){u(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){u(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){u(this.getSource(!0),"valueTemplate",e),this.refreshExtends()}},{key:"getCardinality",value:function(e){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var t=this.getSource(e);return t&&"cardinality"in t?t.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(e){u(this.getSource(!0),"cardinality",e),this.refreshExtends()}},{key:"isEnabled",value:function(e){var t=this.getSource(e);return null==t.enabled||t.enabled}},{key:"setEnabled",value:function(e){var t=this.getSource(!0);e?delete t.enabled:t.enabled=e,this.refreshExtends()}},{key:"getClasses",value:function(e){var t=this.getSource(e);return t&&"cls"in t?t.cls:[]}},{key:"setClasses",value:function(e){u(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var n=this.getSource(t);return!!this.hasStyle(e,t)||null!=n.cls&&n.cls.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(e){return this.getSource(e).styles||[]}},{key:"setStyles",value:function(e){u(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var n=this.getSource(t);return!(!n||!("styles"in n))&&n.styles.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getSource",value:function(e){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var t=this._itemStore.getItem(this.getExtends());return null==t?this._source:t.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var e=[];return this.getId()&&e.push("ID: '".concat(this.getId(),"'")),e.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&e.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&e.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(e.join(", "),")")}},{key:"_setLangHash",value:function(e,t,n){var r=e||{};if("string"==typeof t)"string"==typeof n?r[n]=t:r[""]=t;else if("object"===a(t)&&null!==t)return t;return r}}])&&l(t.prototype,n),r&&l(t,r),e}();t.default=d},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(79),i=(r=n(189))&&r.__esModule?r:{default:r};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){null!=e&&e.forEach((function(e){e.value=o.namespaces.expand(e.value)}))},p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,u(t).call(this,e)))._ontologyStore=e.ontologyStore,n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(r=[{key:"getChoices",value:function(e){return this.getStaticChoices(e)||this.getDynamicChoices(e)||[]}},{key:"hasChoices",value:function(e){var t=this.getSource(e);return null!=t.ontologyUrl||null!=t.choices}},{key:"hasStaticChoices",value:function(e){return null!=this.getSource(e).choices}},{key:"getStaticChoices",value:function(e){var t=this.getSource(e);if(t.choices){var n=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(n&&f(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(n&&f(t.choices),this._staticIsSorted=!0)}return t.choices}},{key:"setStaticChoices",value:function(e){var t=this.getSource(!0);t.choices!==e&&(null!=e&&(this._origStaticIsSorted=!0),t.choices=e,this.refreshExtends())}},{key:"setExtends",value:function(e){c(u(t.prototype),"setExtends",this).call(this,e),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(e){var t=this;if(null==this._dynamicChoices){if(null==e)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(n){t._dynamicChoices=n,null==t._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(t.getLabel())),console.log("OntologyUrl is: ".concat(t._source.ontologyUrl))),e(t._dynamicChoices)}))}else{if(null==e)return this._dynamicChoices;e(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(e){var t=this.getSource(e).ontologyUrl;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setOntologyUrl",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.ontologyUrl:t.ontologyUrl=e,this.refreshExtends()}},{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(e){var t=this.getSource(e).parentProperty;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setParentProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.parentProperty:t.parentProperty=e,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(e){var t=this.getSource(e).hierarchyProperty;return null!=t&&""!==t?o.namespaces.expand(t):t}},{key:"setHierarchyProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.hierarchyProperty:t.hierarchyProperty=e,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(e){return!0===this.getSource(e).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(e){var t=this.getSource(!0);!0===e?t.isParentPropertyInverted=!0:delete t.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(e){return!0===this.getSource(e).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(e){var t=this.getSource(!0);e?t.isHierarchyPropertyInverted=!0:delete t.isHierarchyPropertyInverted,this.refreshExtends()}}])&&s(n.prototype,r),i&&s(n,i),t}(i.default);t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(142))&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d="http://www.w3.org/2000/01/rdf-schema#label",f="http://www.w3.org/2000/01/rdf-schema#seeAlso",p=function(e){function t(e){var n,r=e.choice,o=e.item,i=e.statement,a=e.matchingCode;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=s(this,c(t).call(this,{choice:r,item:o,statement:i,matchingCode:a})))._choice=r,n._validPredicate=null!=o.getProperty(),n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,o=[{key:"seeAlso",get:function(){return f}}],(r=[{key:"setChoice",value:function(e,t){this._choice=e,null==e?this.setValue(null,null,t):this.getValue()!==e.value&&this.setValue(e.value,e,t)}},{key:"getChoice",value:function(){return this._choice}},{key:"remove",value:function(){this.setValue(null),l(c(t.prototype),"remove",this).call(this)}},{key:"setValue",value:function(e,n,r){l(c(t.prototype),"setValue",this).call(this,e,n,r);var o=this.getValue(),i=this._statement.getGraph();if(i.findAndRemove(o,d,void 0,r),i.findAndRemove(o,f,void 0,r),null!=e&&null!=n&&(n.seeAlso&&n.inlineSeeAlso&&i.create(e,f,n.seeAlso,!0,r),!0===n.inlineLabel)){var a=n.label||{};Object.keys(a).forEach((function(t){return i.create(e,d,{value:a[t],lang:t,type:"literal"},!0,r)}))}}}])&&a(n.prototype,r),o&&a(n,o),t}(o.default);t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(264)),o=i(n(670));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=c(this,d(t).call(this,e));var r=e.constraints,o=void 0===r?[]:r,i=e.childrenRootUri,a=void 0===i?null:i;return n._constraints=o,n._childBindings=n._item.getChildren().map((function(){return[]})),n._rootUri=a,n._validPredicate=!0,n._validObject=!0,n._statement&&(n._validPredicate=n._isValidPredicateValue(n._statement.getPredicate()),n._validObject=n._isValidObjectValue(n._statement.getValue(),n._statement.getType())),n._cachedChildBindings=null,n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"getValue",value:function(){return this.getChildrenRootUri()}},{key:"oneChildValidityChanged",value:function(e){return e!==this._oneValidChild&&!(!e&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=e,this._notifyValidityChange(e&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(e){this._statement?this._statement.setSubject(e):this.getChildBindings().forEach((function(t){return t.setSubject(e)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(e){this.addChildBindings([e])}},{key:"addChildBindings",value:function(e){var t=this;if(this._cachedChildBindings=null,Array.isArray(e)&&0!==e.length)for(var n=e[0].getItem(),r=this._item.getChildren(),i=r.length;i>=0&&(n!==r[i]||"break"!==function(){var r=t._childBindings[i].length>0?t._childBindings[i][0].getCardinalityTracker():new o.default(n);return t._childBindings[i]=t._childBindings[i].concat(e),e.forEach((function(e){e.setParent(t),e.setCardinalityTracker(r),r.increment()}),t),"break"}());i--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e.getItem()===t[n]){this._childBindings[n].splice(this._childBindings[n].indexOf(e),1),delete e._parent,e.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(e)}},{key:"getChildBindingsFor",value:function(e){for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e===t[n])return this._childBindings[n]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var e;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(e=[]).concat.apply(e,s(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"setValue",value:function(e){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var t=this._validObject;this._isValidObjectValue(e,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(e),this._constraints.forEach((function(t){return t.setSubject(e)})),this.getChildBindings().forEach((function(t){return t.setSubject(e)})),!t&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,t&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),u(d(t.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(e){var t=this;this._ancestorValid=e,this.updateAssertions(),this._childBindings.forEach((function(n){return n.forEach((function(n){return n.setAncestorValid(e&&t._isValid())}),t)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var e=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(e),this._constraints.forEach((function(t){return t.setAsserted(e)})),this.getChildBindings().forEach((function(e){return e.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(e){return e.some((function(e){return e.isValid()}))}))}},{key:"_notifyValidityChange",value:function(e){this._parent&&this._parent.oneChildValidityChanged(e)||(this.updateAssertions(),this._childBindings.forEach((function(t){return t.forEach((function(t){return t.setAncestorValid(e)}))})))}},{key:"_isValidObjectValue",value:function(e,n){return("URI"!==this.getItem().getNodetype()||"uri"===n)&&u(d(t.prototype),"_isValidObjectValue",this).call(this,e)}}])&&l(n.prototype,r),i&&l(n,i),t}(r.default);t.default=p},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,u=0,d=[],f=n(676);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=c||(c=b(t)),r=_.bind(null,n,a,!1),o=_.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),r=S.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=k.bind(null,n),o=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var x,w=(x=[],function(e,t){return x[e]=t,x.filter(Boolean).join("\n")});function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function k(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function S(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(84)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(){return l(this,t),u(this,f(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(i=[{key:"_handleParams",value:function(e){this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",d(f(t.prototype),"_handleParams",this).call(this,e)}},{key:"showNow",value:function(e,t){return(!e.hasStyle("deprecated")||0!==t.length)&&t.length>0&&!e.hasStyle("invisible")}},{key:"skipBinding",value:function(e){var t=e.getItem(),n="group"===t.getType();return!(!t.getProperty()&&n&&0===t.getChildren().length)&&n&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return!this.filterTranslations||"LANGUAGE_LITERAL"!==e.getNodetype()||e.hasStyle("viewAllTranslations")?t:o.default.filterTranslations(t,r.default.locale(),this.defaultLanguage)}},{key:"addLabel",value:function(e,t,n){n.hasStyle("noLabelInPresent")?o.default.domClassToggle(e,"rdformsInvisibleGroup",!0):o.default.renderPresenterLabel(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return o.default.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return o.default.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){o.default.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){o.default.renderPresenter(e,t,this.context)}}])&&c(n.prototype,i),a&&c(n,a),t}(i(n(679)).default);t.default=h},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.bindingReport=t.graphReport=void 0;var o=n(79),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var s=function(e,t){var n=t;return null==n?n={errors:[],warnings:[],deprecated:[]}:(n.errors=n.errors||[],n.warnings=n.warnings||[],n.deprecated=n.deprecated||[]),d(e,n,!0)};t.bindingReport=s;var l=function(e){for(var t=0,n=0;n<e.length;n++)e[n].isValid()&&(t+=1);return t},c=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},u=function(e,t){if(t.hasStyle("deprecated"))return!0;var n=t.getDeps();if(n){var r=i.findBindingRelativeToParentBinding(e,n);if(!i.matchPathBelowBinding(r,n))return!0}return!1},d=function e(t,n,r){if(t.getMatchingCode()===i.CODES.OK){var o=t.getItem();if(!0===r||t.isValid()||null==o.getProperty()||o.hasStyle("atLeastOneChild")||o.hasStyle("exactlyOneChild")){var a=o.getChildren();if(o.hasStyle("disjoint")||o.hasStyle("atMostOneChild")||o.hasStyle("atLeastOneChild")||o.hasStyle("exactlyOneChild")){var s,d=t.getChildBindings(),f=l(d);f>1&&(o.hasStyle("disjoint")||o.hasStyle("atMostOneChild"))?s=i.CODES.AT_MOST_ONE_CHILD:1!==f&&o.hasStyle("exactlyOneChild")?s=i.CODES.EXACTLY_ONE_CHILD:0===f&&o.hasStyle("atLeastOneChild")&&(s=i.CODES.AT_LEAST_ONE_CHILD),s&&(c([t],s),a.length>0&&n.errors.push({parentBinding:t,item:a[0],code:s}))}else t.getItemGroupedChildBindings().forEach((function(e,r){var o=a[r];if(!u(t,o)&&null!=o.getProperty()){var s=l(e),d=o.getCardinality();null!=d.min&&d.min>s?(n.errors.push({parentBinding:t,item:o,code:i.CODES.TOO_FEW_VALUES_MIN}),c(e,i.CODES.TOO_FEW_VALUES_MIN)):null!=d.pref&&d.pref>s&&n.warnings.push({parentBinding:t,item:o,code:i.CODES.TOO_FEW_VALUES_PREF}),null!=d.max&&d.max<s&&(n.errors.push({parentBinding:t,item:o,code:i.CODES.TOO_MANY_VALUES}),c(e,i.CODES.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(r){var o=r.getItem();r.getMatchingCode()!==i.CODES.OK&&n.errors.push({parentBinding:r,item:o,code:r.getMatchingCode()}),o.hasStyle("deprecated")&&n.deprecated.push(r),u(t,o)||"group"===o.getType()&&e(r,n)}))}return n}},f=function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach((function(t){var n=p(e,t);i[t]=n,n.forEach((function(e){a[e]=!0}))})),Object.keys(i).forEach((function(o){n=t[o],i[o].forEach((function(t){(r=b(t,e,n,a)).uri=t,r.type=o,r.template=n.getId(),s.resources.push(r),s.errors+=r.errors.length,s.warnings+=r.warnings.length,s.deprecated+=r.deprecated.length}))}));var l=[];return o.forEach((function(e){0===i[e].length&&l.push(e)})),l.length>0&&(s.mandatoryError=l,s.errors+=l.length),s};t.graphReport=f;var p=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},h=function(e,t,n){for(var r=e;;){var o=r.getChildrenRootUri?r.getChildrenRootUri():r.getParent().getChildrenRootUri();if(o===t)return!0;if(n[o])return!1;r=r.getParent()}},m=function(e,t){var n=e,r=[];for(null!=t.getProperty()&&n.getItem()!==t&&r.push(o.namespaces.shorten(t.getProperty()));null!=n.getItem().getProperty()&&r.push(o.namespaces.shorten(n.getItem().getProperty())),null!=n.getParent();)n=n.getParent();return r.reverse(),r.join(" > ")},g=function(e){var t=e.errors,n=e.warnings,r=e.deprecated;e.errors=t.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.warnings=n.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.deprecated=r.map((function(e){return function(e){return"".concat(m(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},b=function(e,t,n,r){var o=i.fuzzyMatch(t,e,n),a=s(o);return function(e,t,n){var r=e.errors,o=e.warnings,i=e.deprecated;e.errors=r.filter((function(e){return h(e.parentBinding,t,n)})),e.warnings=o.filter((function(e){return h(e.parentBinding,t,n)})),e.deprecated=i.filter((function(e){return h(e,t,n)}))}(a,e,r||{}),g(a),a},v={graphReport:f,bindingReport:s};t.default=v},,,,,function(e,t,n){n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(219),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(126),n(360),n(361),n(362),n(363),n(364),n(365),n(225),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(227),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(175),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405),n(406),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(430),n(431),n(433),n(434),n(435),n(239),n(436),n(182),n(241),n(183),n(437),n(438),n(440),n(441),n(442),n(443),n(444),n(445),n(446),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455),n(456),n(457),n(458),n(459),n(460),n(461),n(462),n(463),n(464),n(465),n(466),n(467),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(475),n(476),n(477),n(478),n(479),n(480),n(481),n(482),n(483),n(484),n(485),n(486),n(487),n(488),n(489);var r=n(47);e.exports=r},function(e,t,n){var r=n(10),o=n(4),i=n(157);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(7),o=n(159),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(19),o=n(161),i=n(31),a=n(15);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},function(e,t,n){var r=n(19),o=n(39),i=n(103).indexOf,a=n(102);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(164);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(17);e.exports=r("document","documentElement")},function(e,t,n){var r=n(39),o=n(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(9);t.f=r},function(e,t,n){"use strict";var r=n(10),o=n(4),i=n(87),a=n(163),s=n(119),l=n(18),c=n(100),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,f=s.f;o>u;)for(var p,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,b=0;g>b;)p=m[b++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},function(e,t,n){var r=n(10),o=n(87),i=n(39),a=n(119).f,s=function(e){return function(t){for(var n,s=i(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(5),o=n(11),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){n(0)({global:!0},{globalThis:n(7)})},function(e,t,n){"use strict";var r=n(23),o=n(18),i=n(109),a=n(166),s=n(14),l=n(77),c=n(69);e.exports=function(e){var t,n,u,d,f,p,h=o(e),m="function"==typeof this?this:Array,g=arguments.length,b=g>1?arguments[1]:void 0,v=void 0!==b,y=c(h),x=0;if(v&&(b=r(b,g>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(t=s(h.length));t>x;x++)p=v?b(h[x],x):h[x],l(n,x,p);else for(f=(d=y.call(h)).next,n=new m;!(u=f.call(d)).done;x++)p=v?i(d,b,[u.value,x],!0):u.value,l(n,x,p);return n.length=x,n}},function(e,t,n){"use strict";var r=n(18),o=n(67),i=n(14),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),f=1;for(c<l&&l<c+d&&(f=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=f,c+=f;return n}},function(e,t,n){"use strict";var r=n(68),o=n(14),i=n(23),a=function(e,t,n,s,l,c,u,d){for(var f,p=l,h=0,m=!!u&&i(u,d,3);h<s;){if(h in n){if(f=m?m(n[h],h,t):n[h],c>0&&r(f))p=a(e,t,f,o(f.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}h++}return p};e.exports=a},function(e,t,n){"use strict";var r=n(29).forEach,o=n(60),i=n(37),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(39),o=n(40),i=n(14),a=n(60),s=n(37),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=s("indexOf",{ACCESSORS:!0,1:0}),p=u||!d||!f;e.exports=p?function(e){if(u)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){"use strict";var r=n(0),o=n(88),i=n(28),a=n(14),s=n(5),l=n(2),c=n(45),u=n(111),d=n(90),f=n(20),p=n(4),h=n(9),m=n(27),g=n(130),b=n(21),v=n(6),y=h("matchAll"),x=b.set,w=b.getterFor("RegExp String Iterator"),_=RegExp.prototype,k=_.exec,S="".matchAll,E=!!S&&!p((function(){"a".matchAll(/./)})),T=o((function(e,t,n,r){x(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=w(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return k.call(e,t)}(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=g(n,a(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),C=function(e){var t,n,r,o,i,s,c=l(this),u=String(e);return t=m(c,RegExp),void 0===(n=c.flags)&&c instanceof RegExp&&!("flags"in _)&&(n=d.call(c)),r=void 0===n?"":String(n),o=new t(t===RegExp?c.source:c,r),i=!!~r.indexOf("g"),s=!!~r.indexOf("u"),o.lastIndex=a(c.lastIndex),new T(o,u,i,s)};r({target:"String",proto:!0,forced:E},{matchAll:function(e){var t,n,r,o=i(this);if(null!=e){if(u(e)&&!~String(i("flags"in _?e.flags:d.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(E)return S.apply(o,arguments);if(void 0===(n=e[y])&&v&&"RegExp"==c(e)&&(n=C),null!=n)return s(n).call(e,o)}else if(E)return S.apply(o,arguments);return t=String(o),r=new RegExp(e,"g"),v?C.call(r,t):r[y](t)}}),v||y in _||f(_,y,C)},function(e,t,n){var r=n(124);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){"use strict";var r=n(89).charAt,o=n(21),i=n(171),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(7),o=n(91).trim,i=n(132),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){var r=n(11),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(45);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(180),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),l=i(2,127)*(2-s),c=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),u=r(e);return i<c?u*(i/c/s+1/a-1/a)*c*s:(n=(t=(1+s/a)*i)-(t-i))>l||n!=n?u*(1/0):u*n}},function(e,t,n){var r=n(7);e.exports=r.Promise},function(e,t,n){var r=n(124);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,s,l,c,u,d=n(7),f=n(31).f,p=n(45),h=n(181).set,m=n(235),g=d.MutationObserver||d.WebKitMutationObserver,b=d.process,v=d.Promise,y="process"==p(b),x=f(d,"queueMicrotask"),w=x&&x.value;w||(r=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},y?a=function(){b.nextTick(r)}:g&&!m?(s=!0,l=document.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):v&&v.resolve?(c=v.resolve(void 0),u=c.then,a=function(){u.call(c,r)}):a=function(){h.call(d,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(2),o=n(11),i=n(112);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(7);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(112),a=n(135),s=n(8);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,l=n.reject,c=a((function(){var n=o(t.resolve),i=[],a=0,l=1;s(e,(function(e){var o=a++,s=!1;i.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--l||r(i))}),(function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--l||r(i))}))})),--l||r(i)}));return c.error&&l(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(15).f,o=n(36),i=n(61),a=n(23),s=n(48),l=n(8),c=n(171),u=n(78),d=n(10),f=n(76).fastKey,p=n(21),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&l(r,e[c],e,n)})),p=m(t),g=function(e,t,n){var r,o,i=p(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=f(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=p(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=p(this),n=b(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(u.prototype,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var r=n(136),o=n(240);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(61),o=n(76).getWeakData,i=n(2),a=n(11),s=n(48),l=n(8),c=n(29),u=n(19),d=n(21),f=d.set,p=d.getterFor,h=c.find,m=c.findIndex,g=0,b=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},y=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){s(e,d,t),f(e,{type:t,id:g++,frozen:void 0}),null!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?b(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?b(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?b(t).has(e):n&&u(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},function(e,t,n){var r=n(40),o=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(113);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(18),o=n(14),i=n(69),a=n(166),s=n(23),l=n(16).aTypedArrayConstructor;e.exports=function(e){var t,n,c,u,d,f,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,b=i(p);if(null!=b&&!a(b))for(f=(d=b.call(p)).next,p=[];!(u=f.call(d)).done;)p.push(u.value);for(g&&h>2&&(m=s(m,arguments[2],2)),n=o(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=g?m(p[t],t):p[t];return c}},function(e,t,n){n(490),n(491),n(492),n(493),n(494),n(248),n(250),n(186);var r=n(47);e.exports=r},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";n(227);var r,o=n(0),i=n(10),a=n(249),s=n(7),l=n(165),c=n(32),u=n(48),d=n(19),f=n(214),p=n(220),h=n(89).codeAt,m=n(495),g=n(52),b=n(186),v=n(21),y=s.URL,x=b.URLSearchParams,w=b.getState,_=v.set,k=v.getterFor("URL"),S=Math.floor,E=Math.pow,T=/[A-Za-z]/,C=/[\d+\-.A-Za-z]/,O=/\d/,A=/^(0x|0X)/,D=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,P=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,L=/[\u0009\u000A\u000D]/g,R=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if($(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(M.test(t))return"Invalid host";for(n="",r=p(t),o=0;o<r.length;o++)n+=Y(r[o],B);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?D:I).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=E(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*E(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&I.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!O.test(f()))return;for(;O.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},z=f({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),W=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(e){return d(q,e.scheme)},G=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},J=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},fe={},pe={},he={},me={},ge={},be={},ve={},ye={},xe={},we=function(e,t,n,o){var i,a,s,l,c,u=n||ee,f=0,h="",m=!1,g=!1,b=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(P,"")),t=t.replace(L,""),i=p(t);f<=i.length;){switch(a=i[f],u){case ee:if(!a||!T.test(a)){if(n)return"Invalid scheme";u=ne;continue}h+=a.toLowerCase(),u=te;break;case te:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",u=ne,f=0;continue}if(n&&($(e)!=d(q,h)||"file"==h&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void($(e)&&q[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=pe:$(e)&&o&&o.scheme==e.scheme?u=re:$(e)?u=se:"/"==i[f+1]?(u=oe,f++):(e.cannotBeABaseURL=!0,e.path.push(""),u=ve)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==o.scheme?pe:ie;continue;case re:if("/"!=a||"/"!=i[f+1]){u=ie;continue}u=le,f++;break;case oe:if("/"==a){u=ce;break}u=be;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&$(e))u=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=ye;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}break;case ae:if(!$(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=be;continue}u=ce}else u=le;break;case se:if(u=le,"/"!=a||"/"!=h.charAt(f+1))continue;f++;break;case le:if("/"!=a&&"\\"!=a){u=ce;continue}break;case ce:if("@"==a){m&&(h="%40"+h),m=!0,s=p(h);for(var v=0;v<s.length;v++){var y=s[v];if(":"!=y||b){var x=Y(y,W);b?e.password+=x:e.username+=x}else b=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if(m&&""==h)return"Invalid authority";f-=p(h).length+1,h="",u=ue}else h+=a;break;case ue:case de:if(n&&"file"==e.scheme){u=me;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if($(e)&&""==h)return"Invalid host";if(n&&""==h&&(G(e)||null!==e.port))return;if(l=R(e,h))return l;if(h="",u=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(l=R(e,h))return l;if(h="",u=fe,n==de)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=$(e)&&w===q[e.scheme]?null:w,h=""}if(n)return;u=ge;continue}return"Invalid port"}h+=a;break;case pe:if(e.scheme="file","/"==a||"\\"==a)u=he;else{if(!o||"file"!=o.scheme){u=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=ye;else{if("#"!=a){Q(i.slice(f).join(""))||(e.host=o.host,e.path=o.path.slice(),Z(e)),u=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}}break;case he:if("/"==a||"\\"==a){u=me;break}o&&"file"==o.scheme&&!Q(i.slice(f).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=be;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))u=be;else if(""==h){if(e.host="",n)return;u=ge}else{if(l=R(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ge}continue}h+=a;break;case ge:if($(e)){if(u=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=be,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=ye;break;case be:if(a==r||"/"==a||"\\"==a&&$(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Z(e),"/"==a||"\\"==a&&$(e)||e.path.push("")):J(h)?"/"==a||"\\"==a&&$(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=ye):"#"==a&&(e.fragment="",u=xe)}else h+=Y(a,H);break;case ve:"?"==a?(e.query="",u=ye):"#"==a?(e.fragment="",u=xe):a!=r&&(e.path[0]+=Y(a,B));break;case ye:n||"#"!=a?a!=r&&("'"==a&&$(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,B)):(e.fragment="",u=xe);break;case xe:a!=r&&(e.fragment+=Y(a,z))}f++}},_e=function(e){var t,n,r=u(this,_e,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=_(r,{type:"URL"});if(void 0!==o)if(o instanceof _e)t=k(o);else if(n=we(t={},String(o)))throw TypeError(n);if(n=we(s,a,null,t))throw TypeError(n);var l=s.searchParams=new x,c=w(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=Se.call(r),r.origin=Ee.call(r),r.protocol=Te.call(r),r.username=Ce.call(r),r.password=Oe.call(r),r.host=Ae.call(r),r.hostname=De.call(r),r.port=je.call(r),r.pathname=Ie.call(r),r.search=Ne.call(r),r.searchParams=Me.call(r),r.hash=Pe.call(r))},ke=_e.prototype,Se=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",G(e)&&(c+=n+(r?":"+r:"")+"@"),c+=V(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ee=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&$(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Te=function(){return k(this).scheme+":"},Ce=function(){return k(this).username},Oe=function(){return k(this).password},Ae=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},De=function(){var e=k(this).host;return null===e?"":V(e)},je=function(){var e=k(this).port;return null===e?"":String(e)},Ie=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=k(this).query;return e?"?"+e:""},Me=function(){return k(this).searchParams},Pe=function(){var e=k(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(ke,{href:Le(Se,(function(e){var t=k(this),n=String(e),r=we(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:Le(Ee),protocol:Le(Te,(function(e){var t=k(this);we(t,String(e)+":",ee)})),username:Le(Ce,(function(e){var t=k(this),n=p(String(e));if(!X(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Y(n[r],W)}})),password:Le(Oe,(function(e){var t=k(this),n=p(String(e));if(!X(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Y(n[r],W)}})),host:Le(Ae,(function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),ue)})),hostname:Le(De,(function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),de)})),port:Le(je,(function(e){var t=k(this);X(t)||(""==(e=String(e))?t.port=null:we(t,e,fe))})),pathname:Le(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ge))})),search:Le(Ne,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",we(t,e,ye)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(Me),hash:Le(Pe,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",we(t,e,xe)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),y){var Re=y.createObjectURL,Fe=y.revokeObjectURL;Re&&c(_e,"createObjectURL",(function(e){return Re.apply(y,arguments)})),Fe&&c(_e,"revokeObjectURL",(function(e){return Fe.apply(y,arguments)}))}g(_e,"URL"),o({global:!0,forced:!a,sham:!i},{URL:_e})},function(e,t,n){var r=n(4),o=n(9),i=n(6),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";n(0)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){"use strict";var r=n(2),o=n(5);e.exports=function(){for(var e=r(this),t=o(e.add),n=0,i=arguments.length;n<i;n++)t.call(e,arguments[n]);return e}},function(e,t,n){var r=n(182),o=n(183),i=n(36),a=n(11),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};s.prototype.get=function(e,t){return this[e]||(this[e]=t())},s.prototype.next=function(e,t,n){var i=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new r),a=i.get(t);return a||i.set(t,a=new s),a};var l=new s;e.exports=function(){var e,t,n=l,r=arguments.length;for(e=0;e<r;e++)a(t=arguments[e])&&(n=n.next(e,t,!0));if(this===Object&&n===l)throw TypeError("Composite keys must contain a non-primitive component");for(e=0;e<r;e++)a(t=arguments[e])||(n=n.next(e,t,!1));return n}},function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},function(e,t,n){var r=n(69),o=n(9)("asyncIterator");e.exports=function(e){var t=e[o];return void 0===t?r(e):t}},function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(!(r instanceof t)){function o(){}o.prototype=t.prototype,n(r,o=new o),e.prototype=r=o}r.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),r.constructor=e)}var o={},i=o.ELEMENT_NODE=1,a=o.ATTRIBUTE_NODE=2,s=o.TEXT_NODE=3,l=o.CDATA_SECTION_NODE=4,c=o.ENTITY_REFERENCE_NODE=5,u=o.ENTITY_NODE=6,d=o.PROCESSING_INSTRUCTION_NODE=7,f=o.COMMENT_NODE=8,p=o.DOCUMENT_NODE=9,h=o.DOCUMENT_TYPE_NODE=10,m=o.DOCUMENT_FRAGMENT_NODE=11,g=o.NOTATION_NODE=12,b={},v={},y=(b.INDEX_SIZE_ERR=(v[1]="Index size error",1),b.DOMSTRING_SIZE_ERR=(v[2]="DOMString size error",2),b.HIERARCHY_REQUEST_ERR=(v[3]="Hierarchy request error",3)),x=(b.WRONG_DOCUMENT_ERR=(v[4]="Wrong document",4),b.INVALID_CHARACTER_ERR=(v[5]="Invalid character",5),b.NO_DATA_ALLOWED_ERR=(v[6]="No data allowed",6),b.NO_MODIFICATION_ALLOWED_ERR=(v[7]="No modification allowed",7),b.NOT_FOUND_ERR=(v[8]="Not found",8)),w=(b.NOT_SUPPORTED_ERR=(v[9]="Not supported",9),b.INUSE_ATTRIBUTE_ERR=(v[10]="Attribute in use",10));b.INVALID_STATE_ERR=(v[11]="Invalid state",11),b.SYNTAX_ERR=(v[12]="Syntax error",12),b.INVALID_MODIFICATION_ERR=(v[13]="Invalid modification",13),b.NAMESPACE_ERR=(v[14]="Invalid namespace",14),b.INVALID_ACCESS_ERR=(v[15]="Invalid access",15);function _(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,v[e]),this.message=v[e],Error.captureStackTrace&&Error.captureStackTrace(this,_);return n.code=e,t&&(this.message=this.message+": "+t),n}function k(){}function S(e,t){this._node=e,this._refresh=t,E(this)}function E(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);te(e,"length",r.length),n(r,e),e._inc=t}}function T(){}function C(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function O(e,t,n,r){if(r?t[C(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&P(o,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function A(e,t,n){var r=C(t,n);if(!(r>=0))throw _(x,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(P(i,e,n),n.ownerElement=null)}}function D(e){if(this._features={},e)for(var t in e)this._features=e[t]}function j(){}function I(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function N(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(N(e,t))return!0}while(e=e.nextSibling)}function M(){}function P(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function L(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i}}}function R(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,L(e.ownerDocument,e),t}function F(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===m){var o=t.firstChild;if(null==o)return t;var i=t.lastChild}else o=i=t;var a=n?n.previousSibling:e.lastChild;o.previousSibling=a,i.nextSibling=n,a?a.nextSibling=o:e.firstChild=o,null==n?e.lastChild=i:n.previousSibling=i;do{o.parentNode=e}while(o!==i&&(o=o.nextSibling));return L(e.ownerDocument||e,e),t.nodeType==m&&(t.firstChild=t.lastChild=null),t}function U(){this._nsMap={}}function V(){}function B(){}function z(){}function H(){}function W(){}function Y(){}function q(){}function $(){}function G(){}function X(){}function K(){}function Q(){}function Z(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ee(this,n,e,t,a),n.join("")}function J(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!r&&!o)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===o||"http://www.w3.org/2000/xmlns/"==o)return!1;for(var i=n.length;i--;){var a=n[i];if(a.prefix==r)return a.namespace!=o}return!0}function ee(e,t,n,r,o){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case i:o||(o=[]);o.length;var u=e.attributes,g=u.length,b=e.firstChild,v=e.tagName;n="http://www.w3.org/1999/xhtml"===e.namespaceURI||n,t.push("<",v);for(var y=0;y<g;y++){"xmlns"==(x=u.item(y)).prefix?o.push({prefix:x.localName,namespace:x.value}):"xmlns"==x.nodeName&&o.push({prefix:"",namespace:x.value})}for(y=0;y<g;y++){var x;if(J(x=u.item(y),0,o)){var w=x.prefix||"",_=x.namespaceURI,k=w?" xmlns:"+w:" xmlns";t.push(k,'="',_,'"'),o.push({prefix:w,namespace:_})}ee(x,t,n,r,o)}if(J(e,0,o)){w=e.prefix||"";if(_=e.namespaceURI){k=w?" xmlns:"+w:" xmlns";t.push(k,'="',_,'"'),o.push({prefix:w,namespace:_})}}if(b||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(v)){if(t.push(">"),n&&/^script$/i.test(v))for(;b;)b.data?t.push(b.data):ee(b,t,n,r,o),b=b.nextSibling;else for(;b;)ee(b,t,n,r,o),b=b.nextSibling;t.push("</",v,">")}else t.push("/>");return;case p:case m:for(b=e.firstChild;b;)ee(b,t,n,r,o),b=b.nextSibling;return;case a:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,I),'"');case s:return t.push(e.data.replace(/[<&]/g,I).replace(/]]>/g,"]]&gt;"));case l:return t.push("<![CDATA[",e.data,"]]>");case f:return t.push("\x3c!--",e.data,"--\x3e");case h:var S=e.publicId,E=e.systemId;if(t.push("<!DOCTYPE ",e.name),S)t.push(" PUBLIC ",S),E&&"."!=E&&t.push(" ",E),t.push(">");else if(E&&"."!=E)t.push(" SYSTEM ",E,">");else{var T=e.internalSubset;T&&t.push(" [",T,"]"),t.push(">")}return;case d:return t.push("<?",e.target," ",e.data,"?>");case c:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function te(e,t,n){e[t]=n}_.prototype=Error.prototype,n(b,_),k.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ee(this[r],n,e,t);return n.join("")}},S.prototype.item=function(e){return E(this),this[e]},r(S,k),T.prototype={length:0,item:k.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new _(w);var n=this.getNamedItem(e.nodeName);return O(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new _(w);return t=this.getNamedItemNS(e.namespaceURI,e.localName),O(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return A(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return A(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},D.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new M;if(r.implementation=this,r.childNodes=new k,r.doctype=n,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new Y;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return F(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return R(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var o=new n.constructor;for(var s in n){var l=n[s];"object"!=typeof l&&l!=o[s]&&(o[s]=l)}n.childNodes&&(o.childNodes=new k);switch(o.ownerDocument=t,o.nodeType){case i:var c=n.attributes,u=o.attributes=new T,d=c.length;u._ownerElement=o;for(var f=0;f<d;f++)o.setAttributeNode(e(t,c.item(f),!0));break;case a:r=!0}if(r)for(var p=n.firstChild;p;)o.appendChild(e(t,p,r)),p=p.nextSibling;return o}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==s&&e.nodeType==s?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==a?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==a?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(o,j),n(o,j.prototype),M.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==m){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==i&&(this.documentElement=e),F(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),R(this,e)},importNode:function(e,t){return function e(t,n,r){var o;switch(n.nodeType){case i:(o=n.cloneNode(!1)).ownerDocument=t;case m:break;case a:r=!0}o||(o=n.cloneNode(!1));if(o.ownerDocument=t,o.parentNode=null,r)for(var s=n.firstChild;s;)o.appendChild(e(t,s,r)),s=s.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return N(this.documentElement,(function(n){if(n.nodeType==i&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=new RegExp("(^|\\s)"+e+"(\\s|$)");return new S(this,(function(e){var n=[];return N(e.documentElement,(function(r){r!==e&&r.nodeType==i&&t.test(r.getAttribute("class"))&&n.push(r)})),n}))},createElement:function(e){var t=new U;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new k,(t.attributes=new T)._ownerElement=t,t},createDocumentFragment:function(){var e=new X;return e.ownerDocument=this,e.childNodes=new k,e},createTextNode:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new K;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new V;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new G;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new U,r=t.split(":"),o=n.attributes=new T;return n.childNodes=new k,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new V,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},r(M,j),U.prototype={nodeType:i,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===m?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t);r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,L(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new S(this,(function(t){var n=[];return N(t,(function(r){r===t||r.nodeType!=i||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new S(this,(function(n){var r=[];return N(n,(function(o){o===n||o.nodeType!==i||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},M.prototype.getElementsByTagName=U.prototype.getElementsByTagName,M.prototype.getElementsByTagNameNS=U.prototype.getElementsByTagNameNS,r(U,j),V.prototype.nodeType=a,r(V,j),B.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(v[y])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},r(B,j),z.prototype={nodeName:"#text",nodeType:s,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},r(z,B),H.prototype={nodeName:"#comment",nodeType:f},r(H,B),W.prototype={nodeName:"#cdata-section",nodeType:l},r(W,B),Y.prototype.nodeType=h,r(Y,j),q.prototype.nodeType=g,r(q,j),$.prototype.nodeType=u,r($,j),G.prototype.nodeType=c,r(G,j),X.prototype.nodeName="#document-fragment",X.prototype.nodeType=m,r(X,j),K.prototype.nodeType=d,r(K,j),Q.prototype.serializeToString=function(e,t,n){return Z.call(e,t,n)},j.prototype.toString=Z;try{if(Object.defineProperty){Object.defineProperty(S.prototype,"length",{get:function(){return E(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case i:case m:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case i:case m:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),te=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.Node=j,t.DOMException=_,t.DOMImplementation=D,t.XMLSerializer=Q},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(257)),o=s(n(92)),i=s(n(258)),a=s(n(259));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(e){return 0===e.length?e:[e[0]]},f=function e(t,n,o){return{object:function(r){for(var i=0;i<n.length;i++){var a=void 0;if(o)a=n[i].getSubject();else{var s=n[i].getType();if("uri"===s||"bnode"===s)continue;a=n[i].getValue()}var l=t.find(a,r);l.length>0&&e(t,[l[0]])}return e(t,[])},objects:function(r){var i,a=[];if(!0===o)for(i=0;i<n.length;i++)a=a.concat(t.find(n[i].getSubject(),r));else for(i=0;i<n.length;i++){var s=n[i].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(n[i].getValue(),r)))}return e(t,a)},constr:function(i,a){var s=a;r.default.isString(s)&&(s={type:"uri",value:s});for(var l=[],c=0;c<n.length;c++){var u=o?n[c].getSubject():n[c].getValue();t.find(u,i,s).length>0&&l.push(n[c])}return e(t,l,o)},each:function(r,i){if(!0===o)for(var a=0;a<n.length;a++){var s="_:"===n[a].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==s||r(e(t,n[a],o))}else for(var l=0;l<n.length;l++)r(e(t,n[l],o))},statements:function(){return n},nodes:function(e){var t=[];if(!0===o)for(var r=0;r<n.length;r++){var i="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push({type:i,value:n[r].getSubject()})}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getObject());return t},values:function(e){var t=[];if(!0===o)for(var r=0;r<n.length;r++){var i="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push(n[r].getSubject())}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getValue());return t},firstValue:function(e){if(!0===o)for(var t=0;t<n.length;t++){var r="_:"===n[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===r)return n[t].getSubject()}else for(var i=0;i<n.length;i++)if(null==e||e===n[i].getType())return n[i].getValue()}}},p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;c(this,e),this._graph=t||{},this._bnodes={},this._bnodesIndexed=!1,!1!==n&&this.validate(),this._changed=!1}var t,n,s;return t=e,(n=[{key:"isEmpty",value:function(){var e=this;return!Object.keys(this._graph).find((function(t){var n=e._graph[t];return Object.keys(n).find((function(e){return n[e].find((function(e){return null==e._statement||e._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(e,t){for(var n,r={},o=e.find(),i=0;i<o.length;i++){var a=o[i],s=a.getSubject(),l=a.getPredicate(),c=a.getCleanObject();t&&(c.ng=t),0===s.indexOf("_:")&&(n=r[s]||this._newBNode(),r[s]=n,s=n),0===l.indexOf("_:")&&(n=r[l]||this._newBNode(),r[l]=n,l=n),"bnode"===c.type&&(n=r[c.value]||this._newBNode(),r[c.value]=n,c.value=n),this.add(s,l,c)}}},{key:"add",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(e instanceof i.default){var s=e.getPredicate(),l=e.getObject(),c=e.getSubject();this._trackBNodes(c,s,l);var u=this._graphObject(l),d=r.default.add(this._graph,c,s,u,a);return!0!==o&&this.setChanged(),this._get(c,s,d,!0)}return this.create(e,t,n,!0,o,a)}},{key:"addL",value:function(e,t,n,r){var o={type:"literal",value:n};return"string"==typeof r&&(o.lang=r),this.create(e,t,o,!0)}},{key:"addD",value:function(e,t,n,r){var i={type:"literal",value:n};return"string"==typeof r&&(i.datatype=o.default.expand(r)),this.create(e,t,i,!0)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=e,d=t,f=n;if(u=null==u?this._newBNode():o.default.expand(u),d=null==d?this._newBNode():o.default.expand(d),null==f?f={type:"bnode",value:this._newBNode()}:r.default.isString(f)?f={type:"uri",value:o.default.expand(f)}:"object"!==l(f)||Array.isArray(f)?f={type:"uri",value:"".concat(f)}:("uri"===(f={type:f.type,value:f.value,lang:f.lang,datatype:f.datatype}).type&&null!=f.value&&(f.value=o.default.expand(f.value)),f.datatype&&(f.datatype=o.default.expand(f.datatype))),!1!==a){var p=r.default.add(this._graph,u,d,f,c);return!0!==s&&this.setChanged(),this._getOrCreate(u,d,p,!0)}return new i.default(this,u,d,f,!1)}},{key:"findAndRemove",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.find(e,t,n),i=0;i<o.length;i++)this.remove(o[i],r)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getSubject(),o=e.getPredicate(),i=e.getObject();this._trackBNodes(n,o,i),null!=r.default.remove(this._graph,n,o,i)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,n){var i=e,a=t,s=n;if("string"==typeof i&&(i=o.default.expand(i)),"string"==typeof a&&(a=o.default.expand(a)),"object"===l(s)&&null!==s&&"uri"===s.type?s.value=o.default.expand(s.value):"string"==typeof s&&(s={type:"uri",value:o.default.expand(s)}),null==s)return null==a?null==i?this._find():this._findS(i):null==i?this._findP(a):this._findSP(i,a);if(null==a)return null==i?this._findO(s):this._findSO(i,s);if(null==i)return this._findPO(a,s);var c=this._get(i,a,r.default.contains(this._graph,i,a,s),!0);return null==c?[]:[c]}},{key:"findFirstValue",value:function(e,t){var n=this.find(e,t);if(n.length>0)return n[0].getValue()}},{key:"projection",value:function(e,t,n){var r=this,o={};return Object.keys(t).forEach((function(i){var a=t[i],s=Array.isArray(a)?r.findPath(e,a):r.find(e,a);if(s.length>0)switch("*"===i[0]?o[i.substr(1)]=s.map((function(e){return e.getValue()})):o[i]=s[0].getValue(),n||"none"){case"statement":o["*".concat(i)]=s;break;case"objects":o["*".concat(i)]=s.map((function(e){return e.getCleanObject()}));break;case"values":o["*".concat(i)]=s.map((function(e){return e.getValue()}))}})),o}},{key:"subjects",value:function(e,t){return f(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return f(this,d(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return f(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return f(this,d(this.find(e,t,null)))}},{key:"findPath",value:function(e,t){return t.slice(1).reduce((function(e,t){return e.objects(t)}),this.objects(e,t[0])).statements()}},{key:"addList",value:function(e){return this._addList(e,"add")}},{key:"addListL",value:function(e,t){return this._addList(e,"addL",t)}},{key:"addListD",value:function(e,t){return this._addList(e,"addD",t)}},{key:"_addList",value:function(e,t,n){var r,i=this;if(Array.isArray(e)&&0!==e.length){var a=r=this._newBNode(),s=e.length-1;e.forEach((function(e,r){i[t](a,"rdf:first",e,n),r!==s?a=i.add(a,"rdf:rest").getValue():i.add(a,"rdf:rest","rdf:nil")}))}else r=o.default.expand("rdf:nil");return r}},{key:"removeList",value:function(e){var t=!1,n="object"===l(e)?e.value:e;try{var r=o.default.expand("rdf:nil");for(t=n===r;n!==r&&null!=n;){var i=this.findFirstValue(n,"rdf:rest");this.findAndRemove(n),t=null!=(n=i)}}catch(e){return console.warn("Invalid list for object: ".concat(n)),!1}return t}},{key:"getList",value:function(e){var t="object"===l(e)?e.value:o.default.expand(e),n=[];try{for(var r=o.default.expand("rdf:nil");t!==r&&null!=t;)n.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn("Invalid list for object: ".concat(t))}return n}},{key:"findFirstListAsValues",value:function(e,t){return this.getList(this.findFirstValue(e,t)).map((function(e){return e.value}))}},{key:"findAndRemoveLists",value:function(e,t){var n=this,r=!1;return this.find(e,t).forEach((function(e){n.removeList(e.getValue())&&(n.remove(e),r=!0)})),r}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,r.default.clone(this._graph,e)}},{key:"replaceSubject",value:function(e,t){return this.replaceURI(e,t)}},{key:"replaceURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e]}return this.forEach((function(n,r,o){"uri"===o.type&&o.value===e&&(o.value=t),n===t&&o._statement&&(o._statement._s=t)})),this}},{key:"replaceBlankWithURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e],this.forEach((function(n,r,o){"bnode"===o.type&&o.value===e&&(o.value=t,o.type="uri"),n===t&&o._statement&&(o._statement._s=t)}))}return delete this._bnodes[e],this}},{key:"clone",value:function(){return new e(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(e){return Object.keys(this._graph[e]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(e){this._bnodes[e]=!0}},{key:"forEach",value:function(e){var t=this._graph;Object.keys(t).forEach((function(n){var r=t[n];Object.keys(r).forEach((function(t){r[t].forEach((function(r){e(n,t,r)}))}))}))}},{key:"map",value:function(e){var t=[];return this.forEach((function(n){t.push(e(n))})),t}},{key:"equals",value:function(e,t){return a.default.fingerprint(this,t)===a.default.fingerprint(e,t)}},{key:"size",value:function(){var e=0;return Object.values(this._graph).forEach((function(t){Object.values(t).forEach((function(t){e+=t.length}))})),e}},{key:"_get",value:function(e,t,n,r){if(null!=n)return this._getOrCreate(e,t,n,r)}},{key:"_getOrCreate",value:function(e,t,n,r){return null==n._statement&&(n._statement=new i.default(this,e,t,n,r)),n._statement}},{key:"_graphObject",value:function(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}},{key:"_findSP",value:function(e,t){var n=this;return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map((function(r){return n._get(e,t,r,!0)}))}},{key:"_findS",value:function(e){var t=this,n=this._graph[e],r=Object.keys(n||{}).map((function(n){return t._findSP(e,n)}));return Array.prototype.concat.apply([],r)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(n,r,o){t.push(e._get(n,r,o,!0))})),t}},{key:"_findP",value:function(e){var t=this,n=[];return this.forEach((function(r,o,i){e===o&&n.push(t._get(r,o,i,!0))})),n}},{key:"_findO",value:function(e){var t=this,n=[];return this.forEach((function(o,i,a){r.default.objectEquals(e,a)&&n.push(t._get(o,i,a,!0))})),n}},{key:"_findSO",value:function(e,t){var n=this,o=[];return this.forEach((function(i,a,s){e===i&&r.default.objectEquals(t,s)&&o.push(n._get(i,a,s,!0))})),o}},{key:"_findPO",value:function(e,t){var n=this,o=[];return this.forEach((function(i,a,s){e===a&&r.default.objectEquals(t,s)&&o.push(n._get(i,a,s,!0))})),o}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(n){var o=e[n];r.default.isObject(o)?Object.keys(o).forEach((function(e){var i=o[e];Array.isArray(i)?i.forEach((function(o,i){r.default.isObject(o)?null!=o.type?r.default.isString(o.value)?t.nr+=1:(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),t.valid=!1)})):(t.errors.push({s:n,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)})):(t.errors.push({s:n,message:"Subject must point to an object."}),t.valid=!1)})),t}},{key:"_newBNode",value:function(){var e,t,n;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(n="_:".concat(Math.floor(Math.random()*(Math.pow(10,e)+1))),!0!==this._bnodes[n])return this._bnodes[n]=!0,n;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var e=this;if(!this._bnodesIndexed){var t=this._graph;Object.keys(t).forEach((function(n){0===n.indexOf("_:")&&(e._bnodes[n]=!0);var r=t[n];Object.keys(r).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),r[t].forEach((function(t){"bnode"===t.type&&(e._bnodes[t.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(e,t,n){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===n.type&&(this._bnodes[n.value]=!0)}}])&&u(t.prototype,n),s&&u(t,s),e}();t.default=p},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return void 0!==e&&(null===e||"object"===n(e)||Array.isArray(e)||"function"==typeof e)},o=function(e){return"string"==typeof e||e instanceof String},i=function(e,t,n){0===e[t][n].length&&(delete e[t][n],0===Object.keys(e[t]).length&&delete e[t])},a=function(e){if(!r(e[0]))throw new Error("Graph is not a object.");if(!o(e[1]))throw new Error("Subject is not a string.");if(!o(e[2]))throw new Error("Predicate is not a string.");if(!r(e[3]))throw new Error("Object is not a object.");if(void 0===e[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===e[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},s=function(e,t){return e===t||null==e&&e===t||(o(e)?o(t)?e===t:e===t.value:o(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},l=function(e){var t={type:e.type,value:e.value};return null!=e.ng&&(t.ng=e.ng),null!=e.lang&&(t.lang=e.lang),null!=e.datatype&&(t.datatype=e.datatype),t},c=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")},u={isObject:r,isString:o,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&s(e.o,t.o)},add:function(e,t,n,r,o){if(a([e,t,n,r]),void 0===e[t])return e[t]={},e[t][n]=[r],r;if(void 0===e[t][n])return e[t][n]=[r],r;var i,l=e[t][n];if(!o)for(i=l.length-1;i>=0;i--)if(s(r,l[i]))return l[i];return l.push(r),r},remove:function(e,t,n,r){if(a([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var o,l=e[t][n];for(o=l.length-1;o>=0;o--)if(s(r,l[o])){var c=l[o];return l.splice(o,1),i(e,t,n),c}}},contains:function(e,t,n,r){if(a([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var o,i=e[t][n];for(o=i.length-1;o>=0;o--)if(s(r,i[o]))return i[o]}},cleanup:i,checkForWrongArgs:a,objectEquals:s,findDirectOrRDFValue:function(e,t,n){var r=e.find(t,n);if(r.length>0)return"bnode"!==r[0].getType()?r[0].getValue():e.findFirstValue(r[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return Object.keys(e).forEach((function(r){var o=e[r];n[r]={},Object.keys(o).forEach((function(e){var i=o[e];if(1===i.length)n[r][e]=[l(i[0])];else if(t){var a=[],s=new Set;n[r][e]=a,o[e].forEach((function(e){var t=l(e),n=c(t);s.has(n)||(s.add(n),a.push(t))}))}else{var u=[];n[r][e]=u,o[e].forEach((function(e){u.push(l(e))}))}}))})),n}};t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(92))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(t,n,r,o,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._graph=t,this._s=n,this._p=r,this._o=o,this._o._statement=this,this._asserted=i}var t,n,r;return t=e,(n=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this._asserted&&(e?this._graph.add(this,void 0,void 0,this._silentValue,t):this._graph.remove(this,this._silentValue),this._asserted=e)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(e){this._silentValue=!1;var t=o.default.expand(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(e){this._silentValue=!1;var t=o.default.expand(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(e){this._o.ng=e}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var e=this._o,t={value:e.value,type:e.type};return this._o.ng&&(t.ng=e.ng),e.lang&&(t.lang=e.lang),this._o.datatype&&(t.datatype=e.datatype),t}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==e&&(this._o.lang=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==e&&(this._o.datatype=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(92)),o=i(n(660));function i(e){return e&&e.__esModule?e:{default:e}}var a={extract:function e(t,n,r,o,i){var a=o||{};return t.find(r,null,null).forEach((function(r){a[r.getPredicate()]?i&&n.add(r):(n.add(r),"bnode"===r.getType()&&e(t,n,r.getValue(),a))})),n},remove:function e(t,n,r){var o=r||{};t.find(n,null,null).forEach((function(n){t.remove(n),o[n.getPredicate()]||"bnode"===n.getType()&&e(t,n.getValue(),o)}))},fingerprint:function(e,t){var n=[],i=new Set((t||[]).map((function(e){return r.default.expand(e)}))),a=[],s={},l=function(e){var t=e.getValue();return e.getLanguage()&&(t+="@".concat(e.getLanguage())),e.getDatatype()&&(t+="^^".concat(e.getDatatype())),t},c=function(e,t){var n=s[e]||{rels:[]};s[e]=n,n.rels.push(t)};return e.find().forEach((function(e){var t=e.getSubject(),r=e.getPredicate();if(!i.has(r)){var o="bnode"===e.getType(),s=e.isSubjectBlank();if(s||o)return a.push(e),s&&c(e.getSubject(),o?r:r+l(e)),void("bnode"===e.getType()&&c(e.getValue(),s?r:t+r));n.push(t+r+l(e))}})),Object.values(s).forEach((function(e){e.rels.sort(),e.hash=(0,o.default)(e.rels.join(""))})),a.forEach((function(e){var t=[];t.push(e.isSubjectBlank()?s[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?s[e.getValue()].hash:l(e)),n.push(t.join(""))})),n.sort(),(0,o.default)(n.join(""))}};t.default=a},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.docpart=t.protocol=t.join=void 0;t.join=function(e,t){var n=t.indexOf("#");if(n>0&&(t=t.slice(0,n)),0==e.length)return t;if(0==e.indexOf("#"))return t+e;if(e.indexOf(":")>=0)return e;var r=t.indexOf(":");if(r<0)return console.log("Invalid base URL "+t),e;var o,i=t.slice(0,r+1);if(0==e.indexOf("//"))return i+e;if(t.indexOf("//",r)==r+1){if((o=t.indexOf("/",r+3))<0)return t.length-r-3>0?t+"/"+e:i+e}else if((o=t.indexOf("/",r+1))<0)return t.length-r-1>0?t+"/"+e:i+e;if(0==e.indexOf("/"))return t.slice(0,o)+e;var a=t.slice(o),s=a.lastIndexOf("/");if(s<0)return i+e;for(s>=0&&s<a.length-1&&(a=a.slice(0,s+1)),a+=e;a.match(/[^\/]*\/\.\.\//);)a=a.replace(/[^\/]*\/\.\.\//,"");return a=a.replace(/\.\//g,""),t.slice(0,o)+a};t.docpart=function(e){var t=e.indexOf("#");return t<0?e:e.slice(0,t)};t.protocol=function(e){return e.slice(0,e.indexOf(":"))}},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){function t(){return i(this,t),s(this,c(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var n=function(){return{min:1,max:1,pref:1}},r=l(c(t.prototype),"getChildren",this).call(this,e)||[];this._delegatedChildren=r.map((function(e){var t=Object.create(e);return t.getCardinality=n,t}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(141))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){function t(){return i(this,t),s(this,l(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(r=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(189))&&r.__esModule?r:{default:r}).default);t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(51))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=0,s=function(){function e(t){var n=t.item,r=t.statement,o=t.graph,i=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=n,this._statement=r,this._graph=o,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(a),this._matchingCode=i||"correct",a+=1}var t,n,r;return t=e,(n=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var e=this.getParent();e&&e._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(e){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(e,t){}},{key:"getGist",value:function(){return o.default.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var n=e,r=this.getItem().getValueTemplate();r&&n.length>0&&(-1===r.indexOf("$1")&&(r+="$1"),n=r.replace("$1",n)),this.setValue(n,t)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(e){this._cardinalityTracker=e}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(e){this._parent=e}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(e){this._matchingCode=e}},{key:"setAncestorValid",value:function(e){this._ancestorValid=e,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(e){this._listeners||(this._listeners=[]),this._listeners.push(e)}},{key:"removeListener",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"bindingChange",value:function(e){if(this._listeners)for(var t=0;t<this._listeners.length;t++)this._listeners[t](e);this._parent&&this._parent.bindingChange(e),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(e){var t=e;if("string"!=typeof t&&null!==t)throw new Error("In a binding every object value need to be a string!");var n=this._item.getPattern();return n?null!=(t=o.default.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(n,"$")).test(t):null!=t&&""!==t}},{key:"_isValidPredicateValue",value:function(e){if("string"!=typeof e&&null!==e)throw new Error("In a binding every predicate need to be a string!");return null!=e&&""!==e}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=s},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(25),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(190)(e))},,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){
26
26
  /**!
27
27
  * @fileOverview Kickass library to create and place poppers near their reference elements.
28
28
  * @version 1.16.1
@@ -47,14 +47,14 @@ function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,b,v,y,x="sizzle"+1*new Date,w=e.
47
47
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
48
  * SOFTWARE.
49
49
  */
50
- var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?d:u||d}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function E(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=v(d,"x"),u-=v(d,"y"),o.width-=c,o.height-=u}return E(o)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=T(e),s=T(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-d,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-g,h.right-=p-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=b(h,t)),h}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=C(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return E(l)}function A(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&A(n)}function D(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?D(e):m(e,c(t));if("viewport"===r)i=O(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var d=C(u,a,o);if("HTML"!==u.nodeName||A(a))i=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function I(e){return e.width*e.height}function N(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:I(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?D(t):m(t,c(n));return C(n,o,r)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var r=P(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[L(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function V(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function H(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,r){n.updateBound=r,W(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(l(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function $(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:k({},l,i[l]),end:k({},l,i[l]+i[c]-a[c])};e.offsets.popper=S({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=z("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),k({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),k({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=P(r)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=E(e.offsets.popper);var g=l[f]+l[u]/2-m/2,b=a(e.instance.popper),v=parseFloat(b["margin"+d]),y=parseFloat(b["border"+d+"Width"]),x=g-e.offsets.popper[f]-v-y;return x=Math.max(Math.min(s[u]-m,x),0),e.arrowElement=r,e.offsets.arrow=(k(n={},f,Math.round(x)),k(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=L(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),b="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),x=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&p||!v&&"start"===i&&g||!v&&"end"===i&&m),w=y||x;(f||b||w)&&(e.flipped=!0,(f||b)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=E(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=p(e.instance.popper),l=T(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?u||d||l%2==c%2?i:a:s,p=t?i:s;return{left:f(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!K),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=z("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===d?-1:1,v="right"===f?-1:1;c[d]=g*b,c[f]=m*v,c.willChange=d+", "+f}var y={"x-placement":e.placement};return e.attributes=S({},y,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=M(o,t,e,n.positionFixed),a=N(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return _(e,[{key:"update",value:function(){return V.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=ie,t.default=ae}.call(this,n(194))},,,,,,,,function(e,t,n){n(205),n(246);var r=n(47);e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(17),a=n(6),s=n(10),l=n(164),c=n(210),u=n(4),d=n(19),f=n(68),p=n(11),h=n(2),m=n(18),g=n(39),b=n(46),v=n(59),y=n(36),x=n(86),w=n(75),_=n(212),k=n(163),S=n(31),E=n(15),T=n(119),C=n(20),O=n(32),A=n(121),D=n(120),j=n(102),I=n(101),N=n(9),M=n(213),P=n(26),L=n(52),R=n(21),F=n(29).forEach,U=D("hidden"),V=N("toPrimitive"),B=R.set,z=R.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,Y=i("JSON","stringify"),q=S.f,$=E.f,G=_.f,X=T.f,K=A("symbols"),Q=A("op-symbols"),Z=A("string-to-symbol-registry"),J=A("symbol-to-string-registry"),ee=A("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u((function(){return 7!=y($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=q(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,oe=function(e,t){var n=K[e]=y(W.prototype);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(Q,t,n),h(e);var r=b(t,!0);return h(n),d(K,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,U)||$(e,U,v(1,{})),e[U][r]=!0),re(e,r,n)):$(e,r,n)},se=function(e,t){h(e);var n=g(t),r=x(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=b(e,!0),n=X.call(this,t);return!(this===H&&d(K,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,U)&&this[U][t])||n)},ce=function(e,t){var n=g(e),r=b(t,!0);if(n!==H||!d(K,r)||d(Q,r)){var o=q(n,r);return!o||!d(K,r)||d(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=G(g(e)),n=[];return F(t,(function(e){d(K,e)||d(j,e)||n.push(e)})),n},de=function(e){var t=e===H,n=G(t?Q:g(e)),r=[];return F(n,(function(e){!d(K,e)||t&&!d(H,e)||r.push(K[e])})),r};(l||(O((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===H&&n.call(Q,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1),re(this,t,v(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return z(this).tag})),O(W,"withoutSetter",(function(e){return oe(I(e),e)})),T.f=le,E.f=ae,S.f=ce,w.f=_.f=ue,k.f=de,M.f=function(e){return oe(N(e),e)},s&&($(W.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||O(H,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),F(x(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=W(t);return Z[t]=n,J[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),Y)&&r({target:"JSON",stat:!0,forced:!l||u((function(){var e=W();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!ie(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,Y.apply(null,o)}});W.prototype[V]||C(W.prototype,V,W.prototype.valueOf),L(W,"Symbol"),j[U]=!0},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(7),a=n(19),s=n(11),l=n(15).f,c=n(208),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(f,u);var p=f.prototype=u.prototype;p.constructor=f;var h=p.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("matchAll")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){var r=n(0),o=n(214);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(0)({target:"Object",stat:!0,sham:!n(10)},{create:n(36)})},function(e,t,n){var r=n(0),o=n(10);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(e,t,n){var r=n(0),o=n(10);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(165)})},function(e,t,n){var r=n(0),o=n(215).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(0),o=n(106),i=n(4),a=n(11),s=n(76).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){var r=n(0),o=n(8),i=n(77);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},function(e,t,n){var r=n(0),o=n(4),i=n(39),a=n(31).f,s=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(10),i=n(161),a=n(39),s=n(31),l=n(77);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},function(e,t,n){var r=n(0),o=n(4),i=n(212).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){var r=n(0),o=n(4),i=n(18),a=n(33),s=n(168);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(0)({target:"Object",stat:!0},{is:n(216)})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(0),o=n(18),i=n(86);r({target:"Object",stat:!0,forced:n(4)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(0),o=n(11),i=n(76).onFreeze,a=n(106),s=n(4),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){var r=n(0),o=n(11),i=n(76).onFreeze,a=n(106),s=n(4),l=Object.seal;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){n(0)({target:"Object",stat:!0},{setPrototypeOf:n(70)})},function(e,t,n){var r=n(0),o=n(215).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(167),o=n(32),i=n(324);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(167),o=n(108);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(5),l=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(5),l=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(46),l=n(33),c=n(31).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(46),l=n(33),c=n(31).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},function(e,t,n){n(0)({target:"Function",proto:!0},{bind:n(218)})},function(e,t,n){var r=n(10),o=n(15).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(11),o=n(15),i=n(33),a=n(9)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(220);r({target:"Array",stat:!0,forced:!n(123)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){n(0)({target:"Array",stat:!0},{isArray:n(68)})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(77);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(68),a=n(11),s=n(18),l=n(14),c=n(77),u=n(105),d=n(110),f=n(9),p=n(169),h=f("isConcatSpreadable"),m=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(b(i=-1===t?a:arguments[t])){if(f+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&c(d,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,f++,i)}return d.length=f,d}})},function(e,t,n){var r=n(0),o=n(221),i=n(53);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(0),o=n(29).every,i=n(60),a=n(37),s=i("every"),l=a("every");r({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(0),o=n(170),i=n(53);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(0),o=n(29).filter,i=n(110),a=n(37),s=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(29).find,i=n(53),a=n(37),s=!0,l=a("find");"find"in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(0),o=n(29).findIndex,i=n(53),a=n(37),s=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(0),o=n(222),i=n(18),a=n(14),s=n(40),l=n(105);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){"use strict";var r=n(0),o=n(222),i=n(18),a=n(14),s=n(5),l=n(105);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),(t=l(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(0),o=n(223);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(0),o=n(103).includes,i=n(53);r({target:"Array",proto:!0,forced:!n(37)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(0),o=n(103).indexOf,i=n(60),a=n(37),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(100),i=n(39),a=n(60),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(0),o=n(224);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(0),o=n(29).map,i=n(110),a=n(37),s=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(125).left,i=n(60),a=n(37),s=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(125).right,i=n(60),a=n(37),s=i("reduceRight"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(68),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(11),i=n(68),a=n(67),s=n(14),l=n(39),c=n(77),u=n(9),d=n(110),f=n(37),p=d("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),g=[].slice,b=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,u,d=l(this),f=s(d.length),p=a(e,f),h=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,p,h);for(r=new(void 0===n?Array:n)(b(h-p,0)),u=0;p<h;p++,u++)p in d&&c(r,u,d[p]);return r.length=u,r}})},function(e,t,n){"use strict";var r=n(0),o=n(29).some,i=n(60),a=n(37),s=i("some"),l=a("some");r({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(18),a=n(4),s=n(60),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),f=s("sort");r({target:"Array",proto:!0,forced:u||!d||!f},{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(0),o=n(67),i=n(40),a=n(14),s=n(18),l=n(105),c=n(77),u=n(110),d=n(37),f=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!f||!p},{splice:function(e,t){var n,r,u,d,f,p,g=s(this),b=a(g.length),v=o(e,b),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=b-v):(n=y-2,r=m(h(i(t),0),b-v)),b+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),d=0;d<r;d++)(f=v+d)in g&&c(u,d,g[f]);if(u.length=r,n<r){for(d=v;d<b-r;d++)p=d+n,(f=d+r)in g?g[p]=g[f]:delete g[p];for(d=b;d>b-r+n;d--)delete g[d-1]}else if(n>r)for(d=b-r;d>v;d--)p=d+n-1,(f=d+r-1)in g?g[p]=g[f]:delete g[p];for(d=0;d<n;d++)g[d+v]=arguments[d+2];return g.length=b-r+n,u}})},function(e,t,n){n(78)("Array")},function(e,t,n){n(53)("flat")},function(e,t,n){n(53)("flatMap")},function(e,t,n){var r=n(0),o=n(67),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(39),i=n(14);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";var r=n(0),o=n(88).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r,o=n(0),i=n(31).f,a=n(14),s=n(173),l=n(28),c=n(174),u=n(6),d="".endsWith,f=Math.min,p=c("endsWith");o({target:"String",proto:!0,forced:!!(u||p||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!p},{endsWith:function(e){var t=String(l(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),i=String(e);return d?d.call(t,i,o):t.slice(o-i.length,o)===i}})},function(e,t,n){"use strict";var r=n(0),o=n(173),i=n(28);r({target:"String",proto:!0,forced:!n(174)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(14),a=n(28),s=n(130),l=n(131);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=l(a,c));){var h=String(d[0]);f[p]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),u)),p++}return 0===p?null:f}]}))},function(e,t,n){"use strict";var r=n(0),o=n(176).end;r({target:"String",proto:!0,forced:n(226)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(176).start;r({target:"String",proto:!0,forced:n(226)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(0)({target:"String",proto:!0},{repeat:n(177)})},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(18),a=n(14),s=n(40),l=n(28),c=n(130),u=n(131),d=Math.max,f=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,v=g?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&b||"string"==typeof r&&-1===r.indexOf(v)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),p=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var x=l.unicode;l.lastIndex=0}for(var w=[];;){var _=u(l,p);if(null===_)break;if(w.push(_),!m)break;""===String(_[0])&&(l.lastIndex=c(p,a(l.lastIndex),x))}for(var k,S="",E=0,T=0;T<w.length;T++){_=w[T];for(var C=String(_[0]),O=d(f(s(_.index),p.length),0),A=[],D=1;D<_.length;D++)A.push(void 0===(k=_[D])?k:String(k));var j=_.groups;if(h){var I=[C].concat(A,O,p);void 0!==j&&I.push(j);var N=String(r.apply(void 0,I))}else N=y(C,p,O,A,j,r);O>=E&&(S+=p.slice(E,O)+N,E=O+C.length)}return S+p.slice(E)}];function y(e,n,r,o,a,s){var l=r+e.length,c=o.length,u=m;return void 0!==a&&(a=i(a),u=h),t.call(s,u,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>c){var d=p(u/10);return 0===d?t:d<=c?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(28),a=n(216),s=n(131);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var u=s(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var r=n(127),o=n(111),i=n(2),a=n(28),s=n(27),l=n(130),c=n(14),u=n(131),d=n(128),f=n(4),p=[].push,h=Math.min,m=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,f+"g");(s=d.call(m,r))&&!((l=m.lastIndex)>h&&(u.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&p.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!c&&m.test("")||u.push(""):u.push(r.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),p=s(d,RegExp),g=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new p(m?d:"^(?:"+d.source+")",b),y=void 0===o?4294967295:o>>>0;if(0===y)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var x=0,w=0,_=[];w<f.length;){v.lastIndex=m?w:0;var k,S=u(v,m?f:f.slice(w));if(null===S||(k=h(c(v.lastIndex+(m?0:w)),f.length))===x)w=l(f,w,g);else{if(_.push(f.slice(x,w)),_.length===y)return _;for(var E=1;E<=S.length-1;E++)if(_.push(S[E]),_.length===y)return _;w=x=k}}return _.push(f.slice(x)),_}]}),!m)},function(e,t,n){"use strict";var r,o=n(0),i=n(31).f,a=n(14),s=n(173),l=n(28),c=n(174),u=n(6),d="".startsWith,f=Math.min,p=c("startsWith");o({target:"String",proto:!0,forced:!!(u||p||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!p},{startsWith:function(e){var t=String(l(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(0),o=n(90).trim;r({target:"String",proto:!0,forced:n(178)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(90).start,i=n(178)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var r=n(0),o=n(90).end,i=n(178)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){var r=n(10),o=n(7),i=n(104),a=n(133),s=n(15).f,l=n(75).f,c=n(111),u=n(89),d=n(129),f=n(32),p=n(4),h=n(21).set,m=n(78),g=n(9)("match"),b=o.RegExp,v=b.prototype,y=/a/g,x=/a/g,w=new b(y)!==y,_=d.UNSUPPORTED_Y;if(r&&i("RegExp",!w||_||p((function(){return x[g]=!1,b(y)!=y||b(x)==x||"/a/i"!=b(y,"i")})))){for(var k=function(e,t){var n,r=this instanceof k,o=c(e),i=void 0===t;if(!r&&o&&e.constructor===k&&i)return e;w?o&&!i&&(e=e.source):e instanceof k&&(i&&(t=u.call(e)),e=e.source),_&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(w?new b(e,t):b(e,t),r?this:v,k);return _&&n&&h(s,{sticky:n}),s},S=function(e){e in k||s(k,e,{configurable:!0,get:function(){return b[e]},set:function(t){b[e]=t}})},E=l(b),T=0;E.length>T;)S(E[T++]);v.constructor=k,k.prototype=v,f(o,"RegExp",k)}m("RegExp")},function(e,t,n){var r=n(10),o=n(15),i=n(89),a=n(129).UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){var r=n(10),o=n(129).UNSUPPORTED_Y,i=n(15).f,a=n(21).get,s=RegExp.prototype;r&&o&&i(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},function(e,t,n){"use strict";n(175);var r,o,i=n(0),a=n(11),s=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),l=/./.test;i({target:"RegExp",proto:!0,forced:!s},{test:function(e){if("function"!=typeof this.exec)return l.call(this,e);var t=this.exec(e);if(null!==t&&!a(t))throw new Error("RegExp exec method returned something other than an Object or null");return!!t}})},function(e,t,n){"use strict";var r=n(32),o=n(2),i=n(4),a=n(89),s=RegExp.prototype,l=s.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(c||u)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(0),o=n(179);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(0),o=n(228);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){"use strict";var r=n(10),o=n(7),i=n(104),a=n(32),s=n(19),l=n(45),c=n(133),u=n(46),d=n(4),f=n(36),p=n(75).f,h=n(31).f,m=n(15).f,g=n(90).trim,b=o.Number,v=b.prototype,y="Number"==l(f(v)),x=function(e){var t,n,r,o,i,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var w,_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(y?d((function(){v.valueOf.call(n)})):"Number"!=l(n))?c(new b(x(t)),n,_):x(t)},k=r?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;k.length>S;S++)s(b,w=k[S])&&!s(_,w)&&m(_,w,h(b,w));_.prototype=v,v.constructor=_,a(o,"Number",_)}},function(e,t,n){n(0)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isFinite:n(229)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isInteger:n(230)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(230),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(0)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(0)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(228);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(0),o=n(179);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(0),o=n(40),i=n(231),a=n(177),s=n(4),l=1..toFixed,c=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,n,r,s,l=i(this),d=o(e),f=[0,0,0,0,0,0],p="",h="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=c(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=c(n/e),n=n%e*1e7},b=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(u(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),h=b()}else m(0,n),m(1<<-t,0),h=b()+a.call("0",d);return h=d>0?p+((s=h.length)<=d?"0."+a.call("0",d-s)+h:h.slice(0,s-d)+"."+h.slice(s-d)):p+h}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(231),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(0),o=n(232),i=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:o(e-1+s(e-1)*s(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(180),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(0),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,n){var r=n(0),o=n(134),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},function(e,t,n){var r=n(0),o=n(134);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(0)({target:"Math",stat:!0},{fround:n(233)})},function(e,t,n){var r=n(0),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,l=arguments.length,c=0;s<l;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(e,t,n){var r=n(0),o=n(4),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(0)({target:"Math",stat:!0},{log1p:n(232)})},function(e,t,n){var r=n(0),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(0)({target:"Math",stat:!0},{sign:n(180)})},function(e,t,n){var r=n(0),o=n(4),i=n(134),a=Math.abs,s=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(l/2)}})},function(e,t,n){var r=n(0),o=n(134),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(52)(Math,"Math",!0)},function(e,t,n){var r=n(0),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){n(0)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(18),a=n(46);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(429);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(4),o=n(176).start,i=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-50000000000001))}))||!r((function(){l.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+o(i(e),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(t,3,0)+"Z"}:l},function(e,t,n){var r=n(32),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){var r=n(20),o=n(432),i=n(9)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(2),o=n(46);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(0),o=n(17),i=n(4),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,n){var r=n.charAt(t-1),o=n.charAt(t+1);return l.test(e)&&!c.test(o)||c.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&r({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,u):r}})},function(e,t,n){var r=n(7);n(52)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r,o,i,a,s=n(0),l=n(6),c=n(7),u=n(17),d=n(234),f=n(32),p=n(61),h=n(52),m=n(78),g=n(11),b=n(5),v=n(48),y=n(45),x=n(159),w=n(8),_=n(123),k=n(27),S=n(181).set,E=n(236),T=n(237),C=n(238),O=n(112),A=n(135),D=n(21),j=n(104),I=n(9),N=n(169),M=I("species"),P="Promise",L=D.get,R=D.set,F=D.getterFor(P),U=d,V=c.TypeError,B=c.document,z=c.process,H=u("fetch"),W=O.f,Y=W,q="process"==y(z),$=!!(B&&B.createEvent&&c.dispatchEvent),G=j(P,(function(){if(!(x(U)!==String(U))){if(66===N)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(N>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[M]=t,!(e.then((function(){}))instanceof t)})),X=G||!_((function(e){U.all(e).catch((function(){}))})),K=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;E((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=i?u.ok:u.fail,f=u.resolve,p=u.reject,h=u.domain;try{d?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?s=o:(h&&h.enter(),s=d(o),h&&(h.exit(),c=!0)),s===u.promise?p(V("Promise-chain cycle")):(l=K(s))?l.call(s,f,p):f(s)):p(o)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&J(e,t)}))}},Z=function(e,t,n){var r,o;$?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},J=function(e,t){S.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=A((function(){q?z.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=q||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){S.call(c,(function(){q?z.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Q(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw V("Promise can't be resolved itself");var o=K(n);o?E((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};G&&(U=function(e){v(this,U,P),b(e),r.call(this);var t=L(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=W(k(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=q?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=L(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},O.f=W=function(e){return e===U||e===i?new o(e):Y(e)},l||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(U,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:G},{Promise:U}),h(U,P,!1,!0),m(P),i=u(P),s({target:P,stat:!0,forced:G},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:l||G},{resolve:function(e){return T(l&&this===i?U:this,e)}}),s({target:P,stat:!0,forced:X},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=A((function(){var n=b(t.resolve),i=[],a=0,s=1;w(e,(function(e){var l=a++,c=!1;i.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=A((function(){var o=b(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(234),a=n(4),s=n(17),l=n(27),c=n(237),u=n(32);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||u(i.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){"use strict";n(136)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(242))},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(137),a=n(78),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,t,s){var l,c,u,d=new Array(s),f=8*s-t-1,p=(1<<f)-1,h=p>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,b=0;for((e=n(e))!=e||e===1/0?(c=e!=e?1:0,l=p):(l=o(i(e)/a),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*r(2,1-h))*u>=2&&(l++,u/=2),l+h>=p?(c=0,l=p):l+h>=1?(c=(e*u-1)*r(2,t),l+=h):(c=e*r(2,h-1)*r(2,t),l=0));t>=8;d[b++]=255&c,c/=256,t-=8);for(l=l<<t|c,f+=t;f>0;d[b++]=255&l,l/=256,f-=8);return d[--b]|=128*g,d},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(n=d&(1<<-l)-1,d>>=-l,l+=t;l>0;n=256*n+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),d-=s}return(u?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(0),o=n(16);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(137),a=n(2),s=n(67),l=n(14),c=n(27),u=i.ArrayBuffer,d=i.DataView,f=u.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==f&&void 0===t)return f.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(c(this,u))(l(o-r)),p=new d(this),h=new d(i),m=0;r<o;)h.setUint8(m++,p.getUint8(r++));return i}})},function(e,t,n){var r=n(0),o=n(137);r({global:!0,forced:!n(184)},{DataView:o.DataView})},function(e,t,n){n(62)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(62)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(185);(0,n(16).exportTypedArrayStaticMethod)("from",n(245),r)},function(e,t,n){"use strict";var r=n(16),o=n(185),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){"use strict";var r=n(16),o=n(221),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(170),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).filter,i=n(27),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,l=t.length,c=new(s(n))(l);l>r;)c[r]=t[r++];return c}))},function(e,t,n){"use strict";var r=n(16),o=n(29).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(103).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(103).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(7),o=n(16),i=n(126),a=n(9)("iterator"),s=r.Uint8Array,l=i.values,c=i.keys,u=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,p=s&&s.prototype[a],h=!!p&&("values"==p.name||null==p.name),m=function(){return l.call(d(this))};f("entries",(function(){return u.call(d(this))})),f("keys",(function(){return c.call(d(this))})),f("values",m,!h),f(a,m,!h)},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(224),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).map,i=n(27),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(16),o=n(125).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(125).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(16),o=n(14),i=n(244),a=n(18),s=n(4),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(16),o=n(27),i=n(4),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,c=[].slice;l("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,l=n.length,u=new(s(r))(l);l>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(16),o=n(29).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(16),o=n(14),i=n(67),a=n(27),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},function(e,t,n){"use strict";var r=n(7),o=n(16),i=n(4),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(16).exportTypedArrayMethod,o=n(4),i=n(7).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},function(e,t,n){var r=n(0),o=n(17),i=n(5),a=n(2),s=n(4),l=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):c.call(e,t,n)}})},function(e,t,n){var r=n(0),o=n(17),i=n(5),a=n(2),s=n(11),l=n(36),c=n(218),u=n(4),d=o("Reflect","construct"),f=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),p=!u((function(){d((function(){}))})),h=f||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},function(e,t,n){var r=n(0),o=n(10),i=n(2),a=n(46),s=n(15);r({target:"Reflect",stat:!0,forced:n(4)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(2),i=n(31).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(0),o=n(11),i=n(2),a=n(19),s=n(31),l=n(33);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(u):o(c=l(t))?e(c,n,u):void 0}})},function(e,t,n){var r=n(0),o=n(10),i=n(2),a=n(31);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(0),o=n(2),i=n(33);r({target:"Reflect",stat:!0,sham:!n(168)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(0)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(2),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(0)({target:"Reflect",stat:!0},{ownKeys:n(161)})},function(e,t,n){var r=n(0),o=n(17),i=n(2);r({target:"Reflect",stat:!0,sham:!n(106)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(2),i=n(11),a=n(19),s=n(4),l=n(15),c=n(31),u=n(33),d=n(59);r({target:"Reflect",stat:!0,forced:s((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function e(t,n,r){var s,f,p=arguments.length<4?t:arguments[3],h=c.f(o(t),n);if(!h){if(i(f=u(t)))return e(f,n,r,p);h=d(0)}if(a(h,"value")){if(!1===h.writable||!i(p))return!1;if(s=c.f(p,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=r,l.f(p,n,s)}else l.f(p,n,d(0,r));return!0}return void 0!==h.set&&(h.set.call(p,r),!0)}})},function(e,t,n){var r=n(0),o=n(2),i=n(217),a=n(70);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(7),o=n(247),i=n(223),a=n(20);for(var s in o){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t,n){var r=n(7),o=n(247),i=n(126),a=n(20),s=n(9),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t,n){var r=n(0),o=n(7),i=n(181);r({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(0),o=n(7),i=n(236),a=n(45),s=o.process,l="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&s.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(0),o=n(7),i=n(124),a=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},u=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,u=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var p=r.length,h=p;for(p&&r.push("-");h<o;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<m&&(m=n);var g=h+1;if(m-u>a((2147483647-d)/g))throw RangeError(i);for(d+=(m-u)*g,u=m,t=0;t<e.length;t++){if((n=e[t])<u&&++d>2147483647)throw RangeError(i);if(n==u){for(var b=d,v=36;;v+=36){var y=v<=f?1:v>=f+26?26:v-f;if(b<y)break;var x=b-y,w=36-y;r.push(s(l(y+x%w))),b=a(x/w)}r.push(s(l(b))),f=c(d,g,h==p),d=0,++h}}++d,++u}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+u(n):n);return i.join(".")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(k([])));m&&m!==t&&n.call(m,o)&&(p=m);var g=f.prototype=u.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function v(e){var t;this._invoke=function(r,o){function i(){return new Promise((function(t,i){!function t(r,o,i,a){var s=l(e[r],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(r,o,t,i)}))}return t=t?t.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=g.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(v.prototype),v.prototype[i]=function(){return this},e.AsyncIterator=v,e.async=function(t,n,r,o){var i=new v(s(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t,n){var r="Fetching template bundle ".concat(n," failed.");if(e===t-1)throw Error("".concat(r," Cannot recover from this, please fix."));console.log("".concat(r," Will try to fetch from a fallback option."))},i=function(){var e=r(regeneratorRuntime.mark((function e(t){var n,r,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.length,a=0;case 2:if(!(a<n)){e.next=34;break}return e.prev=3,e.next=6,fetch(t[a]);case 6:r=e.sent,e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(t[a]));case 12:if(!r||!r.ok){e.next=30;break}if(e.prev=13,!(s=r.headers.has("content-type")&&r.headers.get("content-type"))||!s.includes("application/json")){e.next=22;break}return e.next=18,r.json();case 18:return i=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[a],". Expected a JSON file and got ").concat(s));case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),o(a,n,t[a]);case 28:e.next=31;break;case 30:o(a,n,t[a]);case 31:a++,e.next=2;break;case 34:return e.abrupt("return",i);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),a=function(e){return e.map((function(e){return e instanceof Array?i(e):Promise.resolve(e)}))},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))},l=function(){var e=r(regeneratorRuntime.mark((function e(t){var n,r,o,i,l,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:[],r=c.length>2&&void 0!==c[2]?c[2]:function(){},0===n.length&&r&&r([]),o=a(n),e.next=6,Promise.all(o);case 6:return i=e.sent,l=s(t,i),r(l),e.abrupt("return",l);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(91),o=d(n(262)),i=d(n(141)),a=d(n(263)),s=d(n(191)),l=d(n(667)),c=d(n(668)),u=n(74);function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.automaticSortAllowed=!0,this.ignoreMissingItems=!0,this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new l.default}var t,n,d;return t=e,(n=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var n=e.getSource(!0),r=n.content||n.items||[];if(t)return this._createItems(r,e._forceChildrenClones,e.getBundle());var o=this.getItem(n.extends);return o?o.getChildren().concat(e.getChildren(!0)):e.getChildren(!0)}},{key:"getItem",value:function(e){if(null!=e)return this._registry[e]}},{key:"getItems",value:function(){var e=this;return Object.keys(this._registry).map((function(t){return e._registry[t]}))}},{key:"renameItem",value:function(e,t){if(this._registry[t])throw new Error("Cannot rename to ".concat(t," since an item with that id already exists."));if(""===t||null===t)throw new Error("Cannot give an item an empty string or null as id.");var n=this._registry[e];n&&(delete this._registry[e],this._registry[t]=n,n.setId(t));for(var r=function n(r){var o=r.content;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},o=this.getItems(),a=0;a<o.length;a++){var s=o[a];s instanceof i.default&&r(s._source)}}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,n){return(0,u.constructTemplate)(e,t,this,n)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new c.default(e);this._bundles.push(t),e.source&&e.source.namespaces&&r.namespaces.add(e.source.namespaces);var n=e.source.templates||e.source.auxilliary;return n instanceof Array&&this._createItems(n,!1,t),"object"===f(e.source.cachedChoices)&&this._ontologyStore.importRegistry(e.source.cachedChoices),t}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(e){return this.registerBundle({source:e}).getRoot()}},{key:"createTemplateFromChildren",value:function(e){var t=this,n=(e||[]).map((function(e){return"string"==typeof e?t.getItem(e):e}));return new i.default({source:{},children:n,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var n=Object.assign(Object.assign({},e),t);return n._extendedSource=t,n.extends=null,delete n.children,n}},{key:"createItem",value:function(e,t,n,r){var l,c=e.id||e["@id"],u=e.type||e["@type"];if(e.extends){var d=this._registry[e.extends];if(null==d&&!this.ignoreMissingItems)throw new Error("Cannot find item to extend with id: ".concat(e.extends));if(d){var f=this.createExtendedSource(d.getSource(),e);return this.createItem(f,!1,!1,r)}}if(null!=u){switch(u){case"text":l=new a.default({source:e,itemStore:this,bundle:r});break;case"choice":l=new s.default({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:r});break;case"group":l=new i.default({source:e,children:null,itemStore:this,bundle:r});break;case"propertygroup":l=new o.default({source:e,children:null,itemStore:this,bundle:r})}return!0!==n&&(null!=e.property&&(this._registryByProperty[e.property]=l,this.priorities&&null!=this.priorities[e.property]&&(l.priority=this.priorities[e.property])),null!=c&&null==this._registry[c]&&(this._registry[c]=l,null!=r&&r.addItem(l))),l}if(null==c)throw new Error("Cannot create subitem, `type` for creating new or `id` for referencing external are required.");if(null==this._registry[c])throw new Error("Cannot find referenced subitem using identifier: ".concat(c));if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var p=Object.assign(Object.assign({},this._registry[c]._source),e);return this.createItem(p,!1,!0)}return this._registry[c]}},{key:"removeItem",value:function(e,t){var n=e.getBundle();null!=n&&n.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var r=e.getProperty();null!=r&&this._registryByProperty[r]===e&&delete this._registryByProperty[r]}},{key:"_createItems",value:function(e,t,n){var r=this;return e.map((function(o,i){var a="string"==typeof o?e[i]={id:o}:o;return r.createItem(a,t,!1,n)}))}}])&&p(t.prototype,n),d&&p(t,d),e}();t.default=h},function(e,t,n){n(205),n(500),n(246);var r=n(47);e.exports=r},function(e,t,n){n(501)},function(e,t,n){var r=n(502);e.exports=r},function(e,t,n){n(503);var r=n(513);e.exports=r},function(e,t,n){n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512)},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);s(e,t,i(n),r)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.getMap,l=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=s(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var o=l.get(t);return o.delete(n),!!o.size||l.delete(t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=n(33),s=o.has,l=o.get,c=o.toKey,u=function(e,t,n){if(s(e,t,n))return l(e,t,n);var r=a(t);return null!==r?u(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return u(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(241),i=n(63),a=n(2),s=n(33),l=n(8),c=i.keys,u=i.toKey,d=function(e,t){var n=c(e,t),r=s(e);if(null===r)return n;var i,a,u=d(r,t);return u.length?n.length?(i=new o(n.concat(u)),l(i,(a=[]).push,a),a):u:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return d(a(e),t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.get,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.keys,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=n(33),s=o.has,l=o.toKey,c=function(e,t,n){if(s(e,t,n))return!0;var r=a(t);return null!==r&&c(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return c(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.has,s=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){s(e,t,i(n),a(r))}}})},function(e,t,n){n(514),n(519),n(521);var r=n(522);e.exports=r},function(e,t,n){n(515),n(516),n(517),n(518)},function(e,t,n){n(0)({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(e,t,n){n(0)({target:"Math",stat:!0},{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(e,t,n){n(0)({target:"Math",stat:!0},{imulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>16,s=r>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>16)+((o*s>>>0)+(65535&l)>>16)}})},function(e,t,n){n(0)({target:"Math",stat:!0},{umulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>>16,s=r>>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>>16)+((o*s>>>0)+(65535&l)>>>16)}})},function(e,t,n){n(520)},function(e,t,n){"use strict";var r=n(0),o=n(88).charAt;r({target:"String",proto:!0},{at:function(e){return o(this,e)}})},function(e,t,n){n(248),n(250),n(186)},function(e,t,n){n(523),n(526),n(555),n(564),n(567),n(575),n(577),n(579),n(583),n(586),n(588),n(590),n(592);var r=n(594);e.exports=r},function(e,t,n){n(524),n(525)},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(18),a=n(14),s=n(15).f;r&&!("lastIndex"in[])&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?0:t-1}}),o("lastIndex"))},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(18),a=n(14),s=n(15).f;r&&!("lastItem"in[])&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),n=a(t.length);return t[0==n?0:n-1]=e}}),o("lastItem"))},function(e,t,n){n(527),n(528),n(529),n(530),n(531),n(532),n(533),n(534),n(536),n(537),n(538),n(539),n(540),n(541),n(542),n(543),n(544),n(545),n(546),n(547),n(548),n(549),n(550),n(551),n(552),n(553),n(554)},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5);r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;i(t);var r=i(n.has),a=i(n.get),s=i(n.set);return o(e,(function(e){var o=t(e);r.call(n,o)?a.call(n,o).push(e):s.call(n,o,[e])})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5);r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;i(t);var r=i(n.set);return o(e,(function(e){r.call(n,t(e),e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"Map",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){r(n,e,t)&&f.call(o,e,n)}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{findKey:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(54),s=n(535),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{includes:function(e){return l(a(i(this)),(function(t,n){if(s(n,e))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(54),s=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{keyOf:function(e){return s(a(i(this)),(function(t,n){if(n===e)return s.stop(t)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){f.call(o,r(n,e,t),n)}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{mapValues:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){f.call(o,e,r(n,e,t))}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{merge:function(e){for(var t=i(this),n=a(t.set),r=0;r<arguments.length;)s(arguments[r++],n,t,!0);return t}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=s(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),l(n,(function(n,i){r?(r=!1,o=i):o=e(o,i,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5);r({target:"Map",proto:!0,real:!0,forced:o},{update:function(e,t){var n=i(this),r=arguments.length;a(t);var o=n.has(e);if(!o&&r<3)throw TypeError("Updating absent value");var s=o?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(251);r({target:"Set",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"Set",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(79),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(79),d=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),f=s(o.add);return d(n,(function(e){r(e,e,t)&&f.call(o,e)}),void 0,!1,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(79),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(79),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{join:function(e){var t=i(this),n=a(t),r=void 0===e?",":String(e),o=[];return s(n,o.push,o,!1,!0),o.join(r)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(79),d=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{map:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),f=s(o.add);return d(n,(function(e){f.call(o,r(e,e,t))}),void 0,!1,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(79),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=s(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),l(n,(function(n){r?(r=!1,o=n):o=e(o,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(79),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"WeakMap",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(251);r({target:"WeakSet",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"WeakSet",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563)},function(e,t,n){n(0)({target:"Map",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"Map",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"Set",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"Set",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"WeakMap",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"WeakMap",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"WeakSet",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"WeakSet",stat:!0},{of:n(140)})},function(e,t,n){n(565),n(566)},function(e,t,n){var r=n(0),o=n(252),i=n(17),a=n(36),s=function(){var e=i("Object","freeze");return e?e(a(null)):a(null)};r({global:!0},{compositeKey:function(){return o.apply(Object,arguments).get("object",s)}})},function(e,t,n){var r=n(0),o=n(252),i=n(17);r({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?i("Symbol").for(arguments[0]):o.apply(null,arguments).get("symbol",i("Symbol"))}})},function(e,t,n){n(568),n(569),n(570),n(571),n(572),n(573),n(574)},function(e,t,n){var r=n(0),o=Math.min,i=Math.max;r({target:"Math",stat:!0},{clamp:function(e,t,n){return o(n,i(t,e))}})},function(e,t,n){n(0)({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(0),o=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*o}})},function(e,t,n){var r=n(0),o=n(253),i=n(233);r({target:"Math",stat:!0},{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},function(e,t,n){n(0)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(0),o=Math.PI/180;r({target:"Math",stat:!0},{radians:function(e){return e*o}})},function(e,t,n){n(0)({target:"Math",stat:!0},{scale:n(253)})},function(e,t,n){n(576)},function(e,t,n){n(0)({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},function(e,t,n){n(578)},function(e,t,n){"use strict";var r=n(0),o=n(40),i=n(179),a=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,s=1;if("string"!=typeof e)throw TypeError("Invalid number representation");if(!e.length)throw SyntaxError("Invalid number representation");if("-"==e.charAt(0)&&(s=-1,!(e=e.slice(1)).length))throw SyntaxError("Invalid number representation");if((n=void 0===t?10:o(t))<2||n>36)throw RangeError("Invalid radix");if(!a.test(e)||(r=i(e,n)).toString(n)!==e)throw SyntaxError("Invalid number representation");return s*r}})},function(e,t,n){n(580),n(581),n(582)},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateEntries:function(e){return new o(e,"entries")}})},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateKeys:function(e){return new o(e,"keys")}})},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateValues:function(e){return new o(e,"values")}})},function(e,t,n){n(584),n(585)},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(78),a=n(5),s=n(2),l=n(11),c=n(48),u=n(15).f,d=n(20),f=n(61),p=n(114),h=n(8),m=n(238),g=n(9),b=n(21),v=g("observable"),y=b.get,x=b.set,w=function(e){return null==e?void 0:a(e)},_=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(e){m(e)}}},k=function(e){return void 0===e.observer},S=function(e,t){if(!o){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},E=function(e,t){var n,r=x(this,{cleanup:void 0,observer:s(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(n=w(e.start))&&n.call(e,this)}catch(e){m(e)}if(!k(r)){var i=r.subscriptionObserver=new T(this);try{var l=t(i),c=l;null!=l&&(r.cleanup="function"==typeof l.unsubscribe?function(){c.unsubscribe()}:a(l))}catch(e){return void i.error(e)}k(r)&&_(r)}};E.prototype=f({},{unsubscribe:function(){var e=y(this);k(e)||(S(this,e),_(e))}}),o&&u(E.prototype,"closed",{configurable:!0,get:function(){return k(y(this))}});var T=function(e){x(this,{subscription:e}),o||(this.closed=!1)};T.prototype=f({},{next:function(e){var t=y(y(this).subscription);if(!k(t)){var n=t.observer;try{var r=w(n.next);r&&r.call(n,e)}catch(e){m(e)}}},error:function(e){var t=y(this).subscription,n=y(t);if(!k(n)){var r=n.observer;S(t,n);try{var o=w(r.error);o?o.call(r,e):m(e)}catch(e){m(e)}_(n)}},complete:function(){var e=y(this).subscription,t=y(e);if(!k(t)){var n=t.observer;S(e,t);try{var r=w(n.complete);r&&r.call(n)}catch(e){m(e)}_(t)}}}),o&&u(T.prototype,"closed",{configurable:!0,get:function(){return k(y(y(this).subscription))}});var C=function(e){c(this,C,"Observable"),x(this,{subscriber:a(e)})};f(C.prototype,{subscribe:function(e){var t=arguments.length;return new E("function"==typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},y(this).subscriber)}}),f(C,{from:function(e){var t="function"==typeof this?this:C,n=w(s(e)[v]);if(n){var r=s(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var o=p(e);return new t((function(e){h(o,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){for(var e="function"==typeof this?this:C,t=arguments.length,n=new Array(t),r=0;r<t;)n[r]=arguments[r++];return new e((function(e){for(var r=0;r<t;r++)if(e.next(n[r]),e.closed)return;e.complete()}))}}),d(C.prototype,v,(function(){return this})),r({global:!0},{Observable:C}),i("Observable")},function(e,t,n){n(26)("observable")},function(e,t,n){n(587)},function(e,t,n){n(26)("patternMatch")},function(e,t,n){n(589)},function(e,t,n){"use strict";var r=n(0),o=n(112),i=n(135);r({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},function(e,t,n){n(591)},function(e,t,n){var r=n(0),o=n(2),i=n(229),a=n(87),s=n(21),l=s.set,c=s.getterFor("Seeded Random Generator"),u=a((function(e){l(this,{type:"Seeded Random Generator",seed:e%2147483647})}),"Seeded Random",(function(){var e=c(this);return{value:(1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,done:!1}}));r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!i(t))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new u(t)}})},function(e,t,n){n(593)},function(e,t,n){"use strict";var r=n(0),o=n(87),i=n(28),a=n(21),s=n(88),l=s.codeAt,c=s.charAt,u=a.set,d=a.getterFor("String Iterator"),f=o((function(e){u(this,{type:"String Iterator",string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new f(String(i(this)))}})},function(e,t,n){n(595),n(597),n(627),n(631),n(639);var r=n(642);e.exports=r},function(e,t,n){n(596)},function(e,t,n){var r=n(0),o=n(68),i=Object.isFrozen,a=function(e,t){if(!i||!o(e)||!i(e))return!1;for(var n,r=0,a=e.length;r<a;)if(!("string"==typeof(n=e[r++])||t&&void 0===n))return!1;return 0!==a};r({target:"Array",stat:!0},{isTemplateObject:function(e){if(!a(e,!0))return!1;var t=e.raw;return!(t.length!==e.length||!a(t,!1))}})},function(e,t,n){n(598),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(625),n(626)},function(e,t,n){"use strict";var r=n(0),o=n(48),i=n(20),a=n(19),s=n(9),l=n(599),c=n(6),u=s("toStringTag"),d=function(){o(this,d)};d.prototype=l,a(l,u)||i(l,u,"AsyncIterator"),a(l,"constructor")&&l.constructor!==Object||i(l,"constructor",d),r({global:!0,forced:c},{AsyncIterator:d})},function(e,t,n){var r,o,i=n(7),a=n(160),s=n(33),l=n(19),c=n(20),u=n(9),d=n(6),f=u("asyncIterator"),p=i.AsyncIterator,h=a.AsyncIteratorPrototype;if(!d)if(h)r=h;else if("function"==typeof p)r=p.prototype;else if(a.USE_FUNCTION_CONSTRUCTOR||i.USE_FUNCTION_CONSTRUCTOR)try{o=s(s(s(Function("return async function*(){}()")()))),s(o)===Object.prototype&&(r=o)}catch(e){}r||(r={}),l(r,f)||c(r,f,(function(){return this})),e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(80)((function(e,t){var n=this,r=n.iterator;return t.resolve(o(n.next.call(r,e))).then((function(e){return o(e).done?(n.done=!0,{done:!0,value:void 0}):{done:!1,value:[n.index++,e.value]}}))}));r({target:"AsyncIterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(80)((function(e,t){var n=this;return new t((function(r,i){var a=function(){try{t.resolve(o(n.next.call(n.iterator,n.remaining?void 0:e))).then((function(e){try{o(e).done?(n.done=!0,r({done:!0,value:void 0})):n.remaining?(n.remaining--,a()):r({done:!1,value:e.value})}catch(e){i(e)}}),i)}catch(e){i(e)}};a()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(80)((function(e,t){var n=this,r=n.filterer;return new t((function(o,a){var s=function(){try{t.resolve(i(n.next.call(n.iterator,e))).then((function(e){try{if(i(e).done)n.done=!0,o({done:!0,value:void 0});else{var l=e.value;t.resolve(r(l)).then((function(e){e?o({done:!1,value:l}):s()}),a)}}catch(e){a(e)}}),a)}catch(e){a(e)}};s()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{filter:function(e){return new a({iterator:i(this),filterer:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(80),s=n(254),l=a((function(e,t){var n,r,a=this,l=a.mapper;return new t((function(c,u){var d=function(){try{t.resolve(i(a.next.call(a.iterator,e))).then((function(e){try{i(e).done?(a.done=!0,c({done:!0,value:void 0})):t.resolve(l(e.value)).then((function(e){try{if(void 0!==(r=s(e)))return a.innerIterator=n=i(r.call(e)),a.innerNext=o(n.next),f();u(TypeError(".flatMap callback should return an iterable object"))}catch(e){u(e)}}),u)}catch(e){u(e)}}),u)}catch(e){u(e)}},f=function(){if(n=a.innerIterator)try{t.resolve(i(a.innerNext.call(n))).then((function(e){try{i(e).done?(a.innerIterator=a.innerNext=null,d()):c({done:!1,value:e.value})}catch(e){u(e)}}),u)}catch(e){u(e)}else d()};f()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{flatMap:function(e){return new l({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return o(this,e)}})},function(e,t,n){var r=n(0),o=n(47),i=n(5),a=n(2),s=n(18),l=n(80),c=n(254),u=o.AsyncIterator,d=l((function(e){return a(this.next.call(this.iterator,e))}),!0);r({target:"AsyncIterator",stat:!0},{from:function(e){var t,n=s(e),r=c(n);if(null!=r){if((t=i(r).call(n))instanceof u)return t}else t=n;return new d({iterator:t})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(80)((function(e,t){var n=this,r=n.mapper;return t.resolve(i(n.next.call(n.iterator,e))).then((function(e){return i(e).done?(n.done=!0,{done:!0,value:void 0}):t.resolve(r(e.value)).then((function(e){return{done:!1,value:e}}))}))}));r({target:"AsyncIterator",proto:!0,real:!0},{map:function(e){return new a({iterator:i(this),mapper:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(17)("Promise");r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(e){var t=i(this),n=o(t.next),r=arguments.length<2,s=r?void 0:arguments[1];return o(e),new a((function(o,l){var c=function(){try{a.resolve(i(n.call(t))).then((function(t){try{if(i(t).done)r?l(TypeError("Reduce of empty iterator with no initial value")):o(s);else{var n=t.value;r?(r=!1,s=n,c()):a.resolve(e(s,n)).then((function(e){s=e,c()}),l)}}catch(e){l(e)}}),l)}catch(e){l(e)}};c()}))}})},function(e,t,n){"use strict";var r=n(0),o=n(115).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(80)((function(e){return this.remaining--?this.next.call(this.iterator,e):(this.done=!0,{done:!0,value:void 0})}));r({target:"AsyncIterator",proto:!0,real:!0},{take:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(48),a=n(20),s=n(4),l=n(19),c=n(9),u=n(172).IteratorPrototype,d=n(6),f=c("iterator"),p=c("toStringTag"),h=o.Iterator,m=d||"function"!=typeof h||h.prototype!==u||!s((function(){h({})})),g=function(){i(this,g)};d&&a(u={},f,(function(){return this})),l(u,p)||a(u,p,"Iterator"),!m&&l(u,"constructor")&&u.constructor!==Object||a(u,"constructor",g),g.prototype=u,r({global:!0,forced:m},{Iterator:g})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(81)((function(e){var t=o(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return[this.index++,t.value]}));r({target:"Iterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(81)((function(e){for(var t,n=this.iterator,r=this.next;this.remaining;)if(this.remaining--,t=o(r.call(n)),this.done=!!t.done)return;if(t=o(r.call(n,e)),!(this.done=!!t.done))return t.value}));r({target:"Iterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{every:function(e){return a(this),i(e),!o(this,(function(t){if(!e(t))return o.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(81),s=n(109),l=a((function(e){for(var t,n,r=this.iterator,o=this.filterer,a=this.next;;){if(t=i(a.call(r,e)),this.done=!!t.done)return;if(n=t.value,s(r,o,n))return n}}));r({target:"Iterator",proto:!0,real:!0},{filter:function(e){return new l({iterator:i(this),filterer:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{find:function(e){return a(this),i(e),o(this,(function(t){if(e(t))return o.stop(t)}),void 0,!1,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(69),s=n(81),l=n(109),c=s((function(e){for(var t,n,r,s,c=this.iterator;;){if(s=this.innerIterator){if(!(t=i(this.innerNext.call(s))).done)return t.value;this.innerIterator=this.innerNext=null}if(t=i(this.next.call(c,e)),this.done=!!t.done)return;if(n=l(c,this.mapper,t.value),void 0===(r=a(n)))throw TypeError(".flatMap callback should return an iterable object");this.innerIterator=s=i(r.call(n)),this.innerNext=o(s.next)}}));r({target:"Iterator",proto:!0,real:!0},{flatMap:function(e){return new c({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(2);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(i(this),e,void 0,!1,!0)}})},function(e,t,n){var r=n(0),o=n(47),i=n(5),a=n(2),s=n(18),l=n(81),c=n(69),u=o.Iterator,d=l((function(e){var t=a(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return t.value}),!0);r({target:"Iterator",stat:!0},{from:function(e){var t,n=s(e),r=c(n);if(null!=r){if((t=i(r).call(n))instanceof u)return t}else t=n;return new d({iterator:t})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(81),s=n(109),l=a((function(e){var t=this.iterator,n=i(this.next.call(t,e));if(!(this.done=!!n.done))return s(t,this.mapper,n.value)}));r({target:"Iterator",proto:!0,real:!0},{map:function(e){return new l({iterator:i(this),mapper:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=arguments.length<2,n=t?void 0:arguments[1];if(o(this,(function(r){t?(t=!1,n=r):n=e(n,r)}),void 0,!1,!0),t)throw TypeError("Reduce of empty iterator with no initial value");return n}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{some:function(e){return a(this),i(e),o(this,(function(t){if(e(t))return o.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(81)((function(e){if(this.remaining--){var t=o(this.next.call(this.iterator,e));return(this.done=!!t.done)?void 0:t.value}this.done=!0}));r({target:"Iterator",proto:!0,real:!0},{take:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(2),a=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(i(this),a,e,!1,!0),e}})},function(e,t,n){n(628),n(629),n(630)},function(e,t,n){"use strict";n(0)({target:"Map",proto:!0,real:!0,forced:n(6)},{updateOrInsert:n(188)})},function(e,t,n){"use strict";n(0)({target:"Map",proto:!0,real:!0,forced:n(6)},{upsert:n(188)})},function(e,t,n){"use strict";n(0)({target:"WeakMap",proto:!0,real:!0,forced:n(6)},{upsert:n(188)})},function(e,t,n){n(632),n(633),n(634),n(635),n(636),n(637),n(638)},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{difference:function(e){var t=a(this),n=new(l(t,i("Set")))(t),r=s(n.delete);return c(e,(function(e){r.call(n,e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{intersection:function(e){var t=a(this),n=new(l(t,i("Set"))),r=s(t.has),o=s(n.add);return c(e,(function(e){r.call(t,e)&&o.call(n,e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isDisjointFrom:function(e){var t=i(this),n=a(t.has);return!s(e,(function(e){if(!0===n.call(t,e))return s.stop()})).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(114),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isSubsetOf:function(e){var t=l(this),n=a(e),r=n.has;return"function"!=typeof r&&(n=new(i("Set"))(e),r=s(n.has)),!c(t,(function(e){if(!1===r.call(n,e))return c.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isSupersetOf:function(e){var t=i(this),n=a(t.has);return!s(e,(function(e){if(!1===n.call(t,e))return s.stop()})).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{union:function(e){var t=a(this),n=new(l(t,i("Set")))(t);return c(e,s(n.add),n),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{symmetricDifference:function(e){var t=a(this),n=new(l(t,i("Set")))(t),r=s(n.delete),o=s(n.add);return c(e,(function(e){r.call(n,e)||o.call(n,e)})),n}})},function(e,t,n){n(640),n(641)},function(e,t,n){n(26)("asyncDispose")},function(e,t,n){n(26)("dispose")},function(e,t,n){n(643),n(646);var r=n(649);e.exports=r},function(e,t,n){n(644),n(645)},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(33),a=n(70),s=n(36),l=n(15),c=n(59),u=n(8),d=n(20),f=n(21),p=f.set,h=f.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);a&&(n=a(new Error(t),i(n)));var r=[];return u(e,r.push,r),o?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&d(n,"message",String(t)),n};m.prototype=s(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),o&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(17),a=n(112),s=n(135),l=n(8);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=o(t.resolve),a=[],s=0,u=1,d=!1;l(e,(function(e){var o=s++,l=!1;a.push(void 0),u++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,a[o]=e,--u||c(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--u||c(new(i("AggregateError"))(a,"No one promise resolved"))}));return u.error&&c(u.value),n.promise}})},function(e,t,n){n(647),n(648)},function(e,t,n){"use strict";var r=n(0),o=n(28),i=n(111),a=n(89),s=n(9),l=n(6),c=s("replace"),u=RegExp.prototype;r({target:"String",proto:!0},{replaceAll:function e(t,n){var r,s,d,f,p,h,m,g,b=o(this);if(null!=t){if((r=i(t))&&!~String(o("flags"in u?t.flags:a.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(s=t[c]))return s.call(t,b,n);if(l&&r)return String(b).replace(t,n)}if(d=String(b),""===(f=String(t)))return e.call(d,/(?:)/g,n);if(p=d.split(f),"function"!=typeof n)return p.join(String(n));for(m=(h=p[0]).length,g=1;g<p.length;g++)h+=String(n(f,m,d)),m+=f.length+p[g].length,h+=p[g];return h}})},function(e,t,n){n(26)("replaceAll")},function(e,t,n){n(650),n(652),n(654);var r=n(47);e.exports=r},function(e,t,n){n(651);var r=n(7);e.exports=r},function(e,t,n){n(219)},function(e,t,n){n(653)},function(e,t,n){n(239)},function(e,t,n){n(655)},function(e,t,n){n(225)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(657)),o=c(n(256)),i=c(n(92)),a=c(n(257)),s=c(n(663)),l=n(664);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,b(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e,t,n){return(m=h()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v,y,x=" ",w=function(e){function t(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";d(this,t);for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(n=f(this,(e=b(t)).call.apply(e,[this].concat(i)))).type=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,e),t}(p(Error));if("undefined"==typeof window||void 0===window.DOMParser&&"undefined"==typeof ActiveXObject){v=function(e){return(new XMLSerializer).serializeToString(e)};var _=r.default.DOMParser;y=function(e){return(new _).parseFromString(e,"text/xml")}}else v=function(e){return e.xml},y=function(e){var t;try{if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else(t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)}catch(e){t=null}if(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)throw new Error("Could not parse text as xml");return t};var k=function(e){if(/["<>^`{|}]/i.test(e))throw new w("character",'URL "'.concat(e,'" is not allowed to contain special characters " < > \\ ^ ` { | or }.'));if(!/^(?:[a-z][a-z0-9+.-]*:)/i.test(e))throw new w("relative","Relative URL not supported: ".concat(e));if(/ /i.test(e)){if(t.convertSpacesInURIs)return e.replace(/ /g,"%20");throw new w("space","Spaces inside of URL not supported: ".concat(e))}return e},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e;a.default.isString(n)&&(n=y(n));var r=t||new o.default({}),i=new l.RDFFormula;i.add=function(e,t,n){var o,i,a={};if(e instanceof l.RDFBlankNode?(o=e.toString(),r.registerBNode(o)):(e.uri=k(e.uri),o=e.uri),t instanceof l.RDFBlankNode)i=t.toString(),r.registerBNode(i);else{if("http://www.w3.org/1999/02/22-rdf-syntax-ns#resource"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#about"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#nodeID"===t.uri)return;t.uri=k(t.uri),i=t.uri}n instanceof l.RDFLiteral?(a.type="literal",a.value=n.value,n.lang&&(a.lang=n.lang),n.datatype&&(a.datatype=n.datatype.uri)):n instanceof l.RDFSymbol?(n.uri=k(n.uri),a.type="uri",a.value=n.uri):n instanceof l.RDFBlankNode&&(a.value=n.toString(),r.registerBNode(a.value),a.type="bnode"),r.create(o,i,a,!0)};var c=new s.default(i);return c.parse(n,"",""),r},E=function(e){return encodeURI(decodeURI(e)).replace(/&/g,"&amp;")},T={xml2string:v,string2xml:y,rdfxml2graph:S,rdfjson2rdfxml:function(e){var t=e instanceof o.default?e._graph:e||{},n=[],r={},a=[];Object.keys(t).forEach((function(e){"_:"===e.substr(0,2)?a.push("".concat(" ",'<rdf:Description rdf:nodeID="_').concat(e.substring(2),'">\n')):a.push("".concat(" ",'<rdf:Description rdf:about="').concat(E(e),'">\n'));var o=t[e];Object.keys(o).forEach((function(e){var t,s,l=(t=e,s=i.default.nsify(t),r[s.abbrev]||(n.push(s.abbrev),r[s.abbrev]=s.ns),s.pretty);o[e].forEach((function(e){var t;switch(e.type){case"literal":t=e.value.replace(/&/g,"&amp;").replace(/</g,"&lt;"),null!=e.lang?a.push("".concat(x,"<").concat(l,' xml:lang="').concat(e.lang,'">').concat(t,"</").concat(l,">\n")):null!=e.datatype?a.push("".concat(x,"<").concat(l,' rdf:datatype="').concat(e.datatype,'">').concat(t,"</").concat(l,">\n")):a.push("".concat(x,"<").concat(l,">").concat(t,"</").concat(l,">\n"));break;case"uri":a.push("".concat(x,"<").concat(l,' rdf:resource="').concat(E(e.value),'"/>\n'));break;case"bnode":"_:"===e.value.substr(0,2)?a.push("".concat(x,"<").concat(l,' rdf:nodeID="_').concat(e.value.substring(2),'"/>\n')):a.push("".concat(x,"<").concat(l,' rdf:nodeID="').concat(e.value,'"/>\n'))}}))})),a.push("".concat(" ","</rdf:Description>\n"))}));for(var s=['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'],l=0;l<n.length;l++)"rdf"!==n[l]&&s.push("\n\txmlns:".concat(n[l],'="').concat(r[n[l]],'"'));return s.push(">\n"),a.unshift(s.join("")),a.push("</rdf:RDF>"),a.join("")},detect:function(e){var t={};if("string"==typeof e)if(-1!==e.substr(0,200).toLowerCase().indexOf("<rdf:rdf")){t.format="rdf/xml";try{t.graph=S(e)}catch(e){"relative"===e.type||"space"===e.type||"character"===e.type?(t.error=e.message,t.errorCode=1):(t.error="Invalid rdf/xml",t.errorCode=2)}}else if('{"'===e.substring(0,2)){t.format="rdf/json";try{var n=JSON.parse((void 0).rdfjson);t.graph=new o.default(n)}catch(e){t.error="Invalid json.",t.errorCode=3}}else t.error="No RDF detected.",t.errorCode=4;else e instanceof o.default?(t.format="rdf/json",t.graph=e):"object"===u(e)?(t.format="rdf/json",t.graph=new o.default(e)):(t.error="unknown format",t.errorCode=5);t.error||(t.graph.validate().valid||(t.error="RDF/JSON is not valid.",t.errorCode=6));return t}};t.default=T},function(e,t,n){function r(e){this.options=e||{locator:{}}}function o(){this.cdata=!1}function i(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function a(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function s(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new d,i=n.domBuilder||new o,s=n.errorHandler,l=n.locator,u=n.xmlns||{},f=/\/x?html?$/.test(t),p=f?c.entityMap:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return l&&i.setDocumentLocator(l),r.errorHandler=function(e,t,n){if(!e){if(t instanceof o)return t;e=t}var r={},i=e instanceof Function;function s(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+a(n))}||function(){}}return n=n||{},s("warning"),s("error"),s("fatalError"),r}(s,i,l),r.domBuilder=n.domBuilder||i,f&&(u[""]="http://www.w3.org/1999/xhtml"),u.xml=u.xml||"http://www.w3.org/XML/1998/namespace",e&&"string"==typeof e?r.parse(e,u,p):r.errorHandler.error("invalid doc source"),i.doc},o.prototype={startDocument:function(){this.doc=(new p).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,a=o.createElementNS(e,n||t),s=r.length;l(this,a),this.currentElement=a,this.locator&&i(this.locator,a);for(var c=0;c<s;c++){e=r.getURI(c);var u=r.getValue(c),d=(n=r.getQName(c),o.createAttributeNS(e,n));this.locator&&i(r.getLocator(c),d),d.value=d.nodeValue=u,a.setAttributeNode(d)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&i(this.locator,n),l(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=s.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&i(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=s.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&i(this.locator,r),l(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&i(this.locator,o),l(this,o)}},warning:function(e){console.warn("[xmldom warning]\t"+e,a(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,a(this.locator))},fatalError:function(e){throw new f(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){o.prototype[e]=function(){return null}}));var c=n(658),u=n(659),d=u.XMLReader,f=u.ParseError,p=t.DOMImplementation=n(255).DOMImplementation;t.XMLSerializer=n(255).XMLSerializer,t.DOMParser=r,t.__DOMHandler=o},function(e,t){t.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},function(e,t){var n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,r=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+n.source+r.source+"*(?::"+n.source+r.source+"*)?$");function i(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,i)}function a(){}function s(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,n,r,o,i){function a(e,t,r){e in n.attributeNames&&i.fatalError("Attribute "+e+" redefined"),n.addValue(e,t,r)}for(var s,l=++t,c=0;;){var u=e.charAt(l);switch(u){case"=":if(1===c)s=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),t=l+1,!((l=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");a(s,d=e.slice(t,l).replace(/&#?\w+;/g,o),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');a(s,d=e.slice(t,l).replace(/&#?\w+;/g,o),t),i.warning('attribute "'+s+'" missed start quot('+u+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,l)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case 2:2===c&&(d=s),4==c?(i.warning('attribute "'+d+'" missed quot(")!'),a(s,d.replace(/&#?\w+;/g,o),t)):("http://www.w3.org/1999/xhtml"===r[""]&&d.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),a(d,d,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":u=" ";default:if(u<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:s=e.slice(t,l),c=2;break;case 4:var d=e.slice(t,l).replace(/&#?\w+;/g,o);i.warning('attribute "'+d+'" missed quot(")!!'),a(s,d,t);case 5:c=6}else switch(c){case 2:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,t),t=l,c=1;break;case 5:i.warning('attribute space is required"'+s+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function c(e,t,n){for(var r=e.tagName,o=null,i=e.length;i--;){var a=e[i],s=a.qName,l=a.value;if((p=s.indexOf(":"))>0)var c=a.prefix=s.slice(0,p),u=s.slice(p+1),d="xmlns"===c&&u;else u=s,c=null,d="xmlns"===s&&"";a.localName=u,!1!==d&&(null==o&&(o={},f(n,n={})),n[d]=o[d]=l,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,l))}for(i=e.length;i--;){(c=(a=e[i]).prefix)&&("xml"===c&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==c&&(a.uri=n[c||""]))}var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),u=e.localName=r.slice(p+1)):(c=null,u=e.localName=r);var h=e.uri=n[c||""];if(t.startElement(h,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(h,u,r),o)for(c in o)t.endPrefixMapping(c)}function u(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function d(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function f(e,t){for(var n in e)t[n]=e[n]}function p(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}}return-1}function h(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o){o[0].length;return n.processingInstruction(o[1],o[2]),r+2}return-1}return-1}function m(){this.attributeNames={}}i.prototype=new Error,i.prototype.name=i.name,a.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),f(t,t={}),function(e,t,n,r,o){function a(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function f(t){if(t>k){var n=e.substring(k,t).replace(/&#?\w+;/g,a);x&&g(k),r.characters(n,0,t-k),k=t}}function g(t,n){for(;t>=v&&(n=y.exec(e));)b=n.index,v=b+n[0].length,x.lineNumber++;x.columnNumber=t-b+1}var b=0,v=0,y=/.*(?:\r\n?|\n)|.*$/g,x=r.locator,w=[{currentNSMap:t}],_={},k=0;for(;;){try{var S=e.indexOf("<",k);if(S<0){if(!e.substr(k).match(/^\s*$/)){var E=r.doc,T=E.createTextNode(e.substr(k));E.appendChild(T),r.currentElement=T}return}switch(S>k&&f(S),e.charAt(S+1)){case"/":var C=e.indexOf(">",S+3),O=e.substring(S+2,C),A=w.pop();C<0?(O=e.substring(S+2).replace(/[\s<].*/,""),o.error("end tag name: "+O+" is not complete:"+A.tagName),C=S+1+O.length):O.match(/\s</)&&(O=O.replace(/[\s<].*/,""),o.error("end tag name: "+O+" maybe not complete"),C=S+1+O.length);var D=A.localNSMap,j=A.tagName==O;if(j||A.tagName&&A.tagName.toLowerCase()==O.toLowerCase()){if(r.endElement(A.uri,A.localName,O),D)for(var I in D)r.endPrefixMapping(I);j||o.fatalError("end tag name: "+O+" is not match the current start tagName:"+A.tagName)}else w.push(A);C++;break;case"?":x&&g(S),C=h(e,S,r);break;case"!":x&&g(S),C=p(e,S,r,o);break;default:x&&g(S);var N=new m,M=w[w.length-1].currentNSMap,P=(C=l(e,S,N,M,a,o),N.length);if(!N.closed&&d(e,C,N.tagName,_)&&(N.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),x&&P){for(var L=s(x,{}),R=0;R<P;R++){var F=N[R];g(F.offset),F.locator=s(x,{})}r.locator=L,c(N,r,M)&&w.push(N),r.locator=x}else c(N,r,M)&&w.push(N);"http://www.w3.org/1999/xhtml"!==N.uri||N.closed?C++:C=u(e,C,N.tagName,a,r)}}catch(e){if(e instanceof i)throw e;o.error("element parse error: "+e),C=-1}C>k?k=C:f(Math.max(S,k)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},m.prototype={setTagName:function(e){if(!o.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!o.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=a,t.ParseError=i},function(e,t,n){var r,o,i,a,s;r=n(661),o=n(260).utf8,i=n(662),a=n(260).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var h=s._ff,m=s._gg,g=s._hh,b=s._ii;for(p=0;p<n.length;p+=16){var v=c,y=u,x=d,w=f;c=h(c,u,d,f,n[p+0],7,-680876936),f=h(f,c,u,d,n[p+1],12,-389564586),d=h(d,f,c,u,n[p+2],17,606105819),u=h(u,d,f,c,n[p+3],22,-1044525330),c=h(c,u,d,f,n[p+4],7,-176418897),f=h(f,c,u,d,n[p+5],12,1200080426),d=h(d,f,c,u,n[p+6],17,-1473231341),u=h(u,d,f,c,n[p+7],22,-45705983),c=h(c,u,d,f,n[p+8],7,1770035416),f=h(f,c,u,d,n[p+9],12,-1958414417),d=h(d,f,c,u,n[p+10],17,-42063),u=h(u,d,f,c,n[p+11],22,-1990404162),c=h(c,u,d,f,n[p+12],7,1804603682),f=h(f,c,u,d,n[p+13],12,-40341101),d=h(d,f,c,u,n[p+14],17,-1502002290),c=m(c,u=h(u,d,f,c,n[p+15],22,1236535329),d,f,n[p+1],5,-165796510),f=m(f,c,u,d,n[p+6],9,-1069501632),d=m(d,f,c,u,n[p+11],14,643717713),u=m(u,d,f,c,n[p+0],20,-373897302),c=m(c,u,d,f,n[p+5],5,-701558691),f=m(f,c,u,d,n[p+10],9,38016083),d=m(d,f,c,u,n[p+15],14,-660478335),u=m(u,d,f,c,n[p+4],20,-405537848),c=m(c,u,d,f,n[p+9],5,568446438),f=m(f,c,u,d,n[p+14],9,-1019803690),d=m(d,f,c,u,n[p+3],14,-187363961),u=m(u,d,f,c,n[p+8],20,1163531501),c=m(c,u,d,f,n[p+13],5,-1444681467),f=m(f,c,u,d,n[p+2],9,-51403784),d=m(d,f,c,u,n[p+7],14,1735328473),c=g(c,u=m(u,d,f,c,n[p+12],20,-1926607734),d,f,n[p+5],4,-378558),f=g(f,c,u,d,n[p+8],11,-2022574463),d=g(d,f,c,u,n[p+11],16,1839030562),u=g(u,d,f,c,n[p+14],23,-35309556),c=g(c,u,d,f,n[p+1],4,-1530992060),f=g(f,c,u,d,n[p+4],11,1272893353),d=g(d,f,c,u,n[p+7],16,-155497632),u=g(u,d,f,c,n[p+10],23,-1094730640),c=g(c,u,d,f,n[p+13],4,681279174),f=g(f,c,u,d,n[p+0],11,-358537222),d=g(d,f,c,u,n[p+3],16,-722521979),u=g(u,d,f,c,n[p+6],23,76029189),c=g(c,u,d,f,n[p+9],4,-640364487),f=g(f,c,u,d,n[p+12],11,-421815835),d=g(d,f,c,u,n[p+15],16,530742520),c=b(c,u=g(u,d,f,c,n[p+2],23,-995338651),d,f,n[p+0],6,-198630844),f=b(f,c,u,d,n[p+7],10,1126891415),d=b(d,f,c,u,n[p+14],15,-1416354905),u=b(u,d,f,c,n[p+5],21,-57434055),c=b(c,u,d,f,n[p+12],6,1700485571),f=b(f,c,u,d,n[p+3],10,-1894986606),d=b(d,f,c,u,n[p+10],15,-1051523),u=b(u,d,f,c,n[p+1],21,-2054922799),c=b(c,u,d,f,n[p+8],6,1873313359),f=b(f,c,u,d,n[p+15],10,-30611744),d=b(d,f,c,u,n[p+6],15,-1560198380),u=b(u,d,f,c,n[p+13],21,1309151649),c=b(c,u,d,f,n[p+4],6,-145523070),f=b(f,c,u,d,n[p+11],10,-1120210379),d=b(d,f,c,u,n[p+2],15,718787259),u=b(u,d,f,c,n[p+9],21,-343485551),c=c+v>>>0,u=u+y>>>0,d=d+x>>>0,f=f+w>>>0}return r.endian([c,u,d,f])})._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?t.push(n.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
50
+ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?d:u||d}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function E(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=v(d,"x"),u-=v(d,"y"),o.width-=c,o.height-=u}return E(o)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=T(e),s=T(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-d,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-g,h.right-=p-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=b(h,t)),h}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=C(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return E(l)}function A(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&A(n)}function D(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?D(e):m(e,c(t));if("viewport"===r)i=O(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var d=C(u,a,o);if("HTML"!==u.nodeName||A(a))i=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function I(e){return e.width*e.height}function N(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:I(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?D(t):m(t,c(n));return C(n,o,r)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var r=P(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[L(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function V(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function H(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,r){n.updateBound=r,W(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(l(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function $(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:k({},l,i[l]),end:k({},l,i[l]+i[c]-a[c])};e.offsets.popper=S({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=z("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),k({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),k({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=P(r)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=E(e.offsets.popper);var g=l[f]+l[u]/2-m/2,b=a(e.instance.popper),v=parseFloat(b["margin"+d]),y=parseFloat(b["border"+d+"Width"]),x=g-e.offsets.popper[f]-v-y;return x=Math.max(Math.min(s[u]-m,x),0),e.arrowElement=r,e.offsets.arrow=(k(n={},f,Math.round(x)),k(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=L(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),b="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),x=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&p||!v&&"start"===i&&g||!v&&"end"===i&&m),w=y||x;(f||b||w)&&(e.flipped=!0,(f||b)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=E(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=p(e.instance.popper),l=T(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?u||d||l%2==c%2?i:a:s,p=t?i:s;return{left:f(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!K),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=z("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===d?-1:1,v="right"===f?-1:1;c[d]=g*b,c[f]=m*v,c.willChange=d+", "+f}var y={"x-placement":e.placement};return e.attributes=S({},y,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=M(o,t,e,n.positionFixed),a=N(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return _(e,[{key:"update",value:function(){return V.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=ie,t.default=ae}.call(this,n(194))},,,,,,,,function(e,t,n){n(205),n(246);var r=n(47);e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(17),a=n(6),s=n(10),l=n(164),c=n(210),u=n(4),d=n(19),f=n(68),p=n(11),h=n(2),m=n(18),g=n(39),b=n(46),v=n(59),y=n(36),x=n(87),w=n(75),_=n(212),k=n(163),S=n(31),E=n(15),T=n(119),C=n(20),O=n(32),A=n(121),D=n(120),j=n(102),I=n(101),N=n(9),M=n(213),P=n(26),L=n(52),R=n(21),F=n(29).forEach,U=D("hidden"),V=N("toPrimitive"),B=R.set,z=R.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,Y=i("JSON","stringify"),q=S.f,$=E.f,G=_.f,X=T.f,K=A("symbols"),Q=A("op-symbols"),Z=A("string-to-symbol-registry"),J=A("symbol-to-string-registry"),ee=A("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u((function(){return 7!=y($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=q(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,oe=function(e,t){var n=K[e]=y(W.prototype);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(Q,t,n),h(e);var r=b(t,!0);return h(n),d(K,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,U)||$(e,U,v(1,{})),e[U][r]=!0),re(e,r,n)):$(e,r,n)},se=function(e,t){h(e);var n=g(t),r=x(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=b(e,!0),n=X.call(this,t);return!(this===H&&d(K,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,U)&&this[U][t])||n)},ce=function(e,t){var n=g(e),r=b(t,!0);if(n!==H||!d(K,r)||d(Q,r)){var o=q(n,r);return!o||!d(K,r)||d(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=G(g(e)),n=[];return F(t,(function(e){d(K,e)||d(j,e)||n.push(e)})),n},de=function(e){var t=e===H,n=G(t?Q:g(e)),r=[];return F(n,(function(e){!d(K,e)||t&&!d(H,e)||r.push(K[e])})),r};(l||(O((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===H&&n.call(Q,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1),re(this,t,v(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return z(this).tag})),O(W,"withoutSetter",(function(e){return oe(I(e),e)})),T.f=le,E.f=ae,S.f=ce,w.f=_.f=ue,k.f=de,M.f=function(e){return oe(N(e),e)},s&&($(W.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||O(H,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),F(x(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=W(t);return Z[t]=n,J[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),Y)&&r({target:"JSON",stat:!0,forced:!l||u((function(){var e=W();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!ie(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,Y.apply(null,o)}});W.prototype[V]||C(W.prototype,V,W.prototype.valueOf),L(W,"Symbol"),j[U]=!0},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(7),a=n(19),s=n(11),l=n(15).f,c=n(208),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(f,u);var p=f.prototype=u.prototype;p.constructor=f;var h=p.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("matchAll")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){var r=n(0),o=n(214);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(0)({target:"Object",stat:!0,sham:!n(10)},{create:n(36)})},function(e,t,n){var r=n(0),o=n(10);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(e,t,n){var r=n(0),o=n(10);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(165)})},function(e,t,n){var r=n(0),o=n(215).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(0),o=n(106),i=n(4),a=n(11),s=n(76).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){var r=n(0),o=n(8),i=n(77);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},function(e,t,n){var r=n(0),o=n(4),i=n(39),a=n(31).f,s=n(10),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(10),i=n(161),a=n(39),s=n(31),l=n(77);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},function(e,t,n){var r=n(0),o=n(4),i=n(212).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){var r=n(0),o=n(4),i=n(18),a=n(33),s=n(168);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(0)({target:"Object",stat:!0},{is:n(216)})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(0),o=n(4),i=n(11),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(0),o=n(18),i=n(87);r({target:"Object",stat:!0,forced:n(4)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(0),o=n(11),i=n(76).onFreeze,a=n(106),s=n(4),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){var r=n(0),o=n(11),i=n(76).onFreeze,a=n(106),s=n(4),l=Object.seal;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){n(0)({target:"Object",stat:!0},{setPrototypeOf:n(70)})},function(e,t,n){var r=n(0),o=n(215).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(167),o=n(32),i=n(324);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(167),o=n(108);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(5),l=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(5),l=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(46),l=n(33),c=n(31).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(122),a=n(18),s=n(46),l=n(33),c=n(31).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},function(e,t,n){n(0)({target:"Function",proto:!0},{bind:n(218)})},function(e,t,n){var r=n(10),o=n(15).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(11),o=n(15),i=n(33),a=n(9)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(220);r({target:"Array",stat:!0,forced:!n(123)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){n(0)({target:"Array",stat:!0},{isArray:n(68)})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(77);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(68),a=n(11),s=n(18),l=n(14),c=n(77),u=n(105),d=n(110),f=n(9),p=n(169),h=f("isConcatSpreadable"),m=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(b(i=-1===t?a:arguments[t])){if(f+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&c(d,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,f++,i)}return d.length=f,d}})},function(e,t,n){var r=n(0),o=n(221),i=n(53);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(0),o=n(29).every,i=n(60),a=n(37),s=i("every"),l=a("every");r({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(0),o=n(170),i=n(53);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(0),o=n(29).filter,i=n(110),a=n(37),s=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(29).find,i=n(53),a=n(37),s=!0,l=a("find");"find"in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(0),o=n(29).findIndex,i=n(53),a=n(37),s=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(0),o=n(222),i=n(18),a=n(14),s=n(40),l=n(105);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){"use strict";var r=n(0),o=n(222),i=n(18),a=n(14),s=n(5),l=n(105);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),(t=l(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(0),o=n(223);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(0),o=n(103).includes,i=n(53);r({target:"Array",proto:!0,forced:!n(37)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(0),o=n(103).indexOf,i=n(60),a=n(37),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(100),i=n(39),a=n(60),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(0),o=n(224);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(0),o=n(29).map,i=n(110),a=n(37),s=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(125).left,i=n(60),a=n(37),s=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(125).right,i=n(60),a=n(37),s=i("reduceRight"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(68),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(11),i=n(68),a=n(67),s=n(14),l=n(39),c=n(77),u=n(9),d=n(110),f=n(37),p=d("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),g=[].slice,b=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,u,d=l(this),f=s(d.length),p=a(e,f),h=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,p,h);for(r=new(void 0===n?Array:n)(b(h-p,0)),u=0;p<h;p++,u++)p in d&&c(r,u,d[p]);return r.length=u,r}})},function(e,t,n){"use strict";var r=n(0),o=n(29).some,i=n(60),a=n(37),s=i("some"),l=a("some");r({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(18),a=n(4),s=n(60),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),f=s("sort");r({target:"Array",proto:!0,forced:u||!d||!f},{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(0),o=n(67),i=n(40),a=n(14),s=n(18),l=n(105),c=n(77),u=n(110),d=n(37),f=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!f||!p},{splice:function(e,t){var n,r,u,d,f,p,g=s(this),b=a(g.length),v=o(e,b),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=b-v):(n=y-2,r=m(h(i(t),0),b-v)),b+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),d=0;d<r;d++)(f=v+d)in g&&c(u,d,g[f]);if(u.length=r,n<r){for(d=v;d<b-r;d++)p=d+n,(f=d+r)in g?g[p]=g[f]:delete g[p];for(d=b;d>b-r+n;d--)delete g[d-1]}else if(n>r)for(d=b-r;d>v;d--)p=d+n-1,(f=d+r-1)in g?g[p]=g[f]:delete g[p];for(d=0;d<n;d++)g[d+v]=arguments[d+2];return g.length=b-r+n,u}})},function(e,t,n){n(78)("Array")},function(e,t,n){n(53)("flat")},function(e,t,n){n(53)("flatMap")},function(e,t,n){var r=n(0),o=n(67),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(39),i=n(14);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";var r=n(0),o=n(89).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r,o=n(0),i=n(31).f,a=n(14),s=n(173),l=n(28),c=n(174),u=n(6),d="".endsWith,f=Math.min,p=c("endsWith");o({target:"String",proto:!0,forced:!!(u||p||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!p},{endsWith:function(e){var t=String(l(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),i=String(e);return d?d.call(t,i,o):t.slice(o-i.length,o)===i}})},function(e,t,n){"use strict";var r=n(0),o=n(173),i=n(28);r({target:"String",proto:!0,forced:!n(174)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(14),a=n(28),s=n(130),l=n(131);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=l(a,c));){var h=String(d[0]);f[p]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),u)),p++}return 0===p?null:f}]}))},function(e,t,n){"use strict";var r=n(0),o=n(176).end;r({target:"String",proto:!0,forced:n(226)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),o=n(176).start;r({target:"String",proto:!0,forced:n(226)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(0)({target:"String",proto:!0},{repeat:n(177)})},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(18),a=n(14),s=n(40),l=n(28),c=n(130),u=n(131),d=Math.max,f=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,v=g?"$":"$0";return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&b||"string"==typeof r&&-1===r.indexOf(v)){var i=n(t,e,this,r);if(i.done)return i.value}var l=o(e),p=String(this),h="function"==typeof r;h||(r=String(r));var m=l.global;if(m){var x=l.unicode;l.lastIndex=0}for(var w=[];;){var _=u(l,p);if(null===_)break;if(w.push(_),!m)break;""===String(_[0])&&(l.lastIndex=c(p,a(l.lastIndex),x))}for(var k,S="",E=0,T=0;T<w.length;T++){_=w[T];for(var C=String(_[0]),O=d(f(s(_.index),p.length),0),A=[],D=1;D<_.length;D++)A.push(void 0===(k=_[D])?k:String(k));var j=_.groups;if(h){var I=[C].concat(A,O,p);void 0!==j&&I.push(j);var N=String(r.apply(void 0,I))}else N=y(C,p,O,A,j,r);O>=E&&(S+=p.slice(E,O)+N,E=O+C.length)}return S+p.slice(E)}];function y(e,n,r,o,a,s){var l=r+e.length,c=o.length,u=m;return void 0!==a&&(a=i(a),u=h),t.call(s,u,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>c){var d=p(u/10);return 0===d?t:d<=c?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(127),o=n(2),i=n(28),a=n(216),s=n(131);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var u=s(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var r=n(127),o=n(111),i=n(2),a=n(28),s=n(27),l=n(130),c=n(14),u=n(131),d=n(128),f=n(4),p=[].push,h=Math.min,m=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,f+"g");(s=d.call(m,r))&&!((l=m.lastIndex)>h&&(u.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&p.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!c&&m.test("")||u.push(""):u.push(r.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),p=s(d,RegExp),g=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new p(m?d:"^(?:"+d.source+")",b),y=void 0===o?4294967295:o>>>0;if(0===y)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var x=0,w=0,_=[];w<f.length;){v.lastIndex=m?w:0;var k,S=u(v,m?f:f.slice(w));if(null===S||(k=h(c(v.lastIndex+(m?0:w)),f.length))===x)w=l(f,w,g);else{if(_.push(f.slice(x,w)),_.length===y)return _;for(var E=1;E<=S.length-1;E++)if(_.push(S[E]),_.length===y)return _;w=x=k}}return _.push(f.slice(x)),_}]}),!m)},function(e,t,n){"use strict";var r,o=n(0),i=n(31).f,a=n(14),s=n(173),l=n(28),c=n(174),u=n(6),d="".startsWith,f=Math.min,p=c("startsWith");o({target:"String",proto:!0,forced:!!(u||p||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!p},{startsWith:function(e){var t=String(l(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(0),o=n(91).trim;r({target:"String",proto:!0,forced:n(178)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(91).start,i=n(178)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var r=n(0),o=n(91).end,i=n(178)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(0),o=n(41);r({target:"String",proto:!0,forced:n(42)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){var r=n(10),o=n(7),i=n(104),a=n(133),s=n(15).f,l=n(75).f,c=n(111),u=n(90),d=n(129),f=n(32),p=n(4),h=n(21).set,m=n(78),g=n(9)("match"),b=o.RegExp,v=b.prototype,y=/a/g,x=/a/g,w=new b(y)!==y,_=d.UNSUPPORTED_Y;if(r&&i("RegExp",!w||_||p((function(){return x[g]=!1,b(y)!=y||b(x)==x||"/a/i"!=b(y,"i")})))){for(var k=function(e,t){var n,r=this instanceof k,o=c(e),i=void 0===t;if(!r&&o&&e.constructor===k&&i)return e;w?o&&!i&&(e=e.source):e instanceof k&&(i&&(t=u.call(e)),e=e.source),_&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(w?new b(e,t):b(e,t),r?this:v,k);return _&&n&&h(s,{sticky:n}),s},S=function(e){e in k||s(k,e,{configurable:!0,get:function(){return b[e]},set:function(t){b[e]=t}})},E=l(b),T=0;E.length>T;)S(E[T++]);v.constructor=k,k.prototype=v,f(o,"RegExp",k)}m("RegExp")},function(e,t,n){var r=n(10),o=n(15),i=n(90),a=n(129).UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){var r=n(10),o=n(129).UNSUPPORTED_Y,i=n(15).f,a=n(21).get,s=RegExp.prototype;r&&o&&i(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},function(e,t,n){"use strict";n(175);var r,o,i=n(0),a=n(11),s=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),l=/./.test;i({target:"RegExp",proto:!0,forced:!s},{test:function(e){if("function"!=typeof this.exec)return l.call(this,e);var t=this.exec(e);if(null!==t&&!a(t))throw new Error("RegExp exec method returned something other than an Object or null");return!!t}})},function(e,t,n){"use strict";var r=n(32),o=n(2),i=n(4),a=n(90),s=RegExp.prototype,l=s.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(c||u)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(0),o=n(179);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(0),o=n(228);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){"use strict";var r=n(10),o=n(7),i=n(104),a=n(32),s=n(19),l=n(45),c=n(133),u=n(46),d=n(4),f=n(36),p=n(75).f,h=n(31).f,m=n(15).f,g=n(91).trim,b=o.Number,v=b.prototype,y="Number"==l(f(v)),x=function(e){var t,n,r,o,i,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var w,_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(y?d((function(){v.valueOf.call(n)})):"Number"!=l(n))?c(new b(x(t)),n,_):x(t)},k=r?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;k.length>S;S++)s(b,w=k[S])&&!s(_,w)&&m(_,w,h(b,w));_.prototype=v,v.constructor=_,a(o,"Number",_)}},function(e,t,n){n(0)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isFinite:n(229)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isInteger:n(230)})},function(e,t,n){n(0)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(230),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(0)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(0)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(228);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(0),o=n(179);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(0),o=n(40),i=n(231),a=n(177),s=n(4),l=1..toFixed,c=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,n,r,s,l=i(this),d=o(e),f=[0,0,0,0,0,0],p="",h="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=c(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=c(n/e),n=n%e*1e7},b=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(u(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),h=b()}else m(0,n),m(1<<-t,0),h=b()+a.call("0",d);return h=d>0?p+((s=h.length)<=d?"0."+a.call("0",d-s)+h:h.slice(0,s-d)+"."+h.slice(s-d)):p+h}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(231),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(0),o=n(232),i=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:o(e-1+s(e-1)*s(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(180),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(0),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,n){var r=n(0),o=n(134),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},function(e,t,n){var r=n(0),o=n(134);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(0)({target:"Math",stat:!0},{fround:n(233)})},function(e,t,n){var r=n(0),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,l=arguments.length,c=0;s<l;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(e,t,n){var r=n(0),o=n(4),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(0)({target:"Math",stat:!0},{log1p:n(232)})},function(e,t,n){var r=n(0),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(0)({target:"Math",stat:!0},{sign:n(180)})},function(e,t,n){var r=n(0),o=n(4),i=n(134),a=Math.abs,s=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(l/2)}})},function(e,t,n){var r=n(0),o=n(134),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(52)(Math,"Math",!0)},function(e,t,n){var r=n(0),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){n(0)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(18),a=n(46);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(429);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(4),o=n(176).start,i=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-50000000000001))}))||!r((function(){l.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+o(i(e),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(t,3,0)+"Z"}:l},function(e,t,n){var r=n(32),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){var r=n(20),o=n(432),i=n(9)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(2),o=n(46);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(0),o=n(17),i=n(4),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,n){var r=n.charAt(t-1),o=n.charAt(t+1);return l.test(e)&&!c.test(o)||c.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&r({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,u):r}})},function(e,t,n){var r=n(7);n(52)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r,o,i,a,s=n(0),l=n(6),c=n(7),u=n(17),d=n(234),f=n(32),p=n(61),h=n(52),m=n(78),g=n(11),b=n(5),v=n(48),y=n(45),x=n(159),w=n(8),_=n(123),k=n(27),S=n(181).set,E=n(236),T=n(237),C=n(238),O=n(112),A=n(135),D=n(21),j=n(104),I=n(9),N=n(169),M=I("species"),P="Promise",L=D.get,R=D.set,F=D.getterFor(P),U=d,V=c.TypeError,B=c.document,z=c.process,H=u("fetch"),W=O.f,Y=W,q="process"==y(z),$=!!(B&&B.createEvent&&c.dispatchEvent),G=j(P,(function(){if(!(x(U)!==String(U))){if(66===N)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(N>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[M]=t,!(e.then((function(){}))instanceof t)})),X=G||!_((function(e){U.all(e).catch((function(){}))})),K=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;E((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],d=i?u.ok:u.fail,f=u.resolve,p=u.reject,h=u.domain;try{d?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?s=o:(h&&h.enter(),s=d(o),h&&(h.exit(),c=!0)),s===u.promise?p(V("Promise-chain cycle")):(l=K(s))?l.call(s,f,p):f(s)):p(o)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&J(e,t)}))}},Z=function(e,t,n){var r,o;$?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},J=function(e,t){S.call(c,(function(){var n,r=t.value;if(ee(t)&&(n=A((function(){q?z.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=q||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){S.call(c,(function(){q?z.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Q(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw V("Promise can't be resolved itself");var o=K(n);o?E((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,Q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};G&&(U=function(e){v(this,U,P),b(e),r.call(this);var t=L(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=W(k(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=q?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=L(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},O.f=W=function(e){return e===U||e===i?new o(e):Y(e)},l||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(U,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:G},{Promise:U}),h(U,P,!1,!0),m(P),i=u(P),s({target:P,stat:!0,forced:G},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:l||G},{resolve:function(e){return T(l&&this===i?U:this,e)}}),s({target:P,stat:!0,forced:X},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=A((function(){var n=b(t.resolve),i=[],a=0,s=1;w(e,(function(e){var l=a++,c=!1;i.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=A((function(){var o=b(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(234),a=n(4),s=n(17),l=n(27),c=n(237),u=n(32);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||u(i.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){"use strict";n(136)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(242))},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(137),a=n(78),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,t,s){var l,c,u,d=new Array(s),f=8*s-t-1,p=(1<<f)-1,h=p>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,b=0;for((e=n(e))!=e||e===1/0?(c=e!=e?1:0,l=p):(l=o(i(e)/a),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*r(2,1-h))*u>=2&&(l++,u/=2),l+h>=p?(c=0,l=p):l+h>=1?(c=(e*u-1)*r(2,t),l+=h):(c=e*r(2,h-1)*r(2,t),l=0));t>=8;d[b++]=255&c,c/=256,t-=8);for(l=l<<t|c,f+=t;f>0;d[b++]=255&l,l/=256,f-=8);return d[--b]|=128*g,d},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(n=d&(1<<-l)-1,d>>=-l,l+=t;l>0;n=256*n+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),d-=s}return(u?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(0),o=n(16);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(0),o=n(4),i=n(137),a=n(2),s=n(67),l=n(14),c=n(27),u=i.ArrayBuffer,d=i.DataView,f=u.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==f&&void 0===t)return f.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(c(this,u))(l(o-r)),p=new d(this),h=new d(i),m=0;r<o;)h.setUint8(m++,p.getUint8(r++));return i}})},function(e,t,n){var r=n(0),o=n(137);r({global:!0,forced:!n(184)},{DataView:o.DataView})},function(e,t,n){n(62)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(62)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(62)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(185);(0,n(16).exportTypedArrayStaticMethod)("from",n(245),r)},function(e,t,n){"use strict";var r=n(16),o=n(185),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){"use strict";var r=n(16),o=n(221),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(170),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).filter,i=n(27),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,l=t.length,c=new(s(n))(l);l>r;)c[r]=t[r++];return c}))},function(e,t,n){"use strict";var r=n(16),o=n(29).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(103).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(103).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(7),o=n(16),i=n(126),a=n(9)("iterator"),s=r.Uint8Array,l=i.values,c=i.keys,u=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,p=s&&s.prototype[a],h=!!p&&("values"==p.name||null==p.name),m=function(){return l.call(d(this))};f("entries",(function(){return u.call(d(this))})),f("keys",(function(){return c.call(d(this))})),f("values",m,!h),f(a,m,!h)},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(224),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(16),o=n(29).map,i=n(27),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(16),o=n(125).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=n(125).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(16),o=n(14),i=n(244),a=n(18),s=n(4),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(16),o=n(27),i=n(4),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,c=[].slice;l("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,l=n.length,u=new(s(r))(l);l>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(16),o=n(29).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(16),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(16),o=n(14),i=n(67),a=n(27),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},function(e,t,n){"use strict";var r=n(7),o=n(16),i=n(4),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(16).exportTypedArrayMethod,o=n(4),i=n(7).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},function(e,t,n){var r=n(0),o=n(17),i=n(5),a=n(2),s=n(4),l=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):c.call(e,t,n)}})},function(e,t,n){var r=n(0),o=n(17),i=n(5),a=n(2),s=n(11),l=n(36),c=n(218),u=n(4),d=o("Reflect","construct"),f=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),p=!u((function(){d((function(){}))})),h=f||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},function(e,t,n){var r=n(0),o=n(10),i=n(2),a=n(46),s=n(15);r({target:"Reflect",stat:!0,forced:n(4)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(2),i=n(31).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(0),o=n(11),i=n(2),a=n(19),s=n(31),l=n(33);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(u):o(c=l(t))?e(c,n,u):void 0}})},function(e,t,n){var r=n(0),o=n(10),i=n(2),a=n(31);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(0),o=n(2),i=n(33);r({target:"Reflect",stat:!0,sham:!n(168)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(0)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(2),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(0)({target:"Reflect",stat:!0},{ownKeys:n(161)})},function(e,t,n){var r=n(0),o=n(17),i=n(2);r({target:"Reflect",stat:!0,sham:!n(106)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(2),i=n(11),a=n(19),s=n(4),l=n(15),c=n(31),u=n(33),d=n(59);r({target:"Reflect",stat:!0,forced:s((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function e(t,n,r){var s,f,p=arguments.length<4?t:arguments[3],h=c.f(o(t),n);if(!h){if(i(f=u(t)))return e(f,n,r,p);h=d(0)}if(a(h,"value")){if(!1===h.writable||!i(p))return!1;if(s=c.f(p,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=r,l.f(p,n,s)}else l.f(p,n,d(0,r));return!0}return void 0!==h.set&&(h.set.call(p,r),!0)}})},function(e,t,n){var r=n(0),o=n(2),i=n(217),a=n(70);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(7),o=n(247),i=n(223),a=n(20);for(var s in o){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},function(e,t,n){var r=n(7),o=n(247),i=n(126),a=n(20),s=n(9),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t,n){var r=n(0),o=n(7),i=n(181);r({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(0),o=n(7),i=n(236),a=n(45),s=o.process,l="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&s.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(0),o=n(7),i=n(124),a=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},u=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,u=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var p=r.length,h=p;for(p&&r.push("-");h<o;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<m&&(m=n);var g=h+1;if(m-u>a((2147483647-d)/g))throw RangeError(i);for(d+=(m-u)*g,u=m,t=0;t<e.length;t++){if((n=e[t])<u&&++d>2147483647)throw RangeError(i);if(n==u){for(var b=d,v=36;;v+=36){var y=v<=f?1:v>=f+26?26:v-f;if(b<y)break;var x=b-y,w=36-y;r.push(s(l(y+x%w))),b=a(x/w)}r.push(s(l(b))),f=c(d,g,h==p),d=0,++h}}++d,++u}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+u(n):n);return i.join(".")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(k([])));m&&m!==t&&n.call(m,o)&&(p=m);var g=f.prototype=u.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function v(e){var t;this._invoke=function(r,o){function i(){return new Promise((function(t,i){!function t(r,o,i,a){var s=l(e[r],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(r,o,t,i)}))}return t=t?t.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=g.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(v.prototype),v.prototype[i]=function(){return this},e.AsyncIterator=v,e.async=function(t,n,r,o){var i=new v(s(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t,n){var r="Fetching template bundle ".concat(n," failed.");if(e===t-1)throw Error("".concat(r," Cannot recover from this, please fix."));console.log("".concat(r," Will try to fetch from a fallback option."))},i=function(){var e=r(regeneratorRuntime.mark((function e(t){var n,r,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.length,a=0;case 2:if(!(a<n)){e.next=34;break}return e.prev=3,e.next=6,fetch(t[a]);case 6:r=e.sent,e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(t[a]));case 12:if(!r||!r.ok){e.next=30;break}if(e.prev=13,!(s=r.headers.has("content-type")&&r.headers.get("content-type"))||!s.includes("application/json")){e.next=22;break}return e.next=18,r.json();case 18:return i=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[a],". Expected a JSON file and got ").concat(s));case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),o(a,n,t[a]);case 28:e.next=31;break;case 30:o(a,n,t[a]);case 31:a++,e.next=2;break;case 34:return e.abrupt("return",i);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),a=function(e){return e.map((function(e){return e instanceof Array?i(e):Promise.resolve(e)}))},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))},l=function(){var e=r(regeneratorRuntime.mark((function e(t){var n,r,o,i,l,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:[],r=c.length>2&&void 0!==c[2]?c[2]:function(){},0===n.length&&r&&r([]),o=a(n),e.next=6,Promise.all(o);case 6:return i=e.sent,l=s(t,i),r(l),e.abrupt("return",l);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(79),o=d(n(262)),i=d(n(141)),a=d(n(263)),s=d(n(191)),l=d(n(667)),c=d(n(668)),u=n(74);function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.automaticSortAllowed=!0,this.ignoreMissingItems=!0,this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new l.default}var t,n,d;return t=e,(n=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var n=e.getSource(!0),r=n.content||n.items||[];if(t)return this._createItems(r,e._forceChildrenClones,e.getBundle());var o=this.getItem(n.extends);return o?o.getChildren().concat(e.getChildren(!0)):e.getChildren(!0)}},{key:"getItem",value:function(e){if(null!=e)return this._registry[e]}},{key:"getItems",value:function(){var e=this;return Object.keys(this._registry).map((function(t){return e._registry[t]}))}},{key:"renameItem",value:function(e,t){if(this._registry[t])throw new Error("Cannot rename to ".concat(t," since an item with that id already exists."));if(""===t||null===t)throw new Error("Cannot give an item an empty string or null as id.");var n=this._registry[e];n&&(delete this._registry[e],this._registry[t]=n,n.setId(t));for(var r=function n(r){var o=r.content;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},o=this.getItems(),a=0;a<o.length;a++){var s=o[a];s instanceof i.default&&r(s._source)}}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,n){return(0,u.constructTemplate)(e,t,this,n)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new c.default(e);this._bundles.push(t),e.source&&e.source.namespaces&&r.namespaces.add(e.source.namespaces);var n=e.source.templates||e.source.auxilliary;return n instanceof Array&&this._createItems(n,!1,t),"object"===f(e.source.cachedChoices)&&this._ontologyStore.importRegistry(e.source.cachedChoices),t}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(e){return this.registerBundle({source:e}).getRoot()}},{key:"createTemplateFromChildren",value:function(e){var t=this,n=(e||[]).map((function(e){return"string"==typeof e?t.getItem(e):e}));return new i.default({source:{},children:n,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var n=Object.assign(Object.assign({},e),t);return n._extendedSource=t,n.extends=null,delete n.children,n}},{key:"createItem",value:function(e,t,n,r){var l,c=e.id||e["@id"],u=e.type||e["@type"];if(e.extends){var d=this._registry[e.extends];if(null==d&&!this.ignoreMissingItems)throw new Error("Cannot find item to extend with id: ".concat(e.extends));if(d){var f=this.createExtendedSource(d.getSource(),e);return this.createItem(f,!1,!1,r)}}if(null!=u){switch(u){case"text":l=new a.default({source:e,itemStore:this,bundle:r});break;case"choice":l=new s.default({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:r});break;case"group":l=new i.default({source:e,children:null,itemStore:this,bundle:r});break;case"propertygroup":l=new o.default({source:e,children:null,itemStore:this,bundle:r})}return!0!==n&&(null!=e.property&&(this._registryByProperty[e.property]=l,this.priorities&&null!=this.priorities[e.property]&&(l.priority=this.priorities[e.property])),null!=c&&null==this._registry[c]&&(this._registry[c]=l,null!=r&&r.addItem(l))),l}if(null==c)throw new Error("Cannot create subitem, `type` for creating new or `id` for referencing external are required.");if(null==this._registry[c])throw new Error("Cannot find referenced subitem using identifier: ".concat(c));if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var p=Object.assign(Object.assign({},this._registry[c]._source),e);return this.createItem(p,!1,!0)}return this._registry[c]}},{key:"removeItem",value:function(e,t){var n=e.getBundle();null!=n&&n.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var r=e.getProperty();null!=r&&this._registryByProperty[r]===e&&delete this._registryByProperty[r]}},{key:"_createItems",value:function(e,t,n){var r=this;return e.map((function(o,i){var a="string"==typeof o?e[i]={id:o}:o;return r.createItem(a,t,!1,n)}))}}])&&p(t.prototype,n),d&&p(t,d),e}();t.default=h},function(e,t,n){n(205),n(500),n(246);var r=n(47);e.exports=r},function(e,t,n){n(501)},function(e,t,n){var r=n(502);e.exports=r},function(e,t,n){n(503);var r=n(513);e.exports=r},function(e,t,n){n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512)},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);s(e,t,i(n),r)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.getMap,l=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=s(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var o=l.get(t);return o.delete(n),!!o.size||l.delete(t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=n(33),s=o.has,l=o.get,c=o.toKey,u=function(e,t,n){if(s(e,t,n))return l(e,t,n);var r=a(t);return null!==r?u(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return u(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(241),i=n(63),a=n(2),s=n(33),l=n(8),c=i.keys,u=i.toKey,d=function(e,t){var n=c(e,t),r=s(e);if(null===r)return n;var i,a,u=d(r,t);return u.length?n.length?(i=new o(n.concat(u)),l(i,(a=[]).push,a),a):u:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return d(a(e),t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.get,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.keys,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return a(i(e),t)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=n(33),s=o.has,l=o.toKey,c=function(e,t,n){if(s(e,t,n))return!0;var r=a(t);return null!==r&&c(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return c(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.has,s=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},function(e,t,n){var r=n(0),o=n(63),i=n(2),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){s(e,t,i(n),a(r))}}})},function(e,t,n){n(514),n(519),n(521);var r=n(522);e.exports=r},function(e,t,n){n(515),n(516),n(517),n(518)},function(e,t,n){n(0)({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(e,t,n){n(0)({target:"Math",stat:!0},{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(e,t,n){n(0)({target:"Math",stat:!0},{imulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>16,s=r>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>16)+((o*s>>>0)+(65535&l)>>16)}})},function(e,t,n){n(0)({target:"Math",stat:!0},{umulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>>16,s=r>>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>>16)+((o*s>>>0)+(65535&l)>>>16)}})},function(e,t,n){n(520)},function(e,t,n){"use strict";var r=n(0),o=n(89).charAt;r({target:"String",proto:!0},{at:function(e){return o(this,e)}})},function(e,t,n){n(248),n(250),n(186)},function(e,t,n){n(523),n(526),n(555),n(564),n(567),n(575),n(577),n(579),n(583),n(586),n(588),n(590),n(592);var r=n(594);e.exports=r},function(e,t,n){n(524),n(525)},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(18),a=n(14),s=n(15).f;r&&!("lastIndex"in[])&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?0:t-1}}),o("lastIndex"))},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(18),a=n(14),s=n(15).f;r&&!("lastItem"in[])&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),n=a(t.length);return t[0==n?0:n-1]=e}}),o("lastItem"))},function(e,t,n){n(527),n(528),n(529),n(530),n(531),n(532),n(533),n(534),n(536),n(537),n(538),n(539),n(540),n(541),n(542),n(543),n(544),n(545),n(546),n(547),n(548),n(549),n(550),n(551),n(552),n(553),n(554)},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5);r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;i(t);var r=i(n.has),a=i(n.get),s=i(n.set);return o(e,(function(e){var o=t(e);r.call(n,o)?a.call(n,o).push(e):s.call(n,o,[e])})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5);r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;i(t);var r=i(n.set);return o(e,(function(e){r.call(n,t(e),e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"Map",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){r(n,e,t)&&f.call(o,e,n)}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{findKey:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(54),s=n(535),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{includes:function(e){return l(a(i(this)),(function(t,n){if(s(n,e))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(54),s=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{keyOf:function(e){return s(a(i(this)),(function(t,n){if(n===e)return s.stop(t)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){f.call(o,r(n,e,t),n)}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(54),d=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{mapValues:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),f=s(o.set);return d(n,(function(e,n){f.call(o,e,r(n,e,t))}),void 0,!0,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{merge:function(e){for(var t=i(this),n=a(t.set),r=0;r<arguments.length;)s(arguments[r++],n,t,!0);return t}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=s(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),l(n,(function(n,i){r?(r=!1,o=i):o=e(o,i,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(54),l=n(8);r({target:"Map",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5);r({target:"Map",proto:!0,real:!0,forced:o},{update:function(e,t){var n=i(this),r=arguments.length;a(t);var o=n.has(e);if(!o&&r<3)throw TypeError("Updating absent value");var s=o?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(251);r({target:"Set",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"Set",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(80),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(80),d=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),f=s(o.add);return d(n,(function(e){r(e,e,t)&&f.call(o,e)}),void 0,!1,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(80),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(80),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{join:function(e){var t=i(this),n=a(t),r=void 0===e?",":String(e),o=[];return s(n,o.push,o,!1,!0),o.join(r)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(23),c=n(27),u=n(80),d=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{map:function(e){var t=a(this),n=u(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),f=s(o.add);return d(n,(function(e){f.call(o,r(e,e,t))}),void 0,!1,!0),o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(80),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=s(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),l(n,(function(n){r?(r=!1,o=n):o=e(o,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return o}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(23),s=n(80),l=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"WeakMap",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(251);r({target:"WeakSet",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(138);r({target:"WeakSet",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563)},function(e,t,n){n(0)({target:"Map",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"Map",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"Set",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"Set",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"WeakMap",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"WeakMap",stat:!0},{of:n(140)})},function(e,t,n){n(0)({target:"WeakSet",stat:!0},{from:n(139)})},function(e,t,n){n(0)({target:"WeakSet",stat:!0},{of:n(140)})},function(e,t,n){n(565),n(566)},function(e,t,n){var r=n(0),o=n(252),i=n(17),a=n(36),s=function(){var e=i("Object","freeze");return e?e(a(null)):a(null)};r({global:!0},{compositeKey:function(){return o.apply(Object,arguments).get("object",s)}})},function(e,t,n){var r=n(0),o=n(252),i=n(17);r({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?i("Symbol").for(arguments[0]):o.apply(null,arguments).get("symbol",i("Symbol"))}})},function(e,t,n){n(568),n(569),n(570),n(571),n(572),n(573),n(574)},function(e,t,n){var r=n(0),o=Math.min,i=Math.max;r({target:"Math",stat:!0},{clamp:function(e,t,n){return o(n,i(t,e))}})},function(e,t,n){n(0)({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(0),o=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*o}})},function(e,t,n){var r=n(0),o=n(253),i=n(233);r({target:"Math",stat:!0},{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},function(e,t,n){n(0)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(0),o=Math.PI/180;r({target:"Math",stat:!0},{radians:function(e){return e*o}})},function(e,t,n){n(0)({target:"Math",stat:!0},{scale:n(253)})},function(e,t,n){n(576)},function(e,t,n){n(0)({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},function(e,t,n){n(578)},function(e,t,n){"use strict";var r=n(0),o=n(40),i=n(179),a=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,s=1;if("string"!=typeof e)throw TypeError("Invalid number representation");if(!e.length)throw SyntaxError("Invalid number representation");if("-"==e.charAt(0)&&(s=-1,!(e=e.slice(1)).length))throw SyntaxError("Invalid number representation");if((n=void 0===t?10:o(t))<2||n>36)throw RangeError("Invalid radix");if(!a.test(e)||(r=i(e,n)).toString(n)!==e)throw SyntaxError("Invalid number representation");return s*r}})},function(e,t,n){n(580),n(581),n(582)},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateEntries:function(e){return new o(e,"entries")}})},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateKeys:function(e){return new o(e,"keys")}})},function(e,t,n){"use strict";var r=n(0),o=n(187);r({target:"Object",stat:!0},{iterateValues:function(e){return new o(e,"values")}})},function(e,t,n){n(584),n(585)},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(78),a=n(5),s=n(2),l=n(11),c=n(48),u=n(15).f,d=n(20),f=n(61),p=n(114),h=n(8),m=n(238),g=n(9),b=n(21),v=g("observable"),y=b.get,x=b.set,w=function(e){return null==e?void 0:a(e)},_=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(e){m(e)}}},k=function(e){return void 0===e.observer},S=function(e,t){if(!o){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},E=function(e,t){var n,r=x(this,{cleanup:void 0,observer:s(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(n=w(e.start))&&n.call(e,this)}catch(e){m(e)}if(!k(r)){var i=r.subscriptionObserver=new T(this);try{var l=t(i),c=l;null!=l&&(r.cleanup="function"==typeof l.unsubscribe?function(){c.unsubscribe()}:a(l))}catch(e){return void i.error(e)}k(r)&&_(r)}};E.prototype=f({},{unsubscribe:function(){var e=y(this);k(e)||(S(this,e),_(e))}}),o&&u(E.prototype,"closed",{configurable:!0,get:function(){return k(y(this))}});var T=function(e){x(this,{subscription:e}),o||(this.closed=!1)};T.prototype=f({},{next:function(e){var t=y(y(this).subscription);if(!k(t)){var n=t.observer;try{var r=w(n.next);r&&r.call(n,e)}catch(e){m(e)}}},error:function(e){var t=y(this).subscription,n=y(t);if(!k(n)){var r=n.observer;S(t,n);try{var o=w(r.error);o?o.call(r,e):m(e)}catch(e){m(e)}_(n)}},complete:function(){var e=y(this).subscription,t=y(e);if(!k(t)){var n=t.observer;S(e,t);try{var r=w(n.complete);r&&r.call(n)}catch(e){m(e)}_(t)}}}),o&&u(T.prototype,"closed",{configurable:!0,get:function(){return k(y(y(this).subscription))}});var C=function(e){c(this,C,"Observable"),x(this,{subscriber:a(e)})};f(C.prototype,{subscribe:function(e){var t=arguments.length;return new E("function"==typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},y(this).subscriber)}}),f(C,{from:function(e){var t="function"==typeof this?this:C,n=w(s(e)[v]);if(n){var r=s(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var o=p(e);return new t((function(e){h(o,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){for(var e="function"==typeof this?this:C,t=arguments.length,n=new Array(t),r=0;r<t;)n[r]=arguments[r++];return new e((function(e){for(var r=0;r<t;r++)if(e.next(n[r]),e.closed)return;e.complete()}))}}),d(C.prototype,v,(function(){return this})),r({global:!0},{Observable:C}),i("Observable")},function(e,t,n){n(26)("observable")},function(e,t,n){n(587)},function(e,t,n){n(26)("patternMatch")},function(e,t,n){n(589)},function(e,t,n){"use strict";var r=n(0),o=n(112),i=n(135);r({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},function(e,t,n){n(591)},function(e,t,n){var r=n(0),o=n(2),i=n(229),a=n(88),s=n(21),l=s.set,c=s.getterFor("Seeded Random Generator"),u=a((function(e){l(this,{type:"Seeded Random Generator",seed:e%2147483647})}),"Seeded Random",(function(){var e=c(this);return{value:(1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,done:!1}}));r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!i(t))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new u(t)}})},function(e,t,n){n(593)},function(e,t,n){"use strict";var r=n(0),o=n(88),i=n(28),a=n(21),s=n(89),l=s.codeAt,c=s.charAt,u=a.set,d=a.getterFor("String Iterator"),f=o((function(e){u(this,{type:"String Iterator",string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new f(String(i(this)))}})},function(e,t,n){n(595),n(597),n(627),n(631),n(639);var r=n(642);e.exports=r},function(e,t,n){n(596)},function(e,t,n){var r=n(0),o=n(68),i=Object.isFrozen,a=function(e,t){if(!i||!o(e)||!i(e))return!1;for(var n,r=0,a=e.length;r<a;)if(!("string"==typeof(n=e[r++])||t&&void 0===n))return!1;return 0!==a};r({target:"Array",stat:!0},{isTemplateObject:function(e){if(!a(e,!0))return!1;var t=e.raw;return!(t.length!==e.length||!a(t,!1))}})},function(e,t,n){n(598),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(625),n(626)},function(e,t,n){"use strict";var r=n(0),o=n(48),i=n(20),a=n(19),s=n(9),l=n(599),c=n(6),u=s("toStringTag"),d=function(){o(this,d)};d.prototype=l,a(l,u)||i(l,u,"AsyncIterator"),a(l,"constructor")&&l.constructor!==Object||i(l,"constructor",d),r({global:!0,forced:c},{AsyncIterator:d})},function(e,t,n){var r,o,i=n(7),a=n(160),s=n(33),l=n(19),c=n(20),u=n(9),d=n(6),f=u("asyncIterator"),p=i.AsyncIterator,h=a.AsyncIteratorPrototype;if(!d)if(h)r=h;else if("function"==typeof p)r=p.prototype;else if(a.USE_FUNCTION_CONSTRUCTOR||i.USE_FUNCTION_CONSTRUCTOR)try{o=s(s(s(Function("return async function*(){}()")()))),s(o)===Object.prototype&&(r=o)}catch(e){}r||(r={}),l(r,f)||c(r,f,(function(){return this})),e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(81)((function(e,t){var n=this,r=n.iterator;return t.resolve(o(n.next.call(r,e))).then((function(e){return o(e).done?(n.done=!0,{done:!0,value:void 0}):{done:!1,value:[n.index++,e.value]}}))}));r({target:"AsyncIterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(81)((function(e,t){var n=this;return new t((function(r,i){var a=function(){try{t.resolve(o(n.next.call(n.iterator,n.remaining?void 0:e))).then((function(e){try{o(e).done?(n.done=!0,r({done:!0,value:void 0})):n.remaining?(n.remaining--,a()):r({done:!1,value:e.value})}catch(e){i(e)}}),i)}catch(e){i(e)}};a()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(81)((function(e,t){var n=this,r=n.filterer;return new t((function(o,a){var s=function(){try{t.resolve(i(n.next.call(n.iterator,e))).then((function(e){try{if(i(e).done)n.done=!0,o({done:!0,value:void 0});else{var l=e.value;t.resolve(r(l)).then((function(e){e?o({done:!1,value:l}):s()}),a)}}catch(e){a(e)}}),a)}catch(e){a(e)}};s()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{filter:function(e){return new a({iterator:i(this),filterer:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(81),s=n(254),l=a((function(e,t){var n,r,a=this,l=a.mapper;return new t((function(c,u){var d=function(){try{t.resolve(i(a.next.call(a.iterator,e))).then((function(e){try{i(e).done?(a.done=!0,c({done:!0,value:void 0})):t.resolve(l(e.value)).then((function(e){try{if(void 0!==(r=s(e)))return a.innerIterator=n=i(r.call(e)),a.innerNext=o(n.next),f();u(TypeError(".flatMap callback should return an iterable object"))}catch(e){u(e)}}),u)}catch(e){u(e)}}),u)}catch(e){u(e)}},f=function(){if(n=a.innerIterator)try{t.resolve(i(a.innerNext.call(n))).then((function(e){try{i(e).done?(a.innerIterator=a.innerNext=null,d()):c({done:!1,value:e.value})}catch(e){u(e)}}),u)}catch(e){u(e)}else d()};f()}))}));r({target:"AsyncIterator",proto:!0,real:!0},{flatMap:function(e){return new l({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return o(this,e)}})},function(e,t,n){var r=n(0),o=n(47),i=n(5),a=n(2),s=n(18),l=n(81),c=n(254),u=o.AsyncIterator,d=l((function(e){return a(this.next.call(this.iterator,e))}),!0);r({target:"AsyncIterator",stat:!0},{from:function(e){var t,n=s(e),r=c(n);if(null!=r){if((t=i(r).call(n))instanceof u)return t}else t=n;return new d({iterator:t})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(81)((function(e,t){var n=this,r=n.mapper;return t.resolve(i(n.next.call(n.iterator,e))).then((function(e){return i(e).done?(n.done=!0,{done:!0,value:void 0}):t.resolve(r(e.value)).then((function(e){return{done:!1,value:e}}))}))}));r({target:"AsyncIterator",proto:!0,real:!0},{map:function(e){return new a({iterator:i(this),mapper:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(17)("Promise");r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(e){var t=i(this),n=o(t.next),r=arguments.length<2,s=r?void 0:arguments[1];return o(e),new a((function(o,l){var c=function(){try{a.resolve(i(n.call(t))).then((function(t){try{if(i(t).done)r?l(TypeError("Reduce of empty iterator with no initial value")):o(s);else{var n=t.value;r?(r=!1,s=n,c()):a.resolve(e(s,n)).then((function(e){s=e,c()}),l)}}catch(e){l(e)}}),l)}catch(e){l(e)}};c()}))}})},function(e,t,n){"use strict";var r=n(0),o=n(115).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(81)((function(e){return this.remaining--?this.next.call(this.iterator,e):(this.done=!0,{done:!0,value:void 0})}));r({target:"AsyncIterator",proto:!0,real:!0},{take:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(115).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(0),o=n(7),i=n(48),a=n(20),s=n(4),l=n(19),c=n(9),u=n(172).IteratorPrototype,d=n(6),f=c("iterator"),p=c("toStringTag"),h=o.Iterator,m=d||"function"!=typeof h||h.prototype!==u||!s((function(){h({})})),g=function(){i(this,g)};d&&a(u={},f,(function(){return this})),l(u,p)||a(u,p,"Iterator"),!m&&l(u,"constructor")&&u.constructor!==Object||a(u,"constructor",g),g.prototype=u,r({global:!0,forced:m},{Iterator:g})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(82)((function(e){var t=o(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return[this.index++,t.value]}));r({target:"Iterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(82)((function(e){for(var t,n=this.iterator,r=this.next;this.remaining;)if(this.remaining--,t=o(r.call(n)),this.done=!!t.done)return;if(t=o(r.call(n,e)),!(this.done=!!t.done))return t.value}));r({target:"Iterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{every:function(e){return a(this),i(e),!o(this,(function(t){if(!e(t))return o.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(82),s=n(109),l=a((function(e){for(var t,n,r=this.iterator,o=this.filterer,a=this.next;;){if(t=i(a.call(r,e)),this.done=!!t.done)return;if(n=t.value,s(r,o,n))return n}}));r({target:"Iterator",proto:!0,real:!0},{filter:function(e){return new l({iterator:i(this),filterer:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{find:function(e){return a(this),i(e),o(this,(function(t){if(e(t))return o.stop(t)}),void 0,!1,!0).result}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(69),s=n(82),l=n(109),c=s((function(e){for(var t,n,r,s,c=this.iterator;;){if(s=this.innerIterator){if(!(t=i(this.innerNext.call(s))).done)return t.value;this.innerIterator=this.innerNext=null}if(t=i(this.next.call(c,e)),this.done=!!t.done)return;if(n=l(c,this.mapper,t.value),void 0===(r=a(n)))throw TypeError(".flatMap callback should return an iterable object");this.innerIterator=s=i(r.call(n)),this.innerNext=o(s.next)}}));r({target:"Iterator",proto:!0,real:!0},{flatMap:function(e){return new c({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(2);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(i(this),e,void 0,!1,!0)}})},function(e,t,n){var r=n(0),o=n(47),i=n(5),a=n(2),s=n(18),l=n(82),c=n(69),u=o.Iterator,d=l((function(e){var t=a(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return t.value}),!0);r({target:"Iterator",stat:!0},{from:function(e){var t,n=s(e),r=c(n);if(null!=r){if((t=i(r).call(n))instanceof u)return t}else t=n;return new d({iterator:t})}})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(2),a=n(82),s=n(109),l=a((function(e){var t=this.iterator,n=i(this.next.call(t,e));if(!(this.done=!!n.done))return s(t,this.mapper,n.value)}));r({target:"Iterator",proto:!0,real:!0},{map:function(e){return new l({iterator:i(this),mapper:o(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=arguments.length<2,n=t?void 0:arguments[1];if(o(this,(function(r){t?(t=!1,n=r):n=e(n,r)}),void 0,!1,!0),t)throw TypeError("Reduce of empty iterator with no initial value");return n}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(5),a=n(2);r({target:"Iterator",proto:!0,real:!0},{some:function(e){return a(this),i(e),o(this,(function(t){if(e(t))return o.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(2),i=n(113),a=n(82)((function(e){if(this.remaining--){var t=o(this.next.call(this.iterator,e));return(this.done=!!t.done)?void 0:t.value}this.done=!0}));r({target:"Iterator",proto:!0,real:!0},{take:function(e){return new a({iterator:o(this),remaining:i(e)})}})},function(e,t,n){"use strict";var r=n(0),o=n(8),i=n(2),a=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(i(this),a,e,!1,!0),e}})},function(e,t,n){n(628),n(629),n(630)},function(e,t,n){"use strict";n(0)({target:"Map",proto:!0,real:!0,forced:n(6)},{updateOrInsert:n(188)})},function(e,t,n){"use strict";n(0)({target:"Map",proto:!0,real:!0,forced:n(6)},{upsert:n(188)})},function(e,t,n){"use strict";n(0)({target:"WeakMap",proto:!0,real:!0,forced:n(6)},{upsert:n(188)})},function(e,t,n){n(632),n(633),n(634),n(635),n(636),n(637),n(638)},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{difference:function(e){var t=a(this),n=new(l(t,i("Set")))(t),r=s(n.delete);return c(e,(function(e){r.call(n,e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{intersection:function(e){var t=a(this),n=new(l(t,i("Set"))),r=s(t.has),o=s(n.add);return c(e,(function(e){r.call(t,e)&&o.call(n,e)})),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isDisjointFrom:function(e){var t=i(this),n=a(t.has);return!s(e,(function(e){if(!0===n.call(t,e))return s.stop()})).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(114),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isSubsetOf:function(e){var t=l(this),n=a(e),r=n.has;return"function"!=typeof r&&(n=new(i("Set"))(e),r=s(n.has)),!c(t,(function(e){if(!1===r.call(n,e))return c.stop()}),void 0,!1,!0).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(2),a=n(5),s=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{isSupersetOf:function(e){var t=i(this),n=a(t.has);return!s(e,(function(e){if(!1===n.call(t,e))return s.stop()})).stopped}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{union:function(e){var t=a(this),n=new(l(t,i("Set")))(t);return c(e,s(n.add),n),n}})},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(17),a=n(2),s=n(5),l=n(27),c=n(8);r({target:"Set",proto:!0,real:!0,forced:o},{symmetricDifference:function(e){var t=a(this),n=new(l(t,i("Set")))(t),r=s(n.delete),o=s(n.add);return c(e,(function(e){r.call(n,e)||o.call(n,e)})),n}})},function(e,t,n){n(640),n(641)},function(e,t,n){n(26)("asyncDispose")},function(e,t,n){n(26)("dispose")},function(e,t,n){n(643),n(646);var r=n(649);e.exports=r},function(e,t,n){n(644),n(645)},function(e,t,n){"use strict";var r=n(0),o=n(10),i=n(33),a=n(70),s=n(36),l=n(15),c=n(59),u=n(8),d=n(20),f=n(21),p=f.set,h=f.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);a&&(n=a(new Error(t),i(n)));var r=[];return u(e,r.push,r),o?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&d(n,"message",String(t)),n};m.prototype=s(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),o&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(17),a=n(112),s=n(135),l=n(8);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=o(t.resolve),a=[],s=0,u=1,d=!1;l(e,(function(e){var o=s++,l=!1;a.push(void 0),u++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,a[o]=e,--u||c(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--u||c(new(i("AggregateError"))(a,"No one promise resolved"))}));return u.error&&c(u.value),n.promise}})},function(e,t,n){n(647),n(648)},function(e,t,n){"use strict";var r=n(0),o=n(28),i=n(111),a=n(90),s=n(9),l=n(6),c=s("replace"),u=RegExp.prototype;r({target:"String",proto:!0},{replaceAll:function e(t,n){var r,s,d,f,p,h,m,g,b=o(this);if(null!=t){if((r=i(t))&&!~String(o("flags"in u?t.flags:a.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(s=t[c]))return s.call(t,b,n);if(l&&r)return String(b).replace(t,n)}if(d=String(b),""===(f=String(t)))return e.call(d,/(?:)/g,n);if(p=d.split(f),"function"!=typeof n)return p.join(String(n));for(m=(h=p[0]).length,g=1;g<p.length;g++)h+=String(n(f,m,d)),m+=f.length+p[g].length,h+=p[g];return h}})},function(e,t,n){n(26)("replaceAll")},function(e,t,n){n(650),n(652),n(654);var r=n(47);e.exports=r},function(e,t,n){n(651);var r=n(7);e.exports=r},function(e,t,n){n(219)},function(e,t,n){n(653)},function(e,t,n){n(239)},function(e,t,n){n(655)},function(e,t,n){n(225)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(657)),o=c(n(256)),i=c(n(92)),a=c(n(257)),s=c(n(663)),l=n(664);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,b(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e,t,n){return(m=h()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v,y,x=" ",w=function(e){function t(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";d(this,t);for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(n=f(this,(e=b(t)).call.apply(e,[this].concat(i)))).type=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,e),t}(p(Error));if("undefined"==typeof window||void 0===window.DOMParser&&"undefined"==typeof ActiveXObject){v=function(e){return(new XMLSerializer).serializeToString(e)};var _=r.default.DOMParser;y=function(e){return(new _).parseFromString(e,"text/xml")}}else v=function(e){return e.xml},y=function(e){var t;try{if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else(t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)}catch(e){t=null}if(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)throw new Error("Could not parse text as xml");return t};var k=function(e){if(/["<>^`{|}]/i.test(e))throw new w("character",'URL "'.concat(e,'" is not allowed to contain special characters " < > \\ ^ ` { | or }.'));if(!/^(?:[a-z][a-z0-9+.-]*:)/i.test(e))throw new w("relative","Relative URL not supported: ".concat(e));if(/ /i.test(e)){if(t.convertSpacesInURIs)return e.replace(/ /g,"%20");throw new w("space","Spaces inside of URL not supported: ".concat(e))}return e},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e;a.default.isString(n)&&(n=y(n));var r=t||new o.default({}),i=new l.RDFFormula;i.add=function(e,t,n){var o,i,a={};if(e instanceof l.RDFBlankNode?(o=e.toString(),r.registerBNode(o)):(e.uri=k(e.uri),o=e.uri),t instanceof l.RDFBlankNode)i=t.toString(),r.registerBNode(i);else{if("http://www.w3.org/1999/02/22-rdf-syntax-ns#resource"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#about"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#nodeID"===t.uri)return;t.uri=k(t.uri),i=t.uri}n instanceof l.RDFLiteral?(a.type="literal",a.value=n.value,n.lang&&(a.lang=n.lang),n.datatype&&(a.datatype=n.datatype.uri)):n instanceof l.RDFSymbol?(n.uri=k(n.uri),a.type="uri",a.value=n.uri):n instanceof l.RDFBlankNode&&(a.value=n.toString(),r.registerBNode(a.value),a.type="bnode"),r.create(o,i,a,!0)};var c=new s.default(i);return c.parse(n,"",""),r},E=function(e){return encodeURI(decodeURI(e)).replace(/&/g,"&amp;")},T={xml2string:v,string2xml:y,rdfxml2graph:S,rdfjson2rdfxml:function(e){var t=e instanceof o.default?e._graph:e||{},n=[],r={},a=[];Object.keys(t).forEach((function(e){"_:"===e.substr(0,2)?a.push("".concat(" ",'<rdf:Description rdf:nodeID="_').concat(e.substring(2),'">\n')):a.push("".concat(" ",'<rdf:Description rdf:about="').concat(E(e),'">\n'));var o=t[e];Object.keys(o).forEach((function(e){var t,s,l=(t=e,s=i.default.nsify(t),r[s.abbrev]||(n.push(s.abbrev),r[s.abbrev]=s.ns),s.pretty);o[e].forEach((function(e){var t;switch(e.type){case"literal":t=e.value.replace(/&/g,"&amp;").replace(/</g,"&lt;"),null!=e.lang?a.push("".concat(x,"<").concat(l,' xml:lang="').concat(e.lang,'">').concat(t,"</").concat(l,">\n")):null!=e.datatype?a.push("".concat(x,"<").concat(l,' rdf:datatype="').concat(e.datatype,'">').concat(t,"</").concat(l,">\n")):a.push("".concat(x,"<").concat(l,">").concat(t,"</").concat(l,">\n"));break;case"uri":a.push("".concat(x,"<").concat(l,' rdf:resource="').concat(E(e.value),'"/>\n'));break;case"bnode":"_:"===e.value.substr(0,2)?a.push("".concat(x,"<").concat(l,' rdf:nodeID="_').concat(e.value.substring(2),'"/>\n')):a.push("".concat(x,"<").concat(l,' rdf:nodeID="').concat(e.value,'"/>\n'))}}))})),a.push("".concat(" ","</rdf:Description>\n"))}));for(var s=['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'],l=0;l<n.length;l++)"rdf"!==n[l]&&s.push("\n\txmlns:".concat(n[l],'="').concat(r[n[l]],'"'));return s.push(">\n"),a.unshift(s.join("")),a.push("</rdf:RDF>"),a.join("")},detect:function(e){var t={};if("string"==typeof e)if(-1!==e.substr(0,200).toLowerCase().indexOf("<rdf:rdf")){t.format="rdf/xml";try{t.graph=S(e)}catch(e){"relative"===e.type||"space"===e.type||"character"===e.type?(t.error=e.message,t.errorCode=1):(t.error="Invalid rdf/xml",t.errorCode=2)}}else if('{"'===e.substring(0,2)){t.format="rdf/json";try{var n=JSON.parse((void 0).rdfjson);t.graph=new o.default(n)}catch(e){t.error="Invalid json.",t.errorCode=3}}else t.error="No RDF detected.",t.errorCode=4;else e instanceof o.default?(t.format="rdf/json",t.graph=e):"object"===u(e)?(t.format="rdf/json",t.graph=new o.default(e)):(t.error="unknown format",t.errorCode=5);t.error||(t.graph.validate().valid||(t.error="RDF/JSON is not valid.",t.errorCode=6));return t}};t.default=T},function(e,t,n){function r(e){this.options=e||{locator:{}}}function o(){this.cdata=!1}function i(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function a(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function s(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new d,i=n.domBuilder||new o,s=n.errorHandler,l=n.locator,u=n.xmlns||{},f=/\/x?html?$/.test(t),p=f?c.entityMap:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return l&&i.setDocumentLocator(l),r.errorHandler=function(e,t,n){if(!e){if(t instanceof o)return t;e=t}var r={},i=e instanceof Function;function s(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+a(n))}||function(){}}return n=n||{},s("warning"),s("error"),s("fatalError"),r}(s,i,l),r.domBuilder=n.domBuilder||i,f&&(u[""]="http://www.w3.org/1999/xhtml"),u.xml=u.xml||"http://www.w3.org/XML/1998/namespace",e&&"string"==typeof e?r.parse(e,u,p):r.errorHandler.error("invalid doc source"),i.doc},o.prototype={startDocument:function(){this.doc=(new p).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,a=o.createElementNS(e,n||t),s=r.length;l(this,a),this.currentElement=a,this.locator&&i(this.locator,a);for(var c=0;c<s;c++){e=r.getURI(c);var u=r.getValue(c),d=(n=r.getQName(c),o.createAttributeNS(e,n));this.locator&&i(r.getLocator(c),d),d.value=d.nodeValue=u,a.setAttributeNode(d)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&i(this.locator,n),l(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=s.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&i(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=s.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&i(this.locator,r),l(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&i(this.locator,o),l(this,o)}},warning:function(e){console.warn("[xmldom warning]\t"+e,a(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,a(this.locator))},fatalError:function(e){throw new f(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){o.prototype[e]=function(){return null}}));var c=n(658),u=n(659),d=u.XMLReader,f=u.ParseError,p=t.DOMImplementation=n(255).DOMImplementation;t.XMLSerializer=n(255).XMLSerializer,t.DOMParser=r,t.__DOMHandler=o},function(e,t){t.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},function(e,t){var n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,r=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+n.source+r.source+"*(?::"+n.source+r.source+"*)?$");function i(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,i)}function a(){}function s(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,n,r,o,i){function a(e,t,r){e in n.attributeNames&&i.fatalError("Attribute "+e+" redefined"),n.addValue(e,t,r)}for(var s,l=++t,c=0;;){var u=e.charAt(l);switch(u){case"=":if(1===c)s=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),t=l+1,!((l=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");a(s,d=e.slice(t,l).replace(/&#?\w+;/g,o),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');a(s,d=e.slice(t,l).replace(/&#?\w+;/g,o),t),i.warning('attribute "'+s+'" missed start quot('+u+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,l)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case 2:2===c&&(d=s),4==c?(i.warning('attribute "'+d+'" missed quot(")!'),a(s,d.replace(/&#?\w+;/g,o),t)):("http://www.w3.org/1999/xhtml"===r[""]&&d.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),a(d,d,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":u=" ";default:if(u<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:s=e.slice(t,l),c=2;break;case 4:var d=e.slice(t,l).replace(/&#?\w+;/g,o);i.warning('attribute "'+d+'" missed quot(")!!'),a(s,d,t);case 5:c=6}else switch(c){case 2:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,t),t=l,c=1;break;case 5:i.warning('attribute space is required"'+s+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function c(e,t,n){for(var r=e.tagName,o=null,i=e.length;i--;){var a=e[i],s=a.qName,l=a.value;if((p=s.indexOf(":"))>0)var c=a.prefix=s.slice(0,p),u=s.slice(p+1),d="xmlns"===c&&u;else u=s,c=null,d="xmlns"===s&&"";a.localName=u,!1!==d&&(null==o&&(o={},f(n,n={})),n[d]=o[d]=l,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,l))}for(i=e.length;i--;){(c=(a=e[i]).prefix)&&("xml"===c&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==c&&(a.uri=n[c||""]))}var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),u=e.localName=r.slice(p+1)):(c=null,u=e.localName=r);var h=e.uri=n[c||""];if(t.startElement(h,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(h,u,r),o)for(c in o)t.endPrefixMapping(c)}function u(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function d(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function f(e,t){for(var n in e)t[n]=e[n]}function p(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}}return-1}function h(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o){o[0].length;return n.processingInstruction(o[1],o[2]),r+2}return-1}return-1}function m(){this.attributeNames={}}i.prototype=new Error,i.prototype.name=i.name,a.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),f(t,t={}),function(e,t,n,r,o){function a(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function f(t){if(t>k){var n=e.substring(k,t).replace(/&#?\w+;/g,a);x&&g(k),r.characters(n,0,t-k),k=t}}function g(t,n){for(;t>=v&&(n=y.exec(e));)b=n.index,v=b+n[0].length,x.lineNumber++;x.columnNumber=t-b+1}var b=0,v=0,y=/.*(?:\r\n?|\n)|.*$/g,x=r.locator,w=[{currentNSMap:t}],_={},k=0;for(;;){try{var S=e.indexOf("<",k);if(S<0){if(!e.substr(k).match(/^\s*$/)){var E=r.doc,T=E.createTextNode(e.substr(k));E.appendChild(T),r.currentElement=T}return}switch(S>k&&f(S),e.charAt(S+1)){case"/":var C=e.indexOf(">",S+3),O=e.substring(S+2,C),A=w.pop();C<0?(O=e.substring(S+2).replace(/[\s<].*/,""),o.error("end tag name: "+O+" is not complete:"+A.tagName),C=S+1+O.length):O.match(/\s</)&&(O=O.replace(/[\s<].*/,""),o.error("end tag name: "+O+" maybe not complete"),C=S+1+O.length);var D=A.localNSMap,j=A.tagName==O;if(j||A.tagName&&A.tagName.toLowerCase()==O.toLowerCase()){if(r.endElement(A.uri,A.localName,O),D)for(var I in D)r.endPrefixMapping(I);j||o.fatalError("end tag name: "+O+" is not match the current start tagName:"+A.tagName)}else w.push(A);C++;break;case"?":x&&g(S),C=h(e,S,r);break;case"!":x&&g(S),C=p(e,S,r,o);break;default:x&&g(S);var N=new m,M=w[w.length-1].currentNSMap,P=(C=l(e,S,N,M,a,o),N.length);if(!N.closed&&d(e,C,N.tagName,_)&&(N.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),x&&P){for(var L=s(x,{}),R=0;R<P;R++){var F=N[R];g(F.offset),F.locator=s(x,{})}r.locator=L,c(N,r,M)&&w.push(N),r.locator=x}else c(N,r,M)&&w.push(N);"http://www.w3.org/1999/xhtml"!==N.uri||N.closed?C++:C=u(e,C,N.tagName,a,r)}}catch(e){if(e instanceof i)throw e;o.error("element parse error: "+e),C=-1}C>k?k=C:f(Math.max(S,k)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},m.prototype={setTagName:function(e){if(!o.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!o.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=a,t.ParseError=i},function(e,t,n){var r,o,i,a,s;r=n(661),o=n(260).utf8,i=n(662),a=n(260).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var h=s._ff,m=s._gg,g=s._hh,b=s._ii;for(p=0;p<n.length;p+=16){var v=c,y=u,x=d,w=f;c=h(c,u,d,f,n[p+0],7,-680876936),f=h(f,c,u,d,n[p+1],12,-389564586),d=h(d,f,c,u,n[p+2],17,606105819),u=h(u,d,f,c,n[p+3],22,-1044525330),c=h(c,u,d,f,n[p+4],7,-176418897),f=h(f,c,u,d,n[p+5],12,1200080426),d=h(d,f,c,u,n[p+6],17,-1473231341),u=h(u,d,f,c,n[p+7],22,-45705983),c=h(c,u,d,f,n[p+8],7,1770035416),f=h(f,c,u,d,n[p+9],12,-1958414417),d=h(d,f,c,u,n[p+10],17,-42063),u=h(u,d,f,c,n[p+11],22,-1990404162),c=h(c,u,d,f,n[p+12],7,1804603682),f=h(f,c,u,d,n[p+13],12,-40341101),d=h(d,f,c,u,n[p+14],17,-1502002290),c=m(c,u=h(u,d,f,c,n[p+15],22,1236535329),d,f,n[p+1],5,-165796510),f=m(f,c,u,d,n[p+6],9,-1069501632),d=m(d,f,c,u,n[p+11],14,643717713),u=m(u,d,f,c,n[p+0],20,-373897302),c=m(c,u,d,f,n[p+5],5,-701558691),f=m(f,c,u,d,n[p+10],9,38016083),d=m(d,f,c,u,n[p+15],14,-660478335),u=m(u,d,f,c,n[p+4],20,-405537848),c=m(c,u,d,f,n[p+9],5,568446438),f=m(f,c,u,d,n[p+14],9,-1019803690),d=m(d,f,c,u,n[p+3],14,-187363961),u=m(u,d,f,c,n[p+8],20,1163531501),c=m(c,u,d,f,n[p+13],5,-1444681467),f=m(f,c,u,d,n[p+2],9,-51403784),d=m(d,f,c,u,n[p+7],14,1735328473),c=g(c,u=m(u,d,f,c,n[p+12],20,-1926607734),d,f,n[p+5],4,-378558),f=g(f,c,u,d,n[p+8],11,-2022574463),d=g(d,f,c,u,n[p+11],16,1839030562),u=g(u,d,f,c,n[p+14],23,-35309556),c=g(c,u,d,f,n[p+1],4,-1530992060),f=g(f,c,u,d,n[p+4],11,1272893353),d=g(d,f,c,u,n[p+7],16,-155497632),u=g(u,d,f,c,n[p+10],23,-1094730640),c=g(c,u,d,f,n[p+13],4,681279174),f=g(f,c,u,d,n[p+0],11,-358537222),d=g(d,f,c,u,n[p+3],16,-722521979),u=g(u,d,f,c,n[p+6],23,76029189),c=g(c,u,d,f,n[p+9],4,-640364487),f=g(f,c,u,d,n[p+12],11,-421815835),d=g(d,f,c,u,n[p+15],16,530742520),c=b(c,u=g(u,d,f,c,n[p+2],23,-995338651),d,f,n[p+0],6,-198630844),f=b(f,c,u,d,n[p+7],10,1126891415),d=b(d,f,c,u,n[p+14],15,-1416354905),u=b(u,d,f,c,n[p+5],21,-57434055),c=b(c,u,d,f,n[p+12],6,1700485571),f=b(f,c,u,d,n[p+3],10,-1894986606),d=b(d,f,c,u,n[p+10],15,-1051523),u=b(u,d,f,c,n[p+1],21,-2054922799),c=b(c,u,d,f,n[p+8],6,1873313359),f=b(f,c,u,d,n[p+15],10,-30611744),d=b(d,f,c,u,n[p+6],15,-1560198380),u=b(u,d,f,c,n[p+13],21,1309151649),c=b(c,u,d,f,n[p+4],6,-145523070),f=b(f,c,u,d,n[p+11],10,-1120210379),d=b(d,f,c,u,n[p+2],15,718787259),u=b(u,d,f,c,n[p+9],21,-343485551),c=c+v>>>0,u=u+y>>>0,d=d+x>>>0,f=f+w>>>0}return r.endian([c,u,d,f])})._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?t.push(n.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
51
51
  /*!
52
52
  * Determine if an object is a Buffer
53
53
  *
54
54
  * @author Feross Aboukhadijeh <https://feross.org>
55
55
  * @license MIT
56
56
  */
57
- e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(261),i=r=function(e){r.ns={RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"},r.nodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},this.frameFactory=function(e,t,n){return{NODE:1,ARC:2,parent:t,parser:e,store:e.store,element:n,lastChild:0,base:null,lang:null,node:null,nodeType:null,listIndex:1,rdfid:null,datatype:null,collection:!1,terminateFrame:function(){this.collection&&this.node.close()},addSymbol:function(e,t){t=(0,o.join)(t,this.base),this.node=this.store.sym(t),this.nodeType=e},loadTriple:function(){if(this.parent.parent.collection?this.parent.parent.node.append(this.node):this.store.add(this.parent.parent.node,this.parent.node,this.node,this.parser.why),null!=this.parent.rdfid){var e=this.store.sym((0,o.join)("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(r.ns.RDF+"type"),this.store.sym(r.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"object"),this.node,this.parser.why)}},isTripleToLoad:function(){return null!=this.parent&&null!=this.parent.parent&&this.nodeType==this.NODE&&this.parent.nodeType==this.ARC&&this.parent.parent.nodeType==this.NODE},addNode:function(e){this.addSymbol(this.NODE,e),this.isTripleToLoad()&&this.loadTriple()},addCollection:function(){this.nodeType=this.NODE,this.node=this.store.collection(),this.collection=!0,this.isTripleToLoad()&&this.loadTriple()},addCollectionArc:function(){this.nodeType=this.ARC},addBNode:function(e){null!=e?null!=this.parser.bnodes[e]?this.node=this.parser.bnodes[e]:this.node=this.parser.bnodes[e]=this.store.bnode():this.node=this.store.bnode(),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()},addArc:function(e){e==r.ns.RDF+"li"&&(e=r.ns.RDF+"_"+this.parent.listIndex++),this.addSymbol(this.ARC,e)},addLiteral:function(e){this.parent.datatype?this.node=this.store.literal(e,"",this.store.sym(this.parent.datatype)):this.node=this.store.literal(e,this.lang),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()}}},this.store=e,this.bnodes={},this.why=null,this.reify=!1,this.parse=function(e,t,n){var o,i=e.childNodes;if(this.cleanParser(),e.nodeType==r.nodeType.DOCUMENT){for(var a=0;a<i.length;a++)if(i[a].nodeType==r.nodeType.ELEMENT){o=i[a];break}}else{if(e.nodeType!=r.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+t+". Halting. ");o=e}this.why=n;var s=this.frameFactory(this);return s.base=t,s.lang="",this.parseDOM(this.buildFrame(s,o)),!0},this.parseDOM=function(e){for(var t=function(e){return e.namespaceURI+e.localName},n=!0;e.parent;){var i,a,s=e.element,l=s.attributes;if(s.nodeType==r.nodeType.TEXT||s.nodeType==r.nodeType.CDATA_SECTION)e.addLiteral(s.nodeValue);else if(t(s)!=r.ns.RDF+"RDF")if(e.parent&&e.parent.collection&&(e.addCollectionArc(),(e=this.buildFrame(e,e.element)).parent.element=null),e.parent&&e.parent.nodeType&&e.parent.nodeType!=e.ARC){e.addArc(t(s)),this.reify&&(i=s.getAttributeNodeNS(r.ns.RDF,"ID"))&&(e.rdfid=i.nodeValue,s.removeAttributeNode(i));var c=s.getAttributeNodeNS(r.ns.RDF,"parseType"),u=s.getAttributeNodeNS(r.ns.RDF,"datatype");if(u&&(e.datatype=u.nodeValue,s.removeAttributeNode(u)),c){var d=c.nodeValue;"Literal"==d?(e.datatype=r.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(s),n=!1):"Resource"==d?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"==d&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),s.removeAttributeNode(c)}if(0!=l.length){var f=s.getAttributeNodeNS(r.ns.RDF,"resource");for(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"),e=this.buildFrame(e),f?(e.addNode(f.nodeValue),s.removeAttributeNode(f)):a?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode(),g=l.length-1;g>=0;g--){var p=this.buildFrame(e);p.addArc(t(l[g])),t(l[g])==r.ns.RDF+"type"?this.buildFrame(p).addNode(l[g].nodeValue):this.buildFrame(p).addLiteral(l[g].nodeValue)}}else 0==s.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var h=s.getAttributeNodeNS(r.ns.RDF,"about");if(i=s.getAttributeNodeNS(r.ns.RDF,"ID"),h&&i)throw new Error("RDFParser: "+s.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");null==h&&i?(e.addNode("#"+i.nodeValue),s.removeAttributeNode(i)):null==h&&null==i?(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"))?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode():(e.addNode(h.nodeValue),s.removeAttributeNode(h));var m=s.getAttributeNodeNS(r.ns.RDF,"type");r.ns.RDF+"Description"!=t(s)&&(m={nodeValue:t(s)}),null!=m&&(this.store.add(e.node,this.store.sym(r.ns.RDF+"type"),this.store.sym((0,o.join)(m.nodeValue,e.base)),this.why),m.nodeName&&s.removeAttributeNode(m));for(var g=l.length-1;g>=0;g--)this.store.add(e.node,this.store.sym(t(l[g])),this.store.literal(l[g].nodeValue,e.lang),this.why)}for(s=e.element;e.parent;){for(var b=e;null==s;)s=(e=e.parent).element;var v=s.childNodes,y=null!=v?v[e.lastChild]:null;if(null!=y&&n){if((y.nodeType==r.nodeType.ELEMENT||y.nodeType==r.nodeType.TEXT||y.nodeType==r.nodeType.CDATA_SECTION)&&(y.nodeType!=r.nodeType.TEXT&&y.nodeType!=r.nodeType.CDATA_SECTION||1==s.childNodes.length)){e.lastChild++,e=this.buildFrame(b,s.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;s=e.element,n=!0}}}},this.cleanParser=function(){this.bnodes={},this.why=null},this.buildFrame=function(e,t){var n=this.frameFactory(this,e,t);if(e&&(n.base=e.base,n.lang=e.lang),null==t||t.nodeType==r.nodeType.TEXT||t.nodeType==r.nodeType.CDATA_SECTION)return n;var o=t.attributes,i=t.getAttributeNode("xml:base");null!=i&&(n.base=i.nodeValue,t.removeAttribute("xml:base"));var a=t.getAttributeNode("xml:lang");null!=a&&(n.lang=a.nodeValue,t.removeAttribute("xml:lang"));for(var s=o.length-1;s>=0;s--)"xml"==o[s].nodeName.substr(0,3)&&t.removeAttributeNode(o[s]);return n}};t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.RDFLiteral=t.RDFBlankNode=t.RDFFormula=t.RDFSymbol=void 0;var r=n(261);function o(e){throw new Error('"'+e+'" is read-only')}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(e){return"object"===i(e)?e:"string"==typeof e?new f(e):void(void 0!==e&&alert("Can't make term from ".concat(e," of type ").concat(i(e))))},s=function(){return this};s.prototype.termType="empty",s.prototype.toString=function(){return""},s.prototype.toNT=function(){return""};var l=function(){return"<"+this.uri+">"},c=function(e){return this.uri=e,this};t.RDFSymbol=c,c.prototype.termType="symbol",c.prototype.toString=l,c.prototype.toNT=l;var u=0,d=function(){return this.id=u++,this};t.RDFBlankNode=d,d.prototype.termType="bnode",d.prototype.toNT=function(){return"_:n"+this.id},d.prototype.toString=d.prototype.toNT;var f=function(e,t,n){return this.value=e,this.lang=t,this.datatype=n,this};t.RDFLiteral=f,f.prototype.termType="literal",f.prototype.toNT=function(){var e=this.value;if("string"!=typeof e)throw Error("Value of RDF literal is not string: "+e);return o("str"),e=e.replace(/\\/g,"\\\\"),o("str"),e=e.replace(/"/g,'\\"'),o("str"),e='"'+e+'"',this.datatype&&(o("str"),e=e+"^^"+this.datatype),this.lang&&(o("str"),e=e+"@"+this.lang),e},f.prototype.toString=function(){return this.value};var p=function(){this.id=u++,this.elements=[],this.closed=!1};p.prototype.termType="collection",p.prototype.toNT=function(){return"_:n"+this.id},p.prototype.toString=p.prototype.toNT,p.prototype.append=function(e){this.elements.push(e)},p.prototype.close=function(){this.closed=!0};var h=function(){return this.subject.toNT()+" "+this.predicate.toNT()+" "+this.object.toNT()+" ."},m=function(e,t,n,r){return this.subject=a(e),this.predicate=a(t),this.object=a(n),void 0!==r&&(this.why=r),this};m.prototype.toNT=h,m.prototype.toString=h;var g=function(){return this.statements=[],this.constraints=[],this.initBindings=[],this.optional=[],this};t.RDFFormula=g;var b=function(){return"{\n"+this.statements.join("\n")+"}"};g.prototype.termType="formula",g.prototype.toNT=b,g.prototype.toString=b,g.prototype.add=function(e,t,n,r){this.statements.push(new m(e,t,n,r))},g.prototype.sym=function(e,t){return null!=t&&(e=this.namespaces[e]+t),new c(e)},g.prototype.literal=function(e,t,n){return new f(e.toString(),t,n)},g.prototype.bnode=function(){return new d},g.prototype.formula=function(){return new g},g.prototype.collection=function(){return new p};var v=function(e){return this.uri=(0,r.join)(e,"varid:"),this};v.prototype.termType="variable",v.prototype.toNT=function(){return"varid:"==this.uri.slice(0,"varid:".length)?"?".concat(this.uri.slice("varid:".length)):"?".concat(this.uri)},v.prototype.toString=v.prototype.toNT,v.prototype.classOrder=7,g.prototype.variable=function(e){return new v(e)},v.prototype.hashString=v.prototype.toNT,g.prototype.fromNT=function(e){var t=e.length,n=e.slice(0,1);if("<"===n)return this.sym(e.slice(1,t-1));if("_"===n){var r=new d;return r.id=parseInt(e.slice(3)),u--,r}alert("Can't yet convert from NT: '".concat(e,"', ").concat(e[0]))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.prettyTree=t.statementTree=t.statementList=t.pretty=void 0;var r,o=(r=n(92))&&r.__esModule?r:{default:r};var i=function(e,t){for(var n={},r=e.find(t),i=0;i<r.length;i++){var a=r[i];"bnode"!==a.getType()&&(n[o.default.shorten(a.getPredicate())]=a.getValue())}return n};t.pretty=i;var a=function e(t,n,r){for(var o=r||{},i=t?t.find(n):[],a=[],s=0;s<i.length;s++){var l=i[s];if("literal"===l.getType())a.push({stmt:l});else{var c={stmt:l},u=l.getValue();o[u]||(o[u]=!0,c.children=e(t,u,o))}}return a};t.statementTree=a;var s=function(e,t){var n=a(e,t),r=[];return function e(t,n){for(var o=0;o<t.length;o++){var i=t[o];i.indent=n,r.push(i),i.children&&(e(i.children,n+1),delete i.children)}}(n,1),r};t.statementList=s;var l=function(e,t){for(var n=s(e,t),r=0;r<n.length;r++){var i=n[r],a=i.stmt;a.isSubjectBlank()?i.s=a.getSubject():i.s=o.default.shorten(a.getSubject()),i.p=o.default.shorten(a.getPredicate());var l=a.getType();if("uri"===l){i.o=o.default.shorten(a.getValue());var c=a.getLanguage(),u=a.getDatatype();null!=c?i.o+="@@".concat(c):null!=u&&(i.o+="^^".concat(u))}else i.o='"'.concat(a.getValue(),'"')}return n};t.prettyTree=l;var c={pretty:i,statementList:s,statementTree:a,prettyTree:l};t.default=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(682))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}}var t,n,r;return t=e,(n=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var n=this._findChoices(e);if(null==n);else{if(null==t)return n;t(n)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var n=0;n<t.length;n++){var r=t[n];if((0,o.default)(r.constraints,e.getConstraints())&&e.getParentProperty()===r.parentProperty&&e.getHierarchyProperty()===r.hierarchyProperty&&e.isParentPropertyInverted()===(r.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(r.isHierarchyPropertyInverted||!1))return r.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var n=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(n+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var r=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(r+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=a},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=0,o=function(){function e(t){var n=t.itemStore,o=t.source,i=t.path,a=t.readOnly,s=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=n,this._source=o,this._path=i,this._readOnly=s,this._items=[],r+=1,this._id="_bundle_".concat(r),this._root=null,this._modified=!1}var t,o,i;return t=e,(o=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(e){return this._source.root=e,e}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(e){this._items.push(e)}},{key:"removeItem",value:function(e){this._items.splice(this._items.indexOf(e),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(e){this._modified=e}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&n(t.prototype,o),i&&n(t,i),e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(142)),o=c(n(141)),i=c(n(191)),a=c(n(192)),s=c(n(193)),l=c(n(671));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=f(this,p(t).call(this,e));var c=e.statement,u=e.constraints;n._statement=void 0,n._validPredicate=!0,n._constraints=[];var d,h=n._item.getChildren(),m=h[1];d=m instanceof o.default?new s.default({item:m,statement:c,constraints:u}):m instanceof i.default?new a.default({item:m,statement:c}):new r.default({item:m,statement:c});var g=new l.default({item:h[0],objectBinding:d});return n.addChildBinding(g),n.addChildBinding(d),n}var n,c,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(c=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&d(n.prototype,c),u&&d(n,u),t}(s.default);t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(74);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listener=[],this._limits=t.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var t,n,i;return t=e,(n=[{key:"addListener",value:function(e){return this._listeners.push(e),e}},{key:"removeListener",value:function(e){this._listeners.splice(this._listeners.indexOf(e),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(e){return e()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(e){this._code!==e&&(this._code=e,this.cardinalityChanged())}},{key:"setDepsOk",value:function(e){this._depsOk!==e&&(this._code=r.CODES.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=r.CODES.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=r.CODES.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=r.CODES.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&o(t.prototype,n),i&&o(t,i),e}();t.default=i},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=a(this,s(t).call(this,e)))._objectBinding=e.objectBinding,n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(t,e),n=t,(r=[{key:"remove",value:function(){}},{key:"setValue",value:function(e){this._objectBinding.setPredicate(e)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&i(n.prototype,r),o&&i(n,o),t}(((r=n(192))&&r.__esModule?r:{default:r}).default);t.default=c},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){function t(){return i(this,t),s(this,c(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(e){return this._parent.setValue(e)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(e,t){return this._parent.setGist(e,t)}},{key:"setSubject",value:function(e){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),l(c(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(142))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(91);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){this.filterObj={},this.registry=e};i.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(e){i.prototype[e]=function(t){var n={};switch(e){case"constraint":Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),this.filterObj[e]=n;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=r.namespaces.expand(t);break;default:this.filterObj[e]=t||!0}return this}}));var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var t,n,r;return t=e,(n=[{key:"calculatePriority",value:function(e,t){var n=0;if(t.itemtype&&(n+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(n+=this.priorities.CHOICES,t.choices){case"static":if(!e.hasStaticChoices())return-1;break;case"dynamic":if(!e.hasChoices()||e.hasStaticChoices())return-1;break;case"none":if(e.hasChoices())return-1;break;case"any":default:if(!e.hasChoices())return-1}if(t.nodetype&&(n+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){n+=this.priorities.DATATYPE;var r=e.getDatatype(),o=!0;if(r&&(o=Array.isArray(r)?!r.includes(t.datatype):r!==t.datatype),o)return-1}return t.rdftype&&(n+=this.priorities.RDFTYPE,!function(e,t){var n=e.getConstraints();return null!=n&&n[rdfType]===t}(e,t.rdftype))||t.constraint&&(n+=this.priorities.CONSTRAINT,!function(e,t){if(null==t)return!0;var n=e.getConstraints(),r=!0;return null!=n&&(Object.keys(n).find((function(e){var o=t[e];return""!==o&&"*"!==o&&o!==n[e]&&(r=!1,!0)})),r)}(e,t.constraint))||t.predicate&&(n+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(n+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(n+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:n:-1}},{key:"getPriority",value:function(e,t){for(var n=0;n<this.components.length;n++)if(this.components[n].component===t){var r=this.calculatePriority(e,this.components[n].filter);if(r>=0)return r}return 0}},{key:"getComponentBefore",value:function(e,t){var n=this.getPriority(e,t);return this.getComponent(e,n)}},{key:"getComponent",value:function(e,t){for(var n,r,o,i=-1,a=0;a<this.components.length;a++)o=this.components[a],(r=this.calculatePriority(e,o.filter))>i&&(void 0===t||r<t)&&(n=o,i=r);if(n)return n.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new i(this).itemtype(e)}},{key:"choices",value:function(e){return new i(this).choices(e)}},{key:"nodetype",value:function(e){return new i(this).nodetype(e)}},{key:"datatype",value:function(e){return new i(this).datatype(e)}},{key:"rdftype",value:function(e){return new i(this).rdftype(e)}},{key:"constraint",value:function(e){return new i(this).constraint(e)}},{key:"predicate",value:function(e){return new i(this).predicate(e)}},{key:"style",value:function(e){return new i(this).style(e)}},{key:"item",value:function(e){return new i(this).item(e)}},{key:"check",value:function(e){return new i(this).check(e)}}])&&o(t.prototype,n),r&&o(t,r),e}();t.default=a},function(e){e.exports=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","openLinkExternally":"Open link externally"}')},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.toDuration=t.fromDuration=void 0;t.fromDuration=function(e){var t,n,r=function(e){return e&&e.length>1?parseInt(e[0],10):0},o=r(e.match(/([0-9])*Y/)),i=r(e.match(/([0-9])*D/)),a=r(e.match(/([0-9])*H/));if(-1===e.indexOf("T"))t=r(e.match(/([0-9])*M/));else{var s=e.split("T");t=r(s[0].match(/([0-9])*M/)),n=r(s[1].match(/([0-9])*M/))}return{years:o,months:t,days:i,hours:a,minutes:n}};t.toDuration=function(e){if(e.years||e.months||e.days||e.hours||e.minutes){var t="P".concat(e.years?"".concat(e.years,"Y"):"").concat(e.months?"".concat(e.months,"M"):"").concat(e.days?"".concat(e.days,"D"):"");return(e.hours||e.minutes)&&(t="".concat(t,"T").concat(e.hours?"".concat(e.hours,"H"):"").concat(e.minutes?"".concat(e.minutes,"M"):"")),t}return null}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){(t=n(117)(!1)).push([e.i,'/* === Colors === */\n.rdformsLabel {\n font-weight:bold;\n color: black;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n/* border-right: 1px solid #E6E6E6;*/\n border-bottom-width: 0px;\n}\n\n/* No border to the right of a heading*/\n.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n border-right-width: 0px;\n}\n\n/* --- Inverted, background greyish with white separators. --- */\n.inverted.rdforms .rdformsTopLevel {\n background: #E6E6E6;\n}\n\n.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n border-right: 1px solid white;\n}\n\n\n/* --- Validation colors --- */\n.rdformsValidator .rdformsField.errorReport,\n.rdformsValidator .rdformsGroup.errorReport {\n border-left: 2px dotted red;\n}\n\n.rdformsValidator .error .rdformsValidationMessageWrapper {\n color: red;\n}\n\n.rdformsValidator .warning .rdformsValidationMessageWrapper {\n color: orange;\n}\n\n.rdformsValidator .deprecated .rdformsValidationMessageWrapper {\n color: #00766c;\n}\n\n.rdforms .rdformsMandatoryMark {\n color: red;\n vertical-align: text-bottom;\n font-weight: bold;\n}\n\n.rdforms .rdformsRecommendedMark,\n.rdforms .rdformsOptionalMark {\n padding-left: 10px;\n font-size: 12px;\n color: grey;\n}\n\n.rdformsMark {\n display: none;\n}\n\n.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: inline;\n}\n\n.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: none;\n}\n\n\n/* === End colors === */\n\n.rdformsInvisible {\n display: none;\n}\n\n.rdformsRow.rdformsTopLevel {\n \tpadding-top: 0.3em;\n \tpadding-bottom: 0.3em;\n\tmargin-top: 0em;\n}\n\n.compact .rdformsRow.rdformsTopLevel .rdformsRow {\n\tpadding-left: 0.7em;\n margin-bottom: 0.3em;\n}\n\n.rdformsRow.rdformsTopLevel .rdformsRow {\n margin-bottom: 0.15em;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {\n\tfont-style: normal;\n\twidth: 10em !important;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {\n\twidth: 13em !important;\n}\n\n/* No specific width for headings */\n.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n width: auto !important;\n/* border-bottom: 1px solid lightgrey;*/\n}\n\n\n.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {\n\tmax-width: 15em;\n\twidth: auto;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tzoom:1;\n\t*display: inline;\n vertical-align: middle;\n}\n\na.rdformsUrl {\n text-decoration: none;\n word-break: break-all;\n}\n\na.rdformsUrl:hover {\n text-decoration: underline;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.notCompact {\n\tdisplay: table;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {\n display: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {\n\tmargin-left: 0px;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {\n display: table;\n width: 98%;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {\n display: table-cell;\n}\n\n\n\n.rdformsImage {\n max-width: 100%;\n max-height: 300px;\n}\n\n.rdformsLabel:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdformsLabel.noPointer:hover {\n text-decoration: none;\n cursor: default;\n}\n\n.rdformsPresenter th span:hover,\n.rdformsEditor th span:hover,\n.rdformsLabel.hasInfo:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdforms .itemInfoTable {\n\tdisplay: table;\n\twidth: 100%;\n}\n.rdforms .itemInfoTable>* {\n\tdisplay: table-row;\n}\n.rdforms .itemInfoTable>*>* {\n\tdisplay: table-cell;\n}\n\n.rdformsGroup {\n\tmargin-left: 13px;\n position: relative;\n margin-top: 10px;\n }\n\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{\n display: none;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsField {\n margin-left: 0em;\n padding-left: 0em;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {\n margin-left: 0em;\n}\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {\n padding-left: 0px;\n}\n\n.rdformsHeading>.rdformsLabel {\n font-size: larger;\n margin: 8px 0px 5px 0px;\n}\n\n.rdformsField {\n\tmargin-left: 1em;\n/*\tbackground: white;*/\n/*\tpadding-left: 0.5em;*/\n/*\tword-break: break-all;*/\n}\n\n.rdformsPresenter .rdformsRepeatedValue {\n \tborder-top: 1px solid #E6E6E6;\n padding-top: 2px;\n margin-top: 2px;\n}\n\n.rdformsEditor .rdformsRepeatedValue {\n margin-top: 2px;\n}\n\n.rdformsPresenter .rdformsField.rdformsSingleline {\n word-break: break-all;\n}\n\n.rdformsPresenter .rdformsField.rdformsMultiline {\n word-break: break-word;\n white-space: pre-line;\n}\n\n.rdformsPresenter th,\n.rdformsEditor th {\n font-weight: bold;\n padding-left: 0.3em;\n padding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup td {\n\tborder: 1px solid #E6E6E6;\n}\n.rdformsEditor table.rdformsGroup th {\n\tborder-bottom: 1px solid #E6E6E6;\n}\n\n\n.rdformsEditor table.rdformsGroup td {\n\tpadding-left: 0em;\n\tpadding-right: 0.6em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {\n padding-right: 7.4em;\n}\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {\n width: 6.4em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsTableControl,\n.rdformsPresenter table.rdformsGroup td {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup,\n.rdformsEditor table.rdformsGroup {\n\tborder-collapse: collapse;\n}\n.rdformsEditor table.rdformsGroup tr{\n\tbackground-color: white;\n}\n.rdformsPresenter table.rdformsGgroup th,\n.rdformsEditor table.rdformsGroup th {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n\n.rdformsPresenter .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid #E6E6E6;*/\n\tpadding-left: 0.7em;\n }\n\n.rdformsEditor .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid white;*/\n\tpadding-right: 0.7em;\n }\n .rdformsEditor .rdformsField {\n \tpadding-right: 55px;\n\tposition: relative;\n }\n \n .rdformsEditor .rdformsField .rdformsChoiceLabel {\n \tmargin-left: 0.2em;\n \tmargin-right: 1em;\n }\n .rdformsEditor .rdformsField .mismatch {\n color: red;\n font-weight: bold;\n }\n .rdformsEditor .rdformsLangcontrolledfield {\n \tpadding-right: 10.9em;\n }\n .rdformsEditor .rdformsFieldControl {\n\tposition: absolute;\n\twidth: 3.8em;\n\tpadding-right: 0.1em;\n\tright: 0;\n\toverflow-x: hidden;\n\tpadding-right: 0.1em;\n\tfont-weight: normal;\n }\n .rdformsEditor .rdformsLangFieldControl {\n\twidth: 10em;\n }\n\n.rdformsEditor .rdformsFieldInput {\n width: 100%;\n resize: vertical;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 0.6em;\n margin-right: .6em;\n text-decoration: none;\n}\n\n.rdformsEditor .rdformsExtLinkDisabled {\n pointer-events: none;\n opacity: 0.14;\n}\n\n.rdformsEditor .rdformsExtLinkControl {\n padding-right: 3.5em !important;\n}\n\n.rdformsEditor .rdformsChoiceValue {\n \tdisplay: inline-block;\n\tzoom:1;\n\tbackground: whitesmoke;\n\tmin-height: 1.4em;\n\tpadding-left: 4px;\n\tpadding-right: 4px;\n\tborder: 1px solid lightgrey;\n\tmin-width: 4em;\n}\n\n.chooser.rdforms label {\n\tfont-weight:normal;\n\tmargin-left:5px;\n\tmargin-top:5px;\n\tfont-size:15px;\n width: 4em;\n}\n\n.chooser.rdforms .uriNode,\n.chooser.rdforms .labelNode,\n.chooser.rdforms .descriptionNode {\n\tmargin-left:20px;\n\tfont-size:15px;\n background: rgb(228, 224, 219);\n border-radius: 3px;\n padding: 3px 7px;\n border: 1px solid grey;\n word-break: break-all;\n}\n\n.chooser.rdforms h2 {\n margin-top: 0px;\n margin-bottom: 0.7em;\n}\n\n.rdformsStar {\n\tdisplay: inline-block;\n\tzoom:1;\n\t*display: inline;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=);\n}\n\n/*.rdformsValidator .rdformsFields .error,\n.rdformsValidator .rdformsFields .warning,\n.rdformsValidator .rdformsFields .deprecated {\n border-radius: 4px;\n padding: 4px;\n color: white;\n}*/\n\n.rdformsValidator {\n padding-left: 30px;\n}\n.rdformsValidator .rdformsValidator {\n padding-left: 0px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n margin-left: -30px;\n}\n\n.rdformsValidator .rdformsField.error {\n color: red;\n}\n\n/* To override some nested rdformsField background settings\n.rdformsPresenter.rdformsValidator.error .rdformsField {\n background: red;\n}*/\n\n.rdformsValidator .rdformsField.warning {\n color: orange;\n}\n\n.rdformsValidator .rdformsField.deprecated {\n color: #00766c;\n}\n\n/*.rdformsValidator .rdformsField.error .rdformsUrl,\n.rdformsValidator .rdformsField.warning .rdformsUrl,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl {\n color: white;\n text-decoration: underline;\n}\n\n.rdformsValidator .rdformsField.error .rdformsUrl:hover,\n.rdformsValidator .rdformsField.warning .rdformsUrl:hover,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {\n color: white;\n}*/\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {\n padding: 4px 10px;\n}\n.rdforms.rdformsValidator .rdformsValidator.error {\n color: red;\n border-radius: 4px;\n padding: 4px;\n}\n\n.rdformsValidator .rdformsValidationMessage {\n margin-left: 5px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n display: flex;\n align-items: center;\n padding-top: 5px;\n}\n\n.compact .rdformsRow.rdformsTopLevel {\n\tdisplay: table;\n\twidth: 98%;\n}\n.compact .rdformsRow.rdformsTopLevel>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {\n padding-left: 0px;\n}\n\n.compact .rdformsRow.notCompact {\n\tdisplay: block;\n\twidth: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n\tdisplay: inherit;\n}\n\n.compact .rdformsRow>.rdformsLabelRow {\n\twidth: 1px;\n\twhite-space: nowrap;\n}\n\n.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {\n\tvertical-align: middle;\n}\n\n.compact .rdformsTopLevel>.rdformsFields>.rdformsField {\n\tmargin-left: 0;\n}\n\n.rdforms .action {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n opacity:0.65;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=65)";\n filter:alpha(opacity=65);\n zoom:1;\n\tvertical-align: top;\n}\n\n.rdforms .action:hover {\n\topacity:1;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=100)";\n filter:alpha(opacity=100);\n zoom:1;\n cursor: pointer;\n}\n\n.rdforms .action.disabled {\n\topacity:0.14;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=14)";\n filter:alpha(opacity=14);\n zoom:1;\n}\n\n.rdforms .action.editAdd {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC);\n}\n\n.rdforms .rdformsTableControl>.action.editDelete,\n.rdforms .rdformsFieldControl>.action.editDelete {\n\tfloat: right;\n margin-top: 3px;\n}\n.rdforms .action.editSearch {\n\tmargin-left: 13px;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==);\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.info {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=);\n}\n\n.rdformsEditor .rdformsDateValue {\n margin-right: 0.4em;\n}\n\n/* ---------- StoreManager -----------*/\n\n.formulatorTable {\n display: table;\n width: 100%;\n}\n.formulatorTable .row {\n display: table-row;\n}\n\n.formulatorTable .row>* {\n display: table-cell;\n padding-bottom: 0.3em;\n}\n\n.formulatorTable .row>*>* {\n width: 100%;\n}\n\n.formulatorTable .row .select {\n width: 16em;\n}\n\n.formulatorTable .row label {\n width: 10em;\n}\n\n.formulatorTable .row .cardinality label {\n width: 2.5em;\n}\n\n.storeManager .readOnly {\n color: gray !important;\n}\n\n.storeManager .itemList>div {\n height: 100%;\n}\n\n.formulatorTable label .addButton {\n background: lightgreen;\n border-radius: 3px;\n padding-left: 3px;\n padding-right: 3px;\n margin-left: 5px;\n font-weight: bold;\n}\n\n.formulatorTable label .addButton:hover {\n background: green;\n color: white;\n}\n\n.inlineState .dynamic {\n display: none;\n}\n\n.langStringArr {\n display: table;\n}\n\n.langStringArr .langString {\n display: table-row;\n}\n\n.langString>* {\n display: table-cell;\n}\n\n.langString .langStringString {\n width: auto;\n}\n\n.langString .langStringLang {\n width: 5em;\n}\n.langString .langStringString>* {\n width: 100%;\n}\n\n.langString .langStringLang>* {\n width: 4.7em;\n margin-left: 0.3em;\n}\n\n.maximized_textarea {\n width: 100%;\n height: 100%;\n border-width: 0px;\n padding: 0px;\n resize: none;\n}\n\n/* LDBrowser */\n\n.ldbrowser.managedHeight>div {\n height: 100%;\n position: relative;\n}\n\n.ldbrowser.examples .examplesBlock {\n display: block;\n}\n.ldbrowser .examplesBlock {\n display:none;\n margin: 5px;\n}\n\n/* RDFView */\n.rdfView pre {\n padding: 0px;\n margin: 0px;\n width: 100%;\n border-width:0px;\n}\n\n.rdfView.managedHeight pre {\n height: 100%;\n overflow:auto;\n}\n\n.rdforms .cardinality {\n width: 500px;\n margin: 0px auto 1em auto;\n}\n\n.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {\n display: none !important;\n}\n\n.rdformsError,\n.rdformsRow.missingDepsWithValue {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsLinebreaks {\n white-space: pre-line;\n}\n\n.rdformsWarning {\n font-weight: bold;\n color: red;\n padding-bottom: 6px;\n padding-top: 6px;\n}\n\n.rdformsDeprecated {\n border: 2px solid red;\n padding: 12px;\n}',""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(30)),o=l(n(199)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=n(200);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e,t,n,r){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===n.length)return!1;var o=t.getProperty();if(n.length>0){if(o)return!e.filterProperty(o);if("group"!==t.getType())return!0;var i=t.getChildren();if(0===i.length)return!0;if(n[0].getItemGroupedChildBindings().find((function(t,n){return g(e,i[n],t,r)})))return!0;if(!o)return!1}var a=t.getCardinality();switch(r){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},b=function(e){function t(){return u(this,t),f(this,h(t).apply(this,arguments))}var n,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(o=[{key:"_handleParams",value:function(e){this._subEditors=this._subEditors||[],this.includeLevel=e.includeLevel||"recommended",this.hideAddress=!1!==e.hideAddress,e.styleCls=e.styleCls||"rdformsEditor",e.filterTranslations=void 0!==e.filterTranslations&&e.filterTranslations,p(h(t.prototype),"_handleParams",this).call(this,e)}},{key:"report",value:function(e){var t=this,n=e||(0,a.bindingReport)(this.binding);Object.keys(this._binding2node).forEach((function(e){r.default.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var o=0;o<n.errors.length;o++){var s=n.errors[o];s.parentBinding===this.binding&&(s.code===i.CODES.TOO_FEW_VALUES_MIN?function(){var e=s.item,n=e.getCardinality().min;t.binding.getChildBindingsFor(e).find((function(e){return n-=1,e.isValid()||r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===n}))}():s.code===i.CODES.AT_MOST_ONE_CHILD&&this.binding.getChildBindings().forEach((function(e){e.getMatchingCode()!==i.CODES.OK&&r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)})))}for(var l=0;l<this._subEditors.length;l++)this._subEditors[l].report(n)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(e){this.includeLevel!==e&&(this.includeLevel=e,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=i.match(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],p(h(t.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return g(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,r=t,o=e.getCardinality();if((n=o.pref>0?o.pref:o.min>0?o.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1)>r.length)for(r=r.concat([]);n>r.length;)r.push(i.create(this.binding,e));return r}},{key:"addLabel",value:function(e,t,n){r.default.renderEditorLabel(e,t,n,this.context)}},{key:"createEndOfRowNode",value:function(e,t,n){r.default.renderEditorLabelScopeEnd(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):r.default.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){r.default.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){r.default.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(e,t){this.context.inEditor=!0,t.getItem().hasStyle("nonEditable")?r.default.renderPresenter(e,t,this.context):r.default.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,n,o){if(null!=n||!o.hasStyle("nonEditable")){var a=p(h(t.prototype),"createRowNode",this).call(this,e,n,o);if("choice"===o.getType()&&void 0===o.getProperty()){var s=i.findPopularChoice(o,n.getParent());s&&n.setChoice(s)}var l=o.getDeps();if(l){var c=function(e){e?(r.default.domClassToggle(a,"missingDepsWithValue",!1),n.getCardinalityTracker().setDepsOk(!0),r.default.domClassToggle(a,"missingDeps",!1)):n.isValid()?(r.default.domClassToggle(a,"missingDepsWithValue",!0),n.getCardinalityTracker().setDepsOk(!1)):r.default.domClassToggle(a,"missingDeps",!0)},u=i.findBindingRelativeToParentBinding(n.getParent(),l);i.matchPathBelowBinding(u,l)||c(!1),u.addListener((function e(){n.getParent()?c(i.matchPathBelowBinding(u,l)):u.removeListener(e)}))}return this.filterBinding(n)&&r.default.domClassToggle(a,"hiddenProperty",!0),o.hasStyle("deprecated")&&r.default.domClassToggle(a,"rdformsDeprecated",!0),a}}}])&&d(n.prototype,o),s&&d(n,s),t}(o.default);t.default=b},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n(30)),i=c(n(193)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74)),s=n(200);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=0,f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=d,d+=1,this.parentView=t.parentView,this.srcNodeRef=n,this.binding=t.binding||null,this.template=t.template||null,this.graph=t.graph||null,this.resource=t.resource||"",this.topLevel=!1!==t.topLevel,this.compact=!1!==t.compact,this.styleCls=t.styleCls||"",this.filterPredicates=t.filterPredicates||null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this._handleParams(t),this._labelIndex={},this.domNode=o.default.createDomNode(n,this),o.default.domClassToggle(this.domNode,"rdforms",!0),o.default.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){o.default.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(e){if(e.binding)this.binding=e.binding;else{if(this.template=e.template||this.template,this.graph=e.graph||this.graph,this.resource=e.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=a.fuzzyMatch(this.graph,this.resource,this.template),(0,s.bindingReport)(this.binding)):this.binding=a.match(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(e){return"group"===e.getType()&&(e.hasStyle("table")||e.hasClass("rdformsTable"))}},{key:"show",value:function(e){this._handleParams(e),this.render()}},{key:"render",value:function(){if(o.default.domText(this.domNode,""),null!=this.binding){var e=o.default.getMessages();if(this.messages=e,null!=this.binding){var t,n,r,a,s,l=this.binding.getItem().getChildren(),c=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?o.default.domClassToggle(this.domNode,"compact",!1):o.default.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<c.length;t++)if(a=c[t],s=l[t],(!this.restrictToItem||this.restrictToItem===s)&&this.showNow(s,a)){if(a=this.prepareBindings(s,a),this.showAsTable(s))this.context={view:this},r=this.createRowNode(r,a[0],s),a.length>0&&(n=this.addTable(r,a[0],s),this.fillTable(n,a));else if(a.length>0)for(var u=0;u<a.length;u++)this.context={view:this},r=this.addRow(r,a[u],0===u||a[u]instanceof i.default);else r=this.createRowNode(r,null,s);a.length>0&&a[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(e,t,n){var r,a,s=n,l=t.getItem();if(!this.skipBinding(t)){if(null==s&&(s=t instanceof i.default),!0===s){a=this.createRowNode(e,t,l);var c=o.default.domCreate("div",a);o.default.domClassToggle(c,"rdformsFields",!0),r=o.default.domCreate("div",c),this.createEndOfRowNode(a,t,l)}else{var u=o.default.domQuery(".rdformsFields",e);if(null!=u)r=o.default.domCreate("div",u),o.default.domClassToggle(r,"rdformsRepeatedValue",!0);else{var d=o.default.domCreate("div",e);o.default.domClassToggle(d,"rdformsFields",!0),r=o.default.domCreate("div",d),this.createEndOfRowNode(a,t,l)}}return"group"===l.getType()?o.default.domClassToggle(r,"rdformsGroup",!0):o.default.domClassToggle(r,"rdformsField",!0),this._binding2node[t.getHash()]=r,this.addComponent(r,t),l.hasStyle("invisible")&&o.default.domClassToggle(a||e,"rdformsInvisible",!0),a||e}}},{key:"createRowNode",value:function(e,t,n){var r;return r=null==e?o.default.domCreate("div",this.domNode):o.default.domCreateAfter("div",e),n.getClasses().forEach((function(e){o.default.domClassToggle(r,e,!0)})),o.default.domClassToggle(r,"rdformsRow",!0),o.default.domClassToggle(r,"rdformsTopLevel",this.topLevel),o.default.domClassToggle(r,"rdformsInvisibleGroup",n.hasStyle("invisibleGroup")),o.default.domClassToggle(r,"rdformsHeading",n.hasStyle("heading")),o.default.domClassToggle(r,"notCompact","group"===n.getType()),this.addLabel(r,t,n),t&&this.filterBinding(t)&&o.default.domClassToggle(r,"hiddenProperty",!0),r}},{key:"createEndOfRowNode",value:function(e,t,n){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(e){var t=this._getFilterPredicates(),n=e.getStatement(),r=e.getItem();if(t&&n)return!0===t[n.getPredicate()];if(t&&"group"===r.getType()&&!r.getProperty()){var o=r.getChildren()||[],i=!1;return o.forEach((function(e){!0!==t[e.getProperty()]&&(i=!0)})),!i}return!1}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,n=this;return e.getItem(),e.getParent().getChildBindingsFor(e.getItem()).reverse().find((function(e){return void 0!==(t=n._labelIndex[e.getHash()])})),void 0!==t?t:this.parentView?this.parentView.getLabelIndex(e.getParent()):""}},{key:"createLabelIndex",value:function(e){var t="".concat(e.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[e.getHash()]=t,t}}])&&u(t.prototype,n),r&&u(t,r),e}();t.default=f},,function(e,t,n){"use strict";n.r(t);var r=n(99);var o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},i=n(38),a=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var s=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},l=n(94),c=Object.prototype.hasOwnProperty;var u=function(e,t,n){var r=e[t];c.call(e,t)&&Object(l.a)(r,n)&&(void 0!==n||t in e)||s(e,t,n)};var d=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),o?s(n,l,c):u(n,l,c)}return n},f=n(96);var p=function(e,t){return e&&d(t,Object(f.a)(t),e)},h=n(152),m=n(55),g=n(93);var b=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},v=Object.prototype.hasOwnProperty;var y=function(e){if(!Object(m.a)(e))return b(e);var t=Object(g.a)(e),n=[];for(var r in e)("constructor"!=r||!t&&v.call(e,r))&&n.push(r);return n},x=n(148);var w=function(e){return Object(x.a)(e)?Object(h.a)(e,!0):y(e)};var _=function(e,t){return e&&d(t,w(t),e)},k=n(266);var S=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},E=n(97);var T=function(e,t){return d(e,Object(E.a)(e),t)},C=n(147),O=n(145),A=Object(O.a)(Object.getPrototypeOf,Object),D=n(146),j=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(C.a)(t,Object(E.a)(e)),e=A(e);return t}:D.a;var I=function(e,t){return d(e,j(e),t)},N=n(116),M=n(150);var P=function(e){return Object(M.a)(e,w,j)},L=n(64),R=Object.prototype.hasOwnProperty;var F=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(n.index=e.index,n.input=e.input),n},U=n(98);var V=function(e){var t=new e.constructor(e.byteLength);return new U.a(t).set(new U.a(e)),t};var B=function(e,t){var n=t?V(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},z=/\w*$/;var H=function(e){var t=new e.constructor(e.source,z.exec(e));return t.lastIndex=e.lastIndex,t},W=n(35),Y=W.a?W.a.prototype:void 0,q=Y?Y.valueOf:void 0;var $=function(e){return q?Object(q.call(e)):{}};var G=function(e,t){var n=t?V(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var X=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return V(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return B(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return G(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return H(e);case"[object Set]":return new r;case"[object Symbol]":return $(e)}},K=Object.create,Q=function(){function e(){}return function(t){if(!Object(m.a)(t))return{};if(K)return K(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Z=function(e){return"function"!=typeof e.constructor||Object(g.a)(e)?{}:Q(A(e))},J=n(49),ee=n(82),te=n(34);var ne=function(e){return Object(te.a)(e)&&"[object Map]"==Object(L.a)(e)},re=n(95),oe=n(65),ie=oe.a&&oe.a.isMap,ae=ie?Object(re.a)(ie):ne;var se=function(e){return Object(te.a)(e)&&"[object Set]"==Object(L.a)(e)},le=oe.a&&oe.a.isSet,ce=le?Object(re.a)(le):se,ue={};ue["[object Arguments]"]=ue["[object Array]"]=ue["[object ArrayBuffer]"]=ue["[object DataView]"]=ue["[object Boolean]"]=ue["[object Date]"]=ue["[object Float32Array]"]=ue["[object Float64Array]"]=ue["[object Int8Array]"]=ue["[object Int16Array]"]=ue["[object Int32Array]"]=ue["[object Map]"]=ue["[object Number]"]=ue["[object Object]"]=ue["[object RegExp]"]=ue["[object Set]"]=ue["[object String]"]=ue["[object Symbol]"]=ue["[object Uint8Array]"]=ue["[object Uint8ClampedArray]"]=ue["[object Uint16Array]"]=ue["[object Uint32Array]"]=!0,ue["[object Error]"]=ue["[object Function]"]=ue["[object WeakMap]"]=!1;var de=function e(t,n,i,a,s,l){var c,d=1&n,h=2&n,g=4&n;if(i&&(c=s?i(t,a,s,l):i(t)),void 0!==c)return c;if(!Object(m.a)(t))return t;var b=Object(J.a)(t);if(b){if(c=F(t),!d)return S(t,c)}else{var v=Object(L.a)(t),y="[object Function]"==v||"[object GeneratorFunction]"==v;if(Object(ee.a)(t))return Object(k.a)(t,d);if("[object Object]"==v||"[object Arguments]"==v||y&&!s){if(c=h||y?{}:Z(t),!d)return h?I(t,_(c,t)):T(t,p(c,t))}else{if(!ue[v])return s?t:{};c=X(t,v,d)}}l||(l=new r.a);var x=l.get(t);if(x)return x;l.set(t,c),ce(t)?t.forEach((function(r){c.add(e(r,n,i,r,t,l))})):ae(t)&&t.forEach((function(r,o){c.set(o,e(r,n,i,o,t,l))}));var w=g?h?P:N.a:h?keysIn:f.a,E=b?void 0:w(t);return o(E||t,(function(r,o){E&&(r=t[o=r]),u(c,o,e(r,n,i,o,t,l))})),c};t.default=function(e){return de(e,5)}},function(e,t,n){"use strict";n.r(t);var r=n(99),o=n(151);var i=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var a=function(e){return this.__data__.has(e)};function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=a;var l=s;var c=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var u=function(e,t){return e.has(t)};var d=function(e,t,n,r,o,i){var a=1&n,s=e.length,d=t.length;if(s!=d&&!(a&&d>s))return!1;var f=i.get(e);if(f&&i.get(t))return f==t;var p=-1,h=!0,m=2&n?new l:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var g=e[p],b=t[p];if(r)var v=a?r(b,g,p,t,e,i):r(g,b,p,e,t,i);if(void 0!==v){if(v)continue;h=!1;break}if(m){if(!c(t,(function(e,t){if(!u(m,t)&&(g===e||o(g,e,n,r,i)))return m.push(t)}))){h=!1;break}}else if(g!==b&&!o(g,b,n,r,i)){h=!1;break}}return i.delete(e),i.delete(t),h},f=n(35),p=n(98),h=n(94);var m=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},b=f.a?f.a.prototype:void 0,v=b?b.valueOf:void 0;var y=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new p.a(e),new p.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(h.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=m;case"[object Set]":var l=1&r;if(s||(s=g),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=d(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1},x=n(116),w=Object.prototype.hasOwnProperty;var _=function(e,t,n,r,o,i){var a=1&n,s=Object(x.a)(e),l=s.length;if(l!=Object(x.a)(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:w.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],m=t[u];if(r)var g=a?r(m,h,u,t,e,i):r(h,m,u,e,t,i);if(!(void 0===g?h===m||o(h,m,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var b=e.constructor,v=t.constructor;b==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(e),i.delete(t),f},k=n(64),S=n(49),E=n(82),T=n(153),C="[object Object]",O=Object.prototype.hasOwnProperty;var A=function(e,t,n,o,i,a){var s=Object(S.a)(e),l=Object(S.a)(t),c=s?"[object Array]":Object(k.a)(e),u=l?"[object Array]":Object(k.a)(t),f=(c="[object Arguments]"==c?C:c)==C,p=(u="[object Arguments]"==u?C:u)==C,h=c==u;if(h&&Object(E.a)(e)){if(!Object(E.a)(t))return!1;s=!0,f=!1}if(h&&!f)return a||(a=new r.a),s||Object(T.a)(e)?d(e,t,n,o,i,a):y(e,t,c,n,o,i,a);if(!(1&n)){var m=f&&O.call(e,"__wrapped__"),g=p&&O.call(t,"__wrapped__");if(m||g){var b=m?e.value():e,v=g?t.value():t;return a||(a=new r.a),i(b,v,n,o,a)}}return!!h&&(a||(a=new r.a),_(e,t,n,o,i,a))},D=n(34);var j=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Object(D.a)(t)&&!Object(D.a)(n)?t!=t&&n!=n:A(t,n,r,o,e,i))};t.default=function(e,t){return j(e,t)}},,,,,,,,,,,function(e,t,n){var r,o=(r=n(30))&&r.__esModule?r:{default:r};n(694),n(695),n(696),n(697),o.default.domQuery=function(e,t){return t.querySelector(e)},o.default.domCreate=function(e,t){return t.appendChild(document.createElement(e))},o.default.domCreateAfter=function(e,t){return t.parentNode.insertBefore(document.createElement(e),t.nextSibling)},o.default.domSetAttr=function(e,t,n){""===n||null===n?e.removeAttribute(t):e.setAttribute(t,n)},o.default.domText=function(e,t){e.innerText=t},o.default.domClassToggle=function(e,t,n){t.split(" ").forEach((function(t){n?e.classList.add(t):e.classList.remove(t)}))},o.default.prePresenterViewRenderer=o.default.preEditorViewRenderer},function(e,t,n){var r=i(n(43)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}o.default.renderPresenterLabel=function(e,t,n,i,a){var s=n.getLabel();s=null!=s&&""!==s?s.charAt(0).toUpperCase()+s.slice(1):"";var l=(0,r.default)('<div class="rdformsLabel" tabindex="0">').text(s).appendTo(e);a&&l.addClass("rdformsLabelRow"),i&&(i.labelNode=l[0]),o.default.attachItemInfo(n,l[0],i)},o.default.attachItemInfo=function(e,t){if(null!=e&&null!=e.getDescription()){var n=e.getDescription();t.setAttribute("title",n)}}},function(e,t,n){(function(e){var t=l(n(703)),r=l(n(83)),o=n(675),i=l(n(30)),a=l(n(51)),s=l(n(84));function l(e){return e&&e.__esModule?e:{default:e}}var c=i.default.presenterRegistry;c.itemtype("text").nodetype("URI").register((function(t,n){var r=a.default.getLocalizedMap(n),o=e('<a class="rdformsUrl">').attr("title",n.getValue()).attr("href",n.getValue()).appendTo(t);n.getItem().hasStyle("showValue")?o.text(n.getValue()):r?o.text(a.default.getLocalizedValue(r).value):o.text(n.getGist()),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(o[0],n):s.default.attachLinkBehaviour(o[0],n)})),c.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,n,o){var l,c=n.getValue(),u=n.getItem().getChildren().find((function(e){return e.hasStyle("label")})),d=u?i.default.filterTranslations(n.getChildBindingsFor(u),r.default.locale(),o.view.defaultLanguage):[],f=n.getItem().getChildren().find((function(e){return e.hasStyle("tooltip")})),p=f?i.default.filterTranslations(n.getChildBindingsFor(f),r.default.locale(),o.view.defaultLanguage):[],h=p.length>0?p[0].getValue():c,m=e('<a class="rdformsUrl">').attr("title",h).attr("href",c).appendTo(t);if(d.length>0)l=d[0].getValue();else{var g=a.default.getLocalizedMap(n);l=n.getItem().hasStyle("showValue")?c:g?a.default.getLocalizedValue(g).value||c:n.getGist()}m.text(l),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(m[0],n):s.default.attachLinkBehaviour(m[0],n)})),c.itemtype("text").nodetype("URI").style("image").register((function(t,n){e('<img class="rdformsImage">').attr("src",n.getGist()).appendTo(t)})),c.itemtype("text").register((function(n,r,o){var i=r.getLanguage();o.view.showLanguage&&i&&e('<div class="rdformsLanguage">').text(i).appendTo(n);var a=(0,t.default)(r.getItem().hasStyle("showValue")?r.getValue():r.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),l=r.getParent();if(r.getItem().hasStyle("label")&&!0!==o.view.topLevel&&null!=l&&l.getItem().getChildren()[0]===r.getItem()&&null!=l.getStatement()&&"uri"===l.getStatement().getType()){var c=e('<a class="rdformsUrl">').attr("href",l.getStatement().getValue()).html(a).appendTo(n);i&&c.attr("lang",i),s.default.attachLinkBehaviour(c[0],l)}else{var u=e("<div>").html(a).appendTo(n);i&&u.attr("lang",i)}r.getItem().hasStyle("multiline")?e(n).toggleClass("rdformsMultiline",!0):e(n).toggleClass("rdformsSingleline",!0)})),c.itemtype("text").datatype("xsd:duration").register((function(t,n,r){var i=(0,o.fromDuration)(n.getValue()),a=r.view.messages,s=e("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){i.hasOwnProperty(t)&&e('<span class="durationlabel">'.concat(a["duration_"+t],':</span><span class="durationValue">').concat(i[t],"</span>")).appendTo(s)}))}));var u=function(t,n,o){var i=n.getValue();if(null!=i&&""!==i)try{var a;a=i.indexOf("T")>0?(0,r.default)(i).format("lll"):i.length>4?(0,r.default)(i).format("LL"):(0,r.default)(i).format("YYYY"),e("<div>").html(a).appendTo(t)}catch(e){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 (potentially with time given after a 'T' character as well) but found '".concat(i,"' instead."))}};c.itemtype("text").datatype("xsd:date").register(u),c.itemtype("text").datatype("dcterms:W3CDTF").register(u)}).call(this,n(43))},function(e,t,n){(function(e){var t=i(n(30)),r=i(n(84)),o=i(n(51));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.default.presenterRegistry,s=function(e){return function(t,n){var r,i=n.getChoice();i&&(i.description&&(r=o.default.getLocalizedValue(i.description).value),e(t,n,i,r))}};a.itemtype("choice").style("image").register(s((function(t,n,r,o){e('<img class="rdformsImage">').attr("src",r.value).attr("title",o||r.value).appendTo(t)}))),a.itemtype("choice").style("stars").register(s((function(t,n,r){isNaN(parseInt(r.value,10))||e('<span class="rdformsStar">').appendTo(t)}))),a.itemtype("choice").register(s((function(t,n,i,a){var s,l=n.getItem(),c=o.default.getLocalizedValue(i.label);l.hasStaticChoices()&&!l.hasStyle("externalLink")||l.hasStyle("noLink")?s=e("<div>").attr("title",a||i.seeAlso||i.value).text(o.default.getLocalizedValue(i.label).value).appendTo(t):(s=e('<a class="rdformsUrl">').attr("href",i.seeAlso||i.value).attr("title",a||i.seeAlso||i.value).text(c.value).appendTo(t),l.hasStyle("externalLink")?r.default.attachExternalLinkBehaviour(s[0],n):r.default.attachLinkBehaviour(s[0],n),null!=i.load&&i.load((function(){var e=o.default.getLocalizedValue(i.label);s.text(e.value),e.lang?s.attr("lang",e.lang):s.attr("lang",void 0)}))),c.lang&&s.attr("lang",c.lang)})))}).call(this,n(43))},function(e,t,n){var r=i(n(30)),o=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}r.default.addPresenterTable=function(e,t,n){var i=t.getItem(),a=i.getChildren(),s=(0,o.default)("<table>").addClass("rdformsGroup").appendTo(e);(0,o.default)("<thead>").appendTo(s);for(var l=(0,o.default)("<tr>").appendTo(s),c=0;c<a.length;c++){var u=(0,o.default)("<th>").appendTo(l);r.default.attachItemInfo(i,(0,o.default)("<span>").text(a[c].getLabel()).appendTo(u),n)}return s[0]},r.default.fillPresenterTable=function(e,t,n){if(0!==t.length){var i,a,s,l,c=n.view.topLevel;for(n.view.topLevel=!1,i=0;i<t.length;i++)for(s=t[i].getItemGroupedChildBindings(),l=(0,o.default)("<tr>").appendTo(e),a=0;a<s.length;a++)s[a].length>0?r.default.renderPresenter((0,o.default)("<td>").appendTo(l),s[a][0],{view:n.view,noCardinalityButtons:!0}):(0,o.default)("<td>").appendTo(l);n.view.topLevel=c}}},function(e,t,n){var r=a(n(30)),o=a(n(51)),i=a(n(74));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.presenterRegistry,l=r.default.editorRegistry,c=function(e){return function t(n,r,i){var a=r.getValue();i.inEditor&&(null!=a&&""!==a||r.setGist(o.default.generateUUID(),!0)),e.getComponentBefore(r.getItem(),t)(n,r,i)}};s.itemtype("text").style("autoUUID").register(c(s)),l.itemtype("text").style("autoUUID").register(c(l));var u=function(e){return function t(n,r,o){var i=r.getValue(),a=r.getItem();o.inEditor&&(null==i||""===i?(a.hasStyle("autoInitDate")||a.hasStyle("autoUpdateDate"))&&r.setValue((new Date).toISOString(),!0):a.hasStyle("autoUpdateDate")&&r.setValue((new Date).toISOString(),!0)),e.getComponentBefore(r.getItem(),t)(n,r,o)}},d=u(s);s.itemtype("text").datatype("xsd:date").style("autoUpdateDate").register(d),s.itemtype("text").datatype("xsd:date").style("autoInitDate").register(d),s.itemtype("text").datatype("dcterms:W3CDTF").style("autoUpdateDate").register(d),s.itemtype("text").datatype("dcterms:W3CDTF").style("autoInitDate").register(d);var f=u(l);l.itemtype("text").datatype("xsd:date").style("autoUpdateDate").register(f),l.itemtype("text").datatype("xsd:date").style("autoInitDate").register(f),l.itemtype("text").datatype("dcterms:W3CDTF").style("autoUpdateDate").register(f),l.itemtype("text").datatype("dcterms:W3CDTF").style("autoInitDate").register(f);var p=function(e){return function t(n,r,o){if(o.inEditor){var a=r.getValue(),s=r.getItem().getDeps();if((null==a||""===a)&&s){var l=i.default.findBindingRelativeToParentBinding(r.getParent(),s),c=function(e){var t=i.default.matchPathBelowBinding(l,s),n=r.getGist(),o=t?t.getValue():"";n!=o&&r.setGist(o,e)};c(!0),l.addListener((function(e){e!=r&&c()}))}}e.getComponentBefore(r.getItem(),t)(n,r,o)}};s.itemtype("text").style("autoValue").register(p(s)),l.itemtype("text").style("autoValue").register(p(l))},function(e,t,n){var r=n(117),o=n(677);(t=r(!1)).i(o),t.push([e.i,".rdformsLabelRow {\n vertical-align: top;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n padding-top: 6px;\n}\n\n.rdformsLabelRow.rdformsLabel {\n display: inline-block;\n}\n\n.compact .rdformsLabelRow.rdformsLabel {\n display: block;\n}\n\n.rdformsPresenter .rdformsRow.rdformsTopLevel {\n margin-bottom: 0.5em;\n}\n\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup\n.cardgroup>.rdformsFields>.rdformsGroup {\n padding: 2px 5px 5px 10px;\n margin-right: -5px;\n margin-bottom: 14px;\n background-color: #f7f7f9;\n border: 1px solid #e1e1e8;\n border-radius: 4px;\n}\n\n.rdforms .form-group.rdforms-upgrade {\n display: inline-block;\n width: 300px;\n margin: 0;\n}\n\n.rdforms .durationLabel:first-child {\n padding-left: 0;\n}\n\n.rdforms .durationLabel {\n padding-right: 7px;\n padding-left: 13px;\n}\n\n.rdforms .durationValue {\n width: 4em;\n}",""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(30)),o=l(n(199)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=n(200);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e,t,n){return 1===n?e["".concat(t,"_one")]:e["".concat(t,"_more")].replace("$1",n)},b=function(e){function t(){return u(this,t),f(this,h(t).apply(this,arguments))}var n,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(o=[{key:"_handleParams",value:function(e){e.showLanguage=!1!==e.showLanguage,e.filterTranslations=!1,e.styleCls=e.styleCls||"rdformsPresenter rdformsValidator",this.fuzzy=!1!==e.fuzzy,p(h(t.prototype),"_handleParams",this).call(this,e),this.binding&&(0,a.bindingReport)(this.binding)}},{key:"showNow",value:function(e,t){if(e.hasStyle("invisible"))return!1;if(t.length>0)return!0;if(e.hasStyle("deprecated"))return!1;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;var n=this.binding.getMatchingCode();if(n===i.CODES.MISSING_CONSTRAINTS||n===i.CODES.WRONG_NODETYPE)return!1;var r=e.getCardinality();switch(this.includeLevel){case"mandatory":return r&&r.min>=1;case"recommended":default:return r&&(r.min>=1||r.pref>=1)}}},{key:"showAsTable",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,r=t,o=e.getCardinality(),a=null!=o.min?o.min:0,s=null!=o.pref?o.pref:0;n=o.pref>0?o.pref:o.min>0?o.min:"propertygroup"===e.getType()?0:"group"===e.getType()&&null==e.getProperty()?1:0;var l=this.binding.getMatchingCode(),c=!(this.binding.getItem().hasStyle("atleastOneChild")||this.binding.getItem().hasStyle("atMostOneChild")||this.binding.getItem().hasStyle("disjoint")||this.binding.getItem().hasStyle("exactlyOneChild"))||l===i.CODES.TOO_FEW_VALUES_MIN||l===i.CODES.TOO_FEW_VALUES_PREF,u=l===i.CODES.MISSING_CONSTRAINTS||l===i.CODES.WRONG_NODETYPE;if(n>r.length&&c&&!u)for(r=r.concat([]);n>r.length;){var d=i.default.create(this.binding,e);r.length<a?d.setMatchingCode(i.CODES.TOO_FEW_VALUES_MIN):r.length<s&&d.setMatchingCode(i.CODES.TOO_FEW_VALUES_PREF),r.push(d)}return r}},{key:"skipBinding",value:function(){return!1}},{key:"addValidationMarker",value:function(e,t){var n,o,a=t.getItem(),s=a.getCardinality(),l=null!=s.min?s.min:0,c=null!=s.pref?s.pref:0,u="group"===a.getType()?null===(n=t.getCardinalityTracker())||void 0===n?void 0:n.getCode():void 0,d=u&&u!==i.CODES.OK&&u!==i.CODES.UNKNOWN?u:t.getMatchingCode(),f=d!==i.CODES.TOO_FEW_VALUES_PREF&&d!==i.CODES.OK,p=d===i.CODES.TOO_FEW_VALUES_PREF;if(f)return r.default.domClassToggle(e,"error",!0),d===i.CODES.TOO_FEW_VALUES_MIN?o=g(this.messages,"validation_min_required",l):d===i.CODES.TOO_MANY_VALUES?o=g(this.messages,"validation_max",s.max||1):d===i.CODES.AT_MOST_ONE_CHILD?o=this.messages.validation_at_most_one_child:d===i.CODES.AT_LEAST_ONE_CHILD?o=this.messages.validation_at_least_one_child:d===i.CODES.EXACTLY_ONE_CHILD?o=this.messages.validation_exactly_one_child:d===i.CODES.WRONG_NODETYPE?o=this.messages.validation_nodetype:d===i.CODES.WRONG_VALUE?o=this.messages.validation_value:d===i.CODES.WRONG_DATATYPE?o=this.messages.validation_datatype:d===i.CODES.MISSING_CONSTRAINTS?o=this.messages.validation_constraints:d===i.CODES.WRONG_PATTERN?o=this.messages.validation_pattern:d===i.CODES.MISSING_LANGUAGE&&(o=this.messages.validation_language),r.default.renderValidationMessage(e,"error",o),!0;if(p){r.default.domClassToggle(e,"warning",!0);var h=g(this.messages,"validation_min_recommended",c);return r.default.renderValidationMessage(e,"warning",h),!0}return!!a.hasStyle("deprecated")&&(r.default.domClassToggle(e,"deprecated",!0),r.default.renderValidationMessage(e,"deprecated",this.messages.validation_deprecated),!0)}},{key:"addComponent",value:function(e,n){p(h(t.prototype),"addComponent",this).call(this,e,n),this.addValidationMarker(e,n)}}])&&d(n.prototype,o),s&&d(n,s),t}(o.default);t.default=b},,,function(e,t,n){"use strict";n.r(t);var r=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),o=n(35);var i=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},a=n(49),s=n(50),l=n(34);var c=function(e){return"symbol"==typeof e||Object(l.a)(e)&&"[object Symbol]"==Object(s.a)(e)},u=o.a?o.a.prototype:void 0,d=u?u.toString:void 0;var f=function e(t){if("string"==typeof t)return t;if(Object(a.a)(t))return i(t,e)+"";if(c(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var p=function(e){return null==e?"":f(e)},h=/[&<>"']/g,m=RegExp(h.source);t.default=function(e){return(e=p(e))&&m.test(e)?e.replace(h,r):e}},,,,,,,,,,,function(e,t,n){var r,o;r=[n(43)],void 0===(o=function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t){"function"==typeof t[r]&&("constructor"!==r&&n.push(r))}return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},t.Decorate=function(e,t){var r=n(t),o=n(e);function i(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,o=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var a=0;a<o.length;a++){var s=o[a];i.prototype[s]=e.prototype[s]}for(var l=function(e){var n=function(){};e in i.prototype&&(n=i.prototype[e]);var r=t.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,n),r.apply(this,arguments)}},c=0;c<r.length;c++){var u=r[c];i.prototype[u]=l(u)}return i};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var o=0;o<n.length;o++){var i=n[o];(i=i.substring(0,1).toLowerCase()+i.substring(1))in r||(r[i]={}),o==n.length-1&&(r[i]=e[t]),r=r[i]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),o=n.style.overflowX,i=n.style.overflowY;return(o!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===o||"scroll"===i||(r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth))},t.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,(function(e){r=r.add(e)})),n=r}t.append(n)},t.__cache={};var o=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++o),t=o.toString())),t},t.StoreData=function(e,n,r){var o=t.GetUniqueElementId(e);t.__cache[o]||(t.__cache[o]={}),t.__cache[o][n]=r},t.GetData=function(n,r){var o=t.GetUniqueElementId(n);return r?t.__cache[o]&&null!=t.__cache[o][r]?t.__cache[o][r]:e(n).data(r):t.__cache[o]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n]},t}.apply(t,r))||(e.exports=o)},,,,,,,,,,,,,,function(e,t,n){var r=a(n(43)),o=a(n(30)),i=a(n(84));function a(e){return e&&e.__esModule?e:{default:e}}n(693),n(698),n(729),n(730),n(732),n(734),n(735),o.default.preEditorRenderer=function(e,t,n){n.$controlDiv=(0,r.default)('<div class="rdformsFieldControl">'),n.controlDiv=n.$controlDiv[0],"group"!==t.getItem().getType()&&!0!==n.noCardinalityButtons&&o.default.addRemoveButton(e,t,n)},o.default.preEditorViewRenderer=function(e,t,n){var o,a=t.getItem();if(!n.hideAddress&&(a.hasStyle("showURI")?o=(0,r.default)('<div class="rdformsField rdformsGroupURI">').text(t.getValue()):a.hasStyle("showLink")&&(o=(0,r.default)('<a class="rdformsField rdformsGroupURI rdformsUrl">').text(t.getValue()).attr("href",t.getValue()),i.default.attachExternalLinkBehaviour(o[0],t)),o)){var s=(0,r.default)('<div class="rdformsRow">').appendTo(e);n.topLevel&&s.addClass("rdformsTopLevel"),(0,r.default)('<div class="rdformsLabel">').text(n.view.messages.address_label).appendTo(s),o.appendTo((0,r.default)('<div class="rdformsFields">').appendTo(s))}},o.default.postEditorRenderer=function(e,t,n){n.$controlDiv.appendTo(e)};var s={error:"exclamation-triangle",warning:"exclamation-circle",deprecated:"question-circle"};o.default.renderValidationMessage=function(e,t,n){var r=s[t],i=o.default.domCreate("div",e);o.default.domClassToggle(i,"rdformsValidationMessageWrapper",!0);var a=o.default.domCreate("i",i);o.default.domClassToggle(a,"fas fa-".concat(r),!0);var l=o.default.domCreate("span",i);o.default.domClassToggle(l,"rdformsValidationMessage",!0),o.default.domText(l,n)}},function(e,t,n){var r=i(n(43)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}o.default.renderEditorLabel=function(e,t,n,i){if(n.hasStyle("nonEditable")||n.hasStyle("heading"))return o.default.renderPresenterLabel(e,t,n,i,!0);var a=n.getLabel();a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=(0,r.default)('<div class="rdformsLabelRow">').appendTo(e);i.labelNode=s[0];var l=(0,r.default)('<span class="rdformsLabel">').text(a).appendTo(s),c=n.getCardinality(),u=i.view.messages;c.min>0?(0,r.default)('<span class="rdformsMark rdformsMandatoryMark">').text(u.mandatoryMark).appendTo(s):c.pref>0?(0,r.default)('<span class="rdformsMark rdformsRecommendedMark">').text(u.recommendedMark).appendTo(s):(0,r.default)('<span class="rdformsMark rdformsOptionalMark">').text(u.optionalMark).appendTo(s),o.default.attachItemInfo(n,l[0],i),null!=t?i.view.showAsTable(n)||null!=c.max&&c.max===c.min||("group"===n.getType()?o.default.addGroupButtons(e,s[0],t,i):o.default.addCreateChildButton(e,s[0],t,i)):o.default.addExpandButton(e,s[0],n,i)},(0,r.default)(document).ready((function(){(0,r.default)(document.body).on("show.bs.popover click",(function(e){(0,r.default)('[data-toggle="popover"]').each((function(t,n){e.target.innerHTML!==n.innerHTML&&(0,r.default)(n).popover("hide")}))}))})),o.default.attachItemInfo=function(e,t){if(null==e||null==e.getProperty()&&null==e.getDescription())(0,r.default)(t).addClass("noPointer");else{var n=e.getDescription()||"",i="";e.getProperty()&&(i='<div class="property"><a target="_blank" href="'.concat(e.getProperty(),'">').concat(e.getProperty(),"</a></div>"));var a=e.getLabel();a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s={html:!0,container:o.default.getPopoverContainer(),placement:"auto",trigger:"click focus",title:a,content:'<div class="description">'.concat(n.replace(/(\r\n|\r|\n)/g,"<br/>"),"</div>").concat(i)};(0,r.default)(t).popover(s).attr("data-toggle","popover")}}},function(e,t,n){(function(e){var t=a(n(83)),r=a(n(731)),o=a(n(30)),i=a(n(51));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.editorRegistry;s.itemtype("text").datatype("xsd:duration").register(r.default);var l=function(e,t,n,r){var o=null,i=function(){o=null;var i=e.val(),a=!0;n&&!n.test(i)||(t.setGist(i),r&&i&&(r.prop("href",t.getValue()),a=!1)),r&&r.toggleClass("rdformsExtLinkDisabled",a),e.toggleClass("rdformsEmpty",""===i)};e.on("keyup paste",(function(){null!=o&&clearTimeout(o),o=setTimeout(i,200)}))},c=function(t,n){var r=new RegExp(t);s.itemtype("text").datatype(n).register((function(n,i,a){var s=e('<input type="text" class="form-control rdformsFieldInput">');if(s.val(i.getGist()).attr("pattern",t).appendTo(n),i.getItem().hasStyle("externalLink")){var c=e('<a class="fas fa-external-link-alt rdformsExtLink '.concat(o.default.getExtLinkClass(),'" target="_blank">'));c.appendTo(a.controlDiv),e(n).addClass("rdformsExtLinkControl"),l(s,i,r,c),s.keyup()}else l(s,i,r);i.getItem().isEnabled()||s.prop("disabled",!0)}))};c("^-?\\d+$","xsd:integer"),c("^(\\d+(\\.\\d+)?)$","xsd:decimal"),s.itemtype("text").register((function(n,r,a){var s,c=r.getItem();if(c.hasStyle("multiline")){var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:70,n=e.split("\n").length;return n+=Number.parseInt(e.length/t,10)}(r.getGist());(s=e('<textarea class="form-control rdformsFieldInput autoExpand" rows="'.concat(u,'">'))).on("input focus",(function(){if(void 0===this.baseScrollHeight){var e=s.height();this.baseScrollHeight=s.innerHeight()-e,this.baseLineHeight=e/u}this.rows=1;var t=1+Math.ceil((this.scrollHeight-this.baseScrollHeight)/this.baseLineHeight);this.rows=t}))}else s=c.hasStyle("email")?e('<input type="email" class="form-control rdformsFieldInput">'):e('<input type="text" class="form-control rdformsFieldInput">');s.val(r.getGist()).appendTo(n);var d=c.getPattern(),f=null;if(null!=d&&(s.attr("pattern",d),f=new RegExp(d)),c.hasStyle("externalLink")){var p=e('<a class="fas fa-external-link-alt rdformsExtLink '.concat(o.default.getExtLinkClass(),'" target="_blank">'));p.appendTo(a.controlDiv),e(n).addClass("rdformsExtLinkControl"),l(s,r,f,p),s.keyup()}else l(s,r,f);var h=c.getNodetype();if("LANGUAGE_LITERAL"===h||"PLAIN_LITERAL"===h){e(n).addClass("rdformsLangcontrolledfield"),e(a.controlDiv).addClass("rdformsLangFieldControl");var m=e('<select class="form-control rdformsLanguage">').appendTo(a.controlDiv),g=o.default.getPrimaryLanguageList(),b=o.default.getNonPrimaryLanguageList();if(b=i.default.cloneArrayWithLabels(b),0===g.length||((g=i.default.cloneArrayWithLabels(g,!0)).forEach((function(t){e("<option>").html(t.label).val(t.value).appendTo(m)})),e("<option>").html("─────").attr("disabled","disabled").appendTo(m)),b.forEach((function(t){e("<option>").html(t.label).val(t.value).appendTo(m)})),r.isValid())m.val(r.getLanguage());else{var v=t.default.locale();"string"==typeof v&&""!==v&&(m.val(v),r.setLanguage(v))}m.val(r.getLanguage()).change((function(){r.setLanguage(m.val())})),a.clear=function(){m.val(""),s.val("")}}else a.clear=function(){s.val("")}}))}).call(this,n(43))},function(e,t,n){(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(675),o=0;t.default=function(t,n,i){var a=i.view.messages,s=(0,r.fromDuration)(n.getValue()),l=e("<div>").addClass("rdformsDuration rdformsFieldInput").appendTo(t),c=function(){l.empty(),["years","months","days","hours","minutes"].forEach((function(t){var i=e("<div>").appendTo(l),c=e("<div>").addClass("input-group").appendTo(i),u="duration_".concat(o);o+=1,e("<span>").addClass("input-group-addon").attr("id",u).text(a["duration_".concat(t)]).appendTo(c);var d=e("<input>").addClass("form-control").attr("type","number").attr("aria-describedby",u).appendTo(c);s[t]&&d.val(s[t]),d.change((function(){s[t]=e(this).val(),n.setValue((0,r.toDuration)(s))}))}))};c(),i.clear=function(){s={},c()}}}).call(this,n(43))},function(e,t,n){(function(e){var t=i(n(30)),r=i(n(84)),o=i(n(733));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.default.editorRegistry;a.itemtype("choice").choices().check((function(e){var t=e.getChoices();return!(e.getHierarchyProperty()||e.hasStyle("tree"))&&1===e.getCardinality().max&&!e.hasStyle("dropDown")&&(null!=t&&t.length<5||e.hasStyle("verticalRadioButtons")||e.hasStyle("horizontalRadioButtons"))})).register((function(e,t,n){new o.default({binding:t,context:n},e)})),a.itemtype("choice").choices().register((function(e,n,r){var o=n.getItem(),i=o.getChoices().map((function(e){return{id:e.value,text:o._getLocalizedValue(e.label).value,choice:e}}));o.hasStyle("preserveOrderOfChoices")||i.sort((function(e,t){return e.text<t.text?-1:1})),r.choices=i,t.default.renderSelect(e,n,r);var a=r.setValue,s=n.getChoice();s&&(null!=s.load?s.load((function(){a(s)})):a(s))})),a.itemtype("choice").choices("none").register((function(n,o,i){i.chooser=t.default.chooserRegistry.getComponent(o.getItem()),i.choices=void 0;var a=function(){t.default.renderSelect(n,o,i);var a=i.setValue,s=e('<button class="btn btn-primary bmd-btn-fab bmd-btn-fab-sm browseChoices" type="button">').attr("title",i.view.messages.edit_browse).appendTo(n);if(i.chooser&&i.chooser.supportsInlineCreate&&i.chooser.supportsInlineCreate(o)){var l=e('<span class="fa-stack">').appendTo(s);e('<span class="fas fa-search fa-stack-1x" aria-hidden="true">').appendTo(l),e('<span class="fas fa-plus fa-stack-1x" aria-hidden="true">').appendTo(l)}else e('<span class="fas fa-search" aria-hidden="true">').appendTo(s);var c=function(e){e?(o.setChoice(e),null!=e.load?e.load((function(){a(e)})):a(e)):o.setChoice(null)};i.chooser&&"function"==typeof i.chooser.show?s.click((function(){t.default.openChoiceSelector(o,c)})):s.addClass("disabled"),r.default.hasDnDSupport(o)&&r.default.addDnD(o,cNode,c)},s=o.getChoice();if(s)if(null!=s.load){var l=e('<div class="form-group rdforms-upgrade">').appendTo(n);e('<input type="text" disabled class="form-control rdformsFieldInput">').val(s.value).appendTo(l),s.load((function(){if(s.upgrade){var t=e('<button class="btn btn-default bmd-btn-fab bmd-btn-fab-sm browseChoices" type="button">').attr("title",i.view.messages.edit_upgrade).click((function(){s.upgrade(o,(function(e){l.remove(),t.remove(),a(),i.setValue(e),o.setChoice(e)}))})).insertAfter(l);e('<span class="fas fa-magic" aria-hidden="true">').appendTo(t)}else l.remove(),a(),i.setValue(s)}))}else a(),i.setValue(s);else a()}))}).call(this,n(43))},function(e,t,n){(function(e){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=0,o=function(){function t(e,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.binding=e.binding,this.item=this.binding.getItem(),this.choices=this.item.getChoices().map((function(e){return{label:e.label,description:e.description,value:e.value,text:r.item._getLocalizedValue(e.label).value,choice:e}})),this.item.hasStyle("preserveOrderOfChoices")||this.choices.sort((function(e,t){return e.text<t.text?-1:1})),this.choice=this.binding.getChoice(),this.context=e.context,this.context.clear=this.clear.bind(this),this.domNode=n,this.buildRendering()}var o,i,a;return o=t,(i=[{key:"clear",value:function(){e(this.domNode).find("input").prop("checked",!1)}},{key:"buildRendering",value:function(){var t=this;null!=this.choice&&this.choice.mismatch&&this.choices.push(this.choice);for(var n=this.binding.getValue(),o=function(o){var i=t.choices[o],a=void 0,s=e('<div class="radio form-check">').appendTo(t.domNode);a=t.item.hasStyle("verticalRadioButtons")?e("<label>").appendTo(s):e('<label class="form-check-label">').appendTo(s),i.description&&a.attr("title",t.item._getLocalizedValue(i.description).value||i.seeAlso||i.value);var l=e('<input type="radio">').val(i.value).attr("checked",i.value===n).attr("name","rdformsRadio_".concat(r)).appendTo(a);a.append(t.item._getLocalizedValue(i.label).value),i.mismatch?(a.addClass("mismatch disabled"),l.attr("disabled",!0)):a.click((function(e){t.binding.setValue(l.val())}))},i=0;i<this.choices.length;i++)o(i);r+=1}}])&&n(o.prototype,i),a&&n(o,a),t}();t.default=o}).call(this,n(43))},function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o=(r=n(30))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==t(e)&&"function"!=typeof e)return{default:e};var n=a();if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(74));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}o.default.addRemoveButton=function(t,n,r){var o=e('<span class="fas fa-times action">').attr("title",r.view.messages.edit_remove).appendTo(r.controlDiv),i=n.getCardinalityTracker(),a=i.addListener((function(){}));o.click((function(){if(!i.isMin()||!i.isDepsOk()||1===i.getCardinality())if(1===i.getCardinality()){"choice"===n.getItem().getType()?n.setChoice(null):n.setValue("");var s=n.getItem().getNodetype();"LANGUAGE_LITERAL"!==s&&"PLAIN_LITERAL"!==s||n.setLanguage(""),r.clear?r.clear():e(t).find("input").val("")}else i.removeListener(a),o.unbind("click"),n.remove(),e(t).remove()}))},o.default.addExpandButton=function(t,n,r,a){var s=e('<span class="fas fa-plus action">').attr("title",a.view.messages.edit_expand).appendTo(n).click((function(){var e=i.create(a.view.binding,r);if(a.view.showAsTable(r)){var l=a.view.addTable(t,e,r);a.view.fillTable(l,[e])}else a.view.addRow(t,e,!1),o.default.addGroupButtons(t,n,e,a);s.unbind("click").remove()}))},o.default.addGroupButtons=function(t,n,r,o){var a,s=r.getParent(),l=r.getItem(),c=r.getCardinalityTracker(),u=l.getCardinality();1!==u.max&&(a=e('<span class="action fas fa-plus ">').attr("title",o.view.messages.edit_add).appendTo(n)).click((function(){if(!c.isMax()){var e=i.create(s,l);o.view.addRow(t,e)}}));var d=e('<span class="action fas fa-times">').attr("title",o.view.messages.edit_remove).appendTo(n);1===u.max&&d.addClass("indentRemove");var f=c.addListener((function(){a&&a.toggleClass("disabled",c.isMax()),d.toggleClass("disabled",c.isMin()&&c.isDepsOk())}));d.click((function(){if(!c.isMin()||!c.isDepsOk())if(o.clear&&o.clear(),1===c.getCardinality()){if(c.removeListener(f),a&&a.unbind("click"),d.unbind("click"),r.remove(),o.view.showNow(l,[])){var n=o.view.prepareBindings(l,[]);n.length>0&&o.view.addRow(t,n[0])}e(t).remove()}else c.removeListener(f),a&&a.unbind("click"),d.unbind("click"),r.remove(),e(t).remove()}))},o.default.addCreateChildButton=function(t,n,r,o){var a=r.getParent(),s=r.getItem(),l=r.getCardinalityTracker(),c=e('<span class="action fas fa-plus">').attr("title",o.view.messages.edit_add).appendTo(n).click((function(){if(!l.isMax()){var e=i.create(a,s);o.view.addRow(t,e)}}));l.addListener((function(){c.toggleClass("disabled",l.isMax())}))}}).call(this,n(43))},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=c(n(30)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=c(n(51)),s=c(n(43));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}var u=function e(t,n,r){var a=n.getItem().getChildren(),l=n.getItemGroupedChildBindings(),c=(0,s.default)("<tr>").appendTo(t);if(l.forEach((function(e,t){0!==e.length||a[t].hasStyle("nonEditable")||i.create(n,a[t])})),l.forEach((function(e){e.length>0&&o.default.renderEditor((0,s.default)("<td>").appendTo(c)[0],e[0],{view:r.view,noCardinalityButtons:!0})})),!n.getItem().hasStyle("firstcolumnfixedtable")){var u=(0,s.default)("<td>").addClass("rdformsTableControl").appendTo(c),d=(0,s.default)("<span>").addClass("action editDelete").attr("title",r.view.messages.edit_remove).appendTo(u),f=n.getCardinalityTracker(),p=f.addListener((function(){d.toggleClass("disabled",f.isMin())}));d.click((function(){if(!f.isMin()){if(1===f.getCardinality()){var o=n.getParent(),a=n.getItem(),s=i.create(o,a);e(t,s,r)}f.removeListener(p),removeConnect.remove(),n.remove(),c.remove()}}))}};o.default.addEditorTable=function(e,t,n){var r=t.getItem(),a=r.getChildren(),l=(0,s.default)("<table>").appendTo(e);(0,s.default)(l).addClass("rdformsGroup");var c=(0,s.default)("<thead>").appendTo(l),d=(0,s.default)("<tbody>").appendTo(l),f=(0,s.default)("<tr>").appendTo(c);for(colInd=0;colInd<a.length;colInd++){var p=(0,s.default)("<th>").appendTo(f);(0,s.default)(p).addClass("rdformsColumnHeader".concat(colInd)),o.default.attachItemInfo(r,(0,s.default)("<span>").text(a[colInd].getLabel()).appendTo(p)[0],n)}if(!t.getItem().hasStyle("firstcolumnfixedtable")){var h=(0,s.default)("<th>").addClass("rdformsTableControl").appendTo(f),m=t.getParent(),g=t.getCardinalityTracker(),b=(0,s.default)("<span>").addClass("action editAdd").attr("title",n.view.messages.edit_add).appendTo(h).click((function(){if(!g.isMax()){var e=i.create(m,r);u(d[0],e,n)}}));g.addListener((function(){b.toggleClass("disabled",g.isMax())}))}return d},o.default.fillEditorTable=function(e,t,n){var r=t;if(0!==r.length){var s=r[0].getItem();if(s.hasStyle("nonEditable"))return o.default.renderEditor(e,r,n);s.hasStyle("firstcolumnfixedtable")&&(r=function(e){var t=[],n=e[0].getItem(),r=n.getChildren()[0],o=r.getChoices();(o=a.default.cloneArrayWithLabels(o)).sort((function(e,t){return e.label>t.label?1:e.label<t.label?-1:0}));var s={};(e||[]).forEach((function(e){var t=e.getItemGroupedChildBindings();if(t.length>0&&t[0].length>0){var n=t[0][0];s[n.getValue()]=e}}));var l=e[0].getParent();return(o||[]).forEach((function(e){if(null!=s[e.value])t.push(s[e.value]);else{var o=i.create(l,n),a=i.create(o,r);a.setExcludeFromTreeValidityCheck(!0),a.setAncestorValid(!1),a.setChoice(e),t.push(o)}})),t}(r)),r.forEach((function(t){u(e,t,n)}))}}},function(e,t,n){(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(83)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function t(e,n){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.binding=e.binding,this.context=e.context,this.item=this.binding.getItem(),this.allowedOptions=(r=this.item,o={},i=r.getDatatype(),(Array.isArray(i)?i:[i]).forEach((function(e){var t=function(e){switch(e){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"Datetime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";default:return}}(e);t&&(o[t]=!0)})),o),this._date=null,this._valid=!1,this._excludeTime=!0,this.domNode=n,this.buildUI(),this.initDatePicker(),this.initialize()}var n,o,i;return n=t,(o=[{key:"includeDateOption",value:function(){return this.allowedOptions.Date}},{key:"includeDateTimeOption",value:function(){return this.allowedOptions.Datetime}},{key:"includeYearOption",value:function(){return this.allowedOptions.Year}},{key:"buildUI",value:function(){}},{key:"initDatePicker",value:function(){}},{key:"initialize",value:function(){var t=this;this.$timeInput=e(this.timeInput).attr("pattern","^([0-1][0-9]|2[0-3]):[0-5][0-9]$").change((function(){var e=t.$timeInput.val();if("function"==typeof t.$timeInput[0].checkValidity){if(!t.$timeInput[0].checkValidity())return}else if(new RegExp("^([0-1][0-9]|2[0-3]):[0-5][0-9]$").test(e))return;t._date.setHours(parseInt(e.substr(0,2),10),parseInt(e.substr(3,2),10)),t.binding.setValue(t._date.toISOString())})),this.$yearInput=e(this.yearInput).attr("pattern","^-?[0-9][0-9][0-9][0-9]$").change((function(){var e=t.$yearInput.val();t._date.setYear(parseInt(e,10)),t.binding.setValue(e)})),this.$dateControl=e(this.dateControl).change((function(){var e=t.$dateControl.val();t["_show".concat(e)]()})),this._binding2Gui()}},{key:"setDateInPicker",value:function(){}},{key:"setDateInBinding",value:function(e){this._valid=!0,this._date.setFullYear(e.getFullYear(),e.getMonth(),e.getDate());var t=(0,r.default)(e).toISOString();this._excludeTime?this.binding.setValue(t.substring(0,t.indexOf("T"))):(this.binding.setValue(t),this.$timeInput.prop("disabled",!1))}},{key:"clear",value:function(){this._valid=!1,e(this.domNode).find("input").val("")}},{key:"_binding2Gui",value:function(){this._firstTime=!0;var e=this.binding.getValue();this._valid=null!=e&&""!==e,this._valid&&(this._date=new Date(e),this._valid=null!=this._date),this._date=this._date||new Date("2000"),this._valid?/^\d{4}$/.test(e)?(this.$dateControl.val("Year"),this._showYear()):/T/.test(e)&&-1===e.indexOf("T00:00:00")?(this.$dateControl.val("DateTime"),this._showDateTime()):(this.$dateControl.val("Date"),this._showDate()):this._showDate(),this._firstTime=!1}},{key:"_showDate",value:function(){if(this._excludeTime=!0,this.$yearInput.parent().hide(),this.$timeInput.parent().hide(),this.$datepicker.parent().show(),this._valid){this.setDateInPicker(this._date);var e=this._date.toISOString();this._firstTime||(this.binding.setValue(e.substring(0,e.indexOf("T"))),this.binding.setDatatype("xsd:date"))}else this.setDateInPicker(null)}},{key:"_showDateTime",value:function(){if(this._excludeTime=!1,this.$yearInput.parent().hide(),this.$timeInput.parent().show(),this.$datepicker.parent().show(),this._valid){if(0!==this._date.getHours()||0!==this._date.getMinutes()){var e=this._date.getHours();e=e<=9?"0".concat(e):e;var t=this._date.getMinutes();t=t<=9?"0".concat(t):t,this.$timeInput.val("".concat(e,":").concat(t))}else this.$timeInput.val("");this.setDateInPicker(this._date),this._firstTime||(this.binding.setValue(this._date.toISOString()),this.binding.setDatatype("xsd:dateTime"))}else this.setDateInPicker(null),this.$timeInput.val("")}},{key:"_showYear",value:function(){this.$yearInput.parent().show(),this.$timeInput.parent().hide(),this.$datepicker.parent().hide(),this._valid?(this.$yearInput.val(this._date.getFullYear()),this._firstTime||(this.binding.setValue("".concat(this._date.getFullYear())),this.binding.setDatatype("xsd:gYear"))):this.$yearInput.val("")}},{key:"_setValueAttr",value:function(e){this.binding.setValue(e)}}])&&a(n.prototype,o),i&&a(n,i),t}();t.default=s,s.register=function(t){var n=function(n,r,o){var i=new t({messages:o.view.messages,binding:r,context:o},e("<div>").appendTo(n)[0]);o.clear=function(){i.clear()}},r=o.default.editorRegistry;r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#date").register(n),r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#dateTime").register(n),r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#gYear").register(n),r.itemtype("text").datatype("http://purl.org/dc/terms/W3CDTF").register(n)}}).call(this,n(43))},function(e,t,n){var r=n(117),o=n(699);(t=r(!1)).i(o),t.push([e.i,".test-class {\n color: red !important;\n}\n\n.test-class2 {\n color: green !important;\n}\n\n.rdformsEditor .rdformsRow.rdformsTopLevel {\n margin-bottom: 1em;\n}\n\n.input-group-btn > .form-control {\n margin-left: -1px;\n width: auto;\n}\n\n.rdformsEditor .rdformsField .rdformsLanguage {\n width: 117px;\n float: none;\n}\n\n.rdformsEditor .rdformsField .rdformsLangFieldControl {\n width: 146px;\n}\n\n.rdformsDateValue .form-control:invalid,\n.rdformsFieldInput:invalid {\n /* insert your own styles for invalid form input */\n background-color: lightcoral;\n}\n\n.rdformsDateValue .rdformsDatepicker {\n width: 12em;\n display: inline-block;\n}\n\n.rdformsDateValue .yearInput,\n.rdformsDateValue .timeInput {\n width: 6em;\n display: inline-block;\n vertical-align: top;\n}\n\n.rdformsDateValue .input {\n padding-right: 15px;\n}\n\n.rdformsDateValue .dateControl {\n width: 10em;\n display: inline-block;\n margin-right: 1em;\n vertical-align: top;\n}\n\n.rdformsDateValue .fas {\n line-height: 21px;\n}\n\n.rdformsDuration>div {\n width: 10em;\n display: inline-block;\n margin-right: 10px;\n}\n\n.rdformsEditor .rdformsDuration>div {\n margin-bottom: 10px;\n margin-right: 40px;\n}\n\n.rdformsEditor .rdformsDuration>div .input-group-addon {\n margin-right: 10px;\n margin-top: 7px;\n min-width: 60px;\n}\n\n.popover strong {\n color: #808080;\n}\n\n.popover a {\n color: #808080;\n}\n.popover .property {\n margin-top: 1em;\n font-size: small;\n}\n\n.popover .property>a {\n word-wrap: break-word;\n}\n\n.popover .description {\n max-width: 300px;\n font-size: small;\n}\n\n.rdformsFieldControl>.fa.action {\n float: right;\n position: initial;\n margin-top: 8px;\n}\n\n.fa.action.disabled {\n cursor: default;\n}\n\n.rdformsEditor .rdformsFieldControl {\n height: 3em;\n top: 0px;\n}\n\n.rdformsLabelRow>.action.fas {\n vertical-align: middle;\n}\n\n.rdformsLabelRow>.action.indentRemove.fa-times,\n.rdformsLabelRow>.action.fa-plus {\n margin-left: 1em;\n}\n\n.input-group-btn .fas {\n line-height: 20px;\n}\n\n.rdformsField>.select2,\n.rdformsField>.select2-container { /* select2-container is for backwards compatability*/\n min-width: 12em;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow {\n padding-top: 6px;\n}\n\n.rdformsEditor .rdformsField.rdformsLangcontrolledfield {\n padding-right: 152px;\n}\n.rdformsEditor .rdformsField {\n min-height: 34px;\n padding-right: 28px;\n}\n\n.rdformsEditor .systemChoice.input-group {\n max-width: 22em;\n}\n\n.rdformsEditor .browseChoices {\n margin-left: 4px;\n height: calc(1.5em + .75rem + 2px);\n}\n\n.browseChoices .fa-search.fa-stack-1x {\n top: -2px;\n left: -13px;\n font-size: 20px;\n}\n\n.browseChoices .fa-plus.fa-stack-1x {\n top: -11px;\n left: -2px;\n font-size: 11px;\n}\n\n.rdformsDateValue.rdformsDatepicker {\n display: inline-block;\n}\n\n.rdformsDateValue.rdformsDatepicker>.input-group {\n width: 150px;\n}\n\n/* Autoexpand style */\n.rdforms .rdformsFields textarea.form-control {\n display: block;\n box-sizing: padding-box;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.rdforms .rdformsFields textarea.form-control {\n min-height: 38px;\n max-height: 200px;\n line-height: 1.5;\n}\n\n.rdforms .rdformsFields textarea.form-control.rdformsEmpty {\n height: 38px;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 11px;\n float: left;\n margin-left: 17px;\n}\n\n\n/* Test */\n.rdformsEditor .rdformsFieldControl .action {\n float: right;\n}\n\n.rdforms .action {\n margin-top: 7px;\n}\n\n.rdformsEditor .rdformsFieldControl>.action,\n.rdformsEditor .rdformsLangFieldControl>.action {\n margin-top: 11px;\n}\n\n.rdformsEditor .form-check {\n padding-left: 0;\n}\n\n.rdformsField .radio.form-check input {\n margin-right: 8px;\n}\n\n.rdformsEditor .select2-container .select2-selection--single .select2-selection__rendered {\n padding-left: 0;\n}\n\n.rdformsEditor .select2-container .select2-selection--single {\n padding: .275rem .75rem;\n height: calc(1.5em + .75rem + 2px);\n}\n\n.rdformsEditor .select2-container--default .select2-selection--single .select2-selection__arrow {\n top: 6px;\n}\n\n.rdformsEditor .select2-container--default .select2-selection--single {\n border: 1px solid #ced4da;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n margin-left: -22px;\n}",""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(678)),o=a(n(30)),i=a(n(43));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n instanceof Node?this.domNode=n:this.domNode="string"==typeof n?document.getElementById(n):document.createElement("div"),this.template=t.template,this.resource=t.resource,this.graph=t.graph,this.compact=void 0===t.compact||t.compact,this.includeLevel=t.includeLevel||"mandatory",this.includeLevelControllsVisible=void 0===t.includeLevelControllsVisible||t.includeLevelControllsVisible,this.externalEditor=void 0!==t.externalEditor&&t.externalEditor,this.messages=t.messages,this.render()}var t,n,a;return t=e,(n=[{key:"render",value:function(){this.domNode.innerHTML='<div class="cardinality" style="display: none;">\n <div class="btn-group" role="group">\n <button type="button" class="btn btn-secondary btn-lg active mandatory">Mandatory</button>\n <button type="button" class="btn btn-secondary btn-lg active recommended">Recommended</button>\n <button type="button" class="btn btn-secondary btn-lg optional">Optional</button>\n </div>\n <div class="rdformsLevelNode"></div>',this._cardinalityNode=(0,i.default)(this.domNode).find(".cardinality")[0],this._mandatoryButton=(0,i.default)(this.domNode).find(".mandatory").click(this._mandatoryClick.bind(this))[0],this._recommendedButton=(0,i.default)(this.domNode).find(".recommended").click(this._recommendedClick.bind(this))[0],this._optionalButton=(0,i.default)(this.domNode).find(".optional").click(this._optionalClick.bind(this))[0],this._rdformsNode=(0,i.default)(this.domNode).find(".rdformsLevelNode")[0],this.includeLevelControllsVisible&&(this._cardinalityNode.style.display=""),this.setIncludeLevel(this.includeLevel),this.externalEditor||(this._editor=new r.default({includeLevel:this.includeLevel,compact:this.compact},this._rdformsNode),this.show())}},{key:"show",value:function(e,t,n){this.resource=e||this.resource,this.graph=t||this.graph,this.template=n||this.template,this._editor&&this._editor.show({resource:this.resource,graph:this.graph,template:this.template,includeLevel:this.includeLevel}),this.localize()}},{key:"setIncludeLevel",value:function(e){if(null==this._editor||this._editor.getIncludeLevel()!==e)switch(this.includeLevel=e,e){case"mandatory":this._mandatoryClick();break;case"recommended":this._recommendedClick();break;case"optional":this._optionalClick()}}},{key:"disableLevel",value:function(e){switch(e){case"mandatory":this._mandatoryLabel.setAttribute("disabled",!0);break;case"recommended":this._recommendedLabel.setAttribute("disabled",!0);break;case"optional":this._optionalLabel.setAttribute("disabled",!0)}}},{key:"localize",value:function(){var e=o.default.getMessages();o.default.domText(this._mandatoryButton,e.mandatoryLabel),o.default.domText(this._recommendedButton,e.recommendedLabel),o.default.domText(this._optionalButton,e.optionalLabel)}},{key:"setExternalEditor",value:function(e){e.getIncludeLevel()!==this.includeLevel&&e.setIncludeLevel(this.includeLevel),this._editor=e,this.show()}},{key:"_mandatoryClick",value:function(e){this._mandatoryButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!1),o.default.domClassToggle(this._optionalButton,"active",!1),this._updateEditor("mandatory")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_recommendedClick",value:function(e){this._recommendedButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!0),o.default.domClassToggle(this._optionalButton,"active",!1),this._updateEditor("recommended")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_optionalClick",value:function(e){this._optionalButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!0),o.default.domClassToggle(this._optionalButton,"active",!0),this._updateEditor("optional")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_updateEditor",value:function(e){this._editor&&this._editor.setIncludeLevel(e)}}])&&s(t.prototype,n),a&&s(t,a),e}();t.default=l},,,,,,,function(e,t,n){var r,o;r=[n(781),n(714),n(43)],void 0===(o=function(e,t,n){function r(e,t){var n=t.get("data")||[];r.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(r,e),r.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var r=this,o=this.$element.find("option"),i=o.map((function(){return r.item(n(this)).id})).get(),a=[];function s(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,i)>=0){var u=o.filter(s(c)),d=this.item(u),f=n.extend(!0,{},c,d),p=this.option(f);u.replaceWith(p)}else{var h=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(h,m)}a.push(h)}}return a},r}.apply(t,r))||(e.exports=o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bundleLoader",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"ItemStore",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Editor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Presenter",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"renderingContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ValidationPresenter",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"LevelEditor",{enumerable:!0,get:function(){return c.default}}),n(287),n(496);var r=u(n(497)),o=u(n(498));n(778);var i=u(n(678)),a=u(n(199)),s=u(n(30)),l=u(n(700)),c=u(n(738));function u(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){n(779),n(728),n(780),n(785),n(787),n(788),n(789),n(791),n(793),n(795)},function(e,t,n){var r,o,i,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
57
+ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(261),i=r=function(e){r.ns={RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"},r.nodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},this.frameFactory=function(e,t,n){return{NODE:1,ARC:2,parent:t,parser:e,store:e.store,element:n,lastChild:0,base:null,lang:null,node:null,nodeType:null,listIndex:1,rdfid:null,datatype:null,collection:!1,terminateFrame:function(){this.collection&&this.node.close()},addSymbol:function(e,t){t=(0,o.join)(t,this.base),this.node=this.store.sym(t),this.nodeType=e},loadTriple:function(){if(this.parent.parent.collection?this.parent.parent.node.append(this.node):this.store.add(this.parent.parent.node,this.parent.node,this.node,this.parser.why),null!=this.parent.rdfid){var e=this.store.sym((0,o.join)("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(r.ns.RDF+"type"),this.store.sym(r.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"object"),this.node,this.parser.why)}},isTripleToLoad:function(){return null!=this.parent&&null!=this.parent.parent&&this.nodeType==this.NODE&&this.parent.nodeType==this.ARC&&this.parent.parent.nodeType==this.NODE},addNode:function(e){this.addSymbol(this.NODE,e),this.isTripleToLoad()&&this.loadTriple()},addCollection:function(){this.nodeType=this.NODE,this.node=this.store.collection(),this.collection=!0,this.isTripleToLoad()&&this.loadTriple()},addCollectionArc:function(){this.nodeType=this.ARC},addBNode:function(e){null!=e?null!=this.parser.bnodes[e]?this.node=this.parser.bnodes[e]:this.node=this.parser.bnodes[e]=this.store.bnode():this.node=this.store.bnode(),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()},addArc:function(e){e==r.ns.RDF+"li"&&(e=r.ns.RDF+"_"+this.parent.listIndex++),this.addSymbol(this.ARC,e)},addLiteral:function(e){this.parent.datatype?this.node=this.store.literal(e,"",this.store.sym(this.parent.datatype)):this.node=this.store.literal(e,this.lang),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()}}},this.store=e,this.bnodes={},this.why=null,this.reify=!1,this.parse=function(e,t,n){var o,i=e.childNodes;if(this.cleanParser(),e.nodeType==r.nodeType.DOCUMENT){for(var a=0;a<i.length;a++)if(i[a].nodeType==r.nodeType.ELEMENT){o=i[a];break}}else{if(e.nodeType!=r.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+t+". Halting. ");o=e}this.why=n;var s=this.frameFactory(this);return s.base=t,s.lang="",this.parseDOM(this.buildFrame(s,o)),!0},this.parseDOM=function(e){for(var t=function(e){return e.namespaceURI+e.localName},n=!0;e.parent;){var i,a,s=e.element,l=s.attributes;if(s.nodeType==r.nodeType.TEXT||s.nodeType==r.nodeType.CDATA_SECTION)e.addLiteral(s.nodeValue);else if(t(s)!=r.ns.RDF+"RDF")if(e.parent&&e.parent.collection&&(e.addCollectionArc(),(e=this.buildFrame(e,e.element)).parent.element=null),e.parent&&e.parent.nodeType&&e.parent.nodeType!=e.ARC){e.addArc(t(s)),this.reify&&(i=s.getAttributeNodeNS(r.ns.RDF,"ID"))&&(e.rdfid=i.nodeValue,s.removeAttributeNode(i));var c=s.getAttributeNodeNS(r.ns.RDF,"parseType"),u=s.getAttributeNodeNS(r.ns.RDF,"datatype");if(u&&(e.datatype=u.nodeValue,s.removeAttributeNode(u)),c){var d=c.nodeValue;"Literal"==d?(e.datatype=r.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(s),n=!1):"Resource"==d?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"==d&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),s.removeAttributeNode(c)}if(0!=l.length){var f=s.getAttributeNodeNS(r.ns.RDF,"resource");for(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"),e=this.buildFrame(e),f?(e.addNode(f.nodeValue),s.removeAttributeNode(f)):a?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode(),g=l.length-1;g>=0;g--){var p=this.buildFrame(e);p.addArc(t(l[g])),t(l[g])==r.ns.RDF+"type"?this.buildFrame(p).addNode(l[g].nodeValue):this.buildFrame(p).addLiteral(l[g].nodeValue)}}else 0==s.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var h=s.getAttributeNodeNS(r.ns.RDF,"about");if(i=s.getAttributeNodeNS(r.ns.RDF,"ID"),h&&i)throw new Error("RDFParser: "+s.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");null==h&&i?(e.addNode("#"+i.nodeValue),s.removeAttributeNode(i)):null==h&&null==i?(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"))?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode():(e.addNode(h.nodeValue),s.removeAttributeNode(h));var m=s.getAttributeNodeNS(r.ns.RDF,"type");r.ns.RDF+"Description"!=t(s)&&(m={nodeValue:t(s)}),null!=m&&(this.store.add(e.node,this.store.sym(r.ns.RDF+"type"),this.store.sym((0,o.join)(m.nodeValue,e.base)),this.why),m.nodeName&&s.removeAttributeNode(m));for(var g=l.length-1;g>=0;g--)this.store.add(e.node,this.store.sym(t(l[g])),this.store.literal(l[g].nodeValue,e.lang),this.why)}for(s=e.element;e.parent;){for(var b=e;null==s;)s=(e=e.parent).element;var v=s.childNodes,y=null!=v?v[e.lastChild]:null;if(null!=y&&n){if((y.nodeType==r.nodeType.ELEMENT||y.nodeType==r.nodeType.TEXT||y.nodeType==r.nodeType.CDATA_SECTION)&&(y.nodeType!=r.nodeType.TEXT&&y.nodeType!=r.nodeType.CDATA_SECTION||1==s.childNodes.length)){e.lastChild++,e=this.buildFrame(b,s.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;s=e.element,n=!0}}}},this.cleanParser=function(){this.bnodes={},this.why=null},this.buildFrame=function(e,t){var n=this.frameFactory(this,e,t);if(e&&(n.base=e.base,n.lang=e.lang),null==t||t.nodeType==r.nodeType.TEXT||t.nodeType==r.nodeType.CDATA_SECTION)return n;var o=t.attributes,i=t.getAttributeNode("xml:base");null!=i&&(n.base=i.nodeValue,t.removeAttribute("xml:base"));var a=t.getAttributeNode("xml:lang");null!=a&&(n.lang=a.nodeValue,t.removeAttribute("xml:lang"));for(var s=o.length-1;s>=0;s--)"xml"==o[s].nodeName.substr(0,3)&&t.removeAttributeNode(o[s]);return n}};t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.RDFLiteral=t.RDFBlankNode=t.RDFFormula=t.RDFSymbol=void 0;var r=n(261);function o(e){throw new Error('"'+e+'" is read-only')}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(e){return"object"===i(e)?e:"string"==typeof e?new f(e):void(void 0!==e&&alert("Can't make term from ".concat(e," of type ").concat(i(e))))},s=function(){return this};s.prototype.termType="empty",s.prototype.toString=function(){return""},s.prototype.toNT=function(){return""};var l=function(){return"<"+this.uri+">"},c=function(e){return this.uri=e,this};t.RDFSymbol=c,c.prototype.termType="symbol",c.prototype.toString=l,c.prototype.toNT=l;var u=0,d=function(){return this.id=u++,this};t.RDFBlankNode=d,d.prototype.termType="bnode",d.prototype.toNT=function(){return"_:n"+this.id},d.prototype.toString=d.prototype.toNT;var f=function(e,t,n){return this.value=e,this.lang=t,this.datatype=n,this};t.RDFLiteral=f,f.prototype.termType="literal",f.prototype.toNT=function(){var e=this.value;if("string"!=typeof e)throw Error("Value of RDF literal is not string: "+e);return o("str"),e=e.replace(/\\/g,"\\\\"),o("str"),e=e.replace(/"/g,'\\"'),o("str"),e='"'+e+'"',this.datatype&&(o("str"),e=e+"^^"+this.datatype),this.lang&&(o("str"),e=e+"@"+this.lang),e},f.prototype.toString=function(){return this.value};var p=function(){this.id=u++,this.elements=[],this.closed=!1};p.prototype.termType="collection",p.prototype.toNT=function(){return"_:n"+this.id},p.prototype.toString=p.prototype.toNT,p.prototype.append=function(e){this.elements.push(e)},p.prototype.close=function(){this.closed=!0};var h=function(){return this.subject.toNT()+" "+this.predicate.toNT()+" "+this.object.toNT()+" ."},m=function(e,t,n,r){return this.subject=a(e),this.predicate=a(t),this.object=a(n),void 0!==r&&(this.why=r),this};m.prototype.toNT=h,m.prototype.toString=h;var g=function(){return this.statements=[],this.constraints=[],this.initBindings=[],this.optional=[],this};t.RDFFormula=g;var b=function(){return"{\n"+this.statements.join("\n")+"}"};g.prototype.termType="formula",g.prototype.toNT=b,g.prototype.toString=b,g.prototype.add=function(e,t,n,r){this.statements.push(new m(e,t,n,r))},g.prototype.sym=function(e,t){return null!=t&&(e=this.namespaces[e]+t),new c(e)},g.prototype.literal=function(e,t,n){return new f(e.toString(),t,n)},g.prototype.bnode=function(){return new d},g.prototype.formula=function(){return new g},g.prototype.collection=function(){return new p};var v=function(e){return this.uri=(0,r.join)(e,"varid:"),this};v.prototype.termType="variable",v.prototype.toNT=function(){return"varid:"==this.uri.slice(0,"varid:".length)?"?".concat(this.uri.slice("varid:".length)):"?".concat(this.uri)},v.prototype.toString=v.prototype.toNT,v.prototype.classOrder=7,g.prototype.variable=function(e){return new v(e)},v.prototype.hashString=v.prototype.toNT,g.prototype.fromNT=function(e){var t=e.length,n=e.slice(0,1);if("<"===n)return this.sym(e.slice(1,t-1));if("_"===n){var r=new d;return r.id=parseInt(e.slice(3)),u--,r}alert("Can't yet convert from NT: '".concat(e,"', ").concat(e[0]))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.prettyTree=t.statementTree=t.statementList=t.pretty=void 0;var r,o=(r=n(92))&&r.__esModule?r:{default:r};var i=function(e,t){for(var n={},r=e.find(t),i=0;i<r.length;i++){var a=r[i];"bnode"!==a.getType()&&(n[o.default.shorten(a.getPredicate())]=a.getValue())}return n};t.pretty=i;var a=function e(t,n,r){for(var o=r||{},i=t?t.find(n):[],a=[],s=0;s<i.length;s++){var l=i[s];if("literal"===l.getType())a.push({stmt:l});else{var c={stmt:l},u=l.getValue();o[u]||(o[u]=!0,c.children=e(t,u,o))}}return a};t.statementTree=a;var s=function(e,t){var n=a(e,t),r=[];return function e(t,n){for(var o=0;o<t.length;o++){var i=t[o];i.indent=n,r.push(i),i.children&&(e(i.children,n+1),delete i.children)}}(n,1),r};t.statementList=s;var l=function(e,t){for(var n=s(e,t),r=0;r<n.length;r++){var i=n[r],a=i.stmt;a.isSubjectBlank()?i.s=a.getSubject():i.s=o.default.shorten(a.getSubject()),i.p=o.default.shorten(a.getPredicate());var l=a.getType();if("uri"===l){i.o=o.default.shorten(a.getValue());var c=a.getLanguage(),u=a.getDatatype();null!=c?i.o+="@@".concat(c):null!=u&&(i.o+="^^".concat(u))}else i.o='"'.concat(a.getValue(),'"')}return n};t.prettyTree=l;var c={pretty:i,statementList:s,statementTree:a,prettyTree:l};t.default=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(682))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}}var t,n,r;return t=e,(n=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var n=this._findChoices(e);if(null==n);else{if(null==t)return n;t(n)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var n=0;n<t.length;n++){var r=t[n];if((0,o.default)(r.constraints,e.getConstraints())&&e.getParentProperty()===r.parentProperty&&e.getHierarchyProperty()===r.hierarchyProperty&&e.isParentPropertyInverted()===(r.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(r.isHierarchyPropertyInverted||!1))return r.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var n=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(n+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var r=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(r+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}])&&i(t.prototype,n),r&&i(t,r),e}();t.default=a},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=0,o=function(){function e(t){var n=t.itemStore,o=t.source,i=t.path,a=t.readOnly,s=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=n,this._source=o,this._path=i,this._readOnly=s,this._items=[],r+=1,this._id="_bundle_".concat(r),this._root=null,this._modified=!1}var t,o,i;return t=e,(o=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(e){return this._source.root=e,e}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(e){this._items.push(e)}},{key:"removeItem",value:function(e){this._items.splice(this._items.indexOf(e),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(e){this._modified=e}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&n(t.prototype,o),i&&n(t,i),e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(142)),o=c(n(141)),i=c(n(191)),a=c(n(192)),s=c(n(193)),l=c(n(671));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=f(this,p(t).call(this,e));var c=e.statement,u=e.constraints;n._statement=void 0,n._validPredicate=!0,n._constraints=[];var d,h=n._item.getChildren(),m=h[1];d=m instanceof o.default?new s.default({item:m,statement:c,constraints:u}):m instanceof i.default?new a.default({item:m,statement:c}):new r.default({item:m,statement:c});var g=new l.default({item:h[0],objectBinding:d});return n.addChildBinding(g),n.addChildBinding(d),n}var n,c,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(c=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&d(n.prototype,c),u&&d(n,u),t}(s.default);t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(74);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listener=[],this._limits=t.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var t,n,i;return t=e,(n=[{key:"addListener",value:function(e){return this._listeners.push(e),e}},{key:"removeListener",value:function(e){this._listeners.splice(this._listeners.indexOf(e),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(e){return e()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(e){this._code!==e&&(this._code=e,this.cardinalityChanged())}},{key:"setDepsOk",value:function(e){this._depsOk!==e&&(this._code=r.CODES.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=r.CODES.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=r.CODES.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=r.CODES.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&o(t.prototype,n),i&&o(t,i),e}();t.default=i},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=a(this,s(t).call(this,e)))._objectBinding=e.objectBinding,n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(t,e),n=t,(r=[{key:"remove",value:function(){}},{key:"setValue",value:function(e){this._objectBinding.setPredicate(e)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&i(n.prototype,r),o&&i(n,o),t}(((r=n(192))&&r.__esModule?r:{default:r}).default);t.default=c},function(e,t,n){var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){function t(){return i(this,t),s(this,c(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(e){return this._parent.setValue(e)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(e,t){return this._parent.setGist(e,t)}},{key:"setSubject",value:function(e){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),l(c(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&a(n.prototype,r),o&&a(n,o),t}(((r=n(142))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(79);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){this.filterObj={},this.registry=e};i.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(e){i.prototype[e]=function(t){var n={};switch(e){case"constraint":Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),this.filterObj[e]=n;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=r.namespaces.expand(t);break;default:this.filterObj[e]=t||!0}return this}}));var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var t,n,r;return t=e,(n=[{key:"calculatePriority",value:function(e,t){var n=0;if(t.itemtype&&(n+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(n+=this.priorities.CHOICES,t.choices){case"static":if(!e.hasStaticChoices())return-1;break;case"dynamic":if(!e.hasChoices()||e.hasStaticChoices())return-1;break;case"none":if(e.hasChoices())return-1;break;case"any":default:if(!e.hasChoices())return-1}if(t.nodetype&&(n+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){n+=this.priorities.DATATYPE;var r=e.getDatatype(),o=!0;if(r&&(o=Array.isArray(r)?!r.includes(t.datatype):r!==t.datatype),o)return-1}return t.rdftype&&(n+=this.priorities.RDFTYPE,!function(e,t){var n=e.getConstraints();return null!=n&&n[rdfType]===t}(e,t.rdftype))||t.constraint&&(n+=this.priorities.CONSTRAINT,!function(e,t){if(null==t)return!0;var n=e.getConstraints(),r=!0;return null!=n&&(Object.keys(n).find((function(e){var o=t[e];return""!==o&&"*"!==o&&o!==n[e]&&(r=!1,!0)})),r)}(e,t.constraint))||t.predicate&&(n+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(n+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(n+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:n:-1}},{key:"getPriority",value:function(e,t){for(var n=0;n<this.components.length;n++)if(this.components[n].component===t){var r=this.calculatePriority(e,this.components[n].filter);if(r>=0)return r}return 0}},{key:"getComponentBefore",value:function(e,t){var n=this.getPriority(e,t);return this.getComponent(e,n)}},{key:"getComponent",value:function(e,t){for(var n,r,o,i=-1,a=0;a<this.components.length;a++)o=this.components[a],(r=this.calculatePriority(e,o.filter))>i&&(void 0===t||r<t)&&(n=o,i=r);if(n)return n.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new i(this).itemtype(e)}},{key:"choices",value:function(e){return new i(this).choices(e)}},{key:"nodetype",value:function(e){return new i(this).nodetype(e)}},{key:"datatype",value:function(e){return new i(this).datatype(e)}},{key:"rdftype",value:function(e){return new i(this).rdftype(e)}},{key:"constraint",value:function(e){return new i(this).constraint(e)}},{key:"predicate",value:function(e){return new i(this).predicate(e)}},{key:"style",value:function(e){return new i(this).style(e)}},{key:"item",value:function(e){return new i(this).item(e)}},{key:"check",value:function(e){return new i(this).check(e)}}])&&o(t.prototype,n),r&&o(t,r),e}();t.default=a},function(e){e.exports=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","openLinkExternally":"Open link externally"}')},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.toDuration=t.fromDuration=void 0;t.fromDuration=function(e){var t,n,r=function(e){return e&&e.length>1?parseInt(e[0],10):0},o=r(e.match(/([0-9])*Y/)),i=r(e.match(/([0-9])*D/)),a=r(e.match(/([0-9])*H/));if(-1===e.indexOf("T"))t=r(e.match(/([0-9])*M/));else{var s=e.split("T");t=r(s[0].match(/([0-9])*M/)),n=r(s[1].match(/([0-9])*M/))}return{years:o,months:t,days:i,hours:a,minutes:n}};t.toDuration=function(e){if(e.years||e.months||e.days||e.hours||e.minutes){var t="P".concat(e.years?"".concat(e.years,"Y"):"").concat(e.months?"".concat(e.months,"M"):"").concat(e.days?"".concat(e.days,"D"):"");return(e.hours||e.minutes)&&(t="".concat(t,"T").concat(e.hours?"".concat(e.hours,"H"):"").concat(e.minutes?"".concat(e.minutes,"M"):"")),t}return null}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){(t=n(117)(!1)).push([e.i,'/* === Colors === */\n.rdformsLabel {\n font-weight:bold;\n color: black;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n/* border-right: 1px solid #E6E6E6;*/\n border-bottom-width: 0px;\n}\n\n/* No border to the right of a heading*/\n.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n border-right-width: 0px;\n}\n\n/* --- Inverted, background greyish with white separators. --- */\n.inverted.rdforms .rdformsTopLevel {\n background: #E6E6E6;\n}\n\n.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n border-right: 1px solid white;\n}\n\n\n/* --- Validation colors --- */\n.rdformsValidator .rdformsField.errorReport,\n.rdformsValidator .rdformsGroup.errorReport {\n border-left: 2px dotted red;\n}\n\n.rdformsValidator .error .rdformsValidationMessageWrapper {\n color: red;\n}\n\n.rdformsValidator .warning .rdformsValidationMessageWrapper {\n color: orange;\n}\n\n.rdformsValidator .deprecated .rdformsValidationMessageWrapper {\n color: #00766c;\n}\n\n.rdforms .rdformsMandatoryMark {\n color: red;\n vertical-align: text-bottom;\n font-weight: bold;\n}\n\n.rdforms .rdformsRecommendedMark,\n.rdforms .rdformsOptionalMark {\n padding-left: 10px;\n font-size: 12px;\n color: grey;\n}\n\n.rdformsMark {\n display: none;\n}\n\n.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: inline;\n}\n\n.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: none;\n}\n\n\n/* === End colors === */\n\n.rdformsInvisible {\n display: none;\n}\n\n.rdformsRow.rdformsTopLevel {\n \tpadding-top: 0.3em;\n \tpadding-bottom: 0.3em;\n\tmargin-top: 0em;\n}\n\n.compact .rdformsRow.rdformsTopLevel .rdformsRow {\n\tpadding-left: 0.7em;\n margin-bottom: 0.3em;\n}\n\n.rdformsRow.rdformsTopLevel .rdformsRow {\n margin-bottom: 0.15em;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {\n\tfont-style: normal;\n\twidth: 10em !important;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {\n\twidth: 13em !important;\n}\n\n/* No specific width for headings */\n.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n width: auto !important;\n/* border-bottom: 1px solid lightgrey;*/\n}\n\n\n.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {\n\tmax-width: 15em;\n\twidth: auto;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tzoom:1;\n\t*display: inline;\n vertical-align: middle;\n}\n\na.rdformsUrl {\n text-decoration: none;\n word-break: break-all;\n}\n\na.rdformsUrl:hover {\n text-decoration: underline;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.notCompact {\n\tdisplay: table;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {\n display: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {\n\tmargin-left: 0px;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {\n display: table;\n width: 98%;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {\n display: table-cell;\n}\n\n\n\n.rdformsImage {\n max-width: 100%;\n max-height: 300px;\n}\n\n.rdformsLabel:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdformsLabel.noPointer:hover {\n text-decoration: none;\n cursor: default;\n}\n\n.rdformsPresenter th span:hover,\n.rdformsEditor th span:hover,\n.rdformsLabel.hasInfo:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdforms .itemInfoTable {\n\tdisplay: table;\n\twidth: 100%;\n}\n.rdforms .itemInfoTable>* {\n\tdisplay: table-row;\n}\n.rdforms .itemInfoTable>*>* {\n\tdisplay: table-cell;\n}\n\n.rdformsGroup {\n\tmargin-left: 13px;\n position: relative;\n margin-top: 10px;\n }\n\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{\n display: none;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsField {\n margin-left: 0em;\n padding-left: 0em;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {\n margin-left: 0em;\n}\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {\n padding-left: 0px;\n}\n\n.rdformsHeading>.rdformsLabel {\n font-size: larger;\n margin: 8px 0px 5px 0px;\n}\n\n.rdformsField {\n\tmargin-left: 1em;\n/*\tbackground: white;*/\n/*\tpadding-left: 0.5em;*/\n/*\tword-break: break-all;*/\n}\n\n.rdformsPresenter .rdformsRepeatedValue {\n \tborder-top: 1px solid #E6E6E6;\n padding-top: 2px;\n margin-top: 2px;\n}\n\n.rdformsEditor .rdformsRepeatedValue {\n margin-top: 2px;\n}\n\n.rdformsPresenter .rdformsField.rdformsSingleline {\n word-break: break-all;\n}\n\n.rdformsPresenter .rdformsField.rdformsMultiline {\n word-break: break-word;\n white-space: pre-line;\n}\n\n.rdformsPresenter th,\n.rdformsEditor th {\n font-weight: bold;\n padding-left: 0.3em;\n padding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup td {\n\tborder: 1px solid #E6E6E6;\n}\n.rdformsEditor table.rdformsGroup th {\n\tborder-bottom: 1px solid #E6E6E6;\n}\n\n\n.rdformsEditor table.rdformsGroup td {\n\tpadding-left: 0em;\n\tpadding-right: 0.6em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {\n padding-right: 7.4em;\n}\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {\n width: 6.4em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsTableControl,\n.rdformsPresenter table.rdformsGroup td {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup,\n.rdformsEditor table.rdformsGroup {\n\tborder-collapse: collapse;\n}\n.rdformsEditor table.rdformsGroup tr{\n\tbackground-color: white;\n}\n.rdformsPresenter table.rdformsGgroup th,\n.rdformsEditor table.rdformsGroup th {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n\n.rdformsPresenter .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid #E6E6E6;*/\n\tpadding-left: 0.7em;\n }\n\n.rdformsEditor .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid white;*/\n\tpadding-right: 0.7em;\n }\n .rdformsEditor .rdformsField {\n \tpadding-right: 55px;\n\tposition: relative;\n }\n \n .rdformsEditor .rdformsField .rdformsChoiceLabel {\n \tmargin-left: 0.2em;\n \tmargin-right: 1em;\n }\n .rdformsEditor .rdformsField .mismatch {\n color: red;\n font-weight: bold;\n }\n .rdformsEditor .rdformsLangcontrolledfield {\n \tpadding-right: 10.9em;\n }\n .rdformsEditor .rdformsFieldControl {\n\tposition: absolute;\n\twidth: 3.8em;\n\tpadding-right: 0.1em;\n\tright: 0;\n\toverflow-x: hidden;\n\tpadding-right: 0.1em;\n\tfont-weight: normal;\n }\n .rdformsEditor .rdformsLangFieldControl {\n\twidth: 10em;\n }\n\n.rdformsEditor .rdformsFieldInput {\n width: 100%;\n resize: vertical;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 0.6em;\n margin-right: .6em;\n text-decoration: none;\n}\n\n.rdformsEditor .rdformsExtLinkDisabled {\n pointer-events: none;\n opacity: 0.14;\n}\n\n.rdformsEditor .rdformsExtLinkControl {\n padding-right: 3.5em !important;\n}\n\n.rdformsEditor .rdformsChoiceValue {\n \tdisplay: inline-block;\n\tzoom:1;\n\tbackground: whitesmoke;\n\tmin-height: 1.4em;\n\tpadding-left: 4px;\n\tpadding-right: 4px;\n\tborder: 1px solid lightgrey;\n\tmin-width: 4em;\n}\n\n.chooser.rdforms label {\n\tfont-weight:normal;\n\tmargin-left:5px;\n\tmargin-top:5px;\n\tfont-size:15px;\n width: 4em;\n}\n\n.chooser.rdforms .uriNode,\n.chooser.rdforms .labelNode,\n.chooser.rdforms .descriptionNode {\n\tmargin-left:20px;\n\tfont-size:15px;\n background: rgb(228, 224, 219);\n border-radius: 3px;\n padding: 3px 7px;\n border: 1px solid grey;\n word-break: break-all;\n}\n\n.chooser.rdforms h2 {\n margin-top: 0px;\n margin-bottom: 0.7em;\n}\n\n.rdformsStar {\n\tdisplay: inline-block;\n\tzoom:1;\n\t*display: inline;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=);\n}\n\n/*.rdformsValidator .rdformsFields .error,\n.rdformsValidator .rdformsFields .warning,\n.rdformsValidator .rdformsFields .deprecated {\n border-radius: 4px;\n padding: 4px;\n color: white;\n}*/\n\n.rdformsValidator {\n padding-left: 30px;\n}\n.rdformsValidator .rdformsValidator {\n padding-left: 0px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n margin-left: -30px;\n}\n\n.rdformsValidator .rdformsField.error {\n color: red;\n}\n\n/* To override some nested rdformsField background settings\n.rdformsPresenter.rdformsValidator.error .rdformsField {\n background: red;\n}*/\n\n.rdformsValidator .rdformsField.warning {\n color: orange;\n}\n\n.rdformsValidator .rdformsField.deprecated {\n color: #00766c;\n}\n\n/*.rdformsValidator .rdformsField.error .rdformsUrl,\n.rdformsValidator .rdformsField.warning .rdformsUrl,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl {\n color: white;\n text-decoration: underline;\n}\n\n.rdformsValidator .rdformsField.error .rdformsUrl:hover,\n.rdformsValidator .rdformsField.warning .rdformsUrl:hover,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {\n color: white;\n}*/\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {\n padding: 4px 10px;\n}\n.rdforms.rdformsValidator .rdformsValidator.error {\n color: red;\n border-radius: 4px;\n padding: 4px;\n}\n\n.rdformsValidator .rdformsValidationMessage {\n margin-left: 5px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n display: flex;\n align-items: center;\n padding-top: 5px;\n}\n\n.compact .rdformsRow.rdformsTopLevel {\n\tdisplay: table;\n\twidth: 98%;\n}\n.compact .rdformsRow.rdformsTopLevel>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {\n padding-left: 0px;\n}\n\n.compact .rdformsRow.notCompact {\n\tdisplay: block;\n\twidth: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n\tdisplay: inherit;\n}\n\n.compact .rdformsRow>.rdformsLabelRow {\n\twidth: 1px;\n\twhite-space: nowrap;\n}\n\n.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {\n\tvertical-align: middle;\n}\n\n.compact .rdformsTopLevel>.rdformsFields>.rdformsField {\n\tmargin-left: 0;\n}\n\n.rdforms .action {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n opacity:0.65;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=65)";\n filter:alpha(opacity=65);\n zoom:1;\n\tvertical-align: top;\n}\n\n.rdforms .action:hover {\n\topacity:1;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=100)";\n filter:alpha(opacity=100);\n zoom:1;\n cursor: pointer;\n}\n\n.rdforms .action.disabled {\n\topacity:0.14;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=14)";\n filter:alpha(opacity=14);\n zoom:1;\n}\n\n.rdforms .action.editAdd {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC);\n}\n\n.rdforms .rdformsTableControl>.action.editDelete,\n.rdforms .rdformsFieldControl>.action.editDelete {\n\tfloat: right;\n margin-top: 3px;\n}\n.rdforms .action.editSearch {\n\tmargin-left: 13px;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==);\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.info {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=);\n}\n\n.rdformsEditor .rdformsDateValue {\n margin-right: 0.4em;\n}\n\n/* ---------- StoreManager -----------*/\n\n.formulatorTable {\n display: table;\n width: 100%;\n}\n.formulatorTable .row {\n display: table-row;\n}\n\n.formulatorTable .row>* {\n display: table-cell;\n padding-bottom: 0.3em;\n}\n\n.formulatorTable .row>*>* {\n width: 100%;\n}\n\n.formulatorTable .row .select {\n width: 16em;\n}\n\n.formulatorTable .row label {\n width: 10em;\n}\n\n.formulatorTable .row .cardinality label {\n width: 2.5em;\n}\n\n.storeManager .readOnly {\n color: gray !important;\n}\n\n.storeManager .itemList>div {\n height: 100%;\n}\n\n.formulatorTable label .addButton {\n background: lightgreen;\n border-radius: 3px;\n padding-left: 3px;\n padding-right: 3px;\n margin-left: 5px;\n font-weight: bold;\n}\n\n.formulatorTable label .addButton:hover {\n background: green;\n color: white;\n}\n\n.inlineState .dynamic {\n display: none;\n}\n\n.langStringArr {\n display: table;\n}\n\n.langStringArr .langString {\n display: table-row;\n}\n\n.langString>* {\n display: table-cell;\n}\n\n.langString .langStringString {\n width: auto;\n}\n\n.langString .langStringLang {\n width: 5em;\n}\n.langString .langStringString>* {\n width: 100%;\n}\n\n.langString .langStringLang>* {\n width: 4.7em;\n margin-left: 0.3em;\n}\n\n.maximized_textarea {\n width: 100%;\n height: 100%;\n border-width: 0px;\n padding: 0px;\n resize: none;\n}\n\n/* LDBrowser */\n\n.ldbrowser.managedHeight>div {\n height: 100%;\n position: relative;\n}\n\n.ldbrowser.examples .examplesBlock {\n display: block;\n}\n.ldbrowser .examplesBlock {\n display:none;\n margin: 5px;\n}\n\n/* RDFView */\n.rdfView pre {\n padding: 0px;\n margin: 0px;\n width: 100%;\n border-width:0px;\n}\n\n.rdfView.managedHeight pre {\n height: 100%;\n overflow:auto;\n}\n\n.rdforms .cardinality {\n width: 500px;\n margin: 0px auto 1em auto;\n}\n\n.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {\n display: none !important;\n}\n\n.rdformsError,\n.rdformsRow.missingDepsWithValue {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsLinebreaks {\n white-space: pre-line;\n}\n\n.rdformsWarning {\n font-weight: bold;\n color: red;\n padding-bottom: 6px;\n padding-top: 6px;\n}\n\n.rdformsDeprecated {\n border: 2px solid red;\n padding: 12px;\n}',""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(30)),o=l(n(199)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=n(200);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e,t,n,r){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===n.length)return!1;var o=t.getProperty();if(n.length>0){if(o)return!e.filterItem(t);if("group"!==t.getType())return!0;var i=t.getChildren();if(0===i.length)return!0;if(n[0].getItemGroupedChildBindings().find((function(t,n){return g(e,i[n],t,r)})))return!0;if(!o)return!1}var a=t.getCardinality();switch(r){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},b=function(e){function t(){return u(this,t),f(this,h(t).apply(this,arguments))}var n,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(o=[{key:"_handleParams",value:function(e){this._subEditors=this._subEditors||[],this.includeLevel=e.includeLevel||"recommended",this.hideAddress=!1!==e.hideAddress,e.styleCls=e.styleCls||"rdformsEditor",e.filterTranslations=void 0!==e.filterTranslations&&e.filterTranslations,p(h(t.prototype),"_handleParams",this).call(this,e)}},{key:"report",value:function(e){var t=this,n=e||(0,a.bindingReport)(this.binding);Object.keys(this._binding2node).forEach((function(e){r.default.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var o=0;o<n.errors.length;o++){var s=n.errors[o];s.parentBinding===this.binding&&(s.code===i.CODES.TOO_FEW_VALUES_MIN?function(){var e=s.item,n=e.getCardinality().min;t.binding.getChildBindingsFor(e).find((function(e){return n-=1,e.isValid()||r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===n}))}():s.code===i.CODES.AT_MOST_ONE_CHILD&&this.binding.getChildBindings().forEach((function(e){e.getMatchingCode()!==i.CODES.OK&&r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)})))}for(var l=0;l<this._subEditors.length;l++)this._subEditors[l].report(n)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(e){this.includeLevel!==e&&(this.includeLevel=e,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=i.match(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],p(h(t.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return g(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,r=t,o=e.getCardinality();if((n=o.pref>0?o.pref:o.min>0?o.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1)>r.length)for(r=r.concat([]);n>r.length;)r.push(i.create(this.binding,e));return r}},{key:"addLabel",value:function(e,t,n){r.default.renderEditorLabel(e,t,n,this.context)}},{key:"createEndOfRowNode",value:function(e,t,n){r.default.renderEditorLabelScopeEnd(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):r.default.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){r.default.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){r.default.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(e,t){this.context.inEditor=!0,t.getItem().hasStyle("nonEditable")?r.default.renderPresenter(e,t,this.context):r.default.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,n,o){if(null!=n||!o.hasStyle("nonEditable")){var a=p(h(t.prototype),"createRowNode",this).call(this,e,n,o);if("choice"===o.getType()&&void 0===o.getProperty()){var s=i.findPopularChoice(o,n.getParent());s&&n.setChoice(s)}var l=o.getDeps();if(l){var c=function(e){e?(r.default.domClassToggle(a,"missingDepsWithValue",!1),n.getCardinalityTracker().setDepsOk(!0),r.default.domClassToggle(a,"missingDeps",!1)):n.isValid()?(r.default.domClassToggle(a,"missingDepsWithValue",!0),n.getCardinalityTracker().setDepsOk(!1)):r.default.domClassToggle(a,"missingDeps",!0)},u=i.findBindingRelativeToParentBinding(n.getParent(),l);i.matchPathBelowBinding(u,l)||c(!1),u.addListener((function e(){n.getParent()?c(i.matchPathBelowBinding(u,l)):u.removeListener(e)}))}return this.filterBinding(n)&&r.default.domClassToggle(a,"hiddenProperty",!0),o.hasStyle("deprecated")&&r.default.domClassToggle(a,"rdformsDeprecated",!0),a}}}])&&d(n.prototype,o),s&&d(n,s),t}(o.default);t.default=b},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(30)),i=u(n(193)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74)),s=n(200),l=n(79);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=0,p=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=f,f+=1,this.parentView=t.parentView,this.srcNodeRef=n,this.binding=t.binding||null,this.template=t.template||null,this.graph=t.graph||null,this.resource=t.resource||"",this.topLevel=!1!==t.topLevel,this.compact=!1!==t.compact,this.styleCls=t.styleCls||"",this.filterPredicates=t.filterPredicates||null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this._handleParams(t),this._labelIndex={},this.domNode=o.default.createDomNode(n,this),o.default.domClassToggle(this.domNode,"rdforms",!0),o.default.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){o.default.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(e){if(e.binding)this.binding=e.binding;else{if(this.template=e.template||this.template,this.graph=e.graph||this.graph,this.resource=e.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=a.fuzzyMatch(this.graph,this.resource,this.template),(0,s.bindingReport)(this.binding)):this.binding=a.match(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(e){return"group"===e.getType()&&(e.hasStyle("table")||e.hasClass("rdformsTable"))}},{key:"show",value:function(e){this._handleParams(e),this.render()}},{key:"render",value:function(){if(o.default.domText(this.domNode,""),null!=this.binding){var e=o.default.getMessages();if(this.messages=e,null!=this.binding){var t,n,r,a,s,l=this.binding.getItem().getChildren(),c=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?o.default.domClassToggle(this.domNode,"compact",!1):o.default.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<c.length;t++)if(a=c[t],s=l[t],(!this.restrictToItem||this.restrictToItem===s)&&this.showNow(s,a)){if(a=this.prepareBindings(s,a),this.showAsTable(s))this.context={view:this},r=this.createRowNode(r,a[0],s),a.length>0&&(n=this.addTable(r,a[0],s),this.fillTable(n,a));else if(a.length>0)for(var u=0;u<a.length;u++)this.context={view:this},r=this.addRow(r,a[u],0===u||a[u]instanceof i.default);else r=this.createRowNode(r,null,s);a.length>0&&a[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(e,t,n){var r,a,s=n,l=t.getItem();if(!this.skipBinding(t)){if(null==s&&(s=t instanceof i.default),!0===s){a=this.createRowNode(e,t,l);var c=o.default.domCreate("div",a);o.default.domClassToggle(c,"rdformsFields",!0),r=o.default.domCreate("div",c),this.createEndOfRowNode(a,t,l)}else{var u=o.default.domQuery(".rdformsFields",e);if(null!=u)r=o.default.domCreate("div",u),o.default.domClassToggle(r,"rdformsRepeatedValue",!0);else{var d=o.default.domCreate("div",e);o.default.domClassToggle(d,"rdformsFields",!0),r=o.default.domCreate("div",d),this.createEndOfRowNode(a,t,l)}}return"group"===l.getType()?o.default.domClassToggle(r,"rdformsGroup",!0):o.default.domClassToggle(r,"rdformsField",!0),this._binding2node[t.getHash()]=r,this.addComponent(r,t),l.hasStyle("invisible")&&o.default.domClassToggle(a||e,"rdformsInvisible",!0),a||e}}},{key:"createRowNode",value:function(e,t,n){var r;return r=null==e?o.default.domCreate("div",this.domNode):o.default.domCreateAfter("div",e),n.getClasses().forEach((function(e){o.default.domClassToggle(r,e,!0)})),o.default.domClassToggle(r,"rdformsRow",!0),o.default.domClassToggle(r,"rdformsTopLevel",this.topLevel),o.default.domClassToggle(r,"rdformsInvisibleGroup",n.hasStyle("invisibleGroup")),o.default.domClassToggle(r,"rdformsHeading",n.hasStyle("heading")),o.default.domClassToggle(r,"notCompact","group"===n.getType()),this.addLabel(r,t,n),t&&this.filterBinding(t)&&o.default.domClassToggle(r,"hiddenProperty",!0),r}},{key:"createEndOfRowNode",value:function(e,t,n){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(e){return this.filterItem(e.getItem())}},{key:"filterItem",value:function(e){return function e(t,n){var r=t.getId();if(r&&n&&Object.keys(n).includes(r))return!0;var o=t.getProperty();if(n&&o)return!0===n[o]||!0===n[l.namespaces.shortenKnown(o)];if(n&&"group"===t.getType()&&!t.getProperty()){var i=t.getChildren()||[],a=!1;return i.forEach((function(t){e(t,n)||(a=!0)})),!a}return!1}(e,this._getFilterPredicates())}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,n=this;return e.getItem(),e.getParent().getChildBindingsFor(e.getItem()).reverse().find((function(e){return void 0!==(t=n._labelIndex[e.getHash()])})),void 0!==t?t:this.parentView?this.parentView.getLabelIndex(e.getParent()):""}},{key:"createLabelIndex",value:function(e){var t="".concat(e.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[e.getHash()]=t,t}}])&&d(t.prototype,n),r&&d(t,r),e}();t.default=p},,function(e,t,n){"use strict";n.r(t);var r=n(99);var o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},i=n(38),a=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var s=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},l=n(94),c=Object.prototype.hasOwnProperty;var u=function(e,t,n){var r=e[t];c.call(e,t)&&Object(l.a)(r,n)&&(void 0!==n||t in e)||s(e,t,n)};var d=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),o?s(n,l,c):u(n,l,c)}return n},f=n(96);var p=function(e,t){return e&&d(t,Object(f.a)(t),e)},h=n(152),m=n(55),g=n(93);var b=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},v=Object.prototype.hasOwnProperty;var y=function(e){if(!Object(m.a)(e))return b(e);var t=Object(g.a)(e),n=[];for(var r in e)("constructor"!=r||!t&&v.call(e,r))&&n.push(r);return n},x=n(148);var w=function(e){return Object(x.a)(e)?Object(h.a)(e,!0):y(e)};var _=function(e,t){return e&&d(t,w(t),e)},k=n(266);var S=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},E=n(97);var T=function(e,t){return d(e,Object(E.a)(e),t)},C=n(147),O=n(145),A=Object(O.a)(Object.getPrototypeOf,Object),D=n(146),j=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(C.a)(t,Object(E.a)(e)),e=A(e);return t}:D.a;var I=function(e,t){return d(e,j(e),t)},N=n(116),M=n(150);var P=function(e){return Object(M.a)(e,w,j)},L=n(64),R=Object.prototype.hasOwnProperty;var F=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(n.index=e.index,n.input=e.input),n},U=n(98);var V=function(e){var t=new e.constructor(e.byteLength);return new U.a(t).set(new U.a(e)),t};var B=function(e,t){var n=t?V(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},z=/\w*$/;var H=function(e){var t=new e.constructor(e.source,z.exec(e));return t.lastIndex=e.lastIndex,t},W=n(35),Y=W.a?W.a.prototype:void 0,q=Y?Y.valueOf:void 0;var $=function(e){return q?Object(q.call(e)):{}};var G=function(e,t){var n=t?V(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var X=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return V(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return B(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return G(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return H(e);case"[object Set]":return new r;case"[object Symbol]":return $(e)}},K=Object.create,Q=function(){function e(){}return function(t){if(!Object(m.a)(t))return{};if(K)return K(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Z=function(e){return"function"!=typeof e.constructor||Object(g.a)(e)?{}:Q(A(e))},J=n(49),ee=n(83),te=n(34);var ne=function(e){return Object(te.a)(e)&&"[object Map]"==Object(L.a)(e)},re=n(95),oe=n(65),ie=oe.a&&oe.a.isMap,ae=ie?Object(re.a)(ie):ne;var se=function(e){return Object(te.a)(e)&&"[object Set]"==Object(L.a)(e)},le=oe.a&&oe.a.isSet,ce=le?Object(re.a)(le):se,ue={};ue["[object Arguments]"]=ue["[object Array]"]=ue["[object ArrayBuffer]"]=ue["[object DataView]"]=ue["[object Boolean]"]=ue["[object Date]"]=ue["[object Float32Array]"]=ue["[object Float64Array]"]=ue["[object Int8Array]"]=ue["[object Int16Array]"]=ue["[object Int32Array]"]=ue["[object Map]"]=ue["[object Number]"]=ue["[object Object]"]=ue["[object RegExp]"]=ue["[object Set]"]=ue["[object String]"]=ue["[object Symbol]"]=ue["[object Uint8Array]"]=ue["[object Uint8ClampedArray]"]=ue["[object Uint16Array]"]=ue["[object Uint32Array]"]=!0,ue["[object Error]"]=ue["[object Function]"]=ue["[object WeakMap]"]=!1;var de=function e(t,n,i,a,s,l){var c,d=1&n,h=2&n,g=4&n;if(i&&(c=s?i(t,a,s,l):i(t)),void 0!==c)return c;if(!Object(m.a)(t))return t;var b=Object(J.a)(t);if(b){if(c=F(t),!d)return S(t,c)}else{var v=Object(L.a)(t),y="[object Function]"==v||"[object GeneratorFunction]"==v;if(Object(ee.a)(t))return Object(k.a)(t,d);if("[object Object]"==v||"[object Arguments]"==v||y&&!s){if(c=h||y?{}:Z(t),!d)return h?I(t,_(c,t)):T(t,p(c,t))}else{if(!ue[v])return s?t:{};c=X(t,v,d)}}l||(l=new r.a);var x=l.get(t);if(x)return x;l.set(t,c),ce(t)?t.forEach((function(r){c.add(e(r,n,i,r,t,l))})):ae(t)&&t.forEach((function(r,o){c.set(o,e(r,n,i,o,t,l))}));var w=g?h?P:N.a:h?keysIn:f.a,E=b?void 0:w(t);return o(E||t,(function(r,o){E&&(r=t[o=r]),u(c,o,e(r,n,i,o,t,l))})),c};t.default=function(e){return de(e,5)}},function(e,t,n){"use strict";n.r(t);var r=n(99),o=n(151);var i=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var a=function(e){return this.__data__.has(e)};function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=a;var l=s;var c=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var u=function(e,t){return e.has(t)};var d=function(e,t,n,r,o,i){var a=1&n,s=e.length,d=t.length;if(s!=d&&!(a&&d>s))return!1;var f=i.get(e);if(f&&i.get(t))return f==t;var p=-1,h=!0,m=2&n?new l:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var g=e[p],b=t[p];if(r)var v=a?r(b,g,p,t,e,i):r(g,b,p,e,t,i);if(void 0!==v){if(v)continue;h=!1;break}if(m){if(!c(t,(function(e,t){if(!u(m,t)&&(g===e||o(g,e,n,r,i)))return m.push(t)}))){h=!1;break}}else if(g!==b&&!o(g,b,n,r,i)){h=!1;break}}return i.delete(e),i.delete(t),h},f=n(35),p=n(98),h=n(94);var m=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},b=f.a?f.a.prototype:void 0,v=b?b.valueOf:void 0;var y=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new p.a(e),new p.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(h.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=m;case"[object Set]":var l=1&r;if(s||(s=g),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=d(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1},x=n(116),w=Object.prototype.hasOwnProperty;var _=function(e,t,n,r,o,i){var a=1&n,s=Object(x.a)(e),l=s.length;if(l!=Object(x.a)(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:w.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],m=t[u];if(r)var g=a?r(m,h,u,t,e,i):r(h,m,u,e,t,i);if(!(void 0===g?h===m||o(h,m,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var b=e.constructor,v=t.constructor;b==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(e),i.delete(t),f},k=n(64),S=n(49),E=n(83),T=n(153),C="[object Object]",O=Object.prototype.hasOwnProperty;var A=function(e,t,n,o,i,a){var s=Object(S.a)(e),l=Object(S.a)(t),c=s?"[object Array]":Object(k.a)(e),u=l?"[object Array]":Object(k.a)(t),f=(c="[object Arguments]"==c?C:c)==C,p=(u="[object Arguments]"==u?C:u)==C,h=c==u;if(h&&Object(E.a)(e)){if(!Object(E.a)(t))return!1;s=!0,f=!1}if(h&&!f)return a||(a=new r.a),s||Object(T.a)(e)?d(e,t,n,o,i,a):y(e,t,c,n,o,i,a);if(!(1&n)){var m=f&&O.call(e,"__wrapped__"),g=p&&O.call(t,"__wrapped__");if(m||g){var b=m?e.value():e,v=g?t.value():t;return a||(a=new r.a),i(b,v,n,o,a)}}return!!h&&(a||(a=new r.a),_(e,t,n,o,i,a))},D=n(34);var j=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Object(D.a)(t)&&!Object(D.a)(n)?t!=t&&n!=n:A(t,n,r,o,e,i))};t.default=function(e,t){return j(e,t)}},,,,,,,,,,,function(e,t,n){var r,o=(r=n(30))&&r.__esModule?r:{default:r};n(694),n(695),n(696),n(697),o.default.domQuery=function(e,t){return t.querySelector(e)},o.default.domCreate=function(e,t){return t.appendChild(document.createElement(e))},o.default.domCreateAfter=function(e,t){return t.parentNode.insertBefore(document.createElement(e),t.nextSibling)},o.default.domSetAttr=function(e,t,n){""===n||null===n?e.removeAttribute(t):e.setAttribute(t,n)},o.default.domText=function(e,t){e.innerText=t},o.default.domClassToggle=function(e,t,n){t.split(" ").forEach((function(t){n?e.classList.add(t):e.classList.remove(t)}))},o.default.prePresenterViewRenderer=o.default.preEditorViewRenderer},function(e,t,n){var r=i(n(43)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}o.default.renderPresenterLabel=function(e,t,n,i,a){var s=n.getLabel();s=null!=s&&""!==s?s.charAt(0).toUpperCase()+s.slice(1):"";var l=(0,r.default)('<div class="rdformsLabel" tabindex="0">').text(s).appendTo(e);a&&l.addClass("rdformsLabelRow"),i&&(i.labelNode=l[0]),o.default.attachItemInfo(n,l[0],i)},o.default.attachItemInfo=function(e,t){if(null!=e&&null!=e.getDescription()){var n=e.getDescription();t.setAttribute("title",n)}}},function(e,t,n){(function(e){var t=l(n(703)),r=l(n(84)),o=n(675),i=l(n(30)),a=l(n(51)),s=l(n(85));function l(e){return e&&e.__esModule?e:{default:e}}var c=i.default.presenterRegistry;c.itemtype("text").nodetype("URI").register((function(t,n){var r=a.default.getLocalizedMap(n),o=e('<a class="rdformsUrl">').attr("title",n.getValue()).attr("href",n.getValue()).appendTo(t);n.getItem().hasStyle("showValue")?o.text(n.getValue()):r?o.text(a.default.getLocalizedValue(r).value):o.text(n.getGist()),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(o[0],n):s.default.attachLinkBehaviour(o[0],n)})),c.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,n,o){var l,c=n.getValue(),u=n.getItem().getChildren().find((function(e){return e.hasStyle("label")})),d=u?i.default.filterTranslations(n.getChildBindingsFor(u),r.default.locale(),o.view.defaultLanguage):[],f=n.getItem().getChildren().find((function(e){return e.hasStyle("tooltip")})),p=f?i.default.filterTranslations(n.getChildBindingsFor(f),r.default.locale(),o.view.defaultLanguage):[],h=p.length>0?p[0].getValue():c,m=e('<a class="rdformsUrl">').attr("title",h).attr("href",c).appendTo(t);if(d.length>0)l=d[0].getValue();else{var g=a.default.getLocalizedMap(n);l=n.getItem().hasStyle("showValue")?c:g?a.default.getLocalizedValue(g).value||c:n.getGist()}m.text(l),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(m[0],n):s.default.attachLinkBehaviour(m[0],n)})),c.itemtype("text").nodetype("URI").style("image").register((function(t,n){e('<img class="rdformsImage">').attr("src",n.getGist()).appendTo(t)})),c.itemtype("text").register((function(n,r,o){var i=r.getLanguage();o.view.showLanguage&&i&&e('<div class="rdformsLanguage">').text(i).appendTo(n);var a=(0,t.default)(r.getItem().hasStyle("showValue")?r.getValue():r.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),l=r.getParent();if(r.getItem().hasStyle("label")&&!0!==o.view.topLevel&&null!=l&&l.getItem().getChildren()[0]===r.getItem()&&null!=l.getStatement()&&"uri"===l.getStatement().getType()){var c=e('<a class="rdformsUrl">').attr("href",l.getStatement().getValue()).html(a).appendTo(n);i&&c.attr("lang",i),s.default.attachLinkBehaviour(c[0],l)}else{var u=e("<div>").html(a).appendTo(n);i&&u.attr("lang",i)}r.getItem().hasStyle("multiline")?e(n).toggleClass("rdformsMultiline",!0):e(n).toggleClass("rdformsSingleline",!0)})),c.itemtype("text").datatype("xsd:duration").register((function(t,n,r){var i=(0,o.fromDuration)(n.getValue()),a=r.view.messages,s=e("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){i.hasOwnProperty(t)&&e('<span class="durationlabel">'.concat(a["duration_"+t],':</span><span class="durationValue">').concat(i[t],"</span>")).appendTo(s)}))}));var u=function(t,n,o){var i=n.getValue();if(null!=i&&""!==i)try{var a;a=i.indexOf("T")>0?(0,r.default)(i).format("lll"):i.length>4?(0,r.default)(i).format("LL"):(0,r.default)(i).format("YYYY"),e("<div>").html(a).appendTo(t)}catch(e){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 (potentially with time given after a 'T' character as well) but found '".concat(i,"' instead."))}};c.itemtype("text").datatype("xsd:date").register(u),c.itemtype("text").datatype("dcterms:W3CDTF").register(u)}).call(this,n(43))},function(e,t,n){(function(e){var t=i(n(30)),r=i(n(85)),o=i(n(51));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.default.presenterRegistry,s=function(e){return function(t,n){var r,i=n.getChoice();i&&(i.description&&(r=o.default.getLocalizedValue(i.description).value),e(t,n,i,r))}};a.itemtype("choice").style("image").register(s((function(t,n,r,o){e('<img class="rdformsImage">').attr("src",r.value).attr("title",o||r.value).appendTo(t)}))),a.itemtype("choice").style("stars").register(s((function(t,n,r){isNaN(parseInt(r.value,10))||e('<span class="rdformsStar">').appendTo(t)}))),a.itemtype("choice").register(s((function(t,n,i,a){var s,l=n.getItem(),c=o.default.getLocalizedValue(i.label);l.hasStaticChoices()&&!l.hasStyle("externalLink")||l.hasStyle("noLink")?s=e("<div>").attr("title",a||i.seeAlso||i.value).text(o.default.getLocalizedValue(i.label).value).appendTo(t):(s=e('<a class="rdformsUrl">').attr("href",i.seeAlso||i.value).attr("title",a||i.seeAlso||i.value).text(c.value).appendTo(t),l.hasStyle("externalLink")?r.default.attachExternalLinkBehaviour(s[0],n):r.default.attachLinkBehaviour(s[0],n),null!=i.load&&i.load((function(){var e=o.default.getLocalizedValue(i.label);s.text(e.value),e.lang?s.attr("lang",e.lang):s.attr("lang",void 0)}))),c.lang&&s.attr("lang",c.lang)})))}).call(this,n(43))},function(e,t,n){var r=i(n(30)),o=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}r.default.addPresenterTable=function(e,t,n){var i=t.getItem(),a=i.getChildren(),s=(0,o.default)("<table>").addClass("rdformsGroup").appendTo(e);(0,o.default)("<thead>").appendTo(s);for(var l=(0,o.default)("<tr>").appendTo(s),c=0;c<a.length;c++){var u=(0,o.default)("<th>").appendTo(l);r.default.attachItemInfo(i,(0,o.default)("<span>").text(a[c].getLabel()).appendTo(u),n)}return s[0]},r.default.fillPresenterTable=function(e,t,n){if(0!==t.length){var i,a,s,l,c=n.view.topLevel;for(n.view.topLevel=!1,i=0;i<t.length;i++)for(s=t[i].getItemGroupedChildBindings(),l=(0,o.default)("<tr>").appendTo(e),a=0;a<s.length;a++)s[a].length>0?r.default.renderPresenter((0,o.default)("<td>").appendTo(l),s[a][0],{view:n.view,noCardinalityButtons:!0}):(0,o.default)("<td>").appendTo(l);n.view.topLevel=c}}},function(e,t,n){var r=a(n(30)),o=a(n(51)),i=a(n(74));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.presenterRegistry,l=r.default.editorRegistry,c=function(e){return function t(n,r,i){var a=r.getValue();i.inEditor&&(null!=a&&""!==a||r.setGist(o.default.generateUUID(),!0)),e.getComponentBefore(r.getItem(),t)(n,r,i)}};s.itemtype("text").style("autoUUID").register(c(s)),l.itemtype("text").style("autoUUID").register(c(l));var u=function(e){return function t(n,r,o){var i=r.getValue(),a=r.getItem();o.inEditor&&(null==i||""===i?(a.hasStyle("autoInitDate")||a.hasStyle("autoUpdateDate"))&&r.setValue((new Date).toISOString(),!0):a.hasStyle("autoUpdateDate")&&r.setValue((new Date).toISOString(),!0)),e.getComponentBefore(r.getItem(),t)(n,r,o)}},d=u(s);s.itemtype("text").datatype("xsd:date").style("autoUpdateDate").register(d),s.itemtype("text").datatype("xsd:date").style("autoInitDate").register(d),s.itemtype("text").datatype("dcterms:W3CDTF").style("autoUpdateDate").register(d),s.itemtype("text").datatype("dcterms:W3CDTF").style("autoInitDate").register(d);var f=u(l);l.itemtype("text").datatype("xsd:date").style("autoUpdateDate").register(f),l.itemtype("text").datatype("xsd:date").style("autoInitDate").register(f),l.itemtype("text").datatype("dcterms:W3CDTF").style("autoUpdateDate").register(f),l.itemtype("text").datatype("dcterms:W3CDTF").style("autoInitDate").register(f);var p=function(e){return function t(n,r,o){if(o.inEditor){var a=r.getValue(),s=r.getItem().getDeps();if((null==a||""===a)&&s){var l=i.default.findBindingRelativeToParentBinding(r.getParent(),s),c=function(e){var t=i.default.matchPathBelowBinding(l,s),n=r.getGist(),o=t?t.getValue():"";n!=o&&r.setGist(o,e)};c(!0),l.addListener((function(e){e!=r&&c()}))}}e.getComponentBefore(r.getItem(),t)(n,r,o)}};s.itemtype("text").style("autoValue").register(p(s)),l.itemtype("text").style("autoValue").register(p(l))},function(e,t,n){var r=n(117),o=n(677);(t=r(!1)).i(o),t.push([e.i,".rdformsLabelRow {\n vertical-align: top;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n padding-top: 6px;\n}\n\n.rdformsLabelRow.rdformsLabel {\n display: inline-block;\n}\n\n.compact .rdformsLabelRow.rdformsLabel {\n display: block;\n}\n\n.rdformsPresenter .rdformsRow.rdformsTopLevel {\n margin-bottom: 0.5em;\n}\n\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup\n.cardgroup>.rdformsFields>.rdformsGroup {\n padding: 2px 5px 5px 10px;\n margin-right: -5px;\n margin-bottom: 14px;\n background-color: #f7f7f9;\n border: 1px solid #e1e1e8;\n border-radius: 4px;\n}\n\n.rdforms .form-group.rdforms-upgrade {\n display: inline-block;\n width: 300px;\n margin: 0;\n}\n\n.rdforms .durationLabel:first-child {\n padding-left: 0;\n}\n\n.rdforms .durationLabel {\n padding-right: 7px;\n padding-left: 13px;\n}\n\n.rdforms .durationValue {\n width: 4em;\n}",""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(30)),o=l(n(199)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=n(200);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e,t,n){return 1===n?e["".concat(t,"_one")]:e["".concat(t,"_more")].replace("$1",n)},b=function(e){function t(){return u(this,t),f(this,h(t).apply(this,arguments))}var n,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(o=[{key:"_handleParams",value:function(e){e.showLanguage=!1!==e.showLanguage,e.filterTranslations=!1,e.styleCls=e.styleCls||"rdformsPresenter rdformsValidator",this.fuzzy=!1!==e.fuzzy,p(h(t.prototype),"_handleParams",this).call(this,e),this.binding&&(0,a.bindingReport)(this.binding)}},{key:"showNow",value:function(e,t){if(e.hasStyle("invisible"))return!1;if(t.length>0)return!0;if(e.hasStyle("deprecated"))return!1;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;var n=this.binding.getMatchingCode();if(n===i.CODES.MISSING_CONSTRAINTS||n===i.CODES.WRONG_NODETYPE)return!1;var r=e.getCardinality();switch(this.includeLevel){case"mandatory":return r&&r.min>=1;case"recommended":default:return r&&(r.min>=1||r.pref>=1)}}},{key:"showAsTable",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,r=t,o=e.getCardinality(),a=null!=o.min?o.min:0,s=null!=o.pref?o.pref:0;n=o.pref>0?o.pref:o.min>0?o.min:"propertygroup"===e.getType()?0:"group"===e.getType()&&null==e.getProperty()?1:0;var l=this.binding.getMatchingCode(),c=!(this.binding.getItem().hasStyle("atleastOneChild")||this.binding.getItem().hasStyle("atMostOneChild")||this.binding.getItem().hasStyle("disjoint")||this.binding.getItem().hasStyle("exactlyOneChild"))||l===i.CODES.TOO_FEW_VALUES_MIN||l===i.CODES.TOO_FEW_VALUES_PREF,u=l===i.CODES.MISSING_CONSTRAINTS||l===i.CODES.WRONG_NODETYPE;if(n>r.length&&c&&!u)for(r=r.concat([]);n>r.length;){var d=i.default.create(this.binding,e);r.length<a?d.setMatchingCode(i.CODES.TOO_FEW_VALUES_MIN):r.length<s&&d.setMatchingCode(i.CODES.TOO_FEW_VALUES_PREF),r.push(d)}return r}},{key:"skipBinding",value:function(){return!1}},{key:"addValidationMarker",value:function(e,t){var n,o,a=t.getItem(),s=a.getCardinality(),l=null!=s.min?s.min:0,c=null!=s.pref?s.pref:0,u="group"===a.getType()?null===(n=t.getCardinalityTracker())||void 0===n?void 0:n.getCode():void 0,d=u&&u!==i.CODES.OK&&u!==i.CODES.UNKNOWN?u:t.getMatchingCode(),f=d!==i.CODES.TOO_FEW_VALUES_PREF&&d!==i.CODES.OK,p=d===i.CODES.TOO_FEW_VALUES_PREF;if(f)return r.default.domClassToggle(e,"error",!0),d===i.CODES.TOO_FEW_VALUES_MIN?o=g(this.messages,"validation_min_required",l):d===i.CODES.TOO_MANY_VALUES?o=g(this.messages,"validation_max",s.max||1):d===i.CODES.AT_MOST_ONE_CHILD?o=this.messages.validation_at_most_one_child:d===i.CODES.AT_LEAST_ONE_CHILD?o=this.messages.validation_at_least_one_child:d===i.CODES.EXACTLY_ONE_CHILD?o=this.messages.validation_exactly_one_child:d===i.CODES.WRONG_NODETYPE?o=this.messages.validation_nodetype:d===i.CODES.WRONG_VALUE?o=this.messages.validation_value:d===i.CODES.WRONG_DATATYPE?o=this.messages.validation_datatype:d===i.CODES.MISSING_CONSTRAINTS?o=this.messages.validation_constraints:d===i.CODES.WRONG_PATTERN?o=this.messages.validation_pattern:d===i.CODES.MISSING_LANGUAGE&&(o=this.messages.validation_language),r.default.renderValidationMessage(e,"error",o),!0;if(p){r.default.domClassToggle(e,"warning",!0);var h=g(this.messages,"validation_min_recommended",c);return r.default.renderValidationMessage(e,"warning",h),!0}return!!a.hasStyle("deprecated")&&(r.default.domClassToggle(e,"deprecated",!0),r.default.renderValidationMessage(e,"deprecated",this.messages.validation_deprecated),!0)}},{key:"addComponent",value:function(e,n){p(h(t.prototype),"addComponent",this).call(this,e,n),this.addValidationMarker(e,n)}}])&&d(n.prototype,o),s&&d(n,s),t}(o.default);t.default=b},,,function(e,t,n){"use strict";n.r(t);var r=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),o=n(35);var i=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},a=n(49),s=n(50),l=n(34);var c=function(e){return"symbol"==typeof e||Object(l.a)(e)&&"[object Symbol]"==Object(s.a)(e)},u=o.a?o.a.prototype:void 0,d=u?u.toString:void 0;var f=function e(t){if("string"==typeof t)return t;if(Object(a.a)(t))return i(t,e)+"";if(c(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var p=function(e){return null==e?"":f(e)},h=/[&<>"']/g,m=RegExp(h.source);t.default=function(e){return(e=p(e))&&m.test(e)?e.replace(h,r):e}},,,,,,,,,,,function(e,t,n){var r,o;r=[n(43)],void 0===(o=function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t){"function"==typeof t[r]&&("constructor"!==r&&n.push(r))}return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},t.Decorate=function(e,t){var r=n(t),o=n(e);function i(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,o=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var a=0;a<o.length;a++){var s=o[a];i.prototype[s]=e.prototype[s]}for(var l=function(e){var n=function(){};e in i.prototype&&(n=i.prototype[e]);var r=t.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,n),r.apply(this,arguments)}},c=0;c<r.length;c++){var u=r[c];i.prototype[u]=l(u)}return i};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var o=0;o<n.length;o++){var i=n[o];(i=i.substring(0,1).toLowerCase()+i.substring(1))in r||(r[i]={}),o==n.length-1&&(r[i]=e[t]),r=r[i]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),o=n.style.overflowX,i=n.style.overflowY;return(o!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===o||"scroll"===i||(r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth))},t.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,(function(e){r=r.add(e)})),n=r}t.append(n)},t.__cache={};var o=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++o),t=o.toString())),t},t.StoreData=function(e,n,r){var o=t.GetUniqueElementId(e);t.__cache[o]||(t.__cache[o]={}),t.__cache[o][n]=r},t.GetData=function(n,r){var o=t.GetUniqueElementId(n);return r?t.__cache[o]&&null!=t.__cache[o][r]?t.__cache[o][r]:e(n).data(r):t.__cache[o]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n]},t}.apply(t,r))||(e.exports=o)},,,,,,,,,,,,,,function(e,t,n){var r=a(n(43)),o=a(n(30)),i=a(n(85));function a(e){return e&&e.__esModule?e:{default:e}}n(693),n(698),n(729),n(730),n(732),n(734),n(735),o.default.preEditorRenderer=function(e,t,n){n.$controlDiv=(0,r.default)('<div class="rdformsFieldControl">'),n.controlDiv=n.$controlDiv[0],"group"!==t.getItem().getType()&&!0!==n.noCardinalityButtons&&o.default.addRemoveButton(e,t,n)},o.default.preEditorViewRenderer=function(e,t,n){var o,a=t.getItem();if(!n.hideAddress&&(a.hasStyle("showURI")?o=(0,r.default)('<div class="rdformsField rdformsGroupURI">').text(t.getValue()):a.hasStyle("showLink")&&(o=(0,r.default)('<a class="rdformsField rdformsGroupURI rdformsUrl">').text(t.getValue()).attr("href",t.getValue()),i.default.attachExternalLinkBehaviour(o[0],t)),o)){var s=(0,r.default)('<div class="rdformsRow">').appendTo(e);n.topLevel&&s.addClass("rdformsTopLevel"),(0,r.default)('<div class="rdformsLabel">').text(n.view.messages.address_label).appendTo(s),o.appendTo((0,r.default)('<div class="rdformsFields">').appendTo(s))}},o.default.postEditorRenderer=function(e,t,n){n.$controlDiv.appendTo(e)};var s={error:"exclamation-triangle",warning:"exclamation-circle",deprecated:"question-circle"};o.default.renderValidationMessage=function(e,t,n){var r=s[t],i=o.default.domCreate("div",e);o.default.domClassToggle(i,"rdformsValidationMessageWrapper",!0);var a=o.default.domCreate("i",i);o.default.domClassToggle(a,"fas fa-".concat(r),!0);var l=o.default.domCreate("span",i);o.default.domClassToggle(l,"rdformsValidationMessage",!0),o.default.domText(l,n)}},function(e,t,n){var r=i(n(43)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}o.default.renderEditorLabel=function(e,t,n,i){if(n.hasStyle("nonEditable")||n.hasStyle("heading"))return o.default.renderPresenterLabel(e,t,n,i,!0);var a=n.getLabel();a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=(0,r.default)('<div class="rdformsLabelRow">').appendTo(e);i.labelNode=s[0];var l=(0,r.default)('<span class="rdformsLabel">').text(a).appendTo(s),c=n.getCardinality(),u=i.view.messages;c.min>0?(0,r.default)('<span class="rdformsMark rdformsMandatoryMark">').text(u.mandatoryMark).appendTo(s):c.pref>0?(0,r.default)('<span class="rdformsMark rdformsRecommendedMark">').text(u.recommendedMark).appendTo(s):(0,r.default)('<span class="rdformsMark rdformsOptionalMark">').text(u.optionalMark).appendTo(s),o.default.attachItemInfo(n,l[0],i),null!=t?i.view.showAsTable(n)||null!=c.max&&c.max===c.min||("group"===n.getType()?o.default.addGroupButtons(e,s[0],t,i):o.default.addCreateChildButton(e,s[0],t,i)):o.default.addExpandButton(e,s[0],n,i)},(0,r.default)(document).ready((function(){(0,r.default)(document.body).on("show.bs.popover click",(function(e){(0,r.default)('[data-toggle="popover"]').each((function(t,n){e.target.innerHTML!==n.innerHTML&&(0,r.default)(n).popover("hide")}))}))})),o.default.attachItemInfo=function(e,t){if(null==e||null==e.getProperty()&&null==e.getDescription())(0,r.default)(t).addClass("noPointer");else{var n=e.getDescription()||"",i="";e.getProperty()&&(i='<div class="property"><a target="_blank" href="'.concat(e.getProperty(),'">').concat(e.getProperty(),"</a></div>"));var a=e.getLabel();a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s={html:!0,container:o.default.getPopoverContainer(),placement:"auto",trigger:"click focus",title:a,content:'<div class="description">'.concat(n.replace(/(\r\n|\r|\n)/g,"<br/>"),"</div>").concat(i)};(0,r.default)(t).popover(s).attr("data-toggle","popover")}}},function(e,t,n){(function(e){var t=a(n(84)),r=a(n(731)),o=a(n(30)),i=a(n(51));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.editorRegistry;s.itemtype("text").datatype("xsd:duration").register(r.default);var l=function(e,t,n,r){var o=null,i=function(){o=null;var i=e.val(),a=!0;n&&!n.test(i)||(t.setGist(i),r&&i&&(r.prop("href",t.getValue()),a=!1)),r&&r.toggleClass("rdformsExtLinkDisabled",a),e.toggleClass("rdformsEmpty",""===i)};e.on("keyup paste",(function(){null!=o&&clearTimeout(o),o=setTimeout(i,200)}))},c=function(t,n){var r=new RegExp(t);s.itemtype("text").datatype(n).register((function(n,i,a){var s=e('<input type="text" class="form-control rdformsFieldInput">');if(s.val(i.getGist()).attr("pattern",t).appendTo(n),i.getItem().hasStyle("externalLink")){var c=e('<a class="fas fa-external-link-alt rdformsExtLink '.concat(o.default.getExtLinkClass(),'" target="_blank">'));c.appendTo(a.controlDiv),e(n).addClass("rdformsExtLinkControl"),l(s,i,r,c),s.keyup()}else l(s,i,r);i.getItem().isEnabled()||s.prop("disabled",!0)}))};c("^-?\\d+$","xsd:integer"),c("^(\\d+(\\.\\d+)?)$","xsd:decimal"),s.itemtype("text").register((function(n,r,a){var s,c=r.getItem();if(c.hasStyle("multiline")){var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:70,n=e.split("\n").length;return n+=Number.parseInt(e.length/t,10)}(r.getGist());(s=e('<textarea class="form-control rdformsFieldInput autoExpand" rows="'.concat(u,'">'))).on("input focus",(function(){if(void 0===this.baseScrollHeight){var e=s.height();this.baseScrollHeight=s.innerHeight()-e,this.baseLineHeight=e/u}this.rows=1;var t=1+Math.ceil((this.scrollHeight-this.baseScrollHeight)/this.baseLineHeight);this.rows=t}))}else s=c.hasStyle("email")?e('<input type="email" class="form-control rdformsFieldInput">'):e('<input type="text" class="form-control rdformsFieldInput">');s.val(r.getGist()).appendTo(n);var d=c.getPattern(),f=null;if(null!=d&&(s.attr("pattern",d),f=new RegExp(d)),c.hasStyle("externalLink")){var p=e('<a class="fas fa-external-link-alt rdformsExtLink '.concat(o.default.getExtLinkClass(),'" target="_blank">'));p.appendTo(a.controlDiv),e(n).addClass("rdformsExtLinkControl"),l(s,r,f,p),s.keyup()}else l(s,r,f);var h=c.getNodetype();if("LANGUAGE_LITERAL"===h||"PLAIN_LITERAL"===h){e(n).addClass("rdformsLangcontrolledfield"),e(a.controlDiv).addClass("rdformsLangFieldControl");var m=e('<select class="form-control rdformsLanguage">').appendTo(a.controlDiv),g=o.default.getPrimaryLanguageList(),b=o.default.getNonPrimaryLanguageList();if(b=i.default.cloneArrayWithLabels(b),0===g.length||((g=i.default.cloneArrayWithLabels(g,!0)).forEach((function(t){e("<option>").html(t.label).val(t.value).appendTo(m)})),e("<option>").html("─────").attr("disabled","disabled").appendTo(m)),b.forEach((function(t){e("<option>").html(t.label).val(t.value).appendTo(m)})),r.isValid())m.val(r.getLanguage());else{var v=t.default.locale();"string"==typeof v&&""!==v&&(m.val(v),r.setLanguage(v))}m.val(r.getLanguage()).change((function(){r.setLanguage(m.val())})),a.clear=function(){m.val(""),s.val("")}}else a.clear=function(){s.val("")}}))}).call(this,n(43))},function(e,t,n){(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(675),o=0;t.default=function(t,n,i){var a=i.view.messages,s=(0,r.fromDuration)(n.getValue()),l=e("<div>").addClass("rdformsDuration rdformsFieldInput").appendTo(t),c=function(){l.empty(),["years","months","days","hours","minutes"].forEach((function(t){var i=e("<div>").appendTo(l),c=e("<div>").addClass("input-group").appendTo(i),u="duration_".concat(o);o+=1,e("<span>").addClass("input-group-addon").attr("id",u).text(a["duration_".concat(t)]).appendTo(c);var d=e("<input>").addClass("form-control").attr("type","number").attr("aria-describedby",u).appendTo(c);s[t]&&d.val(s[t]),d.change((function(){s[t]=e(this).val(),n.setValue((0,r.toDuration)(s))}))}))};c(),i.clear=function(){s={},c()}}}).call(this,n(43))},function(e,t,n){(function(e){var t=i(n(30)),r=i(n(85)),o=i(n(733));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.default.editorRegistry;a.itemtype("choice").choices().check((function(e){var t=e.getChoices();return!(e.getHierarchyProperty()||e.hasStyle("tree"))&&1===e.getCardinality().max&&!e.hasStyle("dropDown")&&(null!=t&&t.length<5||e.hasStyle("verticalRadioButtons")||e.hasStyle("horizontalRadioButtons"))})).register((function(e,t,n){new o.default({binding:t,context:n},e)})),a.itemtype("choice").choices().register((function(e,n,r){var o=n.getItem(),i=o.getChoices().map((function(e){return{id:e.value,text:o._getLocalizedValue(e.label).value,choice:e}}));o.hasStyle("preserveOrderOfChoices")||i.sort((function(e,t){return e.text<t.text?-1:1})),r.choices=i,t.default.renderSelect(e,n,r);var a=r.setValue,s=n.getChoice();s&&(null!=s.load?s.load((function(){a(s)})):a(s))})),a.itemtype("choice").choices("none").register((function(n,o,i){i.chooser=t.default.chooserRegistry.getComponent(o.getItem()),i.choices=void 0;var a=function(){t.default.renderSelect(n,o,i);var a=i.setValue,s=e('<button class="btn btn-primary bmd-btn-fab bmd-btn-fab-sm browseChoices" type="button">').attr("title",i.view.messages.edit_browse).appendTo(n);if(i.chooser&&i.chooser.supportsInlineCreate&&i.chooser.supportsInlineCreate(o)){var l=e('<span class="fa-stack">').appendTo(s);e('<span class="fas fa-search fa-stack-1x" aria-hidden="true">').appendTo(l),e('<span class="fas fa-plus fa-stack-1x" aria-hidden="true">').appendTo(l)}else e('<span class="fas fa-search" aria-hidden="true">').appendTo(s);var c=function(e){e?(o.setChoice(e),null!=e.load?e.load((function(){a(e)})):a(e)):o.setChoice(null)};i.chooser&&"function"==typeof i.chooser.show?s.click((function(){t.default.openChoiceSelector(o,c)})):s.addClass("disabled"),r.default.hasDnDSupport(o)&&r.default.addDnD(o,cNode,c)},s=o.getChoice();if(s)if(null!=s.load){var l=e('<div class="form-group rdforms-upgrade">').appendTo(n);e('<input type="text" disabled class="form-control rdformsFieldInput">').val(s.value).appendTo(l),s.load((function(){if(s.upgrade){var t=e('<button class="btn btn-default bmd-btn-fab bmd-btn-fab-sm browseChoices" type="button">').attr("title",i.view.messages.edit_upgrade).click((function(){s.upgrade(o,(function(e){l.remove(),t.remove(),a(),i.setValue(e),o.setChoice(e)}))})).insertAfter(l);e('<span class="fas fa-magic" aria-hidden="true">').appendTo(t)}else l.remove(),a(),i.setValue(s)}))}else a(),i.setValue(s);else a()}))}).call(this,n(43))},function(e,t,n){(function(e){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=0,o=function(){function t(e,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.binding=e.binding,this.item=this.binding.getItem(),this.choices=this.item.getChoices().map((function(e){return{label:e.label,description:e.description,value:e.value,text:r.item._getLocalizedValue(e.label).value,choice:e}})),this.item.hasStyle("preserveOrderOfChoices")||this.choices.sort((function(e,t){return e.text<t.text?-1:1})),this.choice=this.binding.getChoice(),this.context=e.context,this.context.clear=this.clear.bind(this),this.domNode=n,this.buildRendering()}var o,i,a;return o=t,(i=[{key:"clear",value:function(){e(this.domNode).find("input").prop("checked",!1)}},{key:"buildRendering",value:function(){var t=this;null!=this.choice&&this.choice.mismatch&&this.choices.push(this.choice);for(var n=this.binding.getValue(),o=function(o){var i=t.choices[o],a=void 0,s=e('<div class="radio form-check">').appendTo(t.domNode);a=t.item.hasStyle("verticalRadioButtons")?e("<label>").appendTo(s):e('<label class="form-check-label">').appendTo(s),i.description&&a.attr("title",t.item._getLocalizedValue(i.description).value||i.seeAlso||i.value);var l=e('<input type="radio">').val(i.value).attr("checked",i.value===n).attr("name","rdformsRadio_".concat(r)).appendTo(a);a.append(t.item._getLocalizedValue(i.label).value),i.mismatch?(a.addClass("mismatch disabled"),l.attr("disabled",!0)):a.click((function(e){t.binding.setValue(l.val())}))},i=0;i<this.choices.length;i++)o(i);r+=1}}])&&n(o.prototype,i),a&&n(o,a),t}();t.default=o}).call(this,n(43))},function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o=(r=n(30))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==t(e)&&"function"!=typeof e)return{default:e};var n=a();if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(74));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}o.default.addRemoveButton=function(t,n,r){var o=e('<span class="fas fa-times action">').attr("title",r.view.messages.edit_remove).appendTo(r.controlDiv),i=n.getCardinalityTracker(),a=i.addListener((function(){}));o.click((function(){if(!i.isMin()||!i.isDepsOk()||1===i.getCardinality())if(1===i.getCardinality()){"choice"===n.getItem().getType()?n.setChoice(null):n.setValue("");var s=n.getItem().getNodetype();"LANGUAGE_LITERAL"!==s&&"PLAIN_LITERAL"!==s||n.setLanguage(""),r.clear?r.clear():e(t).find("input").val("")}else i.removeListener(a),o.unbind("click"),n.remove(),e(t).remove()}))},o.default.addExpandButton=function(t,n,r,a){var s=e('<span class="fas fa-plus action">').attr("title",a.view.messages.edit_expand).appendTo(n).click((function(){var e=i.create(a.view.binding,r);if(a.view.showAsTable(r)){var l=a.view.addTable(t,e,r);a.view.fillTable(l,[e])}else a.view.addRow(t,e,!1),o.default.addGroupButtons(t,n,e,a);s.unbind("click").remove()}))},o.default.addGroupButtons=function(t,n,r,o){var a,s=r.getParent(),l=r.getItem(),c=r.getCardinalityTracker(),u=l.getCardinality();1!==u.max&&(a=e('<span class="action fas fa-plus ">').attr("title",o.view.messages.edit_add).appendTo(n)).click((function(){if(!c.isMax()){var e=i.create(s,l);o.view.addRow(t,e)}}));var d=e('<span class="action fas fa-times">').attr("title",o.view.messages.edit_remove).appendTo(n);1===u.max&&d.addClass("indentRemove");var f=c.addListener((function(){a&&a.toggleClass("disabled",c.isMax()),d.toggleClass("disabled",c.isMin()&&c.isDepsOk())}));d.click((function(){if(!c.isMin()||!c.isDepsOk())if(o.clear&&o.clear(),1===c.getCardinality()){if(c.removeListener(f),a&&a.unbind("click"),d.unbind("click"),r.remove(),o.view.showNow(l,[])){var n=o.view.prepareBindings(l,[]);n.length>0&&o.view.addRow(t,n[0])}e(t).remove()}else c.removeListener(f),a&&a.unbind("click"),d.unbind("click"),r.remove(),e(t).remove()}))},o.default.addCreateChildButton=function(t,n,r,o){var a=r.getParent(),s=r.getItem(),l=r.getCardinalityTracker(),c=e('<span class="action fas fa-plus">').attr("title",o.view.messages.edit_add).appendTo(n).click((function(){if(!l.isMax()){var e=i.create(a,s);o.view.addRow(t,e)}}));l.addListener((function(){c.toggleClass("disabled",l.isMax())}))}}).call(this,n(43))},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=c(n(30)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(74)),a=c(n(51)),s=c(n(43));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}var u=function e(t,n,r){var a=n.getItem().getChildren(),l=n.getItemGroupedChildBindings(),c=(0,s.default)("<tr>").appendTo(t);if(l.forEach((function(e,t){0!==e.length||a[t].hasStyle("nonEditable")||i.create(n,a[t])})),l.forEach((function(e){e.length>0&&o.default.renderEditor((0,s.default)("<td>").appendTo(c)[0],e[0],{view:r.view,noCardinalityButtons:!0})})),!n.getItem().hasStyle("firstcolumnfixedtable")){var u=(0,s.default)("<td>").addClass("rdformsTableControl").appendTo(c),d=(0,s.default)("<span>").addClass("action editDelete").attr("title",r.view.messages.edit_remove).appendTo(u),f=n.getCardinalityTracker(),p=f.addListener((function(){d.toggleClass("disabled",f.isMin())}));d.click((function(){if(!f.isMin()){if(1===f.getCardinality()){var o=n.getParent(),a=n.getItem(),s=i.create(o,a);e(t,s,r)}f.removeListener(p),removeConnect.remove(),n.remove(),c.remove()}}))}};o.default.addEditorTable=function(e,t,n){var r=t.getItem(),a=r.getChildren(),l=(0,s.default)("<table>").appendTo(e);(0,s.default)(l).addClass("rdformsGroup");var c=(0,s.default)("<thead>").appendTo(l),d=(0,s.default)("<tbody>").appendTo(l),f=(0,s.default)("<tr>").appendTo(c);for(colInd=0;colInd<a.length;colInd++){var p=(0,s.default)("<th>").appendTo(f);(0,s.default)(p).addClass("rdformsColumnHeader".concat(colInd)),o.default.attachItemInfo(r,(0,s.default)("<span>").text(a[colInd].getLabel()).appendTo(p)[0],n)}if(!t.getItem().hasStyle("firstcolumnfixedtable")){var h=(0,s.default)("<th>").addClass("rdformsTableControl").appendTo(f),m=t.getParent(),g=t.getCardinalityTracker(),b=(0,s.default)("<span>").addClass("action editAdd").attr("title",n.view.messages.edit_add).appendTo(h).click((function(){if(!g.isMax()){var e=i.create(m,r);u(d[0],e,n)}}));g.addListener((function(){b.toggleClass("disabled",g.isMax())}))}return d},o.default.fillEditorTable=function(e,t,n){var r=t;if(0!==r.length){var s=r[0].getItem();if(s.hasStyle("nonEditable"))return o.default.renderEditor(e,r,n);s.hasStyle("firstcolumnfixedtable")&&(r=function(e){var t=[],n=e[0].getItem(),r=n.getChildren()[0],o=r.getChoices();(o=a.default.cloneArrayWithLabels(o)).sort((function(e,t){return e.label>t.label?1:e.label<t.label?-1:0}));var s={};(e||[]).forEach((function(e){var t=e.getItemGroupedChildBindings();if(t.length>0&&t[0].length>0){var n=t[0][0];s[n.getValue()]=e}}));var l=e[0].getParent();return(o||[]).forEach((function(e){if(null!=s[e.value])t.push(s[e.value]);else{var o=i.create(l,n),a=i.create(o,r);a.setExcludeFromTreeValidityCheck(!0),a.setAncestorValid(!1),a.setChoice(e),t.push(o)}})),t}(r)),r.forEach((function(t){u(e,t,n)}))}}},function(e,t,n){(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(84)),o=i(n(30));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function t(e,n){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.binding=e.binding,this.context=e.context,this.item=this.binding.getItem(),this.allowedOptions=(r=this.item,o={},i=r.getDatatype(),(Array.isArray(i)?i:[i]).forEach((function(e){var t=function(e){switch(e){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"Datetime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";default:return}}(e);t&&(o[t]=!0)})),o),this._date=null,this._valid=!1,this._excludeTime=!0,this.domNode=n,this.buildUI(),this.initDatePicker(),this.initialize()}var n,o,i;return n=t,(o=[{key:"includeDateOption",value:function(){return this.allowedOptions.Date}},{key:"includeDateTimeOption",value:function(){return this.allowedOptions.Datetime}},{key:"includeYearOption",value:function(){return this.allowedOptions.Year}},{key:"buildUI",value:function(){}},{key:"initDatePicker",value:function(){}},{key:"initialize",value:function(){var t=this;this.$timeInput=e(this.timeInput).attr("pattern","^([0-1][0-9]|2[0-3]):[0-5][0-9]$").change((function(){var e=t.$timeInput.val();if("function"==typeof t.$timeInput[0].checkValidity){if(!t.$timeInput[0].checkValidity())return}else if(new RegExp("^([0-1][0-9]|2[0-3]):[0-5][0-9]$").test(e))return;t._date.setHours(parseInt(e.substr(0,2),10),parseInt(e.substr(3,2),10)),t.binding.setValue(t._date.toISOString())})),this.$yearInput=e(this.yearInput).attr("pattern","^-?[0-9][0-9][0-9][0-9]$").change((function(){var e=t.$yearInput.val();t._date.setYear(parseInt(e,10)),t.binding.setValue(e)})),this.$dateControl=e(this.dateControl).change((function(){var e=t.$dateControl.val();t["_show".concat(e)]()})),this._binding2Gui()}},{key:"setDateInPicker",value:function(){}},{key:"setDateInBinding",value:function(e){this._valid=!0,this._date.setFullYear(e.getFullYear(),e.getMonth(),e.getDate());var t=(0,r.default)(e).toISOString();this._excludeTime?this.binding.setValue(t.substring(0,t.indexOf("T"))):(this.binding.setValue(t),this.$timeInput.prop("disabled",!1))}},{key:"clear",value:function(){this._valid=!1,e(this.domNode).find("input").val("")}},{key:"_binding2Gui",value:function(){this._firstTime=!0;var e=this.binding.getValue();this._valid=null!=e&&""!==e,this._valid&&(this._date=new Date(e),this._valid=null!=this._date),this._date=this._date||new Date("2000"),this._valid?/^\d{4}$/.test(e)?(this.$dateControl.val("Year"),this._showYear()):/T/.test(e)&&-1===e.indexOf("T00:00:00")?(this.$dateControl.val("DateTime"),this._showDateTime()):(this.$dateControl.val("Date"),this._showDate()):this._showDate(),this._firstTime=!1}},{key:"_showDate",value:function(){if(this._excludeTime=!0,this.$yearInput.parent().hide(),this.$timeInput.parent().hide(),this.$datepicker.parent().show(),this._valid){this.setDateInPicker(this._date);var e=this._date.toISOString();this._firstTime||(this.binding.setValue(e.substring(0,e.indexOf("T"))),this.binding.setDatatype("xsd:date"))}else this.setDateInPicker(null)}},{key:"_showDateTime",value:function(){if(this._excludeTime=!1,this.$yearInput.parent().hide(),this.$timeInput.parent().show(),this.$datepicker.parent().show(),this._valid){if(0!==this._date.getHours()||0!==this._date.getMinutes()){var e=this._date.getHours();e=e<=9?"0".concat(e):e;var t=this._date.getMinutes();t=t<=9?"0".concat(t):t,this.$timeInput.val("".concat(e,":").concat(t))}else this.$timeInput.val("");this.setDateInPicker(this._date),this._firstTime||(this.binding.setValue(this._date.toISOString()),this.binding.setDatatype("xsd:dateTime"))}else this.setDateInPicker(null),this.$timeInput.val("")}},{key:"_showYear",value:function(){this.$yearInput.parent().show(),this.$timeInput.parent().hide(),this.$datepicker.parent().hide(),this._valid?(this.$yearInput.val(this._date.getFullYear()),this._firstTime||(this.binding.setValue("".concat(this._date.getFullYear())),this.binding.setDatatype("xsd:gYear"))):this.$yearInput.val("")}},{key:"_setValueAttr",value:function(e){this.binding.setValue(e)}}])&&a(n.prototype,o),i&&a(n,i),t}();t.default=s,s.register=function(t){var n=function(n,r,o){var i=new t({messages:o.view.messages,binding:r,context:o},e("<div>").appendTo(n)[0]);o.clear=function(){i.clear()}},r=o.default.editorRegistry;r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#date").register(n),r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#dateTime").register(n),r.itemtype("text").datatype("http://www.w3.org/2001/XMLSchema#gYear").register(n),r.itemtype("text").datatype("http://purl.org/dc/terms/W3CDTF").register(n)}}).call(this,n(43))},function(e,t,n){var r=n(117),o=n(699);(t=r(!1)).i(o),t.push([e.i,".test-class {\n color: red !important;\n}\n\n.test-class2 {\n color: green !important;\n}\n\n.rdformsEditor .rdformsRow.rdformsTopLevel {\n margin-bottom: 1em;\n}\n\n.input-group-btn > .form-control {\n margin-left: -1px;\n width: auto;\n}\n\n.rdformsEditor .rdformsField .rdformsLanguage {\n width: 117px;\n float: none;\n}\n\n.rdformsEditor .rdformsField .rdformsLangFieldControl {\n width: 146px;\n}\n\n.rdformsDateValue .form-control:invalid,\n.rdformsFieldInput:invalid {\n /* insert your own styles for invalid form input */\n background-color: lightcoral;\n}\n\n.rdformsDateValue .rdformsDatepicker {\n width: 12em;\n display: inline-block;\n}\n\n.rdformsDateValue .yearInput,\n.rdformsDateValue .timeInput {\n width: 6em;\n display: inline-block;\n vertical-align: top;\n}\n\n.rdformsDateValue .input {\n padding-right: 15px;\n}\n\n.rdformsDateValue .dateControl {\n width: 10em;\n display: inline-block;\n margin-right: 1em;\n vertical-align: top;\n}\n\n.rdformsDateValue .fas {\n line-height: 21px;\n}\n\n.rdformsDuration>div {\n width: 10em;\n display: inline-block;\n margin-right: 10px;\n}\n\n.rdformsEditor .rdformsDuration>div {\n margin-bottom: 10px;\n margin-right: 40px;\n}\n\n.rdformsEditor .rdformsDuration>div .input-group-addon {\n margin-right: 10px;\n margin-top: 7px;\n min-width: 60px;\n}\n\n.popover strong {\n color: #808080;\n}\n\n.popover a {\n color: #808080;\n}\n.popover .property {\n margin-top: 1em;\n font-size: small;\n}\n\n.popover .property>a {\n word-wrap: break-word;\n}\n\n.popover .description {\n max-width: 300px;\n font-size: small;\n}\n\n.rdformsFieldControl>.fa.action {\n float: right;\n position: initial;\n margin-top: 8px;\n}\n\n.fa.action.disabled {\n cursor: default;\n}\n\n.rdformsEditor .rdformsFieldControl {\n height: 3em;\n top: 0px;\n}\n\n.rdformsLabelRow>.action.fas {\n vertical-align: middle;\n}\n\n.rdformsLabelRow>.action.indentRemove.fa-times,\n.rdformsLabelRow>.action.fa-plus {\n margin-left: 1em;\n}\n\n.input-group-btn .fas {\n line-height: 20px;\n}\n\n.rdformsField>.select2,\n.rdformsField>.select2-container { /* select2-container is for backwards compatability*/\n min-width: 12em;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow {\n padding-top: 6px;\n}\n\n.rdformsEditor .rdformsField.rdformsLangcontrolledfield {\n padding-right: 152px;\n}\n.rdformsEditor .rdformsField {\n min-height: 34px;\n padding-right: 28px;\n}\n\n.rdformsEditor .systemChoice.input-group {\n max-width: 22em;\n}\n\n.rdformsEditor .browseChoices {\n margin-left: 4px;\n height: calc(1.5em + .75rem + 2px);\n}\n\n.browseChoices .fa-search.fa-stack-1x {\n top: -2px;\n left: -13px;\n font-size: 20px;\n}\n\n.browseChoices .fa-plus.fa-stack-1x {\n top: -11px;\n left: -2px;\n font-size: 11px;\n}\n\n.rdformsDateValue.rdformsDatepicker {\n display: inline-block;\n}\n\n.rdformsDateValue.rdformsDatepicker>.input-group {\n width: 150px;\n}\n\n/* Autoexpand style */\n.rdforms .rdformsFields textarea.form-control {\n display: block;\n box-sizing: padding-box;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.rdforms .rdformsFields textarea.form-control {\n min-height: 38px;\n max-height: 200px;\n line-height: 1.5;\n}\n\n.rdforms .rdformsFields textarea.form-control.rdformsEmpty {\n height: 38px;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 11px;\n float: left;\n margin-left: 17px;\n}\n\n\n/* Test */\n.rdformsEditor .rdformsFieldControl .action {\n float: right;\n}\n\n.rdforms .action {\n margin-top: 7px;\n}\n\n.rdformsEditor .rdformsFieldControl>.action,\n.rdformsEditor .rdformsLangFieldControl>.action {\n margin-top: 11px;\n}\n\n.rdformsEditor .form-check {\n padding-left: 0;\n}\n\n.rdformsField .radio.form-check input {\n margin-right: 8px;\n}\n\n.rdformsEditor .select2-container .select2-selection--single .select2-selection__rendered {\n padding-left: 0;\n}\n\n.rdformsEditor .select2-container .select2-selection--single {\n padding: .275rem .75rem;\n height: calc(1.5em + .75rem + 2px);\n}\n\n.rdformsEditor .select2-container--default .select2-selection--single .select2-selection__arrow {\n top: 6px;\n}\n\n.rdformsEditor .select2-container--default .select2-selection--single {\n border: 1px solid #ced4da;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n margin-left: -22px;\n}",""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(678)),o=a(n(30)),i=a(n(43));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n instanceof Node?this.domNode=n:this.domNode="string"==typeof n?document.getElementById(n):document.createElement("div"),this.template=t.template,this.resource=t.resource,this.graph=t.graph,this.compact=void 0===t.compact||t.compact,this.includeLevel=t.includeLevel||"mandatory",this.includeLevelControllsVisible=void 0===t.includeLevelControllsVisible||t.includeLevelControllsVisible,this.externalEditor=void 0!==t.externalEditor&&t.externalEditor,this.messages=t.messages,this.render()}var t,n,a;return t=e,(n=[{key:"render",value:function(){this.domNode.innerHTML='<div class="cardinality" style="display: none;">\n <div class="btn-group" role="group">\n <button type="button" class="btn btn-secondary btn-lg active mandatory">Mandatory</button>\n <button type="button" class="btn btn-secondary btn-lg active recommended">Recommended</button>\n <button type="button" class="btn btn-secondary btn-lg optional">Optional</button>\n </div>\n <div class="rdformsLevelNode"></div>',this._cardinalityNode=(0,i.default)(this.domNode).find(".cardinality")[0],this._mandatoryButton=(0,i.default)(this.domNode).find(".mandatory").click(this._mandatoryClick.bind(this))[0],this._recommendedButton=(0,i.default)(this.domNode).find(".recommended").click(this._recommendedClick.bind(this))[0],this._optionalButton=(0,i.default)(this.domNode).find(".optional").click(this._optionalClick.bind(this))[0],this._rdformsNode=(0,i.default)(this.domNode).find(".rdformsLevelNode")[0],this.includeLevelControllsVisible&&(this._cardinalityNode.style.display=""),this.setIncludeLevel(this.includeLevel),this.externalEditor||(this._editor=new r.default({includeLevel:this.includeLevel,compact:this.compact},this._rdformsNode),this.show())}},{key:"show",value:function(e,t,n){this.resource=e||this.resource,this.graph=t||this.graph,this.template=n||this.template,this._editor&&this._editor.show({resource:this.resource,graph:this.graph,template:this.template,includeLevel:this.includeLevel}),this.localize()}},{key:"setIncludeLevel",value:function(e){if(null==this._editor||this._editor.getIncludeLevel()!==e)switch(this.includeLevel=e,e){case"mandatory":this._mandatoryClick();break;case"recommended":this._recommendedClick();break;case"optional":this._optionalClick()}}},{key:"disableLevel",value:function(e){switch(e){case"mandatory":this._mandatoryLabel.setAttribute("disabled",!0);break;case"recommended":this._recommendedLabel.setAttribute("disabled",!0);break;case"optional":this._optionalLabel.setAttribute("disabled",!0)}}},{key:"localize",value:function(){var e=o.default.getMessages();o.default.domText(this._mandatoryButton,e.mandatoryLabel),o.default.domText(this._recommendedButton,e.recommendedLabel),o.default.domText(this._optionalButton,e.optionalLabel)}},{key:"setExternalEditor",value:function(e){e.getIncludeLevel()!==this.includeLevel&&e.setIncludeLevel(this.includeLevel),this._editor=e,this.show()}},{key:"_mandatoryClick",value:function(e){this._mandatoryButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!1),o.default.domClassToggle(this._optionalButton,"active",!1),this._updateEditor("mandatory")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_recommendedClick",value:function(e){this._recommendedButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!0),o.default.domClassToggle(this._optionalButton,"active",!1),this._updateEditor("recommended")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_optionalClick",value:function(e){this._optionalButton.getAttribute("disabled")||(o.default.domClassToggle(this._mandatoryButton,"active",!0),o.default.domClassToggle(this._recommendedButton,"active",!0),o.default.domClassToggle(this._optionalButton,"active",!0),this._updateEditor("optional")),e&&(e.preventDefault(),e.stopPropagation())}},{key:"_updateEditor",value:function(e){this._editor&&this._editor.setIncludeLevel(e)}}])&&s(t.prototype,n),a&&s(t,a),e}();t.default=l},,,,,,,function(e,t,n){var r,o;r=[n(781),n(714),n(43)],void 0===(o=function(e,t,n){function r(e,t){var n=t.get("data")||[];r.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(r,e),r.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var r=this,o=this.$element.find("option"),i=o.map((function(){return r.item(n(this)).id})).get(),a=[];function s(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,i)>=0){var u=o.filter(s(c)),d=this.item(u),f=n.extend(!0,{},c,d),p=this.option(f);u.replaceWith(p)}else{var h=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(h,m)}a.push(h)}}return a},r}.apply(t,r))||(e.exports=o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bundleLoader",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"ItemStore",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Editor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Presenter",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"renderingContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ValidationPresenter",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"LevelEditor",{enumerable:!0,get:function(){return c.default}}),n(287),n(496);var r=u(n(497)),o=u(n(498));n(778);var i=u(n(678)),a=u(n(199)),s=u(n(30)),l=u(n(700)),c=u(n(738));function u(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){n(779),n(728),n(780),n(785),n(787),n(788),n(789),n(791),n(793),n(795)},function(e,t,n){var r,o,i,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
58
58
  /*!
59
59
  * Bootstrap v4.4.1 (https://getbootstrap.com/)
60
60
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)