@entryscape/rdforms 10.15.1 → 10.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -31
- package/dist/rdforms.bootstrap.js +1 -1
- package/dist/rdforms.jquery.js +1 -1
- package/dist/rdforms.node.js +7 -7
- package/dist/rdforms.react.js +4 -4
- package/package.json +3 -12
- package/src/template/Item.js +1 -1
- package/src/template/ItemStore.js +2 -2
- package/src/template/OntologyStore.js +1 -1
- package/src/utils.js +1 -1
- package/src/view/View.js +1 -0
- package/src/view/bootstrap/choice.js +2 -2
- package/src/view/jquery/labels.js +2 -1
- package/src/view/jquery/text.js +1 -1
- package/src/view/react/labels.js +4 -2
- package/src/view/renderingContext.js +3 -1
- package/dist/rdforms.bmd.js +0 -2
- package/dist/rdforms.bmd.js.LICENSE.txt +0 -81
- package/renderers/bmd.js +0 -9
- package/src/view/bmd/DateTimeMD.js +0 -120
- package/src/view/bmd/Selectize.css +0 -163
- package/src/view/bmd/Selectize.js +0 -69
- package/src/view/bmd/all.js +0 -27
- package/src/view/bmd/style.css +0 -150
package/dist/rdforms.jquery.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see rdforms.jquery.js.LICENSE.txt */
|
|
2
|
-
!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()}(self,()=>(()=>{var e={16:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},51:(e,t,r)=>{"use strict";var n=r(66584),i=r(64417);n({target:"Promise",stat:!0,forced:r(80994).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},77:(e,t,r)=>{var n=r(45364),i=r(36615),o=r(53676),a=r(42489),s=r(32039),u=r(76624),l=r(31513),c="[object Map]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",g=l(n),y=l(i),m=l(o),v=l(a),b=l(s),w=u;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=c||o&&w(o.resolve())!=f||a&&w(new a)!=d||s&&w(new s)!=h)&&(w=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case g:return p;case y:return c;case m:return f;case v:return d;case b:return h}return t}),e.exports=w},492:(e,t,r)=>{"use strict";var n=r(66584),i=r(34471).map;n({target:"Array",proto:!0,forced:!r(43647)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},656:(e,t,r)=>{var n=r(64073),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},867:(e,t,r)=>{"use strict";const{MathFloor:n,NumberIsInteger:i}=r(52990),{validateInteger:o}=r(47917),{ERR_INVALID_ARG_VALUE:a}=r(90011).codes;let s=16384,u=16;function l(e){return e?u:s}e.exports={getHighWaterMark:function(e,t,r,o){const s=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=s){if(!i(s)||s<0){throw new a(o?`options.${r}`:"options.highWaterMark",s)}return n(s)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?u=t:s=t}}},1555:(e,t,r)=>{"use strict";var n=r(71550),i=r(69110),o=r(63927),a=r(6522),s=r(85017),u=n([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,r=[],n=0;n<t;n++){var l=e[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(i(this))return t;for(var n=0;n<c;n++)if(r[n]===e)return t}}}},2e3:(e,t,r)=>{var n=r(71342),i=r(38877),o=r(66273),a=o&&o.isSet,s=a?i(a):n;e.exports=s},2050:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2061:(e,t,r)=>{"use strict";var n=r(34471).forEach,i=r(4012)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},2266:(e,t,r)=>{"use strict";var n=r(66584),i=r(31125),o=r(32161),a=r(26772),s=r(80994).CONSTRUCTOR,u=r(88728),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},2378:(e,t,r)=>{"use strict";var n=r(97890),i=r(37423),o=r(63382);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},2678:(e,t,r)=>{"use strict";var n=r(61059),i=r(5179),o=r(6779),a=r(22727),s=r(37423).f,u=r(14466),l=r(7899),c=r(32161),f=r(97890),d="Array Iterator",h=a.set,p=a.getterFor(d);e.exports=u(Array,"Array",function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},2687:(e,t,r)=>{var n=r(14967);e.exports=function(e){return n(e,5)}},2715:(e,t,r)=>{var n=r(72961);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2805:(e,t,r)=>{var n=r(79111),i=r(84630);e.exports=function(e,t){return e&&n(t,i(t),e)}},2838:(e,t,r)=>{"use strict";var n,i,o,a,s=r(66584),u=r(32161),l=r(98579),c=r(39022),f=r(35313),d=r(69899),h=r(96950),p=r(61581),g=r(83977),y=r(68175),m=r(68316),v=r(63927),b=r(92140),w=r(52441),_=r(52047),x=r(9523).set,S=r(44277),E=r(99183),T=r(29029),k=r(96615),O=r(22727),A=r(26772),C=r(80994),R=r(64417),P="Promise",j=C.CONSTRUCTOR,N=C.REJECTION_EVENT,D=C.SUBCLASSING,I=O.getterFor(P),L=O.set,M=A&&A.prototype,F=A,B=M,V=c.TypeError,U=c.document,W=c.process,H=R.f,$=H,Y=!!(U&&U.createEvent&&c.dispatchEvent),G="unhandledrejection",q=function(e){var t;return!(!b(e)||!v(t=e.then))&&t},z=function(e,t){var r,n,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&K(t),t.rejection=1),!0===s?r=o:(c&&c.enter(),r=s(o),c&&(c.exit(),i=!0)),r===e.promise?l(new V("Promise-chain cycle")):(n=q(r))?d(n,r,u,l):u(r)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},X=function(e,t){e.notified||(e.notified=!0,S(function(){for(var r,n=e.reactions;r=n.get();)z(r,e);e.notified=!1,t&&!e.rejection&&Z(e)}))},Q=function(e,t,r){var n,i;Y?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!N&&(i=c["on"+e])?i(n):e===G&&E("Unhandled promise rejection",r)},Z=function(e){d(x,c,function(){var t,r=e.facade,n=e.value;if(J(e)&&(t=T(function(){l?W.emit("unhandledRejection",n,r):Q(G,r,n)}),e.rejection=l||J(e)?2:1,t.error))throw t.value})},J=function(e){return 1!==e.rejection&&!e.parent},K=function(e){d(x,c,function(){var t=e.facade;l?W.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},te=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,X(e,!0))},re=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new V("Promise can't be resolved itself");var n=q(t);n?S(function(){var r={done:!1};try{d(n,t,ee(re,r,e),ee(te,r,e))}catch(t){te(r,t,e)}}):(e.value=t,e.state=1,X(e,!1))}catch(t){te({done:!1},t,e)}}};if(j&&(B=(F=function(e){w(this,B),m(e),d(n,this);var t=I(this);try{e(ee(re,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(n=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:null})}).prototype=h(B,"then",function(e,t){var r=I(this),n=H(_(this,F));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=l?W.domain:void 0,0===r.state?r.reactions.add(n):S(function(){z(n,r)}),n.promise}),i=function(){var e=new n,t=I(e);this.promise=e,this.resolve=ee(re,t),this.reject=ee(te,t)},R.f=H=function(e){return e===F||e===o?new i(e):$(e)},!u&&v(A)&&M!==Object.prototype)){a=M.then,D||h(M,"then",function(e,t){var r=this;return new F(function(e,t){d(a,r,e,t)}).then(e,t)},{unsafe:!0});try{delete M.constructor}catch(e){}p&&p(M,B)}s({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:F}),o=f.Promise,g(F,P,!1,!0),y(P)},3779:(e,t,r)=>{"use strict";var n=r(76441);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3961:(e,t,r)=>{"use strict";var n=r(76817),i=r(36125);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},4012:(e,t,r)=>{"use strict";var n=r(71341);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},4167:(e,t,r)=>{var n=r(44061),i=r(38877),o=r(66273),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},4238:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},4333:(e,t,r)=>{"use strict";var n=r(66584),i=r(69899),o=r(68316),a=r(64417),s=r(29029),u=r(22742);n({target:"Promise",stat:!0,forced:r(49339)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,c=s(function(){var r=o(t.resolve),a=[],s=0,c=1;u(e,function(e){var o=s++,u=!1;c++,i(r,t,e).then(function(e){u||(u=!0,a[o]=e,--c||n(a))},l)}),--c||n(a)});return c.error&&l(c.value),r.promise}})},4801:(e,t,r)=>{var n=r(17943),i=r(68382),o=/[&<>"']/g,a=RegExp(o.source);e.exports=function(e){return(e=i(e))&&a.test(e)?e.replace(o,n):e}},4814:(e,t,r)=>{"use strict";var n=r(17709)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},5179:(e,t,r)=>{"use strict";var n=r(17709),i=r(82358),o=r(37423).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},5340:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5440:e=>{"use strict";e.exports="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="},6203:(e,t,r)=>{"use strict";var n=r(39022),i=r(77198),o=r(40818),a=r(2678),s=r(60257),u=r(83977),l=r(17709)("iterator"),c=a.values,f=function(e,t){if(e){if(e[l]!==c)try{s(e,l,c)}catch(t){e[l]=c}if(u(e,t,!0),i[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},6356:(e,t,r)=>{var n=r(47382),i=r(2050),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},6404:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n}=r(52990);e.exports=o;const i=r(84558);function o(e){if(!(this instanceof o))return new o(e);i.call(this,e)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(e,t,r){r(null,e)}},6461:(e,t,r)=>{"use strict";var n=r(71550),i=r(71341),o=r(63927),a=r(67527),s=r(97890),u=r(7924).CONFIGURABLE,l=r(71064),c=r(22727),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),v=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+y(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return o(this)&&d(this).source||l(this)},"toString")},6522:(e,t,r)=>{"use strict";var n=r(71550),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},6779:e=>{"use strict";e.exports={}},7148:(e,t,r)=>{"use strict";var n=r(66584),i=r(31125),o=r(61559),a=r(69899),s=r(71550),u=r(71341),l=r(63927),c=r(66547),f=r(14398),d=r(1555),h=r(64745),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(1.1.toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u(function(){var e=i("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))}),T=u(function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")}),k=function(e,t){var r=f(arguments),n=d(t);if(l(n)||void 0!==e&&!c(e))return r[1]=function(e,t){if(l(n)&&(t=a(n,this,p(e),t)),!c(t))return t},o(g,null,r)},O=function(e,t,r){var n=m(r,t-1),i=m(r,t+1);return y(x,e)&&!y(S,i)||y(S,e)&&!y(x,n)?"\\u"+w(v(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(e,t,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},7899:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},7915:(e,t,r)=>{var n=r(64073),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},7924:(e,t,r)=>{"use strict";var n=r(97890),i=r(67527),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},7964:(e,t,r)=>{"use strict";var n=r(52575).IteratorPrototype,i=r(82358),o=r(63382),a=r(83977),s=r(6779),u=function(){return this};e.exports=function(e,t,r,l){var c=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),a(e,c,!1,!0),s[c]=u,e}},8049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="\t\n\r --�𐀀-",t.S=" \t\r\n",t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(e){return e>=32&&e<=55295||10===e||13===e||9===e||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isS=function(e){return 32===e||10===e||13===e||9===e},t.isNameStartChar=r,t.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},8093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseType=t.RdfXmlParser=void 0;const n=r(32839),i=r(55456),o=r(45782),a=r(30408),s=r(74192),u=r(83545);class l extends o.Transform{constructor(e){super({readableObjectMode:!0}),this.activeTagStack=[],this.nodeIds={},e&&(Object.assign(this,e),this.options=e),this.dataFactory||(this.dataFactory=new s.DataFactory),this.baseIRI||(this.baseIRI=""),this.defaultGraph||(this.defaultGraph=this.dataFactory.defaultGraph()),!1!==this.validateUri&&(this.validateUri=!0),this.iriValidationStrategy||(this.iriValidationStrategy=this.validateUri?u.IriValidationStrategy.Pragmatic:u.IriValidationStrategy.None),this.saxParser=new i.SaxesParser({xmlns:!0,position:this.trackPosition}),this.attachSaxListeners()}import(e){const t=new o.PassThrough({readableObjectMode:!0});e.on("error",e=>r.emit("error",e)),e.on("data",e=>t.push(e)),e.on("end",()=>t.push(null));const r=t.pipe(new l(this.options));return r}_transform(e,t,r){try{this.saxParser.write(e)}catch(e){return r(e)}r()}newParseError(e){return new a.ParseError(this,e)}valueToUri(e,t){return this.uriToNamedNode((0,n.resolve)(e,t.baseIRI))}uriToNamedNode(e){const t=(0,u.validateIri)(e,this.iriValidationStrategy);if(t instanceof Error)throw this.newParseError(t.message);return this.dataFactory.namedNode(e)}validateNcname(e){if(!l.NCNAME_MATCHER.test(e))throw this.newParseError(`Not a valid NCName: ${e}`)}attachSaxListeners(){this.saxParser.on("error",e=>this.emit("error",e)),this.saxParser.on("opentag",this.onTag.bind(this)),this.saxParser.on("text",this.onText.bind(this)),this.saxParser.on("cdata",this.onText.bind(this)),this.saxParser.on("closetag",this.onCloseTag.bind(this)),this.saxParser.on("doctype",this.onDoctype.bind(this))}onTag(e){const t=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;let r=c.RESOURCE;if(t&&(t.hadChildren=!0,r=t.childrenParseType),t&&t.childrenStringTags){const r=e.name;let n="";for(const t in e.attributes)n+=` ${t}="${e.attributes[t].value}"`;const i=`<${`${r}${n}`}>`;t.childrenStringTags.push(i);const o={childrenStringTags:t.childrenStringTags};return o.childrenStringEmitClosingTag=`</${r}>`,void this.activeTagStack.push(o)}const n={};t?(n.language=t.language,n.baseIRI=t.baseIRI):n.baseIRI=this.baseIRI,this.activeTagStack.push(n),r===c.RESOURCE?this.onTagResource(e,n,t,!t):this.onTagProperty(e,n,t)}onTagResource(e,t,r,i){t.childrenParseType=c.PROPERTY;let o=!0;if(e.uri===l.RDF){if(!i&&l.FORBIDDEN_NODE_ELEMENTS.indexOf(e.local)>=0)throw this.newParseError(`Illegal node element name: ${e.local}`);switch(e.local){case"RDF":t.childrenParseType=c.RESOURCE;case"Description":o=!1}}const a=[],s=[];let u=null,f=!1,d=!1,h=null;for(const i in e.attributes){const o=e.attributes[i];if(r&&o.uri===l.RDF)switch(o.local){case"about":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);u=o.value;continue;case"ID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u="#"+o.value,f=!0;continue;case"nodeID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u=o.value,d=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"type":h=o.value;continue;case"aboutEach":throw this.newParseError("rdf:aboutEach is not supported.");case"aboutEachPrefix":throw this.newParseError("rdf:aboutEachPrefix is not supported.");case"li":throw this.newParseError("rdf:li on node elements are not supported.")}else if(o.uri===l.XML){if("lang"===o.local){t.language=""===o.value?null:o.value.toLowerCase();continue}if("base"===o.local){t.baseIRI=(0,n.resolve)(o.value,t.baseIRI);continue}}"xml"===o.prefix||"xmlns"===o.prefix||""===o.prefix&&"xmlns"===o.local||!o.uri||(a.push(this.uriToNamedNode(o.uri+o.local)),s.push(o.value))}if(null!==u&&(t.subject=d?this.dataFactory.blankNode(u):this.valueToUri(u,t),f&&this.claimNodeId(t.subject)),t.subject||(t.subject=this.dataFactory.blankNode()),o){const n=this.uriToNamedNode(e.uri+e.local);this.emitTriple(t.subject,this.dataFactory.namedNode(l.RDF+"type"),n,r?r.reifiedStatementId:null)}if(r){if(r.predicate)if(r.childrenCollectionSubject){const e=this.dataFactory.blankNode();this.emitTriple(r.childrenCollectionSubject,r.childrenCollectionPredicate,e,r.reifiedStatementId),this.emitTriple(e,this.dataFactory.namedNode(l.RDF+"first"),t.subject,t.reifiedStatementId),r.childrenCollectionSubject=e,r.childrenCollectionPredicate=this.dataFactory.namedNode(l.RDF+"rest")}else{this.emitTriple(r.subject,r.predicate,t.subject,r.reifiedStatementId);for(let e=0;e<r.predicateSubPredicates.length;e++)this.emitTriple(t.subject,r.predicateSubPredicates[e],r.predicateSubObjects[e],null);r.predicateSubPredicates=[],r.predicateSubObjects=[],r.predicateEmitted=!0}for(let e=0;e<a.length;e++){const n=this.dataFactory.literal(s[e],t.datatype||t.language);this.emitTriple(t.subject,a[e],n,r.reifiedStatementId)}h&&this.emitTriple(t.subject,this.dataFactory.namedNode(l.RDF+"type"),this.uriToNamedNode(h),null)}}onTagProperty(e,t,r){if(t.childrenParseType=c.RESOURCE,t.subject=r.subject,e.uri===l.RDF&&"li"===e.local?(r.listItemCounter||(r.listItemCounter=1),t.predicate=this.uriToNamedNode(e.uri+"_"+r.listItemCounter++)):t.predicate=this.uriToNamedNode(e.uri+e.local),e.uri===l.RDF&&l.FORBIDDEN_PROPERTY_ELEMENTS.indexOf(e.local)>=0)throw this.newParseError(`Illegal property element name: ${e.local}`);t.predicateSubPredicates=[],t.predicateSubObjects=[];let n=!1,i=!1,o=null,a=!0;const s=[],u=[];for(const r in e.attributes){const f=e.attributes[r];if(f.uri===l.RDF)switch(f.local){case"resource":if(o)throw this.newParseError(`Found both rdf:resource (${f.value}) and rdf:nodeID (${o}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:resource (${f.value})`);t.hadChildren=!0,o=f.value,a=!1;continue;case"datatype":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:datatype (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${f.value})`);t.datatype=this.valueToUri(f.value,t);continue;case"nodeID":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${f.value}).`);if(t.hadChildren)throw this.newParseError(`Found both rdf:resource and rdf:nodeID (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID (${f.value})`);this.validateNcname(f.value),t.hadChildren=!0,o=f.value,a=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"parseType":if(i)throw this.newParseError("rdf:parseType is not allowed when non-rdf:* property attributes are present");if(t.datatype)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${t.datatype.value})`);if(o)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID or rdf:resource (${o})`);if("Resource"===f.value){n=!0,t.childrenParseType=c.PROPERTY;const e=this.dataFactory.blankNode();this.emitTriple(t.subject,t.predicate,e,t.reifiedStatementId),t.subject=e,t.predicate=null}else"Collection"===f.value?(n=!0,t.hadChildren=!0,t.childrenCollectionSubject=t.subject,t.childrenCollectionPredicate=t.predicate,a=!1):"Literal"===f.value&&(n=!0,t.childrenTagsToString=!0,t.childrenStringTags=[]);continue;case"ID":this.validateNcname(f.value),t.reifiedStatementId=this.valueToUri("#"+f.value,t),this.claimNodeId(t.reifiedStatementId);continue}else if(f.uri===l.XML&&"lang"===f.local){t.language=""===f.value?null:f.value.toLowerCase();continue}if("xml"!==f.prefix&&"xmlns"!==f.prefix&&(""!==f.prefix||"xmlns"!==f.local)&&f.uri){if(n||t.datatype)throw this.newParseError(`Found illegal rdf:* properties on property element with attribute: ${f.value}`);t.hadChildren=!0,i=!0,s.push(this.uriToNamedNode(f.uri+f.local)),u.push(this.dataFactory.literal(f.value,t.datatype||t.language))}}if(null!==o){const e=t.subject;t.subject=a?this.dataFactory.blankNode(o):this.valueToUri(o,t),this.emitTriple(e,t.predicate,t.subject,t.reifiedStatementId);for(let e=0;e<s.length;e++)this.emitTriple(t.subject,s[e],u[e],null);t.predicateEmitted=!0}else a&&(t.predicateSubPredicates=s,t.predicateSubObjects=u,t.predicateEmitted=!1)}emitTriple(e,t,r,n){this.push(this.dataFactory.quad(e,t,r,this.defaultGraph)),n&&(this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"type"),this.dataFactory.namedNode(l.RDF+"Statement"),this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"subject"),e,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"predicate"),t,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"object"),r,this.defaultGraph)))}claimNodeId(e){if(!this.allowDuplicateRdfIds){if(this.nodeIds[e.value])throw this.newParseError(`Found multiple occurrences of rdf:ID='${e.value}'.`);this.nodeIds[e.value]=!0}}onText(e){const t=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;t&&(t.childrenStringTags?t.childrenStringTags.push(e):t.predicate&&(t.text=e))}onCloseTag(){const e=this.activeTagStack.pop();if(e.childrenStringEmitClosingTag&&e.childrenStringTags.push(e.childrenStringEmitClosingTag),e.childrenTagsToString&&(e.datatype=this.dataFactory.namedNode(l.RDF+"XMLLiteral"),e.text=e.childrenStringTags.join(""),e.hadChildren=!1),e.childrenCollectionSubject)this.emitTriple(e.childrenCollectionSubject,e.childrenCollectionPredicate,this.dataFactory.namedNode(l.RDF+"nil"),e.reifiedStatementId);else if(e.predicate)if(e.hadChildren||e.childrenParseType===c.PROPERTY){if(!e.predicateEmitted){const t=this.dataFactory.blankNode();this.emitTriple(e.subject,e.predicate,t,e.reifiedStatementId);for(let r=0;r<e.predicateSubPredicates.length;r++)this.emitTriple(t,e.predicateSubPredicates[r],e.predicateSubObjects[r],null)}}else this.emitTriple(e.subject,e.predicate,this.dataFactory.literal(e.text||"",e.datatype||e.language),e.reifiedStatementId)}onDoctype(e){e.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g,(e,t,r)=>(this.saxParser.ENTITIES[t]=r,""))}}var c;t.RdfXmlParser=l,l.MIME_TYPE="application/rdf+xml",l.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",l.XML="http://www.w3.org/XML/1998/namespace",l.FORBIDDEN_NODE_ELEMENTS=["RDF","ID","about","bagID","parseType","resource","nodeID","li","aboutEach","aboutEachPrefix"],l.FORBIDDEN_PROPERTY_ELEMENTS=["Description","RDF","ID","about","bagID","parseType","resource","nodeID","aboutEach","aboutEachPrefix"],l.NCNAME_MATCHER=/^([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_])([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_\-.0-9#xB7\u{0300}-\u{036F}\u{203F}-\u{2040}])*$/u,function(e){e[e.RESOURCE=0]="RESOURCE",e[e.PROPERTY=1]="PROPERTY"}(c||(t.ParseType=c={}))},8315:(e,t,r)=>{"use strict";const{SymbolDispose:n}=r(52990),{AbortError:i,codes:o}=r(90011),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=r(30091),l=r(80038),{ERR_INVALID_ARG_TYPE:c}=o;let f;e.exports.addAbortSignal=function(t,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c(t,"AbortSignal",e)})(t,"signal"),!a(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const o=a(t)?()=>{t.destroy(new i(void 0,{cause:e.reason}))}:()=>{t[u](new i(void 0,{cause:e.reason}))};if(e.aborted)o();else{f=f||r(42840).addAbortListener;const i=f(e,o);l(t,i[n])}return t}},8618:(e,t,r)=>{const n=r(68558),i=r(84686),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=r(30091),p=r(80038),{AbortError:g,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:m}}=r(90011),{destroyer:v}=r(25296),b=r(9858),w=r(73376),_=r(20448),{createDeferredPromise:x}=r(42840),S=r(53660),E=globalThis.Blob||i.Blob,T=void 0!==E?function(e){return e instanceof E}:function(e){return!1},k=globalThis.AbortController||r(59208).AbortController,{FunctionPrototypeCall:O}=r(52990);class A extends b{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function C(e){const t=e.readable&&"function"!=typeof e.readable.read?w.wrap(e.readable):e.readable,r=e.writable;let n,i,s,u,l,c=!!o(t),f=!!a(r);function d(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new A({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:f}),f&&(p(r,e=>{f=!1,e&&v(t,e),d(e)}),l._write=function(e,t,i){r.write(e,t)?i():n=i},l._final=function(e){r.end(),i=e},r.on("drain",function(){if(n){const e=n;n=null,e()}}),r.on("finish",function(){if(i){const e=i;i=null,e()}})),c&&(p(t,e=>{c=!1,e&&v(t,e),d(e)}),t.on("readable",function(){if(s){const e=s;s=null,e()}}),t.on("end",function(){l.push(null)}),l._read=function(){for(;;){const e=t.read();if(null===e)return void(s=l._read);if(!l.push(e))return}}),l._destroy=function(e,o){e||null===u||(e=new g),s=null,n=null,i=null,null===u?o(e):(u=o,v(r,e),v(t,e))},l}e.exports=function e(t,r){if(f(t))return t;if(l(t))return C({readable:t});if(c(t))return C({writable:t});if(u(t))return C({writable:!1,readable:!1});if(d(t))return C({readable:w.fromWeb(t)});if(h(t))return C({writable:_.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:o,destroy:a}=function(e){let{promise:t,resolve:r}=x();const i=new k,o=i.signal,a=e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:a,cb:s}=await e;if(n.nextTick(s),a)return;if(o.aborted)throw new g(void 0,{cause:o.reason});({promise:t,resolve:r}=x()),yield i}}(),{signal:o});return{value:a,write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(s(e))return S(A,e,{objectMode:!0,write:i,final:o,destroy:a});const u=null==e?void 0:e.then;if("function"==typeof u){let t;const r=O(u,e,e=>{if(null!=e)throw new m("nully","body",e)},e=>{v(t,e)});return t=new A({objectMode:!0,readable:!1,write:i,final(e){o(async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}})},destroy:a})}throw new m("Iterable, AsyncIterable or AsyncFunction",r,e)}if(T(t))return e(t.arrayBuffer());if(s(t))return S(A,t,{objectMode:!0,writable:!1});if(d(null==t?void 0:t.readable)&&h(null==t?void 0:t.writable))return A.fromWeb(t);if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable)){return C({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0})}const i=null==t?void 0:t.then;if("function"==typeof i){let e;return O(i,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{v(e,t)}),e=new A({objectMode:!0,writable:!1,read(){}})}throw new y(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},8835:(e,t,r)=>{var n=r(82310),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},9523:(e,t,r)=>{"use strict";var n,i,o,a,s=r(39022),u=r(61559),l=r(84750),c=r(63927),f=r(67527),d=r(71341),h=r(26207),p=r(14398),g=r(33861),y=r(90710),m=r(75150),v=r(98579),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={},A="onreadystatechange";d(function(){n=s.location});var C=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},R=function(e){return function(){C(e)}},P=function(e){C(e.data)},j=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){y(arguments.length,1);var t=c(e)?e:S(e),r=p(arguments,1);return O[++k]=function(){u(t,void 0,r)},i(k),k},w=function(e){delete O[e]},v?i=function(e){_.nextTick(R(e))}:x&&x.now?i=function(e){x.now(R(e))}:E&&!m?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i=A in g("script")?function(e){h.appendChild(g("script"))[A]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(R(e),0)}),e.exports={set:b,clear:w}},9699:(e,t,r)=>{"use strict";var n=r(97890),i=r(23900),o=r(37423),a=r(76817),s=r(61059),u=r(38054);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,r=i[c++],n[r]);return e}},9858:(e,t,r)=>{"use strict";const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=r(52990);e.exports=l;const s=r(73376),u=r(20448);a(l.prototype,s.prototype),a(l,s);{const e=o(u.prototype);for(let t=0;t<e.length;t++){const r=e[t];l.prototype[r]||(l.prototype[r]=u.prototype[r])}}function l(e){if(!(this instanceof l))return new l(e);s.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,f;function d(){return void 0===c&&(c={}),c}n(l.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),l.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},l.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},l.from=function(e){return f||(f=r(8618)),f(e,"body")}},10611:(e,t,r)=>{"use strict";var n=r(66584),i=r(34471).find,o=r(5179),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),n({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},10983:e=>{"use strict";e.exports={}},11187:(e,t,r)=>{var n=r(81330),i=r(31992),o=r(57717),a=r(31513),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(a(e))}},11428:(e,t,r)=>{"use strict";var n=r(71550),i=r(28620),o=r(85017),a=r(61282),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(e){return function(t){var r=o(i(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,l,"$1")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},12055:e=>{e.exports=function(){return!1}},12371:(e,t,r)=>{"use strict";var n=r(71550),i=r(71341),o=r(63927),a=r(91325),s=r(31125),u=r(71064),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(e){if(!o(e))return!1;try{return c(l,[],e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},13132:(e,t,r)=>{"use strict";var n=r(71550),i=r(68316);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},13584:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},13812:(e,t,r)=>{"use strict";var n=r(66584),i=r(69110),o=r(12371),a=r(92140),s=r(51924),u=r(93228),l=r(61059),c=r(2378),f=r(17709),d=r(43647),h=r(14398),p=d("slice"),g=f("species"),y=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,f,d=l(this),p=u(d),v=s(e,p),b=s(void 0===t?p:t,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,v,b);for(n=new(void 0===r?y:r)(m(b-v,0)),f=0;v<b;v++,f++)v in d&&c(n,f,d[v]);return n.length=f,n}})},14398:(e,t,r)=>{"use strict";var n=r(71550);e.exports=n([].slice)},14466:(e,t,r)=>{"use strict";var n=r(66584),i=r(69899),o=r(32161),a=r(7924),s=r(63927),u=r(7964),l=r(66369),c=r(61581),f=r(83977),d=r(60257),h=r(96950),p=r(17709),g=r(6779),y=r(52575),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x="keys",S="values",E="entries",T=function(){return this};e.exports=function(e,t,r,a,p,y,k){u(r,t,a);var O,A,C,R=function(e){if(e===p&&I)return I;if(!w&&e&&e in N)return N[e];switch(e){case x:case S:case E:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",j=!1,N=e.prototype,D=N[_]||N["@@iterator"]||p&&N[p],I=!w&&D||R(p),L="Array"===t&&N.entries||D;if(L&&(O=l(L.call(new e)))!==Object.prototype&&O.next&&(o||l(O)===b||(c?c(O,b):s(O[_])||h(O,_,T)),f(O,P,!0,!0),o&&(g[P]=T)),m&&p===S&&D&&D.name!==S&&(!o&&v?d(N,"name",S):(j=!0,I=function(){return i(D,this)})),p)if(A={values:R(S),keys:y?I:R(x),entries:R(E)},k)for(C in A)(w||j||!(C in N))&&h(N,C,A[C]);else n({target:t,proto:!0,forced:w||j},A);return o&&!k||N[_]===I||h(N,_,I,{name:p}),g[t]=I,A}},14478:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},14967:(e,t,r)=>{var n=r(18089),i=r(84713),o=r(20683),a=r(2805),s=r(43142),u=r(82354),l=r(65799),c=r(47367),f=r(79436),d=r(87162),h=r(80253),p=r(77),g=r(75733),y=r(62119),m=r(97569),v=r(66521),b=r(99232),w=r(42378),_=r(57717),x=r(2e3),S=r(84630),E=r(78305),T="[object Arguments]",k="[object Function]",O="[object Object]",A={};A[T]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[O]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[k]=A["[object WeakMap]"]=!1,e.exports=function e(t,r,C,R,P,j){var N,D=1&r,I=2&r,L=4&r;if(C&&(N=P?C(t,R,P,j):C(t)),void 0!==N)return N;if(!_(t))return t;var M=v(t);if(M){if(N=g(t),!D)return l(t,N)}else{var F=p(t),B=F==k||"[object GeneratorFunction]"==F;if(b(t))return u(t,D);if(F==O||F==T||B&&!P){if(N=I||B?{}:m(t),!D)return I?f(t,s(N,t)):c(t,a(N,t))}else{if(!A[F])return P?t:{};N=y(t,F,D)}}j||(j=new n);var V=j.get(t);if(V)return V;j.set(t,N),x(t)?t.forEach(function(n){N.add(e(n,r,C,n,t,j))}):w(t)&&t.forEach(function(n,i){N.set(i,e(n,r,C,i,t,j))});var U=M?void 0:(L?I?h:d:I?E:S)(t);return i(U||t,function(n,i){U&&(n=t[i=n]),o(N,i,e(n,r,C,i,t,j))}),N}},14972:e=>{"use strict";e.exports="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=="},15727:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(8093),t)},16904:(e,t,r)=>{"use strict";var n=r(6522),i=r(61059),o=r(81378).f,a=r(14398),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===n(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},17153:(e,t,r)=>{"use strict";const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=r(52990),{Buffer:s}=r(84686),{inspect:u}=r(42840);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return s.alloc(0);const t=s.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)o(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=s.allocUnsafe(e),r=e;let n=this.head,i=0;do{const s=n.data;if(!(e>s.length)){e===s.length?(o(t,s,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(t,new a(s.buffer,s.byteOffset,e),r-e),this.head=n,n.data=s.slice(e));break}o(t,s,r-e),e-=s.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}},17667:(e,t,r)=>{var n=r(32229),i=r(5340),o=r(51387);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},17709:(e,t,r)=>{"use strict";var n=r(39022),i=r(57987),o=r(67527),a=r(51726),s=r(64745),u=r(37986),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),c[e]}},17853:(e,t,r)=>{"use strict";r(67167),r(86544),r(82658),r(7148),r(90335)},17943:(e,t,r)=>{var n=r(16)({"&":"&","<":"<",">":">",'"':""","'":"'"});e.exports=n},18089:(e,t,r)=>{var n=r(22839),i=r(57380),o=r(38354),a=r(82413),s=r(87073),u=r(51241);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},18429:(e,t,r)=>{var n=r(27084);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},18928:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},18953:(e,t,r)=>{"use strict";var n=r(17709);t.f=n},19358:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},19486:(e,t,r)=>{"use strict";var n=r(66584),i=r(51471),o=r(38054);n({target:"Object",stat:!0,forced:r(71341)(function(){o(1)})},{keys:function(e){return o(i(e))}})},19515:(e,t,r)=>{"use strict";var n=r(97890),i=r(71341),o=r(33861);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},19571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="--�𐀀-",t.RESTRICTED_CHAR="-\b\v\f---",t.S=" \t\r\n",t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.RESTRICTED_CHAR_RE=new RegExp("^["+t.RESTRICTED_CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isRestrictedChar=function(e){return e>=1&&e<=8||11===e||12===e||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},t.isCharAndNotRestricted=function(e){return 9===e||10===e||13===e||e>31&&e<127||133===e||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isS=function(e){return 32===e||10===e||13===e||9===e},t.isNameStartChar=r,t.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},20448:(e,t,r)=>{"use strict";const n=r(68558),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=r(52990);e.exports=D,D.WritableState=j;const{EventEmitter:h}=r(89784),p=r(88027).Stream,{Buffer:g}=r(84686),y=r(25296),{addAbortSignal:m}=r(8315),{getHighWaterMark:v,getDefaultHighWaterMark:b}=r(867),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:x,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:O,ERR_UNKNOWN_ENCODING:A}=r(90011).codes,{errorOrDestroy:C}=y;function R(){}l(D.prototype,p.prototype),l(D,p);const P=f("kOnFinished");function j(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(9858)),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?v(this,e,"writableHighWaterMark",n):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,N(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function N(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function D(e){const t=this instanceof r(9858);if(!t&&!a(D,this))return new D(e);this._writableState=new j(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),p.call(this,e),y.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),Y(this,e)})}function I(e,t,r,i){const o=e._writableState;if("function"==typeof r)i=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!g.isEncoding(r))throw new A(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=R)}if(null===t)throw new k;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=g.from(t,r),r="buffer");else if(t instanceof g)r="buffer";else{if(!p._isUint8Array(t))throw new w("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}let a;return o.ending?a=new O:o.destroyed&&(a=new E("write")),a?(n.nextTick(i,a),C(e,a,!0),a):(o.pendingcb++,function(e,t,r,n,i){const o=t.objectMode?1:r.length;t.length+=o;const a=t.length<t.highWaterMark;a||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&i!==R&&(t.allNoop=!1)):(t.writelen=o,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return a&&!t.errored&&!t.destroyed}(e,o,t,r,i))}function L(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function M(e,t,r,n){--t.pendingcb,n(r),U(t),C(e,r)}function F(e,t){const r=e._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?n.nextTick(M,e,r,t,o):M(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&W(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick(B,r.afterWriteTickInfo)):V(e,r,1,o))):C(e,new x)}function B({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,V(e,t,r,n)}function V(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&U(t),Y(e,t)}function U(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:i}=e.buffered[r],o=e.objectMode?1:n.length;e.length-=o,i(null!==(t=e.errored)&&void 0!==t?t:new E("write"))}const r=e[P].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&void 0!==n?n:new E("end"))}N(e)}function W(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=t,a=r.length-n;if(!a)return;let s=n;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const n=t.allNoop?R:e=>{for(let t=s;t<r.length;++t)r[t].callback(e)},o=t.allNoop&&0===s?r:i(r,s);o.allBuffers=t.allBuffers,L(e,t,!0,t.length,o,"",n),N(t)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;L(e,t,!1,o?1:n.length,n,i,a)}while(s<r.length&&!t.writing);s===r.length?N(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function H(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function $(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)C(e,null!=i?i:x());else if(r=!0,t.pendingcb--,i){const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e](i);C(e,i,t.sync)}else H(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(G,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function Y(e,t,r){H(t)&&($(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{H(t)?G(e,t):t.pendingcb--},e,t)):H(t)&&(t.pendingcb++,G(e,t))))}function G(e,t){t.pendingcb--,t.finished=!0;const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}j.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(j.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(D,d,{__proto__:null,value:function(e){return!!a(this,e)||this===D&&(e&&e._writableState instanceof j)}}),D.prototype.pipe=function(){C(this,new S)},D.prototype.write=function(e,t,r){return!0===I(this,e,t,r)},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||W(this,e))},D.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!g.isEncoding(e))throw new A(e);return this._writableState.defaultEncoding=e,this},D.prototype._write=function(e,t,r){if(!this._writev)throw new _("_write()");this._writev([{chunk:e,encoding:t}],r)},D.prototype._writev=null,D.prototype.end=function(e,t,r){const i=this._writableState;let a;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e){const r=I(this,e,t);r instanceof o&&(a=r)}return i.corked&&(i.corked=1,this.uncork()),a||(i.errored||i.ending?i.finished?a=new T("end"):i.destroyed&&(a=new E("end")):(i.ending=!0,Y(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[P].push(r)),this},u(D.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const q=y.destroy;let z;function X(){return void 0===z&&(z={}),z}D.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[P].length)&&n.nextTick(U,r),q.call(this,e,t),this},D.prototype._undestroy=y.undestroy,D.prototype._destroy=function(e,t){t(e)},D.prototype[h.captureRejectionSymbol]=function(e){this.destroy(e)},D.fromWeb=function(e,t){return X().newStreamWritableFromWritableStream(e,t)},D.toWeb=function(e){return X().newWritableStreamFromStreamWritable(e)}},20683:(e,t,r)=>{var n=r(71176),i=r(52864),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},20973:(e,t,r)=>{"use strict";var n=r(35313),i=r(67527),o=r(18953),a=r(37423).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},21379:(e,t,r)=>{var n=r(88802);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},22118:(e,t,r)=>{var n=r(38196),i=r(2050);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},22727:(e,t,r)=>{"use strict";var n,i,o,a=r(61784),s=r(39022),u=r(92140),l=r(60257),c=r(67527),f=r(73907),d=r(49853),h=r(10983),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},o=function(e){return m.has(e)}}else{var v=d("state");h[v]=!0,n=function(e,t){if(c(e,v))throw new g(p);return t.facade=e,l(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},22742:(e,t,r)=>{"use strict";var n=r(84750),i=r(69899),o=r(76817),a=r(54077),s=r(73983),u=r(93228),l=r(74531),c=r(98147),f=r(94989),d=r(36125),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,v,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(t,S),C=function(e){return y&&d(y,"normal"),new p(!0,e)},R=function(e){return E?(o(e),O?A(e[0],e[1],C):A(e[0],e[1])):O?A(e,C):A(e)};if(T)y=e.iterator;else if(k)y=e;else{if(!(m=f(e)))throw new h(a(e)+" is not iterable");if(s(m)){for(v=0,b=u(e);b>v;v++)if((w=R(e[v]))&&l(g,w))return w;return new p(!1)}y=c(e,m)}for(_=T?e.next:y.next;!(x=i(_,y)).done;){try{w=R(x.value)}catch(e){d(y,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},22839:(e,t,r)=>{var n=r(23614),i=r(62008),o=r(2715),a=r(85655),s=r(28383);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},23338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataFactory=void 0;const n=r(30654),i=r(42605),o=r(80135),a=r(36913),s=r(30421),u=r(25826);let l=0;t.DataFactory=class{constructor(e){this.blankNodeCounter=0,e=e||{},this.blankNodePrefix=e.blankNodePrefix||`df_${l++}_`}namedNode(e){return new a.NamedNode(e)}blankNode(e){return new n.BlankNode(e||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(e,t){return new o.Literal(e,t)}variable(e){return new u.Variable(e)}defaultGraph(){return i.DefaultGraph.INSTANCE}quad(e,t,r,n){return new s.Quad(e,t,r,n||this.defaultGraph())}fromTerm(e){switch(e.termType){case"NamedNode":return this.namedNode(e.value);case"BlankNode":return this.blankNode(e.value);case"Literal":return e.language?this.literal(e.value,e.language):e.datatype.equals(o.Literal.XSD_STRING)?this.literal(e.value):this.literal(e.value,this.fromTerm(e.datatype));case"Variable":return this.variable(e.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(e.subject),this.fromTerm(e.predicate),this.fromTerm(e.object),this.fromTerm(e.graph))}}fromQuad(e){return this.fromTerm(e)}resetBlankNodeCounter(){this.blankNodeCounter=0}}},23445:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},23614:e=>{e.exports=function(){this.__data__=[],this.size=0}},23653:(e,t,r)=>{"use strict";var n=r(66584),i=r(40151).includes,o=r(71341),a=r(5179);n({target:"Array",proto:!0,forced:o(function(){return!Array(1).includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},23858:(e,t,r)=>{"use strict";var n=r(66584),i=r(34471).filter;n({target:"Array",proto:!0,forced:!r(43647)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},23900:(e,t,r)=>{"use strict";var n=r(97890),i=r(71341);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},24267:(e,t,r)=>{"use strict";var n=r(39022),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},24593:(e,t,r)=>{"use strict";var n=r(76817);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},24959:(e,t,r)=>{"use strict";const{ArrayPrototypePop:n,Promise:i}=r(52990),{isIterable:o,isNodeStream:a,isWebStream:s}=r(30091),{pipelineImpl:u}=r(55046),{finished:l}=r(80038);r(38042),e.exports={finished:l,pipeline:function(...e){return new i((t,r)=>{let i,l;const c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const t=n(e);i=t.signal,l=t.end}u(e,(e,n)=>{e?r(e):t(n)},{signal:i,end:l})})}}},25296:(e,t,r)=>{"use strict";const n=r(68558),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=r(90011),{Symbol:s}=r(52990),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=r(30091),d=s("kDestroy"),h=s("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function g(e,t,r){let i=!1;function o(t){if(i)return;i=!0;const o=e._readableState,a=e._writableState;p(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(y,e,t):n.nextTick(m,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function y(e,t){v(e,t),m(e)}function m(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=r&&r.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function v(e,t){const r=e._readableState,n=e._writableState;null!=n&&n.errorEmitted||null!=r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function b(e,t,r){const i=e._readableState,o=e._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(v,e,t):v(e,t))}function w(e){let t=!1;function r(r){if(t)return void b(e,null!=r?r:new o);t=!0;const i=e._readableState,a=e._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?e.emit(d,r):r?b(e,r,!0):n.nextTick(_,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function _(e){e.emit(h)}function x(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function S(e){e.emit("close")}function E(e,t){e.emit("error",t),n.nextTick(S,e)}e.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(h,t),e.listenerCount(h)>1||n.nextTick(w,e)},destroyer:function(e,t){e&&!l(e)&&(t||c(e)||(t=new a),f(e)?(e.socket=null,e.destroy(t)):x(e)?e.abort():x(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(E,e,t):n.nextTick(S,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,o=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?g(this,e,t):this.once(d,function(r){g(this,i(r,e),t)}),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:b}},25826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Variable=void 0;t.Variable=class{constructor(e){this.termType="Variable",this.value=e}equals(e){return!!e&&"Variable"===e.termType&&e.value===this.value}}},26207:(e,t,r)=>{"use strict";var n=r(31125);e.exports=n("document","documentElement")},26671:(e,t,r)=>{var n=r(84686),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},26772:(e,t,r)=>{"use strict";var n=r(39022);e.exports=n.Promise},27084:(e,t,r)=>{var n=r(58453).Uint8Array;e.exports=n},27384:(e,t,r)=>{var n=r(57946);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},28169:(e,t,r)=>{"use strict";var n=r(71341),i=r(39022).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},28383:(e,t,r)=>{var n=r(72961);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},28620:(e,t,r)=>{"use strict";var n=r(54395),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},28975:(e,t,r)=>{var n=r(79512),i=r(87367),o=r(47328),a=r(30617),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},29008:(e,t,r)=>{"use strict";var n=r(71550),i=r(68316),o=r(92140),a=r(67527),s=r(14398),u=r(85502),l=Function,c=n([].concat),f=n([].join),d={};e.exports=u?l.bind:function(e){var t=i(this),r=t.prototype,n=s(arguments,1),u=function(){var r=c(n,s(arguments));return this instanceof u?function(e,t,r){if(!a(d,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";d[t]=l("C,a","return new C("+f(n,",")+")")}return d[t](e,r)}(t,r.length,r):t.apply(e,r)};return o(r)&&(u.prototype=r),u}},29029:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},29157:(e,t,r)=>{"use strict";var n=r(71341);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},29288:(e,t,r)=>{"use strict";var n=r(68316),i=r(54395);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},29886:(e,t,r)=>{var n=r(21379);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},30091:(e,t,r)=>{"use strict";const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=r(52990),a=o("nodejs.stream.destroyed"),s=o("nodejs.stream.errored"),u=o("nodejs.stream.readable"),l=o("nodejs.stream.writable"),c=o("nodejs.stream.disturbed"),f=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function h(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function g(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function y(e){return!(!e||g(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||g(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function v(e){return!(!e||g(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function b(e){if(!g(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[a]||null!=n&&n.destroyed)}function w(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function _(e,t){if(!h(e))return null;const r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function x(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!b(e)&&(h(e)&&e.readable&&!_(e))}function S(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!b(e)&&(p(e)&&e.writable&&!w(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function T(e){return"boolean"==typeof e._sent100&&E(e)}e.exports={isDestroyed:b,kIsDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,o,a,u,l,c,f;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(o=null!==(a=e[s])&&void 0!==a?a:e.readableErrored)&&void 0!==o?o:e.writableErrored)&&void 0!==i?i:null===(u=e._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=e._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(f=e._writableState)||void 0===f?void 0:f.errored))},kIsErrored:s,isReadable:x,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:l,isClosed:function(e){if(!g(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return g(e)?!!b(e)||(!1===(null==t?void 0:t.readable)||!x(e))&&(!1===(null==t?void 0:t.writable)||!S(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:h,isReadableStream:y,isReadableEnded:function(e){if(!h(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:_,isReadableErrored:function(e){var t,r;return g(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:g,isWebStream:function(e){return y(e)||m(e)||v(e)},isWritable:S,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:w,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return g(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:T,willEmitClose:function(e){if(!g(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&T(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:v}},30408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseError=void 0;class r extends Error{constructor(e,t){const r=e.saxParser;super(e.trackPosition?`Line ${r.line} column ${r.column+1}: ${t}`:t)}}t.ParseError=r},30421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Quad=void 0;t.Quad=class{constructor(e,t,r,n){this.termType="Quad",this.value="",this.subject=e,this.predicate=t,this.object=r,this.graph=n}equals(e){return!!e&&("Quad"===e.termType||!e.termType)&&this.subject.equals(e.subject)&&this.predicate.equals(e.predicate)&&this.object.equals(e.object)&&this.graph.equals(e.graph)}}},30581:(e,t,r)=>{var n=r(27384),i=r(4238),o=r(62329),a=r(34037),s=r(63613);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},30617:e=>{e.exports=function(){return[]}},30654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlankNode=void 0;t.BlankNode=class{constructor(e){this.termType="BlankNode",this.value=e}equals(e){return!!e&&"BlankNode"===e.termType&&e.value===this.value}}},30839:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},31079:(e,t,r)=>{"use strict";var n=r(69899),i=r(92140),o=r(66547),a=r(29288),s=r(39336),u=r(17709),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=a(e,c);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},31125:(e,t,r)=>{"use strict";var n=r(39022),i=r(63927);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},31513:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31600:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},31992:(e,t,r)=>{var n,i=r(52353),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},32033:(e,t,r)=>{"use strict";var n=r(66584),i=r(97890),o=r(39022),a=r(71550),s=r(67527),u=r(63927),l=r(74531),c=r(85017),f=r(71188),d=r(82594),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=l(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(g[t]=!0),t};d(y,h),y.prototype=p,p.constructor=y;var m="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(g,e))return"";var t=b(e),r=m?x(t,7,-1):_(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},32039:(e,t,r)=>{var n=r(82310)(r(58453),"WeakMap");e.exports=n},32106:(e,t,r)=>{"use strict";var n=r(39022),i=r(77198),o=r(40818),a=r(2061),s=r(60257),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},32161:e=>{"use strict";e.exports=!1},32229:(e,t,r)=>{var n=r(43752),i=r(29886),o=r(56969),a=r(85989),s=r(93485);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},32753:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},32839:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(59799),t)},33703:(e,t,r)=>{"use strict";var n=r(69899),i=r(71550),o=r(43970),a=r(76817),s=r(92140),u=r(97656),l=r(85017),c=r(28620),f=r(29288),d=r(97407),h=r(40268),p=r(84032),g=i("".indexOf);o("match",function(e,t,r){return[function(t){var r=c(this),i=s(t)?f(t,e):void 0;return i?n(i,t,r):new RegExp(t)[e](l(r))},function(e){var n=a(this),i=l(e),o=r(t,n,i);if(o.done)return o.value;var s=l(h(n));if(-1===g(s,"g"))return p(n,i);var c=-1!==g(s,"u");n.lastIndex=0;for(var f,y=[],m=0;null!==(f=p(n,i));){var v=l(f[0]);y[m]=v,""===v&&(n.lastIndex=d(i,u(n.lastIndex),c)),m++}return 0===m?null:y}]})},33787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateIri=t.IriValidationStrategy=void 0;const r=function(){const e="[!$&'()*+,;=]",t="%[a-fA-F0-9]{2}",r="([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",n=`${r}\\.${r}\\.${r}\\.${r}`,i="[a-fA-F0-9]{1,4}",o=`(${i}:${i}|${n})`,a="[a-zA-Z0-9\\-._~ -豈-﷏ﷰ-𐀀-𠀀-𰀀------------]",s=`(${a}|${t}|${e}|[:@])*`,u=`(${s})+`,l=`(${s})*`;return new RegExp(`^[a-zA-Z][a-zA-Z0-9+\\-.]*:${`(\\/\\/${`(${`(${a}|${t}|${e}|:)*`}@)?${`(${`\\[(${`((${i}:){6}${o}|::(${i}:){5}${o}|(${i})?::(${i}:){4}${o}|((${i}:){0,1}${i})?::(${i}:){3}${o}|((${i}:){0,2}${i})?::(${i}:){2}${o}|((${i}:){0,3}${i})?::${i}:${o}|((${i}:){0,4}${i})?::${o}|((${i}:){0,5}${i})?::${i}|((${i}:){0,6}${i})?::)`}|${`v[a-fA-F0-9]+\\.(${e}|${e}|":)+`})\\]`}|${n}|${`(${a}|${t}|${e})*`})`}(:[0-9]*)?`}${`(\\/${l})*`}|${`\\/(${u}(\\/${l})*)?`}|${`${u}(\\/${l})*`}|)`}(\\?${`(${s}|[---]|[\\/?])*`})?(#${`(${s}|[\\/?])*`})?$`,"u")}(),n=/^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;var i;!function(e){e.Strict="strict",e.Pragmatic="pragmatic",e.None="none"}(i=t.IriValidationStrategy||(t.IriValidationStrategy={})),t.validateIri=function(e,t=i.Strict){switch(t){case i.Strict:return r.test(e)?void 0:new Error(`Invalid IRI according to RFC 3987: '${e}'`);case i.Pragmatic:return n.test(e)?void 0:new Error(`Invalid IRI according to RDF Turtle: '${e}'`);case i.None:return;default:return new Error(`Not supported validation strategy "${t}"`)}}},33861:(e,t,r)=>{"use strict";var n=r(39022),i=r(92140),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},33977:(e,t,r)=>{"use strict";var n=r(62822),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},34037:(e,t,r)=>{var n=r(57946),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},34471:(e,t,r)=>{"use strict";var n=r(84750),i=r(71550),o=r(69549),a=r(51471),s=r(93228),u=r(45019),l=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,d=7===e,h=5===e||f;return function(p,g,y,m){for(var v,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=m||u,k=t?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(v=_[E],E,w),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l(k,v)}else switch(e){case 4:return!1;case 7:l(k,v)}return f?-1:i||c?c:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},34504:(e,t,r)=>{"use strict";var n=r(97890),i=r(7924).EXISTS,o=r(71550),a=r(71188),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(e){return""}}})},34540:(e,t,r)=>{"use strict";var n=r(66584),i=r(11428).trim;n({target:"String",proto:!0,forced:r(67896)("trim")},{trim:function(){return i(this)}})},34686:(e,t,r)=>{"use strict";const{pipeline:n}=r(55046),i=r(9858),{destroyer:o}=r(25296),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=r(30091),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:g}}=r(90011),y=r(80038);e.exports=function(...e){if(0===e.length)throw new g("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||l(e[r])){if(r<e.length-1&&!(s(e[r])||d(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(u(e[r])||f(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be writable")}let r,m,v,b,w;const _=e[0],x=n(e,function(e){const t=b;b=null,t?t(e):e?w.destroy(e):E||S||w.destroy()}),S=!!(u(_)||f(_)||c(_)),E=!!(s(x)||d(x)||c(x));if(w=new i({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==x||!x.readableObjectMode),writable:S,readable:E}),S){if(a(_))w._write=function(e,t,n){_.write(e,t)?n():r=n},w._final=function(e){_.end(),m=e},_.on("drain",function(){if(r){const e=r;r=null,e()}});else if(l(_)){const e=(c(_)?_.writable:_).getWriter();w._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},w._final=async function(t){try{await e.ready,e.close().catch(()=>{}),m=t}catch(e){t(e)}}}const e=c(x)?x.readable:x;y(e,()=>{if(m){const e=m;m=null,e()}})}if(E)if(a(x))x.on("readable",function(){if(v){const e=v;v=null,e()}}),x.on("end",function(){w.push(null)}),w._read=function(){for(;;){const e=x.read();if(null===e)return void(v=w._read);if(!w.push(e))return}};else if(l(x)){const e=(c(x)?x.readable:x).getReader();w._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!w.push(t))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(e,t){e||null===b||(e=new h),v=null,r=null,m=null,null===b?t(e):(b=t,a(x)&&o(x,e))},w}},35313:(e,t,r)=>{"use strict";var n=r(39022);e.exports=n},35350:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],u=o[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),c=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;s<u;s+=a)o.push(l(e,s,s+a>u?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function l(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(u(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},36125:(e,t,r)=>{"use strict";var n=r(69899),i=r(76817),o=r(29288);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},36615:(e,t,r)=>{var n=r(82310)(r(58453),"Map");e.exports=n},36646:(e,t,r)=>{"use strict";var n=r(6522),i=r(71550);e.exports=function(e){if("Function"===n(e))return i(e)}},36709:(e,t,r)=>{"use strict";var n=r(66584),i=r(32161),o=r(80994).CONSTRUCTOR,a=r(26772),s=r(31125),u=r(63927),l=r(96950),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},36768:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(95521),i=r.n(n),o=r(56170),a=r.n(o),s=r(96113),u=r.n(s),l=new URL(r(5440),r.b),c=new URL(r(46997),r.b),f=new URL(r(93294),r.b),d=new URL(r(14972),r.b),h=new URL(r(67777),r.b),p=new URL(r(76625),r.b),g=a()(i()),y=u()(l),m=u()(c),v=u()(f),b=u()(d),w=u()(h),_=u()(p);g.push([e.id,`/* === 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: inherit;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: block;\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 .rdformsRow.notCompact {\n display: block;\n width: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n display: inherit;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem {\n display: table;\n width: 98%;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {\n width: 10em;\n}\n.rdformsPresenter .rdformsRow.rdformsCompactItem>div {\n display: table-cell;\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.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {\n display: inherit;\n width: auto;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {\n display: inherit;\n}\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.rdformsNoPopup:hover {\n text-decoration: initial;\n cursor: initial;\n}\n\n.rdformsLabel .popover:hover {\n cursor: initial;\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(${y});\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 .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}\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>.rdformsLabelRow {\n white-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(${m});\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(${v});\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(${b});\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(${w});\n}\n\n.rdforms .action.info {\n\tbackground-image: url(${_});\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}\n\n.rdformsDescription {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,\n.rdformsPresenter .rdformsInline>.rdformsOrigin {\n border: 1px solid #E6E6E6;\n padding: 4px 8px;\n margin-top: initial;\n margin-right: 5px;\n border-radius: 4px;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n margin-left: 1em;\n margin-top: 5px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsShowLess,\n.rdformsPresenter .rdformsInline>.rdformsShowMore {\n margin-left: 0;\n margin-top: initial;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {\n display: none;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsShowLess {\n display: none;\n}\n.rdformsPresenter .rdformsShowMore {\n display: none;\n}\n.rdformsPresenter .rdformsTruncated>.rdformsShowMore {\n display: initial;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsField {\n margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n padding-left: 1em;\n}`,""]);const x=g},36913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NamedNode=void 0;t.NamedNode=class{constructor(e){this.termType="NamedNode",this.value=e}equals(e){return!!e&&"NamedNode"===e.termType&&e.value===this.value}}},37423:(e,t,r)=>{"use strict";var n=r(97890),i=r(19515),o=r(23900),a=r(76817),s=r(96331),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",h="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},37986:(e,t,r)=>{"use strict";var n=r(64745);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},38042:(e,t,r)=>{"use strict";const{Buffer:n}=r(84686),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=r(52990),{promisify:{custom:s}}=r(42840),{streamReturningOperators:u,promiseReturningOperators:l}=r(64175),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(90011),f=r(34686),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=r(867),{pipeline:p}=r(55046),{destroyer:g}=r(25296),y=r(80038),m=r(24959),v=r(30091),b=e.exports=r(88027).Stream;b.isDestroyed=v.isDestroyed,b.isDisturbed=v.isDisturbed,b.isErrored=v.isErrored,b.isReadable=v.isReadable,b.isWritable=v.isWritable,b.Readable=r(73376);for(const _ of o(u)){const x=u[_];function S(...e){if(new.target)throw c();return b.Readable.from(a(x,this,e))}i(S,"name",{__proto__:null,value:x.name}),i(S,"length",{__proto__:null,value:x.length}),i(b.Readable.prototype,_,{__proto__:null,value:S,enumerable:!1,configurable:!0,writable:!0})}for(const E of o(l)){const T=l[E];function k(...e){if(new.target)throw c();return a(T,this,e)}i(k,"name",{__proto__:null,value:T.name}),i(k,"length",{__proto__:null,value:T.length}),i(b.Readable.prototype,E,{__proto__:null,value:k,enumerable:!1,configurable:!0,writable:!0})}b.Writable=r(20448),b.Duplex=r(9858),b.Transform=r(84558),b.PassThrough=r(6404),b.pipeline=p;const{addAbortSignal:w}=r(8315);b.addAbortSignal=w,b.finished=y,b.destroy=g,b.compose=f,b.setDefaultHighWaterMark=d,b.getDefaultHighWaterMark=h,i(b,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),i(p,s,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),i(y,s,{__proto__:null,enumerable:!0,get:()=>m.finished}),b.Stream=b,b._isUint8Array=function(e){return e instanceof Uint8Array},b._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}},38054:(e,t,r)=>{"use strict";var n=r(87098),i=r(50417);e.exports=Object.keys||function(e){return n(e,i)}},38196:(e,t,r)=>{var n=r(18089),i=r(74415),o=r(79306),a=r(72473),s=r(77),u=r(66521),l=r(99232),c=r(4167),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,y,m){var v=u(e),b=u(t),w=v?d:s(e),_=b?d:s(t),x=(w=w==f?h:w)==h,S=(_=_==f?h:_)==h,E=w==_;if(E&&l(e)){if(!l(t))return!1;v=!0,x=!1}if(E&&!x)return m||(m=new n),v||c(e)?i(e,t,r,g,y,m):o(e,t,w,r,g,y,m);if(!(1&r)){var T=x&&p.call(e,"__wrapped__"),k=S&&p.call(t,"__wrapped__");if(T||k){var O=T?e.value():e,A=k?t.value():t;return m||(m=new n),y(O,A,r,g,m)}}return!!E&&(m||(m=new n),a(e,t,r,g,y,m))}},38354:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},38877:e=>{e.exports=function(e){return function(t){return e(t)}}},39022:function(e,t,r){"use strict";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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39336:(e,t,r)=>{"use strict";var n=r(69899),i=r(63927),o=r(92140),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e)))return s;if(i(r=e.valueOf)&&!o(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},39839:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},40151:(e,t,r)=>{"use strict";var n=r(61059),i=r(51924),o=r(93228),a=function(e){return function(t,r,a){var s=n(t),u=o(s);if(0===u)return!e&&-1;var l,c=i(a,u);if(e&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},40268:(e,t,r)=>{"use strict";var n=r(69899),i=r(67527),o=r(74531),a=r(53687),s=r(24593),u=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return a.correct||!o(u,e)||i(e,"flags")?e.flags:n(s,e)}},40355:(e,t,r)=>{"use strict";var n=r(76441).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},40818:(e,t,r)=>{"use strict";var n=r(33861)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},41539:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},42378:(e,t,r)=>{var n=r(58732),i=r(38877),o=r(66273),a=o&&o.isMap,s=a?i(a):n;e.exports=s},42489:(e,t,r)=>{var n=r(82310)(r(58453),"Set");e.exports=n},42507:(e,t,r)=>{"use strict";var n=r(66584),i=r(86547);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},42605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultGraph=void 0;class r{constructor(){this.termType="DefaultGraph",this.value=""}equals(e){return!!e&&"DefaultGraph"===e.termType}}t.DefaultGraph=r,r.INSTANCE=new r},42840:(e,t,r)=>{"use strict";const n=r(84686),{format:i,inspect:o}=r(78215),{codes:{ERR_INVALID_ARG_TYPE:a}}=r(90011),{kResistStopPropagation:s,AggregateError:u,SymbolDispose:l}=r(52990),c=globalThis.AbortSignal||r(59208).AbortSignal,f=globalThis.AbortController||r(59208).AbortController,d=Object.getPrototypeOf(async function(){}).constructor,h=globalThis.Blob||n.Blob,p=void 0!==h?function(e){return e instanceof h}:function(e){return!1},g=(e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new a(t,"AbortSignal",e)};e.exports={AggregateError:u,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}},promisify:e=>new Promise((t,r)=>{e((e,...n)=>e?r(e):t(...n))}),debuglog:()=>function(){},format:i,inspect:o,types:{isAsyncFunction:e=>e instanceof d,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:p,deprecate:(e,t)=>e,addAbortListener:r(89784).addAbortListener||function(e,t){if(void 0===e)throw new a("signal","AbortSignal",e);let r;return g(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new a(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[s]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[l](){var e;null===(e=r)||void 0===e||e()}}},AbortSignalAny:c.any||function(e){if(1===e.length)return e[0];const t=new f,r=()=>t.abort();return e.forEach(e=>{g(e,"signals"),e.addEventListener("abort",r,{once:!0})}),t.signal.addEventListener("abort",()=>{e.forEach(e=>e.removeEventListener("abort",r))},{once:!0}),t.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},43142:(e,t,r)=>{var n=r(79111),i=r(78305);e.exports=function(e,t){return e&&n(t,i(t),e)}},43647:(e,t,r)=>{"use strict";var n=r(71341),i=r(17709),o=r(78313),a=i("species");e.exports=function(e){return o>=51||!n(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},43752:(e,t,r)=>{var n=r(30581),i=r(22839),o=r(36615);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},43970:(e,t,r)=>{"use strict";r(92529);var n=r(69899),i=r(96950),o=r(99221),a=r(71341),s=r(17709),u=r(60257),l=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var d=s(e),h=!a(function(){var t={};return t[d]=function(){return 7},7!==""[e](t)}),p=h&&!a(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t});if(!h||!p||r){var g=/./[d],y=t(d,""[e],function(e,t,r,i,a){var s=t.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},44061:(e,t,r)=>{var n=r(76624),i=r(19358),o=r(2050),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,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},44277:(e,t,r)=>{"use strict";var n,i,o,a,s,u=r(39022),l=r(53151),c=r(84750),f=r(9523).set,d=r(96615),h=r(75150),p=r(3779),g=r(73698),y=r(98579),m=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var e,t;for(y&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&n(),e}e&&e.enter()};h||y||g||!m||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=v.createTextNode(""),new m(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(e){x.head||n(),x.add(e)}}e.exports=_},44533:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},44807:(e,t,r)=>{"use strict";var n=r(71341),i=r(39022).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),a=o||n(function(){return!i("a","y").sticky}),s=o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},45019:(e,t,r)=>{"use strict";var n=r(96299);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},45364:(e,t,r)=>{var n=r(82310)(r(58453),"DataView");e.exports=n},45450:(e,t,r)=>{var n=r(90951)(Object.keys,Object);e.exports=n},45782:(e,t,r)=>{"use strict";const n=r(38042),i=r(24959),o=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=o,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=n.Stream,e.exports.default=e.exports},46431:(e,t,r)=>{var n=r(79512),i=r(66521);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},46997:e=>{"use strict";e.exports="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"},47328:(e,t,r)=>{var n=r(47714),i=r(30617),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),function(t){return o.call(e,t)}))}:i;e.exports=s},47367:(e,t,r)=>{var n=r(79111),i=r(47328);e.exports=function(e,t){return n(e,i(e),t)}},47382:(e,t,r)=>{var n=r(76624),i=r(2050);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},47714:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},47917:(e,t,r)=>{"use strict";const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:s,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:h,String:p,StringPrototypeToUpperCase:g,StringPrototypeTrim:y}=r(52990),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:x}}=r(90011),{normalizeEncoding:S}=r(42840),{isAsyncFunction:E,isArrayBufferView:T}=r(42840).types,k={};const O=/^[0-7]+$/;const A=m((e,t,r=c,n=l)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),C=m((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),R=m((e,t,r=!1)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new _(t,`>= ${n} && <= ${i}`,e)});function P(e,t){if("string"!=typeof e)throw new b(t,"string",e)}const j=m((e,t,r)=>{if(!i(r,e)){const n=o(a(r,e=>"string"==typeof e?`'${e}'`:p(e)),", ");throw new w(t,e,"must be one of: "+n)}});function N(e,t){if("boolean"!=typeof e)throw new b(t,"boolean",e)}function D(e,t,r){return null!=e&&d(e,t)?e[t]:r}const I=m((e,t,r=null)=>{const i=D(r,"allowArray",!1),o=D(r,"allowFunction",!1);if(!D(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new b(t,"Object",e)}),L=m((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new b(t,"a dictionary",e)}),M=m((e,t,r=0)=>{if(!n(e))throw new b(t,"Array",e);if(e.length<r){throw new w(t,e,`must be longer than ${r}`)}});const F=m((e,t="buffer")=>{if(!T(e))throw new b(t,["Buffer","TypedArray","DataView"],e)});const B=m((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new b(t,"AbortSignal",e)}),V=m((e,t)=>{if("function"!=typeof e)throw new b(t,"Function",e)}),U=m((e,t)=>{if("function"!=typeof e||E(e))throw new b(t,"Function",e)}),W=m((e,t)=>{if(void 0!==e)throw new b(t,"undefined",e)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function $(e,t){if(void 0===e||!h(H,e))throw new w(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===h(O,e))throw new w(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return R(e,t),e},validateArray:M,validateStringArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++)P(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++)N(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new b(i,"AbortSignal",n);B(n,i)}},validateBoolean:N,validateBuffer:F,validateDictionary:L,validateEncoding:function(e,t){const r=S(t),n=e.length;if("hex"===r&&n%2!=0)throw new w("encoding",t,`is invalid for data of length ${n}`)},validateFunction:V,validateInt32:C,validateInteger:A,validateNumber:function(e,t,r=void 0,n){if("number"!=typeof e)throw new b(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new _(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:I,validateOneOf:j,validatePlainFunction:U,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===y(e).length||+e!==+e>>>0||e>65535||0===e&&!r)throw new v(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(P(e,t),void 0===k[e]){if(void 0!==k[g(e)])throw new x(e+" (signals must use all capital letters)");throw new x(e)}},validateString:P,validateUint32:R,validateUndefined:W,validateUnion:function(e,t,r){if(!i(r,e))throw new b(t,`('${o(r,"|")}')`,e)},validateAbortSignal:B,validateLinkHeaderValue:function(e){if("string"==typeof e)return $(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];$(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new w("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},48042:(e,t,r)=>{"use strict";var n=r(76817),i=r(39336),o=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new o("Incorrect hint");return i(this,e)}},48665:(e,t,r)=>{"use strict";var n=r(67527);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},48710:(e,t,r)=>{var n=r(81330),i=r(19358);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},49339:(e,t,r)=>{"use strict";var n=r(26772),i=r(4814),o=r(80994).CONSTRUCTOR;e.exports=o||!i(function(e){n.all(e).then(void 0,function(){})})},49755:(e,t,r)=>{"use strict";var n=r(66584),i=r(31125),o=r(61559),a=r(29008),s=r(50962),u=r(76817),l=r(92140),c=r(82358),f=r(71341),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),y=!f(function(){d(function(){})}),m=g||y;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){s(e),u(t);var r=arguments.length<3?e:s(arguments[2]);if(y&&!g)return d(e,t,r);if(e===r){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 n=[null];return o(p,n,t),new(o(a,e,n))}var i=r.prototype,f=c(l(i)?i:h),m=o(e,f,t);return l(m)?m:f}})},49853:(e,t,r)=>{"use strict";var n=r(57987),i=r(51726),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},50417:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50962:(e,t,r)=>{"use strict";var n=r(12371),i=r(54077),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},51241:(e,t,r)=>{var n=r(22839),i=r(36615),o=r(32229);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},51267:(e,t,r)=>{"use strict";var n=r(92140);e.exports=function(e){return n(e)||null===e}},51327:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},51387:e=>{e.exports=function(e){return this.__data__.has(e)}},51454:(e,t,r)=>{"use strict";var n=r(64745);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},51471:(e,t,r)=>{"use strict";var n=r(28620),i=Object;e.exports=function(e){return i(n(e))}},51726:(e,t,r)=>{"use strict";var n=r(71550),i=0,o=Math.random(),a=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},51924:(e,t,r)=>{"use strict";var n=r(91537),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},52047:(e,t,r)=>{"use strict";var n=r(76817),i=r(50962),o=r(54395),a=r(17709)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},52353:(e,t,r)=>{var n=r(58453)["__core-js_shared__"];e.exports=n},52441:(e,t,r)=>{"use strict";var n=r(74531),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},52575:(e,t,r)=>{"use strict";var n,i,o,a=r(71341),s=r(63927),u=r(92140),l=r(82358),c=r(66369),f=r(96950),d=r(17709),h=r(32161),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=l(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},52864:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},52990:e=>{"use strict";class t extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}e.exports={AggregateError:t,ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean,Uint8Array}},53098:(e,t,r)=>{"use strict";var n=r(37423).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},53151:(e,t,r)=>{"use strict";var n=r(39022),i=r(97890),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},53660:(e,t,r)=>{"use strict";const n=r(68558),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=r(52990),{Buffer:s}=r(84686),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(90011).codes;e.exports=function(e,t,r){let c,f;if("string"==typeof t||t instanceof s)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[o])f=!0,c=t[o]();else{if(!t||!t[a])throw new u("iterable",["Iterable"],t);f=!1,c=t[a]()}const d=new e({objectMode:!0,highWaterMark:1,...r});let h=!1;return d._read=function(){h||(h=!0,async function(){for(;;){try{const{value:e,done:t}=f?await c.next():c.next();if(t)d.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw h=!1,new l;if(d.push(t))continue;h=!1}}catch(e){d.destroy(e)}break}}())},d._destroy=function(e,t){i(async function(e){const t=null!=e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),()=>n.nextTick(t,e),r=>n.nextTick(t,r||e))},d}},53676:(e,t,r)=>{var n=r(82310)(r(58453),"Promise");e.exports=n},53687:(e,t,r)=>{"use strict";var n=r(39022),i=r(71341),o=n.RegExp,a=!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n});e.exports={correct:a}},53921:(e,t,r)=>{var n=r(18429);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},54077:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},54105:(e,t,r)=>{"use strict";var n=r(26671).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},54395:e=>{"use strict";e.exports=function(e){return null==e}},54452:(e,t,r)=>{"use strict";var n=r(66584),i=r(71341),o=r(69110),a=r(92140),s=r(51471),u=r(93228),l=r(30839),c=r(2378),f=r(45019),d=r(43647),h=r(17709),p=r(78313),g=h("isConcatSpreadable"),y=p>=51||!i(function(){var e=[];return e[g]=!1,e.concat()[0]!==e}),m=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(e){var t,r,n,i,o,a=s(this),d=f(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(m(o=-1===t?a:arguments[t]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},54484:(e,t,r)=>{"use strict";var n=r(69899),i=r(31125),o=r(17709),a=r(96950);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,function(e){return n(r,this)},{arity:1})}},54820:(e,t,r)=>{"use strict";var n=r(66584),i=r(71550),o=r(68316),a=r(51471),s=r(93228),u=r(56136),l=r(85017),c=r(71341),f=r(81374),d=r(4012),h=r(40355),p=r(99457),g=r(78313),y=r(81145),m=[],v=i(m.sort),b=i(m.push),w=c(function(){m.sort(void 0)}),_=c(function(){m.sort(null)}),x=d("sort"),S=!c(function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort(function(e,t){return t.v-e.v}),n=0;n<m.length;n++)t=m[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(S)return void 0===e?v(t):v(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&b(i,t[n]);for(f(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=s(i),n=0;n<r;)t[n]=i[n++];for(;n<c;)u(t,n++);return t}})},54999:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},55046:(e,t,r)=>{const n=r(68558),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=r(52990),u=r(80038),{once:l}=r(42840),c=r(25296),f=r(9858),{aggregateTwoErrors:d,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:v}=r(90011),{validateFunction:b,validateAbortSignal:w}=r(47917),{isIterable:_,isReadable:x,isReadableNodeStream:S,isNodeStream:E,isTransformStream:T,isWebStream:k,isReadableStream:O,isReadableFinished:A}=r(30091),C=globalThis.AbortController||r(59208).AbortController;let R,P,j;function N(e,t,r){let n=!1;e.on("close",()=>{n=!0});return{destroy:t=>{n||(n=!0,c.destroyer(e,t||new y("pipe")))},cleanup:u(e,{readable:t,writable:r},e=>{n=!e})}}function D(e){if(_(e))return e;if(S(e))return async function*(e){P||(P=r(73376));yield*P.prototype[a].call(e)}(e);throw new h("val",["Readable","Iterable","AsyncIterable"],e)}async function I(e,t,r,{end:n}){let i,a=null;const s=e=>{if(e&&(i=e),a){const e=a;a=null,e()}},l=()=>new o((e,t)=>{i?t(i):a=()=>{i?t(i):e()}});t.on("drain",s);const c=u(t,{readable:!1},s);try{t.writableNeedDrain&&await l();for await(const r of e)t.write(r)||await l();n&&(t.end(),await l()),r()}catch(e){r(i!==e?d(i,e):e)}finally{c(),t.off("drain",s)}}async function L(e,t,r,{end:n}){T(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function M(e,t,o){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new g("streams");const a=new C,u=a.signal,l=null==o?void 0:o.signal,c=[];function d(){V(new v)}let y,m,b;w(l,"options.signal"),j=j||r(42840).addAbortListener,l&&(y=j(l,d));const A=[];let P,M=0;function B(e){V(e,0===--M)}function V(e,r){var i;if(!e||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=e),m||r){for(;A.length;)A.shift()(m);null===(i=y)||void 0===i||i[s](),a.abort(),r&&(m||c.forEach(e=>e()),n.nextTick(t,m,b))}}for(let $=0;$<e.length;$++){const Y=e[$],G=$<e.length-1,q=$>0,z=G||!1!==(null==o?void 0:o.end),X=$===e.length-1;if(E(Y)){if(z){const{destroy:Q,cleanup:Z}=N(Y,G,q);A.push(Q),x(Y)&&X&&c.push(Z)}function U(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&B(e)}Y.on("error",U),x(Y)&&X&&c.push(()=>{Y.removeListener("error",U)})}if(0===$)if("function"==typeof Y){if(P=Y({signal:u}),!_(P))throw new p("Iterable, AsyncIterable or Stream","source",P)}else P=_(Y)||S(Y)||T(Y)?Y:f.from(Y);else if("function"==typeof Y){var W;if(T(P))P=D(null===(W=P)||void 0===W?void 0:W.readable);else P=D(P);if(P=Y(P,{signal:u}),G){if(!_(P,!0))throw new p("AsyncIterable",`transform[${$-1}]`,P)}else{var H;R||(R=r(6404));const J=new R({objectMode:!0}),K=null===(H=P)||void 0===H?void 0:H.then;if("function"==typeof K)M++,K.call(P,e=>{b=e,null!=e&&J.write(e),z&&J.end(),n.nextTick(B)},e=>{J.destroy(e),n.nextTick(B,e)});else if(_(P,!0))M++,I(P,J,B,{end:z});else{if(!O(P)&&!T(P))throw new p("AsyncIterable or Promise","destination",P);{const re=P.readable||P;M++,I(re,J,B,{end:z})}}P=J;const{destroy:ee,cleanup:te}=N(P,!1,!0);A.push(ee),X&&c.push(te)}}else if(E(Y)){if(S(P)){M+=2;const ne=F(P,Y,B,{end:z});x(Y)&&X&&c.push(ne)}else if(T(P)||O(P)){const ie=P.readable||P;M++,I(ie,Y,B,{end:z})}else{if(!_(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);M++,I(P,Y,B,{end:z})}P=Y}else if(k(Y)){if(S(P))M++,L(D(P),Y,B,{end:z});else if(O(P)||_(P))M++,L(P,Y,B,{end:z});else{if(!T(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);M++,L(P.readable,Y,B,{end:z})}P=Y}else P=f.from(Y)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(d),P}function F(e,t,r,{end:i}){let o=!1;if(t.on("close",()=>{o||r(new m)}),e.pipe(t,{end:!1}),i){function a(){o=!0,t.end()}A(e)?n.nextTick(a):e.once("end",a)}else r();return u(e,{readable:!0,writable:!1},t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)}),u(t,{readable:!1,writable:!0},r)}e.exports={pipelineImpl:M,pipeline:function(...e){return M(e,l(function(e){return b(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},55142:(e,t,r)=>{"use strict";var n=r(66584),i=r(69899),o=r(92140),a=r(76817),s=r(48665),u=r(85613),l=r(66369);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,c,f=arguments.length<3?t:arguments[2];return a(t)===f?t[r]:(n=u.f(t,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(t))?e(c,r,f):void 0}})},55456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaxesParser=t.EVENTS=void 0;const n=r(8049),i=r(19571),o=r(69564);var a=n.isS,s=n.isChar,u=n.isNameStartChar,l=n.isNameChar,c=n.S_LIST,f=n.NAME_RE,d=i.isChar,h=o.isNCNameStartChar,p=o.isNCNameChar,g=o.NC_NAME_RE;const y="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",v={__proto__:null,xml:y,xmlns:m},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},w=-1,_=-2,x=13,S=33,E=10,T=60,k=61,O=62,A=63,C=93,R=e=>34===e||39===e,P=[34,39],j=[...P,91,O],N=[...P,T,C],D=[k,A,...c],I=[...c,O,38,T];function L(e,t,r){switch(t){case"xml":r!==y&&e.fail(`xml prefix must be bound to ${y}.`);break;case"xmlns":r!==m&&e.fail(`xmlns prefix must be bound to ${m}.`)}switch(r){case m:e.fail(""===t?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${m}.`);break;case y:switch(t){case"xml":break;case"":e.fail(`the default namespace may not be set to ${r}.`);break;default:e.fail("may not assign the xml namespace to another prefix.")}}}const M=e=>g.test(e),F=e=>f.test(e);t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const B={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};t.SaxesParser=class{get closed(){return this._closed}constructor(e){this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;const t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=h,this.nameCheck=p,this.isName=M,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},v);const e=this.opt.additionalNamespaces;null!=e&&(!function(e,t){for(const r of Object.keys(t))L(e,r,t[r])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=u,this.nameCheck=l,this.isName=F,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?x:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:r}=this.opt;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(b),null===(e=this.readyHandler)||void 0===e||e.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[B[e]]=t}off(e){this[B[e]]=void 0}makeError(e){var t;let r=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+e)}fail(e){const t=this.makeError(e),r=this.errorHandler;if(void 0===r)throw t;return r(t),this}write(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let t=!1;null===e?(t=!0,e=""):"object"==typeof e&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let r=e.length;const n=e.charCodeAt(r-1);!t&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=e[r-1],r--,e=e.slice(0,r));const{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,t?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return w;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case E:return this.line++,this.column=0,this.positionAtNewLine=this.position,E;case 13:return e.charCodeAt(t+1)===E&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,_;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return w;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case E:return this.line++,this.column=0,this.positionAtNewLine=this.position,E;case 13:{const r=e.charCodeAt(t+1);r!==E&&133!==r||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,_;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const e=this.getCode();return e===_?E:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=n===_,o=i?E:n;if(o===w||e.includes(o))return this.text+=r.slice(t,this.prevI),o;i&&(this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case _:this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i,n=E;break;case w:return this.text+=r.slice(t),!1}if(n===e)return this.text+=r.slice(t,this.prevI),!0}}captureNameChars(){const{chunk:e,i:t}=this;for(;;){const r=this.getCode();if(r===w)return this.name+=e.slice(t),w;if(!l(r))return this.name+=e.slice(t,this.prevI),r===_?E:r}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(e===w||!a(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=d,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case T:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case w:break;default:this.unget(),this.state=x,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(j);switch(t){case O:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=x,this.doctype=!0;break;case w:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:R(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){const e=this.captureTo(N);e!==w&&(this.text+=String.fromCodePoint(e),e===C?this.state=2:e===T?this.state=6:R(e)&&(this.state=5,this.q=e))}sDTDQuoted(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){const e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case A:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}sDTDCommentEnded(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===O?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(A)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===O&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:e}=this;const{chunk:t}=this;e:for(;;)switch(this.getCode()){case _:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+t.slice(e,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),r===x&&void 0===this.textHandler||(this.text+=i);break e}case w:this.entity+=t.slice(e);break e}}sOpenWaka(){const e=this.getCode();if(u(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case A:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=x,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;const t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const e=this.getCodeNorm();e!==O?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(e)}`,this.state=17):this.state=x}sCData(){this.captureToChar(C)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();e===C?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case O:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=x;break;case C:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===A||a(e)?(this.fail("processing instruction without a target."),this.state=e===A?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){const{chunk:e,i:t}=this;for(;;){const r=this.getCodeNorm();if(r===w)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(r)){this.piTarget+=e.slice(t,this.prevI);const n=r===A;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?S:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}sPIBody(){if(0===this.text.length){const e=this.getCodeNorm();e===A?this.state=26:a(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(A)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(t===O){const{piTarget:t}=this;"xml"===t.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:t,body:this.text}),this.piTarget=this.text="",this.state=x}else t===A?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();e!==A?e!==w&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=S}sXMLDeclName(){const e=this.captureTo(D);if(e===A)return this.state=S,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(e)||e===k){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=e===k?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(e===A)return this.state=S,void this.fail("XML declaration is incomplete.");a(e)||(e!==k&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(e===A)return this.state=S,void this.fail("XML declaration is incomplete.");a(e)||(R(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,A]);if(e===A)return this.state=S,this.text="",void this.fail("XML declaration is incomplete.");if(e===w)return;const t=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}sXMLDeclSeparator(){const e=this.getCodeNorm();e!==A?(a(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=S}sXMLDeclEnding(){var e;this.getCodeNorm()===O?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=x):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(t===w)return;const r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case O:this.openTag();break;case 47:this.state=35;break;default:a(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===O?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();e!==w&&(u(e)?(this.unget(),this.state=37):e===O?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();e===k?this.state=39:a(e)?this.state=38:e===O?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):e!==w&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case w:return;case k:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",e===O?this.openTag():u(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();R(e)?(this.q=e,this.state=40):a(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:e,chunk:t}=this;let{i:r}=this;for(;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case E:case _:case 9:this.text+=`${t.slice(r,this.prevI)} `,r=this.i;break;case T:return this.text+=t.slice(r,this.prevI),void this.fail("disallowed character.");case w:return void(this.text+=t.slice(r))}}sAttribValueClosed(){const e=this.getCodeNorm();a(e)?this.state=36:e===O?this.openTag():47===e?this.state=35:u(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const e=this.captureTo(I);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case T:this.fail("disallowed character.");break;case w:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",e===O?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();e===O?this.closeTag():a(e)?this.state=44:e!==w&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case O:this.closeTag();break;case w:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:e,forbiddenState:t}=this;const{chunk:r,textHandler:n}=this;e:for(;;)switch(this.getCode()){case T:if(this.state=15,void 0!==n){const{text:t}=this,i=r.slice(e,this.prevI);0!==t.length?(n(t+i),this.text=""):0!==i.length&&n(i)}t=0;break e;case 38:this.state=14,this.entityReturnState=x,void 0!==n&&(this.text+=r.slice(e,this.prevI)),t=0;break e;case C:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case O:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case _:void 0!==n&&(this.text+=`${r.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case w:void 0!==n&&(this.text+=r.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this;const{chunk:t,textHandler:r}=this;let n=!1;e:for(;;){const i=this.getCode();switch(i){case T:if(this.state=15,void 0!==r){const{text:n}=this,i=t.slice(e,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break e;case 38:this.state=14,this.entityReturnState=x,void 0!==r&&(this.text+=t.slice(e,this.prevI)),n=!0;break e;case _:void 0!==r&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case w:void 0!==r&&(this.text+=t.slice(e));break e;default:a(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var r;const{prefix:n,local:i}=this.qname(e),o={name:e,prefix:n,local:i,value:t};if(this.attribList.push(o),null===(r=this.attributeHandler)||void 0===r||r.call(this,o),"xmlns"===n){const e=t.trim();"1.0"===this.currentXMLVersion&&""===e&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=e,L(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,L(this,"",e)}}pushAttribPlain(e,t){var r;const n={name:e,value:t};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var e,t;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const e=r.pop();this.fail(`unclosed tag: ${e.name}`)}0!==this.state&&this.state!==x&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,n),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}resolve(e){var t,r;let n=this.topNS[e];if(void 0!==n)return n;const{tags:i}=this;for(let t=i.length-1;t>=0;t--)if(n=i[t].ns[e],void 0!==n)return n;return n=this.ns[e],void 0!==n?n:null===(r=(t=this.opt).resolvePrefix)||void 0===r?void 0:r.call(t,e)}qname(e){const t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};const r=e.slice(t+1),n=e.slice(0,t);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${e}.`),{prefix:n,local:r}}processAttribsNS(){var e;const{attribList:t}=this,r=this.tag;{const{prefix:t,local:n}=this.qname(r.name);r.prefix=t,r.local=n;const i=r.uri=null!==(e=this.resolve(t))&&void 0!==e?e:"";""!==t&&("xmlns"===t&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),r.uri=t))}if(0===t.length)return;const{attributes:n}=r,i=new Set;for(const e of t){const{name:t,prefix:r,local:o}=e;let a,s;""===r?(a="xmlns"===t?m:"",s=t):(a=this.resolve(r),void 0===a&&(this.fail(`unbound namespace prefix: ${JSON.stringify(r)}.`),a=r),s=`{${a}}${o}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),e.uri=a,n[t]=e}this.attribList=[]}processAttribsPlain(){const{attribList:e}=this,t=this.tag.attributes;for(const{name:r,value:n}of e)void 0!==t[r]&&this.fail(`duplicate attribute: ${r}.`),t[r]=n;this.attribList=[]}openTag(){var e;this.processAttribs();const{tags:t}=this,r=this.tag;r.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,r),t.push(r),this.state=x,this.name=""}openSelfClosingTag(){var e,t,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i);null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=x,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=x,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=e.length;for(;n-- >0;){const n=this.tag=e.pop();if(this.topNS=n.ns,null==r||r(n),n.name===t)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if("#"!==e[0]){const t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),`&${e};`)}let t=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail("malformed character entity."),`&${e};`)}}},55892:(e,t,r)=>{var n,i,o,a,s;n=r(97635),i=r(41539).utf8,o=r(23445),a=r(41539).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),u=8*e.length,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<r.length;h++)r[h]=16711935&(r[h]<<8|r[h]>>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var p=s._ff,g=s._gg,y=s._hh,m=s._ii;for(h=0;h<r.length;h+=16){var v=l,b=c,w=f,_=d;l=p(l,c,f,d,r[h+0],7,-680876936),d=p(d,l,c,f,r[h+1],12,-389564586),f=p(f,d,l,c,r[h+2],17,606105819),c=p(c,f,d,l,r[h+3],22,-1044525330),l=p(l,c,f,d,r[h+4],7,-176418897),d=p(d,l,c,f,r[h+5],12,1200080426),f=p(f,d,l,c,r[h+6],17,-1473231341),c=p(c,f,d,l,r[h+7],22,-45705983),l=p(l,c,f,d,r[h+8],7,1770035416),d=p(d,l,c,f,r[h+9],12,-1958414417),f=p(f,d,l,c,r[h+10],17,-42063),c=p(c,f,d,l,r[h+11],22,-1990404162),l=p(l,c,f,d,r[h+12],7,1804603682),d=p(d,l,c,f,r[h+13],12,-40341101),f=p(f,d,l,c,r[h+14],17,-1502002290),l=g(l,c=p(c,f,d,l,r[h+15],22,1236535329),f,d,r[h+1],5,-165796510),d=g(d,l,c,f,r[h+6],9,-1069501632),f=g(f,d,l,c,r[h+11],14,643717713),c=g(c,f,d,l,r[h+0],20,-373897302),l=g(l,c,f,d,r[h+5],5,-701558691),d=g(d,l,c,f,r[h+10],9,38016083),f=g(f,d,l,c,r[h+15],14,-660478335),c=g(c,f,d,l,r[h+4],20,-405537848),l=g(l,c,f,d,r[h+9],5,568446438),d=g(d,l,c,f,r[h+14],9,-1019803690),f=g(f,d,l,c,r[h+3],14,-187363961),c=g(c,f,d,l,r[h+8],20,1163531501),l=g(l,c,f,d,r[h+13],5,-1444681467),d=g(d,l,c,f,r[h+2],9,-51403784),f=g(f,d,l,c,r[h+7],14,1735328473),l=y(l,c=g(c,f,d,l,r[h+12],20,-1926607734),f,d,r[h+5],4,-378558),d=y(d,l,c,f,r[h+8],11,-2022574463),f=y(f,d,l,c,r[h+11],16,1839030562),c=y(c,f,d,l,r[h+14],23,-35309556),l=y(l,c,f,d,r[h+1],4,-1530992060),d=y(d,l,c,f,r[h+4],11,1272893353),f=y(f,d,l,c,r[h+7],16,-155497632),c=y(c,f,d,l,r[h+10],23,-1094730640),l=y(l,c,f,d,r[h+13],4,681279174),d=y(d,l,c,f,r[h+0],11,-358537222),f=y(f,d,l,c,r[h+3],16,-722521979),c=y(c,f,d,l,r[h+6],23,76029189),l=y(l,c,f,d,r[h+9],4,-640364487),d=y(d,l,c,f,r[h+12],11,-421815835),f=y(f,d,l,c,r[h+15],16,530742520),l=m(l,c=y(c,f,d,l,r[h+2],23,-995338651),f,d,r[h+0],6,-198630844),d=m(d,l,c,f,r[h+7],10,1126891415),f=m(f,d,l,c,r[h+14],15,-1416354905),c=m(c,f,d,l,r[h+5],21,-57434055),l=m(l,c,f,d,r[h+12],6,1700485571),d=m(d,l,c,f,r[h+3],10,-1894986606),f=m(f,d,l,c,r[h+10],15,-1051523),c=m(c,f,d,l,r[h+1],21,-2054922799),l=m(l,c,f,d,r[h+8],6,1873313359),d=m(d,l,c,f,r[h+15],10,-30611744),f=m(f,d,l,c,r[h+6],15,-1560198380),c=m(c,f,d,l,r[h+13],21,1309151649),l=m(l,c,f,d,r[h+4],6,-145523070),d=m(d,l,c,f,r[h+11],10,-1120210379),f=m(f,d,l,c,r[h+2],15,718787259),c=m(c,f,d,l,r[h+9],21,-343485551),l=l+v>>>0,c=c+b>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([l,c,f,d])})._ff=function(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,r,n,i,o,a){var s=e+(t^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(s(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},56136:(e,t,r)=>{"use strict";var n=r(54077),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},56170:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);n&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},56770:(e,t,r)=>{var n=r(76624),i=r(2050);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},56969:(e,t,r)=>{var n=r(21379);e.exports=function(e){return n(this,e).get(e)}},57e3:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},57380:(e,t,r)=>{var n=r(22839);e.exports=function(){this.__data__=new n,this.size=0}},57468:(e,t,r)=>{var n=r(22118);e.exports=function(e,t){return n(e,t)}},57717:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},57946:(e,t,r)=>{var n=r(82310)(Object,"create");e.exports=n},57987:(e,t,r)=>{"use strict";var n=r(73907);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},58079:(e,t,r)=>{var n=r(57e3),i=r(6356),o=r(66521),a=r(99232),s=r(32753),u=r(4167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),c=!r&&i(e),f=!r&&!c&&a(e),d=!r&&!c&&!f&&u(e),h=r||c||f||d,p=h?n(e.length,String):[],g=p.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||p.push(y);return p}},58453:(e,t,r)=>{var n=r(18928),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},58732:(e,t,r)=>{var n=r(77),i=r(2050);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},58917:(e,t,r)=>{"use strict";var n=r(66584),i=r(69899),o=r(68316),a=r(64417),s=r(29029),u=r(22742);n({target:"Promise",stat:!0,forced:r(49339)},{race:function(e){var t=this,r=a.f(t),n=r.reject,l=s(function(){var a=o(t.resolve);u(e,function(e){i(a,t,e).then(r.resolve,n)})});return l.error&&n(l.value),r.promise}})},59020:(e,t,r)=>{var n=r(64073),i=r(60764),o=r(66521),a=r(56770),s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},59208:e=>{"use strict";const{AbortController:t,AbortSignal:r}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=r,e.exports.default=t},59799:(e,t)=>{"use strict";function r(e){const t=[];let r=0;for(;r<e.length;)switch(e[r]){case"/":if("."===e[r+1])if("."===e[r+2]){if(!i(e[r+3])){t.push([]),r++;break}t.pop(),e[r+3]||t.push([]),r+=3}else{if(!i(e[r+2])){t.push([]),r++;break}e[r+2]||t.push([]),r+=2}else t.push([]),r++;break;case"#":case"?":t.length||t.push([]),t[t.length-1].push(e.substr(r)),r=e.length;break;default:t.length||t.push([]),t[t.length-1].push(e[r]),r++}return"/"+t.map(e=>e.join("")).join("/")}function n(e,t){let n=t+1;t>=0?"/"===e[t+1]&&"/"===e[t+2]&&(n=t+3):"/"===e[0]&&"/"===e[1]&&(n=2);const i=e.indexOf("/",n);if(i<0)return e;return e.substr(0,i)+r(e.substr(i))}function i(e){return!e||"#"===e||"?"===e||"/"===e}Object.defineProperty(t,"__esModule",{value:!0}),t.removeDotSegmentsOfPath=t.removeDotSegments=t.resolve=void 0,t.resolve=function(e,t){const i=(t=t||"").indexOf("#");if(i>0&&(t=t.substr(0,i)),!e.length){if(t.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${t}' for value '${e}'`);return t}if(e.startsWith("?")){const r=t.indexOf("?");return r>0&&(t=t.substr(0,r)),t+e}if(e.startsWith("#"))return t+e;if(!t.length){const t=e.indexOf(":");if(t<0)throw new Error(`Found invalid relative IRI '${e}' for a missing baseIRI`);return n(e,t)}const o=e.indexOf(":");if(o>=0)return n(e,o);const a=t.indexOf(":");if(a<0)throw new Error(`Found invalid baseIRI '${t}' for value '${e}'`);const s=t.substr(0,a+1);if(0===e.indexOf("//"))return s+n(e,o);let u;if(t.indexOf("//",a)===a+1){if(u=t.indexOf("/",a+3),u<0)return t.length>a+3?t+"/"+n(e,o):s+n(e,o)}else if(u=t.indexOf("/",a+1),u<0)return s+n(e,o);if(0===e.indexOf("/"))return t.substr(0,u)+r(e);let l=t.substr(u);const c=l.lastIndexOf("/");return c>=0&&c<l.length-1&&(l=l.substr(0,c+1),"."===e[0]&&"."!==e[1]&&"/"!==e[1]&&e[2]&&(e=e.substr(1))),e=r(e=l+e),t.substr(0,u)+e},t.removeDotSegments=r,t.removeDotSegmentsOfPath=n},59841:(e,t,r)=>{var n=r(18429);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},60257:(e,t,r)=>{"use strict";var n=r(97890),i=r(37423),o=r(63382);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},60430:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],l=n.base?u[0]+n.base:u[0],c=o[l]||0,f="".concat(l," ").concat(c);o[l]=c+1;var d=r(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=i(h,n);n.byIndex=s,t.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function i(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=r(o[a]);t[s].references--}for(var u=n(e,i),l=0;l<o.length;l++){var c=r(o[l]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=u}}},60764:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},61059:(e,t,r)=>{"use strict";var n=r(69549),i=r(28620);e.exports=function(e){return n(i(e))}},61282:e=>{"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},61559:(e,t,r)=>{"use strict";var n=r(85502),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},61581:(e,t,r)=>{"use strict";var n=r(13132),i=r(92140),o=r(28620),a=r(98808);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},61784:(e,t,r)=>{"use strict";var n=r(39022),i=r(63927),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},62008:(e,t,r)=>{var n=r(72961),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},62119:(e,t,r)=>{var n=r(18429),i=r(59841),o=r(84521),a=r(656),s=r(53921);e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,r);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 s(e,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},62329:(e,t,r)=>{var n=r(57946),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},62556:(e,t,r)=>{"use strict";var n=r(71341),i=r(39022).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},62822:(e,t,r)=>{"use strict";var n=r(92140),i=r(6522),o=r(17709)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},63205:(e,t,r)=>{"use strict";var n=r(39022),i=r(76441),o=r(6522),a=function(e){return i.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},63382:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},63613:(e,t,r)=>{var n=r(57946);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},63927:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},64073:(e,t,r)=>{var n=r(58453).Symbol;e.exports=n},64175:(e,t,r)=>{"use strict";const n=globalThis.AbortController||r(59208).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=r(90011),{validateAbortSignal:l,validateInteger:c,validateObject:f}=r(47917),d=r(52990).Symbol("kWeak"),h=r(52990).Symbol("kResistStopPropagation"),{finished:p}=r(80038),g=r(34686),{addAbortSignalNoValidate:y}=r(8315),{isWritable:m,isNodeStream:v}=r(30091),{deprecate:b}=r(42840),{ArrayPrototypePush:w,Boolean:_,MathFloor:x,Number:S,NumberIsNaN:E,Promise:T,PromiseReject:k,PromiseResolve:O,PromisePrototypeThen:A,Symbol:C}=r(52990),R=C("kEmpty"),P=C("kEof");function j(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");let n=1;null!=(null==t?void 0:t.concurrency)&&(n=x(t.concurrency));let i=n-1;return null!=(null==t?void 0:t.highWaterMark)&&(i=x(t.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const o=r(42840).AbortSignalAny([null==t?void 0:t.signal].filter(_)),a=this,s=[],l={signal:o};let c,f,d=!1,h=0;function p(){d=!0,g()}function g(){h-=1,y()}function y(){f&&!d&&h<n&&s.length<i&&(f(),f=null)}!async function(){try{for await(let t of a){if(d)return;if(o.aborted)throw new u;try{if(t=e(t,l),t===R)continue;t=O(t)}catch(e){t=k(e)}h+=1,A(t,g,p),s.push(t),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(e=>{f=e})}s.push(P)}catch(e){const t=k(e);A(t,g,p),s.push(t)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const e=await s[0];if(e===P)return;if(o.aborted)throw new u;e!==R&&(yield e),s.shift(),y()}await new T(e=>{c=e})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function N(e,t=void 0){for await(const r of D.call(this,e,t))return!0;return!1}function D(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return j.call(this,async function(t,r){return await e(t,r)?t:R},t)}class I extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=S(e),E(e))return 0;if(e<0)throw new s("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:b(function(e=void 0){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u({cause:e.signal.reason});yield[t++,n]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;e--<=0&&(yield r)}}.call(this)},filter:D,flatMap:function(e,t){const r=j.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:j,take:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),v(e)&&!m(e))throw new i("stream",e,"must be writable");const r=g(this,e);return null!=t&&t.signal&&y(t.signal,r),r}},e.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await N.call(this,async(...t)=>!await e(...t),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const r of j.call(this,async function(t,r){return await e(t,r),R},t));},reduce:async function(e,t,r){var i;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=r&&f(r,"options"),null!=(null==r?void 0:r.signal)&&l(r.signal,"options.signal");let a=arguments.length>1;if(null!=r&&null!==(i=r.signal)&&void 0!==i&&i.aborted){const e=new u(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(e)),e}const s=new n,c=s.signal;if(null!=r&&r.signal){const e={once:!0,[d]:this,[h]:!0};r.signal.addEventListener("abort",()=>s.abort(),e)}let g=!1;try{for await(const n of this){var y;if(g=!0,null!=r&&null!==(y=r.signal)&&void 0!==y&&y.aborted)throw new u;a?t=await e(t,n,{signal:c}):(t=n,a=!0)}if(!g&&!a)throw new I}finally{s.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u(void 0,{cause:e.signal.reason});w(t,n)}return t},some:N,find:async function(e,t){for await(const r of D.call(this,e,t))return r}}},64417:(e,t,r)=>{"use strict";var n=r(68316),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},64627:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},64745:(e,t,r)=>{"use strict";var n=r(78313),i=r(71341),o=r(39022).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},64797:(e,t,r)=>{"use strict";var n=r(66584),i=r(71550),o=r(33977),a=r(28620),s=r(85017),u=r(83662),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},65276:(e,t,r)=>{"use strict";var n=r(66584),i=r(71550),o=r(69549),a=r(61059),s=r(4012),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},65391:(e,t,r)=>{var n=r(57717),i=r(51327),o=r(95149),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},65799:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},66273:(e,t,r)=>{e=r.nmd(e);var n=r(18928),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},66369:(e,t,r)=>{"use strict";var n=r(67527),i=r(63927),o=r(51471),a=r(49853),s=r(29157),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?c:null}},66521:e=>{var t=Array.isArray;e.exports=t},66547:(e,t,r)=>{"use strict";var n=r(31125),i=r(63927),o=r(74531),a=r(37986),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},66584:(e,t,r)=>{"use strict";var n=r(39022),i=r(85613).f,o=r(60257),a=r(96950),s=r(24267),u=r(82594),l=r(84470);e.exports=function(e,t){var r,c,f,d,h,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,e)}}},67167:(e,t,r)=>{"use strict";var n=r(66584),i=r(39022),o=r(69899),a=r(71550),s=r(32161),u=r(97890),l=r(64745),c=r(71341),f=r(67527),d=r(74531),h=r(76817),p=r(61059),g=r(96331),y=r(85017),m=r(63382),v=r(82358),b=r(38054),w=r(81378),_=r(16904),x=r(54999),S=r(85613),E=r(37423),T=r(9699),k=r(89439),O=r(96950),A=r(71188),C=r(57987),R=r(49853),P=r(10983),j=r(51726),N=r(17709),D=r(18953),I=r(20973),L=r(54484),M=r(83977),F=r(22727),B=r(34471).forEach,V=R("hidden"),U="Symbol",W="prototype",H=F.set,$=F.getterFor(U),Y=Object[W],G=i.Symbol,q=G&&G[W],z=i.RangeError,X=i.TypeError,Q=i.QObject,Z=S.f,J=E.f,K=_.f,ee=k.f,te=a([].push),re=C("symbols"),ne=C("op-symbols"),ie=C("wks"),oe=!Q||!Q[W]||!Q[W].findChild,ae=function(e,t,r){var n=Z(Y,t);n&&delete Y[t],J(e,t,r),n&&e!==Y&&J(Y,t,n)},se=u&&c(function(){return 7!==v(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a})?ae:J,ue=function(e,t){var r=re[e]=v(q);return H(r,{type:U,tag:e,description:t}),u||(r.description=t),r},le=function(e,t,r){e===Y&&le(ne,t,r),h(e);var n=g(t);return h(r),f(re,n)?(r.enumerable?(f(e,V)&&e[V][n]&&(e[V][n]=!1),r=v(r,{enumerable:m(0,!1)})):(f(e,V)||J(e,V,m(1,v(null))),e[V][n]=!0),se(e,n,r)):J(e,n,r)},ce=function(e,t){h(e);var r=p(t),n=b(r).concat(pe(r));return B(n,function(t){u&&!o(fe,r,t)||le(e,t,r[t])}),e},fe=function(e){var t=g(e),r=o(ee,this,t);return!(this===Y&&f(re,t)&&!f(ne,t))&&(!(r||!f(this,t)||!f(re,t)||f(this,V)&&this[V][t])||r)},de=function(e,t){var r=p(e),n=g(t);if(r!==Y||!f(re,n)||f(ne,n)){var i=Z(r,n);return!i||!f(re,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},he=function(e){var t=K(p(e)),r=[];return B(t,function(e){f(re,e)||f(P,e)||te(r,e)}),r},pe=function(e){var t=e===Y,r=K(t?ne:p(e)),n=[];return B(r,function(e){!f(re,e)||t&&!f(Y,e)||te(n,re[e])}),n};l||(O(q=(G=function(){if(d(q,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,t=j(e),r=function(e){var n=void 0===this?i:this;n===Y&&o(r,ne,e),f(n,V)&&f(n[V],t)&&(n[V][t]=!1);var a=m(1,e);try{se(n,t,a)}catch(e){if(!(e instanceof z))throw e;ae(n,t,a)}};return u&&oe&&se(Y,t,{configurable:!0,set:r}),ue(t,e)})[W],"toString",function(){return $(this).tag}),O(G,"withoutSetter",function(e){return ue(j(e),e)}),k.f=fe,E.f=le,T.f=ce,S.f=de,w.f=_.f=he,x.f=pe,D.f=function(e){return ue(N(e),e)},u&&(A(q,"description",{configurable:!0,get:function(){return $(this).description}}),s||O(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),B(b(ie),function(e){I(e)}),n({target:U,stat:!0,forced:!l},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?v(e):ce(v(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:he}),L(),M(G,U),P[V]=!0},67527:(e,t,r)=>{"use strict";var n=r(71550),i=r(51471),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},67777:e=>{"use strict";e.exports="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"},67896:(e,t,r)=>{"use strict";var n=r(7924).PROPER,i=r(71341),o=r(61282);e.exports=function(e){return i(function(){return!!o[e]()||"
"!=="
"[e]()||n&&o[e].name!==e})}},68175:(e,t,r)=>{"use strict";var n=r(31125),i=r(71188),o=r(17709),a=r(97890),s=o("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},68316:(e,t,r)=>{"use strict";var n=r(63927),i=r(54077),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},68382:(e,t,r)=>{var n=r(59020);e.exports=function(e){return null==e?"":n(e)}},68558:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},69110:(e,t,r)=>{"use strict";var n=r(6522);e.exports=Array.isArray||function(e){return"Array"===n(e)}},69549:(e,t,r)=>{"use strict";var n=r(71550),i=r(71341),o=r(6522),a=Object,s=n("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},69564:(e,t)=>{"use strict";function r(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(t,"__esModule",{value:!0}),t.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NC_NAME_CHAR="-"+t.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.NC_NAME_START_CHAR_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]$","u"),t.NC_NAME_CHAR_RE=new RegExp("^["+t.NC_NAME_CHAR+"]$","u"),t.NC_NAME_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]["+t.NC_NAME_CHAR+"]*$","u"),t.isNCNameStartChar=r,t.isNCNameChar=function(e){return r(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},69899:(e,t,r)=>{"use strict";var n=r(85502),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},70210:(e,t,r)=>{"use strict";var n=r(97890),i=r(39022),o=r(71550),a=r(84470),s=r(94017),u=r(60257),l=r(82358),c=r(81378).f,f=r(74531),d=r(62822),h=r(85017),p=r(40268),g=r(44807),y=r(53098),m=r(96950),v=r(71341),b=r(67527),w=r(22727).enforce,_=r(68175),x=r(17709),S=r(28169),E=r(62556),T=x("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),R=o("".charAt),P=o("".replace),j=o("".indexOf),N=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,L=/a/g,M=new k(I)!==I,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,V=n&&(!M||F||S||E||v(function(){return L[T]=!1,k(I)!==I||k(L)===L||"/a/i"!==String(k(I,"i"))}));if(a("RegExp",V)){for(var U=function(e,t){var r,n,i,o,a,c,g=f(O,this),y=d(e),m=void 0===t,v=[],_=e;if(!g&&y&&m&&e.constructor===U)return e;if((y||f(O,e))&&(e=e.source,m&&(t=p(_))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),_=e,S&&"dotAll"in I&&(n=!!t&&j(t,"s")>-1)&&(t=P(t,/s/g,"")),r=t,F&&"sticky"in I&&(i=!!t&&j(t,"y")>-1)&&B&&(t=P(t,/y/g,"")),E&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(t=R(e,n)))t+=R(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===N(e,n+1,n+3))continue;C(D,N(e,n+1))&&(n+=2,u=!0),c++;continue;case">"===t&&u:if(""===f||b(a,f))throw new A("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=t:i+=t}return[i,o]}(e),e=o[0],v=o[1]),a=s(k(e,t),g?this:O,U),(n||i||v.length)&&(c=w(a),n&&(c.dotAll=!0,c.raw=U(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=R(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+R(e,++n);return i}(e),r)),i&&(c.sticky=!0),v.length&&(c.groups=v)),e!==_)try{u(a,"source",""===_?"(?:)":_)}catch(e){}return a},W=c(k),H=0;W.length>H;)y(U,k,W[H++]);O.constructor=U,U.prototype=O,m(i,"RegExp",U,{constructor:!0})}_("RegExp")},70405:(e,t,r)=>{"use strict";var n=r(66584),i=r(71341),o=r(61059),a=r(85613).f,s=r(97890);n({target:"Object",stat:!0,forced:!s||i(function(){a(1)}),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},70605:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(95521),i=r.n(n),o=r(56170),a=r.n(o),s=r(36768),u=a()(i());u.i(s.A),u.push([e.id,".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.rdformsCard>.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}",""]);const l=u},71064:(e,t,r)=>{"use strict";var n=r(71550),i=r(63927),o=r(73907),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},71176:(e,t,r)=>{var n=r(8835);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},71178:(e,t,r)=>{"use strict";var n=r(61559),i=r(69899),o=r(71550),a=r(43970),s=r(71341),u=r(76817),l=r(63927),c=r(92140),f=r(91537),d=r(97656),h=r(85017),p=r(28620),g=r(97407),y=r(29288),m=r(98312),v=r(40268),b=r(84032),w=r(17709)("replace"),_=Math.max,x=Math.min,S=o([].concat),E=o([].push),T=o("".indexOf),k=o("".slice),O=function(e){return void 0===e?e:String(e)},A="$0"==="a".replace(/./,"$0"),C=!!/./[w]&&""===/./[w]("a","$0");a("replace",function(e,t,r){var o=C?"$":"$0";return[function(e,r){var n=p(this),o=c(e)?y(e,w):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===T(i,o)&&-1===T(i,"$<")){var c=r(t,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,w=h(v(a)),A=-1!==T(w,"g");A&&(y=-1!==T(w,"u"),a.lastIndex=0);for(var C,R=[];null!==(C=b(a,s))&&(E(R,C),A);){""===h(C[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var P="",j=0,N=0;N<R.length;N++){for(var D,I=h((C=R[N])[0]),L=_(x(f(C.index),s.length),0),M=[],F=1;F<C.length;F++)E(M,O(C[F]));var B=C.groups;if(p){var V=S([I],M,L,s);void 0!==B&&E(V,B),D=h(n(i,void 0,V))}else D=m(I,s,L,M,B,i);L>=j&&(P+=k(s,j,L)+D,j=L+I.length)}return P+k(s,j)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!A||C)},71188:(e,t,r)=>{"use strict";var n=r(6461),i=r(37423);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},71341:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},71342:(e,t,r)=>{var n=r(77),i=r(2050);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},71550:(e,t,r)=>{"use strict";var n=r(85502),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},71581:(e,t,r)=>{"use strict";var n=r(97890),i=r(69110),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},72473:(e,t,r)=>{var n=r(87162),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,l=n(e),c=l.length;if(c!=n(t).length&&!u)return!1;for(var f=c;f--;){var d=l[f];if(!(u?d in t:i.call(t,d)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var y=u;++f<c;){var m=e[d=l[f]],v=t[d];if(o)var b=u?o(v,m,d,t,e,s):o(m,v,d,e,t,s);if(!(void 0===b?m===v||a(m,v,r,o,s):b)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(g=!1)}return s.delete(e),s.delete(t),g}},72529:(e,t,r)=>{"use strict";r(20973)("iterator")},72961:(e,t,r)=>{var n=r(52864);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},73376:(e,t,r)=>{"use strict";const n=r(68558),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:s,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:f,SafeSet:d,SymbolAsyncDispose:h,SymbolAsyncIterator:p,Symbol:g}=r(52990);e.exports=q,q.ReadableState=G;const{EventEmitter:y}=r(89784),{Stream:m,prependListener:v}=r(88027),{Buffer:b}=r(84686),{addAbortSignal:w}=r(8315),_=r(80038);let x=r(42840).debuglog("stream",e=>{x=e});const S=r(17153),E=r(25296),{getHighWaterMark:T,getDefaultHighWaterMark:k}=r(867),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_OUT_OF_RANGE:R,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:j},AbortError:N}=r(90011),{validateObject:D}=r(47917),I=g("kPaused"),{StringDecoder:L}=r(54105),M=r(53660);c(q.prototype,m.prototype),c(q,m);const F=()=>{},{errorOrDestroy:B}=E,V=1,U=16,W=32,H=2048,$=4096;function Y(e){return{enumerable:!1,get(){return 0!==(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function G(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(9858)),this.state=H|$|U|W,e&&e.objectMode&&(this.state|=V),n&&e&&e.readableObjectMode&&(this.state|=V),this.highWaterMark=e?T(this,e,"readableHighWaterMark",n):k(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[I]=null,e&&!1===e.emitClose&&(this.state&=~H),e&&!1===e.autoDestroy&&(this.state&=~$),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new L(e.encoding),this.encoding=e.encoding)}function q(e){if(!(this instanceof q))return new q(e);const t=this instanceof r(9858);this._readableState=new G(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&w(e.signal,this)),m.call(this,e),E.construct(this,()=>{this._readableState.needReadable&&K(this,this._readableState)})}function z(e,t,r,n){x("readableAddChunk",t);const i=e._readableState;let o;if(0===(i.state&V)&&("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=b.from(t,r).toString(i.encoding):(t=b.from(t,r),r=""))):t instanceof b?r="":m._isUint8Array(t)?(t=m._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new A("chunk",["string","Buffer","Uint8Array"],t))),o)B(e,o);else if(null===t)i.state&=-9,function(e,t){if(x("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Z(e):(t.needReadable=!1,t.emittedReadable=!0,J(e))}(e,i);else if(0!==(i.state&V)||t&&t.length>0)if(n)if(4&i.state)B(e,new j);else{if(i.destroyed||i.errored)return!1;X(e,i,t,!0)}else if(i.ended)B(e,new P);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?X(e,i,t,!1):K(e,i)):X(e,i,t,!1)}else n||(i.state&=-9,K(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function X(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(65536&t.state?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),64&t.state&&Z(e)),K(e,t)}u(G.prototype,{objectMode:Y(V),ended:Y(2),endEmitted:Y(4),reading:Y(8),constructed:Y(U),sync:Y(W),needReadable:Y(64),emittedReadable:Y(128),readableListening:Y(256),resumeScheduled:Y(512),errorEmitted:Y(1024),emitClose:Y(H),autoDestroy:Y($),destroyed:Y(8192),closed:Y(16384),closeEmitted:Y(32768),multiAwaitDrain:Y(65536),readingMore:Y(1<<17),dataEmitted:Y(1<<18)}),q.prototype.destroy=E.destroy,q.prototype._undestroy=E.undestroy,q.prototype._destroy=function(e,t){t(e)},q.prototype[y.captureRejectionSymbol]=function(e){this.destroy(e)},q.prototype[h]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new N,this.destroy(e)),new f((t,r)=>_(this,n=>n&&n!==e?r(n):t(null)))},q.prototype.push=function(e,t){return z(this,e,t,!1)},q.prototype.unshift=function(e,t){return z(this,e,t,!0)},q.prototype.isPaused=function(){const e=this._readableState;return!0===e[I]||!1===e.flowing},q.prototype.setEncoding=function(e){const t=new L(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function Q(e,t){return e<=0||0===t.length&&t.ended?0:0!==(t.state&V)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Z(e){const t=e._readableState;x("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(x("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(J,e))}function J(e){const t=e._readableState;x("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ie(e)}function K(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(ee,e,t))}function ee(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(x("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function te(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[I]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function re(e){x("readable nexttick read 0"),e.read(0)}function ne(e,t){x("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ie(e),t.flowing&&!t.reading&&e.read(0)}function ie(e){const t=e._readableState;for(x("flow",t.flowing);t.flowing&&null!==e.read(););}function oe(e,t){"function"!=typeof e.read&&(e=q.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=F;function i(t){this===e?(n(),n=F):n=t}e.on("readable",i);const o=_(e,{writable:!1},e=>{r=e?O(r,e):null,n(),n=F});try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(e){throw r=O(r,e),r}finally{!r&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==r&&!e._readableState.autoDestroy?(e.off("readable",i),o()):E.destroyer(e,null)}}(e,t);return r.stream=e,r}function ae(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function se(e){const t=e._readableState;x("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ue,t,e))}function ue(e,t){if(x("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(le,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function le(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ce;function fe(){return void 0===ce&&(ce={}),ce}q.prototype.read=function(e){x("read",e),void 0===e?e=NaN:o(e)||(e=s(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new R("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return x("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?se(this):Z(this),null;if(0===(e=Q(e,t))&&t.ended)return 0===t.length&&se(this),null;let n,i=!!(64&t.state);if(x("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,x("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,x("reading, ended or constructing",i);else if(i){x("do read"),t.state|=8|W,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){B(this,e)}t.state&=~W,t.reading||(e=Q(r,t))}return n=e>0?ae(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&se(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},q.prototype._read=function(e){throw new C("_read()")},q.prototype.pipe=function(e,t){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),x("pipe count=%d opts=%j",i.pipes.length,t);const o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?s:y;function a(t,n){x("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){x("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),u&&e.removeListener("drain",u);e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),l=!0,u&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function s(){x("onend"),e.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let l=!1;function c(){l||(1===i.pipes.length&&i.pipes[0]===e?(x("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(x("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),u||(u=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(x("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(x("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",u))}function f(t){x("ondata");const r=e.write(t);x("dest.write",r),!1===r&&c()}function h(t){if(x("onerror",t),y(),e.removeListener("error",h),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?B(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",g),y()}function g(){x("onfinish"),e.removeListener("close",p),y()}function y(){x("unpipe"),r.unpipe(e)}return r.on("data",f),v(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),!0===e.writableNeedDrain?c():i.flowing||(x("pipe resume"),r.resume()),e},q.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},q.prototype.on=function(e,t){const r=m.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,x("on readable",i.length,i.reading),i.length?Z(this):i.reading||n.nextTick(re,this))),r},q.prototype.addListener=q.prototype.on,q.prototype.removeListener=function(e,t){const r=m.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(te,this),r},q.prototype.off=q.prototype.removeListener,q.prototype.removeAllListeners=function(e){const t=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(te,this),t},q.prototype.resume=function(){const e=this._readableState;return e.flowing||(x("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(ne,e,t))}(this,e)),e[I]=!1,this},q.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[I]=!0,this},q.prototype.wrap=function(e){let t=!1;e.on("data",r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",e=>{B(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=l(e);for(let t=1;t<r.length;t++){const n=r[t];void 0===this[n]&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},q.prototype[p]=function(){return oe(this)},q.prototype.iterator=function(e){return void 0!==e&&D(e,"options"),oe(this,e)},u(q.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(G.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[I]},set(e){this[I]=!!e}}}),q._fromList=ae,q.from=function(e,t){return M(q,e,t)},q.fromWeb=function(e,t){return fe().newStreamReadableFromReadableStream(e,t)},q.toWeb=function(e,t){return fe().newReadableStreamFromStreamReadable(e,t)},q.wrap=function(e,t){var r,n;return new q({objectMode:null===(r=null!==(n=e.readableObjectMode)&&void 0!==n?n:e.objectMode)||void 0===r||r,...t,destroy(t,r){E.destroyer(e,t),r(t)}}).wrap(e)}},73406:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},73698:(e,t,r)=>{"use strict";var n=r(76441);e.exports=/web0s(?!.*chrome)/i.test(n)},73726:(e,t,r)=>{"use strict";var n=r(97869).charAt,i=r(85017),o=r(22727),a=r(14466),s=r(7899),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",function(e){l(this,{type:u,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},73886:(e,t,r)=>{"use strict";var n=r(67527),i=r(96950),o=r(48042),a=r(17709)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},73907:(e,t,r)=>{"use strict";var n=r(32161),i=r(39022),o=r(24267),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},73983:(e,t,r)=>{"use strict";var n=r(17709),i=r(6779),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},74192:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(30654),t),i(r(23338),t),i(r(42605),t),i(r(80135),t),i(r(36913),t),i(r(30421),t),i(r(25826),t)},74415:(e,t,r)=>{var n=r(17667),i=r(31600),o=r(79707);e.exports=function(e,t,r,a,s,u){var l=1&r,c=e.length,f=t.length;if(c!=f&&!(l&&f>c))return!1;var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var p=-1,g=!0,y=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var m=e[p],v=t[p];if(a)var b=l?a(v,m,p,t,e,u):a(m,v,p,e,t,u);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(m===e||s(m,e,r,a,u)))return y.push(t)})){g=!1;break}}else if(m!==v&&!s(m,v,r,a,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},74531:(e,t,r)=>{"use strict";var n=r(71550);e.exports=n({}.isPrototypeOf)},75150:(e,t,r)=>{"use strict";var n=r(76441);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},75733:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},76441:(e,t,r)=>{"use strict";var n=r(39022).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},76624:(e,t,r)=>{var n=r(64073),i=r(7915),o=r(14478),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},76625:e=>{"use strict";e.exports="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="},76794:(e,t,r)=>{"use strict";var n=r(20973),i=r(54484);n("toPrimitive"),i()},76817:(e,t,r)=>{"use strict";var n=r(92140),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},77198:e=>{"use strict";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}},77947:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=l}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*g}},78215:e=>{"use strict";e.exports={format:(e,...t)=>e.replace(/%([sdifj])/g,function(...[e,r]){const n=t.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return`${n.constructor!==Object?n.constructor.name:""} {}`.trim()}return n.toString()}),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}}}},78305:(e,t,r)=>{var n=r(58079),i=r(65391),o=r(48710);e.exports=function(e){return o(e)?n(e,!0):i(e)}},78313:(e,t,r)=>{"use strict";var n,i,o=r(39022),a=r(76441),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},79111:(e,t,r)=>{var n=r(20683),i=r(71176);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=o?o(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),a?i(r,l,c):n(r,l,c)}return r}},79306:(e,t,r)=>{var n=r(64073),i=r(27084),o=r(52864),a=r(74415),s=r(44533),u=r(90943),l=n?n.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,f,d){switch(r){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||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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 h=s;case"[object Set]":var p=1&n;if(h||(h=u),e.size!=t.size&&!p)return!1;var g=d.get(e);if(g)return g==t;n|=2,d.set(e,t);var y=a(h(e),h(t),n,l,f,d);return d.delete(e),y;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},79436:(e,t,r)=>{var n=r(79111),i=r(28975);e.exports=function(e,t){return n(e,i(e),t)}},79512:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},79707:e=>{e.exports=function(e,t){return e.has(t)}},79793:(e,t,r)=>{"use strict";var n=r(94142),i=r(91325);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},80038:(e,t,r)=>{"use strict";const n=r(68558),{AbortError:i,codes:o}=r(90011),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=r(42840),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=r(47917),{Promise:p,PromisePrototypeThen:g,SymbolDispose:y}=r(52990),{isClosed:m,isReadable:v,isReadableNodeStream:b,isReadableStream:w,isReadableFinished:_,isReadableErrored:x,isWritable:S,isWritableNodeStream:E,isWritableStream:T,isWritableFinished:k,isWritableErrored:O,isNodeStream:A,willEmitClose:C,kIsClosedPromise:R}=r(30091);let P;const j=()=>{};function N(e,t,o){var h,p;if(2===arguments.length?(o=t,t=u):null==t?t=u:d(t,"options"),f(o,"callback"),c(t.signal,"options.signal"),o=l(o),w(e)||T(e))return function(e,t,o){let a=!1,s=j;if(t.signal)if(s=()=>{a=!0,o.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)n.nextTick(s);else{P=P||r(42840).addAbortListener;const n=P(t.signal,s),i=o;o=l((...t)=>{n[y](),i.apply(e,t)})}const u=(...t)=>{a||n.nextTick(()=>o.apply(e,t))};return g(e[R].promise,u,u),j}(e,t,o);if(!A(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);const N=null!==(h=t.readable)&&void 0!==h?h:b(e),D=null!==(p=t.writable)&&void 0!==p?p:E(e),I=e._writableState,L=e._readableState,M=()=>{e.writable||V()};let F=C(e)&&b(e)===N&&E(e)===D,B=k(e,!1);const V=()=>{B=!0,e.destroyed&&(F=!1),(!F||e.readable&&!N)&&(N&&!U||o.call(e))};let U=_(e,!1);const W=()=>{U=!0,e.destroyed&&(F=!1),(!F||e.writable&&!D)&&(D&&!B||o.call(e))},H=t=>{o.call(e,t)};let $=m(e);const Y=()=>{$=!0;const t=O(e)||x(e);return t&&"boolean"!=typeof t?o.call(e,t):N&&!U&&b(e,!0)&&!_(e,!1)?o.call(e,new s):!D||B||k(e,!1)?void o.call(e):o.call(e,new s)},G=()=>{$=!0;const t=O(e)||x(e);if(t&&"boolean"!=typeof t)return o.call(e,t);o.call(e)},q=()=>{e.req.on("finish",V)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?D&&!I&&(e.on("end",M),e.on("close",M)):(e.on("complete",V),F||e.on("abort",Y),e.req?q():e.on("request",q)),F||"boolean"!=typeof e.aborted||e.on("aborted",Y),e.on("end",W),e.on("finish",V),!1!==t.error&&e.on("error",H),e.on("close",Y),$?n.nextTick(Y):null!=I&&I.errorEmitted||null!=L&&L.errorEmitted?F||n.nextTick(G):(N||F&&!v(e)||!B&&!1!==S(e))&&(D||F&&!S(e)||!U&&!1!==v(e))?L&&e.req&&e.aborted&&n.nextTick(G):n.nextTick(G);const z=()=>{o=j,e.removeListener("aborted",Y),e.removeListener("complete",V),e.removeListener("abort",Y),e.removeListener("request",q),e.req&&e.req.removeListener("finish",V),e.removeListener("end",M),e.removeListener("close",M),e.removeListener("finish",V),e.removeListener("end",W),e.removeListener("error",H),e.removeListener("close",Y)};if(t.signal&&!$){const a=()=>{const r=o;z(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)n.nextTick(a);else{P=P||r(42840).addAbortListener;const n=P(t.signal,a),i=o;o=l((...t)=>{n[y](),i.apply(e,t)})}}return z}e.exports=N,e.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=u),null!==(r=t)&&void 0!==r&&r.cleanup&&(h(t.cleanup,"cleanup"),n=t.cleanup),new p((r,i)=>{const o=N(e,t,e=>{n&&o(),e?i(e):r()})})}},80135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Literal=void 0;const n=r(36913);class i{constructor(e,t){this.termType="Literal",this.value=e,"string"==typeof t?(this.language=t,this.datatype=i.RDF_LANGUAGE_STRING):t?(this.language="",this.datatype=t):(this.language="",this.datatype=i.XSD_STRING)}equals(e){return!!e&&"Literal"===e.termType&&e.value===this.value&&e.language===this.language&&this.datatype.equals(e.datatype)}}t.Literal=i,i.RDF_LANGUAGE_STRING=new n.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),i.XSD_STRING=new n.NamedNode("http://www.w3.org/2001/XMLSchema#string")},80253:(e,t,r)=>{var n=r(46431),i=r(28975),o=r(78305);e.exports=function(e){return n(e,o,i)}},80994:(e,t,r)=>{"use strict";var n=r(39022),i=r(26772),o=r(63927),a=r(84470),s=r(71064),u=r(17709),l=r(63205),c=r(32161),f=r(78313),d=i&&i.prototype,h=u("species"),p=!1,g=o(n.PromiseRejectionEvent),y=a("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f)return!0;if(c&&(!d.catch||!d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||g)});e.exports={CONSTRUCTOR:y,REJECTION_EVENT:g,SUBCLASSING:p}},81145:(e,t,r)=>{"use strict";var n=r(76441).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},81330:(e,t,r)=>{var n=r(76624),i=r(57717);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},81374:(e,t,r)=>{"use strict";var n=r(14398),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=e[u];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==u++&&(e[s]=a)}else for(var l=i(r/2),c=o(n(e,0,l),t),f=o(n(e,l),t),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)e[p+g]=p<d&&g<h?t(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return e};e.exports=o},81378:(e,t,r)=>{"use strict";var n=r(87098),i=r(50417).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},81812:(e,t,r)=>{"use strict";var n=r(66584),i=r(51471),o=r(51924),a=r(91537),s=r(93228),u=r(71581),l=r(30839),c=r(45019),f=r(2378),d=r(56136),h=r(43647)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,n,h,y,m,v,b=i(this),w=s(b),_=o(e,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(t),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(m=_+y)in b&&f(h,y,b[m]);if(h.length=n,r<n){for(y=_;y<w-n;y++)v=y+r,(m=y+n)in b?b[v]=b[m]:d(b,v);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)v=y+r-1,(m=y+n-1)in b?b[v]=b[m]:d(b,v);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},82310:(e,t,r)=>{var n=r(11187),i=r(13584);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},82354:(e,t,r)=>{e=r.nmd(e);var n=r(58453),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},82358:(e,t,r)=>{"use strict";var n,i=r(76817),o=r(9699),a=r(50417),s=r(10983),u=r(26207),l=r(33861),c=r(49853),f="prototype",d="script",h=c("IE_PROTO"),p=function(){},g=function(e){return"<"+d+">"+e+"</"+d+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?y(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):y(n);for(var i=a.length;i--;)delete m[f][a[i]];return m()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[h]=e):r=m(),void 0===t?r:o.f(r,t)}},82413:e=>{e.exports=function(e){return this.__data__.get(e)}},82594:(e,t,r)=>{"use strict";var n=r(67527),i=r(89213),o=r(85613),a=r(37423);e.exports=function(e,t,r){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||u(e,f,l(t,f))}}},82658:(e,t,r)=>{"use strict";var n=r(66584),i=r(67527),o=r(66547),a=r(54077),s=r(57987),u=r(51454),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(l,e))return l[e]}})},83225:(e,t,r)=>{"use strict";var n=r(66584),i=r(71341),o=r(51471),a=r(66369),s=r(29157);n({target:"Object",stat:!0,forced:i(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},83545:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(33787),t)},83662:(e,t,r)=>{"use strict";var n=r(17709)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},83783:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},83977:(e,t,r)=>{"use strict";var n=r(37423).f,i=r(67527),o=r(17709)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},84032:(e,t,r)=>{"use strict";var n=r(69899),i=r(76817),o=r(63927),a=r(6522),s=r(99221),u=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},84104:(e,t,r)=>{"use strict";r(2838),r(4333),r(36709),r(58917),r(51),r(2266)},84470:(e,t,r)=>{"use strict";var n=r(71341),i=r(63927),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===c||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},84521:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},84558:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n,Symbol:i}=r(52990);e.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=r(90011).codes,a=r(9858),{getHighWaterMark:s}=r(867);n(l.prototype,a.prototype),n(l,a);const u=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?s(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())})}function f(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new o("_transform()")},l.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(e,t,(e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)})},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}},84630:(e,t,r)=>{var n=r(58079),i=r(85152),o=r(48710);e.exports=function(e){return o(e)?n(e):i(e)}},84686:(e,t,r)=>{"use strict";const n=r(35350),i=r(77947),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|g(e,t);let n=s(r);const i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=function(e){if(u.isBuffer(e)){const t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|p(e))}function d(e){const t=e.length<0?0:0|p(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return A(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*a}else-1!==n&&(o-=o-n),n=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(e,o+n)!==l(t,n)){r=!1;break}if(r)return o}return-1}function w(e,t,r,n){r=Number(r)||0;const i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=t.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(t.substr(2*a,2),16);if(Q(n))return a;e[r+a]=n}return a}function _(e,t,r,n){return z(G(t,e.length-r),e,r,n)}function x(e,t,r,n){return z(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function S(e,t,r,n){return z(q(t),e,r,n)}function E(e,t,r,n){return z(function(e,t){let r,n,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i<r;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:r=e[i+1],128==(192&r)&&(u=(31&t)<<6|63&r,u>127&&(o=u));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}return function(e){const t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=O));return r}(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=u.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(X(t,Uint8Array))i+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<s;++e)if(l[e]!==c[e]){o=l[e],a=c[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":case"latin1":case"binary":return x(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function A(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function R(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=Z[e[n]];return i}function P(e,t,r){const n=e.slice(t,r);let i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}function j(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function I(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=J(function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=J(function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=J(function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=J(function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);const i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,n),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};const B={};function V(e,t,r){B[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function U(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function W(e,t,r,n,i,o){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new B.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||$(t,e.length-(r+1))}(n,i,o)}function H(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,r){if(Math.floor(e)!==e)throw H(e,r),new B.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}V("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),V("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),V("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=U(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=U(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const Z=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?K:e}function K(){throw new Error("BigInt not supported")}},84713:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},84750:(e,t,r)=>{"use strict";var n=r(36646),i=r(68316),o=r(85502),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},85017:(e,t,r)=>{"use strict";var n=r(91325),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},85152:(e,t,r)=>{var n=r(51327),i=r(45450),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},85502:(e,t,r)=>{"use strict";var n=r(71341);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},85613:(e,t,r)=>{"use strict";var n=r(97890),i=r(69899),o=r(89439),a=r(63382),s=r(61059),u=r(96331),l=r(67527),c=r(19515),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},85655:(e,t,r)=>{var n=r(72961);e.exports=function(e){return n(this.__data__,e)>-1}},85989:(e,t,r)=>{var n=r(21379);e.exports=function(e){return n(this,e).has(e)}},86521:(e,t,r)=>{"use strict";var n=r(94142),i=r(96950),o=r(79793);n||i(Object.prototype,"toString",o,{unsafe:!0})},86544:(e,t,r)=>{"use strict";var n=r(66584),i=r(31125),o=r(67527),a=r(85017),s=r(57987),u=r(51454),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(l,t))return l[t];var r=i("Symbol")(t);return l[t]=r,c[r]=t,r}})},86547:(e,t,r)=>{"use strict";var n=r(97890),i=r(71550),o=r(69899),a=r(71341),s=r(38054),u=r(54999),l=r(89439),c=r(51471),f=r(69549),d=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!d||a(function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==d({},e)[r]||s(d({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),m=d?p(s(y),d(y)):s(y),v=m.length,b=0;v>b;)g=m[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},87073:e=>{e.exports=function(e){return this.__data__.has(e)}},87098:(e,t,r)=>{"use strict";var n=r(71550),i=r(67527),o=r(61059),a=r(40151).indexOf,s=r(10983),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},87162:(e,t,r)=>{var n=r(46431),i=r(47328),o=r(84630);e.exports=function(e){return n(e,o,i)}},87367:(e,t,r)=>{var n=r(90951)(Object.getPrototypeOf,Object);e.exports=n},87569:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,c=o.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,g=p.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,r){var n,i,o=(r=r||b).createElement("script");if(o.text=e,t)for(n in w)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var S="3.7.1",E=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,r=x(e);return!m(e)&&!v(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:S,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var e,t,r,n,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(l&&n&&(T.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[t],o=i&&!Array.isArray(r)?[]:i||T.isPlainObject(r)?r:{},i=!1,a[t]=T.extend(l,o,n)):void 0!==n&&(a[t]=n));return a},T.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(r=h.call(t,"constructor")&&t.constructor)&&p.call(r)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){_(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(k(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,i=e.nodeType;if(!i)for(;t=e[n++];)r+=T.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(k(Object(e))?T.merge(r,"string"==typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:c.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!E.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n=[],i=0,o=e.length,a=!r;i<o;i++)!t(e[i],i)!==a&&n.push(e[i]);return n},map:function(e,t,r){var n,i,o=0,a=[];if(k(e))for(n=e.length;o<n;o++)null!=(i=t(e[o],o,r))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,r))&&a.push(i);return u(a)},guid:1,support:y}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var A=o.pop,C=o.sort,R=o.splice,P="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");T.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var N=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(N,D)};var I=b,L=l;!function(){var e,t,r,i,a,u,l,f,d,p,g=L,m=T.expando,v=0,b=0,w=ee(),_=ee(),x=ee(),S=ee(),E=function(e,t){return e===t&&(a=!0),0},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",M=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),B=new RegExp("^"+P+"*,"+P+"*"),V=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),W=new RegExp(M),H=new RegExp("^"+N+"$"),$={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},Z=function(){ue()},J=de(function(e){return!0===e.disabled&&O(e,"fieldset")},{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(I.childNodes),I.childNodes),o[I.childNodes.length].nodeType}catch(e){g={apply:function(e,t){L.apply(e,s.call(t))},call:function(e){L.apply(e,s.call(arguments,1))}}}function K(e,t,r,n){var i,o,a,s,l,c,h,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return r;if(!n&&(ue(t),t=t||u,f)){if(11!==v&&(l=q.exec(e)))if(i=l[1]){if(9===v){if(!(a=t.getElementById(i)))return r;if(a.id===i)return g.call(r,a),r}else if(p&&(a=p.getElementById(i))&&K.contains(t,a)&&a.id===i)return g.call(r,a),r}else{if(l[2])return g.apply(r,t.getElementsByTagName(e)),r;if((i=l[3])&&t.getElementsByClassName)return g.apply(r,t.getElementsByClassName(i)),r}if(!(S[e+" "]||d&&d.test(e))){if(h=e,p=t,1===v&&(U.test(e)||V.test(e))){for((p=z.test(e)&&se(t.parentNode)||t)==t&&y.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=m)),o=(c=ce(e)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+fe(c[o]);h=c.join(",")}try{return g.apply(r,p.querySelectorAll(h)),r}catch(t){S(e,!0)}finally{s===m&&t.removeAttribute("id")}}}return ve(e.replace(j,"$1"),t,r,n)}function ee(){var e=[];return function r(n,i){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=i}}function te(e){return e[m]=!0,e}function re(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return O(t,"input")&&t.type===e}}function ie(e){return function(t){return(O(t,"input")||O(t,"button"))&&t.type===e}}function oe(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&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te(function(t){return t=+t,te(function(r,n){for(var i,o=e([],r.length,t),a=o.length;a--;)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))})})}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var r,n=e?e.ownerDocument||e:I;return n!=u&&9===n.nodeType&&n.documentElement?(l=(u=n).documentElement,f=!T.isXMLDoc(u),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&I!=u&&(r=u.defaultView)&&r.top!==r&&r.addEventListener("unload",Z),y.getById=re(function(e){return l.appendChild(e).id=T.expando,!u.getElementsByName||!u.getElementsByName(T.expando).length}),y.disconnectedMatch=re(function(e){return p.call(e,"*")}),y.scope=re(function(){return u.querySelectorAll(":scope")}),y.cssHas=re(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),y.getById?(t.filter.ID=function(e){var t=e.replace(X,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,Q);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var r,n,i,o=t.getElementById(e);if(o){if((r=o.getAttributeNode("id"))&&r.value===e)return[o];for(i=t.getElementsByName(e),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&f)return t.getElementsByClassName(e)},d=[],re(function(e){var t;l.appendChild(e).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+P+"*(?:value|"+k+")"),e.querySelectorAll("[id~="+m+"-]").length||d.push("~="),e.querySelectorAll("a#"+m+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),y.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),E=function(e,t){if(e===t)return a=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!y.sortDetached&&t.compareDocumentPosition(e)===r?e===u||e.ownerDocument==I&&K.contains(I,e)?-1:t===u||t.ownerDocument==I&&K.contains(I,t)?1:i?c.call(i,e)-c.call(i,t):0:4&r?-1:1)},u):u}for(e in K.matches=function(e,t){return K(e,null,null,t)},K.matchesSelector=function(e,t){if(ue(e),f&&!S[t+" "]&&(!d||!d.test(t)))try{var r=p.call(e,t);if(r||y.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){S(t,!0)}return K(t,u,null,[e]).length>0},K.contains=function(e,t){return(e.ownerDocument||e)!=u&&ue(e),T.contains(e,t)},K.attr=function(e,r){(e.ownerDocument||e)!=u&&ue(e);var n=t.attrHandle[r.toLowerCase()],i=n&&h.call(t.attrHandle,r.toLowerCase())?n(e,r,!f):void 0;return void 0!==i?i:e.getAttribute(r)},K.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,r=[],n=0,o=0;if(a=!y.sortStable,i=!y.sortStable&&s.call(e,0),C.call(e,E),a){for(;t=e[o++];)t===e[o]&&(n=r.push(o));for(;n--;)R.call(e,r[n],1)}return i=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(s.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:$,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(X,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(X,Q),"~="===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]||K.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]&&K.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&W.test(r)&&(t=ce(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return O(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var i=K.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(F," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,u){var l,c,f,d,h,p=o!==a?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!u&&!s,w=!1;if(g){if(o){for(;p;){for(f=t;f=f[p];)if(s?O(f,y):1===f.nodeType)return!1;h=p="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(w=(d=(l=(c=g[m]||(g[m]={}))[e]||[])[0]===v&&l[1])&&l[2],f=d&&g.childNodes[d];f=++d&&f&&f[p]||(w=d=0)||h.pop();)if(1===f.nodeType&&++w&&f===t){c[e]=[v,d,w];break}}else if(b&&(w=d=(l=(c=t[m]||(t[m]={}))[e]||[])[0]===v&&l[1]),!1===w)for(;(f=++d&&f&&f[p]||(w=d=0)||h.pop())&&(!(s?O(f,y):1===f.nodeType)||!++w||(b&&((c=f[m]||(f[m]={}))[e]=[v,w]),f!==t)););return(w-=i)===n||w%n===0&&w/n>=0}}},PSEUDO:function(e,r){var n,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||K.error("unsupported pseudo: "+e);return i[m]?i(r):i.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var n,o=i(e,r),a=o.length;a--;)e[n=c.call(e,o[a])]=!(t[n]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:te(function(e){var t=[],r=[],n=me(e.replace(j,"$1"));return n[m]?te(function(e,t,r,i){for(var o,a=n(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,n(t,null,o,r),t[0]=null,!r.pop()}}),has:te(function(e){return function(t){return K(e,t).length>0}}),contains:te(function(e){return e=e.replace(X,Q),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}}),lang:te(function(e){return H.test(e||"")||K.error("unsupported lang: "+e),e=e.replace(X,Q).toLowerCase(),function(t){var r;do{if(r=f?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return O(e,"input")&&!!e.checked||O(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){return O(e,"input")&&"button"===e.type||O(e,"button")},text:function(e){var t;return O(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae(function(){return[0]}),last:ae(function(e,t){return[t-1]}),eq:ae(function(e,t,r){return[r<0?r+t:r]}),even:ae(function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:ae(function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:ae(function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e}),gt:ae(function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function le(){}function ce(e,r){var n,i,o,a,s,u,l,c=_[e+" "];if(c)return r?0:c.slice(0);for(s=e,u=[],l=t.preFilter;s;){for(a in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),s=s.slice(n.length)),t.filter)!(i=$[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return r?s.length:s?K.error(e):_(e,u).slice(0)}function fe(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function de(e,t,r){var n=t.dir,i=t.next,o=i||n,a=r&&"parentNode"===o,s=b++;return t.first?function(t,r,i){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,i);return!1}:function(t,r,u){var l,c,f=[v,s];if(u){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,u))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(c=t[m]||(t[m]={}),i&&O(t,i))t=t[n]||t;else{if((l=c[o])&&l[0]===v&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=e(t,r,u))return!0}return!1}}function he(e){return e.length>1?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function pe(e,t,r,n,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(r&&!r(o,n,i)||(a.push(o),l&&t.push(s)));return a}function ge(e,t,r,n,i,o){return n&&!n[m]&&(n=ge(n)),i&&!i[m]&&(i=ge(i,o)),te(function(o,a,s,u){var l,f,d,h,p=[],y=[],m=a.length,v=o||function(e,t,r){for(var n=0,i=t.length;n<i;n++)K(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:pe(v,p,e,s,u);if(r?r(b,h=i||(o?e:m||n)?[]:a,s,u):h=b,n)for(l=pe(h,y),n(l,[],s,u),f=l.length;f--;)(d=l[f])&&(h[y[f]]=!(b[y[f]]=d));if(o){if(i||e){if(i){for(l=[],f=h.length;f--;)(d=h[f])&&l.push(b[f]=d);i(null,h=[],l,u)}for(f=h.length;f--;)(d=h[f])&&(l=i?c.call(o,d):p[f])>-1&&(o[l]=!(a[l]=d))}}else h=pe(h===a?h.splice(m,h.length):h),i?i(null,a,h,u):g.apply(a,h)})}function ye(e){for(var n,i,o,a=e.length,s=t.relative[e[0].type],u=s||t.relative[" "],l=s?1:0,f=de(function(e){return e===n},u,!0),d=de(function(e){return c.call(n,e)>-1},u,!0),h=[function(e,t,i){var o=!s&&(i||t!=r)||((n=t).nodeType?f(e,t,i):d(e,t,i));return n=null,o}];l<a;l++)if(i=t.relative[e[l].type])h=[de(he(h),i)];else{if((i=t.filter[e[l].type].apply(null,e[l].matches))[m]){for(o=++l;o<a&&!t.relative[e[o].type];o++);return ge(l>1&&he(h),l>1&&fe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(j,"$1"),i,l<o&&ye(e.slice(l,o)),o<a&&ye(e=e.slice(o)),o<a&&fe(e))}h.push(i)}return he(h)}function me(e,n){var i,o=[],a=[],s=x[e+" "];if(!s){for(n||(n=ce(e)),i=n.length;i--;)(s=ye(n[i]))[m]?o.push(s):a.push(s);s=x(e,function(e,n){var i=n.length>0,o=e.length>0,a=function(a,s,l,c,d){var h,p,y,m=0,b="0",w=a&&[],_=[],x=r,S=a||o&&t.find.TAG("*",d),E=v+=null==x?1:Math.random()||.1,k=S.length;for(d&&(r=s==u||s||d);b!==k&&null!=(h=S[b]);b++){if(o&&h){for(p=0,s||h.ownerDocument==u||(ue(h),l=!f);y=e[p++];)if(y(h,s||u,l)){g.call(c,h);break}d&&(v=E)}i&&((h=!y&&h)&&m--,a&&w.push(h))}if(m+=b,i&&b!==m){for(p=0;y=n[p++];)y(w,_,s,l);if(a){if(m>0)for(;b--;)w[b]||_[b]||(_[b]=A.call(c));_=pe(_)}g.apply(c,_),d&&!a&&_.length>0&&m+n.length>1&&T.uniqueSort(c)}return d&&(v=E,r=x),w};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,r,n,i){var o,a,s,u,l,c="function"==typeof e&&e,d=!i&&ce(e=c.selector||e);if(n=n||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&f&&t.relative[a[1].type]){if(!(r=(t.find.ID(s.matches[0].replace(X,Q),r)||[])[0]))return n;c&&(r=r.parentNode),e=e.slice(a.shift().value.length)}for(o=$.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[u=s.type]);)if((l=t.find[u])&&(i=l(s.matches[0].replace(X,Q),z.test(a[0].type)&&se(r.parentNode)||r))){if(a.splice(o,1),!(e=i.length&&fe(a)))return g.apply(n,i),n;break}}return(c||me(e,d))(i,r,!f,n,!r||z.test(e)&&se(r.parentNode)||r),n}le.prototype=t.filters=t.pseudos,t.setFilters=new le,y.sortStable=m.split("").sort(E).join("")===m,ue(),y.sortDetached=re(function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))}),T.find=K,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,K.compile=me,K.select=ve,K.setDocument=ue,K.tokenize=ce,K.escape=T.escapeSelector,K.getText=T.text,K.isXML=T.isXMLDoc,K.selectors=T.expr,K.support=T.support,K.uniqueSort=T.uniqueSort}();var M=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(r))break;n.push(e)}return n},F=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},B=T.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(e,t,r){return m(t)?T.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?T.grep(e,function(e){return e===t!==r}):"string"!=typeof t?T.grep(e,function(e){return c.call(t,e)>-1!==r}):T.filter(t,e,r)}T.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?T.find.matchesSelector(n,e)?[n]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(i[t],this))return!0}));for(r=this.pushStack([]),t=0;t<n;t++)T.find(e,i[t],r);return n>1?T.uniqueSort(r):r},filter:function(e){return this.pushStack(U(this,e||[],!1))},not:function(e){return this.pushStack(U(this,e||[],!0))},is:function(e){return!!U(this,"string"==typeof e&&B.test(e)?T(e):e||[],!1).length}});var W,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||W,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),V.test(n[1])&&T.isPlainObject(t))for(n in t)m(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=b.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==r.ready?r.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,W=T(b);var $=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),r=t.length;return this.filter(function(){for(var e=0;e<r;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var r,n=0,i=this.length,o=[],a="string"!=typeof e&&T(e);if(!B.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&T.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(T(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,r){return M(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,r){return M(e,"nextSibling",r)},prevUntil:function(e,t,r){return M(e,"previousSibling",r)},siblings:function(e){return F((e.parentNode||{}).firstChild,e)},children:function(e){return F(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(r,n){var i=T.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=T.filter(n,i)),this.length>1&&(Y[e]||T.uniqueSort(i),$.test(e)&&i.reverse()),this.pushStack(i)}});var q=/[^\x20\t\r\n\f]+/g;function z(e){return e}function X(e){throw e}function Q(e,t,r,n){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(r):e&&m(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(q)||[],function(e,r){t[r]=!0}),t}(e):T.extend({},e);var t,r,n,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<o.length;)!1===o[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=o.length,r=!1);e.memory||(r=!1),t=!1,i&&(o=r?[]:"")},l={add:function(){return o&&(r&&!t&&(s=o.length-1,a.push(r)),function t(r){T.each(r,function(r,n){m(n)?e.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==x(n)&&t(n)})}(arguments),r&&!t&&u()),this},remove:function(){return T.each(arguments,function(e,t){for(var r;(r=T.inArray(t,o,r))>-1;)o.splice(r,1),r<=s&&s--}),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||t||(o=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(r){T.each(t,function(t,n){var i=m(e[n[4]])&&e[n[4]];o[n[1]](function(){var e=i&&i.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(e<o)){if((n=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(l)?i?l.call(n,a(o,t,z,i),a(o,t,X,i)):(o++,l.call(n,a(o,t,z,i),a(o,t,X,i),a(o,t,z,t.notifyWith))):(r!==z&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,c.error),e+1>=o&&(r!==X&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(T.Deferred.getErrorHook?c.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(c.error=T.Deferred.getStackHook()),n.setTimeout(c))}}return T.Deferred(function(n){t[0][3].add(a(0,n,m(i)?i:z,n.notifyWith)),t[1][3].add(a(0,n,m(e)?e:z)),t[2][3].add(a(0,n,m(r)?r:X))}).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(t,function(e,n){var a=n[2],s=n[5];i[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),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),i=s.call(arguments),o=T.Deferred(),a=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?s.call(arguments):r,--t||o.resolveWith(n,i)}};if(t<=1&&(Q(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||m(i[r]&&i[r].then)))return o.then();for(;r--;)Q(i[r],a(r),o.reject);return o.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout(function(){throw e})};var J=T.Deferred();function K(){b.removeEventListener("DOMContentLoaded",K),n.removeEventListener("load",K),T.ready()}T.fn.ready=function(e){return J.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||J.resolveWith(b,[T]))}}),T.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",K),n.addEventListener("load",K));var ee=function(e,t,r,n,i,o,a){var s=0,u=e.length,l=null==r;if("object"===x(r))for(s in i=!0,r)ee(e,t,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,m(n)||(a=!0),l&&(a?(t.call(e,n),t=null):(l=t,t=function(e,t,r){return l.call(T(e),r)})),t))for(;s<u;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return i?e:l?t.call(e):u?t(e[0],r):o},te=/^-ms-/,re=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(re,ne)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=T.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"==typeof t)i[ie(t)]=r;else for(n in t)i[ie(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in n?[t]:t.match(q)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||T.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var se=new ae,ue=new ae,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function fe(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:le.test(e)?JSON.parse(e):e)}(r)}catch(e){}ue.set(e,t,r)}else r=void 0;return r}T.extend({hasData:function(e){return ue.hasData(e)||se.hasData(e)},data:function(e,t,r){return ue.access(e,t,r)},removeData:function(e,t){ue.remove(e,t)},_data:function(e,t,r){return se.access(e,t,r)},_removeData:function(e,t){se.remove(e,t)}}),T.fn.extend({data:function(e,t){var r,n,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ue.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=ie(n.slice(5)),fe(o,n,i[n]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ue.set(this,e)}):ee(this,function(t){var r;if(o&&void 0===t)return void 0!==(r=ue.get(o,e))||void 0!==(r=fe(o,e))?r:void 0;this.each(function(){ue.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ue.remove(this,e)})}}),T.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=se.get(e,t),r&&(!n||Array.isArray(r)?n=se.access(e,t,T.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=T.queue(e,t),n=r.length,i=r.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete o.stop,i.call(e,function(){T.dequeue(e,t)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return se.get(e,r)||se.access(e,r,{empty:T.Callbacks("once memory").add(function(){se.remove(e,[t+"queue",r])})})}}),T.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?T.queue(this[0],e):void 0===t?this:this.each(function(){var r=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=T.Deferred(),o=this,a=this.length,s=function(){--n||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=se.get(o[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],ge=b.documentElement,ye=function(e){return T.contains(e.ownerDocument,e)},me={composed:!0};ge.getRootNode&&(ye=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(me)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ye(e)&&"none"===T.css(e,"display")};function be(e,t,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return T.css(e,t,"")},u=s(),l=r&&r[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+u)&&he.exec(T.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)T.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,T.style(e,t,c+l),r=r||[]}return r&&(c=+c||+u||0,i=r[1]?c+(r[1]+1)*r[2]:+r[2],n&&(n.unit=l,n.start=c,n.end=i)),i}var we={};function _e(e){var t,r=e.ownerDocument,n=e.nodeName,i=we[n];return i||(t=r.body.appendChild(r.createElement(n)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),we[n]=i,i)}function xe(e,t){for(var r,n,i=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(r=n.style.display,t?("none"===r&&(i[o]=se.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&ve(n)&&(i[o]=_e(n))):"none"!==r&&(i[o]="none",se.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}T.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ve(this)?T(this).show():T(this).hide()})}});var Se,Ee,Te=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Oe=/^$|^module$|\/(?:java|ecma)script/i;Se=b.createDocumentFragment().appendChild(b.createElement("div")),(Ee=b.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),Se.appendChild(Ee),y.checkClone=Se.cloneNode(!0).cloneNode(!0).lastChild.checked,Se.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!Se.cloneNode(!0).lastChild.defaultValue,Se.innerHTML="<option></option>",y.option=!!Se.lastChild;var Ae={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 Ce(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?T.merge([e],r):r}function Re(e,t){for(var r=0,n=e.length;r<n;r++)se.set(e[r],"globalEval",!t||se.get(t[r],"globalEval"))}Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td,y.option||(Ae.optgroup=Ae.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function je(e,t,r,n,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===x(o))T.merge(d,o.nodeType?[o]:o);else if(Pe.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ke.exec(o)||["",""])[1].toLowerCase(),u=Ae[s]||Ae._default,a.innerHTML=u[1]+T.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(n&&T.inArray(o,n)>-1)i&&i.push(o);else if(l=ye(o),a=Ce(f.appendChild(o),"script"),l&&Re(a),r)for(c=0;o=a[c++];)Oe.test(o.type||"")&&r.push(o);return f}var Ne=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Ie(){return!1}function Le(e,t,r,n,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)Le(e,s,r,n,t[s],o);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Ie;else if(!i)return e;return 1===o&&(a=i,i=function(e){return T().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=T.guid++)),e.each(function(){T.event.add(this,t,i,n,r)})}function Me(e,t,r){r?(se.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,n=se.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),se.set(this,t,n),this[t](),r=se.get(this,t),se.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(se.set(this,t,T.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===se.get(e,t)&&T.event.add(e,t,De)}T.event={global:{},add:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=se.get(e);if(oe(e))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&T.find.matchesSelector(ge,i),r.guid||(r.guid=T.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(q)||[""]).length;l--;)h=g=(s=Ne.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=T.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=T.event.special[h]||{},c=T.extend({type:h,origType:g,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,n,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),T.event.global[h]=!0)},remove:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=se.hasData(e)&&se.get(e);if(y&&(u=y.events)){for(l=(t=(t||"").match(q)||[""]).length;l--;)if(h=g=(s=Ne.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=T.event.special[h]||{},d=u[h=(n?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,y.handle)||T.removeEvent(e,h,y.handle),delete u[h])}else for(h in u)T.event.remove(e,h+t[l],r,n,!0);T.isEmptyObject(u)&&se.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=new Array(arguments.length),u=T.event.fix(e),l=(se.get(this,"events")||Object.create(null))[u.type]||[],c=T.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=T.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,r=0;(o=i.handlers[r++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(n=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=n)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var r,n,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},r=0;r<u;r++)void 0===a[i=(n=t[r]).selector+" "]&&(a[i]=n.needsContext?T(i,this).index(l)>-1:T.find(i,this,null,[l]).length),a[i]&&o.push(n);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(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[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&O(t,"input")&&Me(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&O(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&O(t,"input")&&se.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Ie,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&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ie,isPropagationStopped:Ie,isImmediatePropagationStopped:Ie,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.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},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){function r(e){if(b.documentMode){var r=se.get(this,"handle"),n=T.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var n;if(Me(this,e,!0),!b.documentMode)return!1;(n=se.get(this,t))||this.addEventListener(t,r),se.set(this,t,(n||0)+1)},trigger:function(){return Me(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,r),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),se.remove(i,t))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}}),T.fn.extend({on:function(e,t,r,n){return Le(this,e,t,r,n)},one:function(e,t,r,n){return Le(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,T(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Ie),this.each(function(){T.event.remove(this,e,r,t)})}});var Fe=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ue(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function We(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function $e(e,t){var r,n,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(r=0,n=s[i].length;r<n;r++)T.event.add(t,i,s[i][r]);ue.hasData(e)&&(o=ue.access(e),a=T.extend({},o),ue.set(t,a))}}function Ye(e,t){var r=t.nodeName.toLowerCase();"input"===r&&Te.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ge(e,t,r,n){t=u(t);var i,o,a,s,l,c,f=0,d=e.length,h=d-1,p=t[0],g=m(p);if(g||d>1&&"string"==typeof p&&!y.checkClone&&Be.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),Ge(o,t,r,n)});if(d&&(o=(i=je(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=T.map(Ce(i,"script"),We)).length;f<d;f++)l=i,f!==h&&(l=T.clone(l,!0,!0),s&&T.merge(a,Ce(l,"script"))),r.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,He),f=0;f<s;f++)l=a[f],Oe.test(l.type||"")&&!se.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Ve,""),l,c))}return e}function qe(e,t,r){for(var n,i=t?T.filter(t,e):e,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||T.cleanData(Ce(n)),n.parentNode&&(r&&ye(n)&&Re(Ce(n,"script")),n.parentNode.removeChild(n));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,o,a,s=e.cloneNode(!0),u=ye(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=Ce(s),n=0,i=(o=Ce(e)).length;n<i;n++)Ye(o[n],a[n]);if(t)if(r)for(o=o||Ce(e),a=a||Ce(s),n=0,i=o.length;n<i;n++)$e(o[n],a[n]);else $e(e,s);return(a=Ce(s,"script")).length>0&&Re(a,!u&&Ce(e,"script")),s},cleanData:function(e){for(var t,r,n,i=T.event.special,o=0;void 0!==(r=e[o]);o++)if(oe(r)){if(t=r[se.expando]){if(t.events)for(n in t.events)i[n]?T.event.remove(r,n):T.removeEvent(r,n,t.handle);r[se.expando]=void 0}r[ue.expando]&&(r[ue.expando]=void 0)}}}),T.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return ee(this,function(e){return void 0===e?T.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 Ge(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ue(this,e).appendChild(e)})},prepend:function(){return Ge(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ue(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ge(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&&(T.cleanData(Ce(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Fe.test(e)&&!Ae[(ke.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(T.cleanData(Ce(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,function(t){var r=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Ce(this)),r&&r.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var r,n=[],i=T(e),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),T(i[a])[t](r),l.apply(n,r.get());return this.pushStack(n)}});var ze=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Xe=/^--/,Qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ze=function(e,t,r){var n,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=r.call(e),t)e.style[i]=o[i];return n},Je=new RegExp(pe.join("|"),"i");function Ke(e,t,r){var n,i,o,a,s=Xe.test(t),u=e.style;return(r=r||Qe(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ye(e)||(a=T.style(e,t)),!y.pixelBoxStyles()&&ze.test(a)&&Je.test(t)&&(n=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=r.width,u.width=n,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ge.appendChild(l).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ge.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ge.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],rt=b.createElement("div").style,nt={};function it(e){var t=T.cssProps[e]||nt[e];return t||(e in rt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=tt.length;r--;)if((e=tt[r]+t)in rt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function ut(e,t,r){var n=he.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function lt(e,t,r,n,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=T.css(e,r+pe[a],!0,i)),n?("content"===r&&(u-=T.css(e,"padding"+pe[a],!0,i)),"margin"!==r&&(u-=T.css(e,"border"+pe[a]+"Width",!0,i))):(u+=T.css(e,"padding"+pe[a],!0,i),"padding"!==r?u+=T.css(e,"border"+pe[a]+"Width",!0,i):s+=T.css(e,"border"+pe[a]+"Width",!0,i));return!n&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ct(e,t,r){var n=Qe(e),i=(!y.boxSizingReliable()||r)&&"border-box"===T.css(e,"boxSizing",!1,n),o=i,a=Ke(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!r)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&O(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,n),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+lt(e,t,r||(i?"border":"content"),o,n,a)+"px"}function ft(e,t,r,n,i){return new ft.prototype.init(e,t,r,n,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Ke(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),u=Xe.test(t),l=e.style;if(u||(t=it(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(e,!1,n))?i:l[t];"string"===(o=typeof r)&&(i=he.exec(r))&&i[1]&&(r=be(e,t,i),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=i&&i[3]||(T.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(u?l.setProperty(t,r):l[t]=r))}},css:function(e,t,r,n){var i,o,a,s=ie(t);return Xe.test(t)||(t=it(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=Ke(e,t,n)),"normal"===i&&t in st&&(i=st[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,r,n){if(r)return!ot.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,n):Ze(e,at,function(){return ct(e,t,n)})},set:function(e,r,n){var i,o=Qe(e),a=!y.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===T.css(e,"boxSizing",!1,o),u=n?lt(e,t,n,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-lt(e,t,"border",!1,o)-.5)),u&&(i=he.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=T.css(e,t)),ut(0,r,u)}}}),T.cssHooks.marginLeft=et(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+pe[n]+t]=o[n]||o[n-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=ut)}),T.fn.extend({css:function(e,t){return ee(this,function(e,t,r){var n,i,o={},a=0;if(Array.isArray(t)){for(n=Qe(e),i=t.length;a<i;a++)o[t[a]]=T.css(e,t[a],!1,n);return o}return void 0!==r?T.style(e,t,r):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=ft,ft.prototype={constructor:ft,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(T.cssNumber[r]?"":"px")},cur:function(){var e=ft.propHooks[this.prop];return e&&e.get?e.get(this):ft.propHooks._default.get(this)},run:function(e){var t,r=ft.propHooks[this.prop];return this.options.duration?this.pos=t=T.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),r&&r.set?r.set(this):ft.propHooks._default.set(this),this}},ft.prototype.init.prototype=ft.prototype,ft.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=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},ft.propHooks.scrollTop=ft.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=ft.prototype.init,T.fx.step={};var dt,ht,pt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function yt(){ht&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(yt):n.setTimeout(yt,T.fx.interval),T.fx.tick())}function mt(){return n.setTimeout(function(){dt=void 0}),dt=Date.now()}function vt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=pe[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,r){for(var n,i=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,t,e))return n}function wt(e,t,r){var n,i,o=0,a=wt.prefilters.length,s=T.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=dt||mt(),r=Math.max(0,l.startTime+l.duration-t),n=1-(r/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(n);return s.notifyWith(e,[l,n,r]),n<1&&a?r:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},r),originalProperties:t,originalOptions:r,startTime:dt||mt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=T.Tween(e,l.opts,t,r,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){var r=0,n=t?l.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)l.tweens[r].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var r,n,i,o,a;for(r in e)if(i=t[n=ie(r)],o=e[r],Array.isArray(o)&&(i=o[1],o=e[r]=o[0]),r!==n&&(e[n]=o,delete e[r]),(a=T.cssHooks[n])&&"expand"in a)for(r in o=a.expand(o),delete e[n],o)r in e||(e[r]=o[r],t[r]=i);else t[n]=i}(c,l.opts.specialEasing);o<a;o++)if(n=wt.prefilters[o].call(l,e,c,l.opts))return m(n.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return T.map(c,bt,l),m(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(wt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return be(r.elem,e,he.exec(t),r),r}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(q);for(var r,n=0,i=e.length;n<i;n++)r=e[n],wt.tweeners[r]=wt.tweeners[r]||[],wt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&ve(e),y=se.get(e,"fxshow");for(n in r.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[n],pt.test(i)){if(delete t[n],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[n])continue;g=!0}h[n]=y&&y[n]||T.style(e,n)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(h))for(n in f&&1===e.nodeType&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=y&&y.display)&&(l=se.get(e,"display")),"none"===(c=T.css(e,"display"))&&(l?c=l:(xe([e],!0),l=e.style.display||l,c=T.css(e,"display"),xe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(e,"float")&&(u||(d.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),r.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=r.overflow[0],p.overflowX=r.overflow[1],p.overflowY=r.overflow[2]})),u=!1,h)u||(y?"hidden"in y&&(g=y.hidden):y=se.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&xe([e],!0),d.done(function(){for(n in g||xe([e]),se.remove(e,"fxshow"),h)T.style(e,n,h[n])})),u=bt(g?y[n]:0,n,d),n in y||(y[n]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?wt.prefilters.unshift(e):wt.prefilters.push(e)}}),T.speed=function(e,t,r){var n=e&&"object"==typeof e?T.extend({},e):{complete:r||!r&&t||m(e)&&e,duration:e,easing:r&&t||t&&!m(t)&&t};return T.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in T.fx.speeds?n.duration=T.fx.speeds[n.duration]:n.duration=T.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){m(n.old)&&n.old.call(this),n.queue&&T.dequeue(this,n.queue)},n},T.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=T.isEmptyObject(e),o=T.speed(t,r,n),a=function(){var t=wt(this,T.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&>.test(i)&&n(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(r),t=!1,o.splice(i,1));!t&&r||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,r=se.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],o=T.timers,a=n?n.length:0;for(r.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish})}}),T.each(["toggle","show","hide"],function(e,t){var r=T.fn[t];T.fn[t]=function(e,n,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(vt(t,!0),e,n,i)}}),T.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,r=T.timers;for(dt=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||T.fx.stop(),dt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ht||(ht=!0,yt())},T.fx.stop=function(){ht=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var _t,xt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,r):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?_t:void 0)),void 0!==r?null===r?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=T.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&O(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(q);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),_t={set:function(e,t,r){return!1===t?T.removeAttr(e,r):e.setAttribute(r,r),r}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var r=xt[t]||T.find.attr;xt[t]=function(e,t,n){var i,o,a=t.toLowerCase();return n||(o=xt[a],xt[a]=i,i=null!=r(e,t,n)?a:null,xt[a]=o),i}});var St=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Tt(e){return(e.match(q)||[]).join(" ")}function kt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ot(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.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)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,r,n,i,o,a;return m(e)?this.each(function(t){T(this).addClass(e.call(this,t,kt(this)))}):(t=Ot(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+Tt(n)+" "){for(o=0;o<t.length;o++)i=t[o],r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Tt(r),n!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,r,n,i,o,a;return m(e)?this.each(function(t){T(this).removeClass(e.call(this,t,kt(this)))}):arguments.length?(t=Ot(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+Tt(n)+" "){for(o=0;o<t.length;o++)for(i=t[o];r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Tt(r),n!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var r,n,i,o,a=typeof e,s="string"===a||Array.isArray(e);return m(e)?this.each(function(r){T(this).toggleClass(e.call(this,r,kt(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=Ot(e),this.each(function(){if(s)for(o=T(this),i=0;i<r.length;i++)n=r[i],o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==e&&"boolean"!==a||((n=kt(this))&&se.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":se.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+Tt(kt(r))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=m(e),this.each(function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(At,""):null==r?"":r:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,r,n,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(n=o<0?u:a?o:0;n<u;n++)if(((r=i[n]).selected||n===o)&&!r.disabled&&(!r.parentNode.disabled||!O(r.parentNode,"optgroup"))){if(t=T(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,i=e.options,o=T.makeArray(t),a=i.length;a--;)((n=i[a]).selected=T.inArray(T.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},y.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ct=n.location,Rt={guid:Date.now()},Pt=/\?/;T.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||T.error("Invalid XML: "+(r?T.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,i){var o,a,s,u,l,c,f,d,p=[r||b],g=h.call(e,"type")?e.type:e,y=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!jt.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),f=T.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!v(r)){for(u=f.delegateType||g,jt.test(u+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||g,(c=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&oe(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),t)||!oe(r)||l&&m(r[g])&&!v(r)&&((s=r[l])&&(r[l]=null),T.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,Nt),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,Nt),T.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,r){var n=T.extend(new T.Event,r,{type:e,isSimulated:!0});T.event.trigger(n,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return T.event.trigger(e,t,r,!0)}});var Dt=/\[\]$/,It=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,r,n){var i;if(Array.isArray(t))T.each(t,function(t,i){r||Dt.test(e)?n(e,i):Ft(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,n)});else if(r||"object"!==x(t))n(e,t);else for(i in t)Ft(e+"["+i+"]",t[i],r,n)}T.param=function(e,t){var r,n=[],i=function(e,t){var r=m(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(r in e)Ft(r,e[r],t,i);return n.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Mt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var r=T(this).val();return null==r?null:Array.isArray(r)?T.map(r,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:r.replace(It,"\r\n")}}).get()}});var Bt=/%20/g,Vt=/#.*$/,Ut=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,$t=/^\/\//,Yt={},Gt={},qt="*/".concat("*"),zt=b.createElement("a");function Xt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,o=t.toLowerCase().match(q)||[];if(m(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Qt(e,t,r,n){var i={},o=e===Gt;function a(s){var u;return i[s]=!0,T.each(e[s]||[],function(e,s){var l=s(t,r,n);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Zt(e,t){var r,n,i=T.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&T.extend(!0,e,n),e}zt.href=Ct.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,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":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,T.ajaxSettings),t):Zt(T.ajaxSettings,e)},ajaxPrefilter:Xt(Yt),ajaxTransport:Xt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,f,d,h=T.ajaxSetup({},t),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?T(p):T.event,y=T.Deferred(),m=T.Callbacks("once memory"),v=h.statusCode||{},w={},_={},x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Wt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),E(0,t),this}};if(y.promise(S),h.url=((e||h.url||Ct.href)+"").replace($t,Ct.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(q)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Qt(Yt,h,t,S),l)return S;for(f in(c=T.event&&h.global)&&0===T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ht.test(h.type),i=h.url.replace(Vt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Bt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Pt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ut,"$1"),d=(Pt.test(i)?"&":"?")+"_="+Rt.guid+++d),h.url=i+d),h.ifModified&&(T.lastModified[i]&&S.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&S.setRequestHeader("If-None-Match",T.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(p,S,h)||l))return S.abort();if(x="abort",m.add(h.complete),S.done(h.success),S.fail(h.error),r=Qt(Gt,h,t,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),l)return S;h.async&&h.timeout>0&&(s=n.setTimeout(function(){S.abort("timeout")},h.timeout));try{l=!1,r.send(w,E)}catch(e){if(l)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,u){var f,d,b,w,_,x=t;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",S.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(w=function(e,t,r){for(var n,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){u.unshift(i);break}if(u[0]in r)o=u[0];else{for(i in r){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),r[o]}(h,S,a)),!f&&T.inArray("script",h.dataTypes)>-1&&T.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,r,n){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(r[e.responseFields[o]]=t),!u&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.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 "+u+" to "+o}}}return{state:"success",data:t}}(h,w,S,f),f?(h.ifModified&&((_=S.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=_),(_=S.getResponseHeader("etag"))&&(T.etag[i]=_)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=w.state,d=w.data,f=!(b=w.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),S.status=e,S.statusText=(t||x)+"",f?y.resolveWith(p,[d,x,S]):y.rejectWith(p,[S,x,b]),S.statusCode(v),v=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[S,h,f?d:b]),m.fireWith(p,[S,x]),c&&(g.trigger("ajaxComplete",[S,h]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,r){return T.get(e,t,r,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,r,n,i){return m(r)&&(i=i||n,n=r,r=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:r,success:n},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,r){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,r)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=T(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 m(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(r){T(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Kt=T.ajaxSettings.xhr();y.cors=!!Kt&&"withCredentials"in Kt,y.ajax=Kt=!!Kt,T.ajaxTransport(function(e){var t,r;if(y.cors||Kt&&!e.crossDomain)return{send:function(i,o){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||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[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?o(0,"error"):o(s.status,s.statusText):o(Jt[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()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.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 T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}});var er,tr=[],rr=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||T.expando+"_"+Rt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rr,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?T(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tr.push(i)),a&&m(o)&&o(a[0]),a=o=void 0}),"script"}),y.createHTMLDocument=((er=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===er.childNodes.length),T.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(y.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),o=!r&&[],(i=V.exec(e))?[t.createElement(i[1])]:(i=je([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var n,i,o},T.fn.load=function(e,t,r){var n,i,o,a=this,s=e.indexOf(" ");return s>-1&&(n=Tt(e.slice(s)),e=e.slice(0,s)),m(t)?(r=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(n?T("<div>").append(T.parseHTML(e)).find(n):e)}).always(r&&function(e,t){a.each(function(){r.apply(this,o||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,r){var n,i,o,a,s,u,l=T.css(e,"position"),c=T(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=T.css(e,"top"),u=T.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(n=c.position()).top,i=n.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,r,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===T.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(n,"marginTop",!0),left:t.left-i.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ge})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;T.fn[e]=function(n){return ee(this,function(e,n,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[n];o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):e[n]=i},e,n,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=et(y.pixelPosition,function(e,r){if(r)return r=Ke(e,t),ze.test(r)?T(e).position()[t]+"px":r})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(r,n){T.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(!0===i||!0===o?"margin":"border");return ee(this,function(t,r,i){var o;return v(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?T.css(t,r,s):T.style(t,r,i,s)},t,a?i:void 0,a)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.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){T.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}});var nr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var r,n,i;if("string"==typeof t&&(r=e[t],t=e,e=r),m(e))return n=s.call(arguments,2),i=function(){return e.apply(t||this,n.concat(s.call(arguments)))},i.guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=O,T.isFunction=m,T.isWindow=v,T.camelCase=ie,T.type=x,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(nr,"$1")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var ir=n.jQuery,or=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=or),e&&n.jQuery===T&&(n.jQuery=ir),T},void 0===i&&(n.jQuery=n.$=T),T})},88027:(e,t,r)=>{"use strict";const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(52990),{EventEmitter:o}=r(89784);function a(e){o.call(this,e)}function s(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",l));let a=!1;function u(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){f(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return s(r,"error",c),s(e,"error",c),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},e.exports={Stream:a,prependListener:s}},88408:(e,t,r)=>{var n=r(57717),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},88728:(e,t,r)=>{"use strict";var n=r(76817),i=r(92140),o=r(64417);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},88802:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},89213:(e,t,r)=>{"use strict";var n=r(31125),i=r(71550),o=r(81378),a=r(54999),s=r(76817),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},89439:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},89784:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,a,l;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else{var l=u.length,c=p(u,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},90011:(e,t,r)=>{"use strict";const{format:n,inspect:i}=r(78215),{AggregateError:o}=r(52990),a=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function f(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function h(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return f(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[s]=!0,c[e]=i}function p(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class g extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}h("ERR_ASSERTION","%s",Error),h("ERR_INVALID_ARG_TYPE",(e,t,r)=>{f("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],s=[];for(const e of t)f("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?o.push(e.toLowerCase()):l.test(e)?a.push(e):(f("object"!==e,'The value "object" should be written as "Object"'),s.push(e));if(a.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||s.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+=`an instance of ${a[0]}`;break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`an instance of ${a.join(", ")}, or ${e}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`;break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();n+=`one of ${s.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var c;if(null!==(c=r.constructor)&&void 0!==c&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n},TypeError),h("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=i(t);n.length>128&&(n=n.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError),h("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!=r&&null!==(n=r.constructor)&&void 0!==n&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`},TypeError),h("ERR_MISSING_ARGS",(...e)=>{let t;f(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(e=>`"${e}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`},TypeError),h("ERR_OUT_OF_RANGE",(e,t,r)=>{let n;if(f(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32)n=d(String(r));else if("bigint"==typeof r){n=String(r);const e=BigInt(2)**BigInt(32);(r>e||r<-e)&&(n=d(n)),n+="n"}else n=i(r);return`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError),h("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),h("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),h("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),h("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),h("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),h("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),h("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),h("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),h("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),h("ERR_STREAM_WRITE_AFTER_END","write after end",Error),h("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:g,aggregateTwoErrors:p(function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new a([t,e],t.message);return r.code=t.code,r}return e||t}),hideStackFrames:p,codes:c}},90335:(e,t,r)=>{"use strict";var n=r(66584),i=r(64745),o=r(71341),a=r(54999),s=r(51471);n({target:"Object",stat:!0,forced:!i||o(function(){a.f(1)})},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},90710:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},90943:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},90951:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},91325:(e,t,r)=>{"use strict";var n=r(94142),i=r(63927),o=r(6522),a=r(17709)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:u?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},91537:(e,t,r)=>{"use strict";var n=r(64627);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},92140:(e,t,r)=>{"use strict";var n=r(63927);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},92529:(e,t,r)=>{"use strict";var n=r(66584),i=r(99221);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},93228:(e,t,r)=>{"use strict";var n=r(97656);e.exports=function(e){return n(e.length)}},93267:(e,t,r)=>{"use strict";var n=r(7924).PROPER,i=r(96950),o=r(76817),a=r(85017),s=r(71341),u=r(40268),l="toString",c=RegExp.prototype,f=c[l],d=s(function(){return"/a/b"!==f.call({source:"a",flags:"b"})}),h=n&&f.name!==l;(d||h)&&i(c,l,function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))},{unsafe:!0})},93294:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"},93485:(e,t,r)=>{var n=r(21379);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},94017:(e,t,r)=>{"use strict";var n=r(63927),i=r(92140),o=r(61581);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},94142:(e,t,r)=>{"use strict";var n={};n[r(17709)("toStringTag")]="z",e.exports="[object z]"===String(n)},94562:(e,t,r)=>{"use strict";var n=r(66584),i=r(32161),o=r(97890),a=r(39022),s=r(35313),u=r(71550),l=r(84470),c=r(67527),f=r(94017),d=r(74531),h=r(66547),p=r(31079),g=r(71341),y=r(81378).f,m=r(85613).f,v=r(37423).f,b=r(98714),w=r(11428).trim,_="Number",x=a[_],S=s[_],E=x.prototype,T=a.TypeError,k=u("".slice),O=u("".charCodeAt),A=function(e){var t,r,n,i,o,a,s,u,l=p(e,"number");if(h(l))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(t=O(l,0))||45===t){if(88===(r=O(l,2))||120===r)return NaN}else if(48===t){switch(O(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=k(l,2)).length,s=0;s<a;s++)if((u=O(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l(_,!x(" 0o1")||!x("0b1")||x("+0x1")),R=function(e){var t,r=arguments.length<1?0:x(function(e){var t=p(e,"number");return"bigint"==typeof t?t:A(t)}(e));return d(E,t=this)&&g(function(){b(t)})?f(Object(r),this,R):r};R.prototype=E,C&&!i&&(E.constructor=R),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:R});var P=function(e,t){for(var r,n=o?y(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(t,r=n[i])&&!c(e,r)&&v(e,r,m(t,r))};i&&S&&P(s[_],S),(C||i)&&P(s[_],x)},94842:(e,t,r)=>{"use strict";var n=r(84750),i=r(69899),o=r(51471),a=r(3961),s=r(73983),u=r(12371),l=r(93228),c=r(2378),f=r(98147),d=r(94989),h=Array;e.exports=function(e){var t=o(e),r=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,p>2?arguments[2]:void 0));var m,v,b,w,_,x,S=d(t),E=0;if(!S||this===h&&s(S))for(m=l(t),v=r?new this(m):h(m);m>E;E++)x=y?g(t[E],E):t[E],c(v,E,x);else for(v=r?new this:[],_=(w=f(t,S)).next;!(b=i(_,w)).done;E++)x=y?a(w,g,[b.value,E],!0):b.value,c(v,E,x);return v.length=E,v}},94944:(e,t,r)=>{"use strict";var n=r(66584),i=r(94842);n({target:"Array",stat:!0,forced:!r(4814)(function(e){Array.from(e)})},{from:i})},94989:(e,t,r)=>{"use strict";var n=r(91325),i=r(29288),o=r(54395),a=r(6779),s=r(17709)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},95149:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},95521:e=>{"use strict";e.exports=function(e){return e[1]}},96077:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},96113:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},96299:(e,t,r)=>{"use strict";var n=r(69110),i=r(12371),o=r(92140),a=r(17709)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===s||n(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},96331:(e,t,r)=>{"use strict";var n=r(31079),i=r(66547);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},96615:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},96950:(e,t,r)=>{"use strict";var n=r(63927),i=r(37423),o=r(6461),a=r(24267);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},97407:(e,t,r)=>{"use strict";var n=r(97869).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},97569:(e,t,r)=>{var n=r(88408),i=r(87367),o=r(51327);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},97635:e=>{var t,r;t="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=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],o=0;o<4;o++)8*n+6*o<=8*e.length?r.push(t.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},97656:(e,t,r)=>{"use strict";var n=r(91537),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},97869:(e,t,r)=>{"use strict";var n=r(71550),i=r(91537),o=r(85017),a=r(28620),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,f=o(a(t)),d=i(r),h=f.length;return d<0||d>=h?e?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?e?s(f,d):n:e?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},97890:(e,t,r)=>{"use strict";var n=r(71341);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},98147:(e,t,r)=>{"use strict";var n=r(69899),i=r(68316),o=r(76817),a=r(54077),s=r(94989),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return o(n(r,e));throw new u(a(e)+" is not iterable")}},98312:(e,t,r)=>{"use strict";var n=r(71550),i=r(51471),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,d){var h=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l})}},98579:(e,t,r)=>{"use strict";var n=r(63205);e.exports="NODE"===n},98609:function(e,t,r){(e=r.nmd(e)).exports=function(){"use strict";var t,r;function n(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function h(e,t){for(var r in t)s(t,r)&&(e[r]=t[r]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,r,n){return qr(e,t,r,n,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=g()),e._pf}function m(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=y(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function v(e){var t=p(NaN);return null!=e?h(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var b=n.momentProperties=[],w=!1;function _(e,t){var r,n,i,o=b.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=y(t)),l(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)l(i=t[n=b[r]])||(e[n]=i);return e}function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,n.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function E(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var r=!0;return h(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){var i,o,a,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}E(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}var k,O={};function A(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),O[e]||(E(t),O[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function R(e){var t,r;for(r in e)s(e,r)&&(C(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var r,n=h({},e);for(r in t)s(t,r)&&(a(e[r])&&a(t[r])?(n[r]={},h(n[r],e[r]),h(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)s(e,r)&&!s(t,r)&&a(e[r])&&(n[r]=h({},n[r]));return n}function j(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)s(e,t)&&r.push(t);return r};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return C(n)?n.call(t,r):n}function I(e,t,r){var n=""+Math.abs(e),i=t-n.length;return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),r&&(B[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,r,n=e.match(L);for(t=0,r=n.length;t<r;t++)B[n[t]]?n[t]=B[n[t]]:n[t]=U(n[t]);return function(t){var i,o="";for(i=0;i<r;i++)o+=C(n[i])?n[i].call(t,e):n[i];return o}}function H(e,t){return e.isValid()?(t=$(t,e.localeData()),F[t]=F[t]||W(t),F[t](e)):e.localeData().invalidDate()}function $(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(M.lastIndex=0;r>=0&&M.test(e);)e=e.replace(M,n),M.lastIndex=0,r-=1;return e}var Y={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"};function G(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var q="Invalid date";function z(){return this._invalidDate}var X="%d",Q=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var J={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function K(e,t,r,n){var i=this._relativeTime[r];return C(i)?i(e,t,r,n):i.replace(/%d/i,e)}function ee(e,t){var r=this._relativeTime[e>0?"future":"past"];return C(r)?r(t):r.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ne(e){var t,r,n={};for(r in e)s(e,r)&&(t=re(r))&&(n[t]=e[r]);return n}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,r=[];for(t in e)s(e,t)&&r.push({unit:t,priority:ie[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}var ae,se=/\d/,ue=/\d\d/,le=/\d{3}/,ce=/\d{4}/,fe=/[+-]?\d{6}/,de=/\d\d?/,he=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ye=/\d{1,4}/,me=/[+-]?\d{1,6}/,ve=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[+-]?\d+(\.\d{1,3})?/,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,Ee=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function ke(e,t,r){ae[e]=C(t)?t:function(e,n){return e&&r?r:t}}function Oe(e,t){return s(ae,e)?ae[e](t._strict,t._locale):new RegExp(Ae(e))}function Ae(e){return Ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i}))}function Ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Re(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Re(t)),r}ae={};var je={};function Ne(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,r){r[t]=Pe(e)}),n=e.length,r=0;r<n;r++)je[e[r]]=i}function De(e,t){Ne(e,function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)})}function Ie(e,t,r){null!=t&&s(je,e)&&je[e](t,r._a,r,e)}function Le(e){return e%4==0&&e%100!=0||e%400==0}var Me=0,Fe=1,Be=2,Ve=3,Ue=4,We=5,He=6,$e=7,Ye=8;function Ge(e){return Le(e)?366:365}V("Y",0,0,function(){var e=this.year();return e<=9999?I(e,4):"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),ke("Y",be),ke("YY",de,ue),ke("YYYY",ye,ce),ke("YYYYY",me,fe),ke("YYYYYY",me,fe),Ne(["YYYYY","YYYYYY"],Me),Ne("YYYY",function(e,t){t[Me]=2===e.length?n.parseTwoDigitYear(e):Pe(e)}),Ne("YY",function(e,t){t[Me]=n.parseTwoDigitYear(e)}),Ne("Y",function(e,t){t[Me]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return Pe(e)+(Pe(e)>68?1900:2e3)};var qe,ze=Qe("FullYear",!0);function Xe(){return Le(this.year())}function Qe(e,t){return function(r){return null!=r?(Je(this,e,r),n.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Je(e,t,r){var n,i,o,a,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=e.month(),s=29!==(s=e.date())||1!==a||Le(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function Ke(e){return C(this[e=re(e)])?this[e]():this}function et(e,t){if("object"==typeof e){var r,n=oe(e=ne(e)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(C(this[e=re(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=tt(t,12);return e+=(t-r)/12,1===r?Le(e)?29:28:31-r%7%2}qe=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},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),ke("M",de,Ee),ke("MM",de,ue),ke("MMM",function(e,t){return t.monthsShortRegex(e)}),ke("MMMM",function(e,t){return t.monthsRegex(e)}),Ne(["M","MM"],function(e,t){t[Fe]=Pe(e)-1}),Ne(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Fe]=i:y(r).invalidMonth=e});var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Se,st=Se;function ut(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function lt(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,a))?i:null:-1!==(i=qe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,a))||-1!==(i=qe.call(this._longMonthsParse,a))?i:null:-1!==(i=qe.call(this._longMonthsParse,a))||-1!==(i=qe.call(this._shortMonthsParse,a))?i:null}function ft(e,t,r){var n,i,o;if(this._monthsParseExact)return ct.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=p([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function dt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Pe(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,rt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function ht(e){return null!=e?(dt(this,e),n.updateOffset(this,!0),this):Ze(this,"Month")}function pt(){return rt(this.year(),this.month())}function gt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=p([2e3,t]),n=Ce(this.monthsShort(r,"")),i=Ce(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vt(e,t,r,n,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,o,a),s}function bt(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,r){var n=7+t-r;return-(7+bt(e,0,n).getUTCDay()-t)%7+n-1}function _t(e,t,r,n,i){var o,a,s=1+7*(t-1)+(7+r-n)%7+wt(e,n,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,r){var n,i,o=wt(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+St(i=e.year()-1,t,r):a>St(e.year(),t,r)?(n=a-St(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function St(e,t,r){var n=wt(e,t,r),i=wt(e+1,t,r);return(Ge(e)-n+i)/7}function Et(e){return xt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),ke("w",de,Ee),ke("ww",de,ue),ke("W",de,Ee),ke("WW",de,ue),De(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Pe(e)});var Tt={dow:0,doy:6};function kt(){return this._week.dow}function Ot(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ct(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Rt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),ke("d",de),ke("e",de),ke("E",de),ke("dd",function(e,t){return t.weekdaysMinRegex(e)}),ke("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ke("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:y(r).invalidWeekday=e}),De(["d","e","E"],function(e,t,r,n){t[n]=Pe(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Se,Mt=Se,Ft=Se;function Bt(e,t){var r=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(r,this._week.dow):e?r[e.day()]:r}function Vt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._shortWeekdaysParse,a))||-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,a))||-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,a))||-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._shortWeekdaysParse,a))?i:null}function Ht(e,t,r){var n,i,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=p([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Rt(e,this.localeData()),this.add(e-t,"d")):t}function Yt(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")}function Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Mt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,r,n,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)r=p([2e3,1]).day(t),n=Ce(this.weekdaysMin(r,"")),i=Ce(this.weekdaysShort(r,"")),o=Ce(this.weekdays(r,"")),a.push(n),s.push(i),u.push(o),l.push(n),l.push(i),l.push(o);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function Kt(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function er(e,t){return t._meridiemParse}function tr(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Zt),V("k",["kk",2],0,Jt),V("hmm",0,0,function(){return""+Zt.apply(this)+I(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Zt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),ke("a",er),ke("A",er),ke("H",de,Te),ke("h",de,Ee),ke("k",de,Ee),ke("HH",de,ue),ke("hh",de,ue),ke("kk",de,ue),ke("hmm",he),ke("hmmss",pe),ke("Hmm",he),ke("Hmmss",pe),Ne(["H","HH"],Ve),Ne(["k","kk"],function(e,t,r){var n=Pe(e);t[Ve]=24===n?0:n}),Ne(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),Ne(["h","hh"],function(e,t,r){t[Ve]=Pe(e),y(r).bigHour=!0}),Ne("hmm",function(e,t,r){var n=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n)),y(r).bigHour=!0}),Ne("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n,2)),t[We]=Pe(e.substr(i)),y(r).bigHour=!0}),Ne("Hmm",function(e,t,r){var n=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n))}),Ne("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n,2)),t[We]=Pe(e.substr(i))});var rr=/[ap]\.?m?\.?/i,nr=Qe("Hours",!0);function ir(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var or,ar={calendar:N,longDateFormat:Y,invalidDate:q,ordinal:X,dayOfMonthOrdinalParse:Q,relativeTime:J,months:nt,monthsShort:it,week:Tt,weekdays:Nt,weekdaysMin:It,weekdaysShort:Dt,meridiemParse:rr},sr={},ur={};function lr(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function cr(e){return e?e.toLowerCase().replace("_","-"):e}function fr(e){for(var t,r,n,i,o=0;o<e.length;){for(t=(i=cr(e[o]).split("-")).length,r=(r=cr(e[o+1]))?r.split("-"):null;t>0;){if(n=hr(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&lr(i,r)>=t-1)break;t--}o++}return or}function dr(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hr(t){var r=null;if(void 0===sr[t]&&e&&e.exports&&dr(t))try{r=or._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),pr(r)}catch(e){sr[t]=null}return sr[t]}function pr(e,t){var r;return e&&((r=l(t)?mr(e):gr(e,t))?or=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),or._abbr}function gr(e,t){if(null!==t){var r,n=ar;if(t.abbr=e,null!=sr[e])A("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."),n=sr[e]._config;else if(null!=t.parentLocale)if(null!=sr[t.parentLocale])n=sr[t.parentLocale]._config;else{if(null==(r=hr(t.parentLocale)))return ur[t.parentLocale]||(ur[t.parentLocale]=[]),ur[t.parentLocale].push({name:e,config:t}),null;n=r._config}return sr[e]=new j(P(n,t)),ur[e]&&ur[e].forEach(function(e){gr(e.name,e.config)}),pr(e),sr[e]}return delete sr[e],null}function yr(e,t){if(null!=t){var r,n,i=ar;null!=sr[e]&&null!=sr[e].parentLocale?sr[e].set(P(sr[e]._config,t)):(null!=(n=hr(e))&&(i=n._config),t=P(i,t),null==n&&(t.abbr=e),(r=new j(t)).parentLocale=sr[e],sr[e]=r),pr(e)}else null!=sr[e]&&(null!=sr[e].parentLocale?(sr[e]=sr[e].parentLocale,e===pr()&&pr(e)):null!=sr[e]&&delete sr[e]);return sr[e]}function mr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return or;if(!o(e)){if(t=hr(e))return t;e=[e]}return fr(e)}function vr(){return k(sr)}function br(e){var t,r=e._a;return r&&-2===y(e).overflow&&(t=r[Fe]<0||r[Fe]>11?Fe:r[Be]<1||r[Be]>rt(r[Me],r[Fe])?Be:r[Ve]<0||r[Ve]>24||24===r[Ve]&&(0!==r[Ue]||0!==r[We]||0!==r[He])?Ve:r[Ue]<0||r[Ue]>59?Ue:r[We]<0||r[We]>59?We:r[He]<0||r[He]>999?He:-1,y(e)._overflowDayOfYear&&(t<Me||t>Be)&&(t=Be),y(e)._overflowWeeks&&-1===t&&(t=$e),y(e)._overflowWeekday&&-1===t&&(t=Ye),y(e).overflow=t),e}var wr=/^\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)?)?$/,_r=/^\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)?)?$/,xr=/Z|[+-]\d\d(?::?\d\d)?/,Sr=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Er=[["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/]],Tr=/^\/?Date\((-?\d+)/i,kr=/^(?:(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}))$/,Or={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ar(e){var t,r,n,i,o,a,s=e._i,u=wr.exec(s)||_r.exec(s),l=Sr.length,c=Er.length;if(u){for(y(e).iso=!0,t=0,r=l;t<r;t++)if(Sr[t][1].exec(u[1])){i=Sr[t][0],n=!1!==Sr[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,r=c;t<r;t++)if(Er[t][1].exec(u[3])){o=(u[2]||" ")+Er[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(u[4]){if(!xr.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Vr(e)}else e._isValid=!1}function Cr(e,t,r,n,i,o){var a=[Rr(e),it.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Rr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jr(e,t,r){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(r).weekdayMismatch=!0,r._isValid=!1,!1)}function Nr(e,t,r){if(e)return Or[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}function Dr(e){var t,r=kr.exec(Pr(e._i));if(r){if(t=Cr(r[4],r[3],r[2],r[5],r[6],r[7]),!jr(r[1],t,e))return;e._a=t,e._tzm=Nr(r[8],r[9],r[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Ir(e){var t=Tr.exec(e._i);null===t?(Ar(e),!1===e._isValid&&(delete e._isValid,Dr(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Lr(e,t,r){return null!=e?e:null!=t?t:r}function Mr(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fr(e){var t,r,n,i,o,a=[];if(!e._d){for(n=Mr(e),e._w&&null==e._a[Be]&&null==e._a[Fe]&&Br(e),null!=e._dayOfYear&&(o=Lr(e._a[Me],n[Me]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),r=bt(o,0,e._dayOfYear),e._a[Fe]=r.getUTCMonth(),e._a[Be]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[Ue]&&0===e._a[We]&&0===e._a[He]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?bt:vt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Br(e){var t,r,n,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,r=Lr(t.GG,e._a[Me],xt(zr(),1,4).year),n=Lr(t.W,1),((i=Lr(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=xt(zr(),o,a),r=Lr(t.gg,e._a[Me],l.year),n=Lr(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),n<1||n>St(r,o,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(s=_t(r,n,i,o,a),e._a[Me]=s.year,e._dayOfYear=s.dayOfYear)}function Vr(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],y(e).empty=!0;var t,r,i,o,a,s,u,l=""+e._i,c=l.length,f=0;for(u=(i=$(e._f,e._locale).match(L)||[]).length,t=0;t<u;t++)o=i[t],(r=(l.match(Oe(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(r))).length>0&&y(e).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),f+=r.length),B[o]?(r?y(e).empty=!1:y(e).unusedTokens.push(o),Ie(o,r,e)):e._strict&&!r&&y(e).unusedTokens.push(o);y(e).charsLeftOver=c-f,l.length>0&&y(e).unusedInput.push(l),e._a[Ve]<=12&&!0===y(e).bigHour&&e._a[Ve]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Ve]=Ur(e._locale,e._a[Ve],e._meridiem),null!==(s=y(e).era)&&(e._a[Me]=e._locale.erasConvertYear(s,e._a[Me])),Fr(e),br(e)}else Dr(e);else Ar(e)}function Ur(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Wr(e){var t,r,n,i,o,a,s=!1,u=e._f.length;if(0===u)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Vr(t),m(t)&&(a=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));h(e,r||t)}function Hr(e){if(!e._d){var t=ne(e._i),r=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Fr(e)}}function $r(e){var t=new x(br(Yr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Yr(e){var t=e._i,r=e._f;return e._locale=e._locale||mr(e._l),null===t||void 0===r&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new x(br(t)):(f(t)?e._d=t:o(r)?Wr(e):r?Vr(e):Gr(e),m(e)||(e._d=null),e))}function Gr(e){var t=e._i;l(t)?e._d=new Date(n.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ir(e):o(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Fr(e)):a(t)?Hr(e):c(t)?e._d=new Date(t):n.createFromInputFallback(e)}function qr(e,t,r,n,i){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(a(e)&&u(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,$r(s)}function zr(e,t,r,n){return qr(e,t,r,n,!1)}n.createFromInputFallback=T("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Xr=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=zr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Qr=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=zr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Zr(e,t){var r,n;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return zr();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}function Jr(){return Zr("isBefore",[].slice.call(arguments,0))}function Kr(){return Zr("isAfter",[].slice.call(arguments,0))}var en=function(){return Date.now?Date.now():+new Date},tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rn(e){var t,r,n=!1,i=tn.length;for(t in e)if(s(e,t)&&(-1===qe.call(tn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[tn[r]]){if(n)return!1;parseFloat(e[tn[r]])!==Pe(e[tn[r]])&&(n=!0)}return!0}function nn(){return this._isValid}function on(){return An(NaN)}function an(e){var t=ne(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=rn(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=mr(),this._bubble()}function sn(e){return e instanceof an}function un(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ln(e,t,r){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&Pe(e[n])!==Pe(t[n]))&&a++;return a+o}function cn(e,t){V(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+I(~~(e/60),2)+t+I(~~e%60,2)})}cn("Z",":"),cn("ZZ",""),ke("Z",_e),ke("ZZ",_e),Ne(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=dn(_e,e)});var fn=/([\+\-]|\d\d)/gi;function dn(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(fn)||["-",0,0])[1]+Pe(r[2]))?0:"+"===r[0]?n:-n}function hn(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(S(e)||f(e)?e.valueOf():zr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):zr(e).local()}function pn(e){return-Math.round(e._d.getTimezoneOffset())}function gn(e,t,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=dn(_e,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=pn(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Nn(this,An(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function mn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function bn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=dn(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wn(e){return!!this.isValid()&&(e=e?zr(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _n(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xn(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Yr(t))._a?(e=t._isUTC?p(t._a):zr(t._a),this._isDSTShifted=this.isValid()&&ln(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sn(){return!!this.isValid()&&!this._isUTC}function En(){return!!this.isValid()&&this._isUTC}function Tn(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,On=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function An(e,t){var r,n,i,o=e,a=null;return sn(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=kn.exec(e))?(r="-"===a[1]?-1:1,o={y:0,d:Pe(a[Be])*r,h:Pe(a[Ve])*r,m:Pe(a[Ue])*r,s:Pe(a[We])*r,ms:Pe(un(1e3*a[He]))*r}):(a=On.exec(e))?(r="-"===a[1]?-1:1,o={y:Cn(a[2],r),M:Cn(a[3],r),w:Cn(a[4],r),d:Cn(a[5],r),h:Cn(a[6],r),m:Cn(a[7],r),s:Cn(a[8],r)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Pn(zr(o.from),zr(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),n=new an(o),sn(e)&&s(e,"_locale")&&(n._locale=e._locale),sn(e)&&s(e,"_isValid")&&(n._isValid=e._isValid),n}function Cn(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Rn(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Pn(e,t){var r;return e.isValid()&&t.isValid()?(t=hn(t,e),e.isBefore(t)?r=Rn(e,t):((r=Rn(t,e)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function jn(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(A(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."),i=r,r=n,n=i),Nn(this,An(r,n),e),this}}function Nn(e,t,r,i){var o=t._milliseconds,a=un(t._days),s=un(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,Ze(e,"Month")+s*r),a&&Je(e,"Date",Ze(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}An.fn=an.prototype,An.invalid=on;var Dn=jn(1,"add"),In=jn(-1,"subtract");function Ln(e){return"string"==typeof e||e instanceof String}function Mn(e){return S(e)||f(e)||Ln(e)||c(e)||Bn(e)||Fn(e)||null==e}function Fn(e){var t,r,n=a(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=o.length;for(t=0;t<l;t+=1)r=o[t],i=i||s(e,r);return n&&i}function Bn(e){var t=o(e),r=!1;return t&&(r=0===e.filter(function(t){return!c(t)&&Ln(e)}).length),t&&r}function Vn(e){var t,r,n=a(e)&&!u(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=o[t],i=i||s(e,r);return n&&i}function Un(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Wn(e,t){1===arguments.length&&(arguments[0]?Mn(arguments[0])?(e=arguments[0],t=void 0):Vn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||zr(),i=hn(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(C(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,zr(r)))}function Hn(){return new x(this)}function $n(e,t){var r=S(e)?e:zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function Yn(e,t){var r=S(e)?e:zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function Gn(e,t,r,n){var i=S(e)?e:zr(e),o=S(t)?t:zr(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r))}function qn(e,t){var r,n=S(e)?e:zr(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function zn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qn(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=hn(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Zn(this,n)/12;break;case"month":o=Zn(this,n);break;case"quarter":o=Zn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Re(o)}function Zn(e,t){if(e.date()<t.date())return-Zn(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(r+1,"months")-n)))||0}function Jn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Kn(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?H(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(r,"Z")):H(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+r+n)}function ti(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(S(e)&&e.isValid()||zr(e).isValid())?An({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ni(e){return this.from(zr(),e)}function ii(e,t){return this.isValid()&&(S(e)&&e.isValid()||zr(e).isValid())?An({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(zr(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=mr(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=T("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 ui(){return this._locale}var li=1e3,ci=60*li,fi=60*ci,di=3506328*fi;function hi(e,t){return(e%t+t)%t}function pi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-di:new Date(e,t,r).valueOf()}function gi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-di:Date.UTC(e,t,r)}function yi(e){var t,r;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:pi,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ci);break;case"second":t=this._d.valueOf(),t-=hi(t,li)}return this._d.setTime(t),n.updateOffset(this,!0),this}function mi(e){var t,r;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:pi,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=li-hi(t,li)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){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()}}function Si(){return this.isValid()?this.toISOString():null}function Ei(){return m(this)}function Ti(){return h({},y(this))}function ki(){return y(this).overflow}function Oi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(e,t){var r,i,o,a=this._eras||mr("en")._eras;for(r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=n(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}return a}function Ci(e,t,r){var n,i,o,a,s,u=this.eras();for(e=e.toUpperCase(),n=0,i=u.length;n<i;++n)if(o=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),s=u[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[n];break;case"NNNN":if(o===e)return u[n];break;case"NNNNN":if(s===e)return u[n]}else if([o,a,s].indexOf(e)>=0)return u[n]}function Ri(e,t){var r=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*r}function Pi(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}function ji(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Ni(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""}function Di(){var e,t,r,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-n(o[e].since).year())*r+o[e].offset;return this.year()}function Ii(e){return s(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Li(e){return s(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Mi(e){return s(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Bi(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||ve}function Wi(){var e,t,r,n,i,o=[],a=[],s=[],u=[],l=this.eras();for(e=0,t=l.length;e<t;++e)r=Ce(l[e].name),n=Ce(l[e].abbr),i=Ce(l[e].narrow),a.push(r),o.push(n),s.push(i),u.push(r),u.push(n),u.push(i);this._erasRegex=new RegExp("^("+u.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Hi(e,t){V(0,[e,e.length],0,t)}function $i(e){return Qi.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Yi(e){return Qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return St(this.year(),1,4)}function qi(){return St(this.isoWeekYear(),1,4)}function zi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Qi(e,t,r,n,i){var o;return null==e?xt(this,n,i).year:(t>(o=St(e,n,i))&&(t=o),Zi.call(this,e,t,r,n,i))}function Zi(e,t,r,n,i){var o=_t(e,t,r,n,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ji(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),ke("N",Fi),ke("NN",Fi),ke("NNN",Fi),ke("NNNN",Bi),ke("NNNNN",Vi),Ne(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?y(r).era=i:y(r).invalidEra=e}),ke("y",ve),ke("yy",ve),ke("yyy",ve),ke("yyyy",ve),ke("yo",Ui),Ne(["y","yy","yyy","yyyy"],Me),Ne(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Me]=r._locale.eraYearOrdinalParse(e,i):t[Me]=parseInt(e,10)}),V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Hi("gggg","weekYear"),Hi("ggggg","weekYear"),Hi("GGGG","isoWeekYear"),Hi("GGGGG","isoWeekYear"),ke("G",be),ke("g",be),ke("GG",de,ue),ke("gg",de,ue),ke("GGGG",ye,ce),ke("gggg",ye,ce),ke("GGGGG",me,fe),ke("ggggg",me,fe),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=Pe(e)}),De(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),ke("Q",se),Ne("Q",function(e,t){t[Fe]=3*(Pe(e)-1)}),V("D",["DD",2],"Do","date"),ke("D",de,Ee),ke("DD",de,ue),ke("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Ne(["D","DD"],Be),Ne("Do",function(e,t){t[Be]=Pe(e.match(de)[0])});var Ki=Qe("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),ke("DDD",ge),ke("DDDD",le),Ne(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Pe(e)}),V("m",["mm",2],0,"minute"),ke("m",de,Te),ke("mm",de,ue),Ne(["m","mm"],Ue);var to=Qe("Minutes",!1);V("s",["ss",2],0,"second"),ke("s",de,Te),ke("ss",de,ue),Ne(["s","ss"],We);var ro,no,io=Qe("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ke("S",ge,se),ke("SS",ge,ue),ke("SSS",ge,le),ro="SSSS";ro.length<=9;ro+="S")ke(ro,ve);function oo(e,t){t[He]=Pe(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ne(ro,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}no=Qe("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var uo=x.prototype;function lo(e){return zr(1e3*e)}function co(){return zr.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Dn,uo.calendar=Wn,uo.clone=Hn,uo.diff=Qn,uo.endOf=mi,uo.format=ti,uo.from=ri,uo.fromNow=ni,uo.to=ii,uo.toNow=oi,uo.get=Ke,uo.invalidAt=ki,uo.isAfter=$n,uo.isBefore=Yn,uo.isBetween=Gn,uo.isSame=qn,uo.isSameOrAfter=zn,uo.isSameOrBefore=Xn,uo.isValid=Ei,uo.lang=si,uo.locale=ai,uo.localeData=ui,uo.max=Qr,uo.min=Xr,uo.parsingFlags=Ti,uo.set=et,uo.startOf=yi,uo.subtract=In,uo.toArray=_i,uo.toObject=xi,uo.toDate=wi,uo.toISOString=Kn,uo.inspect=ei,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Si,uo.toString=Jn,uo.unix=bi,uo.valueOf=vi,uo.creationData=Oi,uo.eraName=Pi,uo.eraNarrow=ji,uo.eraAbbr=Ni,uo.eraYear=Di,uo.year=ze,uo.isLeapYear=Xe,uo.weekYear=$i,uo.isoWeekYear=Yi,uo.quarter=uo.quarters=Ji,uo.month=ht,uo.daysInMonth=pt,uo.week=uo.weeks=At,uo.isoWeek=uo.isoWeeks=Ct,uo.weeksInYear=zi,uo.weeksInWeekYear=Xi,uo.isoWeeksInYear=Gi,uo.isoWeeksInISOWeekYear=qi,uo.date=Ki,uo.day=uo.days=$t,uo.weekday=Yt,uo.isoWeekday=Gt,uo.dayOfYear=eo,uo.hour=uo.hours=nr,uo.minute=uo.minutes=to,uo.second=uo.seconds=io,uo.millisecond=uo.milliseconds=no,uo.utcOffset=gn,uo.utc=mn,uo.local=vn,uo.parseZone=bn,uo.hasAlignedHourOffset=wn,uo.isDST=_n,uo.isLocal=Sn,uo.isUtcOffset=En,uo.isUtc=Tn,uo.isUTC=Tn,uo.zoneAbbr=ao,uo.zoneName=so,uo.dates=T("dates accessor is deprecated. Use date instead.",Ki),uo.months=T("months accessor is deprecated. Use month instead",ht),uo.years=T("years accessor is deprecated. Use year instead",ze),uo.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),uo.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xn);var ho=j.prototype;function po(e,t,r,n){var i=mr(),o=p().set(n,t);return i[r](o,e)}function go(e,t,r){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=po(e,n,r,"month");return i}function yo(e,t,r,n){"boolean"==typeof e?(c(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,c(t)&&(r=t,t=void 0),t=t||"");var i,o=mr(),a=e?o._week.dow:0,s=[];if(null!=r)return po(t,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,n,"day");return s}function mo(e,t){return go(e,t,"months")}function vo(e,t){return go(e,t,"monthsShort")}function bo(e,t,r){return yo(e,t,r,"weekdays")}function wo(e,t,r){return yo(e,t,r,"weekdaysShort")}function _o(e,t,r){return yo(e,t,r,"weekdaysMin")}ho.calendar=D,ho.longDateFormat=G,ho.invalidDate=z,ho.ordinal=Z,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=K,ho.pastFuture=ee,ho.set=R,ho.eras=Ai,ho.erasParse=Ci,ho.erasConvertYear=Ri,ho.erasAbbrRegex=Li,ho.erasNameRegex=Ii,ho.erasNarrowRegex=Mi,ho.months=ut,ho.monthsShort=lt,ho.monthsParse=ft,ho.monthsRegex=yt,ho.monthsShortRegex=gt,ho.week=Et,ho.firstDayOfYear=Ot,ho.firstDayOfWeek=kt,ho.weekdays=Bt,ho.weekdaysMin=Ut,ho.weekdaysShort=Vt,ho.weekdaysParse=Ht,ho.weekdaysRegex=qt,ho.weekdaysShortRegex=zt,ho.weekdaysMinRegex=Xt,ho.isPM=tr,ho.meridiem=ir,pr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=T("moment.lang is deprecated. Use moment.locale instead.",pr),n.langData=T("moment.langData is deprecated. Use moment.localeData instead.",mr);var xo=Math.abs;function So(){var e=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),e.milliseconds=xo(e.milliseconds),e.seconds=xo(e.seconds),e.minutes=xo(e.minutes),e.hours=xo(e.hours),e.months=xo(e.months),e.years=xo(e.years),this}function Eo(e,t,r,n){var i=An(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function To(e,t){return Eo(this,e,t,1)}function ko(e,t){return Eo(this,e,t,-1)}function Oo(e){return e<0?Math.floor(e):Math.ceil(e)}function Ao(){var e,t,r,n,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Oo(Ro(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=Re(o/1e3),u.seconds=e%60,t=Re(e/60),u.minutes=t%60,r=Re(t/60),u.hours=r%24,a+=Re(r/24),s+=i=Re(Co(a)),a-=Oo(Ro(i)),n=Re(s/12),s%=12,u.days=a,u.months=s,u.years=n,this}function Co(e){return 4800*e/146097}function Ro(e){return 146097*e/4800}function Po(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Co(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ro(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function jo(e){return function(){return this.as(e)}}var No=jo("ms"),Do=jo("s"),Io=jo("m"),Lo=jo("h"),Mo=jo("d"),Fo=jo("w"),Bo=jo("M"),Vo=jo("Q"),Uo=jo("y"),Wo=No;function Ho(){return An(this)}function $o(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Yo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Go=Yo("milliseconds"),qo=Yo("seconds"),zo=Yo("minutes"),Xo=Yo("hours"),Qo=Yo("days"),Zo=Yo("months"),Jo=Yo("years");function Ko(){return Re(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function na(e,t,r,n){var i=An(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),u=ea(i.as("d")),l=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),d=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return null!=r.w&&(d=d||c<=1&&["w"]||c<r.w&&["ww",c]),(d=d||l<=1&&["M"]||l<r.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=n,ra.apply(null,d)}function ia(e){return void 0===e?ea:"function"==typeof e&&(ea=e,!0)}function oa(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=ta;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=na(this,!i,o,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var sa=Math.abs;function ua(e){return(e>0)-(e<0)||+e}function la(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,u=sa(this._milliseconds)/1e3,l=sa(this._days),c=sa(this._months),f=this.asSeconds();return f?(e=Re(u/60),t=Re(e/60),u%=60,e%=60,r=Re(c/12),c%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=ua(this._months)!==ua(f)?"-":"",a=ua(this._days)!==ua(f)?"-":"",s=ua(this._milliseconds)!==ua(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+n+"S":"")):"P0D"}var ca=an.prototype;return ca.isValid=nn,ca.abs=So,ca.add=To,ca.subtract=ko,ca.as=Po,ca.asMilliseconds=No,ca.asSeconds=Do,ca.asMinutes=Io,ca.asHours=Lo,ca.asDays=Mo,ca.asWeeks=Fo,ca.asMonths=Bo,ca.asQuarters=Vo,ca.asYears=Uo,ca.valueOf=Wo,ca._bubble=Ao,ca.clone=Ho,ca.get=$o,ca.milliseconds=Go,ca.seconds=qo,ca.minutes=zo,ca.hours=Xo,ca.days=Qo,ca.weeks=Ko,ca.months=Zo,ca.years=Jo,ca.humanize=aa,ca.toISOString=la,ca.toString=la,ca.toJSON=la,ca.locale=ai,ca.localeData=ui,ca.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ca.lang=si,V("X",0,0,"unix"),V("x",0,0,"valueOf"),ke("x",be),ke("X",xe),Ne("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),Ne("x",function(e,t,r){r._d=new Date(Pe(e))}),n.version="2.30.1",i(zr),n.fn=uo,n.min=Jr,n.max=Kr,n.now=en,n.utc=p,n.unix=lo,n.months=mo,n.isDate=f,n.locale=pr,n.invalid=v,n.duration=An,n.isMoment=S,n.weekdays=bo,n.parseZone=co,n.localeData=mr,n.isDuration=sn,n.monthsShort=vo,n.weekdaysMin=_o,n.defineLocale=gr,n.updateLocale=yr,n.locales=vr,n.weekdaysShort=wo,n.normalizeUnits=re,n.relativeTimeRounding=ia,n.relativeTimeThreshold=oa,n.calendarFormat=Un,n.prototype=uo,n.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"},n}()},98714:(e,t,r)=>{"use strict";var n=r(71550);e.exports=n(1.1.valueOf)},98808:(e,t,r)=>{"use strict";var n=r(51267),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},99162:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},99183:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},99221:(e,t,r)=>{"use strict";var n,i,o=r(69899),a=r(71550),s=r(85017),u=r(24593),l=r(44807),c=r(57987),f=r(82358),d=r(22727).get,h=r(28169),p=r(62556),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,v=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(m=function(e){var t,r,n,i,a,l,c,h=this,p=d(h),T=s(e),k=p.raw;if(k)return k.lastIndex=h.lastIndex,t=o(m,k,T),h.lastIndex=k.lastIndex,t;var O=p.groups,A=S&&h.sticky,C=o(u,h),R=h.source,P=0,j=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),j=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(T,h.lastIndex-1))&&(R="(?: "+R+")",j=" "+j,P++),r=new RegExp("^(?:"+R+")",C)),E&&(r=new RegExp("^"+R+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,j),A?i?(i.input=_(i.input,P),i[0]=_(i[0],P),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),e.exports=m},99232:(e,t,r)=>{e=r.nmd(e);var n=r(58453),i=r(12055),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},99457:(e,t,r)=>{"use strict";var n=r(76441);e.exports=/MSIE|Trident/.test(n)}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.b="undefined"!=typeof document&&document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Zi,Presenter:()=>Cn,bundleLoader:()=>ao,engine:()=>rn,renderingContext:()=>Oe,system:()=>pe,utils:()=>fe,validate:()=>pn});r(86521),r(32106),r(17853),r(32033),r(72529),r(23858),r(2678),r(81812),r(73726),r(6203),r(76794),r(10611),r(23653),r(492),r(73886),r(94562),r(19486),r(64797);"__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#"});const{__rdfjson_namespaces:e}=globalThis;let t=0;const i=(t,r,n)=>(e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:`${t}:${n}`}),o=r=>{const n=Object.keys(e).find(t=>0===r.indexOf(e[t]));if(n)return i(n,e[n],r.substring(e[n].length));let o=r.lastIndexOf("/");const a=r.lastIndexOf("#");return a>o&&(o=a),t+=1,i(`ns${t}`,r.substring(0,o+1),r.substring(o+1))},a=t=>{const r=Object.keys(e).find(r=>0===t.indexOf(e[r]));return r?i(r,e[r],t.substring(e[r].length)).pretty:t},u=e=>o(e).pretty,l=t=>{const r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},c=(t,r)=>{"string"==typeof t?e[t]=r:"object"==typeof t&&Object.keys(t).forEach(r=>{e[r]=t[r]})},f=e=>void 0!==e&&(null===e||"object"==typeof e||Array.isArray(e)||"function"==typeof e),d=e=>"string"==typeof e||e instanceof String,h=(e,t,r)=>{0===e[t][r].length&&(delete e[t][r],0===Object.keys(e[t]).length&&delete e[t])},p=e=>{if(!f(e[0]))throw new Error("Graph is not a object.");if(!d(e[1]))throw new Error("Subject is not a string.");if(!d(e[2]))throw new Error("Predicate is not a string.");if(!f(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.")},g=(e,t)=>e===t||null==e&&e===t||(d(e)?d(t)?e===t:e===t.value:d(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype),y=e=>{const 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},m={isObject:f,isString:d,isFunction:e=>"[object Function]"===Object.prototype.toString.call(e),statementEquals:(e,t)=>e.s===t.s&&e.p===t.p&&g(e.o,t.o),add:(e,t,r,n,i)=>{if(p([e,t,r,n]),void 0===e[t])return e[t]={},e[t][r]=[n],n;if(void 0===e[t][r])return e[t][r]=[n],n;let o;const a=e[t][r];if(!i)for(o=a.length-1;o>=0;o--)if(g(n,a[o]))return a[o];return a.push(n),n},remove:(e,t,r,n)=>{if(p([e,t,r,n]),void 0===e[t]||void 0===e[t][r])return;let i;const o=e[t][r];for(i=o.length-1;i>=0;i--)if(g(n,o[i])){const n=o[i];return o.splice(i,1),h(e,t,r),n}},contains:(e,t,r,n)=>{if(p([e,t,r,n]),void 0===e[t]||void 0===e[t][r])return;let i;const o=e[t][r];for(i=o.length-1;i>=0;i--)if(g(n,o[i]))return o[i]},cleanup:h,checkForWrongArgs:p,objectEquals:g,findDirectOrRDFValue:(e,t,r)=>{const n=e.find(t,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():e.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:(e,t=!0)=>{const r={};return Object.keys(e).forEach(n=>{const i=e[n];r[n]={},Object.keys(i).forEach(e=>{const o=i[e];if(1===o.length)r[n][e]=[y(o[0])];else if(t){const t=[],o=new Set;r[n][e]=t,i[e].forEach(e=>{const r=y(e),n=(e=>`${e.value}${e.type}${e.lang||""}${e.datatype||""}${e.ng||""}`)(r);o.has(n)||(o.add(n),t.push(r))})}else{const t=[];r[n][e]=t,i[e].forEach(e=>{t.push(y(e))})}})}),r}};class v{constructor(e,t,r,n,i){this._graph=e,this._s=t,this._p=r,this._o=n,this._o._statement=this,this._asserted=i}getGraph(){return this._graph}setAsserted(e,t=!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)}isAsserted(){return this._asserted}getSubject(){return this._s}isSubjectBlank(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}isObjectBlank(){return"bnode"===this.getType()}setSubject(e){this._silentValue=!1;const t=l(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}getPredicate(){return this._p}setPredicate(e){this._silentValue=!1;const t=l(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}getNamedGraph(){return this._o.ng}setNamedGraph(e){this._o.ng=e}getObject(){return this._o}getCleanObject(){const 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}getType(){return this._o.type}setType(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}getValue(){return this._o.value}setValue(e,t=!1){this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}getLanguage(){return this._o.lang}setLanguage(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())}getDatatype(){return this._o.datatype}setDatatype(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())}}var b=r(55892);const w=(e,t)=>{const r=[],n=new Set((t||[]).map(e=>l(e))),i=[],o={},a=e=>{let t=e.getValue();e.getLanguage()&&(t+=`@${e.getLanguage()}`);const r=e.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(t+=`^^${r}`),t},s=(e,t)=>{const r=o[e]||{rels:[]};o[e]=r,r.rels.push(t)};return e.find().forEach(e=>{const t=e.getSubject(),o=e.getPredicate();if(n.has(o))return;const u="bnode"===e.getType(),l=e.isSubjectBlank();if(l||u)return i.push(e),l&&s(e.getSubject(),u?o:o+a(e)),void("bnode"===e.getType()&&s(e.getValue(),l?o:t+o));r.push(t+o+a(e))}),Object.values(o).forEach(e=>{e.rels.sort(),e.hash=b(e.rels.join(""))}),i.forEach(e=>{const t=[];t.push(e.isSubjectBlank()?o[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?o[e.getValue()].hash:a(e)),r.push(t.join(""))}),r.sort(),b(r.join(""))};class _{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}_.prototype.termType="BlankNode";const x=_;class S{equals(e){return!!e&&e.termType===this.termType}}S.prototype.termType="DefaultGraph",S.prototype.value="";const E=S;const T=function(e,t){if(!t)return null;if("BlankNode"===t.termType)return e.blankNode(t.value);if("DefaultGraph"===t.termType)return e.defaultGraph();if("Literal"===t.termType)return e.literal(t.value,t.language||e.namedNode(t.datatype.value));if("NamedNode"===t.termType)return e.namedNode(t.value);if("Quad"===t.termType){const r=e.fromTerm(t.subject),n=e.fromTerm(t.predicate),i=e.fromTerm(t.object),o=e.fromTerm(t.graph);return e.quad(r,n,i,o)}if("Variable"===t.termType)return e.variable(t.value);throw new Error(`unknown termType ${t.termType}`)};class k{constructor(e,t,r,n=""){this.value=e,this.language=t,this.datatype=r,this.direction=n}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value&&e.language===this.language&&e.datatype.equals(this.datatype)&&(e.direction||"")===this.direction}}k.prototype.termType="Literal";const O=k;class A{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}A.prototype.termType="NamedNode";const C=A;class R{constructor(e,t,r,n){this.subject=e,this.predicate=t,this.object=r,this.graph=n}equals(e){return!!e&&("Quad"===e.termType||!e.termType)&&e.subject.equals(this.subject)&&e.predicate.equals(this.predicate)&&e.object.equals(this.object)&&e.graph.equals(this.graph)}}R.prototype.termType="Quad",R.prototype.value="";const P=R;class j{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}j.prototype.termType="Variable";const N=j,D=new C("http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString"),I=new C("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),L=new C("http://www.w3.org/2001/XMLSchema#string");class M{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new E}}namedNode(e){return new C(e)}blankNode(e){return e=e||"b"+ ++this._data.blankNodeCounter,new x(e)}literal(e,t){return"string"==typeof t?new O(e,t,I):"string"==typeof t?.language?new O(e,t.language,t.direction?D:I,t.direction):new O(e,"",t||L)}variable(e){return new N(e)}defaultGraph(){return this._data.defaultGraph}quad(e,t,r,n=this.defaultGraph()){return new P(e,t,r,n)}fromTerm(e){return T(this,e)}fromQuad(e){return T(this,e)}}M.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const F=new M,B=e=>0===e.indexOf("_:")?e.substring(2):e,V=e=>e.find().map(e=>{const t=e.getSubject(),r=e.getPredicate(),n=(e=>{if(e.value)switch(e.type){case"literal":if(e.lang)return F.literal(e.value,e.lang);if(e.datatype){const t=F.namedNode(e.datatype);return F.literal(e.value,t)}return F.literal(e.value);case"uri":return F.namedNode(e.value);case"bnode":return F.blankNode(B(e.value))}})(e.getObject()),i=e.getNamedGraph()?F.namedNode(e.getNamedGraph()):void 0;return F.quad(e.isSubjectBlank()?F.blankNode(B(t)):F.namedNode(t),F.namedNode(r),n,i)}),U=e=>0===e.indexOf("_:")?e:`_:${e}`,W=(e,t)=>{const r=t||new Graph,n=e=>{const t=(e=>{switch(e.termType){case"NamedNode":return{value:e.value,type:"uri"};case"BlankNode":return{value:U(e.value),type:"bnode"};case"Literal":return e.language?{value:e.value,type:"literal",lang:e.language}:e.datatype?{value:e.value,type:"literal",datatype:e.datatype.value}:{value:e.value,type:"literal"}}})(e.object||e._object);return"DefaultGraph"!==e.graph.termType&&(t.ng=e.graph.value),t};e.forEach(e=>{r.add("BlankNode"===e.subject.termType?U(e.subject.value):e.subject.value,"BlankNode"===e.predicate.termType?U(e.predicate.value):e.predicate.value,n(e))})},H=e=>0===e.length?e:[e[0]],$=(e,t,r)=>({object(n){for(let i=0;i<t.length;i++){let o;if(r)o=t[i].getSubject();else{const e=t[i].getType();if("uri"===e||"bnode"===e)continue;o=t[i].getValue()}const a=e.find(o,n);a.length>0&&$(e,[a[0]])}return $(e,[])},objects(n){let i,o=[];if(!0===r)for(i=0;i<t.length;i++)o=o.concat(e.find(t[i].getSubject(),n));else for(i=0;i<t.length;i++){const r=t[i].getType();"uri"!==r&&"bnode"!==r||(o=o.concat(e.find(t[i].getValue(),n)))}return $(e,o)},constr(n,i){let o=i;m.isString(o)&&(o={type:"uri",value:o});const a=[];for(let i=0;i<t.length;i++){const s=r?t[i].getSubject():t[i].getValue();e.find(s,n,o).length>0&&a.push(t[i])}return $(e,a,r)},each(n,i){if(!0===r)for(let o=0;o<t.length;o++){const a="_:"===t[o].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==a||n($(e,t[o],r))}else for(let i=0;i<t.length;i++)n($(e,t[i],r))},statements:()=>t,nodes(e){const n=[];if(!0===r)for(let r=0;r<t.length;r++){const i="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||n.push({type:i,value:t[r].getSubject()})}else for(let r=0;r<t.length;r++)null!=e&&e!==t[r].getType()||n.push(t[r].getObject());return n},values(e){const n=[];if(!0===r)for(let r=0;r<t.length;r++){const i="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||n.push(t[r].getSubject())}else for(let r=0;r<t.length;r++)null!=e&&e!==t[r].getType()||n.push(t[r].getValue());return n},firstValue(e){if(!0===r)for(let r=0;r<t.length;r++){const n="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===n)return t[r].getSubject()}else for(let r=0;r<t.length;r++)if(null==e||e===t[r].getType())return t[r].getValue()}});class Y{constructor(e=null,t){this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==t&&this.validate(),this._changed=!1}addQuads(e){return W(e,this),this}toQuads(){return V(this)}isEmpty(){return!Object.keys(this._graph).find(e=>{const t=this._graph[e];return Object.keys(t).find(e=>t[e].find(e=>null==e._statement||e._statement.isAsserted()))})}onChange(){}setChanged(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}isChanged(){return this._changed}addAll(e,t){const r={};let n;const i=e.find();for(let e=0;e<i.length;e++){const o=i[e];let a=o.getSubject(),s=o.getPredicate();const u=o.getCleanObject();t&&(u.ng=t),0===a.indexOf("_:")&&(n=r[a]||this._newBNode(),r[a]=n,a=n),0===s.indexOf("_:")&&(n=r[s]||this._newBNode(),r[s]=n,s=n),"bnode"===u.type&&(n=r[u.value]||this._newBNode(),r[u.value]=n,u.value=n),this.add(a,s,u)}}add(e,t=null,r=null,n=!1,i){if(e instanceof v){const t=e.getPredicate(),r=e.getObject(),o=e.getSubject();this._trackBNodes(o,t,r);const a=this._graphObject(r),s=m.add(this._graph,o,t,a,i);return!0!==n&&this.setChanged(),this._get(o,t,s,!0)}return this.create(e,t,r,!0,n,i)}addL(e,t,r,n){const i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(e,t,i,!0)}addD(e,t,r,n){const i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=l(n)),this.create(e,t,i,!0)}create(e=null,t=null,r=null,n=!0,i=!1,o=!1){let a=e,s=t,u=r;if(a=null==a?this._newBNode():l(a),s=null==s?this._newBNode():l(s),null==u?u={type:"bnode",value:this._newBNode()}:m.isString(u)?u={type:"uri",value:l(u)}:"object"!=typeof u||Array.isArray(u)?u={type:"uri",value:`${u}`}:(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng},"uri"===u.type&&null!=u.value&&(u.value=l(u.value)),u.datatype&&(u.datatype=l(u.datatype))),!1!==n){const e=m.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,e,!0)}return new v(this,a,s,u,!1)}findAndRemove(e,t,r,n=!1){const i=this.find(e,t,r);for(let e=0;e<i.length;e++)this.remove(i[e],n)}remove(e,t=!1){const r=e.getSubject(),n=e.getPredicate(),i=e.getObject();this._trackBNodes(r,n,i),null!=m.remove(this._graph,r,n,i)&&!0!==t&&this.setChanged()}find(e,t,r){let n=e,i=t,o=r;if("string"==typeof n&&(n=l(n)),"string"==typeof i&&(i=l(i)),"object"==typeof o&&null!==o&&"uri"===o.type?o.value=l(o.value):"string"==typeof o&&(o={type:"uri",value:l(o)}),null==o)return null==i?null==n?this._find():this._findS(n):null==n?this._findP(i):this._findSP(n,i);if(null==i)return null==n?this._findO(o):this._findSO(n,o);if(null==n)return this._findPO(i,o);const a=this._get(n,i,m.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}findFirstValue(e,t){const r=this.find(e,t);if(r.length>0)return r[0].getValue()}projection(e,t,r){const n={};return Object.keys(t).forEach(i=>{const o=t[i],a=Array.isArray(o)?this.findPath(e,o):this.find(e,o);if(a.length>0)switch("*"===i[0]?n[i.substr(1)]=a.map(e=>e.getValue()):n[i]=a[0].getValue(),r||"none"){case"statement":n[`*${i}`]=a;break;case"objects":n[`*${i}`]=a.map(e=>e.getCleanObject());break;case"values":n[`*${i}`]=a.map(e=>e.getValue())}}),n}subjects(e,t){return $(this,this.find(null,e,t),!0)}subject(e,t){return $(this,H(this.find(null,e,t)),!0)}objects(e,t){return $(this,this.find(e,t,null))}object(e,t){return $(this,H(this.find(e,t,null)))}findPath(e,t){return t.slice(1).reduce((e,t)=>e.objects(t),this.objects(e,t[0])).statements()}addList(e){return this._addList(e,"add")}addListL(e,t){return this._addList(e,"addL",t)}addListD(e,t){return this._addList(e,"addD",t)}_addList(e,t,r){let n;if(Array.isArray(e)&&0!==e.length){n=this._newBNode();let i=n;const o=e.length-1;e.forEach((e,n)=>{this[t](i,"rdf:first",e,r),n!==o?i=this.add(i,"rdf:rest").getValue():this.add(i,"rdf:rest","rdf:nil")})}else n=l("rdf:nil");return n}removeList(e){let t=!1,r="object"==typeof e?e.value:e;try{const e=l("rdf:nil");for(t=r===e;r!==e&&null!=r;){const e=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),r=e,t=null!=r}}catch(e){return console.warn(`Invalid list for object: ${r}`),!1}return t}getList(e){let t="object"==typeof e?e.value:l(e);const r=[];try{const e=l("rdf:nil");for(;t!==e&&null!=t;)r.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn(`Invalid list for object: ${t}`)}return r}findFirstListAsValues(e,t){return this.getList(this.findFirstValue(e,t)).map(e=>e.value)}findAndRemoveLists(e,t){let r=!1;return this.find(e,t).forEach(e=>{this.removeList(e.getValue())&&(this.remove(e),r=!0)}),r}exportRDFJSON(e=!0){this._graph;return m.clone(this._graph,e)}replaceSubject(e,t){return this.replaceURI(e,t)}replaceURI(e,t){const r=this._graph;if(r.hasOwnProperty(e)){if(r.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");r[t]=r[e],delete r[e]}return this.forEach((r,n,i)=>{"uri"===i.type&&i.value===e&&(i.value=t),r===t&&i._statement&&(i._statement._s=t)}),this}replaceBlankWithURI(e,t,r){const n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");{const r=n[t],i=n[e];Object.keys(i).forEach(e=>{if(r.hasOwnProperty(e)){const t=r[e],n=i[e].filter(e=>!t.find(t=>m.objectEquals(t,e)));r[e]=t.concat(n)}else r[e]=i[e]}),delete n[e]}}else n[t]=n[e],delete n[e];this.forEach((r,n,i)=>{"bnode"===i.type&&i.value===e&&(i.value=t,i.type="uri"),r===t&&i._statement&&(i._statement._s=t)})}return delete this._bnodes[e],this}clone(){return new Y(this.exportRDFJSON(!1))}findProperties(e){return Object.keys(this._graph[e]||{})}validate(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}registerBNode(e){this._bnodes[e]=!0}forEach(e){const t=this._graph;Object.keys(t).forEach(r=>{const n=t[r];Object.keys(n).forEach(t=>{n[t].forEach(n=>{e(r,t,n)})})})}map(e){const t=[];return this.forEach(r=>{t.push(e(r))}),t}equals(e,t){return w(this,t)===w(e,t)}size(){let e=0;return Object.values(this._graph).forEach(t=>{Object.values(t).forEach(t=>{e+=t.length})}),e}_get(e,t,r,n){if(null!=r)return this._getOrCreate(e,t,r,n)}_getOrCreate(e,t,r,n){return null==r._statement&&(r._statement=new v(this,e,t,r,n)),r._statement}_graphObject(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}_findSP(e,t){return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map(r=>this._get(e,t,r,!0))}_findS(e){const t=this._graph[e],r=Object.keys(t||{}).map(t=>this._findSP(e,t));return Array.prototype.concat.apply([],r)}_find(){const e=[];return this.forEach((t,r,n)=>{e.push(this._get(t,r,n,!0))}),e}_findP(e){const t=[];return this.forEach((r,n,i)=>{e===n&&t.push(this._get(r,n,i,!0))}),t}_findO(e){const t=[];return this.forEach((r,n,i)=>{m.objectEquals(e,i)&&t.push(this._get(r,n,i,!0))}),t}_findSO(e,t){const r=[];return this.forEach((n,i,o)=>{e===n&&m.objectEquals(t,o)&&r.push(this._get(n,i,o,!0))}),r}_findPO(e,t){const r=[];return this.forEach((n,i,o)=>{e===i&&m.objectEquals(t,o)&&r.push(this._get(n,i,o,!0))}),r}_validate(){const e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach(r=>{const n=e[r];m.isObject(n)?Object.keys(n).forEach(e=>{const i=n[e];Array.isArray(i)?i.forEach((n,i)=>{m.isObject(n)?null!=n.type?m.isString(n.value)?t.nr+=1:(t.errors.push({s:r,p:e,oindex:i+1,message:`Object ${i+1} in object array must have the 'value' attribute pointing to a string.`}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:`Object ${i+1} in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.`}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:`Element ${i+1} in object array is not an object.`}),t.valid=!1)}):(t.errors.push({s:r,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)}):(t.errors.push({s:r,message:"Subject must point to an object."}),t.valid=!1)}),t}_newBNode(){let e,t,r;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(r=`_:${Math.floor(Math.random()*(Math.pow(10,e)+1))}`,!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}_indexBNodes(){if(this._bnodesIndexed)return;const e=this._graph;Object.keys(e).forEach(t=>{0===t.indexOf("_:")&&(this._bnodes[t]=!0);const r=e[t];Object.keys(r).forEach(e=>{0===e.indexOf("_:")&&(this._bnodes[e]=!0),r[e].forEach(e=>{"bnode"===e.type&&(this._bnodes[e.value]=!0)})})}),this._bnodesIndexed=!0}_trackBNodes(e,t,r){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}r(15727);Error;const G={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},q={rdftype:`${G.rdf}type`,rdfssco:`${G.rdfs}subClassOf`,rdfsdomain:`${G.rdfs}domain`,rdfsrange:`${G.rdfs}range`,rdfsspo:`${G.rdfs}subPropertyOf`,rdfsClass:`${G.rdfs}Class`,owlClass:`${G.owl}Class`,owlObjectProperty:`${G.owl}ObjectProperty`,owlDatatypeProperty:`${G.owl}DatatypeProperty`,rdfProperty:`${G.rdf}Property`},z=(e,t,r)=>{const n={};let i=!1;const o=e.find(t,r);for(let e=0;e<o.length;e++){const t=o[e];"literal"===t.getType()&&(n[t.getLanguage()||""]=t.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},X=e=>{const t=[],r={};for(let n=0;n<e.length;n++){const i=e[n];r[i]||(t.push(i),r[i]=!0)}return t},Q=class{constructor(e,t){this._uri=e,this._parents=[],this._children=[],this._graph=t}getURI(){return this._uri}getLabel(){const e=this.getLabels();if(null!=e.en)return e.en;const t=Object.objects(e);return t.length>0?t[0]:""}getLabels(){return null==this._labels&&(this._labels=z(this._graph,this._uri,`${G.rdfs}label`),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}getComment(){const e=this.getComments();return null!=e?null!=e.en?e.en:Object.objects(e)[0]:""}getComments(){return null==this._comments&&(this._comments=z(this._graph,this._uri,`${G.rdfs}comment`)),this._comments}addParent(e){this._parents.push(e),e._children.push(this)}getDirectParents(){return this._parents}getParents(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(let e=0;e<this._parents.length;e++)this._allParents=this._allParents.concat(this._parents[e].getParents()),this._allParents.push(this._parents[e])}return delete this._parentLock,this._allParents}getChildren(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(let e=0;e<this._children.length;e++)this._allChildren=this._allChildren.concat(this._children[e].getChildren()),this._allChildren.push(this._children[e])}return delete this._childLock,this._allChildren}setRange(e){null==this._range&&(this._range=[]),this._range.push(e)}setDomain(e){null==this._domain&&(this._domain=[]),this._domain.push(e),e.setDomainOf(this)}getRange(){if(null==this._allRange){this._allRange=this._range||[];for(let e=0;e<this._parents.length;e++)this._allRange=this._allRange.concat(this._parents[e].getRange());this._allRange=X(this._allRange)}return this._allRange}getDomain(){if(null==this._allDomain){this._allDomain=this._domain||[];for(let e=0;e<this._parents.length;e++)this._allDomain=this._allDomain.concat(this._parents[e].getDomain());this._allDomain=X(this._allDomain)}return this._allDomain}setDomainOf(e){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(e)}getDomainOf(){return this._domainOf}getAllDomainOf(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){const e=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(let t=0;t<e.length;t++)this._allDomainOf=this._allDomainOf.concat(e[t].getChildren());for(let e=0;e<this._parents.length;e++)this._allDomainOf=this._allDomainOf.concat(this._parents[e].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}},Z=function(e,t,r,n){for(let i=0;i<r.length;i++){const o=r[i],a=o.getSubject();let s=e[a];if(s||(s=new Q(a,o.getGraph()),e[a]=s,t.push(s)),n){const r=o.getValue();let n=e[r];n||(n=new Q(r,o.getGraph()),e[r]=n,t.push(n)),s.addParent(n)}}},J=class{constructor(){this._cidx={},this._carr=[],this._pidx={},this._parr=[]}addGraph(e){Z(this._cidx,this._carr,e.find(null,q.rdftype,q.rdfsClass)),Z(this._cidx,this._carr,e.find(null,q.rdftype,q.owlClass)),Z(this._cidx,this._carr,e.find(null,q.rdfssco,null),!0),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.rdfProperty)),Z(this._pidx,this._parr,e.find(null,q.rdfsspo,null),!0),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.owlDatatypeProperty)),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.owlObjectProperty)),function(e,t,r){let n,i,o,a=e.find(null,q.rdfsdomain,null);for(let e=0;e<a.length;e++)o=a[e],n=t[o.getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=e.find(null,q.rdfsrange,null);for(let e=0;e<a.length;e++)o=a[e],n=t[o.getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(e,this._pidx,this._cidx)}addThing(){const e="http://www.w3.org/2002/07/owl#Thing";let t=this._cidx[e],r=!1;t||(t=new Q(e,new Y),this._cidx[e]=t,this._carr.push(t),r=!0);for(let e=0;e<this._carr.length;e++){const n=this._carr[e];(r&&n!==t||-1===n.getParents().indexOf(t)&&n!==t)&&n.addParent(t)}}getClasses(){return this._carr}getProperties(){return this._parr}isClass(e){return null!=this._cidx[e]}isProperty(e){return null!=this._pidx[e]}getClass(e){return this._cidx[e]}getProperty(e){return this._pidx[e]}static getInstances(e){const t=[],r=[e].concat(e.getChildren());for(let e=0;e<r.length;e++){const n=r[e],i=n.getGraph.find(null,q.rdftype,n.getURI());for(let e=0;e<i.length;e++)t.push(i[e].getSubject())}return t}};J.prototype.ns=G,J.prototype.terms=q,J.global=new J;function K(e){return K="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},K(e)}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,te(n.key),n)}}function te(e){var t=function(e,t){if("object"!=K(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==K(t)?t:t+""}var re=function(e,t){if(null==t)return!0;var r=e.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find(function(e){var i,o,a,s,u=t[e];return""!==u&&"*"!==u&&(i=u,o=r[e],a=Array.isArray(i)?i:null!=i?[i]:[],s=Array.isArray(o)?o:null!=o?[o]:[],a.length!==s.length||!a.every(function(e){return s.includes(e)}))&&(n=!1,!0)}),n)},ne=function(e){this.filterObj={},this.registry=e};ne.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach(function(e){ne.prototype[e]=function(t){var r={};switch(e){case"constraint":Object.keys(t).forEach(function(e){var n=t[e];Array.isArray(n)?r[l(e)]=n.map(function(e){return l(e)}):r[l(e)]=l(n)}),this.filterObj[e]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=l(t);break;default:this.filterObj[e]=t||!0}return this}});var ie=function(){return e=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}},(t=[{key:"calculatePriority",value:function(e,t){var r=0;if(t.itemtype&&(r+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(r+=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;default:if(!e.hasChoices())return-1}if(t.nodetype&&(r+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){r+=this.priorities.DATATYPE;var n=e.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(t.datatype):n!==t.datatype),i)return-1}return t.rdftype&&(r+=this.priorities.RDFTYPE,!function(e,t){var r=e.getConstraints();return null!=r&&r[rdfType]===t}(e,t.rdftype))||t.constraint&&(r+=this.priorities.CONSTRAINT,!re(e,t.constraint))||t.predicate&&(r+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(r+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(r+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:r:-1}},{key:"getPriority",value:function(e,t){for(var r=0;r<this.components.length;r++)if(this.components[r].component===t){var n=this.calculatePriority(e,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(e,t){var r=this.getPriority(e,t);return this.getComponent(e,r)}},{key:"getComponent",value:function(e,t){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(e,i.filter))>o&&(void 0===t||n<t)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new ne(this).itemtype(e)}},{key:"choices",value:function(e){return new ne(this).choices(e)}},{key:"nodetype",value:function(e){return new ne(this).nodetype(e)}},{key:"datatype",value:function(e){return new ne(this).datatype(e)}},{key:"rdftype",value:function(e){return new ne(this).rdftype(e)}},{key:"constraint",value:function(e){return new ne(this).constraint(e)}},{key:"predicate",value:function(e){return new ne(this).predicate(e)}},{key:"style",value:function(e){return new ne(this).style(e)}},{key:"item",value:function(e){return new ne(this).item(e)}},{key:"check",value:function(e){return new ne(this).check(e)}}])&&ee(e.prototype,t),r&&ee(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),oe=(r(13812),r(93267),r(2687)),ae=r.n(oe),se=(r(65276),r(54820),r(70210),r(92529),r(33703),r(71178),r(98609)),ue=r.n(se),le=function(e,t){var r=t||ue().locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(r))return{value:e[r],precision:"exact",lang:r};if(r.indexOf("_")>-1&&e.hasOwnProperty(r.substr(0,2)))return{value:e[r.substr(0,2)],precision:"coarsen",lang:r.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"}},ce=function(e,t,r){var n=e.find(t,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const fe={getLocalizedValue:le,getLocalizedMap:function(e,t,r){var n,i=t,o=r;e.getItem?(n=e.getGraph(),i=e.getValue(),o=e.getItem().getURIValueLabelProperties()):n=e,null!=o&&0!==o.length||(o=pe.labelProperties);for(var a=0;a<o.length;a++){var s=o[a];if(Array.isArray(s)){for(var u=[],l=0;l<s.length;l++){var c=ce(n,i,s[l]);c&&u.push(le(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=ce(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=le(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=ae()(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==t&&r.sort(function(e,t){return e.label>t.label?1:-1}),r},extractGist:function(e,t){var r=t;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(e);if(null!=i)return i[1]}return e},findFirstValue:function(e,t,r,n){var i=e.findFirstValueBinding(e.match(t,r,n),!1);if(i)return i.getChoice?le(i.getChoice().label).value:i.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 r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:3&r|8).toString(16)})}};var de=function(){return"0000".concat((Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4)},he=function(e,t,r,n){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=fe.getLocalizedMap(n,t,e.getURIValueLabelProperties());if(!i){var o=t.lastIndexOf("#"),a=t.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(t.substring(1+(o>a?o:a)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}};const pe={hasDnDSupport:function(e){return!1},addDnD:function(e,t,r){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,r,n){return he(e,t,0,n)},getFallbackChoice:he,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 r=t.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=t.getGraph()._graph;;){var a=i+de();if(null==o[a])return a}}},ge=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_year_and_month":"Year and month","date_month_and_day":"Month and day","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.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}');function ye(e){return ye="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},ye(e)}var me,ve,be,we,_e,xe="body",Se=[{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"}}],Ee={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 ie,editorRegistry:new ie,chooserRegistry:new ie,renderPresenter:function(e,t,r){var n=Ee.presenterRegistry.getComponent(t.getItem());n&&(Ee.prePresenterRenderer(e,t,r),n(e,t,r),Ee.postPresenterRenderer(e,t,r))},renderEditor:function(e,t,r){var n=Ee.editorRegistry.getComponent(t.getItem());n&&(Ee.preEditorRenderer(e,t,r),n(e,t,r),Ee.postEditorRenderer(e,t,r))},renderValidationMessage:function(e,t,r){},renderSelect:function(){},getChoice:function(e,t){var r=Ee.chooserRegistry.getComponent(e);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(e.getId()));return r.getChoice(e,t)},hasOpenChoiceSelector:function(e){return null!=Ee.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,r){var n=Ee.chooserRegistry.getComponent(e.getItem());if(null!=n&&n&&n.getChoice)n.show(e,t,r);else{var i=e.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(e){me=e},getMessages:function(){return me||ge},getLanguageList:function(){return ve||Se},getPrimaryLanguageList:function(){if(!we){for(var e,t=Ee.getLanguageList(),r=be||[],n=[],i=0;i<t.length;i++){var o=t[i].value,a=r.indexOf(o);""===o&&(e=t[i]),-1!==a&&(n[a]=t[i])}we=[];for(var s=0;s<n.length;s++)"object"===ye(n[s])&&we.push(n[s]);we.length>0&&e&&we.splice(0,0,e)}return we},getNonPrimaryLanguageList:function(){if(!_e){var e=Ee.getPrimaryLanguageList().length>0,t=Ee.getLanguageList(),r=be||[];_e=[];for(var n=0;n<t.length;n++){var i=t[n].value;-1===r.indexOf(i)&&(e&&""===i||_e.push(t[n]))}}return _e},setPrimaryLanguageCodes:function(e){_e=null,we=null,be=e},setLanguageList:function(e){ve=e},filterTranslations:function(e,t,r){for(var n={},i=0;i<e.length;i++){var o=e[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===t?n.best=!0:-1!==o.indexOf(t)||-1!==t.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?e.filter(function(e){return e.getLanguage()===t}):n.close?e.filter(function(e){var r=e.getLanguage();return r&&(-1!==r.indexOf(t)||-1!==t.indexOf(r))}):n.defaultLanguage?e.filter(function(e){var t=e.getLanguage();return t&&0===t.indexOf(r)}):e},setPopoverContainer:function(e){xe=e},getPopoverContainer:function(){return xe},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(){},addTruncateControl:function(){}};pe.getChoice=Ee.getChoice;var Te=function(e,t,r){new(0,r.view.constructor)({parentView:r.view,renderingParams:r.view.renderingParams,messages:r.view.messages,binding:t,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,popupOnLabel:r.view.popupOnLabel,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},e)};Ee.presenterRegistry.itemtype("group").register(Te),Ee.presenterRegistry.itemtype("propertygroup").register(Te);var ke=function(e,t,r){var n=new(0,r.view.constructor)({parentView:r.view,renderingParams:r.view.renderingParams,messages:r.view.messages,languages:r.view.languages,binding:t,topLevel:!1,compact:r.view.compact,popupOnLabel:r.view.popupOnLabel,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},e);r.view._subEditors.push(n)};Ee.editorRegistry.itemtype("group").register(ke),Ee.editorRegistry.itemtype("propertygroup").register(ke);const Oe=Ee;var Ae=r(87569),Ce=r.n(Ae);r(54452),r(70405),r(83225),r(49755),r(55142),r(94944),r(34504);function Re(e){return Re="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},Re(e)}function Pe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,je(n.key),n)}}function je(e){var t=function(e,t){if("object"!=Re(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Re(t)?t:t+""}var Ne=0,De=function(){return e=function e(t){var r=t.item,n=t.statement,i=t.graph,o=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(Ne),this._matchingCode=o||"correct",Ne+=1},(t=[{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 fe.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var r=e,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,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 r=this._item.getPattern();return r?null!=(t=fe.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(r,"$")).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}}])&&Pe(e.prototype,t),r&&Pe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();const Ie={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"};function Le(e){return Le="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},Le(e)}function Me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Fe(n.key),n)}}function Fe(e){var t=function(e,t){if("object"!=Le(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Le(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Le(t)?t:t+""}var Be=function(){return e=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},(t=[{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=Ie.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=Ie.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=Ie.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=Ie.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()}}])&&Me(e.prototype,t),r&&Me(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Ve(e){return Ve="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},Ve(e)}function Ue(e){return function(e){if(Array.isArray(e))return We(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return We(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?We(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function He(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,$e(n.key),n)}}function $e(e){var t=function(e,t){if("object"!=Ve(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ve(t)?t:t+""}function Ye(e,t,r){return t=Xe(t),function(e,t){if(t&&("object"==Ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ge()?Reflect.construct(t,r||[],Xe(e).constructor):t.apply(e,r))}function Ge(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ge=function(){return!!e})()}function qe(e,t,r,n){var i=ze(Xe(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function ze(){return ze="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Xe(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},ze.apply(null,arguments)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}function Qe(e,t){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qe(e,t)}var Ze=function(e){function t(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=Ye(this,t,[e]);var n=e.constraints,i=void 0===n?[]:n,o=e.childrenRootUri,a=void 0===o?null:o;return r._constraints=i,r._childBindings=r._item.getChildren().map(function(){return[]}),r._rootUri=a,r._validPredicate=!0,r._validObject=!0,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate()),r._validObject=r._isValidObjectValue(r._statement.getValue(),r._statement.getType())),r._cachedChildBindings=null,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qe(e,t)}(t,e),r=t,n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{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 r=e[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=t._childBindings[o].length>0?t._childBindings[o][0].getCardinalityTracker():new Be(r);return t._childBindings[o]=t._childBindings[o].concat(e),e.forEach(function(e){e.setParent(t),e.setCardinalityTracker(i),i.increment()},t),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),r=t.length;r>=0;r--)if(e.getItem()===t[r]){this._childBindings[r].splice(this._childBindings[r].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(),r=t.length;r>=0;r--)if(e===t[r])return this._childBindings[r]}},{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,Ue(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:"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),qe(t,"remove",this,3)([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(r){return r.forEach(function(r){return r.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,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&qe(t,"_isValidObjectValue",this,3)([e])}}],n&&He(r.prototype,n),i&&He(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(De);function Je(e){return Je="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},Je(e)}function Ke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,et(n.key),n)}}function et(e){var t=function(e,t){if("object"!=Je(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Je(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Je(t)?t:t+""}var tt=0,rt=function(e,t,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete e[t]:e[t]=r},nt=function(){return e=function e(t){var r=t.source,n=void 0===r?{}:r,i=t.bundle,o=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=o,this._source=n,this._bundle=i,tt+=1,this._internalId=tt,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate","card","cardInPresent","cardInEdit"],this._getLocalizedValue=fe.getLocalizedValue},t=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){rt(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){rt(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),r=this._itemStore.getItem(e);this._source=null==r?t:this._itemStore.createExtendedSource(r.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(e,t,r){var n=this.getSource(r);return t?fe.getLocalizedValue(n[e]):fe.getLocalizedValue(n[e]).value}},{key:"_setText",value:function(e,t,r){var n=this.getSource(!0);n[e]=this._setLangHash(n[e],t,r),this.refreshExtends()}},{key:"_setTextMap",value:function(e,t){rt(this.getSource(!0),e,t),this.refreshExtends()}},{key:"getLabel",value:function(e,t){return this._getText("label",e,t)}},{key:"setLabel",value:function(e,t){this._setText("label",e,t)}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){this._setTextMap("label",e)}},{key:"getEditLabel",value:function(e,t){return this._getText("editlabel",e,t)}},{key:"setEditLabel",value:function(e,t){this._setText("editlabel",e,t)}},{key:"getEditLabelMap",value:function(e){return this.getSource(e).editlabel}},{key:"setEditLabelMap",value:function(e){this._setTextMap("editlabel",e)}},{key:"getDescription",value:function(e,t){return this._getText("description",e,t)}},{key:"setDescription",value:function(e,t){this._setText("description",e,t)}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){this._setTextMap("description",e)}},{key:"getEditDescription",value:function(e,t){return this._getText("editdescription",e,t)}},{key:"setEditDescription",value:function(e,t){this._setText("editdescription",e,t)}},{key:"getEditDescriptionMap",value:function(e){return this.getSource(e).editdescription}},{key:"setEditDescriptionMap",value:function(e){this._setTextMap("editdescription",e)}},{key:"getHelp",value:function(e,t){return this._getText("help",e,t)}},{key:"setHelp",value:function(e,t){this._setText("help",e,t)}},{key:"getHelpMap",value:function(e){return this.getSource(e).help}},{key:"setHelpMap",value:function(e){this._setTextMap("help",e)}},{key:"getPlaceholder",value:function(e,t){return this._getText("placeholder",e,t)}},{key:"setPlaceholder",value:function(e,t){this._setText("placeholder",e,t)}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){this._setTextMap("placeholder",e)}},{key:"getPurpose",value:function(e,t){return this._getText("purpose",e,t)}},{key:"setPurpose",value:function(e,t){this._setText("purpose",e,t)}},{key:"getPurposeMap",value:function(e){return this.getSource(e).purpose}},{key:"setPurposeMap",value:function(e){this._setTextMap("purpose",e)}},{key:"getSpecification",value:function(e,t){return this._getText("specification",e,t)}},{key:"setSpecification",value:function(e,t){this._setText("specification",e,t)}},{key:"getSpecificationMap",value:function(e){return this.getSource(e).specification}},{key:"setSpecificationMap",value:function(e){this._setTextMap("specification",e)}},{key:"getText",value:function(e,t,r){var n=this.getSource(r).text||{};return t?fe.getLocalizedValue(n[e]):fe.getLocalizedValue(n[e]).value}},{key:"setText",value:function(e,t,r){var n=this.getSource(!0),i=n.text=n.text||{};i[e]=this._setLangHash(i[e],t,r),this.refreshExtends()}},{key:"setTextMap",value:function(e,t){var r=this.getSource(!0),n=r.text=r.text||{};rt(n,e,t),this.refreshExtends()}},{key:"getEnhanced",value:function(e){var t=this.getSource(!0);return"boolean"==typeof t.enhanced?t.enhanced:t.enhanced&&t.enhanced[e]||!1}},{key:"setEnhanced",value:function(e,t){var r=this.getSource(!0);"boolean"==typeof e?!0===e?r.enhanced=!0:delete r.enhanced:(r.enhanced="boolean"==typeof r.enhanced?{}:r.enhanced||{},t?r.enhanced[e]=!0:(delete r.enhanced[e],0===Object.keys(r).length&&delete r.enhanced)),this.setExtends(this.getExtends())}},{key:"getProperty",value:function(e){var t=null,r=this.getSource(e);return r&&null!=(t=r.property)&&""!==t&&(t=l(t)),t}},{key:"setProperty",value:function(e){rt(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 l(e)}):t}},{key:"setURIValueLabelProperties",value:function(e){rt(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var r={};return Object.keys(t).forEach(function(e){var n=t[e];Array.isArray(n)?r[l(e)]=n.map(function(e){return l(e)}):r[l(e)]=l(n)}),r}return t}},{key:"setConstraints",value:function(e){rt(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?l(e):e}):t}},{key:"setDeps",value:function(e){rt(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 l(e)}):l(t):t}},{key:"setDatatype",value:function(e){rt(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){rt(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){rt(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){rt(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){rt(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){rt(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){rt(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){rt(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){rt(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var r=this.getSource(t);return!!this.hasStyle(e,t)||null!=r.cls&&r.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){rt(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var r=this.getSource(t);return!(!r||!("styles"in r))&&r.styles.some(function(t){return t.toLowerCase()===e.toLowerCase()})}},{key:"getSource",value:function(e,t){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var r=this._itemStore.getItem(this.getExtends());return null==r?this._source:r.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:"getHash",value:function(){return"i_".concat(this._internalId)}},{key:"_setLangHash",value:function(e,t,r){var n=e||{};if("string"==typeof t)"string"==typeof r?n[r]=t:n[""]=t;else if("object"===Je(t)&&null!==t)return t;return n}}],t&&Ke(e.prototype,t),r&&Ke(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function it(e){return it="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},it(e)}function ot(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,at(n.key),n)}}function at(e){var t=function(e,t){if("object"!=it(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=it(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==it(t)?t:t+""}function st(e,t,r){return t=ft(t),function(e,t){if(t&&("object"==it(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ut()?Reflect.construct(t,r||[],ft(e).constructor):t.apply(e,r))}function ut(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ut=function(){return!!e})()}function lt(e,t,r,n){var i=ct(ft(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function ct(){return ct="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ft(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},ct.apply(null,arguments)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ft(e)}function dt(e,t){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dt(e,t)}var ht=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=st(this,t,[e]))._children=e.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dt(e,t)}(t,e),r=t,(n=[{key:"getChildren",value:function(e){var t,r=e&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=n).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(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){lt(t,"setExtends",this,3)([e]),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return lt(t,"getNodetype",this,3)([])||"RESOURCE"}}])&&ot(r.prototype,n),i&&ot(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(nt);function pt(e){return pt="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},pt(e)}function gt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,yt(n.key),n)}}function yt(e){var t=function(e,t){if("object"!=pt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pt(t)?t:t+""}function mt(e,t,r){return t=wt(t),function(e,t){if(t&&("object"==pt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vt()?Reflect.construct(t,r||[],wt(e).constructor):t.apply(e,r))}function vt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vt=function(){return!!e})()}function bt(){return bt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=wt(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},bt.apply(null,arguments)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wt(e)}function _t(e,t){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_t(e,t)}var xt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mt(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_t(e,t)}(t,e),r=t,n=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=(i=t,o="getChildren",a=this,u=bt(wt(1&(s=3)?i.prototype:i),o,a),2&s&&"function"==typeof u?function(e){return u.apply(a,e)}:u)([e])||[];this._delegatedChildren=n.map(function(e){var t=Object.create(e);return t.getCardinality=r,t})}var i,o,a,s,u;return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}],n&>(r.prototype,n),i&>(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(ht);function St(e){return St="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},St(e)}function Et(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Tt(n.key),n)}}function Tt(e){var t=function(e,t){if("object"!=St(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==St(t)?t:t+""}function kt(e,t,r){return t=At(t),function(e,t){if(t&&("object"==St(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ot()?Reflect.construct(t,r||[],At(e).constructor):t.apply(e,r))}function Ot(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ot=function(){return!!e})()}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},At(e)}function Ct(e,t){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ct(e,t)}var Rt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kt(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ct(e,t)}(t,e),r=t,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&Et(r.prototype,n),i&&Et(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(nt);function Pt(e){return Pt="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},Pt(e)}function jt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Nt(n.key),n)}}function Nt(e){var t=function(e,t){if("object"!=Pt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pt(t)?t:t+""}function Dt(e,t,r){return t=Mt(t),function(e,t){if(t&&("object"==Pt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,It()?Reflect.construct(t,r||[],Mt(e).constructor):t.apply(e,r))}function It(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(It=function(){return!!e})()}function Lt(){return Lt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Mt(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Lt.apply(null,arguments)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mt(e)}function Ft(e,t){return Ft=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ft(e,t)}var Bt=function(e){null!=e&&e.forEach(function(e){e.value=l(e.value)})},Vt=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=Dt(this,t,[e]))._ontologyStore=e.ontologyStore,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ft(e,t)}(t,e),r=t,n=[{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 r=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(r&&Bt(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&Bt(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){var r,n,i,o,a;(r=t,n="setExtends",i=this,a=Lt(Mt(1&(o=3)?r.prototype:r),n,i),2&o&&"function"==typeof a?function(e){return a.apply(i,e)}:a)([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(r){t._dynamicChoices=r,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?l(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?l(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?l(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()}}],n&&jt(r.prototype,n),i&&jt(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(nt);r(34540);function Ut(e){return Ut="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},Ut(e)}function Wt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ht(n.key),n)}}function Ht(e){var t=function(e,t){if("object"!=Ut(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ut(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ut(t)?t:t+""}function $t(e,t,r){return t=qt(t),function(e,t){if(t&&("object"==Ut(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Yt()?Reflect.construct(t,r||[],qt(e).constructor):t.apply(e,r))}function Yt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yt=function(){return!!e})()}function Gt(){return Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=qt(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Gt.apply(null,arguments)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qt(e)}function zt(e,t){return zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zt(e,t)}var Xt=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=$t(this,t,[e]))._validObject=!0,r._validPredicate=!0,r._excludeFromTreeValidityCheck=!1,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate(),!0),r._validObject=r._isValidObjectValue(r._statement.getValue())),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zt(e,t)}(t,e),r=t,n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var r="string"==typeof e?e.trim():e,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,t),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",t),this._validObject=!1,!1!==n&&!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),t||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(l(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){var e,r,n,i,o;this.setValue(null),this._parent.removeChildBinding(this),(e=t,r="remove",n=this,o=Gt(qt(1&(i=3)?e.prototype:e),r,n),2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o)([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}}],n&&Wt(r.prototype,n),i&&Wt(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(De);function Qt(e){return Qt="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},Qt(e)}function Zt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Jt(n.key),n)}}function Jt(e){var t=function(e,t){if("object"!=Qt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Qt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Qt(t)?t:t+""}function Kt(e,t,r){return t=rr(t),function(e,t){if(t&&("object"==Qt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,er()?Reflect.construct(t,r||[],rr(e).constructor):t.apply(e,r))}function er(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(er=function(){return!!e})()}function tr(){return tr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=rr(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},tr.apply(null,arguments)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rr(e)}function nr(e,t){return nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nr(e,t)}var ir="http://www.w3.org/2000/01/rdf-schema#label",or="http://www.w3.org/2000/01/rdf-schema#seeAlso",ar=function(e){function t(e){var r,n=e.choice,i=e.item,o=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),(r=Kt(this,t,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nr(e,t)}(t,e),r=t,n=[{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),e&&e.mismatch?this.setMatchingCode(Ie.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==Ie.WRONG_VALUE||this.setMatchingCode(Ie.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,r,n){var i,o,a,s,u,l=this.getValue();(i=t,o="setValue",a=this,u=tr(rr(1&(s=3)?i.prototype:i),o,a),2&s&&"function"==typeof u?function(e){return u.apply(a,e)}:u)([e,r,n]);var c=this._statement.getGraph();if(c.findAndRemove(l,ir,void 0,n),c.findAndRemove(l,or,void 0,n),null!=e&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&c.create(e,or,r.seeAlso,!0,n),!0===r.inlineLabel)){var f=r.label||{};Object.keys(f).forEach(function(t){return c.create(e,ir,{value:f[t],lang:t,type:"literal"},!0,n)})}}}],i=[{key:"seeAlso",get:function(){return or}}],n&&Zt(r.prototype,n),i&&Zt(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(Xt);function sr(e){return sr="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},sr(e)}function ur(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,lr(n.key),n)}}function lr(e){var t=function(e,t){if("object"!=sr(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sr(t)?t:t+""}function cr(e,t,r){return t=dr(t),function(e,t){if(t&&("object"==sr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fr()?Reflect.construct(t,r||[],dr(e).constructor):t.apply(e,r))}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fr=function(){return!!e})()}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dr(e)}function hr(e,t){return hr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hr(e,t)}var pr=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=cr(this,t,[e]))._objectBinding=e.objectBinding,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hr(e,t)}(t,e),r=t,(n=[{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(){}}])&&ur(r.prototype,n),i&&ur(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(ar);function gr(e){return gr="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},gr(e)}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mr(n.key),n)}}function mr(e){var t=function(e,t){if("object"!=gr(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gr(t)?t:t+""}function vr(e,t,r){return t=wr(t),function(e,t){if(t&&("object"==gr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,br()?Reflect.construct(t,r||[],wr(e).constructor):t.apply(e,r))}function br(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(br=function(){return!!e})()}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wr(e)}function _r(e,t){return _r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_r(e,t)}var xr=function(e){function t(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=vr(this,t,[e]);var n=e.statement,i=e.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof ht?new Ze({item:s,statement:n,constraints:i}):s instanceof Vt?new ar({item:s,statement:n}):new Xt({item:s,statement:n});var u=new pr({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_r(e,t)}(t,e),r=t,(n=[{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()}}])&&yr(r.prototype,n),i&&yr(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(Ze);function Sr(e){return Sr="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},Sr(e)}function Er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Tr(n.key),n)}}function Tr(e){var t=function(e,t){if("object"!=Sr(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Sr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sr(t)?t:t+""}function kr(e,t,r){return t=Cr(t),function(e,t){if(t&&("object"==Sr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Or()?Reflect.construct(t,r||[],Cr(e).constructor):t.apply(e,r))}function Or(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!e})()}function Ar(){return Ar="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Cr(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Ar.apply(null,arguments)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cr(e)}function Rr(e,t){return Rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rr(e,t)}var Pr,jr,Nr,Dr,Ir,Lr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kr(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rr(e,t)}(t,e),r=t,n=[{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(){var e,r,n,i,o;this._parent.removeChildBinding(this),(e=t,r="remove",n=this,o=Ar(Cr(1&(i=3)?e.prototype:e),r,n),2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o)([arguments])}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}],n&&Er(r.prototype,n),i&&Er(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(Xt);function Mr(e){return Mr="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},Mr(e)}var Fr,Br,Vr,Ur,Wr,Hr,$r=!1,Yr=function(e,t,r){var n=new Ze({item:r,childrenRootUri:t,graph:e});return Pr(n),jr(n),n},Gr=function(e,t,r){var n=new Ze({item:r,childrenRootUri:t,graph:e});return Pr(n),$r=!0,Pr(n),$r=!1,jr(n),n},qr=function(e,t,r,n){var i=e.findProperties(t),o=[],a={};if(null!=n){var s=function(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof ht&&e.getChildren().forEach(s)},u=function(e){null!=e&&(s(e),o.push(e))};n.forEach(function(e){var t=r.getItem(e);null!=t?t instanceof ht&&null==t.getProperty()?t.getChildren().forEach(u):u(t):(t=r.getItemByProperty(e))?u(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 i.forEach(function(e){if(!a[e]){var t=r.getItemByProperty(e);null!=t&&o.push(t)}},undefined),r.createTemplateFromChildren(o)},zr=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},Xr=function(e,t){var r,n,i=t.getChildren()[1],o=e.getGraph();i instanceof ht?(r=o.create(e.getChildrenRootUri(),"",null,!1),n=Ir(o,r.getSubject(),i)):r=i instanceof Vt?o.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new xr({item:t,statement:r,constraints:n});return e.addChildBinding(a),i instanceof ht&&i.getChildren().forEach(function(e){Qr(a.getObjectBinding(),e)}),a},Qr=function(e,t,r){return t instanceof Rt?function(e,t){if(!t.getProperty()){var r=new Lr({item:t,statement:null,matchingCode:Ie.OK});return e.addChildBinding(r),r}var n=e.getGraph(),i=t.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=zr(t));var a=t.getValue();if(null!=a&&0===e.getChildBindingsFor(t).length){o.value=a;var s=t.getLanguage();null!=s&&(o.lang=s)}var u=n.create(e.getChildrenRootUri(),t.getProperty(),o,!1),l=new Xt({item:t,statement:u});return e.addChildBinding(l),l}(e,t):t instanceof xt?Xr(e,t):t instanceof ht?function(e,t,r){var n,i;if(void 0!==t.getProperty()){var o=e.getGraph();t.getNodetype(),n=o.create(e.getChildrenRootUri(),t.getProperty(),null,!1),i=Ir(o,n.getValue(),t)}var a=new Ze({item:t,statement:n,constraints:i});e.addChildBinding(a);var s=t._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(e,t,r||{}):t instanceof Vt?function(e,t){var r=e.getGraph(),n=t.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=zr(t):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(e.getChildrenRootUri(),t.getProperty(),i,!1),a=new ar({item:t,statement:o});e.addChildBinding(a);var s=t.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(Wr(t,s,r),!0),a}(e,t):void 0};Pr=function(e){$r&&e.getChildBindings().forEach(function(e){"group"===e.getItem().getType()&&Pr(e)}),e.getItem().getChildren().forEach(function(t){$r?void 0!==t.getProperty()&&Fr(e,t):Fr(e,t)})};Fr=function(e,t){t instanceof Vt?function(e,t){if(null!=t.getProperty()){var r=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach(function(e){if(Nr(e)){var n=Br(t,e),i=Vr(t,e),o=Ur(t,e);if(n&&i&&o||$r){var a=Wr(t,e.getValue(),e.getGraph());if(void 0!==a){Dr(e);var s=n?Ie.OK:Ie.WRONG_NODETYPE;i?o?a.mismatch&&(s=Ie.WRONG_VALUE):s=Ie.WRONG_PATTERN:s=Ie.WRONG_DATATYPE,r.push(new ar({item:t,statement:e,choice:a,matchingCode:s}))}}}}),r.length>0&&e.addChildBindings(r)}}(e,t):t instanceof xt?function(e,t){var r,n,i,o,a=t.getPropertyItem(),s=t.getObjectItem(),u=e.getGraph(),l=[];u.find(e.getChildrenRootUri()).forEach(function(e){Nr(e)&&Br(s,e)&&Ur(s,e)&&void 0!==(i=Wr(a,e.getPredicate(),e.getGraph()))&&(n=null,s instanceof ht?void 0!==(r=Hr(u,e.getValue(),s))&&(Dr(e),n=new xr({item:t,statement:e,constraints:r}),Pr(n.getObjectBinding())):s instanceof Vt?void 0!==(o=Wr(s,e.getValue(),e.getGraph()))&&(Dr(e),(n=new xr({item:t,statement:e})).getObjectBinding().setChoice(o)):(Dr(e),n=new xr({item:t,statement:e})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))}),l.length>0&&e.addChildBindings(l)}(e,t):t instanceof ht?function(e,t){var r,n,i,o,a=e.getGraph();void 0!==t.getProperty()?(r=a.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(n=[],r.forEach(function(e){if(Nr(e)){var r=Ur(t,e),s=Br(t,e);if((r&&s||$r)&&(void 0!==(i=Hr(a,e.getValue(),t))||$r)){var u=s?Ie.OK:Ie.WRONG_NODETYPE;r?void 0===i&&(u=Ie.MISSING_CONSTRAINTS):u=Ie.WRONG_PATTERN,Dr(e),o=new Ze({item:t,statement:e,constraints:i,matchingCode:u}),n.push(o),u===Ie.OK&&Pr(o)}}}),e.addChildBindings(n)):(o=new Ze({item:t}),e.addChildBindings([o]),Pr(o))}(e,t):t instanceof Rt&&function(e,t){var r=[];null==t.getProperty()?r.push(new Lr({item:t,statement:null,matchingCode:Ie.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach(function(e){if(Nr(e)&&Ur(t,e)){var n=Br(t,e),i=Vr(t,e);if(n&&(i||t.hasStyle("relaxedDatatypeMatch"))||$r){Dr(e);var o=n?Ie.OK:Ie.WRONG_NODETYPE;i||(o=Ie.WRONG_DATATYPE),r.push(new Xt({item:t,statement:e,matchingCode:o}))}}}),r.length>0&&e.addChildBindings(r)}(e,t)},Br=function(e,t){var r=t.getType();switch(e.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===r;case"RESOURCE":return"uri"===r||"bnode"===r;case"URI":return"uri"===r;case"BLANK":return"bnode"===r}return!1},Vr=function(e,t){var r="DATATYPE_LITERAL"===e.getNodetype()&&e.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(t.getDatatype()):t.getDatatype()===r)},Ur=function(e,t){var r=e.getPattern(),n=fe.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(e){return!0}return!0},Hr=function(e,t,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=e.find(t,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===Mr(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var e=u[c],t=i[e];if(t instanceof Array){var r=!0;if(t.forEach(function(t){!1!==a(e,t)&&(r=!1)}),r)return{v:void 0}}else if(!1===a(e,t))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},Ir=function(e,t,r){var n=[],i=r.getConstraints();return"object"===Mr(i)&&null!==i&&Object.keys(i).forEach(function(r){var o=i[r];Array.isArray(o)?n.push(e.create(t,r,{type:"uri",value:o[0]},!1)):n.push(e.create(t,r,{type:"uri",value:o},!1))}),n},Wr=function(e,t,r){var n,i;if(e.hasChoices()){for(i=e.getChoices(),n=0;n<i.length;n++)if(i[n].value===t)return i[n];if(!e.hasStyle("strictmatch")||$r)return{value:t,label:{"":t},mismatch:!0}}else{var o=fe.getLocalizedMap(r,t,e.getLabelProperties());null==o&&$r&&(o={"":t,mismatch:!0});var a=r.findFirstValue(t,ar.seeAlso);if(null!=o){var s={label:o,value:t};return a&&(s.seeAlso=a),s}if(null!=pe.getChoice)return pe.getChoice(e,t,a,r)}},Dr=function(e){e._dibbs=!0},Nr=function(e){return!0!==e._dibbs},jr=function(e){var t,r,n,i=e.getItemGroupedChildBindings()||[];for(t=0;t<i.length;t++)for(n=i[t],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof Ze||o instanceof xr)&&jr(o)}};var Zr=function(e,t){if(e instanceof Xt)return e;for(var r=e.getItemGroupedChildBindings(),n=ue().locale(),i=0;i<r.length;i++){var o=r[i],a=e.getItem().getChildren()[i];if(0!==o.length){if(!(a instanceof Rt))return Zr(o[0]);if("LANGUAGE_LITERAL"===a.getNodetype()){for(var s={firstValue:o[0]},u=0;u<o.length;u++){var l=o[u].getLanguage();null==l?s.emptyLanguageValue=o[u]:l===n?s.perfectLocaleLanguageValue=o[u]:l.substring(0,1)===n.substring(0,1)?s.localeLanguageValue=o[u]:-1!==l.indexOf("en")?s.defaultLanguageValue=o[u]:s.anyLanguageValue=o[u]}return s.perfectLocaleLanguageValue||s.localeLanguageValue||s.defaultLanguageValue||s.anyLanguageValue||s.firstValue}return o[0]}if(t){var c=Qr(e,a,{});return c instanceof Xt?(c.setLanguage(n),c):Zr(c,!0)}}},Jr=function(e,t){for(var r="/"===t[0]?t.slice(1):t,n=e.getItemGroupedChildBindings(),i=r[0],o=0;o<n.length;o++)for(var a=n[o],s=void 0,u=0;u<a.length;u++){var l=a[u],c=l.getItem();if(c instanceof Vt&&void 0===c.getProperty()&&i===c.getId()&&2===r.length&&r[1]===l.getValue())return l;if(l.isValid()){if("propertygroup"===c.getType())c=(l=l.getObjectBinding()).getItem();else if(void 0===c.getProperty()&&(s=Jr(l,r)))return s;if("*"===i||i===l.getPredicate()||i===c.getId())if("group"===c.getType()){if(s=Jr(l,r.slice(1)))return s}else if(1===r.length||"*"===r[1]||r[1]===l.getValue())return l}}},Kr=function(e,t){var r=t[0],n=e;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<t.length;i++){if(".."!==t[i]||!n.getParent())return n;n=n.getParent()}return n}return e},en=function(e,t){var r=e.getId(),n={},i={};e.getChoices().forEach(function(e){n[e.value]=0,i[e.value]=e});t.getChildBindings().forEach(function(e){var t=e.getItem().getDeps();if(t&&(t[0]===r||"/"===t[0]&&t[1]===r)){var i="/"===t[0]?t[2]:t[1],o=n[i];void 0!==o&&(n[i]=o+1)}});var o,a=0;return Object.keys(n).forEach(function(e){(!o||n[e]>a)&&(o=e,a=n[e])}),i[o]},tn=function(e,t,r){var n=t.getCardinality();return r&&"group"===t.getType()||(null!=n?n.min>0?e.mandatory+=1:n.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===t.getType()&&t.getChildren().forEach(function(t){return tn(e,t)}),e};const rn={detectLevel: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"},levelProfile:function(e){var t=tn({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t},findFirstValueBinding:Zr,create:Qr,constructTemplate:qr,findPopularChoice:en,match:Yr,fuzzyMatch:Gr,matchPathBelowBinding:Jr,findBindingRelativeToParentBinding:Kr,CODES:Ie};var nn=function(e,t){var r=t;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),un(e,r,!0)},on=function(e){for(var t=0,r=0;r<e.length;r++)e[r].isValid()&&(t+=1);return t},an=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},sn=function(e,t){if(t.hasStyle("deprecated"))return!0;var r=t.getDeps();if(r){var n=Kr(e,r);if(!Jr(n,r))return!0}return!1},un=function(e,t,r){if(e.getMatchingCode()===Ie.OK){var n=e.getItem();if(!0===r||e.isValid()||null==n.getProperty()||n.hasStyle("atLeastOneChild")||n.hasStyle("exactlyOneChild")){var i=n.getChildren();if(n.hasStyle("disjoint")||n.hasStyle("atMostOneChild")||n.hasStyle("atLeastOneChild")||n.hasStyle("exactlyOneChild")){var o,a=e.getChildBindings(),s=on(a);s>1&&(n.hasStyle("disjoint")||n.hasStyle("atMostOneChild"))?o=Ie.AT_MOST_ONE_CHILD:1!==s&&n.hasStyle("exactlyOneChild")?o=Ie.EXACTLY_ONE_CHILD:0===s&&n.hasStyle("atLeastOneChild")&&(o=Ie.AT_LEAST_ONE_CHILD),o&&(an([e],o),i.length>0&&t.errors.push({parentBinding:e,item:i[0],code:o}))}else e.getItemGroupedChildBindings().forEach(function(r,n){var o=i[n];if(!sn(e,o)&&null!=o.getProperty()){var a=on(r),s=o.getCardinality();null!=s.min&&s.min>a?(t.errors.push({parentBinding:e,item:o,code:Ie.TOO_FEW_VALUES_MIN}),an(r,Ie.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&t.warnings.push({parentBinding:e,item:o,code:Ie.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(t.errors.push({parentBinding:e,item:o,code:Ie.TOO_MANY_VALUES}),an(r,Ie.TOO_MANY_VALUES))}},undefined);e.getChildBindings().forEach(function(r){var n=r.getItem();r.getMatchingCode()!==Ie.OK&&t.errors.push({parentBinding:r,item:n,code:r.getMatchingCode()}),n.hasStyle("deprecated")&&t.deprecated.push(r),sn(e,n)||"group"===n.getType()&&un(r,t)})}return t}},ln=function(e,t){return e.find(null,"rdf:type",t).map(function(e){return e.getSubject()})},cn=function(e,t,r){for(var n=e;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===t)return!0;if(r[i])return!1;n=n.getParent()}},fn=function(e,t){var r=e,n=[];for(null!=t.getProperty()&&r.getItem()!==t&&n.push(u(t.getProperty()));null!=r.getItem().getProperty()&&n.push(u(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},dn=function(e){var t=e.errors,r=e.warnings,n=e.deprecated;e.errors=t.map(function(e){return{path:fn(e.parentBinding,e.item),code:e.code}}),e.warnings=r.map(function(e){return{path:fn(e.parentBinding,e.item),code:e.code}}),e.deprecated=n.map(function(e){return function(e){return"".concat(fn(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)})},hn=function(e,t,r,n){var i=Gr(t,e,r),o=nn(i);return function(e,t,r){var n=e.errors,i=e.warnings,o=e.deprecated;e.errors=n.filter(function(e){return cn(e.parentBinding,t,r)}),e.warnings=i.filter(function(e){return cn(e.parentBinding,t,r)}),e.deprecated=o.filter(function(e){return cn(e,t,r)})}(o,e,n||{}),dn(o),o};const pn={graphReport:function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach(function(t){var r=ln(e,t);o[t]=r,r.forEach(function(e){a[e]=!0})}),Object.keys(o).forEach(function(i){r=t[i],o[i].forEach(function(t){(n=hn(t,e,r,a)).uri=t,n.type=i,n.template=r.getId(),s.resources.push(n),s.errors+=n.errors.length,s.warnings+=n.warnings.length,s.deprecated+=n.deprecated.length})});var u=[];return i.forEach(function(e){0===o[e].length&&u.push(e)}),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:nn};function gn(e){return gn="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},gn(e)}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mn(n.key),n)}}function mn(e){var t=function(e,t){if("object"!=gn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gn(t)?t:t+""}var vn=0,bn=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=vn,vn+=1,this.renderingParams=t.renderingParams||{},this.locale=t.locale,this.defaultTextLanguage=t.defaultTextLanguage,this.messages=t.messages,this.parentView=t.parentView,this.srcNodeRef=r,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.showDescription=!0===t.showDescription,this.popupOnLabel=!1!==t.popupOnLabel,this.styleCls=t.styleCls||"",this.truncateLimit=void 0!==t.truncateLimit?t.truncateLimit:10,this.truncate=void 0!==t.truncate&&t.truncate,Array.isArray(t.filterPredicates)?this.filterPredicates=t.filterPredicates.reduce(function(e,t){return e[t]=!0,e},{}):"object"===gn(t.filterPredicates)?this.filterPredicates=t.filterPredicates:"string"==typeof t.filterPredicates?this.filterPredicates=t.filterPredicates.split(",").reduce(function(e,t){return e[t]=!0,e},{}):this.filterPredicates=null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this.markOrigin=!1!==t.markOrigin,this._handleParams(t),this._labelIndex={},this.domNode=Oe.createDomNode(r,this),Oe.domClassToggle(this.domNode,"rdforms",!0),Oe.domClassToggle(this.domNode,this.styleCls,!0),this.render()},t=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(e){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var t=this.namedGraphs[e];return void 0===t&&(t=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[e]=t,this.namedGraphCounter+=1),t}}},{key:"getNamedGraphFromId",value:function(e){var t=this;return this.namedGraphs?Object.keys(this.namedGraphs).find(function(r){return t.namedGraphs[r]===e}):void 0}},{key:"destroy",value:function(){Oe.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=Gr(this.graph,this.resource,this.template),nn(this.binding)):this.binding=Yr(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(Oe.domText(this.domNode,""),null!=this.binding&&(this.messages||(this.messages=Oe.getMessages()),null!=this.binding)){var e,t,r,n,i,o=this.binding.getItem().getChildren(),a=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?Oe.domClassToggle(this.domNode,"compact",!1):Oe.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),e=0;e<a.length;e++)if(n=a[e],i=o[e],(!this.restrictToItem||this.restrictToItem===i)&&this.showNow(i,n)){if(n=this.prepareBindings(i,n),this.showAsTable(i))this.context={view:this},r=this.createRowNode(r,n[0],i),n.length>0&&(t=this.addTable(r,n[0],i),this.fillTable(t,n));else if(n.length>0)if(this.isMultiValued(i))this.context={view:this},r=this.addRow(r,n[0],!0);else{for(var s=this.truncateAt(i,n),u=0;u<n.length;u++)this.context={view:this},r=this.addRow(r,n[u],0===u||n[u]instanceof Ze,u,s);if(-1!==s){var l=Oe.domQuery(".rdformsFields",r);l&&Oe.addTruncateControl(l,this.context)}}else this.context={view:this},r=this.createRowNode(r,null,i);n.length>0&&n[0].getCardinalityTracker().checkCardinality()}}}},{key:"addRow",value:function(e,t,r,n,i){var o,a,s=r,u=t.getItem();if(!this.skipBinding(t)){if(null==s&&(s=t instanceof Ze),!0===s){a=this.createRowNode(e,t,u);var l=Oe.domCreate("div",a);Oe.domClassToggle(l,"rdformsFields",!0),-1!==i&&Oe.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&Oe.domClassToggle(l,"rdformsInline",!0),o=Oe.domCreate("div",l),this.createEndOfRowNode(a,t,u)}else{var c=Oe.domQuery(".rdformsFields",e);if(null!=c)o=Oe.domCreate("div",c),Oe.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&Oe.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=Oe.domCreate("div",e);Oe.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&Oe.domClassToggle(f,"rdformsInline",!0),o=Oe.domCreate("div",f),this.createEndOfRowNode(a,t,u)}}if(this.markOrigin){var d=this.getNamedGraphId(t);d?(Oe.domClassToggle(o,"rdformsOrigin",!0),Oe.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(Oe.domClassToggle(o,"rdformsOrigin",!0),Oe.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?Oe.domClassToggle(o,"rdformsGroup",!0):Oe.domClassToggle(o,"rdformsField",!0),this._binding2node[t.getHash()]=o,this.addComponent(o,t),u.hasStyle("invisible")&&Oe.domClassToggle(a||e,"rdformsInvisible",!0),a||e}}},{key:"createRowNode",value:function(e,t,r){var n;n=null==e?Oe.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):Oe.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),r.getClasses().forEach(function(e){Oe.domClassToggle(n,e,!0)}),Oe.domClassToggle(n,"rdformsRow",!0),Oe.domClassToggle(n,"rdformsTopLevel",this.topLevel),Oe.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),Oe.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),Oe.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),Oe.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,t,r),t&&this.filterBinding(t)&&Oe.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&Oe.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(e,t,r){}},{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){var t=this,r=this._getFilterPredicates(),n=function(e,r){var i=e.getId();if(i&&Object.keys(r).includes(i))return!0;var o=e.getProperty();if(o){for(var s=!0,u=t;u.parentView;)u.getBinding().getItem().getProperty()&&(s=!1),u=u.parentView;var l=a(o);return s?!0===r[o]||!0===r[l]||!0===r["*".concat(o)]||!0===r["".concat(l)]:!0===r["*".concat(o)]||!0===r["*".concat(l)]}if("group"===e.getType()){var c=e.getChildren()||[],f=!1;return c.forEach(function(e){n(e,r)||(f=!0)}),!f}return!1};return!!r&&n(e,r)}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,r=this;return e.getParent().getChildBindingsFor(e.getItem()).reverse().find(function(e){return void 0!==(t=r._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}},{key:"getRowIndex",value:function(e){return"".concat(e.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(e){return!1}},{key:"truncateAt",value:function(e,t){return-1}},{key:"getLocale",value:function(){return this.locale||(this.parentView?this.parentView.getLocale():ue().locale())}},{key:"getDefaultTextLanguage",value:function(){return this.defaultTextLanguage||(this.parentView?this.parentView.getDefaultTextLanguage():this.getLocale())}}],t&&yn(e.prototype,t),r&&yn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function wn(e){return wn="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},wn(e)}function _n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xn(n.key),n)}}function xn(e){var t=function(e,t){if("object"!=wn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=wn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wn(t)?t:t+""}function Sn(e,t,r){return t=kn(t),function(e,t){if(t&&("object"==wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,En()?Reflect.construct(t,r||[],kn(e).constructor):t.apply(e,r))}function En(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(En=function(){return!!e})()}function Tn(){return Tn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=kn(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Tn.apply(null,arguments)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}function On(e,t){return On=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},On(e,t)}var An=function(e,t,r){if(0===r.length||t.hasStyle("invisible"))return!1;if(t.getProperty())return!e.filterItem(t);if("group"===t.getType()){var n=t.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find(function(t,r){return An(e,n[r],t)})}return!0},Cn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Sn(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&On(e,t)}(t,e),r=t,n=[{key:"_handleParams",value:function(e){var r,n,i,o,a;this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",(r=t,n="_handleParams",i=this,a=Tn(kn(1&(o=3)?r.prototype:r),n,i),2&o&&"function"==typeof a?function(e){return a.apply(i,e)}:a)([e])}},{key:"showNow",value:function(e,t){return An(this,e,t)}},{key:"skipBinding",value:function(e){var t=e.getItem(),r="group"===t.getType();return!(!t.getProperty()&&r&&0===t.getChildren().length)&&r&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return e.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===e.getNodetype()&&!e.hasStyle("viewAllTranslations")?Oe.filterTranslations(t,this.getLocale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,r){r.hasStyle("noLabelInPresent")?Oe.domClassToggle(e,"rdformsInvisibleGroup",!0):Oe.renderPresenterLabel(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return Oe.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return Oe.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){Oe.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){Oe.renderPresenter(e,t,this.context)}},{key:"truncateAt",value:function(e,t){return"group"!==e.getType()&&t&&t.length>this.truncateLimit&&(this.truncate||e.hasStyle("truncate"))&&!e.hasStyle("noTruncate")?this.truncateLimit:-1}}],n&&_n(r.prototype,n),i&&_n(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(bn);function Rn(e){return Rn="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},Rn(e)}function Pn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,jn(n.key),n)}}function jn(e){var t=function(e,t){if("object"!=Rn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Rn(t)?t:t+""}function Nn(e,t,r){return t=Mn(t),function(e,t){if(t&&("object"==Rn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Dn()?Reflect.construct(t,r||[],Mn(e).constructor):t.apply(e,r))}function Dn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dn=function(){return!!e})()}function In(e,t,r,n){var i=Ln(Mn(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function Ln(){return Ln="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Mn(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Ln.apply(null,arguments)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mn(e)}function Fn(e,t){return Fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fn(e,t)}var Bn=function(e,t,r,n){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===r.length)return!1;var i=t.getProperty();if(r.length>0){if(i)return!e.filterItem(t);if("group"!==t.getType())return!0;var o=t.getChildren();if(0===o.length)return!0;if(t.hasStyle("atLeastOneChild")||t.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find(function(t,r){return Bn(e,o[r],t,n)}))return!0;if(!i)return!1}var a=t.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},Vn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nn(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fn(e,t)}(t,e),r=t,n=[{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,In(t,"_handleParams",this,3)([e])}},{key:"getSubEditorForBinding",value:function(e){return this._subEditors.find(function(t){return t.getBinding()===e})}},{key:"report",value:function(e){var t=this,r=e||nn(this.binding);Object.keys(this._binding2node).forEach(function(e){Oe.domClassToggle(t._binding2node[e],"errorReport",!1)});for(var n=function(){var e=r.errors[i];if(e.parentBinding===t.binding)if(e.code===Ie.TOO_FEW_VALUES_MIN){var n=e.item,o=n.getCardinality().min;t.binding.getChildBindingsFor(n).find(function(e){return o-=1,e.isValid()||Oe.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===o})}else e.code===Ie.AT_MOST_ONE_CHILD&&t.binding.getChildBindings().forEach(function(e){e.getMatchingCode()!==Ie.OK&&Oe.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)})},i=0;i<r.errors.length;i++)n();for(var o=0;o<this._subEditors.length;o++)this._subEditors[o].report(r)}},{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=Yr(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],In(t,"show",this,3)([e])}},{key:"showNow",value:function(e,t){return Bn(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var r,n=t,i=e.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1,e.hasStyle("nonEditable")&&!e.hasStyle("autoInitDate")&&!e.hasStyle("autoUpdateDate")&&!e.hasStyle("autoUUID")&&!e.hasStyle("autoValue")&&!e.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(Qr(this.binding,e));return n}},{key:"addLabel",value:function(e,t,r){Oe.renderEditorLabel(e,t,r,this.context)}},{key:"createEndOfRowNode",value:function(e,t,r){Oe.renderEditorLabelScopeEnd(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):Oe.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){Oe.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){Oe.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")?Oe.renderPresenter(e,t,this.context):Oe.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=In(t,"createRowNode",this,3)([e,r,n]);if("choice"===n.getType()&&void 0===n.getProperty()){var o=en(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(e){e?(Oe.domClassToggle(i,"missingDepsWithValue",!1),Oe.domClassToggle(i,"missingDeps",!1)):r.isValid()?Oe.domClassToggle(i,"missingDepsWithValue",!0):Oe.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(e)},u=Kr(r.getParent(),a);Jr(u,a)||s(!1);var l=function(){r.getParent()?s(Jr(u,a)):u.removeListener(l)};u.addListener(l)}return this.filterBinding(r)&&Oe.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&Oe.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(e){return Oe.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}],n&&Pn(r.prototype,n),i&&Pn(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(Cn);Oe.renderPresenterLabel=function(e,t,r,n,i){var o=n.view instanceof Vn&&r.getEditLabelMap()||r.getLabelMap(),a=fe.getLocalizedValue(o,n.view.getLocale()).value;a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=r.hasStyle("heading")?Ce()('<h2 class="rdformsLabel" tabindex="0">').text(a).appendTo(e):Ce()('<div class="rdformsLabel" tabindex="0">').text(a).appendTo(e);t&&s.attr("id",n.view.createLabelIndex(t)),i&&s.addClass("rdformsLabelRow"),n&&(n.labelNode=s[0]);var u=n.view;if(r.hasStyle("showDescriptionInPresent")||u.showDescription){var l=r.hasStyle("compact")||u.compact&&!r.hasStyle("nonCompact")&&(u.topLevel&&"group"!==r.getType()||u.parentView&&u.parentView.topLevel&&u.binding.getItem().hasStyle("heading")),c=fe.getLocalizedValue(r.getDescriptionMap(),n.view.getLocale()).value;!l&&c&&Ce()('<div class="rdformsDescription">').text(c).appendTo(e)}Oe.attachItemInfo(r,s[0],n)},Oe.attachItemInfo=function(e,t,r){if(null!=e&&null!=e.getDescriptionMap()){var n=fe.getLocalizedValue(e.getDescriptionMap(),r.view.getLocale()).value;t.setAttribute("title",n)}};var Un=r(4801),Wn=r.n(Un),Hn=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";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}},$n=function(e,t){var r=e.getValue();if(null!=r&&""!==r){var n=e.getItem(),i=function(e){try{if(e.includes(":")&&!e.includes("T")){var t=(new Date).toISOString().substr(0,11),r=new Date("".concat(t).concat(e));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(e)}catch(e){return null}}(r);if(i){var o=function(e){return e.indexOf("T")>0?"DateTime":e.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(e)?"YearMonth":/^\d\d-\d\d$/.test(e)?"MonthDay":e.length>4?"Date":"Year"}(r),a=Hn(e.getDatatype()),s=function(e){var t=e.getDatatype();return Array.isArray(t)?Hn(t[0]):Hn(t)}(n),u=function(e){var t={},r=e.getDatatype();return(Array.isArray(r)?r:[r]).forEach(function(e){var r=Hn(e);r&&(t[r]=!0)}),t}(n);return function(e,t,r){switch(e){case"DateTime":return ue()(t).locale(r).format("lll");case"Date":return ue()(t).locale(r).format("LL");case"Time":return ue()(t).locale(r).format("LT");case"Year":return ue()(t).locale(r).format("YYYY");case"YearMonth":return ue()(t).locale(r).format("MMMM YYYY");case"MonthDay":return ue()(t).locale(r).format("D MMMM");default:return""}}(u[a]?a:u[o]?o:s,i,t)}}},Yn=r(87569),Gn=Oe.presenterRegistry;Gn.itemtype("text").nodetype("URI").register(function(e,t){var r=fe.getLocalizedMap(t),n=Yn('<a class="rdformsUrl">').attr("title",t.getValue()).attr("href",t.getValue()).appendTo(e);t.getItem().hasStyle("showValue")?n.text(t.getValue()):r?n.text(fe.getLocalizedValue(r).value):n.text(t.getGist()),t.getItem().hasStyle("externalLink")?pe.attachExternalLinkBehaviour(n[0],t):pe.attachLinkBehaviour(n[0],t)}),Gn.itemtype("group").nodetype("URI").style("linkWithLabel").register(function(e,t,r){var n,i=t.getValue(),o=t.getItem().getChildren().find(function(e){return e.hasStyle("label")}),a=o?Oe.filterTranslations(t.getChildBindingsFor(o),r.view.getLocale(),r.view.defaultLanguage):[],s=t.getItem().getChildren().find(function(e){return e.hasStyle("tooltip")}),u=s?Oe.filterTranslations(t.getChildBindingsFor(s),r.view.getLocale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=Yn('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(e);if(a.length>0)n=a[0].getValue();else{var f=fe.getLocalizedMap(t);n=t.getItem().hasStyle("showValue")?i:f?fe.getLocalizedValue(f).value||i:t.getGist()}c.text(n),t.getItem().hasStyle("externalLink")?pe.attachExternalLinkBehaviour(c[0],t):pe.attachLinkBehaviour(c[0],t)}),Gn.itemtype("text").nodetype("URI").style("image").register(function(e,t){Yn('<img class="rdformsImage">').attr("src",t.getGist()).appendTo(e)}),Gn.itemtype("text").register(function(e,t,r){var n=t.getLanguage();r.view.showLanguage&&n&&Yn('<div class="rdformsLanguage">').text(n).appendTo(e);var i=Wn()(t.getItem().hasStyle("showValue")?t.getValue():t.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=t.getParent();if(t.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===t.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=Yn('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(e);n&&a.attr("lang",n),pe.attachLinkBehaviour(a[0],o)}else{var s=Yn("<div>").html(i).appendTo(e);n&&s.attr("lang",n)}t.getItem().hasStyle("multiline")?Yn(e).toggleClass("rdformsMultiline",!0):Yn(e).toggleClass("rdformsSingleline",!0)}),Gn.itemtype("text").datatype("xsd:duration").register(function(e,t,r){var n=function(e){var t,r=function(e){return e&&e.length>1?parseInt(e[0],10):0},n=r(e.match(/([0-9])*Y/)),i=r(e.match(/([0-9])*D/)),o=r(e.match(/([0-9])*H/)),a=0;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/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:t,days:i,hours:o,minutes:a}}(t.getValue()),i=r.view.messages,o=Yn("<div>").appendTo(e)[0];["years","months","days","hours","minutes"].forEach(function(e){n.hasOwnProperty(e)&&0!==n[e]&&Yn('<span class="durationLabel">'.concat(i["duration_".concat(e)],':</span><span class="durationValue">').concat(n[e],"</span>")).appendTo(o)})});var qn=function(e,t,r){try{var n=$n(t,r.view.getLocale());Yn("<div>").html(n).appendTo(e)}catch(e){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(t.getValue(),"' instead."))}};Gn.itemtype("text").datatype("xsd:dateTime").register(qn),Gn.itemtype("text").datatype("xsd:date").register(qn),Gn.itemtype("text").datatype("xsd:time").register(qn),Gn.itemtype("text").datatype("xsd:gYear").register(qn),Gn.itemtype("text").datatype("xsd:gYearMonth").register(qn),Gn.itemtype("text").datatype("xsd:gMonthDay").register(qn),Gn.itemtype("text").datatype("dcterms:W3CDTF").register(qn);var zn=r(87569),Xn=Oe.presenterRegistry,Qn=function(e){return function(t,r,n){var i,o=r.getChoice();o&&(o.description&&(i=fe.getLocalizedValue(o.description,n.view.getLocale()).value),e(t,r,o,i,n.view.getLocale()))}};Xn.itemtype("choice").style("image").register(Qn(function(e,t,r,n){zn('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(e)})),Xn.itemtype("choice").style("stars").register(Qn(function(e,t,r){isNaN(parseInt(r.value,10))||zn('<span class="rdformsStar">').appendTo(e)})),Xn.itemtype("choice").register(Qn(function(e,t,r,n,i){var o,a=t.getItem(),s=fe.getLocalizedValue(r.label,i);a.hasStaticChoices()&&!a.hasStyle("externalLink")||a.hasStyle("noLink")?o=zn("<div>").attr("title",n||r.seeAlso||r.value).text(fe.getLocalizedValue(r.label,i).value).appendTo(e):(o=zn('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(s.value).appendTo(e),a.hasStyle("externalLink")?pe.attachExternalLinkBehaviour(o[0],t):pe.attachLinkBehaviour(o[0],t)),null!=r.load&&r.load(function(){var e=fe.getLocalizedValue(r.label,i);o.text(e.value),e.lang?o.attr("lang",e.lang):o.attr("lang",void 0)}),s.lang&&o.attr("lang",s.lang)})),Oe.addPresenterTable=function(e,t,r){var n=t.getItem(),i=n.getChildren(),o=Ce()("<table>").addClass("rdformsGroup").appendTo(e);Ce()("<thead>").appendTo(o);for(var a=Ce()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=Ce()("<th>").appendTo(a),l=fe.getLocalizedValue(i[s].getLabel(),r.view.getLocale()).value;Oe.attachItemInfo(n,Ce()("<span>").text(l).appendTo(u),r)}return o[0]},Oe.fillPresenterTable=function(e,t,r){if(0!==t.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<t.length;n++)for(o=t[n].getItemGroupedChildBindings(),a=Ce()("<tr>").appendTo(e),i=0;i<o.length;i++)o[i].length>0?Oe.renderPresenter(Ce()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):Ce()("<td>").appendTo(a);r.view.topLevel=s}};var Zn=function(e,t){var r=document.createElement(e);return t&&(r.id=t),r};Oe.domQuery=function(e,t){return t.querySelector(e)},Oe.domCreate=function(e,t,r){return t.appendChild(Zn(e,r))},Oe.domCreateAfter=function(e,t,r){return t.parentNode.insertBefore(Zn(e,r),t.nextSibling)},Oe.domSetAttr=function(e,t,r){""===r||null===r?e.removeAttribute(t):e.setAttribute(t,r)},Oe.domText=function(e,t){e.innerText=t},Oe.domClassToggle=function(e,t,r){t.split(" ").forEach(function(t){r?e.classList.add(t):e.classList.remove(t)})},Oe.prePresenterViewRenderer=Oe.preEditorViewRenderer,Oe.addTruncateControl=function(e,t){var r=t.view.messages,n=Oe.domCreate("button",e);Oe.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){Oe.domClassToggle(e,"rdformsTruncated",!1)};var i=Oe.domCreate("button",e);Oe.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){Oe.domClassToggle(e,"rdformsTruncated",!0)}};var Jn=r(60430),Kn=r.n(Jn),ei=r(83783),ti=r.n(ei),ri=r(96077),ni=r.n(ri),ii=r(73406),oi=r.n(ii),ai=r(99162),si=r.n(ai),ui=r(39839),li=r.n(ui),ci=r(70605),fi={};fi.styleTagTransform=li(),fi.setAttributes=oi(),fi.insert=ni().bind(null,"head"),fi.domAPI=ti(),fi.insertStyleElement=si();Kn()(ci.A,fi);ci.A&&ci.A.locals&&ci.A.locals;var di="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},hi="URLSearchParams"in di,pi="Symbol"in di&&"iterator"in Symbol,gi="FileReader"in di&&"Blob"in di&&function(){try{return new Blob,!0}catch(e){return!1}}(),yi="FormData"in di,mi="ArrayBuffer"in di;if(mi)var vi=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],bi=ArrayBuffer.isView||function(e){return e&&vi.indexOf(Object.prototype.toString.call(e))>-1};function wi(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function _i(e){return"string"!=typeof e&&(e=String(e)),e}function xi(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return pi&&(t[Symbol.iterator]=function(){return t}),t}function Si(e){this.map={},e instanceof Si?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function Ei(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ti(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function ki(e){var t=new FileReader,r=Ti(t);return t.readAsArrayBuffer(e),r}function Oi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ai(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:gi&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:yi&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:hi&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():mi&&gi&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Oi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):mi&&(ArrayBuffer.prototype.isPrototypeOf(e)||bi(e))?this._bodyArrayBuffer=Oi(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):hi&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},gi&&(this.blob=function(){var e=Ei(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Ei(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(gi)return this.blob().then(ki);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=Ei(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=Ti(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},yi&&(this.formData=function(){return this.text().then(Pi)}),this.json=function(){return this.text().then(JSON.parse)},this}Si.prototype.append=function(e,t){e=wi(e),t=_i(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Si.prototype.delete=function(e){delete this.map[wi(e)]},Si.prototype.get=function(e){return e=wi(e),this.has(e)?this.map[e]:null},Si.prototype.has=function(e){return this.map.hasOwnProperty(wi(e))},Si.prototype.set=function(e,t){this.map[wi(e)]=_i(t)},Si.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Si.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),xi(e)},Si.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),xi(e)},Si.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),xi(e)},pi&&(Si.prototype[Symbol.iterator]=Si.prototype.entries);var Ci=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ri(e,t){if(!(this instanceof Ri))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof Ri){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Si(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Si(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),Ci.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in di)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Pi(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function ji(e,t){if(!(this instanceof ji))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Si(t.headers),this.url=t.url||"",this._initBody(e)}Ri.prototype.clone=function(){return new Ri(this,{body:this._bodyInit})},Ai.call(Ri.prototype),Ai.call(ji.prototype),ji.prototype.clone=function(){return new ji(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Si(this.headers),url:this.url})},ji.error=function(){var e=new ji(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Ni=[301,302,303,307,308];ji.redirect=function(e,t){if(-1===Ni.indexOf(t))throw new RangeError("Invalid status code");return new ji(null,{status:t,headers:{location:e}})};var Di=di.DOMException;try{new Di}catch(e){(Di=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),Di.prototype.constructor=Di}function Ii(e,t){return new Promise(function(r,n){var i=new Ri(e,t);if(i.signal&&i.signal.aborted)return n(new Di("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Si,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===i.url.indexOf("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout(function(){r(new ji(a,n))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){n(new Di("Aborted","AbortError"))},0)},o.open(i.method,function(e){try{return""===e&&di.location.href?di.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(gi?o.responseType="blob":mi&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Si||di.Headers&&t.headers instanceof di.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach(function(e){s.push(wi(e)),o.setRequestHeader(e,_i(t.headers[e]))}),i.headers.forEach(function(e,t){-1===s.indexOf(t)&&o.setRequestHeader(t,e)})}else i.headers.forEach(function(e,t){o.setRequestHeader(t,e)});i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}Ii.polyfill=!0,di.fetch||(di.fetch=Ii,di.Headers=Si,di.Request=Ri,di.Response=ji);r(42507);var Li=r(57468),Mi=r.n(Li);function Fi(e){return Fi="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},Fi(e)}function Bi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Vi(n.key),n)}}function Vi(e){var t=function(e,t){if("object"!=Fi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Fi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fi(t)?t:t+""}var Ui=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}},t=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var r=this._findChoices(e);if(null==r);else{if(null==t)return r;t(r)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];if(Mi()(n.constraints,e.getConstraints())&&e.getParentProperty()===n.parentProperty&&e.getHierarchyProperty()===n.hierarchyProperty&&e.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var r=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(r+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var n=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(n+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}],t&&Bi(e.prototype,t),r&&Bi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Wi(e){return Wi="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},Wi(e)}function Hi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,$i(n.key),n)}}function $i(e){var t=function(e,t){if("object"!=Wi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Wi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Wi(t)?t:t+""}var Yi=0,Gi=function(){return e=function e(t){var r=t.itemStore,n=t.source,i=t.path,o=t.readOnly,a=void 0!==o&&o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Yi+=1,this._id="_bundle_".concat(Yi),this._root=null,this._modified=!1},(t=[{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}}])&&Hi(e.prototype,t),r&&Hi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function qi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zi(n.key),n)}}function zi(e){var t=function(e,t){if("object"!=Xi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Xi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xi(t)?t:t+""}function Xi(e){return Xi="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},Xi(e)}var Qi=function(e,t){if(!e||!t)return void 0===t?e:t;if(Array.isArray(e)&&Array.isArray(t))return[].concat(origSource[key],extSource[key]);if("object"===Xi(e)&&"object"===Xi(t)){var r={};return Object.keys(e).concat(Object.keys(t)).forEach(function(n){r[n]=Qi(e[n],t[n])}),r}return t},Zi=function(){return e=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.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new Ui},t=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var r=e.getSource(!0),n=r.content||r.items||[];if(t)return this._createItems(n,e._forceChildrenClones,e.getBundle());var i=this.getItem(r.extends);if(i){var o=e.getChildren(!0);return e.getEnhanced("items")||0===o.length?i.getChildren().concat(o):o}return 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])this._handleError("Cannot rename to ".concat(t," since an item with that id already exists."));else if(""!==t&&null!==t){var r=this._registry[e];r&&(delete this._registry[e],this._registry[t]=r,r.setId(t));for(var n=function(r){var i=r.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof ht&&n(a._source)}}else this._handleError("Cannot give an item an empty string or null as id.")}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,r){return qr(e,t,this,r)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new Gi(e);this._bundles.push(t),e.source&&e.source.namespaces&&c(e.source.namespaces);var r=e.source.templates||e.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,t),"object"===Xi(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,r=(e||[]).map(function(e){return"string"==typeof e?t.getItem(e):e});return new ht({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var r=Object.assign({},e,t);return void 0===t.id&&delete r.id,t.enhanced&&(!0===t.enhanced?Object.keys(e).concat(Object.keys(t)):Object.keys(t.enhanced)).forEach(function(n){r[n]=Qi(e[n],t[n])}),r._extendedSource=t,r.extends=null,delete r.children,r}},{key:"createItem",value:function(e,t,r,n){var i,o=e.id||e["@id"],a=e.type||e["@type"];if(e.extends){var s=this._registry[e.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(e.extends)),s){var u=this.createExtendedSource(s.getSource(),e);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new Rt({source:e,itemStore:this,bundle:n});break;case"choice":i=new Vt({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new ht({source:e,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new xt({source:e,children:null,itemStore:this,bundle:n})}var l,c;if(!0!==r&&(null!=e.property&&(this._registryByProperty[e.property]=i,this.priorities&&null!=this.priorities[e.property]&&(i.priority=this.priorities[e.property])),null!=o))this._registry[o]&&console.log("RDForms conflict with item id ".concat(o,', overwriting item from bundle "').concat((null===(l=this._registry[o].getBundle())||void 0===l?void 0:l.getPath())||"",'" with item from bundle "').concat((null===(c=i.getBundle())||void 0===c?void 0:c.getPath())||"",'".')),this._registry[o]=i,null!=n&&n.addItem(i);return i}if(null!=o){if(null!=this._registry[o]){if(!0===t||Object.keys(e).find(function(e){return"id"!==e&&"@id"!==e})){var f=Object.assign(Object.assign({},this._registry[o]._source),e);return this.createItem(f,!1,!0)}return this._registry[o]}this._handleError("Cannot find referenced subitem using identifier: ".concat(o))}else this._handleError("Cannot create subitem, `type` for creating new or `id` for referencing external are required.")}},{key:"removeItem",value:function(e,t){var r=e.getBundle();null!=r&&r.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var n=e.getProperty();null!=n&&this._registryByProperty[n]===e&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(e,t,r){var n=this;return e.map(function(i,o){var a="string"==typeof i?e[o]={id:i}:i;return n.createItem(a,t,!1,r)}).filter(function(e){return e})}},{key:"_handleError",value:function(e){if("throw"===this.handleErrorAs)throw new Error(e);console[this.handleErrorAs](e)}}],t&&qi(e.prototype,t),r&&qi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();r(84104);function Ji(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(r,n,i,o){var u=n&&n.prototype instanceof s?n:s,l=Object.create(u.prototype);return Ki(l,"_invoke",function(r,n,i){var o,s,u,l=0,c=i||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return o=t,s=0,u=e,d.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&l&&!i&&t<c.length;t++){var i,o=c[t],h=d.p,p=o[2];r>3?(i=p===n)&&(u=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=r<2&&h<o[1])?(s=0,d.v=n,d.n=o[1]):h<p&&(i=r<3||o[0]>n||n>p)&&(o[4]=r,o[5]=n,d.n=p,s=0))}if(i||r>1)return a;throw f=!0,n}return function(i,c,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&h(c,p),s=c,u=p;(t=s<2?e:u)||!f;){o||(s?s<3?(s>1&&(d.n=-1),h(s,u)):d.n=u:d.v=u);try{if(l=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=d.n<0)?u:r.call(n,d))!==a)break}catch(t){o=e,s=1,u=t}finally{l=1}}return{value:t,done:f}}}(r,i,o),!0),l}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(Ki(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,Ki(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=l,Ki(f,"constructor",l),Ki(l,"constructor",u),u.displayName="GeneratorFunction",Ki(l,i,"GeneratorFunction"),Ki(f),Ki(f,i,"Generator"),Ki(f,n,function(){return this}),Ki(f,"toString",function(){return"[object Generator]"}),(Ji=function(){return{w:o,m:d}})()}function Ki(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ki=function(e,t,r,n){function o(t,r){Ki(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(o("next",0),o("throw",1),o("return",2))},Ki(e,t,r,n)}function eo(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function to(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){eo(o,n,i,a,s,"next",e)}function s(e){eo(o,n,i,a,s,"throw",e)}a(void 0)})}}var ro=function(e,t,r){var n="Fetching template bundle ".concat(r," failed.");if(e===t-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},no=function(){var e=to(Ji().m(function e(t){var r,n,i,o,a,s;return Ji().w(function(e){for(;;)switch(e.p=e.n){case 0:r=t.length,a=0;case 1:if(!(a<r)){e.n=14;break}return o=t[a],e.p=2,e.n=3,fetch(o);case 3:n=e.v,e.n=5;break;case 4:throw e.p=4,e.v,Error("A network error ocurred while trying to fetch bundle ".concat(o));case 5:if(!n||!n.ok){e.n=12;break}if(e.p=6,!(s=n.headers.has("content-type")&&n.headers.get("content-type"))||!s.includes("application/json")){e.n=8;break}return e.n=7,n.json();case 7:return i=e.v,e.a(3,14);case 8:throw new Error("Failed fetching template ".concat(o,". Expected a JSON file and got ").concat(s));case 9:e.n=11;break;case 10:e.p=10,e.v,ro(a,r,o);case 11:e.n=13;break;case 12:ro(a,r,o);case 13:a++,e.n=1;break;case 14:return e.a(2,{path:o,source:i})}},e,null,[[6,10],[2,4]])}));return function(t){return e.apply(this,arguments)}}(),io=function(e){return e.map(function(e){return e instanceof Array?no(e):Promise.resolve({source:e})})},oo=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).map(function(t){return e.registerBundle(t)})};const ao=function(){var e=to(Ji().m(function e(t){var r,n,i,o,a,s=arguments;return Ji().w(function(e){for(;;)switch(e.n){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===(r=s.length>1&&void 0!==s[1]?s[1]:[]).length&&n&&n([]),i=io(r),e.n=1,Promise.all(i);case 1:return o=e.v,a=oo(t,o),n(a),e.a(2,a)}},e)}));return function(t){return e.apply(this,arguments)}}()})(),n})());
|
|
2
|
+
!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()}(self,()=>(()=>{var e={11:(e,t,r)=>{"use strict";const{format:n,inspect:i}=r(8215),{AggregateError:o}=r(2990),a=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function f(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function h(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return f(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[s]=!0,c[e]=i}function p(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class g extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}h("ERR_ASSERTION","%s",Error),h("ERR_INVALID_ARG_TYPE",(e,t,r)=>{f("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],s=[];for(const e of t)f("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?o.push(e.toLowerCase()):l.test(e)?a.push(e):(f("object"!==e,'The value "object" should be written as "Object"'),s.push(e));if(a.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||s.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+=`an instance of ${a[0]}`;break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`an instance of ${a.join(", ")}, or ${e}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`;break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();n+=`one of ${s.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var c;if(null!==(c=r.constructor)&&void 0!==c&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n},TypeError),h("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=i(t);n.length>128&&(n=n.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError),h("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!=r&&null!==(n=r.constructor)&&void 0!==n&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`},TypeError),h("ERR_MISSING_ARGS",(...e)=>{let t;f(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(e=>`"${e}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`},TypeError),h("ERR_OUT_OF_RANGE",(e,t,r)=>{let n;if(f(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32)n=d(String(r));else if("bigint"==typeof r){n=String(r);const e=BigInt(2)**BigInt(32);(r>e||r<-e)&&(n=d(n)),n+="n"}else n=i(r);return`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError),h("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),h("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),h("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),h("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),h("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),h("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),h("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),h("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),h("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),h("ERR_STREAM_WRITE_AFTER_END","write after end",Error),h("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:g,aggregateTwoErrors:p(function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new a([t,e],t.message);return r.code=t.code,r}return e||t}),hideStackFrames:p,codes:c}},38:(e,t,r)=>{"use strict";const n=r(8558),{AbortError:i,codes:o}=r(11),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=r(2840),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=r(7917),{Promise:p,PromisePrototypeThen:g,SymbolDispose:y}=r(2990),{isClosed:m,isReadable:v,isReadableNodeStream:b,isReadableStream:w,isReadableFinished:_,isReadableErrored:S,isWritable:x,isWritableNodeStream:E,isWritableStream:T,isWritableFinished:k,isWritableErrored:O,isNodeStream:A,willEmitClose:C,kIsClosedPromise:R}=r(91);let P;const j=()=>{};function N(e,t,o){var h,p;if(2===arguments.length?(o=t,t=u):null==t?t=u:d(t,"options"),f(o,"callback"),c(t.signal,"options.signal"),o=l(o),w(e)||T(e))return function(e,t,o){let a=!1,s=j;if(t.signal)if(s=()=>{a=!0,o.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)n.nextTick(s);else{P=P||r(2840).addAbortListener;const n=P(t.signal,s),i=o;o=l((...t)=>{n[y](),i.apply(e,t)})}const u=(...t)=>{a||n.nextTick(()=>o.apply(e,t))};return g(e[R].promise,u,u),j}(e,t,o);if(!A(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);const N=null!==(h=t.readable)&&void 0!==h?h:b(e),D=null!==(p=t.writable)&&void 0!==p?p:E(e),I=e._writableState,L=e._readableState,M=()=>{e.writable||V()};let F=C(e)&&b(e)===N&&E(e)===D,B=k(e,!1);const V=()=>{B=!0,e.destroyed&&(F=!1),(!F||e.readable&&!N)&&(N&&!U||o.call(e))};let U=_(e,!1);const W=()=>{U=!0,e.destroyed&&(F=!1),(!F||e.writable&&!D)&&(D&&!B||o.call(e))},H=t=>{o.call(e,t)};let $=m(e);const Y=()=>{$=!0;const t=O(e)||S(e);return t&&"boolean"!=typeof t?o.call(e,t):N&&!U&&b(e,!0)&&!_(e,!1)?o.call(e,new s):!D||B||k(e,!1)?void o.call(e):o.call(e,new s)},G=()=>{$=!0;const t=O(e)||S(e);if(t&&"boolean"!=typeof t)return o.call(e,t);o.call(e)},q=()=>{e.req.on("finish",V)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?D&&!I&&(e.on("end",M),e.on("close",M)):(e.on("complete",V),F||e.on("abort",Y),e.req?q():e.on("request",q)),F||"boolean"!=typeof e.aborted||e.on("aborted",Y),e.on("end",W),e.on("finish",V),!1!==t.error&&e.on("error",H),e.on("close",Y),$?n.nextTick(Y):null!=I&&I.errorEmitted||null!=L&&L.errorEmitted?F||n.nextTick(G):(N||F&&!v(e)||!B&&!1!==x(e))&&(D||F&&!x(e)||!U&&!1!==v(e))?L&&e.req&&e.aborted&&n.nextTick(G):n.nextTick(G);const z=()=>{o=j,e.removeListener("aborted",Y),e.removeListener("complete",V),e.removeListener("abort",Y),e.removeListener("request",q),e.req&&e.req.removeListener("finish",V),e.removeListener("end",M),e.removeListener("close",M),e.removeListener("finish",V),e.removeListener("end",W),e.removeListener("error",H),e.removeListener("close",Y)};if(t.signal&&!$){const a=()=>{const r=o;z(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)n.nextTick(a);else{P=P||r(2840).addAbortListener;const n=P(t.signal,a),i=o;o=l((...t)=>{n[y](),i.apply(e,t)})}}return z}e.exports=N,e.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=u),null!==(r=t)&&void 0!==r&&r.cleanup&&(h(t.cleanup,"cleanup"),n=t.cleanup),new p((r,i)=>{const o=N(e,t,e=>{n&&o(),e?i(e):r()})})}},51:(e,t,r)=>{"use strict";var n=r(6584),i=r(4417);n({target:"Promise",stat:!0,forced:r(994).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},91:(e,t,r)=>{"use strict";const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=r(2990),a=o("nodejs.stream.destroyed"),s=o("nodejs.stream.errored"),u=o("nodejs.stream.readable"),l=o("nodejs.stream.writable"),c=o("nodejs.stream.disturbed"),f=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function h(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function g(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function y(e){return!(!e||g(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||g(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function v(e){return!(!e||g(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function b(e){if(!g(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[a]||null!=n&&n.destroyed)}function w(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function _(e,t){if(!h(e))return null;const r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function S(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!b(e)&&(h(e)&&e.readable&&!_(e))}function x(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!b(e)&&(p(e)&&e.writable&&!w(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function T(e){return"boolean"==typeof e._sent100&&E(e)}e.exports={isDestroyed:b,kIsDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,o,a,u,l,c,f;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(o=null!==(a=e[s])&&void 0!==a?a:e.readableErrored)&&void 0!==o?o:e.writableErrored)&&void 0!==i?i:null===(u=e._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=e._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(f=e._writableState)||void 0===f?void 0:f.errored))},kIsErrored:s,isReadable:S,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:l,isClosed:function(e){if(!g(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return g(e)?!!b(e)||(!1===(null==t?void 0:t.readable)||!S(e))&&(!1===(null==t?void 0:t.writable)||!x(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:h,isReadableStream:y,isReadableEnded:function(e){if(!h(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:_,isReadableErrored:function(e){var t,r;return g(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:g,isWebStream:function(e){return y(e)||m(e)||v(e)},isWritable:x,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:w,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return g(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:T,willEmitClose:function(e){if(!g(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&T(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:v}},135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Literal=void 0;const n=r(6913);class i{constructor(e,t){this.termType="Literal",this.value=e,"string"==typeof t?(this.language=t,this.datatype=i.RDF_LANGUAGE_STRING):t?(this.language="",this.datatype=t):(this.language="",this.datatype=i.XSD_STRING)}equals(e){return!!e&&"Literal"===e.termType&&e.value===this.value&&e.language===this.language&&this.datatype.equals(e.datatype)}}t.Literal=i,i.RDF_LANGUAGE_STRING=new n.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),i.XSD_STRING=new n.NamedNode("http://www.w3.org/2001/XMLSchema#string")},151:(e,t,r)=>{"use strict";var n=r(1059),i=r(1924),o=r(3228),a=function(e){return function(t,r,a){var s=n(t),u=o(s);if(0===u)return!e&&-1;var l,c=i(a,u);if(e&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},210:(e,t,r)=>{"use strict";var n=r(7890),i=r(9022),o=r(1550),a=r(4470),s=r(4017),u=r(257),l=r(2358),c=r(1378).f,f=r(4531),d=r(2822),h=r(5017),p=r(268),g=r(4807),y=r(3098),m=r(6950),v=r(1341),b=r(7527),w=r(2727).enforce,_=r(8175),S=r(7709),x=r(8169),E=r(2556),T=S("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),R=o("".charAt),P=o("".replace),j=o("".indexOf),N=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,L=/a/g,M=new k(I)!==I,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,V=n&&(!M||F||x||E||v(function(){return L[T]=!1,k(I)!==I||k(L)===L||"/a/i"!==String(k(I,"i"))}));if(a("RegExp",V)){for(var U=function(e,t){var r,n,i,o,a,c,g=f(O,this),y=d(e),m=void 0===t,v=[],_=e;if(!g&&y&&m&&e.constructor===U)return e;if((y||f(O,e))&&(e=e.source,m&&(t=p(_))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),_=e,x&&"dotAll"in I&&(n=!!t&&j(t,"s")>-1)&&(t=P(t,/s/g,"")),r=t,F&&"sticky"in I&&(i=!!t&&j(t,"y")>-1)&&B&&(t=P(t,/y/g,"")),E&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(t=R(e,n)))t+=R(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===N(e,n+1,n+3))continue;C(D,N(e,n+1))&&(n+=2,u=!0),c++;continue;case">"===t&&u:if(""===f||b(a,f))throw new A("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=t:i+=t}return[i,o]}(e),e=o[0],v=o[1]),a=s(k(e,t),g?this:O,U),(n||i||v.length)&&(c=w(a),n&&(c.dotAll=!0,c.raw=U(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=R(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+R(e,++n);return i}(e),r)),i&&(c.sticky=!0),v.length&&(c.groups=v)),e!==_)try{u(a,"source",""===_?"(?:)":_)}catch(e){}return a},W=c(k),H=0;W.length>H;)y(U,k,W[H++]);O.constructor=U,U.prototype=O,m(i,"RegExp",U,{constructor:!0})}_("RegExp")},257:(e,t,r)=>{"use strict";var n=r(7890),i=r(7423),o=r(3382);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},268:(e,t,r)=>{"use strict";var n=r(9899),i=r(7527),o=r(4531),a=r(3687),s=r(4593),u=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return a.correct||!o(u,e)||i(e,"flags")?e.flags:n(s,e)}},335:(e,t,r)=>{"use strict";var n=r(6584),i=r(4745),o=r(1341),a=r(4999),s=r(1471);n({target:"Object",stat:!0,forced:!i||o(function(){a.f(1)})},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},355:(e,t,r)=>{"use strict";var n=r(6441).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},405:(e,t,r)=>{"use strict";var n=r(6584),i=r(1341),o=r(1059),a=r(5613).f,s=r(7890);n({target:"Object",stat:!0,forced:!s||i(function(){a(1)}),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseError=void 0;class r extends Error{constructor(e,t){const r=e.saxParser;super(e.trackPosition?`Line ${r.line} column ${r.column+1}: ${t}`:t)}}t.ParseError=r},417:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Quad=void 0;t.Quad=class{constructor(e,t,r,n){this.termType="Quad",this.value="",this.subject=e,this.predicate=t,this.object=r,this.graph=n}equals(e){return!!e&&("Quad"===e.termType||!e.termType)&&this.subject.equals(e.subject)&&this.predicate.equals(e.predicate)&&this.object.equals(e.object)&&this.graph.equals(e.graph)}}},430:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],l=n.base?u[0]+n.base:u[0],c=o[l]||0,f="".concat(l," ").concat(c);o[l]=c+1;var d=r(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=i(h,n);n.byIndex=s,t.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function i(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=r(o[a]);t[s].references--}for(var u=n(e,i),l=0;l<o.length;l++){var c=r(o[l]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=u}}},448:(e,t,r)=>{"use strict";const n=r(8558),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=r(2990);e.exports=D,D.WritableState=j;const{EventEmitter:h}=r(9784),p=r(8027).Stream,{Buffer:g}=r(4686),y=r(5296),{addAbortSignal:m}=r(8315),{getHighWaterMark:v,getDefaultHighWaterMark:b}=r(867),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:S,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:O,ERR_UNKNOWN_ENCODING:A}=r(11).codes,{errorOrDestroy:C}=y;function R(){}l(D.prototype,p.prototype),l(D,p);const P=f("kOnFinished");function j(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(9858)),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?v(this,e,"writableHighWaterMark",n):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,N(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function N(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function D(e){const t=this instanceof r(9858);if(!t&&!a(D,this))return new D(e);this._writableState=new j(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),p.call(this,e),y.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),Y(this,e)})}function I(e,t,r,i){const o=e._writableState;if("function"==typeof r)i=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!g.isEncoding(r))throw new A(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=R)}if(null===t)throw new k;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=g.from(t,r),r="buffer");else if(t instanceof g)r="buffer";else{if(!p._isUint8Array(t))throw new w("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}let a;return o.ending?a=new O:o.destroyed&&(a=new E("write")),a?(n.nextTick(i,a),C(e,a,!0),a):(o.pendingcb++,function(e,t,r,n,i){const o=t.objectMode?1:r.length;t.length+=o;const a=t.length<t.highWaterMark;a||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&i!==R&&(t.allNoop=!1)):(t.writelen=o,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return a&&!t.errored&&!t.destroyed}(e,o,t,r,i))}function L(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function M(e,t,r,n){--t.pendingcb,n(r),U(t),C(e,r)}function F(e,t){const r=e._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?n.nextTick(M,e,r,t,o):M(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&W(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick(B,r.afterWriteTickInfo)):V(e,r,1,o))):C(e,new S)}function B({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,V(e,t,r,n)}function V(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&U(t),Y(e,t)}function U(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:i}=e.buffered[r],o=e.objectMode?1:n.length;e.length-=o,i(null!==(t=e.errored)&&void 0!==t?t:new E("write"))}const r=e[P].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&void 0!==n?n:new E("end"))}N(e)}function W(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=t,a=r.length-n;if(!a)return;let s=n;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const n=t.allNoop?R:e=>{for(let t=s;t<r.length;++t)r[t].callback(e)},o=t.allNoop&&0===s?r:i(r,s);o.allBuffers=t.allBuffers,L(e,t,!0,t.length,o,"",n),N(t)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;L(e,t,!1,o?1:n.length,n,i,a)}while(s<r.length&&!t.writing);s===r.length?N(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function H(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function $(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)C(e,null!=i?i:S());else if(r=!0,t.pendingcb--,i){const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e](i);C(e,i,t.sync)}else H(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(G,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function Y(e,t,r){H(t)&&($(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{H(t)?G(e,t):t.pendingcb--},e,t)):H(t)&&(t.pendingcb++,G(e,t))))}function G(e,t){t.pendingcb--,t.finished=!0;const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}j.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(j.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(D,d,{__proto__:null,value:function(e){return!!a(this,e)||this===D&&(e&&e._writableState instanceof j)}}),D.prototype.pipe=function(){C(this,new x)},D.prototype.write=function(e,t,r){return!0===I(this,e,t,r)},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||W(this,e))},D.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!g.isEncoding(e))throw new A(e);return this._writableState.defaultEncoding=e,this},D.prototype._write=function(e,t,r){if(!this._writev)throw new _("_write()");this._writev([{chunk:e,encoding:t}],r)},D.prototype._writev=null,D.prototype.end=function(e,t,r){const i=this._writableState;let a;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e){const r=I(this,e,t);r instanceof o&&(a=r)}return i.corked&&(i.corked=1,this.uncork()),a||(i.errored||i.ending?i.finished?a=new T("end"):i.destroyed&&(a=new E("end")):(i.ending=!0,Y(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[P].push(r)),this},u(D.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const q=y.destroy;let z;function X(){return void 0===z&&(z={}),z}D.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[P].length)&&n.nextTick(U,r),q.call(this,e,t),this},D.prototype._undestroy=y.undestroy,D.prototype._destroy=function(e,t){t(e)},D.prototype[h.captureRejectionSymbol]=function(e){this.destroy(e)},D.fromWeb=function(e,t){return X().newStreamWritableFromWritableStream(e,t)},D.toWeb=function(e){return X().newWritableStreamFromStreamWritable(e)}},492:(e,t,r)=>{"use strict";var n=r(6584),i=r(4471).map;n({target:"Array",proto:!0,forced:!r(3647)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},605:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(5521),i=r.n(n),o=r(6170),a=r.n(o),s=r(6768),u=a()(i());u.i(s.A),u.push([e.id,".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.rdformsCard>.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}",""]);const l=u},611:(e,t,r)=>{"use strict";var n=r(6584),i=r(4471).find,o=r(5179),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),n({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlankNode=void 0;t.BlankNode=class{constructor(e){this.termType="BlankNode",this.value=e}equals(e){return!!e&&"BlankNode"===e.termType&&e.value===this.value}}},710:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},818:(e,t,r)=>{"use strict";var n=r(3861)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},839:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},867:(e,t,r)=>{"use strict";const{MathFloor:n,NumberIsInteger:i}=r(2990),{validateInteger:o}=r(7917),{ERR_INVALID_ARG_VALUE:a}=r(11).codes;let s=16384,u=16;function l(e){return e?u:s}e.exports={getHighWaterMark:function(e,t,r,o){const s=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=s){if(!i(s)||s<0){throw new a(o?`options.${r}`:"options.highWaterMark",s)}return n(s)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?u=t:s=t}}},962:(e,t,r)=>{"use strict";var n=r(2371),i=r(4077),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},973:(e,t,r)=>{"use strict";var n=r(5313),i=r(7527),o=r(8953),a=r(7423).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},983:e=>{"use strict";e.exports={}},994:(e,t,r)=>{"use strict";var n=r(9022),i=r(6772),o=r(3927),a=r(4470),s=r(1064),u=r(7709),l=r(3205),c=r(2161),f=r(8313),d=i&&i.prototype,h=u("species"),p=!1,g=o(n.PromiseRejectionEvent),y=a("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f)return!0;if(c&&(!d.catch||!d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||g)});e.exports={CONSTRUCTOR:y,REJECTION_EVENT:g,SUBCLASSING:p}},1059:(e,t,r)=>{"use strict";var n=r(9549),i=r(8620);e.exports=function(e){return n(i(e))}},1064:(e,t,r)=>{"use strict";var n=r(1550),i=r(3927),o=r(3907),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},1079:(e,t,r)=>{"use strict";var n=r(9899),i=r(2140),o=r(6547),a=r(9288),s=r(9336),u=r(7709),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=a(e,c);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},1125:(e,t,r)=>{"use strict";var n=r(9022),i=r(3927);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1145:(e,t,r)=>{"use strict";var n=r(6441).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},1178:(e,t,r)=>{"use strict";var n=r(1559),i=r(9899),o=r(1550),a=r(3970),s=r(1341),u=r(6817),l=r(3927),c=r(2140),f=r(1537),d=r(7656),h=r(5017),p=r(8620),g=r(7407),y=r(9288),m=r(8312),v=r(268),b=r(4032),w=r(7709)("replace"),_=Math.max,S=Math.min,x=o([].concat),E=o([].push),T=o("".indexOf),k=o("".slice),O=function(e){return void 0===e?e:String(e)},A="$0"==="a".replace(/./,"$0"),C=!!/./[w]&&""===/./[w]("a","$0");a("replace",function(e,t,r){var o=C?"$":"$0";return[function(e,r){var n=p(this),o=c(e)?y(e,w):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===T(i,o)&&-1===T(i,"$<")){var c=r(t,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,w=h(v(a)),A=-1!==T(w,"g");A&&(y=-1!==T(w,"u"),a.lastIndex=0);for(var C,R=[];null!==(C=b(a,s))&&(E(R,C),A);){""===h(C[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var P="",j=0,N=0;N<R.length;N++){for(var D,I=h((C=R[N])[0]),L=_(S(f(C.index),s.length),0),M=[],F=1;F<C.length;F++)E(M,O(C[F]));var B=C.groups;if(p){var V=x([I],M,L,s);void 0!==B&&E(V,B),D=h(n(i,void 0,V))}else D=m(I,s,L,M,B,i);L>=j&&(P+=k(s,j,L)+D,j=L+I.length)}return P+k(s,j)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!A||C)},1188:(e,t,r)=>{"use strict";var n=r(6461),i=r(7423);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},1267:(e,t,r)=>{"use strict";var n=r(2140);e.exports=function(e){return n(e)||null===e}},1282:e=>{"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},1325:(e,t,r)=>{"use strict";var n=r(4142),i=r(3927),o=r(6522),a=r(7709)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:u?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},1341:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},1374:(e,t,r)=>{"use strict";var n=r(4398),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=e[u];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==u++&&(e[s]=a)}else for(var l=i(r/2),c=o(n(e,0,l),t),f=o(n(e,l),t),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)e[p+g]=p<d&&g<h?t(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return e};e.exports=o},1378:(e,t,r)=>{"use strict";var n=r(7098),i=r(417).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},1428:(e,t,r)=>{"use strict";var n=r(1550),i=r(8620),o=r(5017),a=r(1282),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(e){return function(t){var r=o(i(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,l,"$1")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},1454:(e,t,r)=>{"use strict";var n=r(4745);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1471:(e,t,r)=>{"use strict";var n=r(8620),i=Object;e.exports=function(e){return i(n(e))}},1537:(e,t,r)=>{"use strict";var n=r(4627);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},1539:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},1550:(e,t,r)=>{"use strict";var n=r(5502),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},1555:(e,t,r)=>{"use strict";var n=r(1550),i=r(9110),o=r(3927),a=r(6522),s=r(5017),u=n([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,r=[],n=0;n<t;n++){var l=e[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(i(this))return t;for(var n=0;n<c;n++)if(r[n]===e)return t}}}},1559:(e,t,r)=>{"use strict";var n=r(5502),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},1581:(e,t,r)=>{"use strict";var n=r(3132),i=r(2140),o=r(8620),a=r(8808);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},1726:(e,t,r)=>{"use strict";var n=r(1550),i=0,o=Math.random(),a=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},1784:(e,t,r)=>{"use strict";var n=r(9022),i=r(3927),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1812:(e,t,r)=>{"use strict";var n=r(6584),i=r(1471),o=r(1924),a=r(1537),s=r(3228),u=r(3962),l=r(839),c=r(5019),f=r(2378),d=r(6136),h=r(3647)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,n,h,y,m,v,b=i(this),w=s(b),_=o(e,w),S=arguments.length;for(0===S?r=n=0:1===S?(r=0,n=w-_):(r=S-2,n=g(p(a(t),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(m=_+y)in b&&f(h,y,b[m]);if(h.length=n,r<n){for(y=_;y<w-n;y++)v=y+r,(m=y+n)in b?b[v]=b[m]:d(b,v);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)v=y+r-1,(m=y+n-1)in b?b[v]=b[m]:d(b,v);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},1924:(e,t,r)=>{"use strict";var n=r(1537),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},2033:(e,t,r)=>{"use strict";var n=r(6584),i=r(7890),o=r(9022),a=r(1550),s=r(7527),u=r(3927),l=r(4531),c=r(5017),f=r(1188),d=r(2594),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=l(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(g[t]=!0),t};d(y,h),y.prototype=p,p.constructor=y;var m="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),S=a("".slice);f(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(g,e))return"";var t=b(e),r=m?S(t,7,-1):_(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},2047:(e,t,r)=>{"use strict";var n=r(6817),i=r(962),o=r(4395),a=r(7709)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},2061:(e,t,r)=>{"use strict";var n=r(4471).forEach,i=r(4012)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},2106:(e,t,r)=>{"use strict";var n=r(9022),i=r(7198),o=r(818),a=r(2061),s=r(257),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},2140:(e,t,r)=>{"use strict";var n=r(3927);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2161:e=>{"use strict";e.exports=!1},2266:(e,t,r)=>{"use strict";var n=r(6584),i=r(1125),o=r(2161),a=r(6772),s=r(994).CONSTRUCTOR,u=r(8728),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},2305:(e,t,r)=>{"use strict";const{pipeline:n}=r(5046),i=r(9858),{destroyer:o}=r(5296),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=r(91),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:g}}=r(11),y=r(38);e.exports=function(...e){if(0===e.length)throw new g("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||l(e[r])){if(r<e.length-1&&!(s(e[r])||d(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(u(e[r])||f(e[r])||c(e[r])))throw new p(`streams[${r}]`,t[r],"must be writable")}let r,m,v,b,w;const _=e[0],S=n(e,function(e){const t=b;b=null,t?t(e):e?w.destroy(e):E||x||w.destroy()}),x=!!(u(_)||f(_)||c(_)),E=!!(s(S)||d(S)||c(S));if(w=new i({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==S||!S.readableObjectMode),writable:x,readable:E}),x){if(a(_))w._write=function(e,t,n){_.write(e,t)?n():r=n},w._final=function(e){_.end(),m=e},_.on("drain",function(){if(r){const e=r;r=null,e()}});else if(l(_)){const e=(c(_)?_.writable:_).getWriter();w._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},w._final=async function(t){try{await e.ready,e.close().catch(()=>{}),m=t}catch(e){t(e)}}}const e=c(S)?S.readable:S;y(e,()=>{if(m){const e=m;m=null,e()}})}if(E)if(a(S))S.on("readable",function(){if(v){const e=v;v=null,e()}}),S.on("end",function(){w.push(null)}),w._read=function(){for(;;){const e=S.read();if(null===e)return void(v=w._read);if(!w.push(e))return}};else if(l(S)){const e=(c(S)?S.readable:S).getReader();w._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!w.push(t))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(e,t){e||null===b||(e=new h),v=null,r=null,m=null,null===b?t(e):(b=t,a(S)&&o(S,e))},w}},2358:(e,t,r)=>{"use strict";var n,i=r(6817),o=r(9699),a=r(417),s=r(983),u=r(6207),l=r(3861),c=r(9853),f="prototype",d="script",h=c("IE_PROTO"),p=function(){},g=function(e){return"<"+d+">"+e+"</"+d+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?y(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):y(n);for(var i=a.length;i--;)delete m[f][a[i]];return m()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[h]=e):r=m(),void 0===t?r:o.f(r,t)}},2371:(e,t,r)=>{"use strict";var n=r(1550),i=r(1341),o=r(3927),a=r(1325),s=r(1125),u=r(1064),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(e){if(!o(e))return!1;try{return c(l,[],e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},2378:(e,t,r)=>{"use strict";var n=r(7890),i=r(7423),o=r(3382);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},2441:(e,t,r)=>{"use strict";var n=r(4531),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},2507:(e,t,r)=>{"use strict";var n=r(6584),i=r(8928);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},2529:(e,t,r)=>{"use strict";r(973)("iterator")},2556:(e,t,r)=>{"use strict";var n=r(1341),i=r(9022).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},2575:(e,t,r)=>{"use strict";var n,i,o,a=r(1341),s=r(3927),u=r(2140),l=r(2358),c=r(6369),f=r(6950),d=r(7709),h=r(2161),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=l(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},2594:(e,t,r)=>{"use strict";var n=r(7527),i=r(9213),o=r(5613),a=r(7423);e.exports=function(e,t,r){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||u(e,f,l(t,f))}}},2605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultGraph=void 0;class r{constructor(){this.termType="DefaultGraph",this.value=""}equals(e){return!!e&&"DefaultGraph"===e.termType}}t.DefaultGraph=r,r.INSTANCE=new r},2658:(e,t,r)=>{"use strict";var n=r(6584),i=r(7527),o=r(6547),a=r(4077),s=r(7987),u=r(1454),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(l,e))return l[e]}})},2678:(e,t,r)=>{"use strict";var n=r(1059),i=r(5179),o=r(6779),a=r(2727),s=r(7423).f,u=r(4466),l=r(7899),c=r(2161),f=r(7890),d="Array Iterator",h=a.set,p=a.getterFor(d);e.exports=u(Array,"Array",function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},2727:(e,t,r)=>{"use strict";var n,i,o,a=r(1784),s=r(9022),u=r(2140),l=r(257),c=r(7527),f=r(3907),d=r(9853),h=r(983),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},o=function(e){return m.has(e)}}else{var v=d("state");h[v]=!0,n=function(e,t){if(c(e,v))throw new g(p);return t.facade=e,l(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},2742:(e,t,r)=>{"use strict";var n=r(4750),i=r(9899),o=r(6817),a=r(4077),s=r(3983),u=r(3228),l=r(4531),c=r(8147),f=r(4989),d=r(6125),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,v,b,w,_,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(t,x),C=function(e){return y&&d(y,"normal"),new p(!0,e)},R=function(e){return E?(o(e),O?A(e[0],e[1],C):A(e[0],e[1])):O?A(e,C):A(e)};if(T)y=e.iterator;else if(k)y=e;else{if(!(m=f(e)))throw new h(a(e)+" is not iterable");if(s(m)){for(v=0,b=u(e);b>v;v++)if((w=R(e[v]))&&l(g,w))return w;return new p(!1)}y=c(e,m)}for(_=T?e.next:y.next;!(S=i(_,y)).done;){try{w=R(S.value)}catch(e){d(y,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},2822:(e,t,r)=>{"use strict";var n=r(2140),i=r(6522),o=r(7709)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},2838:(e,t,r)=>{"use strict";var n,i,o,a,s=r(6584),u=r(2161),l=r(8579),c=r(9022),f=r(5313),d=r(9899),h=r(6950),p=r(1581),g=r(3977),y=r(8175),m=r(8316),v=r(3927),b=r(2140),w=r(2441),_=r(2047),S=r(9523).set,x=r(4277),E=r(9183),T=r(9029),k=r(6615),O=r(2727),A=r(6772),C=r(994),R=r(4417),P="Promise",j=C.CONSTRUCTOR,N=C.REJECTION_EVENT,D=C.SUBCLASSING,I=O.getterFor(P),L=O.set,M=A&&A.prototype,F=A,B=M,V=c.TypeError,U=c.document,W=c.process,H=R.f,$=H,Y=!!(U&&U.createEvent&&c.dispatchEvent),G="unhandledrejection",q=function(e){var t;return!(!b(e)||!v(t=e.then))&&t},z=function(e,t){var r,n,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&K(t),t.rejection=1),!0===s?r=o:(c&&c.enter(),r=s(o),c&&(c.exit(),i=!0)),r===e.promise?l(new V("Promise-chain cycle")):(n=q(r))?d(n,r,u,l):u(r)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},X=function(e,t){e.notified||(e.notified=!0,x(function(){for(var r,n=e.reactions;r=n.get();)z(r,e);e.notified=!1,t&&!e.rejection&&Z(e)}))},Q=function(e,t,r){var n,i;Y?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!N&&(i=c["on"+e])?i(n):e===G&&E("Unhandled promise rejection",r)},Z=function(e){d(S,c,function(){var t,r=e.facade,n=e.value;if(J(e)&&(t=T(function(){l?W.emit("unhandledRejection",n,r):Q(G,r,n)}),e.rejection=l||J(e)?2:1,t.error))throw t.value})},J=function(e){return 1!==e.rejection&&!e.parent},K=function(e){d(S,c,function(){var t=e.facade;l?W.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},te=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,X(e,!0))},re=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new V("Promise can't be resolved itself");var n=q(t);n?x(function(){var r={done:!1};try{d(n,t,ee(re,r,e),ee(te,r,e))}catch(t){te(r,t,e)}}):(e.value=t,e.state=1,X(e,!1))}catch(t){te({done:!1},t,e)}}};if(j&&(B=(F=function(e){w(this,B),m(e),d(n,this);var t=I(this);try{e(ee(re,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(n=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:null})}).prototype=h(B,"then",function(e,t){var r=I(this),n=H(_(this,F));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=l?W.domain:void 0,0===r.state?r.reactions.add(n):x(function(){z(n,r)}),n.promise}),i=function(){var e=new n,t=I(e);this.promise=e,this.resolve=ee(re,t),this.reject=ee(te,t)},R.f=H=function(e){return e===F||e===o?new i(e):$(e)},!u&&v(A)&&M!==Object.prototype)){a=M.then,D||h(M,"then",function(e,t){var r=this;return new F(function(e,t){d(a,r,e,t)}).then(e,t)},{unsafe:!0});try{delete M.constructor}catch(e){}p&&p(M,B)}s({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:F}),o=f.Promise,g(F,P,!1,!0),y(P)},2839:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(9799),t)},2840:(e,t,r)=>{"use strict";const n=r(4686),{format:i,inspect:o}=r(8215),{codes:{ERR_INVALID_ARG_TYPE:a}}=r(11),{kResistStopPropagation:s,AggregateError:u,SymbolDispose:l}=r(2990),c=globalThis.AbortSignal||r(9208).AbortSignal,f=globalThis.AbortController||r(9208).AbortController,d=Object.getPrototypeOf(async function(){}).constructor,h=globalThis.Blob||n.Blob,p=void 0!==h?function(e){return e instanceof h}:function(e){return!1},g=(e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new a(t,"AbortSignal",e)};e.exports={AggregateError:u,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}},promisify:e=>new Promise((t,r)=>{e((e,...n)=>e?r(e):t(...n))}),debuglog:()=>function(){},format:i,inspect:o,types:{isAsyncFunction:e=>e instanceof d,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:p,deprecate:(e,t)=>e,addAbortListener:r(9784).addAbortListener||function(e,t){if(void 0===e)throw new a("signal","AbortSignal",e);let r;return g(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new a(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[s]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[l](){var e;null===(e=r)||void 0===e||e()}}},AbortSignalAny:c.any||function(e){if(1===e.length)return e[0];const t=new f,r=()=>t.abort();return e.forEach(e=>{g(e,"signals"),e.addEventListener("abort",r,{once:!0})}),t.signal.addEventListener("abort",()=>{e.forEach(e=>e.removeEventListener("abort",r))},{once:!0}),t.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},2990:e=>{"use strict";class t extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}e.exports={AggregateError:t,ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean,Uint8Array}},3098:(e,t,r)=>{"use strict";var n=r(7423).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},3132:(e,t,r)=>{"use strict";var n=r(1550),i=r(8316);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},3151:(e,t,r)=>{"use strict";var n=r(9022),i=r(7890),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},3205:(e,t,r)=>{"use strict";var n=r(9022),i=r(6441),o=r(6522),a=function(e){return i.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},3225:(e,t,r)=>{"use strict";var n=r(6584),i=r(1341),o=r(1471),a=r(6369),s=r(9157);n({target:"Object",stat:!0,forced:i(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},3228:(e,t,r)=>{"use strict";var n=r(7656);e.exports=function(e){return n(e.length)}},3267:(e,t,r)=>{"use strict";var n=r(7924).PROPER,i=r(6950),o=r(6817),a=r(5017),s=r(1341),u=r(268),l="toString",c=RegExp.prototype,f=c[l],d=s(function(){return"/a/b"!==f.call({source:"a",flags:"b"})}),h=n&&f.name!==l;(d||h)&&i(c,l,function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))},{unsafe:!0})},3294:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"},3338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataFactory=void 0;const n=r(654),i=r(2605),o=r(135),a=r(6913),s=r(421),u=r(5826);let l=0;t.DataFactory=class{constructor(e){this.blankNodeCounter=0,e=e||{},this.blankNodePrefix=e.blankNodePrefix||`df_${l++}_`}namedNode(e){return new a.NamedNode(e)}blankNode(e){return new n.BlankNode(e||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(e,t){return new o.Literal(e,t)}variable(e){return new u.Variable(e)}defaultGraph(){return i.DefaultGraph.INSTANCE}quad(e,t,r,n){return new s.Quad(e,t,r,n||this.defaultGraph())}fromTerm(e){switch(e.termType){case"NamedNode":return this.namedNode(e.value);case"BlankNode":return this.blankNode(e.value);case"Literal":return e.language?this.literal(e.value,e.language):e.datatype.equals(o.Literal.XSD_STRING)?this.literal(e.value):this.literal(e.value,this.fromTerm(e.datatype));case"Variable":return this.variable(e.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(e.subject),this.fromTerm(e.predicate),this.fromTerm(e.object),this.fromTerm(e.graph))}}fromQuad(e){return this.fromTerm(e)}resetBlankNodeCounter(){this.blankNodeCounter=0}}},3376:(e,t,r)=>{"use strict";const n=r(8558),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:s,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:f,SafeSet:d,SymbolAsyncDispose:h,SymbolAsyncIterator:p,Symbol:g}=r(2990);e.exports=q,q.ReadableState=G;const{EventEmitter:y}=r(9784),{Stream:m,prependListener:v}=r(8027),{Buffer:b}=r(4686),{addAbortSignal:w}=r(8315),_=r(38);let S=r(2840).debuglog("stream",e=>{S=e});const x=r(7153),E=r(5296),{getHighWaterMark:T,getDefaultHighWaterMark:k}=r(867),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_OUT_OF_RANGE:R,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:j},AbortError:N}=r(11),{validateObject:D}=r(7917),I=g("kPaused"),{StringDecoder:L}=r(4105),M=r(3660);c(q.prototype,m.prototype),c(q,m);const F=()=>{},{errorOrDestroy:B}=E,V=1,U=16,W=32,H=2048,$=4096;function Y(e){return{enumerable:!1,get(){return 0!==(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function G(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(9858)),this.state=H|$|U|W,e&&e.objectMode&&(this.state|=V),n&&e&&e.readableObjectMode&&(this.state|=V),this.highWaterMark=e?T(this,e,"readableHighWaterMark",n):k(!1),this.buffer=new x,this.length=0,this.pipes=[],this.flowing=null,this[I]=null,e&&!1===e.emitClose&&(this.state&=~H),e&&!1===e.autoDestroy&&(this.state&=~$),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new L(e.encoding),this.encoding=e.encoding)}function q(e){if(!(this instanceof q))return new q(e);const t=this instanceof r(9858);this._readableState=new G(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&w(e.signal,this)),m.call(this,e),E.construct(this,()=>{this._readableState.needReadable&&K(this,this._readableState)})}function z(e,t,r,n){S("readableAddChunk",t);const i=e._readableState;let o;if(0===(i.state&V)&&("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=b.from(t,r).toString(i.encoding):(t=b.from(t,r),r=""))):t instanceof b?r="":m._isUint8Array(t)?(t=m._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new A("chunk",["string","Buffer","Uint8Array"],t))),o)B(e,o);else if(null===t)i.state&=-9,function(e,t){if(S("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Z(e):(t.needReadable=!1,t.emittedReadable=!0,J(e))}(e,i);else if(0!==(i.state&V)||t&&t.length>0)if(n)if(4&i.state)B(e,new j);else{if(i.destroyed||i.errored)return!1;X(e,i,t,!0)}else if(i.ended)B(e,new P);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?X(e,i,t,!1):K(e,i)):X(e,i,t,!1)}else n||(i.state&=-9,K(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function X(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(65536&t.state?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),64&t.state&&Z(e)),K(e,t)}u(G.prototype,{objectMode:Y(V),ended:Y(2),endEmitted:Y(4),reading:Y(8),constructed:Y(U),sync:Y(W),needReadable:Y(64),emittedReadable:Y(128),readableListening:Y(256),resumeScheduled:Y(512),errorEmitted:Y(1024),emitClose:Y(H),autoDestroy:Y($),destroyed:Y(8192),closed:Y(16384),closeEmitted:Y(32768),multiAwaitDrain:Y(65536),readingMore:Y(1<<17),dataEmitted:Y(1<<18)}),q.prototype.destroy=E.destroy,q.prototype._undestroy=E.undestroy,q.prototype._destroy=function(e,t){t(e)},q.prototype[y.captureRejectionSymbol]=function(e){this.destroy(e)},q.prototype[h]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new N,this.destroy(e)),new f((t,r)=>_(this,n=>n&&n!==e?r(n):t(null)))},q.prototype.push=function(e,t){return z(this,e,t,!1)},q.prototype.unshift=function(e,t){return z(this,e,t,!0)},q.prototype.isPaused=function(){const e=this._readableState;return!0===e[I]||!1===e.flowing},q.prototype.setEncoding=function(e){const t=new L(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function Q(e,t){return e<=0||0===t.length&&t.ended?0:0!==(t.state&V)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Z(e){const t=e._readableState;S("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(S("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(J,e))}function J(e){const t=e._readableState;S("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ie(e)}function K(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(ee,e,t))}function ee(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(S("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function te(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[I]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function re(e){S("readable nexttick read 0"),e.read(0)}function ne(e,t){S("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ie(e),t.flowing&&!t.reading&&e.read(0)}function ie(e){const t=e._readableState;for(S("flow",t.flowing);t.flowing&&null!==e.read(););}function oe(e,t){"function"!=typeof e.read&&(e=q.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=F;function i(t){this===e?(n(),n=F):n=t}e.on("readable",i);const o=_(e,{writable:!1},e=>{r=e?O(r,e):null,n(),n=F});try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(e){throw r=O(r,e),r}finally{!r&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==r&&!e._readableState.autoDestroy?(e.off("readable",i),o()):E.destroyer(e,null)}}(e,t);return r.stream=e,r}function ae(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function se(e){const t=e._readableState;S("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ue,t,e))}function ue(e,t){if(S("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(le,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function le(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ce;function fe(){return void 0===ce&&(ce={}),ce}q.prototype.read=function(e){S("read",e),void 0===e?e=NaN:o(e)||(e=s(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new R("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return S("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?se(this):Z(this),null;if(0===(e=Q(e,t))&&t.ended)return 0===t.length&&se(this),null;let n,i=!!(64&t.state);if(S("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,S("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,S("reading, ended or constructing",i);else if(i){S("do read"),t.state|=8|W,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){B(this,e)}t.state&=~W,t.reading||(e=Q(r,t))}return n=e>0?ae(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&se(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},q.prototype._read=function(e){throw new C("_read()")},q.prototype.pipe=function(e,t){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),S("pipe count=%d opts=%j",i.pipes.length,t);const o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?s:y;function a(t,n){S("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){S("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),u&&e.removeListener("drain",u);e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),l=!0,u&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function s(){S("onend"),e.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let l=!1;function c(){l||(1===i.pipes.length&&i.pipes[0]===e?(S("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(S("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),u||(u=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(S("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(S("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",u))}function f(t){S("ondata");const r=e.write(t);S("dest.write",r),!1===r&&c()}function h(t){if(S("onerror",t),y(),e.removeListener("error",h),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?B(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",g),y()}function g(){S("onfinish"),e.removeListener("close",p),y()}function y(){S("unpipe"),r.unpipe(e)}return r.on("data",f),v(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),!0===e.writableNeedDrain?c():i.flowing||(S("pipe resume"),r.resume()),e},q.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},q.prototype.on=function(e,t){const r=m.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,S("on readable",i.length,i.reading),i.length?Z(this):i.reading||n.nextTick(re,this))),r},q.prototype.addListener=q.prototype.on,q.prototype.removeListener=function(e,t){const r=m.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(te,this),r},q.prototype.off=q.prototype.removeListener,q.prototype.removeAllListeners=function(e){const t=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(te,this),t},q.prototype.resume=function(){const e=this._readableState;return e.flowing||(S("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(ne,e,t))}(this,e)),e[I]=!1,this},q.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[I]=!0,this},q.prototype.wrap=function(e){let t=!1;e.on("data",r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",e=>{B(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=l(e);for(let t=1;t<r.length;t++){const n=r[t];void 0===this[n]&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},q.prototype[p]=function(){return oe(this)},q.prototype.iterator=function(e){return void 0!==e&&D(e,"options"),oe(this,e)},u(q.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(G.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[I]},set(e){this[I]=!!e}}}),q._fromList=ae,q.from=function(e,t){return M(q,e,t)},q.fromWeb=function(e,t){return fe().newStreamReadableFromReadableStream(e,t)},q.toWeb=function(e,t){return fe().newReadableStreamFromStreamReadable(e,t)},q.wrap=function(e,t){var r,n;return new q({objectMode:null===(r=null!==(n=e.readableObjectMode)&&void 0!==n?n:e.objectMode)||void 0===r||r,...t,destroy(t,r){E.destroyer(e,t),r(t)}}).wrap(e)}},3382:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3406:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},3445:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},3545:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(3787),t)},3647:(e,t,r)=>{"use strict";var n=r(1341),i=r(7709),o=r(8313),a=i("species");e.exports=function(e){return o>=51||!n(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},3653:(e,t,r)=>{"use strict";var n=r(6584),i=r(151).includes,o=r(1341),a=r(5179);n({target:"Array",proto:!0,forced:o(function(){return!Array(1).includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3660:(e,t,r)=>{"use strict";const n=r(8558),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=r(2990),{Buffer:s}=r(4686),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(11).codes;e.exports=function(e,t,r){let c,f;if("string"==typeof t||t instanceof s)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[o])f=!0,c=t[o]();else{if(!t||!t[a])throw new u("iterable",["Iterable"],t);f=!1,c=t[a]()}const d=new e({objectMode:!0,highWaterMark:1,...r});let h=!1;return d._read=function(){h||(h=!0,async function(){for(;;){try{const{value:e,done:t}=f?await c.next():c.next();if(t)d.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw h=!1,new l;if(d.push(t))continue;h=!1}}catch(e){d.destroy(e)}break}}())},d._destroy=function(e,t){i(async function(e){const t=null!=e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),()=>n.nextTick(t,e),r=>n.nextTick(t,r||e))},d}},3662:(e,t,r)=>{"use strict";var n=r(7709)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},3687:(e,t,r)=>{"use strict";var n=r(9022),i=r(1341),o=n.RegExp,a=!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n});e.exports={correct:a}},3698:(e,t,r)=>{"use strict";var n=r(6441);e.exports=/web0s(?!.*chrome)/i.test(n)},3703:(e,t,r)=>{"use strict";var n=r(9899),i=r(1550),o=r(3970),a=r(6817),s=r(2140),u=r(7656),l=r(5017),c=r(8620),f=r(9288),d=r(7407),h=r(268),p=r(4032),g=i("".indexOf);o("match",function(e,t,r){return[function(t){var r=c(this),i=s(t)?f(t,e):void 0;return i?n(i,t,r):new RegExp(t)[e](l(r))},function(e){var n=a(this),i=l(e),o=r(t,n,i);if(o.done)return o.value;var s=l(h(n));if(-1===g(s,"g"))return p(n,i);var c=-1!==g(s,"u");n.lastIndex=0;for(var f,y=[],m=0;null!==(f=p(n,i));){var v=l(f[0]);y[m]=v,""===v&&(n.lastIndex=d(i,u(n.lastIndex),c)),m++}return 0===m?null:y}]})},3726:(e,t,r)=>{"use strict";var n=r(7869).charAt,i=r(5017),o=r(2727),a=r(4466),s=r(7899),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",function(e){l(this,{type:u,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},3779:(e,t,r)=>{"use strict";var n=r(6441);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3783:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateIri=t.IriValidationStrategy=void 0;const r=function(){const e="[!$&'()*+,;=]",t="%[a-fA-F0-9]{2}",r="([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",n=`${r}\\.${r}\\.${r}\\.${r}`,i="[a-fA-F0-9]{1,4}",o=`(${i}:${i}|${n})`,a="[a-zA-Z0-9\\-._~ -豈-﷏ﷰ-𐀀-𠀀-𰀀------------]",s=`(${a}|${t}|${e}|[:@])*`,u=`(${s})+`,l=`(${s})*`;return new RegExp(`^[a-zA-Z][a-zA-Z0-9+\\-.]*:${`(\\/\\/${`(${`(${a}|${t}|${e}|:)*`}@)?${`(${`\\[(${`((${i}:){6}${o}|::(${i}:){5}${o}|(${i})?::(${i}:){4}${o}|((${i}:){0,1}${i})?::(${i}:){3}${o}|((${i}:){0,2}${i})?::(${i}:){2}${o}|((${i}:){0,3}${i})?::${i}:${o}|((${i}:){0,4}${i})?::${o}|((${i}:){0,5}${i})?::${i}|((${i}:){0,6}${i})?::)`}|${`v[a-fA-F0-9]+\\.(${e}|${e}|":)+`})\\]`}|${n}|${`(${a}|${t}|${e})*`})`}(:[0-9]*)?`}${`(\\/${l})*`}|${`\\/(${u}(\\/${l})*)?`}|${`${u}(\\/${l})*`}|)`}(\\?${`(${s}|[---]|[\\/?])*`})?(#${`(${s}|[\\/?])*`})?$`,"u")}(),n=/^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;var i;!function(e){e.Strict="strict",e.Pragmatic="pragmatic",e.None="none"}(i=t.IriValidationStrategy||(t.IriValidationStrategy={})),t.validateIri=function(e,t=i.Strict){switch(t){case i.Strict:return r.test(e)?void 0:new Error(`Invalid IRI according to RFC 3987: '${e}'`);case i.Pragmatic:return n.test(e)?void 0:new Error(`Invalid IRI according to RDF Turtle: '${e}'`);case i.None:return;default:return new Error(`Not supported validation strategy "${t}"`)}}},3812:(e,t,r)=>{"use strict";var n=r(6584),i=r(9110),o=r(2371),a=r(2140),s=r(1924),u=r(3228),l=r(1059),c=r(2378),f=r(7709),d=r(3647),h=r(4398),p=d("slice"),g=f("species"),y=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,f,d=l(this),p=u(d),v=s(e,p),b=s(void 0===t?p:t,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,v,b);for(n=new(void 0===r?y:r)(m(b-v,0)),f=0;v<b;v++,f++)v in d&&c(n,f,d[v]);return n.length=f,n}})},3858:(e,t,r)=>{"use strict";var n=r(6584),i=r(4471).filter;n({target:"Array",proto:!0,forced:!r(3647)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},3861:(e,t,r)=>{"use strict";var n=r(9022),i=r(2140),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},3886:(e,t,r)=>{"use strict";var n=r(7527),i=r(6950),o=r(8042),a=r(7709)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},3900:(e,t,r)=>{"use strict";var n=r(7890),i=r(1341);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3907:(e,t,r)=>{"use strict";var n=r(2161),i=r(9022),o=r(4267),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3927:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3961:(e,t,r)=>{"use strict";var n=r(6817),i=r(6125);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},3962:(e,t,r)=>{"use strict";var n=r(7890),i=r(9110),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},3970:(e,t,r)=>{"use strict";r(4910);var n=r(9899),i=r(6950),o=r(9221),a=r(1341),s=r(7709),u=r(257),l=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var d=s(e),h=!a(function(){var t={};return t[d]=function(){return 7},7!==""[e](t)}),p=h&&!a(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t});if(!h||!p||r){var g=/./[d],y=t(d,""[e],function(e,t,r,i,a){var s=t.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},3977:(e,t,r)=>{"use strict";var n=r(7423).f,i=r(7527),o=r(7709)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},3983:(e,t,r)=>{"use strict";var n=r(7709),i=r(6779),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},4012:(e,t,r)=>{"use strict";var n=r(1341);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},4017:(e,t,r)=>{"use strict";var n=r(3927),i=r(2140),o=r(1581);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},4032:(e,t,r)=>{"use strict";var n=r(9899),i=r(6817),o=r(3927),a=r(6522),s=r(9221),u=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},4077:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4104:(e,t,r)=>{"use strict";r(2838),r(4333),r(6709),r(8917),r(51),r(2266)},4105:(e,t,r)=>{"use strict";var n=r(6671).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},4142:(e,t,r)=>{"use strict";var n={};n[r(7709)("toStringTag")]="z",e.exports="[object z]"===String(n)},4175:(e,t,r)=>{"use strict";const n=globalThis.AbortController||r(9208).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=r(11),{validateAbortSignal:l,validateInteger:c,validateObject:f}=r(7917),d=r(2990).Symbol("kWeak"),h=r(2990).Symbol("kResistStopPropagation"),{finished:p}=r(38),g=r(2305),{addAbortSignalNoValidate:y}=r(8315),{isWritable:m,isNodeStream:v}=r(91),{deprecate:b}=r(2840),{ArrayPrototypePush:w,Boolean:_,MathFloor:S,Number:x,NumberIsNaN:E,Promise:T,PromiseReject:k,PromiseResolve:O,PromisePrototypeThen:A,Symbol:C}=r(2990),R=C("kEmpty"),P=C("kEof");function j(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");let n=1;null!=(null==t?void 0:t.concurrency)&&(n=S(t.concurrency));let i=n-1;return null!=(null==t?void 0:t.highWaterMark)&&(i=S(t.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const o=r(2840).AbortSignalAny([null==t?void 0:t.signal].filter(_)),a=this,s=[],l={signal:o};let c,f,d=!1,h=0;function p(){d=!0,g()}function g(){h-=1,y()}function y(){f&&!d&&h<n&&s.length<i&&(f(),f=null)}!async function(){try{for await(let t of a){if(d)return;if(o.aborted)throw new u;try{if(t=e(t,l),t===R)continue;t=O(t)}catch(e){t=k(e)}h+=1,A(t,g,p),s.push(t),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(e=>{f=e})}s.push(P)}catch(e){const t=k(e);A(t,g,p),s.push(t)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const e=await s[0];if(e===P)return;if(o.aborted)throw new u;e!==R&&(yield e),s.shift(),y()}await new T(e=>{c=e})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function N(e,t=void 0){for await(const r of D.call(this,e,t))return!0;return!1}function D(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return j.call(this,async function(t,r){return await e(t,r)?t:R},t)}class I extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=x(e),E(e))return 0;if(e<0)throw new s("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:b(function(e=void 0){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u({cause:e.signal.reason});yield[t++,n]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;e--<=0&&(yield r)}}.call(this)},filter:D,flatMap:function(e,t){const r=j.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:j,take:function(e,t=void 0){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new u;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),v(e)&&!m(e))throw new i("stream",e,"must be writable");const r=g(this,e);return null!=t&&t.signal&&y(t.signal,r),r}},e.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await N.call(this,async(...t)=>!await e(...t),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const r of j.call(this,async function(t,r){return await e(t,r),R},t));},reduce:async function(e,t,r){var i;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=r&&f(r,"options"),null!=(null==r?void 0:r.signal)&&l(r.signal,"options.signal");let a=arguments.length>1;if(null!=r&&null!==(i=r.signal)&&void 0!==i&&i.aborted){const e=new u(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(e)),e}const s=new n,c=s.signal;if(null!=r&&r.signal){const e={once:!0,[d]:this,[h]:!0};r.signal.addEventListener("abort",()=>s.abort(),e)}let g=!1;try{for await(const n of this){var y;if(g=!0,null!=r&&null!==(y=r.signal)&&void 0!==y&&y.aborted)throw new u;a?t=await e(t,n,{signal:c}):(t=n,a=!0)}if(!g&&!a)throw new I}finally{s.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u(void 0,{cause:e.signal.reason});w(t,n)}return t},some:N,find:async function(e,t){for await(const r of D.call(this,e,t))return r}}},4192:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(654),t),i(r(3338),t),i(r(2605),t),i(r(135),t),i(r(6913),t),i(r(421),t),i(r(5826),t)},4267:(e,t,r)=>{"use strict";var n=r(9022),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},4277:(e,t,r)=>{"use strict";var n,i,o,a,s,u=r(9022),l=r(3151),c=r(4750),f=r(9523).set,d=r(6615),h=r(5150),p=r(3779),g=r(3698),y=r(8579),m=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var S=new d,x=function(){var e,t;for(y&&(e=b.domain)&&e.exit();t=S.get();)try{t()}catch(e){throw S.head&&n(),e}e&&e.enter()};h||y||g||!m||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(x)}):y?n=function(){b.nextTick(x)}:(f=c(f,u),n=function(){f(x)}):(i=!0,o=v.createTextNode(""),new m(x).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(e){S.head||n(),S.add(e)}}e.exports=_},4333:(e,t,r)=>{"use strict";var n=r(6584),i=r(9899),o=r(8316),a=r(4417),s=r(9029),u=r(2742);n({target:"Promise",stat:!0,forced:r(9339)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,c=s(function(){var r=o(t.resolve),a=[],s=0,c=1;u(e,function(e){var o=s++,u=!1;c++,i(r,t,e).then(function(e){u||(u=!0,a[o]=e,--c||n(a))},l)}),--c||n(a)});return c.error&&l(c.value),r.promise}})},4395:e=>{"use strict";e.exports=function(e){return null==e}},4398:(e,t,r)=>{"use strict";var n=r(1550);e.exports=n([].slice)},4417:(e,t,r)=>{"use strict";var n=r(8316),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},4452:(e,t,r)=>{"use strict";var n=r(6584),i=r(1341),o=r(9110),a=r(2140),s=r(1471),u=r(3228),l=r(839),c=r(2378),f=r(5019),d=r(3647),h=r(7709),p=r(8313),g=h("isConcatSpreadable"),y=p>=51||!i(function(){var e=[];return e[g]=!1,e.concat()[0]!==e}),m=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(e){var t,r,n,i,o,a=s(this),d=f(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(m(o=-1===t?a:arguments[t]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},4466:(e,t,r)=>{"use strict";var n=r(6584),i=r(9899),o=r(2161),a=r(7924),s=r(3927),u=r(7964),l=r(6369),c=r(1581),f=r(3977),d=r(257),h=r(6950),p=r(7709),g=r(6779),y=r(2575),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),S="keys",x="values",E="entries",T=function(){return this};e.exports=function(e,t,r,a,p,y,k){u(r,t,a);var O,A,C,R=function(e){if(e===p&&I)return I;if(!w&&e&&e in N)return N[e];switch(e){case S:case x:case E:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",j=!1,N=e.prototype,D=N[_]||N["@@iterator"]||p&&N[p],I=!w&&D||R(p),L="Array"===t&&N.entries||D;if(L&&(O=l(L.call(new e)))!==Object.prototype&&O.next&&(o||l(O)===b||(c?c(O,b):s(O[_])||h(O,_,T)),f(O,P,!0,!0),o&&(g[P]=T)),m&&p===x&&D&&D.name!==x&&(!o&&v?d(N,"name",x):(j=!0,I=function(){return i(D,this)})),p)if(A={values:R(x),keys:y?I:R(S),entries:R(E)},k)for(C in A)(w||j||!(C in N))&&h(N,C,A[C]);else n({target:t,proto:!0,forced:w||j},A);return o&&!k||N[_]===I||h(N,_,I,{name:p}),g[t]=I,A}},4470:(e,t,r)=>{"use strict";var n=r(1341),i=r(3927),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===c||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},4471:(e,t,r)=>{"use strict";var n=r(4750),i=r(1550),o=r(9549),a=r(1471),s=r(3228),u=r(5019),l=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,d=7===e,h=5===e||f;return function(p,g,y,m){for(var v,b,w=a(p),_=o(w),S=s(_),x=n(g,y),E=0,T=m||u,k=t?T(p,S):r||d?T(p,0):void 0;S>E;E++)if((h||E in _)&&(b=x(v=_[E],E,w),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l(k,v)}else switch(e){case 4:return!1;case 7:l(k,v)}return f?-1:i||c?c:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},4484:(e,t,r)=>{"use strict";var n=r(9899),i=r(1125),o=r(7709),a=r(6950);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,function(e){return n(r,this)},{arity:1})}},4504:(e,t,r)=>{"use strict";var n=r(7890),i=r(7924).EXISTS,o=r(1550),a=r(1188),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(e){return""}}})},4531:(e,t,r)=>{"use strict";var n=r(1550);e.exports=n({}.isPrototypeOf)},4540:(e,t,r)=>{"use strict";var n=r(6584),i=r(1428).trim;n({target:"String",proto:!0,forced:r(7896)("trim")},{trim:function(){return i(this)}})},4558:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n,Symbol:i}=r(2990);e.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=r(11).codes,a=r(9858),{getHighWaterMark:s}=r(867);n(l.prototype,a.prototype),n(l,a);const u=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?s(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())})}function f(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new o("_transform()")},l.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(e,t,(e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)})},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}},4562:(e,t,r)=>{"use strict";var n=r(6584),i=r(2161),o=r(7890),a=r(9022),s=r(5313),u=r(1550),l=r(4470),c=r(7527),f=r(4017),d=r(4531),h=r(6547),p=r(1079),g=r(1341),y=r(1378).f,m=r(5613).f,v=r(7423).f,b=r(8714),w=r(1428).trim,_="Number",S=a[_],x=s[_],E=S.prototype,T=a.TypeError,k=u("".slice),O=u("".charCodeAt),A=function(e){var t,r,n,i,o,a,s,u,l=p(e,"number");if(h(l))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(t=O(l,0))||45===t){if(88===(r=O(l,2))||120===r)return NaN}else if(48===t){switch(O(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=k(l,2)).length,s=0;s<a;s++)if((u=O(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l(_,!S(" 0o1")||!S("0b1")||S("+0x1")),R=function(e){var t,r=arguments.length<1?0:S(function(e){var t=p(e,"number");return"bigint"==typeof t?t:A(t)}(e));return d(E,t=this)&&g(function(){b(t)})?f(Object(r),this,R):r};R.prototype=E,C&&!i&&(E.constructor=R),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:R});var P=function(e,t){for(var r,n=o?y(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(t,r=n[i])&&!c(e,r)&&v(e,r,m(t,r))};i&&x&&P(s[_],x),(C||i)&&P(s[_],S)},4593:(e,t,r)=>{"use strict";var n=r(6817);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4627:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},4686:(e,t,r)=>{"use strict";const n=r(5350),i=r(7947),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|g(e,t);let n=s(r);const i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=function(e){if(u.isBuffer(e)){const t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|p(e))}function d(e){const t=e.length<0?0:0|p(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return A(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*a}else-1!==n&&(o-=o-n),n=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(e,o+n)!==l(t,n)){r=!1;break}if(r)return o}return-1}function w(e,t,r,n){r=Number(r)||0;const i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=t.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(t.substr(2*a,2),16);if(Q(n))return a;e[r+a]=n}return a}function _(e,t,r,n){return z(G(t,e.length-r),e,r,n)}function S(e,t,r,n){return z(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return z(q(t),e,r,n)}function E(e,t,r,n){return z(function(e,t){let r,n,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i<r;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:r=e[i+1],128==(192&r)&&(u=(31&t)<<6|63&r,u>127&&(o=u));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}return function(e){const t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=O));return r}(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=u.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(X(t,Uint8Array))i+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<s;++e)if(l[e]!==c[e]){o=l[e],a=c[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":case"latin1":case"binary":return S(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function A(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function R(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=Z[e[n]];return i}function P(e,t,r){const n=e.slice(t,r);let i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}function j(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function I(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=J(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||$(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=J(function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=J(function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=J(function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=J(function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);const i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,n),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};const B={};function V(e,t,r){B[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function U(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function W(e,t,r,n,i,o){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new B.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||$(t,e.length-(r+1))}(n,i,o)}function H(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,r){if(Math.floor(e)!==e)throw H(e,r),new B.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}V("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),V("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),V("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=U(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=U(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const Z=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?K:e}function K(){throw new Error("BigInt not supported")}},4745:(e,t,r)=>{"use strict";var n=r(8313),i=r(1341),o=r(9022).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},4750:(e,t,r)=>{"use strict";var n=r(6646),i=r(8316),o=r(5502),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},4797:(e,t,r)=>{"use strict";var n=r(6584),i=r(1550),o=r(6358),a=r(8620),s=r(5017),u=r(3662),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},4807:(e,t,r)=>{"use strict";var n=r(1341),i=r(9022).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),a=o||n(function(){return!i("a","y").sticky}),s=o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},4814:(e,t,r)=>{"use strict";var n=r(7709)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},4820:(e,t,r)=>{"use strict";var n=r(6584),i=r(1550),o=r(8316),a=r(1471),s=r(3228),u=r(6136),l=r(5017),c=r(1341),f=r(1374),d=r(4012),h=r(355),p=r(9457),g=r(8313),y=r(1145),m=[],v=i(m.sort),b=i(m.push),w=c(function(){m.sort(void 0)}),_=c(function(){m.sort(null)}),S=d("sort"),x=!c(function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort(function(e,t){return t.v-e.v}),n=0;n<m.length;n++)t=m[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});n({target:"Array",proto:!0,forced:w||!_||!S||!x},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(x)return void 0===e?v(t):v(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&b(i,t[n]);for(f(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=s(i),n=0;n<r;)t[n]=i[n++];for(;n<c;)u(t,n++);return t}})},4842:(e,t,r)=>{"use strict";var n=r(4750),i=r(9899),o=r(1471),a=r(3961),s=r(3983),u=r(2371),l=r(3228),c=r(2378),f=r(8147),d=r(4989),h=Array;e.exports=function(e){var t=o(e),r=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,p>2?arguments[2]:void 0));var m,v,b,w,_,S,x=d(t),E=0;if(!x||this===h&&s(x))for(m=l(t),v=r?new this(m):h(m);m>E;E++)S=y?g(t[E],E):t[E],c(v,E,S);else for(v=r?new this:[],_=(w=f(t,x)).next;!(b=i(_,w)).done;E++)S=y?a(w,g,[b.value,E],!0):b.value,c(v,E,S);return v.length=E,v}},4910:(e,t,r)=>{"use strict";var n=r(6584),i=r(9221);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},4944:(e,t,r)=>{"use strict";var n=r(6584),i=r(4842);n({target:"Array",stat:!0,forced:!r(4814)(function(e){Array.from(e)})},{from:i})},4959:(e,t,r)=>{"use strict";const{ArrayPrototypePop:n,Promise:i}=r(2990),{isIterable:o,isNodeStream:a,isWebStream:s}=r(91),{pipelineImpl:u}=r(5046),{finished:l}=r(38);r(5661),e.exports={finished:l,pipeline:function(...e){return new i((t,r)=>{let i,l;const c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const t=n(e);i=t.signal,l=t.end}u(e,(e,n)=>{e?r(e):t(n)},{signal:i,end:l})})}}},4972:e=>{"use strict";e.exports="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=="},4989:(e,t,r)=>{"use strict";var n=r(1325),i=r(9288),o=r(4395),a=r(6779),s=r(7709)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},4999:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5017:(e,t,r)=>{"use strict";var n=r(1325),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},5019:(e,t,r)=>{"use strict";var n=r(6299);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},5046:(e,t,r)=>{const n=r(8558),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=r(2990),u=r(38),{once:l}=r(2840),c=r(5296),f=r(9858),{aggregateTwoErrors:d,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:v}=r(11),{validateFunction:b,validateAbortSignal:w}=r(7917),{isIterable:_,isReadable:S,isReadableNodeStream:x,isNodeStream:E,isTransformStream:T,isWebStream:k,isReadableStream:O,isReadableFinished:A}=r(91),C=globalThis.AbortController||r(9208).AbortController;let R,P,j;function N(e,t,r){let n=!1;e.on("close",()=>{n=!0});return{destroy:t=>{n||(n=!0,c.destroyer(e,t||new y("pipe")))},cleanup:u(e,{readable:t,writable:r},e=>{n=!e})}}function D(e){if(_(e))return e;if(x(e))return async function*(e){P||(P=r(3376));yield*P.prototype[a].call(e)}(e);throw new h("val",["Readable","Iterable","AsyncIterable"],e)}async function I(e,t,r,{end:n}){let i,a=null;const s=e=>{if(e&&(i=e),a){const e=a;a=null,e()}},l=()=>new o((e,t)=>{i?t(i):a=()=>{i?t(i):e()}});t.on("drain",s);const c=u(t,{readable:!1},s);try{t.writableNeedDrain&&await l();for await(const r of e)t.write(r)||await l();n&&(t.end(),await l()),r()}catch(e){r(i!==e?d(i,e):e)}finally{c(),t.off("drain",s)}}async function L(e,t,r,{end:n}){T(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function M(e,t,o){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new g("streams");const a=new C,u=a.signal,l=null==o?void 0:o.signal,c=[];function d(){V(new v)}let y,m,b;w(l,"options.signal"),j=j||r(2840).addAbortListener,l&&(y=j(l,d));const A=[];let P,M=0;function B(e){V(e,0===--M)}function V(e,r){var i;if(!e||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=e),m||r){for(;A.length;)A.shift()(m);null===(i=y)||void 0===i||i[s](),a.abort(),r&&(m||c.forEach(e=>e()),n.nextTick(t,m,b))}}for(let $=0;$<e.length;$++){const Y=e[$],G=$<e.length-1,q=$>0,z=G||!1!==(null==o?void 0:o.end),X=$===e.length-1;if(E(Y)){if(z){const{destroy:Q,cleanup:Z}=N(Y,G,q);A.push(Q),S(Y)&&X&&c.push(Z)}function U(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&B(e)}Y.on("error",U),S(Y)&&X&&c.push(()=>{Y.removeListener("error",U)})}if(0===$)if("function"==typeof Y){if(P=Y({signal:u}),!_(P))throw new p("Iterable, AsyncIterable or Stream","source",P)}else P=_(Y)||x(Y)||T(Y)?Y:f.from(Y);else if("function"==typeof Y){var W;if(T(P))P=D(null===(W=P)||void 0===W?void 0:W.readable);else P=D(P);if(P=Y(P,{signal:u}),G){if(!_(P,!0))throw new p("AsyncIterable",`transform[${$-1}]`,P)}else{var H;R||(R=r(6404));const J=new R({objectMode:!0}),K=null===(H=P)||void 0===H?void 0:H.then;if("function"==typeof K)M++,K.call(P,e=>{b=e,null!=e&&J.write(e),z&&J.end(),n.nextTick(B)},e=>{J.destroy(e),n.nextTick(B,e)});else if(_(P,!0))M++,I(P,J,B,{end:z});else{if(!O(P)&&!T(P))throw new p("AsyncIterable or Promise","destination",P);{const re=P.readable||P;M++,I(re,J,B,{end:z})}}P=J;const{destroy:ee,cleanup:te}=N(P,!1,!0);A.push(ee),X&&c.push(te)}}else if(E(Y)){if(x(P)){M+=2;const ne=F(P,Y,B,{end:z});S(Y)&&X&&c.push(ne)}else if(T(P)||O(P)){const ie=P.readable||P;M++,I(ie,Y,B,{end:z})}else{if(!_(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);M++,I(P,Y,B,{end:z})}P=Y}else if(k(Y)){if(x(P))M++,L(D(P),Y,B,{end:z});else if(O(P)||_(P))M++,L(P,Y,B,{end:z});else{if(!T(P))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);M++,L(P.readable,Y,B,{end:z})}P=Y}else P=f.from(Y)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(d),P}function F(e,t,r,{end:i}){let o=!1;if(t.on("close",()=>{o||r(new m)}),e.pipe(t,{end:!1}),i){function a(){o=!0,t.end()}A(e)?n.nextTick(a):e.once("end",a)}else r();return u(e,{readable:!0,writable:!1},t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)}),u(t,{readable:!1,writable:!0},r)}e.exports={pipelineImpl:M,pipeline:function(...e){return M(e,l(function(e){return b(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},5142:(e,t,r)=>{"use strict";var n=r(6584),i=r(9899),o=r(2140),a=r(6817),s=r(8665),u=r(5613),l=r(6369);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,c,f=arguments.length<3?t:arguments[2];return a(t)===f?t[r]:(n=u.f(t,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(t))?e(c,r,f):void 0}})},5150:(e,t,r)=>{"use strict";var n=r(6441);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5179:(e,t,r)=>{"use strict";var n=r(7709),i=r(2358),o=r(7423).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},5276:(e,t,r)=>{"use strict";var n=r(6584),i=r(1550),o=r(9549),a=r(1059),s=r(4012),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},5296:(e,t,r)=>{"use strict";const n=r(8558),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=r(11),{Symbol:s}=r(2990),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=r(91),d=s("kDestroy"),h=s("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function g(e,t,r){let i=!1;function o(t){if(i)return;i=!0;const o=e._readableState,a=e._writableState;p(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(y,e,t):n.nextTick(m,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function y(e,t){v(e,t),m(e)}function m(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=r&&r.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function v(e,t){const r=e._readableState,n=e._writableState;null!=n&&n.errorEmitted||null!=r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function b(e,t,r){const i=e._readableState,o=e._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(v,e,t):v(e,t))}function w(e){let t=!1;function r(r){if(t)return void b(e,null!=r?r:new o);t=!0;const i=e._readableState,a=e._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?e.emit(d,r):r?b(e,r,!0):n.nextTick(_,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function _(e){e.emit(h)}function S(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function E(e,t){e.emit("error",t),n.nextTick(x,e)}e.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(h,t),e.listenerCount(h)>1||n.nextTick(w,e)},destroyer:function(e,t){e&&!l(e)&&(t||c(e)||(t=new a),f(e)?(e.socket=null,e.destroy(t)):S(e)?e.abort():S(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(E,e,t):n.nextTick(x,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,o=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?g(this,e,t):this.once(d,function(r){g(this,i(r,e),t)}),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:b}},5313:(e,t,r)=>{"use strict";var n=r(9022);e.exports=n},5350:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],u=o[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),c=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;s<u;s+=a)o.push(l(e,s,s+a>u?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function l(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(u(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},5440:e=>{"use strict";e.exports="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="},5456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaxesParser=t.EVENTS=void 0;const n=r(8049),i=r(9571),o=r(9564);var a=n.isS,s=n.isChar,u=n.isNameStartChar,l=n.isNameChar,c=n.S_LIST,f=n.NAME_RE,d=i.isChar,h=o.isNCNameStartChar,p=o.isNCNameChar,g=o.NC_NAME_RE;const y="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",v={__proto__:null,xml:y,xmlns:m},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},w=-1,_=-2,S=13,x=33,E=10,T=60,k=61,O=62,A=63,C=93,R=e=>34===e||39===e,P=[34,39],j=[...P,91,O],N=[...P,T,C],D=[k,A,...c],I=[...c,O,38,T];function L(e,t,r){switch(t){case"xml":r!==y&&e.fail(`xml prefix must be bound to ${y}.`);break;case"xmlns":r!==m&&e.fail(`xmlns prefix must be bound to ${m}.`)}switch(r){case m:e.fail(""===t?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${m}.`);break;case y:switch(t){case"xml":break;case"":e.fail(`the default namespace may not be set to ${r}.`);break;default:e.fail("may not assign the xml namespace to another prefix.")}}}const M=e=>g.test(e),F=e=>f.test(e);t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const B={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};t.SaxesParser=class{get closed(){return this._closed}constructor(e){this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;const t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=h,this.nameCheck=p,this.isName=M,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},v);const e=this.opt.additionalNamespaces;null!=e&&(!function(e,t){for(const r of Object.keys(t))L(e,r,t[r])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=u,this.nameCheck=l,this.isName=F,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?S:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:r}=this.opt;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(b),null===(e=this.readyHandler)||void 0===e||e.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[B[e]]=t}off(e){this[B[e]]=void 0}makeError(e){var t;let r=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+e)}fail(e){const t=this.makeError(e),r=this.errorHandler;if(void 0===r)throw t;return r(t),this}write(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let t=!1;null===e?(t=!0,e=""):"object"==typeof e&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let r=e.length;const n=e.charCodeAt(r-1);!t&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=e[r-1],r--,e=e.slice(0,r));const{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,t?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return w;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case E:return this.line++,this.column=0,this.positionAtNewLine=this.position,E;case 13:return e.charCodeAt(t+1)===E&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,_;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return w;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case E:return this.line++,this.column=0,this.positionAtNewLine=this.position,E;case 13:{const r=e.charCodeAt(t+1);r!==E&&133!==r||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,_;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const e=this.getCode();return e===_?E:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=n===_,o=i?E:n;if(o===w||e.includes(o))return this.text+=r.slice(t,this.prevI),o;i&&(this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case _:this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i,n=E;break;case w:return this.text+=r.slice(t),!1}if(n===e)return this.text+=r.slice(t,this.prevI),!0}}captureNameChars(){const{chunk:e,i:t}=this;for(;;){const r=this.getCode();if(r===w)return this.name+=e.slice(t),w;if(!l(r))return this.name+=e.slice(t,this.prevI),r===_?E:r}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(e===w||!a(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=d,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case T:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case w:break;default:this.unget(),this.state=S,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(j);switch(t){case O:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=S,this.doctype=!0;break;case w:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:R(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){const e=this.captureTo(N);e!==w&&(this.text+=String.fromCodePoint(e),e===C?this.state=2:e===T?this.state=6:R(e)&&(this.state=5,this.q=e))}sDTDQuoted(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){const e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case A:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}sDTDCommentEnded(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===O?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(A)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===O&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:e}=this;const{chunk:t}=this;e:for(;;)switch(this.getCode()){case _:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+t.slice(e,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),r===S&&void 0===this.textHandler||(this.text+=i);break e}case w:this.entity+=t.slice(e);break e}}sOpenWaka(){const e=this.getCode();if(u(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case A:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=S,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;const t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const e=this.getCodeNorm();e!==O?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(e)}`,this.state=17):this.state=S}sCData(){this.captureToChar(C)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();e===C?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case O:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=S;break;case C:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===A||a(e)?(this.fail("processing instruction without a target."),this.state=e===A?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){const{chunk:e,i:t}=this;for(;;){const r=this.getCodeNorm();if(r===w)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(r)){this.piTarget+=e.slice(t,this.prevI);const n=r===A;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?x:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}sPIBody(){if(0===this.text.length){const e=this.getCodeNorm();e===A?this.state=26:a(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(A)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(t===O){const{piTarget:t}=this;"xml"===t.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:t,body:this.text}),this.piTarget=this.text="",this.state=S}else t===A?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();e!==A?e!==w&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=x}sXMLDeclName(){const e=this.captureTo(D);if(e===A)return this.state=x,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(e)||e===k){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=e===k?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(e===A)return this.state=x,void this.fail("XML declaration is incomplete.");a(e)||(e!==k&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(e===A)return this.state=x,void this.fail("XML declaration is incomplete.");a(e)||(R(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,A]);if(e===A)return this.state=x,this.text="",void this.fail("XML declaration is incomplete.");if(e===w)return;const t=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}sXMLDeclSeparator(){const e=this.getCodeNorm();e!==A?(a(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=x}sXMLDeclEnding(){var e;this.getCodeNorm()===O?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=S):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(t===w)return;const r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case O:this.openTag();break;case 47:this.state=35;break;default:a(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===O?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();e!==w&&(u(e)?(this.unget(),this.state=37):e===O?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();e===k?this.state=39:a(e)?this.state=38:e===O?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):e!==w&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case w:return;case k:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",e===O?this.openTag():u(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();R(e)?(this.q=e,this.state=40):a(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:e,chunk:t}=this;let{i:r}=this;for(;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case E:case _:case 9:this.text+=`${t.slice(r,this.prevI)} `,r=this.i;break;case T:return this.text+=t.slice(r,this.prevI),void this.fail("disallowed character.");case w:return void(this.text+=t.slice(r))}}sAttribValueClosed(){const e=this.getCodeNorm();a(e)?this.state=36:e===O?this.openTag():47===e?this.state=35:u(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const e=this.captureTo(I);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case T:this.fail("disallowed character.");break;case w:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",e===O?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();e===O?this.closeTag():a(e)?this.state=44:e!==w&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case O:this.closeTag();break;case w:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:e,forbiddenState:t}=this;const{chunk:r,textHandler:n}=this;e:for(;;)switch(this.getCode()){case T:if(this.state=15,void 0!==n){const{text:t}=this,i=r.slice(e,this.prevI);0!==t.length?(n(t+i),this.text=""):0!==i.length&&n(i)}t=0;break e;case 38:this.state=14,this.entityReturnState=S,void 0!==n&&(this.text+=r.slice(e,this.prevI)),t=0;break e;case C:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case O:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case _:void 0!==n&&(this.text+=`${r.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case w:void 0!==n&&(this.text+=r.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this;const{chunk:t,textHandler:r}=this;let n=!1;e:for(;;){const i=this.getCode();switch(i){case T:if(this.state=15,void 0!==r){const{text:n}=this,i=t.slice(e,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break e;case 38:this.state=14,this.entityReturnState=S,void 0!==r&&(this.text+=t.slice(e,this.prevI)),n=!0;break e;case _:void 0!==r&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case w:void 0!==r&&(this.text+=t.slice(e));break e;default:a(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var r;const{prefix:n,local:i}=this.qname(e),o={name:e,prefix:n,local:i,value:t};if(this.attribList.push(o),null===(r=this.attributeHandler)||void 0===r||r.call(this,o),"xmlns"===n){const e=t.trim();"1.0"===this.currentXMLVersion&&""===e&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=e,L(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,L(this,"",e)}}pushAttribPlain(e,t){var r;const n={name:e,value:t};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var e,t;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const e=r.pop();this.fail(`unclosed tag: ${e.name}`)}0!==this.state&&this.state!==S&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,n),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}resolve(e){var t,r;let n=this.topNS[e];if(void 0!==n)return n;const{tags:i}=this;for(let t=i.length-1;t>=0;t--)if(n=i[t].ns[e],void 0!==n)return n;return n=this.ns[e],void 0!==n?n:null===(r=(t=this.opt).resolvePrefix)||void 0===r?void 0:r.call(t,e)}qname(e){const t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};const r=e.slice(t+1),n=e.slice(0,t);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${e}.`),{prefix:n,local:r}}processAttribsNS(){var e;const{attribList:t}=this,r=this.tag;{const{prefix:t,local:n}=this.qname(r.name);r.prefix=t,r.local=n;const i=r.uri=null!==(e=this.resolve(t))&&void 0!==e?e:"";""!==t&&("xmlns"===t&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),r.uri=t))}if(0===t.length)return;const{attributes:n}=r,i=new Set;for(const e of t){const{name:t,prefix:r,local:o}=e;let a,s;""===r?(a="xmlns"===t?m:"",s=t):(a=this.resolve(r),void 0===a&&(this.fail(`unbound namespace prefix: ${JSON.stringify(r)}.`),a=r),s=`{${a}}${o}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),e.uri=a,n[t]=e}this.attribList=[]}processAttribsPlain(){const{attribList:e}=this,t=this.tag.attributes;for(const{name:r,value:n}of e)void 0!==t[r]&&this.fail(`duplicate attribute: ${r}.`),t[r]=n;this.attribList=[]}openTag(){var e;this.processAttribs();const{tags:t}=this,r=this.tag;r.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,r),t.push(r),this.state=S,this.name=""}openSelfClosingTag(){var e,t,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i);null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=S,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=S,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=e.length;for(;n-- >0;){const n=this.tag=e.pop();if(this.topNS=n.ns,null==r||r(n),n.name===t)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if("#"!==e[0]){const t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),`&${e};`)}let t=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail("malformed character entity."),`&${e};`)}}},5502:(e,t,r)=>{"use strict";var n=r(1341);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},5521:e=>{"use strict";e.exports=function(e){return e[1]}},5613:(e,t,r)=>{"use strict";var n=r(7890),i=r(9899),o=r(9439),a=r(3382),s=r(1059),u=r(6331),l=r(7527),c=r(9515),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},5661:(e,t,r)=>{"use strict";const{Buffer:n}=r(4686),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=r(2990),{promisify:{custom:s}}=r(2840),{streamReturningOperators:u,promiseReturningOperators:l}=r(4175),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(11),f=r(2305),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=r(867),{pipeline:p}=r(5046),{destroyer:g}=r(5296),y=r(38),m=r(4959),v=r(91),b=e.exports=r(8027).Stream;b.isDestroyed=v.isDestroyed,b.isDisturbed=v.isDisturbed,b.isErrored=v.isErrored,b.isReadable=v.isReadable,b.isWritable=v.isWritable,b.Readable=r(3376);for(const _ of o(u)){const S=u[_];function x(...e){if(new.target)throw c();return b.Readable.from(a(S,this,e))}i(x,"name",{__proto__:null,value:S.name}),i(x,"length",{__proto__:null,value:S.length}),i(b.Readable.prototype,_,{__proto__:null,value:x,enumerable:!1,configurable:!0,writable:!0})}for(const E of o(l)){const T=l[E];function k(...e){if(new.target)throw c();return a(T,this,e)}i(k,"name",{__proto__:null,value:T.name}),i(k,"length",{__proto__:null,value:T.length}),i(b.Readable.prototype,E,{__proto__:null,value:k,enumerable:!1,configurable:!0,writable:!0})}b.Writable=r(448),b.Duplex=r(9858),b.Transform=r(4558),b.PassThrough=r(6404),b.pipeline=p;const{addAbortSignal:w}=r(8315);b.addAbortSignal=w,b.finished=y,b.destroy=g,b.compose=f,b.setDefaultHighWaterMark=d,b.getDefaultHighWaterMark=h,i(b,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),i(p,s,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),i(y,s,{__proto__:null,enumerable:!0,get:()=>m.finished}),b.Stream=b,b._isUint8Array=function(e){return e instanceof Uint8Array},b._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}},5727:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(8093),t)},5782:(e,t,r)=>{"use strict";const n=r(5661),i=r(4959),o=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=o,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=n.Stream,e.exports.default=e.exports},5826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Variable=void 0;t.Variable=class{constructor(e){this.termType="Variable",this.value=e}equals(e){return!!e&&"Variable"===e.termType&&e.value===this.value}}},5892:(e,t,r)=>{var n,i,o,a,s;n=r(7635),i=r(1539).utf8,o=r(3445),a=r(1539).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),u=8*e.length,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<r.length;h++)r[h]=16711935&(r[h]<<8|r[h]>>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var p=s._ff,g=s._gg,y=s._hh,m=s._ii;for(h=0;h<r.length;h+=16){var v=l,b=c,w=f,_=d;l=p(l,c,f,d,r[h+0],7,-680876936),d=p(d,l,c,f,r[h+1],12,-389564586),f=p(f,d,l,c,r[h+2],17,606105819),c=p(c,f,d,l,r[h+3],22,-1044525330),l=p(l,c,f,d,r[h+4],7,-176418897),d=p(d,l,c,f,r[h+5],12,1200080426),f=p(f,d,l,c,r[h+6],17,-1473231341),c=p(c,f,d,l,r[h+7],22,-45705983),l=p(l,c,f,d,r[h+8],7,1770035416),d=p(d,l,c,f,r[h+9],12,-1958414417),f=p(f,d,l,c,r[h+10],17,-42063),c=p(c,f,d,l,r[h+11],22,-1990404162),l=p(l,c,f,d,r[h+12],7,1804603682),d=p(d,l,c,f,r[h+13],12,-40341101),f=p(f,d,l,c,r[h+14],17,-1502002290),l=g(l,c=p(c,f,d,l,r[h+15],22,1236535329),f,d,r[h+1],5,-165796510),d=g(d,l,c,f,r[h+6],9,-1069501632),f=g(f,d,l,c,r[h+11],14,643717713),c=g(c,f,d,l,r[h+0],20,-373897302),l=g(l,c,f,d,r[h+5],5,-701558691),d=g(d,l,c,f,r[h+10],9,38016083),f=g(f,d,l,c,r[h+15],14,-660478335),c=g(c,f,d,l,r[h+4],20,-405537848),l=g(l,c,f,d,r[h+9],5,568446438),d=g(d,l,c,f,r[h+14],9,-1019803690),f=g(f,d,l,c,r[h+3],14,-187363961),c=g(c,f,d,l,r[h+8],20,1163531501),l=g(l,c,f,d,r[h+13],5,-1444681467),d=g(d,l,c,f,r[h+2],9,-51403784),f=g(f,d,l,c,r[h+7],14,1735328473),l=y(l,c=g(c,f,d,l,r[h+12],20,-1926607734),f,d,r[h+5],4,-378558),d=y(d,l,c,f,r[h+8],11,-2022574463),f=y(f,d,l,c,r[h+11],16,1839030562),c=y(c,f,d,l,r[h+14],23,-35309556),l=y(l,c,f,d,r[h+1],4,-1530992060),d=y(d,l,c,f,r[h+4],11,1272893353),f=y(f,d,l,c,r[h+7],16,-155497632),c=y(c,f,d,l,r[h+10],23,-1094730640),l=y(l,c,f,d,r[h+13],4,681279174),d=y(d,l,c,f,r[h+0],11,-358537222),f=y(f,d,l,c,r[h+3],16,-722521979),c=y(c,f,d,l,r[h+6],23,76029189),l=y(l,c,f,d,r[h+9],4,-640364487),d=y(d,l,c,f,r[h+12],11,-421815835),f=y(f,d,l,c,r[h+15],16,530742520),l=m(l,c=y(c,f,d,l,r[h+2],23,-995338651),f,d,r[h+0],6,-198630844),d=m(d,l,c,f,r[h+7],10,1126891415),f=m(f,d,l,c,r[h+14],15,-1416354905),c=m(c,f,d,l,r[h+5],21,-57434055),l=m(l,c,f,d,r[h+12],6,1700485571),d=m(d,l,c,f,r[h+3],10,-1894986606),f=m(f,d,l,c,r[h+10],15,-1051523),c=m(c,f,d,l,r[h+1],21,-2054922799),l=m(l,c,f,d,r[h+8],6,1873313359),d=m(d,l,c,f,r[h+15],10,-30611744),f=m(f,d,l,c,r[h+6],15,-1560198380),c=m(c,f,d,l,r[h+13],21,1309151649),l=m(l,c,f,d,r[h+4],6,-145523070),d=m(d,l,c,f,r[h+11],10,-1120210379),f=m(f,d,l,c,r[h+2],15,718787259),c=m(c,f,d,l,r[h+9],21,-343485551),l=l+v>>>0,c=c+b>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([l,c,f,d])})._ff=function(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,r,n,i,o,a){var s=e+(t^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(s(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},6077:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},6113:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},6125:(e,t,r)=>{"use strict";var n=r(9899),i=r(6817),o=r(9288);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},6136:(e,t,r)=>{"use strict";var n=r(4077),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},6170:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);n&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},6203:(e,t,r)=>{"use strict";var n=r(9022),i=r(7198),o=r(818),a=r(2678),s=r(257),u=r(3977),l=r(7709)("iterator"),c=a.values,f=function(e,t){if(e){if(e[l]!==c)try{s(e,l,c)}catch(t){e[l]=c}if(u(e,t,!0),i[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},6207:(e,t,r)=>{"use strict";var n=r(1125);e.exports=n("document","documentElement")},6299:(e,t,r)=>{"use strict";var n=r(9110),i=r(2371),o=r(2140),a=r(7709)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===s||n(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},6331:(e,t,r)=>{"use strict";var n=r(1079),i=r(6547);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},6358:(e,t,r)=>{"use strict";var n=r(2822),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},6369:(e,t,r)=>{"use strict";var n=r(7527),i=r(3927),o=r(1471),a=r(9853),s=r(9157),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?c:null}},6404:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n}=r(2990);e.exports=o;const i=r(4558);function o(e){if(!(this instanceof o))return new o(e);i.call(this,e)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(e,t,r){r(null,e)}},6441:(e,t,r)=>{"use strict";var n=r(9022).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},6461:(e,t,r)=>{"use strict";var n=r(1550),i=r(1341),o=r(3927),a=r(7527),s=r(7890),u=r(7924).CONFIGURABLE,l=r(1064),c=r(2727),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),v=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+y(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return o(this)&&d(this).source||l(this)},"toString")},6521:(e,t,r)=>{"use strict";var n=r(4142),i=r(6950),o=r(9793);n||i(Object.prototype,"toString",o,{unsafe:!0})},6522:(e,t,r)=>{"use strict";var n=r(1550),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},6544:(e,t,r)=>{"use strict";var n=r(6584),i=r(1125),o=r(7527),a=r(5017),s=r(7987),u=r(1454),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(l,t))return l[t];var r=i("Symbol")(t);return l[t]=r,c[r]=t,r}})},6547:(e,t,r)=>{"use strict";var n=r(1125),i=r(3927),o=r(4531),a=r(7986),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},6584:(e,t,r)=>{"use strict";var n=r(9022),i=r(5613).f,o=r(257),a=r(6950),s=r(4267),u=r(2594),l=r(4470);e.exports=function(e,t){var r,c,f,d,h,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,e)}}},6615:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},6625:e=>{"use strict";e.exports="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="},6646:(e,t,r)=>{"use strict";var n=r(6522),i=r(1550);e.exports=function(e){if("Function"===n(e))return i(e)}},6671:(e,t,r)=>{var n=r(4686),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},6709:(e,t,r)=>{"use strict";var n=r(6584),i=r(2161),o=r(994).CONSTRUCTOR,a=r(6772),s=r(1125),u=r(3927),l=r(6950),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},6768:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var n=r(5521),i=r.n(n),o=r(6170),a=r.n(o),s=r(6113),u=r.n(s),l=new URL(r(5440),r.b),c=new URL(r(6997),r.b),f=new URL(r(3294),r.b),d=new URL(r(4972),r.b),h=new URL(r(7777),r.b),p=new URL(r(6625),r.b),g=a()(i()),y=u()(l),m=u()(c),v=u()(f),b=u()(d),w=u()(h),_=u()(p);g.push([e.id,`/* === 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: inherit;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: block;\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 .rdformsRow.notCompact {\n display: block;\n width: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n display: inherit;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem {\n display: table;\n width: 98%;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {\n width: 10em;\n}\n.rdformsPresenter .rdformsRow.rdformsCompactItem>div {\n display: table-cell;\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.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {\n display: inherit;\n width: auto;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {\n display: inherit;\n}\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.rdformsNoPopup:hover {\n text-decoration: initial;\n cursor: initial;\n}\n\n.rdformsLabel .popover:hover {\n cursor: initial;\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(${y});\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 .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}\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>.rdformsLabelRow {\n white-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(${m});\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(${v});\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(${b});\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(${w});\n}\n\n.rdforms .action.info {\n\tbackground-image: url(${_});\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}\n\n.rdformsDescription {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,\n.rdformsPresenter .rdformsInline>.rdformsOrigin {\n border: 1px solid #E6E6E6;\n padding: 4px 8px;\n margin-top: initial;\n margin-right: 5px;\n border-radius: 4px;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n margin-left: 1em;\n margin-top: 5px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsShowLess,\n.rdformsPresenter .rdformsInline>.rdformsShowMore {\n margin-left: 0;\n margin-top: initial;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {\n display: none;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsShowLess {\n display: none;\n}\n.rdformsPresenter .rdformsShowMore {\n display: none;\n}\n.rdformsPresenter .rdformsTruncated>.rdformsShowMore {\n display: initial;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsField {\n margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n padding-left: 1em;\n}`,""]);const S=g},6772:(e,t,r)=>{"use strict";var n=r(9022);e.exports=n.Promise},6779:e=>{"use strict";e.exports={}},6794:(e,t,r)=>{"use strict";var n=r(973),i=r(4484);n("toPrimitive"),i()},6817:(e,t,r)=>{"use strict";var n=r(2140),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},6904:(e,t,r)=>{"use strict";var n=r(6522),i=r(1059),o=r(1378).f,a=r(4398),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===n(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},6913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NamedNode=void 0;t.NamedNode=class{constructor(e){this.termType="NamedNode",this.value=e}equals(e){return!!e&&"NamedNode"===e.termType&&e.value===this.value}}},6950:(e,t,r)=>{"use strict";var n=r(3927),i=r(7423),o=r(6461),a=r(4267);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},6997:e=>{"use strict";e.exports="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"},7098:(e,t,r)=>{"use strict";var n=r(1550),i=r(7527),o=r(1059),a=r(151).indexOf,s=r(983),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},7148:(e,t,r)=>{"use strict";var n=r(6584),i=r(1125),o=r(1559),a=r(9899),s=r(1550),u=r(1341),l=r(3927),c=r(6547),f=r(4398),d=r(1555),h=r(4745),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(1.1.toString),_=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,E=!h||u(function(){var e=i("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))}),T=u(function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")}),k=function(e,t){var r=f(arguments),n=d(t);if(l(n)||void 0!==e&&!c(e))return r[1]=function(e,t){if(l(n)&&(t=a(n,this,p(e),t)),!c(t))return t},o(g,null,r)},O=function(e,t,r){var n=m(r,t-1),i=m(r,t+1);return y(S,e)&&!y(x,i)||y(x,e)&&!y(S,n)?"\\u"+w(v(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(e,t,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},7153:(e,t,r)=>{"use strict";const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=r(2990),{Buffer:s}=r(4686),{inspect:u}=r(2840);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return s.alloc(0);const t=s.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)o(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=s.allocUnsafe(e),r=e;let n=this.head,i=0;do{const s=n.data;if(!(e>s.length)){e===s.length?(o(t,s,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(t,new a(s.buffer,s.byteOffset,e),r-e),this.head=n,n.data=s.slice(e));break}o(t,s,r-e),e-=s.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}},7167:(e,t,r)=>{"use strict";var n=r(6584),i=r(9022),o=r(9899),a=r(1550),s=r(2161),u=r(7890),l=r(4745),c=r(1341),f=r(7527),d=r(4531),h=r(6817),p=r(1059),g=r(6331),y=r(5017),m=r(3382),v=r(2358),b=r(8054),w=r(1378),_=r(6904),S=r(4999),x=r(5613),E=r(7423),T=r(9699),k=r(9439),O=r(6950),A=r(1188),C=r(7987),R=r(9853),P=r(983),j=r(1726),N=r(7709),D=r(8953),I=r(973),L=r(4484),M=r(3977),F=r(2727),B=r(4471).forEach,V=R("hidden"),U="Symbol",W="prototype",H=F.set,$=F.getterFor(U),Y=Object[W],G=i.Symbol,q=G&&G[W],z=i.RangeError,X=i.TypeError,Q=i.QObject,Z=x.f,J=E.f,K=_.f,ee=k.f,te=a([].push),re=C("symbols"),ne=C("op-symbols"),ie=C("wks"),oe=!Q||!Q[W]||!Q[W].findChild,ae=function(e,t,r){var n=Z(Y,t);n&&delete Y[t],J(e,t,r),n&&e!==Y&&J(Y,t,n)},se=u&&c(function(){return 7!==v(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a})?ae:J,ue=function(e,t){var r=re[e]=v(q);return H(r,{type:U,tag:e,description:t}),u||(r.description=t),r},le=function(e,t,r){e===Y&&le(ne,t,r),h(e);var n=g(t);return h(r),f(re,n)?(r.enumerable?(f(e,V)&&e[V][n]&&(e[V][n]=!1),r=v(r,{enumerable:m(0,!1)})):(f(e,V)||J(e,V,m(1,v(null))),e[V][n]=!0),se(e,n,r)):J(e,n,r)},ce=function(e,t){h(e);var r=p(t),n=b(r).concat(pe(r));return B(n,function(t){u&&!o(fe,r,t)||le(e,t,r[t])}),e},fe=function(e){var t=g(e),r=o(ee,this,t);return!(this===Y&&f(re,t)&&!f(ne,t))&&(!(r||!f(this,t)||!f(re,t)||f(this,V)&&this[V][t])||r)},de=function(e,t){var r=p(e),n=g(t);if(r!==Y||!f(re,n)||f(ne,n)){var i=Z(r,n);return!i||!f(re,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},he=function(e){var t=K(p(e)),r=[];return B(t,function(e){f(re,e)||f(P,e)||te(r,e)}),r},pe=function(e){var t=e===Y,r=K(t?ne:p(e)),n=[];return B(r,function(e){!f(re,e)||t&&!f(Y,e)||te(n,re[e])}),n};l||(O(q=(G=function(){if(d(q,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,t=j(e),r=function(e){var n=void 0===this?i:this;n===Y&&o(r,ne,e),f(n,V)&&f(n[V],t)&&(n[V][t]=!1);var a=m(1,e);try{se(n,t,a)}catch(e){if(!(e instanceof z))throw e;ae(n,t,a)}};return u&&oe&&se(Y,t,{configurable:!0,set:r}),ue(t,e)})[W],"toString",function(){return $(this).tag}),O(G,"withoutSetter",function(e){return ue(j(e),e)}),k.f=fe,E.f=le,T.f=ce,x.f=de,w.f=_.f=he,S.f=pe,D.f=function(e){return ue(N(e),e)},u&&(A(q,"description",{configurable:!0,get:function(){return $(this).description}}),s||O(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),B(b(ie),function(e){I(e)}),n({target:U,stat:!0,forced:!l},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?v(e):ce(v(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:he}),L(),M(G,U),P[V]=!0},7198:e=>{"use strict";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}},7407:(e,t,r)=>{"use strict";var n=r(7869).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},7423:(e,t,r)=>{"use strict";var n=r(7890),i=r(9515),o=r(3900),a=r(6817),s=r(6331),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",h="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},7527:(e,t,r)=>{"use strict";var n=r(1550),i=r(1471),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},7569:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,c=o.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,g=p.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,r){var n,i,o=(r=r||b).createElement("script");if(o.text=e,t)for(n in w)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function S(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var x="3.7.1",E=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,r=S(e);return!m(e)&&!v(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:x,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var e,t,r,n,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(l&&n&&(T.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[t],o=i&&!Array.isArray(r)?[]:i||T.isPlainObject(r)?r:{},i=!1,a[t]=T.extend(l,o,n)):void 0!==n&&(a[t]=n));return a},T.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(r=h.call(t,"constructor")&&t.constructor)&&p.call(r)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){_(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(k(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,i=e.nodeType;if(!i)for(;t=e[n++];)r+=T.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(k(Object(e))?T.merge(r,"string"==typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:c.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!E.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n=[],i=0,o=e.length,a=!r;i<o;i++)!t(e[i],i)!==a&&n.push(e[i]);return n},map:function(e,t,r){var n,i,o=0,a=[];if(k(e))for(n=e.length;o<n;o++)null!=(i=t(e[o],o,r))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,r))&&a.push(i);return u(a)},guid:1,support:y}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var A=o.pop,C=o.sort,R=o.splice,P="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");T.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var N=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(N,D)};var I=b,L=l;!function(){var e,t,r,i,a,u,l,f,d,p,g=L,m=T.expando,v=0,b=0,w=ee(),_=ee(),S=ee(),x=ee(),E=function(e,t){return e===t&&(a=!0),0},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",M=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),B=new RegExp("^"+P+"*,"+P+"*"),V=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),W=new RegExp(M),H=new RegExp("^"+N+"$"),$={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},Z=function(){ue()},J=de(function(e){return!0===e.disabled&&O(e,"fieldset")},{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(I.childNodes),I.childNodes),o[I.childNodes.length].nodeType}catch(e){g={apply:function(e,t){L.apply(e,s.call(t))},call:function(e){L.apply(e,s.call(arguments,1))}}}function K(e,t,r,n){var i,o,a,s,l,c,h,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return r;if(!n&&(ue(t),t=t||u,f)){if(11!==v&&(l=q.exec(e)))if(i=l[1]){if(9===v){if(!(a=t.getElementById(i)))return r;if(a.id===i)return g.call(r,a),r}else if(p&&(a=p.getElementById(i))&&K.contains(t,a)&&a.id===i)return g.call(r,a),r}else{if(l[2])return g.apply(r,t.getElementsByTagName(e)),r;if((i=l[3])&&t.getElementsByClassName)return g.apply(r,t.getElementsByClassName(i)),r}if(!(x[e+" "]||d&&d.test(e))){if(h=e,p=t,1===v&&(U.test(e)||V.test(e))){for((p=z.test(e)&&se(t.parentNode)||t)==t&&y.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=m)),o=(c=ce(e)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+fe(c[o]);h=c.join(",")}try{return g.apply(r,p.querySelectorAll(h)),r}catch(t){x(e,!0)}finally{s===m&&t.removeAttribute("id")}}}return ve(e.replace(j,"$1"),t,r,n)}function ee(){var e=[];return function r(n,i){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=i}}function te(e){return e[m]=!0,e}function re(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return O(t,"input")&&t.type===e}}function ie(e){return function(t){return(O(t,"input")||O(t,"button"))&&t.type===e}}function oe(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&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te(function(t){return t=+t,te(function(r,n){for(var i,o=e([],r.length,t),a=o.length;a--;)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))})})}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var r,n=e?e.ownerDocument||e:I;return n!=u&&9===n.nodeType&&n.documentElement?(l=(u=n).documentElement,f=!T.isXMLDoc(u),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&I!=u&&(r=u.defaultView)&&r.top!==r&&r.addEventListener("unload",Z),y.getById=re(function(e){return l.appendChild(e).id=T.expando,!u.getElementsByName||!u.getElementsByName(T.expando).length}),y.disconnectedMatch=re(function(e){return p.call(e,"*")}),y.scope=re(function(){return u.querySelectorAll(":scope")}),y.cssHas=re(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),y.getById?(t.filter.ID=function(e){var t=e.replace(X,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,Q);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var r,n,i,o=t.getElementById(e);if(o){if((r=o.getAttributeNode("id"))&&r.value===e)return[o];for(i=t.getElementsByName(e),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&f)return t.getElementsByClassName(e)},d=[],re(function(e){var t;l.appendChild(e).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+P+"*(?:value|"+k+")"),e.querySelectorAll("[id~="+m+"-]").length||d.push("~="),e.querySelectorAll("a#"+m+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),y.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),E=function(e,t){if(e===t)return a=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!y.sortDetached&&t.compareDocumentPosition(e)===r?e===u||e.ownerDocument==I&&K.contains(I,e)?-1:t===u||t.ownerDocument==I&&K.contains(I,t)?1:i?c.call(i,e)-c.call(i,t):0:4&r?-1:1)},u):u}for(e in K.matches=function(e,t){return K(e,null,null,t)},K.matchesSelector=function(e,t){if(ue(e),f&&!x[t+" "]&&(!d||!d.test(t)))try{var r=p.call(e,t);if(r||y.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){x(t,!0)}return K(t,u,null,[e]).length>0},K.contains=function(e,t){return(e.ownerDocument||e)!=u&&ue(e),T.contains(e,t)},K.attr=function(e,r){(e.ownerDocument||e)!=u&&ue(e);var n=t.attrHandle[r.toLowerCase()],i=n&&h.call(t.attrHandle,r.toLowerCase())?n(e,r,!f):void 0;return void 0!==i?i:e.getAttribute(r)},K.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,r=[],n=0,o=0;if(a=!y.sortStable,i=!y.sortStable&&s.call(e,0),C.call(e,E),a){for(;t=e[o++];)t===e[o]&&(n=r.push(o));for(;n--;)R.call(e,r[n],1)}return i=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(s.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:$,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(X,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(X,Q),"~="===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]||K.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]&&K.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&W.test(r)&&(t=ce(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return O(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var i=K.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(F," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,u){var l,c,f,d,h,p=o!==a?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!u&&!s,w=!1;if(g){if(o){for(;p;){for(f=t;f=f[p];)if(s?O(f,y):1===f.nodeType)return!1;h=p="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(w=(d=(l=(c=g[m]||(g[m]={}))[e]||[])[0]===v&&l[1])&&l[2],f=d&&g.childNodes[d];f=++d&&f&&f[p]||(w=d=0)||h.pop();)if(1===f.nodeType&&++w&&f===t){c[e]=[v,d,w];break}}else if(b&&(w=d=(l=(c=t[m]||(t[m]={}))[e]||[])[0]===v&&l[1]),!1===w)for(;(f=++d&&f&&f[p]||(w=d=0)||h.pop())&&(!(s?O(f,y):1===f.nodeType)||!++w||(b&&((c=f[m]||(f[m]={}))[e]=[v,w]),f!==t)););return(w-=i)===n||w%n===0&&w/n>=0}}},PSEUDO:function(e,r){var n,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||K.error("unsupported pseudo: "+e);return i[m]?i(r):i.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var n,o=i(e,r),a=o.length;a--;)e[n=c.call(e,o[a])]=!(t[n]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:te(function(e){var t=[],r=[],n=me(e.replace(j,"$1"));return n[m]?te(function(e,t,r,i){for(var o,a=n(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,n(t,null,o,r),t[0]=null,!r.pop()}}),has:te(function(e){return function(t){return K(e,t).length>0}}),contains:te(function(e){return e=e.replace(X,Q),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}}),lang:te(function(e){return H.test(e||"")||K.error("unsupported lang: "+e),e=e.replace(X,Q).toLowerCase(),function(t){var r;do{if(r=f?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return O(e,"input")&&!!e.checked||O(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){return O(e,"input")&&"button"===e.type||O(e,"button")},text:function(e){var t;return O(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae(function(){return[0]}),last:ae(function(e,t){return[t-1]}),eq:ae(function(e,t,r){return[r<0?r+t:r]}),even:ae(function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:ae(function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:ae(function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e}),gt:ae(function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function le(){}function ce(e,r){var n,i,o,a,s,u,l,c=_[e+" "];if(c)return r?0:c.slice(0);for(s=e,u=[],l=t.preFilter;s;){for(a in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),s=s.slice(n.length)),t.filter)!(i=$[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return r?s.length:s?K.error(e):_(e,u).slice(0)}function fe(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function de(e,t,r){var n=t.dir,i=t.next,o=i||n,a=r&&"parentNode"===o,s=b++;return t.first?function(t,r,i){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,i);return!1}:function(t,r,u){var l,c,f=[v,s];if(u){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,u))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(c=t[m]||(t[m]={}),i&&O(t,i))t=t[n]||t;else{if((l=c[o])&&l[0]===v&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=e(t,r,u))return!0}return!1}}function he(e){return e.length>1?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function pe(e,t,r,n,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(r&&!r(o,n,i)||(a.push(o),l&&t.push(s)));return a}function ge(e,t,r,n,i,o){return n&&!n[m]&&(n=ge(n)),i&&!i[m]&&(i=ge(i,o)),te(function(o,a,s,u){var l,f,d,h,p=[],y=[],m=a.length,v=o||function(e,t,r){for(var n=0,i=t.length;n<i;n++)K(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:pe(v,p,e,s,u);if(r?r(b,h=i||(o?e:m||n)?[]:a,s,u):h=b,n)for(l=pe(h,y),n(l,[],s,u),f=l.length;f--;)(d=l[f])&&(h[y[f]]=!(b[y[f]]=d));if(o){if(i||e){if(i){for(l=[],f=h.length;f--;)(d=h[f])&&l.push(b[f]=d);i(null,h=[],l,u)}for(f=h.length;f--;)(d=h[f])&&(l=i?c.call(o,d):p[f])>-1&&(o[l]=!(a[l]=d))}}else h=pe(h===a?h.splice(m,h.length):h),i?i(null,a,h,u):g.apply(a,h)})}function ye(e){for(var n,i,o,a=e.length,s=t.relative[e[0].type],u=s||t.relative[" "],l=s?1:0,f=de(function(e){return e===n},u,!0),d=de(function(e){return c.call(n,e)>-1},u,!0),h=[function(e,t,i){var o=!s&&(i||t!=r)||((n=t).nodeType?f(e,t,i):d(e,t,i));return n=null,o}];l<a;l++)if(i=t.relative[e[l].type])h=[de(he(h),i)];else{if((i=t.filter[e[l].type].apply(null,e[l].matches))[m]){for(o=++l;o<a&&!t.relative[e[o].type];o++);return ge(l>1&&he(h),l>1&&fe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(j,"$1"),i,l<o&&ye(e.slice(l,o)),o<a&&ye(e=e.slice(o)),o<a&&fe(e))}h.push(i)}return he(h)}function me(e,n){var i,o=[],a=[],s=S[e+" "];if(!s){for(n||(n=ce(e)),i=n.length;i--;)(s=ye(n[i]))[m]?o.push(s):a.push(s);s=S(e,function(e,n){var i=n.length>0,o=e.length>0,a=function(a,s,l,c,d){var h,p,y,m=0,b="0",w=a&&[],_=[],S=r,x=a||o&&t.find.TAG("*",d),E=v+=null==S?1:Math.random()||.1,k=x.length;for(d&&(r=s==u||s||d);b!==k&&null!=(h=x[b]);b++){if(o&&h){for(p=0,s||h.ownerDocument==u||(ue(h),l=!f);y=e[p++];)if(y(h,s||u,l)){g.call(c,h);break}d&&(v=E)}i&&((h=!y&&h)&&m--,a&&w.push(h))}if(m+=b,i&&b!==m){for(p=0;y=n[p++];)y(w,_,s,l);if(a){if(m>0)for(;b--;)w[b]||_[b]||(_[b]=A.call(c));_=pe(_)}g.apply(c,_),d&&!a&&_.length>0&&m+n.length>1&&T.uniqueSort(c)}return d&&(v=E,r=S),w};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,r,n,i){var o,a,s,u,l,c="function"==typeof e&&e,d=!i&&ce(e=c.selector||e);if(n=n||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&f&&t.relative[a[1].type]){if(!(r=(t.find.ID(s.matches[0].replace(X,Q),r)||[])[0]))return n;c&&(r=r.parentNode),e=e.slice(a.shift().value.length)}for(o=$.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[u=s.type]);)if((l=t.find[u])&&(i=l(s.matches[0].replace(X,Q),z.test(a[0].type)&&se(r.parentNode)||r))){if(a.splice(o,1),!(e=i.length&&fe(a)))return g.apply(n,i),n;break}}return(c||me(e,d))(i,r,!f,n,!r||z.test(e)&&se(r.parentNode)||r),n}le.prototype=t.filters=t.pseudos,t.setFilters=new le,y.sortStable=m.split("").sort(E).join("")===m,ue(),y.sortDetached=re(function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))}),T.find=K,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,K.compile=me,K.select=ve,K.setDocument=ue,K.tokenize=ce,K.escape=T.escapeSelector,K.getText=T.text,K.isXML=T.isXMLDoc,K.selectors=T.expr,K.support=T.support,K.uniqueSort=T.uniqueSort}();var M=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(r))break;n.push(e)}return n},F=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},B=T.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(e,t,r){return m(t)?T.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?T.grep(e,function(e){return e===t!==r}):"string"!=typeof t?T.grep(e,function(e){return c.call(t,e)>-1!==r}):T.filter(t,e,r)}T.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?T.find.matchesSelector(n,e)?[n]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(i[t],this))return!0}));for(r=this.pushStack([]),t=0;t<n;t++)T.find(e,i[t],r);return n>1?T.uniqueSort(r):r},filter:function(e){return this.pushStack(U(this,e||[],!1))},not:function(e){return this.pushStack(U(this,e||[],!0))},is:function(e){return!!U(this,"string"==typeof e&&B.test(e)?T(e):e||[],!1).length}});var W,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||W,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),V.test(n[1])&&T.isPlainObject(t))for(n in t)m(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=b.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==r.ready?r.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,W=T(b);var $=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),r=t.length;return this.filter(function(){for(var e=0;e<r;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var r,n=0,i=this.length,o=[],a="string"!=typeof e&&T(e);if(!B.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&T.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(T(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,r){return M(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,r){return M(e,"nextSibling",r)},prevUntil:function(e,t,r){return M(e,"previousSibling",r)},siblings:function(e){return F((e.parentNode||{}).firstChild,e)},children:function(e){return F(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(r,n){var i=T.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=T.filter(n,i)),this.length>1&&(Y[e]||T.uniqueSort(i),$.test(e)&&i.reverse()),this.pushStack(i)}});var q=/[^\x20\t\r\n\f]+/g;function z(e){return e}function X(e){throw e}function Q(e,t,r,n){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(r):e&&m(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(q)||[],function(e,r){t[r]=!0}),t}(e):T.extend({},e);var t,r,n,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<o.length;)!1===o[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=o.length,r=!1);e.memory||(r=!1),t=!1,i&&(o=r?[]:"")},l={add:function(){return o&&(r&&!t&&(s=o.length-1,a.push(r)),function t(r){T.each(r,function(r,n){m(n)?e.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==S(n)&&t(n)})}(arguments),r&&!t&&u()),this},remove:function(){return T.each(arguments,function(e,t){for(var r;(r=T.inArray(t,o,r))>-1;)o.splice(r,1),r<=s&&s--}),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||t||(o=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(r){T.each(t,function(t,n){var i=m(e[n[4]])&&e[n[4]];o[n[1]](function(){var e=i&&i.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(e<o)){if((n=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(l)?i?l.call(n,a(o,t,z,i),a(o,t,X,i)):(o++,l.call(n,a(o,t,z,i),a(o,t,X,i),a(o,t,z,t.notifyWith))):(r!==z&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,c.error),e+1>=o&&(r!==X&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(T.Deferred.getErrorHook?c.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(c.error=T.Deferred.getStackHook()),n.setTimeout(c))}}return T.Deferred(function(n){t[0][3].add(a(0,n,m(i)?i:z,n.notifyWith)),t[1][3].add(a(0,n,m(e)?e:z)),t[2][3].add(a(0,n,m(r)?r:X))}).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(t,function(e,n){var a=n[2],s=n[5];i[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),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),i=s.call(arguments),o=T.Deferred(),a=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?s.call(arguments):r,--t||o.resolveWith(n,i)}};if(t<=1&&(Q(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||m(i[r]&&i[r].then)))return o.then();for(;r--;)Q(i[r],a(r),o.reject);return o.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout(function(){throw e})};var J=T.Deferred();function K(){b.removeEventListener("DOMContentLoaded",K),n.removeEventListener("load",K),T.ready()}T.fn.ready=function(e){return J.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||J.resolveWith(b,[T]))}}),T.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",K),n.addEventListener("load",K));var ee=function(e,t,r,n,i,o,a){var s=0,u=e.length,l=null==r;if("object"===S(r))for(s in i=!0,r)ee(e,t,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,m(n)||(a=!0),l&&(a?(t.call(e,n),t=null):(l=t,t=function(e,t,r){return l.call(T(e),r)})),t))for(;s<u;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return i?e:l?t.call(e):u?t(e[0],r):o},te=/^-ms-/,re=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(re,ne)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=T.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"==typeof t)i[ie(t)]=r;else for(n in t)i[ie(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in n?[t]:t.match(q)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||T.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var se=new ae,ue=new ae,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function fe(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:le.test(e)?JSON.parse(e):e)}(r)}catch(e){}ue.set(e,t,r)}else r=void 0;return r}T.extend({hasData:function(e){return ue.hasData(e)||se.hasData(e)},data:function(e,t,r){return ue.access(e,t,r)},removeData:function(e,t){ue.remove(e,t)},_data:function(e,t,r){return se.access(e,t,r)},_removeData:function(e,t){se.remove(e,t)}}),T.fn.extend({data:function(e,t){var r,n,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ue.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=ie(n.slice(5)),fe(o,n,i[n]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ue.set(this,e)}):ee(this,function(t){var r;if(o&&void 0===t)return void 0!==(r=ue.get(o,e))||void 0!==(r=fe(o,e))?r:void 0;this.each(function(){ue.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ue.remove(this,e)})}}),T.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=se.get(e,t),r&&(!n||Array.isArray(r)?n=se.access(e,t,T.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=T.queue(e,t),n=r.length,i=r.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete o.stop,i.call(e,function(){T.dequeue(e,t)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return se.get(e,r)||se.access(e,r,{empty:T.Callbacks("once memory").add(function(){se.remove(e,[t+"queue",r])})})}}),T.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?T.queue(this[0],e):void 0===t?this:this.each(function(){var r=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=T.Deferred(),o=this,a=this.length,s=function(){--n||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=se.get(o[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],ge=b.documentElement,ye=function(e){return T.contains(e.ownerDocument,e)},me={composed:!0};ge.getRootNode&&(ye=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(me)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ye(e)&&"none"===T.css(e,"display")};function be(e,t,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return T.css(e,t,"")},u=s(),l=r&&r[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+u)&&he.exec(T.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)T.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,T.style(e,t,c+l),r=r||[]}return r&&(c=+c||+u||0,i=r[1]?c+(r[1]+1)*r[2]:+r[2],n&&(n.unit=l,n.start=c,n.end=i)),i}var we={};function _e(e){var t,r=e.ownerDocument,n=e.nodeName,i=we[n];return i||(t=r.body.appendChild(r.createElement(n)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),we[n]=i,i)}function Se(e,t){for(var r,n,i=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(r=n.style.display,t?("none"===r&&(i[o]=se.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&ve(n)&&(i[o]=_e(n))):"none"!==r&&(i[o]="none",se.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}T.fn.extend({show:function(){return Se(this,!0)},hide:function(){return Se(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ve(this)?T(this).show():T(this).hide()})}});var xe,Ee,Te=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Oe=/^$|^module$|\/(?:java|ecma)script/i;xe=b.createDocumentFragment().appendChild(b.createElement("div")),(Ee=b.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),xe.appendChild(Ee),y.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",y.option=!!xe.lastChild;var Ae={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 Ce(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?T.merge([e],r):r}function Re(e,t){for(var r=0,n=e.length;r<n;r++)se.set(e[r],"globalEval",!t||se.get(t[r],"globalEval"))}Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td,y.option||(Ae.optgroup=Ae.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function je(e,t,r,n,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===S(o))T.merge(d,o.nodeType?[o]:o);else if(Pe.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ke.exec(o)||["",""])[1].toLowerCase(),u=Ae[s]||Ae._default,a.innerHTML=u[1]+T.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(n&&T.inArray(o,n)>-1)i&&i.push(o);else if(l=ye(o),a=Ce(f.appendChild(o),"script"),l&&Re(a),r)for(c=0;o=a[c++];)Oe.test(o.type||"")&&r.push(o);return f}var Ne=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Ie(){return!1}function Le(e,t,r,n,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)Le(e,s,r,n,t[s],o);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Ie;else if(!i)return e;return 1===o&&(a=i,i=function(e){return T().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=T.guid++)),e.each(function(){T.event.add(this,t,i,n,r)})}function Me(e,t,r){r?(se.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,n=se.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),se.set(this,t,n),this[t](),r=se.get(this,t),se.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(se.set(this,t,T.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===se.get(e,t)&&T.event.add(e,t,De)}T.event={global:{},add:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=se.get(e);if(oe(e))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&T.find.matchesSelector(ge,i),r.guid||(r.guid=T.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(q)||[""]).length;l--;)h=g=(s=Ne.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=T.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=T.event.special[h]||{},c=T.extend({type:h,origType:g,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,n,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),T.event.global[h]=!0)},remove:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=se.hasData(e)&&se.get(e);if(y&&(u=y.events)){for(l=(t=(t||"").match(q)||[""]).length;l--;)if(h=g=(s=Ne.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=T.event.special[h]||{},d=u[h=(n?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,y.handle)||T.removeEvent(e,h,y.handle),delete u[h])}else for(h in u)T.event.remove(e,h+t[l],r,n,!0);T.isEmptyObject(u)&&se.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=new Array(arguments.length),u=T.event.fix(e),l=(se.get(this,"events")||Object.create(null))[u.type]||[],c=T.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=T.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,r=0;(o=i.handlers[r++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(n=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=n)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var r,n,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},r=0;r<u;r++)void 0===a[i=(n=t[r]).selector+" "]&&(a[i]=n.needsContext?T(i,this).index(l)>-1:T.find(i,this,null,[l]).length),a[i]&&o.push(n);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(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[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&O(t,"input")&&Me(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&O(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&O(t,"input")&&se.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Ie,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&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ie,isPropagationStopped:Ie,isImmediatePropagationStopped:Ie,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.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},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){function r(e){if(b.documentMode){var r=se.get(this,"handle"),n=T.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var n;if(Me(this,e,!0),!b.documentMode)return!1;(n=se.get(this,t))||this.addEventListener(t,r),se.set(this,t,(n||0)+1)},trigger:function(){return Me(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,r),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),se.remove(i,t))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}}),T.fn.extend({on:function(e,t,r,n){return Le(this,e,t,r,n)},one:function(e,t,r,n){return Le(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,T(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Ie),this.each(function(){T.event.remove(this,e,r,t)})}});var Fe=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ue(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function We(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function $e(e,t){var r,n,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(r=0,n=s[i].length;r<n;r++)T.event.add(t,i,s[i][r]);ue.hasData(e)&&(o=ue.access(e),a=T.extend({},o),ue.set(t,a))}}function Ye(e,t){var r=t.nodeName.toLowerCase();"input"===r&&Te.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ge(e,t,r,n){t=u(t);var i,o,a,s,l,c,f=0,d=e.length,h=d-1,p=t[0],g=m(p);if(g||d>1&&"string"==typeof p&&!y.checkClone&&Be.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),Ge(o,t,r,n)});if(d&&(o=(i=je(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=T.map(Ce(i,"script"),We)).length;f<d;f++)l=i,f!==h&&(l=T.clone(l,!0,!0),s&&T.merge(a,Ce(l,"script"))),r.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,He),f=0;f<s;f++)l=a[f],Oe.test(l.type||"")&&!se.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Ve,""),l,c))}return e}function qe(e,t,r){for(var n,i=t?T.filter(t,e):e,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||T.cleanData(Ce(n)),n.parentNode&&(r&&ye(n)&&Re(Ce(n,"script")),n.parentNode.removeChild(n));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,o,a,s=e.cloneNode(!0),u=ye(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=Ce(s),n=0,i=(o=Ce(e)).length;n<i;n++)Ye(o[n],a[n]);if(t)if(r)for(o=o||Ce(e),a=a||Ce(s),n=0,i=o.length;n<i;n++)$e(o[n],a[n]);else $e(e,s);return(a=Ce(s,"script")).length>0&&Re(a,!u&&Ce(e,"script")),s},cleanData:function(e){for(var t,r,n,i=T.event.special,o=0;void 0!==(r=e[o]);o++)if(oe(r)){if(t=r[se.expando]){if(t.events)for(n in t.events)i[n]?T.event.remove(r,n):T.removeEvent(r,n,t.handle);r[se.expando]=void 0}r[ue.expando]&&(r[ue.expando]=void 0)}}}),T.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return ee(this,function(e){return void 0===e?T.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 Ge(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ue(this,e).appendChild(e)})},prepend:function(){return Ge(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ue(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ge(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&&(T.cleanData(Ce(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Fe.test(e)&&!Ae[(ke.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(T.cleanData(Ce(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,function(t){var r=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Ce(this)),r&&r.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var r,n=[],i=T(e),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),T(i[a])[t](r),l.apply(n,r.get());return this.pushStack(n)}});var ze=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Xe=/^--/,Qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ze=function(e,t,r){var n,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=r.call(e),t)e.style[i]=o[i];return n},Je=new RegExp(pe.join("|"),"i");function Ke(e,t,r){var n,i,o,a,s=Xe.test(t),u=e.style;return(r=r||Qe(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ye(e)||(a=T.style(e,t)),!y.pixelBoxStyles()&&ze.test(a)&&Je.test(t)&&(n=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=r.width,u.width=n,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ge.appendChild(l).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ge.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ge.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],rt=b.createElement("div").style,nt={};function it(e){var t=T.cssProps[e]||nt[e];return t||(e in rt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=tt.length;r--;)if((e=tt[r]+t)in rt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function ut(e,t,r){var n=he.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function lt(e,t,r,n,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=T.css(e,r+pe[a],!0,i)),n?("content"===r&&(u-=T.css(e,"padding"+pe[a],!0,i)),"margin"!==r&&(u-=T.css(e,"border"+pe[a]+"Width",!0,i))):(u+=T.css(e,"padding"+pe[a],!0,i),"padding"!==r?u+=T.css(e,"border"+pe[a]+"Width",!0,i):s+=T.css(e,"border"+pe[a]+"Width",!0,i));return!n&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ct(e,t,r){var n=Qe(e),i=(!y.boxSizingReliable()||r)&&"border-box"===T.css(e,"boxSizing",!1,n),o=i,a=Ke(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!r)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&O(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,n),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+lt(e,t,r||(i?"border":"content"),o,n,a)+"px"}function ft(e,t,r,n,i){return new ft.prototype.init(e,t,r,n,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Ke(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),u=Xe.test(t),l=e.style;if(u||(t=it(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(e,!1,n))?i:l[t];"string"===(o=typeof r)&&(i=he.exec(r))&&i[1]&&(r=be(e,t,i),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=i&&i[3]||(T.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(u?l.setProperty(t,r):l[t]=r))}},css:function(e,t,r,n){var i,o,a,s=ie(t);return Xe.test(t)||(t=it(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=Ke(e,t,n)),"normal"===i&&t in st&&(i=st[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,r,n){if(r)return!ot.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,n):Ze(e,at,function(){return ct(e,t,n)})},set:function(e,r,n){var i,o=Qe(e),a=!y.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===T.css(e,"boxSizing",!1,o),u=n?lt(e,t,n,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-lt(e,t,"border",!1,o)-.5)),u&&(i=he.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=T.css(e,t)),ut(0,r,u)}}}),T.cssHooks.marginLeft=et(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+pe[n]+t]=o[n]||o[n-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=ut)}),T.fn.extend({css:function(e,t){return ee(this,function(e,t,r){var n,i,o={},a=0;if(Array.isArray(t)){for(n=Qe(e),i=t.length;a<i;a++)o[t[a]]=T.css(e,t[a],!1,n);return o}return void 0!==r?T.style(e,t,r):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=ft,ft.prototype={constructor:ft,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(T.cssNumber[r]?"":"px")},cur:function(){var e=ft.propHooks[this.prop];return e&&e.get?e.get(this):ft.propHooks._default.get(this)},run:function(e){var t,r=ft.propHooks[this.prop];return this.options.duration?this.pos=t=T.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),r&&r.set?r.set(this):ft.propHooks._default.set(this),this}},ft.prototype.init.prototype=ft.prototype,ft.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=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},ft.propHooks.scrollTop=ft.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=ft.prototype.init,T.fx.step={};var dt,ht,pt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function yt(){ht&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(yt):n.setTimeout(yt,T.fx.interval),T.fx.tick())}function mt(){return n.setTimeout(function(){dt=void 0}),dt=Date.now()}function vt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=pe[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,r){for(var n,i=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,t,e))return n}function wt(e,t,r){var n,i,o=0,a=wt.prefilters.length,s=T.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=dt||mt(),r=Math.max(0,l.startTime+l.duration-t),n=1-(r/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(n);return s.notifyWith(e,[l,n,r]),n<1&&a?r:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},r),originalProperties:t,originalOptions:r,startTime:dt||mt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=T.Tween(e,l.opts,t,r,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){var r=0,n=t?l.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)l.tweens[r].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var r,n,i,o,a;for(r in e)if(i=t[n=ie(r)],o=e[r],Array.isArray(o)&&(i=o[1],o=e[r]=o[0]),r!==n&&(e[n]=o,delete e[r]),(a=T.cssHooks[n])&&"expand"in a)for(r in o=a.expand(o),delete e[n],o)r in e||(e[r]=o[r],t[r]=i);else t[n]=i}(c,l.opts.specialEasing);o<a;o++)if(n=wt.prefilters[o].call(l,e,c,l.opts))return m(n.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return T.map(c,bt,l),m(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(wt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return be(r.elem,e,he.exec(t),r),r}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(q);for(var r,n=0,i=e.length;n<i;n++)r=e[n],wt.tweeners[r]=wt.tweeners[r]||[],wt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&ve(e),y=se.get(e,"fxshow");for(n in r.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[n],pt.test(i)){if(delete t[n],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[n])continue;g=!0}h[n]=y&&y[n]||T.style(e,n)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(h))for(n in f&&1===e.nodeType&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=y&&y.display)&&(l=se.get(e,"display")),"none"===(c=T.css(e,"display"))&&(l?c=l:(Se([e],!0),l=e.style.display||l,c=T.css(e,"display"),Se([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(e,"float")&&(u||(d.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),r.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=r.overflow[0],p.overflowX=r.overflow[1],p.overflowY=r.overflow[2]})),u=!1,h)u||(y?"hidden"in y&&(g=y.hidden):y=se.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&Se([e],!0),d.done(function(){for(n in g||Se([e]),se.remove(e,"fxshow"),h)T.style(e,n,h[n])})),u=bt(g?y[n]:0,n,d),n in y||(y[n]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?wt.prefilters.unshift(e):wt.prefilters.push(e)}}),T.speed=function(e,t,r){var n=e&&"object"==typeof e?T.extend({},e):{complete:r||!r&&t||m(e)&&e,duration:e,easing:r&&t||t&&!m(t)&&t};return T.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in T.fx.speeds?n.duration=T.fx.speeds[n.duration]:n.duration=T.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){m(n.old)&&n.old.call(this),n.queue&&T.dequeue(this,n.queue)},n},T.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=T.isEmptyObject(e),o=T.speed(t,r,n),a=function(){var t=wt(this,T.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&>.test(i)&&n(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(r),t=!1,o.splice(i,1));!t&&r||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,r=se.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],o=T.timers,a=n?n.length:0;for(r.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish})}}),T.each(["toggle","show","hide"],function(e,t){var r=T.fn[t];T.fn[t]=function(e,n,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(vt(t,!0),e,n,i)}}),T.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,r=T.timers;for(dt=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||T.fx.stop(),dt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ht||(ht=!0,yt())},T.fx.stop=function(){ht=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var _t,St=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,r):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?_t:void 0)),void 0!==r?null===r?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=T.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&O(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(q);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),_t={set:function(e,t,r){return!1===t?T.removeAttr(e,r):e.setAttribute(r,r),r}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var r=St[t]||T.find.attr;St[t]=function(e,t,n){var i,o,a=t.toLowerCase();return n||(o=St[a],St[a]=i,i=null!=r(e,t,n)?a:null,St[a]=o),i}});var xt=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Tt(e){return(e.match(q)||[]).join(" ")}function kt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ot(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.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)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,r,n,i,o,a;return m(e)?this.each(function(t){T(this).addClass(e.call(this,t,kt(this)))}):(t=Ot(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+Tt(n)+" "){for(o=0;o<t.length;o++)i=t[o],r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Tt(r),n!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,r,n,i,o,a;return m(e)?this.each(function(t){T(this).removeClass(e.call(this,t,kt(this)))}):arguments.length?(t=Ot(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+Tt(n)+" "){for(o=0;o<t.length;o++)for(i=t[o];r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Tt(r),n!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var r,n,i,o,a=typeof e,s="string"===a||Array.isArray(e);return m(e)?this.each(function(r){T(this).toggleClass(e.call(this,r,kt(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=Ot(e),this.each(function(){if(s)for(o=T(this),i=0;i<r.length;i++)n=r[i],o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==e&&"boolean"!==a||((n=kt(this))&&se.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":se.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+Tt(kt(r))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=m(e),this.each(function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(At,""):null==r?"":r:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,r,n,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(n=o<0?u:a?o:0;n<u;n++)if(((r=i[n]).selected||n===o)&&!r.disabled&&(!r.parentNode.disabled||!O(r.parentNode,"optgroup"))){if(t=T(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,i=e.options,o=T.makeArray(t),a=i.length;a--;)((n=i[a]).selected=T.inArray(T.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},y.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ct=n.location,Rt={guid:Date.now()},Pt=/\?/;T.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||T.error("Invalid XML: "+(r?T.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,i){var o,a,s,u,l,c,f,d,p=[r||b],g=h.call(e,"type")?e.type:e,y=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!jt.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),f=T.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!v(r)){for(u=f.delegateType||g,jt.test(u+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||g,(c=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&oe(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),t)||!oe(r)||l&&m(r[g])&&!v(r)&&((s=r[l])&&(r[l]=null),T.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,Nt),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,Nt),T.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,r){var n=T.extend(new T.Event,r,{type:e,isSimulated:!0});T.event.trigger(n,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return T.event.trigger(e,t,r,!0)}});var Dt=/\[\]$/,It=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,r,n){var i;if(Array.isArray(t))T.each(t,function(t,i){r||Dt.test(e)?n(e,i):Ft(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,n)});else if(r||"object"!==S(t))n(e,t);else for(i in t)Ft(e+"["+i+"]",t[i],r,n)}T.param=function(e,t){var r,n=[],i=function(e,t){var r=m(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(r in e)Ft(r,e[r],t,i);return n.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Mt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var r=T(this).val();return null==r?null:Array.isArray(r)?T.map(r,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:r.replace(It,"\r\n")}}).get()}});var Bt=/%20/g,Vt=/#.*$/,Ut=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,$t=/^\/\//,Yt={},Gt={},qt="*/".concat("*"),zt=b.createElement("a");function Xt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,o=t.toLowerCase().match(q)||[];if(m(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Qt(e,t,r,n){var i={},o=e===Gt;function a(s){var u;return i[s]=!0,T.each(e[s]||[],function(e,s){var l=s(t,r,n);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Zt(e,t){var r,n,i=T.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&T.extend(!0,e,n),e}zt.href=Ct.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,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":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,T.ajaxSettings),t):Zt(T.ajaxSettings,e)},ajaxPrefilter:Xt(Yt),ajaxTransport:Xt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,f,d,h=T.ajaxSetup({},t),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?T(p):T.event,y=T.Deferred(),m=T.Callbacks("once memory"),v=h.statusCode||{},w={},_={},S="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Wt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)x.always(e[x.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),E(0,t),this}};if(y.promise(x),h.url=((e||h.url||Ct.href)+"").replace($t,Ct.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(q)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Qt(Yt,h,t,x),l)return x;for(f in(c=T.event&&h.global)&&0===T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ht.test(h.type),i=h.url.replace(Vt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Bt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Pt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ut,"$1"),d=(Pt.test(i)?"&":"?")+"_="+Rt.guid+++d),h.url=i+d),h.ifModified&&(T.lastModified[i]&&x.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&x.setRequestHeader("If-None-Match",T.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)x.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(p,x,h)||l))return x.abort();if(S="abort",m.add(h.complete),x.done(h.success),x.fail(h.error),r=Qt(Gt,h,t,x)){if(x.readyState=1,c&&g.trigger("ajaxSend",[x,h]),l)return x;h.async&&h.timeout>0&&(s=n.setTimeout(function(){x.abort("timeout")},h.timeout));try{l=!1,r.send(w,E)}catch(e){if(l)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,u){var f,d,b,w,_,S=t;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",x.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(w=function(e,t,r){for(var n,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){u.unshift(i);break}if(u[0]in r)o=u[0];else{for(i in r){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),r[o]}(h,x,a)),!f&&T.inArray("script",h.dataTypes)>-1&&T.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,r,n){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(r[e.responseFields[o]]=t),!u&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.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 "+u+" to "+o}}}return{state:"success",data:t}}(h,w,x,f),f?(h.ifModified&&((_=x.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=_),(_=x.getResponseHeader("etag"))&&(T.etag[i]=_)),204===e||"HEAD"===h.type?S="nocontent":304===e?S="notmodified":(S=w.state,d=w.data,f=!(b=w.error))):(b=S,!e&&S||(S="error",e<0&&(e=0))),x.status=e,x.statusText=(t||S)+"",f?y.resolveWith(p,[d,S,x]):y.rejectWith(p,[x,S,b]),x.statusCode(v),v=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[x,h,f?d:b]),m.fireWith(p,[x,S]),c&&(g.trigger("ajaxComplete",[x,h]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,r){return T.get(e,t,r,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,r,n,i){return m(r)&&(i=i||n,n=r,r=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:r,success:n},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,r){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,r)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=T(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 m(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(r){T(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Kt=T.ajaxSettings.xhr();y.cors=!!Kt&&"withCredentials"in Kt,y.ajax=Kt=!!Kt,T.ajaxTransport(function(e){var t,r;if(y.cors||Kt&&!e.crossDomain)return{send:function(i,o){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||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[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?o(0,"error"):o(s.status,s.statusText):o(Jt[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()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.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 T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}});var er,tr=[],rr=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||T.expando+"_"+Rt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rr,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?T(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tr.push(i)),a&&m(o)&&o(a[0]),a=o=void 0}),"script"}),y.createHTMLDocument=((er=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===er.childNodes.length),T.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(y.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),o=!r&&[],(i=V.exec(e))?[t.createElement(i[1])]:(i=je([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var n,i,o},T.fn.load=function(e,t,r){var n,i,o,a=this,s=e.indexOf(" ");return s>-1&&(n=Tt(e.slice(s)),e=e.slice(0,s)),m(t)?(r=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(n?T("<div>").append(T.parseHTML(e)).find(n):e)}).always(r&&function(e,t){a.each(function(){r.apply(this,o||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,r){var n,i,o,a,s,u,l=T.css(e,"position"),c=T(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=T.css(e,"top"),u=T.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(n=c.position()).top,i=n.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,r,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===T.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(n,"marginTop",!0),left:t.left-i.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ge})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;T.fn[e]=function(n){return ee(this,function(e,n,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[n];o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):e[n]=i},e,n,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=et(y.pixelPosition,function(e,r){if(r)return r=Ke(e,t),ze.test(r)?T(e).position()[t]+"px":r})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(r,n){T.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(!0===i||!0===o?"margin":"border");return ee(this,function(t,r,i){var o;return v(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?T.css(t,r,s):T.style(t,r,i,s)},t,a?i:void 0,a)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.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){T.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}});var nr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var r,n,i;if("string"==typeof t&&(r=e[t],t=e,e=r),m(e))return n=s.call(arguments,2),i=function(){return e.apply(t||this,n.concat(s.call(arguments)))},i.guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=O,T.isFunction=m,T.isWindow=v,T.camelCase=ie,T.type=S,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(nr,"$1")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var ir=n.jQuery,or=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=or),e&&n.jQuery===T&&(n.jQuery=ir),T},void 0===i&&(n.jQuery=n.$=T),T})},7635:e=>{var t,r;t="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=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],o=0;o<4;o++)8*n+6*o<=8*e.length?r.push(t.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},7656:(e,t,r)=>{"use strict";var n=r(1537),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},7709:(e,t,r)=>{"use strict";var n=r(9022),i=r(7987),o=r(7527),a=r(1726),s=r(4745),u=r(7986),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),c[e]}},7777:e=>{"use strict";e.exports="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"},7853:(e,t,r)=>{"use strict";r(7167),r(6544),r(2658),r(7148),r(335)},7869:(e,t,r)=>{"use strict";var n=r(1550),i=r(1537),o=r(5017),a=r(8620),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,f=o(a(t)),d=i(r),h=f.length;return d<0||d>=h?e?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?e?s(f,d):n:e?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},7890:(e,t,r)=>{"use strict";var n=r(1341);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},7896:(e,t,r)=>{"use strict";var n=r(7924).PROPER,i=r(1341),o=r(1282);e.exports=function(e){return i(function(){return!!o[e]()||"
"!=="
"[e]()||n&&o[e].name!==e})}},7899:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},7917:(e,t,r)=>{"use strict";const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:s,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:h,String:p,StringPrototypeToUpperCase:g,StringPrototypeTrim:y}=r(2990),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:S}}=r(11),{normalizeEncoding:x}=r(2840),{isAsyncFunction:E,isArrayBufferView:T}=r(2840).types,k={};const O=/^[0-7]+$/;const A=m((e,t,r=c,n=l)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),C=m((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);if(e<r||e>n)throw new _(t,`>= ${r} && <= ${n}`,e)}),R=m((e,t,r=!1)=>{if("number"!=typeof e)throw new b(t,"number",e);if(!s(e))throw new _(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new _(t,`>= ${n} && <= ${i}`,e)});function P(e,t){if("string"!=typeof e)throw new b(t,"string",e)}const j=m((e,t,r)=>{if(!i(r,e)){const n=o(a(r,e=>"string"==typeof e?`'${e}'`:p(e)),", ");throw new w(t,e,"must be one of: "+n)}});function N(e,t){if("boolean"!=typeof e)throw new b(t,"boolean",e)}function D(e,t,r){return null!=e&&d(e,t)?e[t]:r}const I=m((e,t,r=null)=>{const i=D(r,"allowArray",!1),o=D(r,"allowFunction",!1);if(!D(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new b(t,"Object",e)}),L=m((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new b(t,"a dictionary",e)}),M=m((e,t,r=0)=>{if(!n(e))throw new b(t,"Array",e);if(e.length<r){throw new w(t,e,`must be longer than ${r}`)}});const F=m((e,t="buffer")=>{if(!T(e))throw new b(t,["Buffer","TypedArray","DataView"],e)});const B=m((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new b(t,"AbortSignal",e)}),V=m((e,t)=>{if("function"!=typeof e)throw new b(t,"Function",e)}),U=m((e,t)=>{if("function"!=typeof e||E(e))throw new b(t,"Function",e)}),W=m((e,t)=>{if(void 0!==e)throw new b(t,"undefined",e)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function $(e,t){if(void 0===e||!h(H,e))throw new w(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===h(O,e))throw new w(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return R(e,t),e},validateArray:M,validateStringArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++)P(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++)N(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new b(i,"AbortSignal",n);B(n,i)}},validateBoolean:N,validateBuffer:F,validateDictionary:L,validateEncoding:function(e,t){const r=x(t),n=e.length;if("hex"===r&&n%2!=0)throw new w("encoding",t,`is invalid for data of length ${n}`)},validateFunction:V,validateInt32:C,validateInteger:A,validateNumber:function(e,t,r=void 0,n){if("number"!=typeof e)throw new b(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new _(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:I,validateOneOf:j,validatePlainFunction:U,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===y(e).length||+e!==+e>>>0||e>65535||0===e&&!r)throw new v(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(P(e,t),void 0===k[e]){if(void 0!==k[g(e)])throw new S(e+" (signals must use all capital letters)");throw new S(e)}},validateString:P,validateUint32:R,validateUndefined:W,validateUnion:function(e,t,r){if(!i(r,e))throw new b(t,`('${o(r,"|")}')`,e)},validateAbortSignal:B,validateLinkHeaderValue:function(e){if("string"==typeof e)return $(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];$(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new w("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},7924:(e,t,r)=>{"use strict";var n=r(7890),i=r(7527),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},7947:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=l}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*g}},7964:(e,t,r)=>{"use strict";var n=r(2575).IteratorPrototype,i=r(2358),o=r(3382),a=r(3977),s=r(6779),u=function(){return this};e.exports=function(e,t,r,l){var c=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),a(e,c,!1,!0),s[c]=u,e}},7986:(e,t,r)=>{"use strict";var n=r(4745);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7987:(e,t,r)=>{"use strict";var n=r(3907);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},8027:(e,t,r)=>{"use strict";const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(2990),{EventEmitter:o}=r(9784);function a(e){o.call(this,e)}function s(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",l));let a=!1;function u(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){f(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return s(r,"error",c),s(e,"error",c),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},e.exports={Stream:a,prependListener:s}},8042:(e,t,r)=>{"use strict";var n=r(6817),i=r(9336),o=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new o("Incorrect hint");return i(this,e)}},8049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="\t\n\r --�𐀀-",t.S=" \t\r\n",t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(e){return e>=32&&e<=55295||10===e||13===e||9===e||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isS=function(e){return 32===e||10===e||13===e||9===e},t.isNameStartChar=r,t.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},8054:(e,t,r)=>{"use strict";var n=r(7098),i=r(417);e.exports=Object.keys||function(e){return n(e,i)}},8093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseType=t.RdfXmlParser=void 0;const n=r(2839),i=r(5456),o=r(5782),a=r(408),s=r(4192),u=r(3545);class l extends o.Transform{constructor(e){super({readableObjectMode:!0}),this.activeTagStack=[],this.nodeIds={},e&&(Object.assign(this,e),this.options=e),this.dataFactory||(this.dataFactory=new s.DataFactory),this.baseIRI||(this.baseIRI=""),this.defaultGraph||(this.defaultGraph=this.dataFactory.defaultGraph()),!1!==this.validateUri&&(this.validateUri=!0),this.iriValidationStrategy||(this.iriValidationStrategy=this.validateUri?u.IriValidationStrategy.Pragmatic:u.IriValidationStrategy.None),this.saxParser=new i.SaxesParser({xmlns:!0,position:this.trackPosition}),this.attachSaxListeners()}import(e){const t=new o.PassThrough({readableObjectMode:!0});e.on("error",e=>r.emit("error",e)),e.on("data",e=>t.push(e)),e.on("end",()=>t.push(null));const r=t.pipe(new l(this.options));return r}_transform(e,t,r){try{this.saxParser.write(e)}catch(e){return r(e)}r()}newParseError(e){return new a.ParseError(this,e)}valueToUri(e,t){return this.uriToNamedNode((0,n.resolve)(e,t.baseIRI))}uriToNamedNode(e){const t=(0,u.validateIri)(e,this.iriValidationStrategy);if(t instanceof Error)throw this.newParseError(t.message);return this.dataFactory.namedNode(e)}validateNcname(e){if(!l.NCNAME_MATCHER.test(e))throw this.newParseError(`Not a valid NCName: ${e}`)}attachSaxListeners(){this.saxParser.on("error",e=>this.emit("error",e)),this.saxParser.on("opentag",this.onTag.bind(this)),this.saxParser.on("text",this.onText.bind(this)),this.saxParser.on("cdata",this.onText.bind(this)),this.saxParser.on("closetag",this.onCloseTag.bind(this)),this.saxParser.on("doctype",this.onDoctype.bind(this))}onTag(e){const t=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;let r=c.RESOURCE;if(t&&(t.hadChildren=!0,r=t.childrenParseType),t&&t.childrenStringTags){const r=e.name;let n="";for(const t in e.attributes)n+=` ${t}="${e.attributes[t].value}"`;const i=`<${`${r}${n}`}>`;t.childrenStringTags.push(i);const o={childrenStringTags:t.childrenStringTags};return o.childrenStringEmitClosingTag=`</${r}>`,void this.activeTagStack.push(o)}const n={};t?(n.language=t.language,n.baseIRI=t.baseIRI):n.baseIRI=this.baseIRI,this.activeTagStack.push(n),r===c.RESOURCE?this.onTagResource(e,n,t,!t):this.onTagProperty(e,n,t)}onTagResource(e,t,r,i){t.childrenParseType=c.PROPERTY;let o=!0;if(e.uri===l.RDF){if(!i&&l.FORBIDDEN_NODE_ELEMENTS.indexOf(e.local)>=0)throw this.newParseError(`Illegal node element name: ${e.local}`);switch(e.local){case"RDF":t.childrenParseType=c.RESOURCE;case"Description":o=!1}}const a=[],s=[];let u=null,f=!1,d=!1,h=null;for(const i in e.attributes){const o=e.attributes[i];if(r&&o.uri===l.RDF)switch(o.local){case"about":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);u=o.value;continue;case"ID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u="#"+o.value,f=!0;continue;case"nodeID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u=o.value,d=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"type":h=o.value;continue;case"aboutEach":throw this.newParseError("rdf:aboutEach is not supported.");case"aboutEachPrefix":throw this.newParseError("rdf:aboutEachPrefix is not supported.");case"li":throw this.newParseError("rdf:li on node elements are not supported.")}else if(o.uri===l.XML){if("lang"===o.local){t.language=""===o.value?null:o.value.toLowerCase();continue}if("base"===o.local){t.baseIRI=(0,n.resolve)(o.value,t.baseIRI);continue}}"xml"===o.prefix||"xmlns"===o.prefix||""===o.prefix&&"xmlns"===o.local||!o.uri||(a.push(this.uriToNamedNode(o.uri+o.local)),s.push(o.value))}if(null!==u&&(t.subject=d?this.dataFactory.blankNode(u):this.valueToUri(u,t),f&&this.claimNodeId(t.subject)),t.subject||(t.subject=this.dataFactory.blankNode()),o){const n=this.uriToNamedNode(e.uri+e.local);this.emitTriple(t.subject,this.dataFactory.namedNode(l.RDF+"type"),n,r?r.reifiedStatementId:null)}if(r){if(r.predicate)if(r.childrenCollectionSubject){const e=this.dataFactory.blankNode();this.emitTriple(r.childrenCollectionSubject,r.childrenCollectionPredicate,e,r.reifiedStatementId),this.emitTriple(e,this.dataFactory.namedNode(l.RDF+"first"),t.subject,t.reifiedStatementId),r.childrenCollectionSubject=e,r.childrenCollectionPredicate=this.dataFactory.namedNode(l.RDF+"rest")}else{this.emitTriple(r.subject,r.predicate,t.subject,r.reifiedStatementId);for(let e=0;e<r.predicateSubPredicates.length;e++)this.emitTriple(t.subject,r.predicateSubPredicates[e],r.predicateSubObjects[e],null);r.predicateSubPredicates=[],r.predicateSubObjects=[],r.predicateEmitted=!0}for(let e=0;e<a.length;e++){const n=this.dataFactory.literal(s[e],t.datatype||t.language);this.emitTriple(t.subject,a[e],n,r.reifiedStatementId)}h&&this.emitTriple(t.subject,this.dataFactory.namedNode(l.RDF+"type"),this.uriToNamedNode(h),null)}}onTagProperty(e,t,r){if(t.childrenParseType=c.RESOURCE,t.subject=r.subject,e.uri===l.RDF&&"li"===e.local?(r.listItemCounter||(r.listItemCounter=1),t.predicate=this.uriToNamedNode(e.uri+"_"+r.listItemCounter++)):t.predicate=this.uriToNamedNode(e.uri+e.local),e.uri===l.RDF&&l.FORBIDDEN_PROPERTY_ELEMENTS.indexOf(e.local)>=0)throw this.newParseError(`Illegal property element name: ${e.local}`);t.predicateSubPredicates=[],t.predicateSubObjects=[];let n=!1,i=!1,o=null,a=!0;const s=[],u=[];for(const r in e.attributes){const f=e.attributes[r];if(f.uri===l.RDF)switch(f.local){case"resource":if(o)throw this.newParseError(`Found both rdf:resource (${f.value}) and rdf:nodeID (${o}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:resource (${f.value})`);t.hadChildren=!0,o=f.value,a=!1;continue;case"datatype":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:datatype (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${f.value})`);t.datatype=this.valueToUri(f.value,t);continue;case"nodeID":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${f.value}).`);if(t.hadChildren)throw this.newParseError(`Found both rdf:resource and rdf:nodeID (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID (${f.value})`);this.validateNcname(f.value),t.hadChildren=!0,o=f.value,a=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"parseType":if(i)throw this.newParseError("rdf:parseType is not allowed when non-rdf:* property attributes are present");if(t.datatype)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${t.datatype.value})`);if(o)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID or rdf:resource (${o})`);if("Resource"===f.value){n=!0,t.childrenParseType=c.PROPERTY;const e=this.dataFactory.blankNode();this.emitTriple(t.subject,t.predicate,e,t.reifiedStatementId),t.subject=e,t.predicate=null}else"Collection"===f.value?(n=!0,t.hadChildren=!0,t.childrenCollectionSubject=t.subject,t.childrenCollectionPredicate=t.predicate,a=!1):"Literal"===f.value&&(n=!0,t.childrenTagsToString=!0,t.childrenStringTags=[]);continue;case"ID":this.validateNcname(f.value),t.reifiedStatementId=this.valueToUri("#"+f.value,t),this.claimNodeId(t.reifiedStatementId);continue}else if(f.uri===l.XML&&"lang"===f.local){t.language=""===f.value?null:f.value.toLowerCase();continue}if("xml"!==f.prefix&&"xmlns"!==f.prefix&&(""!==f.prefix||"xmlns"!==f.local)&&f.uri){if(n||t.datatype)throw this.newParseError(`Found illegal rdf:* properties on property element with attribute: ${f.value}`);t.hadChildren=!0,i=!0,s.push(this.uriToNamedNode(f.uri+f.local)),u.push(this.dataFactory.literal(f.value,t.datatype||t.language))}}if(null!==o){const e=t.subject;t.subject=a?this.dataFactory.blankNode(o):this.valueToUri(o,t),this.emitTriple(e,t.predicate,t.subject,t.reifiedStatementId);for(let e=0;e<s.length;e++)this.emitTriple(t.subject,s[e],u[e],null);t.predicateEmitted=!0}else a&&(t.predicateSubPredicates=s,t.predicateSubObjects=u,t.predicateEmitted=!1)}emitTriple(e,t,r,n){this.push(this.dataFactory.quad(e,t,r,this.defaultGraph)),n&&(this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"type"),this.dataFactory.namedNode(l.RDF+"Statement"),this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"subject"),e,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"predicate"),t,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"object"),r,this.defaultGraph)))}claimNodeId(e){if(!this.allowDuplicateRdfIds){if(this.nodeIds[e.value])throw this.newParseError(`Found multiple occurrences of rdf:ID='${e.value}'.`);this.nodeIds[e.value]=!0}}onText(e){const t=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;t&&(t.childrenStringTags?t.childrenStringTags.push(e):t.predicate&&(t.text=e))}onCloseTag(){const e=this.activeTagStack.pop();if(e.childrenStringEmitClosingTag&&e.childrenStringTags.push(e.childrenStringEmitClosingTag),e.childrenTagsToString&&(e.datatype=this.dataFactory.namedNode(l.RDF+"XMLLiteral"),e.text=e.childrenStringTags.join(""),e.hadChildren=!1),e.childrenCollectionSubject)this.emitTriple(e.childrenCollectionSubject,e.childrenCollectionPredicate,this.dataFactory.namedNode(l.RDF+"nil"),e.reifiedStatementId);else if(e.predicate)if(e.hadChildren||e.childrenParseType===c.PROPERTY){if(!e.predicateEmitted){const t=this.dataFactory.blankNode();this.emitTriple(e.subject,e.predicate,t,e.reifiedStatementId);for(let r=0;r<e.predicateSubPredicates.length;r++)this.emitTriple(t,e.predicateSubPredicates[r],e.predicateSubObjects[r],null)}}else this.emitTriple(e.subject,e.predicate,this.dataFactory.literal(e.text||"",e.datatype||e.language),e.reifiedStatementId)}onDoctype(e){e.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g,(e,t,r)=>(this.saxParser.ENTITIES[t]=r,""))}}var c;t.RdfXmlParser=l,l.MIME_TYPE="application/rdf+xml",l.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",l.XML="http://www.w3.org/XML/1998/namespace",l.FORBIDDEN_NODE_ELEMENTS=["RDF","ID","about","bagID","parseType","resource","nodeID","li","aboutEach","aboutEachPrefix"],l.FORBIDDEN_PROPERTY_ELEMENTS=["Description","RDF","ID","about","bagID","parseType","resource","nodeID","aboutEach","aboutEachPrefix"],l.NCNAME_MATCHER=/^([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_])([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_\-.0-9#xB7\u{0300}-\u{036F}\u{203F}-\u{2040}])*$/u,function(e){e[e.RESOURCE=0]="RESOURCE",e[e.PROPERTY=1]="PROPERTY"}(c||(t.ParseType=c={}))},8147:(e,t,r)=>{"use strict";var n=r(9899),i=r(8316),o=r(6817),a=r(4077),s=r(4989),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return o(n(r,e));throw new u(a(e)+" is not iterable")}},8169:(e,t,r)=>{"use strict";var n=r(1341),i=r(9022).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},8175:(e,t,r)=>{"use strict";var n=r(1125),i=r(1188),o=r(7709),a=r(7890),s=o("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},8215:e=>{"use strict";e.exports={format:(e,...t)=>e.replace(/%([sdifj])/g,function(...[e,r]){const n=t.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return`${n.constructor!==Object?n.constructor.name:""} {}`.trim()}return n.toString()}),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}}}},8312:(e,t,r)=>{"use strict";var n=r(1550),i=r(1471),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,d){var h=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l})}},8313:(e,t,r)=>{"use strict";var n,i,o=r(9022),a=r(6441),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},8315:(e,t,r)=>{"use strict";const{SymbolDispose:n}=r(2990),{AbortError:i,codes:o}=r(11),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=r(91),l=r(38),{ERR_INVALID_ARG_TYPE:c}=o;let f;e.exports.addAbortSignal=function(t,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c(t,"AbortSignal",e)})(t,"signal"),!a(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const o=a(t)?()=>{t.destroy(new i(void 0,{cause:e.reason}))}:()=>{t[u](new i(void 0,{cause:e.reason}))};if(e.aborted)o();else{f=f||r(2840).addAbortListener;const i=f(e,o);l(t,i[n])}return t}},8316:(e,t,r)=>{"use strict";var n=r(3927),i=r(4077),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},8558:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},8579:(e,t,r)=>{"use strict";var n=r(3205);e.exports="NODE"===n},8609:function(e,t,r){(e=r.nmd(e)).exports=function(){"use strict";var t,r;function n(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function h(e,t){for(var r in t)s(t,r)&&(e[r]=t[r]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,r,n){return qr(e,t,r,n,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=g()),e._pf}function m(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=y(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function v(e){var t=p(NaN);return null!=e?h(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var b=n.momentProperties=[],w=!1;function _(e,t){var r,n,i,o=b.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=y(t)),l(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)l(i=t[n=b[r]])||(e[n]=i);return e}function S(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,n.updateOffset(this),w=!1)}function x(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function E(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var r=!0;return h(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){var i,o,a,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}E(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}var k,O={};function A(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),O[e]||(E(t),O[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function R(e){var t,r;for(r in e)s(e,r)&&(C(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var r,n=h({},e);for(r in t)s(t,r)&&(a(e[r])&&a(t[r])?(n[r]={},h(n[r],e[r]),h(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)s(e,r)&&!s(t,r)&&a(e[r])&&(n[r]=h({},n[r]));return n}function j(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)s(e,t)&&r.push(t);return r};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return C(n)?n.call(t,r):n}function I(e,t,r){var n=""+Math.abs(e),i=t-n.length;return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),r&&(B[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,r,n=e.match(L);for(t=0,r=n.length;t<r;t++)B[n[t]]?n[t]=B[n[t]]:n[t]=U(n[t]);return function(t){var i,o="";for(i=0;i<r;i++)o+=C(n[i])?n[i].call(t,e):n[i];return o}}function H(e,t){return e.isValid()?(t=$(t,e.localeData()),F[t]=F[t]||W(t),F[t](e)):e.localeData().invalidDate()}function $(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(M.lastIndex=0;r>=0&&M.test(e);)e=e.replace(M,n),M.lastIndex=0,r-=1;return e}var Y={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"};function G(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var q="Invalid date";function z(){return this._invalidDate}var X="%d",Q=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var J={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function K(e,t,r,n){var i=this._relativeTime[r];return C(i)?i(e,t,r,n):i.replace(/%d/i,e)}function ee(e,t){var r=this._relativeTime[e>0?"future":"past"];return C(r)?r(t):r.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ne(e){var t,r,n={};for(r in e)s(e,r)&&(t=re(r))&&(n[t]=e[r]);return n}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,r=[];for(t in e)s(e,t)&&r.push({unit:t,priority:ie[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}var ae,se=/\d/,ue=/\d\d/,le=/\d{3}/,ce=/\d{4}/,fe=/[+-]?\d{6}/,de=/\d\d?/,he=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ye=/\d{1,4}/,me=/[+-]?\d{1,6}/,ve=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,xe=/[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,Ee=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function ke(e,t,r){ae[e]=C(t)?t:function(e,n){return e&&r?r:t}}function Oe(e,t){return s(ae,e)?ae[e](t._strict,t._locale):new RegExp(Ae(e))}function Ae(e){return Ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i}))}function Ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Re(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Re(t)),r}ae={};var je={};function Ne(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,r){r[t]=Pe(e)}),n=e.length,r=0;r<n;r++)je[e[r]]=i}function De(e,t){Ne(e,function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)})}function Ie(e,t,r){null!=t&&s(je,e)&&je[e](t,r._a,r,e)}function Le(e){return e%4==0&&e%100!=0||e%400==0}var Me=0,Fe=1,Be=2,Ve=3,Ue=4,We=5,He=6,$e=7,Ye=8;function Ge(e){return Le(e)?366:365}V("Y",0,0,function(){var e=this.year();return e<=9999?I(e,4):"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),ke("Y",be),ke("YY",de,ue),ke("YYYY",ye,ce),ke("YYYYY",me,fe),ke("YYYYYY",me,fe),Ne(["YYYYY","YYYYYY"],Me),Ne("YYYY",function(e,t){t[Me]=2===e.length?n.parseTwoDigitYear(e):Pe(e)}),Ne("YY",function(e,t){t[Me]=n.parseTwoDigitYear(e)}),Ne("Y",function(e,t){t[Me]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return Pe(e)+(Pe(e)>68?1900:2e3)};var qe,ze=Qe("FullYear",!0);function Xe(){return Le(this.year())}function Qe(e,t){return function(r){return null!=r?(Je(this,e,r),n.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Je(e,t,r){var n,i,o,a,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=e.month(),s=29!==(s=e.date())||1!==a||Le(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function Ke(e){return C(this[e=re(e)])?this[e]():this}function et(e,t){if("object"==typeof e){var r,n=oe(e=ne(e)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(C(this[e=re(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=tt(t,12);return e+=(t-r)/12,1===r?Le(e)?29:28:31-r%7%2}qe=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},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),ke("M",de,Ee),ke("MM",de,ue),ke("MMM",function(e,t){return t.monthsShortRegex(e)}),ke("MMMM",function(e,t){return t.monthsRegex(e)}),Ne(["M","MM"],function(e,t){t[Fe]=Pe(e)-1}),Ne(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Fe]=i:y(r).invalidMonth=e});var nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=xe,st=xe;function ut(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function lt(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,a))?i:null:-1!==(i=qe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,a))||-1!==(i=qe.call(this._longMonthsParse,a))?i:null:-1!==(i=qe.call(this._longMonthsParse,a))||-1!==(i=qe.call(this._shortMonthsParse,a))?i:null}function ft(e,t,r){var n,i,o;if(this._monthsParseExact)return ct.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=p([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function dt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Pe(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,rt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function ht(e){return null!=e?(dt(this,e),n.updateOffset(this,!0),this):Ze(this,"Month")}function pt(){return rt(this.year(),this.month())}function gt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=p([2e3,t]),n=Ce(this.monthsShort(r,"")),i=Ce(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vt(e,t,r,n,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,o,a),s}function bt(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,r){var n=7+t-r;return-(7+bt(e,0,n).getUTCDay()-t)%7+n-1}function _t(e,t,r,n,i){var o,a,s=1+7*(t-1)+(7+r-n)%7+wt(e,n,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function St(e,t,r){var n,i,o=wt(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+xt(i=e.year()-1,t,r):a>xt(e.year(),t,r)?(n=a-xt(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function xt(e,t,r){var n=wt(e,t,r),i=wt(e+1,t,r);return(Ge(e)-n+i)/7}function Et(e){return St(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),ke("w",de,Ee),ke("ww",de,ue),ke("W",de,Ee),ke("WW",de,ue),De(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Pe(e)});var Tt={dow:0,doy:6};function kt(){return this._week.dow}function Ot(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ct(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Rt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),ke("d",de),ke("e",de),ke("E",de),ke("dd",function(e,t){return t.weekdaysMinRegex(e)}),ke("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ke("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:y(r).invalidWeekday=e}),De(["d","e","E"],function(e,t,r,n){t[n]=Pe(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=xe,Mt=xe,Ft=xe;function Bt(e,t){var r=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(r,this._week.dow):e?r[e.day()]:r}function Vt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._shortWeekdaysParse,a))||-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,a))||-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,a))||-1!==(i=qe.call(this._weekdaysParse,a))||-1!==(i=qe.call(this._shortWeekdaysParse,a))?i:null}function Ht(e,t,r){var n,i,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=p([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Rt(e,this.localeData()),this.add(e-t,"d")):t}function Yt(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")}function Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Mt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,r,n,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)r=p([2e3,1]).day(t),n=Ce(this.weekdaysMin(r,"")),i=Ce(this.weekdaysShort(r,"")),o=Ce(this.weekdays(r,"")),a.push(n),s.push(i),u.push(o),l.push(n),l.push(i),l.push(o);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function Kt(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function er(e,t){return t._meridiemParse}function tr(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Zt),V("k",["kk",2],0,Jt),V("hmm",0,0,function(){return""+Zt.apply(this)+I(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Zt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),ke("a",er),ke("A",er),ke("H",de,Te),ke("h",de,Ee),ke("k",de,Ee),ke("HH",de,ue),ke("hh",de,ue),ke("kk",de,ue),ke("hmm",he),ke("hmmss",pe),ke("Hmm",he),ke("Hmmss",pe),Ne(["H","HH"],Ve),Ne(["k","kk"],function(e,t,r){var n=Pe(e);t[Ve]=24===n?0:n}),Ne(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),Ne(["h","hh"],function(e,t,r){t[Ve]=Pe(e),y(r).bigHour=!0}),Ne("hmm",function(e,t,r){var n=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n)),y(r).bigHour=!0}),Ne("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n,2)),t[We]=Pe(e.substr(i)),y(r).bigHour=!0}),Ne("Hmm",function(e,t,r){var n=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n))}),Ne("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Pe(e.substr(0,n)),t[Ue]=Pe(e.substr(n,2)),t[We]=Pe(e.substr(i))});var rr=/[ap]\.?m?\.?/i,nr=Qe("Hours",!0);function ir(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var or,ar={calendar:N,longDateFormat:Y,invalidDate:q,ordinal:X,dayOfMonthOrdinalParse:Q,relativeTime:J,months:nt,monthsShort:it,week:Tt,weekdays:Nt,weekdaysMin:It,weekdaysShort:Dt,meridiemParse:rr},sr={},ur={};function lr(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function cr(e){return e?e.toLowerCase().replace("_","-"):e}function fr(e){for(var t,r,n,i,o=0;o<e.length;){for(t=(i=cr(e[o]).split("-")).length,r=(r=cr(e[o+1]))?r.split("-"):null;t>0;){if(n=hr(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&lr(i,r)>=t-1)break;t--}o++}return or}function dr(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hr(t){var r=null;if(void 0===sr[t]&&e&&e.exports&&dr(t))try{r=or._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),pr(r)}catch(e){sr[t]=null}return sr[t]}function pr(e,t){var r;return e&&((r=l(t)?mr(e):gr(e,t))?or=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),or._abbr}function gr(e,t){if(null!==t){var r,n=ar;if(t.abbr=e,null!=sr[e])A("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."),n=sr[e]._config;else if(null!=t.parentLocale)if(null!=sr[t.parentLocale])n=sr[t.parentLocale]._config;else{if(null==(r=hr(t.parentLocale)))return ur[t.parentLocale]||(ur[t.parentLocale]=[]),ur[t.parentLocale].push({name:e,config:t}),null;n=r._config}return sr[e]=new j(P(n,t)),ur[e]&&ur[e].forEach(function(e){gr(e.name,e.config)}),pr(e),sr[e]}return delete sr[e],null}function yr(e,t){if(null!=t){var r,n,i=ar;null!=sr[e]&&null!=sr[e].parentLocale?sr[e].set(P(sr[e]._config,t)):(null!=(n=hr(e))&&(i=n._config),t=P(i,t),null==n&&(t.abbr=e),(r=new j(t)).parentLocale=sr[e],sr[e]=r),pr(e)}else null!=sr[e]&&(null!=sr[e].parentLocale?(sr[e]=sr[e].parentLocale,e===pr()&&pr(e)):null!=sr[e]&&delete sr[e]);return sr[e]}function mr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return or;if(!o(e)){if(t=hr(e))return t;e=[e]}return fr(e)}function vr(){return k(sr)}function br(e){var t,r=e._a;return r&&-2===y(e).overflow&&(t=r[Fe]<0||r[Fe]>11?Fe:r[Be]<1||r[Be]>rt(r[Me],r[Fe])?Be:r[Ve]<0||r[Ve]>24||24===r[Ve]&&(0!==r[Ue]||0!==r[We]||0!==r[He])?Ve:r[Ue]<0||r[Ue]>59?Ue:r[We]<0||r[We]>59?We:r[He]<0||r[He]>999?He:-1,y(e)._overflowDayOfYear&&(t<Me||t>Be)&&(t=Be),y(e)._overflowWeeks&&-1===t&&(t=$e),y(e)._overflowWeekday&&-1===t&&(t=Ye),y(e).overflow=t),e}var wr=/^\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)?)?$/,_r=/^\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)?)?$/,Sr=/Z|[+-]\d\d(?::?\d\d)?/,xr=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Er=[["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/]],Tr=/^\/?Date\((-?\d+)/i,kr=/^(?:(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}))$/,Or={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ar(e){var t,r,n,i,o,a,s=e._i,u=wr.exec(s)||_r.exec(s),l=xr.length,c=Er.length;if(u){for(y(e).iso=!0,t=0,r=l;t<r;t++)if(xr[t][1].exec(u[1])){i=xr[t][0],n=!1!==xr[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,r=c;t<r;t++)if(Er[t][1].exec(u[3])){o=(u[2]||" ")+Er[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Sr.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Vr(e)}else e._isValid=!1}function Cr(e,t,r,n,i,o){var a=[Rr(e),it.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Rr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jr(e,t,r){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(r).weekdayMismatch=!0,r._isValid=!1,!1)}function Nr(e,t,r){if(e)return Or[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}function Dr(e){var t,r=kr.exec(Pr(e._i));if(r){if(t=Cr(r[4],r[3],r[2],r[5],r[6],r[7]),!jr(r[1],t,e))return;e._a=t,e._tzm=Nr(r[8],r[9],r[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Ir(e){var t=Tr.exec(e._i);null===t?(Ar(e),!1===e._isValid&&(delete e._isValid,Dr(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Lr(e,t,r){return null!=e?e:null!=t?t:r}function Mr(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fr(e){var t,r,n,i,o,a=[];if(!e._d){for(n=Mr(e),e._w&&null==e._a[Be]&&null==e._a[Fe]&&Br(e),null!=e._dayOfYear&&(o=Lr(e._a[Me],n[Me]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),r=bt(o,0,e._dayOfYear),e._a[Fe]=r.getUTCMonth(),e._a[Be]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[Ue]&&0===e._a[We]&&0===e._a[He]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?bt:vt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Br(e){var t,r,n,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,r=Lr(t.GG,e._a[Me],St(zr(),1,4).year),n=Lr(t.W,1),((i=Lr(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=St(zr(),o,a),r=Lr(t.gg,e._a[Me],l.year),n=Lr(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),n<1||n>xt(r,o,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(s=_t(r,n,i,o,a),e._a[Me]=s.year,e._dayOfYear=s.dayOfYear)}function Vr(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],y(e).empty=!0;var t,r,i,o,a,s,u,l=""+e._i,c=l.length,f=0;for(u=(i=$(e._f,e._locale).match(L)||[]).length,t=0;t<u;t++)o=i[t],(r=(l.match(Oe(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(r))).length>0&&y(e).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),f+=r.length),B[o]?(r?y(e).empty=!1:y(e).unusedTokens.push(o),Ie(o,r,e)):e._strict&&!r&&y(e).unusedTokens.push(o);y(e).charsLeftOver=c-f,l.length>0&&y(e).unusedInput.push(l),e._a[Ve]<=12&&!0===y(e).bigHour&&e._a[Ve]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Ve]=Ur(e._locale,e._a[Ve],e._meridiem),null!==(s=y(e).era)&&(e._a[Me]=e._locale.erasConvertYear(s,e._a[Me])),Fr(e),br(e)}else Dr(e);else Ar(e)}function Ur(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Wr(e){var t,r,n,i,o,a,s=!1,u=e._f.length;if(0===u)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Vr(t),m(t)&&(a=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));h(e,r||t)}function Hr(e){if(!e._d){var t=ne(e._i),r=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Fr(e)}}function $r(e){var t=new S(br(Yr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Yr(e){var t=e._i,r=e._f;return e._locale=e._locale||mr(e._l),null===t||void 0===r&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new S(br(t)):(f(t)?e._d=t:o(r)?Wr(e):r?Vr(e):Gr(e),m(e)||(e._d=null),e))}function Gr(e){var t=e._i;l(t)?e._d=new Date(n.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ir(e):o(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Fr(e)):a(t)?Hr(e):c(t)?e._d=new Date(t):n.createFromInputFallback(e)}function qr(e,t,r,n,i){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(a(e)&&u(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,$r(s)}function zr(e,t,r,n){return qr(e,t,r,n,!1)}n.createFromInputFallback=T("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Xr=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=zr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Qr=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=zr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Zr(e,t){var r,n;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return zr();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}function Jr(){return Zr("isBefore",[].slice.call(arguments,0))}function Kr(){return Zr("isAfter",[].slice.call(arguments,0))}var en=function(){return Date.now?Date.now():+new Date},tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rn(e){var t,r,n=!1,i=tn.length;for(t in e)if(s(e,t)&&(-1===qe.call(tn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[tn[r]]){if(n)return!1;parseFloat(e[tn[r]])!==Pe(e[tn[r]])&&(n=!0)}return!0}function nn(){return this._isValid}function on(){return An(NaN)}function an(e){var t=ne(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=rn(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=mr(),this._bubble()}function sn(e){return e instanceof an}function un(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ln(e,t,r){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&Pe(e[n])!==Pe(t[n]))&&a++;return a+o}function cn(e,t){V(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+I(~~(e/60),2)+t+I(~~e%60,2)})}cn("Z",":"),cn("ZZ",""),ke("Z",_e),ke("ZZ",_e),Ne(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=dn(_e,e)});var fn=/([\+\-]|\d\d)/gi;function dn(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(fn)||["-",0,0])[1]+Pe(r[2]))?0:"+"===r[0]?n:-n}function hn(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(x(e)||f(e)?e.valueOf():zr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):zr(e).local()}function pn(e){return-Math.round(e._d.getTimezoneOffset())}function gn(e,t,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=dn(_e,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=pn(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Nn(this,An(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function mn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function bn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=dn(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wn(e){return!!this.isValid()&&(e=e?zr(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _n(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sn(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Yr(t))._a?(e=t._isUTC?p(t._a):zr(t._a),this._isDSTShifted=this.isValid()&&ln(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function xn(){return!!this.isValid()&&!this._isUTC}function En(){return!!this.isValid()&&this._isUTC}function Tn(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,On=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function An(e,t){var r,n,i,o=e,a=null;return sn(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=kn.exec(e))?(r="-"===a[1]?-1:1,o={y:0,d:Pe(a[Be])*r,h:Pe(a[Ve])*r,m:Pe(a[Ue])*r,s:Pe(a[We])*r,ms:Pe(un(1e3*a[He]))*r}):(a=On.exec(e))?(r="-"===a[1]?-1:1,o={y:Cn(a[2],r),M:Cn(a[3],r),w:Cn(a[4],r),d:Cn(a[5],r),h:Cn(a[6],r),m:Cn(a[7],r),s:Cn(a[8],r)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Pn(zr(o.from),zr(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),n=new an(o),sn(e)&&s(e,"_locale")&&(n._locale=e._locale),sn(e)&&s(e,"_isValid")&&(n._isValid=e._isValid),n}function Cn(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Rn(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Pn(e,t){var r;return e.isValid()&&t.isValid()?(t=hn(t,e),e.isBefore(t)?r=Rn(e,t):((r=Rn(t,e)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function jn(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(A(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."),i=r,r=n,n=i),Nn(this,An(r,n),e),this}}function Nn(e,t,r,i){var o=t._milliseconds,a=un(t._days),s=un(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,Ze(e,"Month")+s*r),a&&Je(e,"Date",Ze(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}An.fn=an.prototype,An.invalid=on;var Dn=jn(1,"add"),In=jn(-1,"subtract");function Ln(e){return"string"==typeof e||e instanceof String}function Mn(e){return x(e)||f(e)||Ln(e)||c(e)||Bn(e)||Fn(e)||null==e}function Fn(e){var t,r,n=a(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=o.length;for(t=0;t<l;t+=1)r=o[t],i=i||s(e,r);return n&&i}function Bn(e){var t=o(e),r=!1;return t&&(r=0===e.filter(function(t){return!c(t)&&Ln(e)}).length),t&&r}function Vn(e){var t,r,n=a(e)&&!u(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=o[t],i=i||s(e,r);return n&&i}function Un(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Wn(e,t){1===arguments.length&&(arguments[0]?Mn(arguments[0])?(e=arguments[0],t=void 0):Vn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||zr(),i=hn(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(C(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,zr(r)))}function Hn(){return new S(this)}function $n(e,t){var r=x(e)?e:zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function Yn(e,t){var r=x(e)?e:zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function Gn(e,t,r,n){var i=x(e)?e:zr(e),o=x(t)?t:zr(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r))}function qn(e,t){var r,n=x(e)?e:zr(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function zn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qn(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=hn(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Zn(this,n)/12;break;case"month":o=Zn(this,n);break;case"quarter":o=Zn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Re(o)}function Zn(e,t){if(e.date()<t.date())return-Zn(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(r+1,"months")-n)))||0}function Jn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Kn(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?H(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(r,"Z")):H(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+r+n)}function ti(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(x(e)&&e.isValid()||zr(e).isValid())?An({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ni(e){return this.from(zr(),e)}function ii(e,t){return this.isValid()&&(x(e)&&e.isValid()||zr(e).isValid())?An({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(zr(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=mr(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=T("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 ui(){return this._locale}var li=1e3,ci=60*li,fi=60*ci,di=3506328*fi;function hi(e,t){return(e%t+t)%t}function pi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-di:new Date(e,t,r).valueOf()}function gi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-di:Date.UTC(e,t,r)}function yi(e){var t,r;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:pi,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ci);break;case"second":t=this._d.valueOf(),t-=hi(t,li)}return this._d.setTime(t),n.updateOffset(this,!0),this}function mi(e){var t,r;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:pi,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=li-hi(t,li)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){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()}}function xi(){return this.isValid()?this.toISOString():null}function Ei(){return m(this)}function Ti(){return h({},y(this))}function ki(){return y(this).overflow}function Oi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(e,t){var r,i,o,a=this._eras||mr("en")._eras;for(r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=n(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}return a}function Ci(e,t,r){var n,i,o,a,s,u=this.eras();for(e=e.toUpperCase(),n=0,i=u.length;n<i;++n)if(o=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),s=u[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[n];break;case"NNNN":if(o===e)return u[n];break;case"NNNNN":if(s===e)return u[n]}else if([o,a,s].indexOf(e)>=0)return u[n]}function Ri(e,t){var r=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*r}function Pi(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}function ji(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Ni(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""}function Di(){var e,t,r,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-n(o[e].since).year())*r+o[e].offset;return this.year()}function Ii(e){return s(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Li(e){return s(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Mi(e){return s(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Bi(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||ve}function Wi(){var e,t,r,n,i,o=[],a=[],s=[],u=[],l=this.eras();for(e=0,t=l.length;e<t;++e)r=Ce(l[e].name),n=Ce(l[e].abbr),i=Ce(l[e].narrow),a.push(r),o.push(n),s.push(i),u.push(r),u.push(n),u.push(i);this._erasRegex=new RegExp("^("+u.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Hi(e,t){V(0,[e,e.length],0,t)}function $i(e){return Qi.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Yi(e){return Qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function zi(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Qi(e,t,r,n,i){var o;return null==e?St(this,n,i).year:(t>(o=xt(e,n,i))&&(t=o),Zi.call(this,e,t,r,n,i))}function Zi(e,t,r,n,i){var o=_t(e,t,r,n,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ji(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),ke("N",Fi),ke("NN",Fi),ke("NNN",Fi),ke("NNNN",Bi),ke("NNNNN",Vi),Ne(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?y(r).era=i:y(r).invalidEra=e}),ke("y",ve),ke("yy",ve),ke("yyy",ve),ke("yyyy",ve),ke("yo",Ui),Ne(["y","yy","yyy","yyyy"],Me),Ne(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Me]=r._locale.eraYearOrdinalParse(e,i):t[Me]=parseInt(e,10)}),V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Hi("gggg","weekYear"),Hi("ggggg","weekYear"),Hi("GGGG","isoWeekYear"),Hi("GGGGG","isoWeekYear"),ke("G",be),ke("g",be),ke("GG",de,ue),ke("gg",de,ue),ke("GGGG",ye,ce),ke("gggg",ye,ce),ke("GGGGG",me,fe),ke("ggggg",me,fe),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=Pe(e)}),De(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),ke("Q",se),Ne("Q",function(e,t){t[Fe]=3*(Pe(e)-1)}),V("D",["DD",2],"Do","date"),ke("D",de,Ee),ke("DD",de,ue),ke("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Ne(["D","DD"],Be),Ne("Do",function(e,t){t[Be]=Pe(e.match(de)[0])});var Ki=Qe("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),ke("DDD",ge),ke("DDDD",le),Ne(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Pe(e)}),V("m",["mm",2],0,"minute"),ke("m",de,Te),ke("mm",de,ue),Ne(["m","mm"],Ue);var to=Qe("Minutes",!1);V("s",["ss",2],0,"second"),ke("s",de,Te),ke("ss",de,ue),Ne(["s","ss"],We);var ro,no,io=Qe("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ke("S",ge,se),ke("SS",ge,ue),ke("SSS",ge,le),ro="SSSS";ro.length<=9;ro+="S")ke(ro,ve);function oo(e,t){t[He]=Pe(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ne(ro,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}no=Qe("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var uo=S.prototype;function lo(e){return zr(1e3*e)}function co(){return zr.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Dn,uo.calendar=Wn,uo.clone=Hn,uo.diff=Qn,uo.endOf=mi,uo.format=ti,uo.from=ri,uo.fromNow=ni,uo.to=ii,uo.toNow=oi,uo.get=Ke,uo.invalidAt=ki,uo.isAfter=$n,uo.isBefore=Yn,uo.isBetween=Gn,uo.isSame=qn,uo.isSameOrAfter=zn,uo.isSameOrBefore=Xn,uo.isValid=Ei,uo.lang=si,uo.locale=ai,uo.localeData=ui,uo.max=Qr,uo.min=Xr,uo.parsingFlags=Ti,uo.set=et,uo.startOf=yi,uo.subtract=In,uo.toArray=_i,uo.toObject=Si,uo.toDate=wi,uo.toISOString=Kn,uo.inspect=ei,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=xi,uo.toString=Jn,uo.unix=bi,uo.valueOf=vi,uo.creationData=Oi,uo.eraName=Pi,uo.eraNarrow=ji,uo.eraAbbr=Ni,uo.eraYear=Di,uo.year=ze,uo.isLeapYear=Xe,uo.weekYear=$i,uo.isoWeekYear=Yi,uo.quarter=uo.quarters=Ji,uo.month=ht,uo.daysInMonth=pt,uo.week=uo.weeks=At,uo.isoWeek=uo.isoWeeks=Ct,uo.weeksInYear=zi,uo.weeksInWeekYear=Xi,uo.isoWeeksInYear=Gi,uo.isoWeeksInISOWeekYear=qi,uo.date=Ki,uo.day=uo.days=$t,uo.weekday=Yt,uo.isoWeekday=Gt,uo.dayOfYear=eo,uo.hour=uo.hours=nr,uo.minute=uo.minutes=to,uo.second=uo.seconds=io,uo.millisecond=uo.milliseconds=no,uo.utcOffset=gn,uo.utc=mn,uo.local=vn,uo.parseZone=bn,uo.hasAlignedHourOffset=wn,uo.isDST=_n,uo.isLocal=xn,uo.isUtcOffset=En,uo.isUtc=Tn,uo.isUTC=Tn,uo.zoneAbbr=ao,uo.zoneName=so,uo.dates=T("dates accessor is deprecated. Use date instead.",Ki),uo.months=T("months accessor is deprecated. Use month instead",ht),uo.years=T("years accessor is deprecated. Use year instead",ze),uo.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),uo.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sn);var ho=j.prototype;function po(e,t,r,n){var i=mr(),o=p().set(n,t);return i[r](o,e)}function go(e,t,r){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=po(e,n,r,"month");return i}function yo(e,t,r,n){"boolean"==typeof e?(c(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,c(t)&&(r=t,t=void 0),t=t||"");var i,o=mr(),a=e?o._week.dow:0,s=[];if(null!=r)return po(t,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,n,"day");return s}function mo(e,t){return go(e,t,"months")}function vo(e,t){return go(e,t,"monthsShort")}function bo(e,t,r){return yo(e,t,r,"weekdays")}function wo(e,t,r){return yo(e,t,r,"weekdaysShort")}function _o(e,t,r){return yo(e,t,r,"weekdaysMin")}ho.calendar=D,ho.longDateFormat=G,ho.invalidDate=z,ho.ordinal=Z,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=K,ho.pastFuture=ee,ho.set=R,ho.eras=Ai,ho.erasParse=Ci,ho.erasConvertYear=Ri,ho.erasAbbrRegex=Li,ho.erasNameRegex=Ii,ho.erasNarrowRegex=Mi,ho.months=ut,ho.monthsShort=lt,ho.monthsParse=ft,ho.monthsRegex=yt,ho.monthsShortRegex=gt,ho.week=Et,ho.firstDayOfYear=Ot,ho.firstDayOfWeek=kt,ho.weekdays=Bt,ho.weekdaysMin=Ut,ho.weekdaysShort=Vt,ho.weekdaysParse=Ht,ho.weekdaysRegex=qt,ho.weekdaysShortRegex=zt,ho.weekdaysMinRegex=Xt,ho.isPM=tr,ho.meridiem=ir,pr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=T("moment.lang is deprecated. Use moment.locale instead.",pr),n.langData=T("moment.langData is deprecated. Use moment.localeData instead.",mr);var So=Math.abs;function xo(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Eo(e,t,r,n){var i=An(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function To(e,t){return Eo(this,e,t,1)}function ko(e,t){return Eo(this,e,t,-1)}function Oo(e){return e<0?Math.floor(e):Math.ceil(e)}function Ao(){var e,t,r,n,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Oo(Ro(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=Re(o/1e3),u.seconds=e%60,t=Re(e/60),u.minutes=t%60,r=Re(t/60),u.hours=r%24,a+=Re(r/24),s+=i=Re(Co(a)),a-=Oo(Ro(i)),n=Re(s/12),s%=12,u.days=a,u.months=s,u.years=n,this}function Co(e){return 4800*e/146097}function Ro(e){return 146097*e/4800}function Po(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Co(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ro(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function jo(e){return function(){return this.as(e)}}var No=jo("ms"),Do=jo("s"),Io=jo("m"),Lo=jo("h"),Mo=jo("d"),Fo=jo("w"),Bo=jo("M"),Vo=jo("Q"),Uo=jo("y"),Wo=No;function Ho(){return An(this)}function $o(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Yo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Go=Yo("milliseconds"),qo=Yo("seconds"),zo=Yo("minutes"),Xo=Yo("hours"),Qo=Yo("days"),Zo=Yo("months"),Jo=Yo("years");function Ko(){return Re(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function na(e,t,r,n){var i=An(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),u=ea(i.as("d")),l=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),d=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return null!=r.w&&(d=d||c<=1&&["w"]||c<r.w&&["ww",c]),(d=d||l<=1&&["M"]||l<r.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=n,ra.apply(null,d)}function ia(e){return void 0===e?ea:"function"==typeof e&&(ea=e,!0)}function oa(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=ta;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=na(this,!i,o,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var sa=Math.abs;function ua(e){return(e>0)-(e<0)||+e}function la(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,u=sa(this._milliseconds)/1e3,l=sa(this._days),c=sa(this._months),f=this.asSeconds();return f?(e=Re(u/60),t=Re(e/60),u%=60,e%=60,r=Re(c/12),c%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=ua(this._months)!==ua(f)?"-":"",a=ua(this._days)!==ua(f)?"-":"",s=ua(this._milliseconds)!==ua(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+n+"S":"")):"P0D"}var ca=an.prototype;return ca.isValid=nn,ca.abs=xo,ca.add=To,ca.subtract=ko,ca.as=Po,ca.asMilliseconds=No,ca.asSeconds=Do,ca.asMinutes=Io,ca.asHours=Lo,ca.asDays=Mo,ca.asWeeks=Fo,ca.asMonths=Bo,ca.asQuarters=Vo,ca.asYears=Uo,ca.valueOf=Wo,ca._bubble=Ao,ca.clone=Ho,ca.get=$o,ca.milliseconds=Go,ca.seconds=qo,ca.minutes=zo,ca.hours=Xo,ca.days=Qo,ca.weeks=Ko,ca.months=Zo,ca.years=Jo,ca.humanize=aa,ca.toISOString=la,ca.toString=la,ca.toJSON=la,ca.locale=ai,ca.localeData=ui,ca.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ca.lang=si,V("X",0,0,"unix"),V("x",0,0,"valueOf"),ke("x",be),ke("X",Se),Ne("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),Ne("x",function(e,t,r){r._d=new Date(Pe(e))}),n.version="2.30.1",i(zr),n.fn=uo,n.min=Jr,n.max=Kr,n.now=en,n.utc=p,n.unix=lo,n.months=mo,n.isDate=f,n.locale=pr,n.invalid=v,n.duration=An,n.isMoment=x,n.weekdays=bo,n.parseZone=co,n.localeData=mr,n.isDuration=sn,n.monthsShort=vo,n.weekdaysMin=_o,n.defineLocale=gr,n.updateLocale=yr,n.locales=vr,n.weekdaysShort=wo,n.normalizeUnits=re,n.relativeTimeRounding=ia,n.relativeTimeThreshold=oa,n.calendarFormat=Un,n.prototype=uo,n.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"},n}()},8618:(e,t,r)=>{const n=r(8558),i=r(4686),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=r(91),p=r(38),{AbortError:g,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:m}}=r(11),{destroyer:v}=r(5296),b=r(9858),w=r(3376),_=r(448),{createDeferredPromise:S}=r(2840),x=r(3660),E=globalThis.Blob||i.Blob,T=void 0!==E?function(e){return e instanceof E}:function(e){return!1},k=globalThis.AbortController||r(9208).AbortController,{FunctionPrototypeCall:O}=r(2990);class A extends b{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function C(e){const t=e.readable&&"function"!=typeof e.readable.read?w.wrap(e.readable):e.readable,r=e.writable;let n,i,s,u,l,c=!!o(t),f=!!a(r);function d(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new A({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:f}),f&&(p(r,e=>{f=!1,e&&v(t,e),d(e)}),l._write=function(e,t,i){r.write(e,t)?i():n=i},l._final=function(e){r.end(),i=e},r.on("drain",function(){if(n){const e=n;n=null,e()}}),r.on("finish",function(){if(i){const e=i;i=null,e()}})),c&&(p(t,e=>{c=!1,e&&v(t,e),d(e)}),t.on("readable",function(){if(s){const e=s;s=null,e()}}),t.on("end",function(){l.push(null)}),l._read=function(){for(;;){const e=t.read();if(null===e)return void(s=l._read);if(!l.push(e))return}}),l._destroy=function(e,o){e||null===u||(e=new g),s=null,n=null,i=null,null===u?o(e):(u=o,v(r,e),v(t,e))},l}e.exports=function e(t,r){if(f(t))return t;if(l(t))return C({readable:t});if(c(t))return C({writable:t});if(u(t))return C({writable:!1,readable:!1});if(d(t))return C({readable:w.fromWeb(t)});if(h(t))return C({writable:_.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:o,destroy:a}=function(e){let{promise:t,resolve:r}=S();const i=new k,o=i.signal,a=e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:a,cb:s}=await e;if(n.nextTick(s),a)return;if(o.aborted)throw new g(void 0,{cause:o.reason});({promise:t,resolve:r}=S()),yield i}}(),{signal:o});return{value:a,write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(s(e))return x(A,e,{objectMode:!0,write:i,final:o,destroy:a});const u=null==e?void 0:e.then;if("function"==typeof u){let t;const r=O(u,e,e=>{if(null!=e)throw new m("nully","body",e)},e=>{v(t,e)});return t=new A({objectMode:!0,readable:!1,write:i,final(e){o(async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}})},destroy:a})}throw new m("Iterable, AsyncIterable or AsyncFunction",r,e)}if(T(t))return e(t.arrayBuffer());if(s(t))return x(A,t,{objectMode:!0,writable:!1});if(d(null==t?void 0:t.readable)&&h(null==t?void 0:t.writable))return A.fromWeb(t);if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable)){return C({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0})}const i=null==t?void 0:t.then;if("function"==typeof i){let e;return O(i,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{v(e,t)}),e=new A({objectMode:!0,writable:!1,read(){}})}throw new y(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},8620:(e,t,r)=>{"use strict";var n=r(4395),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},8665:(e,t,r)=>{"use strict";var n=r(7527);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},8714:(e,t,r)=>{"use strict";var n=r(1550);e.exports=n(1.1.valueOf)},8728:(e,t,r)=>{"use strict";var n=r(6817),i=r(2140),o=r(4417);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},8808:(e,t,r)=>{"use strict";var n=r(1267),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},8917:(e,t,r)=>{"use strict";var n=r(6584),i=r(9899),o=r(8316),a=r(4417),s=r(9029),u=r(2742);n({target:"Promise",stat:!0,forced:r(9339)},{race:function(e){var t=this,r=a.f(t),n=r.reject,l=s(function(){var a=o(t.resolve);u(e,function(e){i(a,t,e).then(r.resolve,n)})});return l.error&&n(l.value),r.promise}})},8928:(e,t,r)=>{"use strict";var n=r(7890),i=r(1550),o=r(9899),a=r(1341),s=r(8054),u=r(4999),l=r(9439),c=r(1471),f=r(9549),d=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!d||a(function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==d({},e)[r]||s(d({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),m=d?p(s(y),d(y)):s(y),v=m.length,b=0;v>b;)g=m[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},8953:(e,t,r)=>{"use strict";var n=r(7709);t.f=n},9008:(e,t,r)=>{"use strict";var n=r(1550),i=r(8316),o=r(2140),a=r(7527),s=r(4398),u=r(5502),l=Function,c=n([].concat),f=n([].join),d={};e.exports=u?l.bind:function(e){var t=i(this),r=t.prototype,n=s(arguments,1),u=function(){var r=c(n,s(arguments));return this instanceof u?function(e,t,r){if(!a(d,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";d[t]=l("C,a","return new C("+f(n,",")+")")}return d[t](e,r)}(t,r.length,r):t.apply(e,r)};return o(r)&&(u.prototype=r),u}},9022:function(e,t,r){"use strict";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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9029:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9110:(e,t,r)=>{"use strict";var n=r(6522);e.exports=Array.isArray||function(e){return"Array"===n(e)}},9157:(e,t,r)=>{"use strict";var n=r(1341);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},9162:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9183:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},9208:e=>{"use strict";const{AbortController:t,AbortSignal:r}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=r,e.exports.default=t},9213:(e,t,r)=>{"use strict";var n=r(1125),i=r(1550),o=r(1378),a=r(4999),s=r(6817),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},9221:(e,t,r)=>{"use strict";var n,i,o=r(9899),a=r(1550),s=r(5017),u=r(4593),l=r(4807),c=r(7987),f=r(2358),d=r(2727).get,h=r(8169),p=r(2556),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,v=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),S=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),x=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(S||E||x||h||p)&&(m=function(e){var t,r,n,i,a,l,c,h=this,p=d(h),T=s(e),k=p.raw;if(k)return k.lastIndex=h.lastIndex,t=o(m,k,T),h.lastIndex=k.lastIndex,t;var O=p.groups,A=x&&h.sticky,C=o(u,h),R=h.source,P=0,j=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),j=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(T,h.lastIndex-1))&&(R="(?: "+R+")",j=" "+j,P++),r=new RegExp("^(?:"+R+")",C)),E&&(r=new RegExp("^"+R+"$(?!\\s)",C)),S&&(n=h.lastIndex),i=o(y,A?r:h,j),A?i?(i.input=_(i.input,P),i[0]=_(i[0],P),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:S&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),e.exports=m},9288:(e,t,r)=>{"use strict";var n=r(8316),i=r(4395);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},9336:(e,t,r)=>{"use strict";var n=r(9899),i=r(3927),o=r(2140),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e)))return s;if(i(r=e.valueOf)&&!o(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},9339:(e,t,r)=>{"use strict";var n=r(6772),i=r(4814),o=r(994).CONSTRUCTOR;e.exports=o||!i(function(e){n.all(e).then(void 0,function(){})})},9439:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},9457:(e,t,r)=>{"use strict";var n=r(6441);e.exports=/MSIE|Trident/.test(n)},9486:(e,t,r)=>{"use strict";var n=r(6584),i=r(1471),o=r(8054);n({target:"Object",stat:!0,forced:r(1341)(function(){o(1)})},{keys:function(e){return o(i(e))}})},9515:(e,t,r)=>{"use strict";var n=r(7890),i=r(1341),o=r(3861);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},9523:(e,t,r)=>{"use strict";var n,i,o,a,s=r(9022),u=r(1559),l=r(4750),c=r(3927),f=r(7527),d=r(1341),h=r(6207),p=r(4398),g=r(3861),y=r(710),m=r(5150),v=r(8579),b=s.setImmediate,w=s.clearImmediate,_=s.process,S=s.Dispatch,x=s.Function,E=s.MessageChannel,T=s.String,k=0,O={},A="onreadystatechange";d(function(){n=s.location});var C=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},R=function(e){return function(){C(e)}},P=function(e){C(e.data)},j=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){y(arguments.length,1);var t=c(e)?e:x(e),r=p(arguments,1);return O[++k]=function(){u(t,void 0,r)},i(k),k},w=function(e){delete O[e]},v?i=function(e){_.nextTick(R(e))}:S&&S.now?i=function(e){S.now(R(e))}:E&&!m?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i=A in g("script")?function(e){h.appendChild(g("script"))[A]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(R(e),0)}),e.exports={set:b,clear:w}},9549:(e,t,r)=>{"use strict";var n=r(1550),i=r(1341),o=r(6522),a=Object,s=n("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},9564:(e,t)=>{"use strict";function r(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(t,"__esModule",{value:!0}),t.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NC_NAME_CHAR="-"+t.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.NC_NAME_START_CHAR_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]$","u"),t.NC_NAME_CHAR_RE=new RegExp("^["+t.NC_NAME_CHAR+"]$","u"),t.NC_NAME_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]["+t.NC_NAME_CHAR+"]*$","u"),t.isNCNameStartChar=r,t.isNCNameChar=function(e){return r(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},9571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="--�𐀀-",t.RESTRICTED_CHAR="-\b\v\f---",t.S=" \t\r\n",t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.RESTRICTED_CHAR_RE=new RegExp("^["+t.RESTRICTED_CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isRestrictedChar=function(e){return e>=1&&e<=8||11===e||12===e||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},t.isCharAndNotRestricted=function(e){return 9===e||10===e||13===e||e>31&&e<127||133===e||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},t.isS=function(e){return 32===e||10===e||13===e||9===e},t.isNameStartChar=r,t.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},9699:(e,t,r)=>{"use strict";var n=r(7890),i=r(3900),o=r(7423),a=r(6817),s=r(1059),u=r(8054);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,r=i[c++],n[r]);return e}},9755:(e,t,r)=>{"use strict";var n=r(6584),i=r(1125),o=r(1559),a=r(9008),s=r(962),u=r(6817),l=r(2140),c=r(2358),f=r(1341),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),y=!f(function(){d(function(){})}),m=g||y;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){s(e),u(t);var r=arguments.length<3?e:s(arguments[2]);if(y&&!g)return d(e,t,r);if(e===r){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 n=[null];return o(p,n,t),new(o(a,e,n))}var i=r.prototype,f=c(l(i)?i:h),m=o(e,f,t);return l(m)?m:f}})},9784:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,a,l;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else{var l=u.length,c=p(u,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},9793:(e,t,r)=>{"use strict";var n=r(4142),i=r(1325);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},9799:(e,t)=>{"use strict";function r(e){const t=[];let r=0;for(;r<e.length;)switch(e[r]){case"/":if("."===e[r+1])if("."===e[r+2]){if(!i(e[r+3])){t.push([]),r++;break}t.pop(),e[r+3]||t.push([]),r+=3}else{if(!i(e[r+2])){t.push([]),r++;break}e[r+2]||t.push([]),r+=2}else t.push([]),r++;break;case"#":case"?":t.length||t.push([]),t[t.length-1].push(e.substr(r)),r=e.length;break;default:t.length||t.push([]),t[t.length-1].push(e[r]),r++}return"/"+t.map(e=>e.join("")).join("/")}function n(e,t){let n=t+1;t>=0?"/"===e[t+1]&&"/"===e[t+2]&&(n=t+3):"/"===e[0]&&"/"===e[1]&&(n=2);const i=e.indexOf("/",n);if(i<0)return e;return e.substr(0,i)+r(e.substr(i))}function i(e){return!e||"#"===e||"?"===e||"/"===e}Object.defineProperty(t,"__esModule",{value:!0}),t.removeDotSegmentsOfPath=t.removeDotSegments=t.resolve=void 0,t.resolve=function(e,t){const i=(t=t||"").indexOf("#");if(i>0&&(t=t.substr(0,i)),!e.length){if(t.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${t}' for value '${e}'`);return t}if(e.startsWith("?")){const r=t.indexOf("?");return r>0&&(t=t.substr(0,r)),t+e}if(e.startsWith("#"))return t+e;if(!t.length){const t=e.indexOf(":");if(t<0)throw new Error(`Found invalid relative IRI '${e}' for a missing baseIRI`);return n(e,t)}const o=e.indexOf(":");if(o>=0)return n(e,o);const a=t.indexOf(":");if(a<0)throw new Error(`Found invalid baseIRI '${t}' for value '${e}'`);const s=t.substr(0,a+1);if(0===e.indexOf("//"))return s+n(e,o);let u;if(t.indexOf("//",a)===a+1){if(u=t.indexOf("/",a+3),u<0)return t.length>a+3?t+"/"+n(e,o):s+n(e,o)}else if(u=t.indexOf("/",a+1),u<0)return s+n(e,o);if(0===e.indexOf("/"))return t.substr(0,u)+r(e);let l=t.substr(u);const c=l.lastIndexOf("/");return c>=0&&c<l.length-1&&(l=l.substr(0,c+1),"."===e[0]&&"."!==e[1]&&"/"!==e[1]&&e[2]&&(e=e.substr(1))),e=r(e=l+e),t.substr(0,u)+e},t.removeDotSegments=r,t.removeDotSegmentsOfPath=n},9839:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9853:(e,t,r)=>{"use strict";var n=r(7987),i=r(1726),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},9858:(e,t,r)=>{"use strict";const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=r(2990);e.exports=l;const s=r(3376),u=r(448);a(l.prototype,s.prototype),a(l,s);{const e=o(u.prototype);for(let t=0;t<e.length;t++){const r=e[t];l.prototype[r]||(l.prototype[r]=u.prototype[r])}}function l(e){if(!(this instanceof l))return new l(e);s.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,f;function d(){return void 0===c&&(c={}),c}n(l.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),l.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},l.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},l.from=function(e){return f||(f=r(8618)),f(e,"body")}},9899:(e,t,r)=>{"use strict";var n=r(5502),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.b="undefined"!=typeof document&&document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Mu,Presenter:()=>Wa,bundleLoader:()=>Gu,engine:()=>ya,renderingContext:()=>Vn,system:()=>On,utils:()=>En,validate:()=>Oa});r(6521),r(2106),r(7853),r(2033),r(2529),r(3858),r(2678),r(1812),r(3726),r(6203),r(6794),r(611),r(3653),r(492),r(3886),r(4562),r(9486),r(4797);"__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#"});const{__rdfjson_namespaces:e}=globalThis;let t=0;const i=(t,r,n)=>(e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:`${t}:${n}`}),o=r=>{const n=Object.keys(e).find(t=>0===r.indexOf(e[t]));if(n)return i(n,e[n],r.substring(e[n].length));let o=r.lastIndexOf("/");const a=r.lastIndexOf("#");return a>o&&(o=a),t+=1,i(`ns${t}`,r.substring(0,o+1),r.substring(o+1))},a=t=>{const r=Object.keys(e).find(r=>0===t.indexOf(e[r]));return r?i(r,e[r],t.substring(e[r].length)).pretty:t},u=e=>o(e).pretty,l=t=>{const r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},c=(t,r)=>{"string"==typeof t?e[t]=r:"object"==typeof t&&Object.keys(t).forEach(r=>{e[r]=t[r]})},f=e=>void 0!==e&&(null===e||"object"==typeof e||Array.isArray(e)||"function"==typeof e),d=e=>"string"==typeof e||e instanceof String,h=(e,t,r)=>{0===e[t][r].length&&(delete e[t][r],0===Object.keys(e[t]).length&&delete e[t])},p=e=>{if(!f(e[0]))throw new Error("Graph is not a object.");if(!d(e[1]))throw new Error("Subject is not a string.");if(!d(e[2]))throw new Error("Predicate is not a string.");if(!f(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.")},g=(e,t)=>e===t||null==e&&e===t||(d(e)?d(t)?e===t:e===t.value:d(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype),y=e=>{const 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},m={isObject:f,isString:d,isFunction:e=>"[object Function]"===Object.prototype.toString.call(e),statementEquals:(e,t)=>e.s===t.s&&e.p===t.p&&g(e.o,t.o),add:(e,t,r,n,i)=>{if(p([e,t,r,n]),void 0===e[t])return e[t]={},e[t][r]=[n],n;if(void 0===e[t][r])return e[t][r]=[n],n;let o;const a=e[t][r];if(!i)for(o=a.length-1;o>=0;o--)if(g(n,a[o]))return a[o];return a.push(n),n},remove:(e,t,r,n)=>{if(p([e,t,r,n]),void 0===e[t]||void 0===e[t][r])return;let i;const o=e[t][r];for(i=o.length-1;i>=0;i--)if(g(n,o[i])){const n=o[i];return o.splice(i,1),h(e,t,r),n}},contains:(e,t,r,n)=>{if(p([e,t,r,n]),void 0===e[t]||void 0===e[t][r])return;let i;const o=e[t][r];for(i=o.length-1;i>=0;i--)if(g(n,o[i]))return o[i]},cleanup:h,checkForWrongArgs:p,objectEquals:g,findDirectOrRDFValue:(e,t,r)=>{const n=e.find(t,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():e.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:(e,t=!0)=>{const r={};return Object.keys(e).forEach(n=>{const i=e[n];r[n]={},Object.keys(i).forEach(e=>{const o=i[e];if(1===o.length)r[n][e]=[y(o[0])];else if(t){const t=[],o=new Set;r[n][e]=t,i[e].forEach(e=>{const r=y(e),n=(e=>`${e.value}${e.type}${e.lang||""}${e.datatype||""}${e.ng||""}`)(r);o.has(n)||(o.add(n),t.push(r))})}else{const t=[];r[n][e]=t,i[e].forEach(e=>{t.push(y(e))})}})}),r}};class v{constructor(e,t,r,n,i){this._graph=e,this._s=t,this._p=r,this._o=n,this._o._statement=this,this._asserted=i}getGraph(){return this._graph}setAsserted(e,t=!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)}isAsserted(){return this._asserted}getSubject(){return this._s}isSubjectBlank(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}isObjectBlank(){return"bnode"===this.getType()}setSubject(e){this._silentValue=!1;const t=l(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}getPredicate(){return this._p}setPredicate(e){this._silentValue=!1;const t=l(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}getNamedGraph(){return this._o.ng}setNamedGraph(e){this._o.ng=e}getObject(){return this._o}getCleanObject(){const 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}getType(){return this._o.type}setType(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}getValue(){return this._o.value}setValue(e,t=!1){this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}getLanguage(){return this._o.lang}setLanguage(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())}getDatatype(){return this._o.datatype}setDatatype(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())}}var b=r(5892);const w=(e,t)=>{const r=[],n=new Set((t||[]).map(e=>l(e))),i=[],o={},a=e=>{let t=e.getValue();e.getLanguage()&&(t+=`@${e.getLanguage()}`);const r=e.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(t+=`^^${r}`),t},s=(e,t)=>{const r=o[e]||{rels:[]};o[e]=r,r.rels.push(t)};return e.find().forEach(e=>{const t=e.getSubject(),o=e.getPredicate();if(n.has(o))return;const u="bnode"===e.getType(),l=e.isSubjectBlank();if(l||u)return i.push(e),l&&s(e.getSubject(),u?o:o+a(e)),void("bnode"===e.getType()&&s(e.getValue(),l?o:t+o));r.push(t+o+a(e))}),Object.values(o).forEach(e=>{e.rels.sort(),e.hash=b(e.rels.join(""))}),i.forEach(e=>{const t=[];t.push(e.isSubjectBlank()?o[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?o[e.getValue()].hash:a(e)),r.push(t.join(""))}),r.sort(),b(r.join(""))};class _{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}_.prototype.termType="BlankNode";const S=_;class x{equals(e){return!!e&&e.termType===this.termType}}x.prototype.termType="DefaultGraph",x.prototype.value="";const E=x;const T=function(e,t){if(!t)return null;if("BlankNode"===t.termType)return e.blankNode(t.value);if("DefaultGraph"===t.termType)return e.defaultGraph();if("Literal"===t.termType)return e.literal(t.value,t.language||e.namedNode(t.datatype.value));if("NamedNode"===t.termType)return e.namedNode(t.value);if("Quad"===t.termType){const r=e.fromTerm(t.subject),n=e.fromTerm(t.predicate),i=e.fromTerm(t.object),o=e.fromTerm(t.graph);return e.quad(r,n,i,o)}if("Variable"===t.termType)return e.variable(t.value);throw new Error(`unknown termType ${t.termType}`)};class k{constructor(e,t,r,n=""){this.value=e,this.language=t,this.datatype=r,this.direction=n}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value&&e.language===this.language&&e.datatype.equals(this.datatype)&&(e.direction||"")===this.direction}}k.prototype.termType="Literal";const O=k;class A{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}A.prototype.termType="NamedNode";const C=A;class R{constructor(e,t,r,n){this.subject=e,this.predicate=t,this.object=r,this.graph=n}equals(e){return!!e&&("Quad"===e.termType||!e.termType)&&e.subject.equals(this.subject)&&e.predicate.equals(this.predicate)&&e.object.equals(this.object)&&e.graph.equals(this.graph)}}R.prototype.termType="Quad",R.prototype.value="";const P=R;class j{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}j.prototype.termType="Variable";const N=j,D=new C("http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString"),I=new C("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),L=new C("http://www.w3.org/2001/XMLSchema#string");class M{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new E}}namedNode(e){return new C(e)}blankNode(e){return e=e||"b"+ ++this._data.blankNodeCounter,new S(e)}literal(e,t){return"string"==typeof t?new O(e,t,I):"string"==typeof t?.language?new O(e,t.language,t.direction?D:I,t.direction):new O(e,"",t||L)}variable(e){return new N(e)}defaultGraph(){return this._data.defaultGraph}quad(e,t,r,n=this.defaultGraph()){return new P(e,t,r,n)}fromTerm(e){return T(this,e)}fromQuad(e){return T(this,e)}}M.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const F=new M,B=e=>0===e.indexOf("_:")?e.substring(2):e,V=e=>e.find().map(e=>{const t=e.getSubject(),r=e.getPredicate(),n=(e=>{if(e.value)switch(e.type){case"literal":if(e.lang)return F.literal(e.value,e.lang);if(e.datatype){const t=F.namedNode(e.datatype);return F.literal(e.value,t)}return F.literal(e.value);case"uri":return F.namedNode(e.value);case"bnode":return F.blankNode(B(e.value))}})(e.getObject()),i=e.getNamedGraph()?F.namedNode(e.getNamedGraph()):void 0;return F.quad(e.isSubjectBlank()?F.blankNode(B(t)):F.namedNode(t),F.namedNode(r),n,i)}),U=e=>0===e.indexOf("_:")?e:`_:${e}`,W=(e,t)=>{const r=t||new Graph,n=e=>{const t=(e=>{switch(e.termType){case"NamedNode":return{value:e.value,type:"uri"};case"BlankNode":return{value:U(e.value),type:"bnode"};case"Literal":return e.language?{value:e.value,type:"literal",lang:e.language}:e.datatype?{value:e.value,type:"literal",datatype:e.datatype.value}:{value:e.value,type:"literal"}}})(e.object||e._object);return"DefaultGraph"!==e.graph.termType&&(t.ng=e.graph.value),t};e.forEach(e=>{r.add("BlankNode"===e.subject.termType?U(e.subject.value):e.subject.value,"BlankNode"===e.predicate.termType?U(e.predicate.value):e.predicate.value,n(e))})},H=e=>0===e.length?e:[e[0]],$=(e,t,r)=>({object(n){for(let i=0;i<t.length;i++){let o;if(r)o=t[i].getSubject();else{const e=t[i].getType();if("uri"===e||"bnode"===e)continue;o=t[i].getValue()}const a=e.find(o,n);a.length>0&&$(e,[a[0]])}return $(e,[])},objects(n){let i,o=[];if(!0===r)for(i=0;i<t.length;i++)o=o.concat(e.find(t[i].getSubject(),n));else for(i=0;i<t.length;i++){const r=t[i].getType();"uri"!==r&&"bnode"!==r||(o=o.concat(e.find(t[i].getValue(),n)))}return $(e,o)},constr(n,i){let o=i;m.isString(o)&&(o={type:"uri",value:o});const a=[];for(let i=0;i<t.length;i++){const s=r?t[i].getSubject():t[i].getValue();e.find(s,n,o).length>0&&a.push(t[i])}return $(e,a,r)},each(n,i){if(!0===r)for(let o=0;o<t.length;o++){const a="_:"===t[o].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==a||n($(e,t[o],r))}else for(let i=0;i<t.length;i++)n($(e,t[i],r))},statements:()=>t,nodes(e){const n=[];if(!0===r)for(let r=0;r<t.length;r++){const i="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||n.push({type:i,value:t[r].getSubject()})}else for(let r=0;r<t.length;r++)null!=e&&e!==t[r].getType()||n.push(t[r].getObject());return n},values(e){const n=[];if(!0===r)for(let r=0;r<t.length;r++){const i="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||n.push(t[r].getSubject())}else for(let r=0;r<t.length;r++)null!=e&&e!==t[r].getType()||n.push(t[r].getValue());return n},firstValue(e){if(!0===r)for(let r=0;r<t.length;r++){const n="_:"===t[r].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===n)return t[r].getSubject()}else for(let r=0;r<t.length;r++)if(null==e||e===t[r].getType())return t[r].getValue()}});class Y{constructor(e=null,t){this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==t&&this.validate(),this._changed=!1}addQuads(e){return W(e,this),this}toQuads(){return V(this)}isEmpty(){return!Object.keys(this._graph).find(e=>{const t=this._graph[e];return Object.keys(t).find(e=>t[e].find(e=>null==e._statement||e._statement.isAsserted()))})}onChange(){}setChanged(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}isChanged(){return this._changed}addAll(e,t){const r={};let n;const i=e.find();for(let e=0;e<i.length;e++){const o=i[e];let a=o.getSubject(),s=o.getPredicate();const u=o.getCleanObject();t&&(u.ng=t),0===a.indexOf("_:")&&(n=r[a]||this._newBNode(),r[a]=n,a=n),0===s.indexOf("_:")&&(n=r[s]||this._newBNode(),r[s]=n,s=n),"bnode"===u.type&&(n=r[u.value]||this._newBNode(),r[u.value]=n,u.value=n),this.add(a,s,u)}}add(e,t=null,r=null,n=!1,i){if(e instanceof v){const t=e.getPredicate(),r=e.getObject(),o=e.getSubject();this._trackBNodes(o,t,r);const a=this._graphObject(r),s=m.add(this._graph,o,t,a,i);return!0!==n&&this.setChanged(),this._get(o,t,s,!0)}return this.create(e,t,r,!0,n,i)}addL(e,t,r,n){const i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(e,t,i,!0)}addD(e,t,r,n){const i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=l(n)),this.create(e,t,i,!0)}create(e=null,t=null,r=null,n=!0,i=!1,o=!1){let a=e,s=t,u=r;if(a=null==a?this._newBNode():l(a),s=null==s?this._newBNode():l(s),null==u?u={type:"bnode",value:this._newBNode()}:m.isString(u)?u={type:"uri",value:l(u)}:"object"!=typeof u||Array.isArray(u)?u={type:"uri",value:`${u}`}:(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng},"uri"===u.type&&null!=u.value&&(u.value=l(u.value)),u.datatype&&(u.datatype=l(u.datatype))),!1!==n){const e=m.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,e,!0)}return new v(this,a,s,u,!1)}findAndRemove(e,t,r,n=!1){const i=this.find(e,t,r);for(let e=0;e<i.length;e++)this.remove(i[e],n)}remove(e,t=!1){const r=e.getSubject(),n=e.getPredicate(),i=e.getObject();this._trackBNodes(r,n,i),null!=m.remove(this._graph,r,n,i)&&!0!==t&&this.setChanged()}find(e,t,r){let n=e,i=t,o=r;if("string"==typeof n&&(n=l(n)),"string"==typeof i&&(i=l(i)),"object"==typeof o&&null!==o&&"uri"===o.type?o.value=l(o.value):"string"==typeof o&&(o={type:"uri",value:l(o)}),null==o)return null==i?null==n?this._find():this._findS(n):null==n?this._findP(i):this._findSP(n,i);if(null==i)return null==n?this._findO(o):this._findSO(n,o);if(null==n)return this._findPO(i,o);const a=this._get(n,i,m.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}findFirstValue(e,t){const r=this.find(e,t);if(r.length>0)return r[0].getValue()}projection(e,t,r){const n={};return Object.keys(t).forEach(i=>{const o=t[i],a=Array.isArray(o)?this.findPath(e,o):this.find(e,o);if(a.length>0)switch("*"===i[0]?n[i.substr(1)]=a.map(e=>e.getValue()):n[i]=a[0].getValue(),r||"none"){case"statement":n[`*${i}`]=a;break;case"objects":n[`*${i}`]=a.map(e=>e.getCleanObject());break;case"values":n[`*${i}`]=a.map(e=>e.getValue())}}),n}subjects(e,t){return $(this,this.find(null,e,t),!0)}subject(e,t){return $(this,H(this.find(null,e,t)),!0)}objects(e,t){return $(this,this.find(e,t,null))}object(e,t){return $(this,H(this.find(e,t,null)))}findPath(e,t){return t.slice(1).reduce((e,t)=>e.objects(t),this.objects(e,t[0])).statements()}addList(e){return this._addList(e,"add")}addListL(e,t){return this._addList(e,"addL",t)}addListD(e,t){return this._addList(e,"addD",t)}_addList(e,t,r){let n;if(Array.isArray(e)&&0!==e.length){n=this._newBNode();let i=n;const o=e.length-1;e.forEach((e,n)=>{this[t](i,"rdf:first",e,r),n!==o?i=this.add(i,"rdf:rest").getValue():this.add(i,"rdf:rest","rdf:nil")})}else n=l("rdf:nil");return n}removeList(e){let t=!1,r="object"==typeof e?e.value:e;try{const e=l("rdf:nil");for(t=r===e;r!==e&&null!=r;){const e=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),r=e,t=null!=r}}catch(e){return console.warn(`Invalid list for object: ${r}`),!1}return t}getList(e){let t="object"==typeof e?e.value:l(e);const r=[];try{const e=l("rdf:nil");for(;t!==e&&null!=t;)r.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn(`Invalid list for object: ${t}`)}return r}findFirstListAsValues(e,t){return this.getList(this.findFirstValue(e,t)).map(e=>e.value)}findAndRemoveLists(e,t){let r=!1;return this.find(e,t).forEach(e=>{this.removeList(e.getValue())&&(this.remove(e),r=!0)}),r}exportRDFJSON(e=!0){this._graph;return m.clone(this._graph,e)}replaceSubject(e,t){return this.replaceURI(e,t)}replaceURI(e,t){const r=this._graph;if(r.hasOwnProperty(e)){if(r.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");r[t]=r[e],delete r[e]}return this.forEach((r,n,i)=>{"uri"===i.type&&i.value===e&&(i.value=t),r===t&&i._statement&&(i._statement._s=t)}),this}replaceBlankWithURI(e,t,r){const n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");{const r=n[t],i=n[e];Object.keys(i).forEach(e=>{if(r.hasOwnProperty(e)){const t=r[e],n=i[e].filter(e=>!t.find(t=>m.objectEquals(t,e)));r[e]=t.concat(n)}else r[e]=i[e]}),delete n[e]}}else n[t]=n[e],delete n[e];this.forEach((r,n,i)=>{"bnode"===i.type&&i.value===e&&(i.value=t,i.type="uri"),r===t&&i._statement&&(i._statement._s=t)})}return delete this._bnodes[e],this}clone(){return new Y(this.exportRDFJSON(!1))}findProperties(e){return Object.keys(this._graph[e]||{})}validate(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}registerBNode(e){this._bnodes[e]=!0}forEach(e){const t=this._graph;Object.keys(t).forEach(r=>{const n=t[r];Object.keys(n).forEach(t=>{n[t].forEach(n=>{e(r,t,n)})})})}map(e){const t=[];return this.forEach(r=>{t.push(e(r))}),t}equals(e,t){return w(this,t)===w(e,t)}size(){let e=0;return Object.values(this._graph).forEach(t=>{Object.values(t).forEach(t=>{e+=t.length})}),e}_get(e,t,r,n){if(null!=r)return this._getOrCreate(e,t,r,n)}_getOrCreate(e,t,r,n){return null==r._statement&&(r._statement=new v(this,e,t,r,n)),r._statement}_graphObject(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}_findSP(e,t){return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map(r=>this._get(e,t,r,!0))}_findS(e){const t=this._graph[e],r=Object.keys(t||{}).map(t=>this._findSP(e,t));return Array.prototype.concat.apply([],r)}_find(){const e=[];return this.forEach((t,r,n)=>{e.push(this._get(t,r,n,!0))}),e}_findP(e){const t=[];return this.forEach((r,n,i)=>{e===n&&t.push(this._get(r,n,i,!0))}),t}_findO(e){const t=[];return this.forEach((r,n,i)=>{m.objectEquals(e,i)&&t.push(this._get(r,n,i,!0))}),t}_findSO(e,t){const r=[];return this.forEach((n,i,o)=>{e===n&&m.objectEquals(t,o)&&r.push(this._get(n,i,o,!0))}),r}_findPO(e,t){const r=[];return this.forEach((n,i,o)=>{e===i&&m.objectEquals(t,o)&&r.push(this._get(n,i,o,!0))}),r}_validate(){const e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach(r=>{const n=e[r];m.isObject(n)?Object.keys(n).forEach(e=>{const i=n[e];Array.isArray(i)?i.forEach((n,i)=>{m.isObject(n)?null!=n.type?m.isString(n.value)?t.nr+=1:(t.errors.push({s:r,p:e,oindex:i+1,message:`Object ${i+1} in object array must have the 'value' attribute pointing to a string.`}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:`Object ${i+1} in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.`}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:`Element ${i+1} in object array is not an object.`}),t.valid=!1)}):(t.errors.push({s:r,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)}):(t.errors.push({s:r,message:"Subject must point to an object."}),t.valid=!1)}),t}_newBNode(){let e,t,r;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(r=`_:${Math.floor(Math.random()*(Math.pow(10,e)+1))}`,!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}_indexBNodes(){if(this._bnodesIndexed)return;const e=this._graph;Object.keys(e).forEach(t=>{0===t.indexOf("_:")&&(this._bnodes[t]=!0);const r=e[t];Object.keys(r).forEach(e=>{0===e.indexOf("_:")&&(this._bnodes[e]=!0),r[e].forEach(e=>{"bnode"===e.type&&(this._bnodes[e.value]=!0)})})}),this._bnodesIndexed=!0}_trackBNodes(e,t,r){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}r(5727);Error;const G={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},q={rdftype:`${G.rdf}type`,rdfssco:`${G.rdfs}subClassOf`,rdfsdomain:`${G.rdfs}domain`,rdfsrange:`${G.rdfs}range`,rdfsspo:`${G.rdfs}subPropertyOf`,rdfsClass:`${G.rdfs}Class`,owlClass:`${G.owl}Class`,owlObjectProperty:`${G.owl}ObjectProperty`,owlDatatypeProperty:`${G.owl}DatatypeProperty`,rdfProperty:`${G.rdf}Property`},z=(e,t,r)=>{const n={};let i=!1;const o=e.find(t,r);for(let e=0;e<o.length;e++){const t=o[e];"literal"===t.getType()&&(n[t.getLanguage()||""]=t.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},X=e=>{const t=[],r={};for(let n=0;n<e.length;n++){const i=e[n];r[i]||(t.push(i),r[i]=!0)}return t},Q=class{constructor(e,t){this._uri=e,this._parents=[],this._children=[],this._graph=t}getURI(){return this._uri}getLabel(){const e=this.getLabels();if(null!=e.en)return e.en;const t=Object.objects(e);return t.length>0?t[0]:""}getLabels(){return null==this._labels&&(this._labels=z(this._graph,this._uri,`${G.rdfs}label`),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}getComment(){const e=this.getComments();return null!=e?null!=e.en?e.en:Object.objects(e)[0]:""}getComments(){return null==this._comments&&(this._comments=z(this._graph,this._uri,`${G.rdfs}comment`)),this._comments}addParent(e){this._parents.push(e),e._children.push(this)}getDirectParents(){return this._parents}getParents(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(let e=0;e<this._parents.length;e++)this._allParents=this._allParents.concat(this._parents[e].getParents()),this._allParents.push(this._parents[e])}return delete this._parentLock,this._allParents}getChildren(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(let e=0;e<this._children.length;e++)this._allChildren=this._allChildren.concat(this._children[e].getChildren()),this._allChildren.push(this._children[e])}return delete this._childLock,this._allChildren}setRange(e){null==this._range&&(this._range=[]),this._range.push(e)}setDomain(e){null==this._domain&&(this._domain=[]),this._domain.push(e),e.setDomainOf(this)}getRange(){if(null==this._allRange){this._allRange=this._range||[];for(let e=0;e<this._parents.length;e++)this._allRange=this._allRange.concat(this._parents[e].getRange());this._allRange=X(this._allRange)}return this._allRange}getDomain(){if(null==this._allDomain){this._allDomain=this._domain||[];for(let e=0;e<this._parents.length;e++)this._allDomain=this._allDomain.concat(this._parents[e].getDomain());this._allDomain=X(this._allDomain)}return this._allDomain}setDomainOf(e){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(e)}getDomainOf(){return this._domainOf}getAllDomainOf(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){const e=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(let t=0;t<e.length;t++)this._allDomainOf=this._allDomainOf.concat(e[t].getChildren());for(let e=0;e<this._parents.length;e++)this._allDomainOf=this._allDomainOf.concat(this._parents[e].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}},Z=function(e,t,r,n){for(let i=0;i<r.length;i++){const o=r[i],a=o.getSubject();let s=e[a];if(s||(s=new Q(a,o.getGraph()),e[a]=s,t.push(s)),n){const r=o.getValue();let n=e[r];n||(n=new Q(r,o.getGraph()),e[r]=n,t.push(n)),s.addParent(n)}}},J=class{constructor(){this._cidx={},this._carr=[],this._pidx={},this._parr=[]}addGraph(e){Z(this._cidx,this._carr,e.find(null,q.rdftype,q.rdfsClass)),Z(this._cidx,this._carr,e.find(null,q.rdftype,q.owlClass)),Z(this._cidx,this._carr,e.find(null,q.rdfssco,null),!0),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.rdfProperty)),Z(this._pidx,this._parr,e.find(null,q.rdfsspo,null),!0),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.owlDatatypeProperty)),Z(this._pidx,this._parr,e.find(null,q.rdftype,q.owlObjectProperty)),function(e,t,r){let n,i,o,a=e.find(null,q.rdfsdomain,null);for(let e=0;e<a.length;e++)o=a[e],n=t[o.getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=e.find(null,q.rdfsrange,null);for(let e=0;e<a.length;e++)o=a[e],n=t[o.getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(e,this._pidx,this._cidx)}addThing(){const e="http://www.w3.org/2002/07/owl#Thing";let t=this._cidx[e],r=!1;t||(t=new Q(e,new Y),this._cidx[e]=t,this._carr.push(t),r=!0);for(let e=0;e<this._carr.length;e++){const n=this._carr[e];(r&&n!==t||-1===n.getParents().indexOf(t)&&n!==t)&&n.addParent(t)}}getClasses(){return this._carr}getProperties(){return this._parr}isClass(e){return null!=this._cidx[e]}isProperty(e){return null!=this._pidx[e]}getClass(e){return this._cidx[e]}getProperty(e){return this._pidx[e]}static getInstances(e){const t=[],r=[e].concat(e.getChildren());for(let e=0;e<r.length;e++){const n=r[e],i=n.getGraph.find(null,q.rdftype,n.getURI());for(let e=0;e<i.length;e++)t.push(i[e].getSubject())}return t}};J.prototype.ns=G,J.prototype.terms=q,J.global=new J;function K(e){return K="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},K(e)}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,te(n.key),n)}}function te(e){var t=function(e,t){if("object"!=K(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==K(t)?t:t+""}var re=function(e,t){if(null==t)return!0;var r=e.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find(function(e){var i,o,a,s,u=t[e];return""!==u&&"*"!==u&&(i=u,o=r[e],a=Array.isArray(i)?i:null!=i?[i]:[],s=Array.isArray(o)?o:null!=o?[o]:[],a.length!==s.length||!a.every(function(e){return s.includes(e)}))&&(n=!1,!0)}),n)},ne=function(e){this.filterObj={},this.registry=e};ne.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach(function(e){ne.prototype[e]=function(t){var r={};switch(e){case"constraint":Object.keys(t).forEach(function(e){var n=t[e];Array.isArray(n)?r[l(e)]=n.map(function(e){return l(e)}):r[l(e)]=l(n)}),this.filterObj[e]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=l(t);break;default:this.filterObj[e]=t||!0}return this}});var ie=function(){return e=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}},(t=[{key:"calculatePriority",value:function(e,t){var r=0;if(t.itemtype&&(r+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(r+=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;default:if(!e.hasChoices())return-1}if(t.nodetype&&(r+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){r+=this.priorities.DATATYPE;var n=e.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(t.datatype):n!==t.datatype),i)return-1}return t.rdftype&&(r+=this.priorities.RDFTYPE,!function(e,t){var r=e.getConstraints();return null!=r&&r[rdfType]===t}(e,t.rdftype))||t.constraint&&(r+=this.priorities.CONSTRAINT,!re(e,t.constraint))||t.predicate&&(r+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(r+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(r+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:r:-1}},{key:"getPriority",value:function(e,t){for(var r=0;r<this.components.length;r++)if(this.components[r].component===t){var n=this.calculatePriority(e,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(e,t){var r=this.getPriority(e,t);return this.getComponent(e,r)}},{key:"getComponent",value:function(e,t){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(e,i.filter))>o&&(void 0===t||n<t)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new ne(this).itemtype(e)}},{key:"choices",value:function(e){return new ne(this).choices(e)}},{key:"nodetype",value:function(e){return new ne(this).nodetype(e)}},{key:"datatype",value:function(e){return new ne(this).datatype(e)}},{key:"rdftype",value:function(e){return new ne(this).rdftype(e)}},{key:"constraint",value:function(e){return new ne(this).constraint(e)}},{key:"predicate",value:function(e){return new ne(this).predicate(e)}},{key:"style",value:function(e){return new ne(this).style(e)}},{key:"item",value:function(e){return new ne(this).item(e)}},{key:"check",value:function(e){return new ne(this).check(e)}}])&&ee(e.prototype,t),r&&ee(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),oe=(r(3812),r(3267),r(5276),r(4820),r(210),r(4910),r(3703),r(1178),r(8609)),ae=r.n(oe);const se=function(){this.__data__=[],this.size=0};const ue=function(e,t){return e===t||e!=e&&t!=t};const le=function(e,t){for(var r=e.length;r--;)if(ue(e[r][0],t))return r;return-1};var ce=Array.prototype.splice;const fe=function(e){var t=this.__data__,r=le(t,e);return!(r<0)&&(r==t.length-1?t.pop():ce.call(t,r,1),--this.size,!0)};const de=function(e){var t=this.__data__,r=le(t,e);return r<0?void 0:t[r][1]};const he=function(e){return le(this.__data__,e)>-1};const pe=function(e,t){var r=this.__data__,n=le(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function ge(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ge.prototype.clear=se,ge.prototype.delete=fe,ge.prototype.get=de,ge.prototype.has=he,ge.prototype.set=pe;const ye=ge;const me=function(){this.__data__=new ye,this.size=0};const ve=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};const be=function(e){return this.__data__.get(e)};const we=function(e){return this.__data__.has(e)};const _e="object"==typeof global&&global&&global.Object===Object&&global;var Se="object"==typeof self&&self&&self.Object===Object&&self;const xe=_e||Se||Function("return this")();const Ee=xe.Symbol;var Te=Object.prototype,ke=Te.hasOwnProperty,Oe=Te.toString,Ae=Ee?Ee.toStringTag:void 0;const Ce=function(e){var t=ke.call(e,Ae),r=e[Ae];try{e[Ae]=void 0;var n=!0}catch(e){}var i=Oe.call(e);return n&&(t?e[Ae]=r:delete e[Ae]),i};var Re=Object.prototype.toString;const Pe=function(e){return Re.call(e)};var je=Ee?Ee.toStringTag:void 0;const Ne=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":je&&je in Object(e)?Ce(e):Pe(e)};const De=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const Ie=function(e){if(!De(e))return!1;var t=Ne(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Le=xe["__core-js_shared__"];var Me,Fe=(Me=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+Me:"";const Be=function(e){return!!Fe&&Fe in e};var Ve=Function.prototype.toString;const Ue=function(e){if(null!=e){try{return Ve.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var We=/^\[object .+?Constructor\]$/,He=Function.prototype,$e=Object.prototype,Ye=He.toString,Ge=$e.hasOwnProperty,qe=RegExp("^"+Ye.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ze=function(e){return!(!De(e)||Be(e))&&(Ie(e)?qe:We).test(Ue(e))};const Xe=function(e,t){return null==e?void 0:e[t]};const Qe=function(e,t){var r=Xe(e,t);return ze(r)?r:void 0};const Ze=Qe(xe,"Map");const Je=Qe(Object,"create");const Ke=function(){this.__data__=Je?Je(null):{},this.size=0};const et=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var tt=Object.prototype.hasOwnProperty;const rt=function(e){var t=this.__data__;if(Je){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return tt.call(t,e)?t[e]:void 0};var nt=Object.prototype.hasOwnProperty;const it=function(e){var t=this.__data__;return Je?void 0!==t[e]:nt.call(t,e)};const ot=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Je&&void 0===t?"__lodash_hash_undefined__":t,this};function at(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}at.prototype.clear=Ke,at.prototype.delete=et,at.prototype.get=rt,at.prototype.has=it,at.prototype.set=ot;const st=at;const ut=function(){this.size=0,this.__data__={hash:new st,map:new(Ze||ye),string:new st}};const lt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const ct=function(e,t){var r=e.__data__;return lt(t)?r["string"==typeof t?"string":"hash"]:r.map};const ft=function(e){var t=ct(this,e).delete(e);return this.size-=t?1:0,t};const dt=function(e){return ct(this,e).get(e)};const ht=function(e){return ct(this,e).has(e)};const pt=function(e,t){var r=ct(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function gt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}gt.prototype.clear=ut,gt.prototype.delete=ft,gt.prototype.get=dt,gt.prototype.has=ht,gt.prototype.set=pt;const yt=gt;const mt=function(e,t){var r=this.__data__;if(r instanceof ye){var n=r.__data__;if(!Ze||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new yt(n)}return r.set(e,t),this.size=r.size,this};function vt(e){var t=this.__data__=new ye(e);this.size=t.size}vt.prototype.clear=me,vt.prototype.delete=ve,vt.prototype.get=be,vt.prototype.has=we,vt.prototype.set=mt;const bt=vt;const wt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e};const _t=function(){try{var e=Qe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();const St=function(e,t,r){"__proto__"==t&&_t?_t(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var xt=Object.prototype.hasOwnProperty;const Et=function(e,t,r){var n=e[t];xt.call(e,t)&&ue(n,r)&&(void 0!==r||t in e)||St(e,t,r)};const Tt=function(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=n?n(r[s],e[s],s,r,e):void 0;void 0===u&&(u=e[s]),i?St(r,s,u):Et(r,s,u)}return r};const kt=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};const Ot=function(e){return null!=e&&"object"==typeof e};const At=function(e){return Ot(e)&&"[object Arguments]"==Ne(e)};var Ct=Object.prototype,Rt=Ct.hasOwnProperty,Pt=Ct.propertyIsEnumerable;const jt=At(function(){return arguments}())?At:function(e){return Ot(e)&&Rt.call(e,"callee")&&!Pt.call(e,"callee")};const Nt=Array.isArray;const Dt=function(){return!1};var It="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lt=It&&"object"==typeof module&&module&&!module.nodeType&&module,Mt=Lt&&Lt.exports===It?xe.Buffer:void 0;const Ft=(Mt?Mt.isBuffer:void 0)||Dt;var Bt=/^(?:0|[1-9]\d*)$/;const Vt=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Bt.test(e))&&e>-1&&e%1==0&&e<t};const Ut=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Wt={};Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object Boolean]"]=Wt["[object DataView]"]=Wt["[object Date]"]=Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object WeakMap]"]=!1;const Ht=function(e){return Ot(e)&&Ut(e.length)&&!!Wt[Ne(e)]};const $t=function(e){return function(t){return e(t)}};var Yt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Gt=Yt&&"object"==typeof module&&module&&!module.nodeType&&module,qt=Gt&&Gt.exports===Yt&&_e.process;const zt=function(){try{var e=Gt&&Gt.require&&Gt.require("util").types;return e||qt&&qt.binding&&qt.binding("util")}catch(e){}}();var Xt=zt&&zt.isTypedArray;const Qt=Xt?$t(Xt):Ht;var Zt=Object.prototype.hasOwnProperty;const Jt=function(e,t){var r=Nt(e),n=!r&&jt(e),i=!r&&!n&&Ft(e),o=!r&&!n&&!i&&Qt(e),a=r||n||i||o,s=a?kt(e.length,String):[],u=s.length;for(var l in e)!t&&!Zt.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Vt(l,u))||s.push(l);return s};var Kt=Object.prototype;const er=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Kt)};const tr=function(e,t){return function(r){return e(t(r))}};const rr=tr(Object.keys,Object);var nr=Object.prototype.hasOwnProperty;const ir=function(e){if(!er(e))return rr(e);var t=[];for(var r in Object(e))nr.call(e,r)&&"constructor"!=r&&t.push(r);return t};const or=function(e){return null!=e&&Ut(e.length)&&!Ie(e)};const ar=function(e){return or(e)?Jt(e):ir(e)};const sr=function(e,t){return e&&Tt(t,ar(t),e)};const ur=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var lr=Object.prototype.hasOwnProperty;const cr=function(e){if(!De(e))return ur(e);var t=er(e),r=[];for(var n in e)("constructor"!=n||!t&&lr.call(e,n))&&r.push(n);return r};const fr=function(e){return or(e)?Jt(e,!0):cr(e)};const dr=function(e,t){return e&&Tt(t,fr(t),e)};var hr="object"==typeof exports&&exports&&!exports.nodeType&&exports,pr=hr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=pr&&pr.exports===hr?xe.Buffer:void 0,yr=gr?gr.allocUnsafe:void 0;const mr=function(e,t){if(t)return e.slice();var r=e.length,n=yr?yr(r):new e.constructor(r);return e.copy(n),n};const vr=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};const br=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o};const wr=function(){return[]};var _r=Object.prototype.propertyIsEnumerable,Sr=Object.getOwnPropertySymbols;const xr=Sr?function(e){return null==e?[]:(e=Object(e),br(Sr(e),function(t){return _r.call(e,t)}))}:wr;const Er=function(e,t){return Tt(e,xr(e),t)};const Tr=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e};const kr=tr(Object.getPrototypeOf,Object);const Or=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Tr(t,xr(e)),e=kr(e);return t}:wr;const Ar=function(e,t){return Tt(e,Or(e),t)};const Cr=function(e,t,r){var n=t(e);return Nt(e)?n:Tr(n,r(e))};const Rr=function(e){return Cr(e,ar,xr)};const Pr=function(e){return Cr(e,fr,Or)};const jr=Qe(xe,"DataView");const Nr=Qe(xe,"Promise");const Dr=Qe(xe,"Set");const Ir=Qe(xe,"WeakMap");var Lr="[object Map]",Mr="[object Promise]",Fr="[object Set]",Br="[object WeakMap]",Vr="[object DataView]",Ur=Ue(jr),Wr=Ue(Ze),Hr=Ue(Nr),$r=Ue(Dr),Yr=Ue(Ir),Gr=Ne;(jr&&Gr(new jr(new ArrayBuffer(1)))!=Vr||Ze&&Gr(new Ze)!=Lr||Nr&&Gr(Nr.resolve())!=Mr||Dr&&Gr(new Dr)!=Fr||Ir&&Gr(new Ir)!=Br)&&(Gr=function(e){var t=Ne(e),r="[object Object]"==t?e.constructor:void 0,n=r?Ue(r):"";if(n)switch(n){case Ur:return Vr;case Wr:return Lr;case Hr:return Mr;case $r:return Fr;case Yr:return Br}return t});const qr=Gr;var zr=Object.prototype.hasOwnProperty;const Xr=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&zr.call(e,"index")&&(r.index=e.index,r.input=e.input),r};const Qr=xe.Uint8Array;const Zr=function(e){var t=new e.constructor(e.byteLength);return new Qr(t).set(new Qr(e)),t};const Jr=function(e,t){var r=t?Zr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var Kr=/\w*$/;const en=function(e){var t=new e.constructor(e.source,Kr.exec(e));return t.lastIndex=e.lastIndex,t};var tn=Ee?Ee.prototype:void 0,rn=tn?tn.valueOf:void 0;const nn=function(e){return rn?Object(rn.call(e)):{}};const on=function(e,t){var r=t?Zr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};const an=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return Zr(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return Jr(e,r);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 on(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return en(e);case"[object Symbol]":return nn(e)}};var sn=Object.create;const un=function(){function e(){}return function(t){if(!De(t))return{};if(sn)return sn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const ln=function(e){return"function"!=typeof e.constructor||er(e)?{}:un(kr(e))};const cn=function(e){return Ot(e)&&"[object Map]"==qr(e)};var fn=zt&&zt.isMap;const dn=fn?$t(fn):cn;const hn=function(e){return Ot(e)&&"[object Set]"==qr(e)};var pn=zt&&zt.isSet;const gn=pn?$t(pn):hn;var yn="[object Arguments]",mn="[object Function]",vn="[object Object]",bn={};bn[yn]=bn["[object Array]"]=bn["[object ArrayBuffer]"]=bn["[object DataView]"]=bn["[object Boolean]"]=bn["[object Date]"]=bn["[object Float32Array]"]=bn["[object Float64Array]"]=bn["[object Int8Array]"]=bn["[object Int16Array]"]=bn["[object Int32Array]"]=bn["[object Map]"]=bn["[object Number]"]=bn[vn]=bn["[object RegExp]"]=bn["[object Set]"]=bn["[object String]"]=bn["[object Symbol]"]=bn["[object Uint8Array]"]=bn["[object Uint8ClampedArray]"]=bn["[object Uint16Array]"]=bn["[object Uint32Array]"]=!0,bn["[object Error]"]=bn[mn]=bn["[object WeakMap]"]=!1;const wn=function e(t,r,n,i,o,a){var s,u=1&r,l=2&r,c=4&r;if(n&&(s=o?n(t,i,o,a):n(t)),void 0!==s)return s;if(!De(t))return t;var f=Nt(t);if(f){if(s=Xr(t),!u)return vr(t,s)}else{var d=qr(t),h=d==mn||"[object GeneratorFunction]"==d;if(Ft(t))return mr(t,u);if(d==vn||d==yn||h&&!o){if(s=l||h?{}:ln(t),!u)return l?Ar(t,dr(s,t)):Er(t,sr(s,t))}else{if(!bn[d])return o?t:{};s=an(t,d,u)}}a||(a=new bt);var p=a.get(t);if(p)return p;a.set(t,s),gn(t)?t.forEach(function(i){s.add(e(i,r,n,i,t,a))}):dn(t)&&t.forEach(function(i,o){s.set(o,e(i,r,n,o,t,a))});var g=f?void 0:(c?l?Pr:Rr:l?fr:ar)(t);return wt(g||t,function(i,o){g&&(i=t[o=i]),Et(s,o,e(i,r,n,o,t,a))}),s};const _n=function(e){return wn(e,5)};var Sn=function(e,t){var r=t||ae().locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(r))return{value:e[r],precision:"exact",lang:r};if(r.indexOf("_")>-1&&e.hasOwnProperty(r.substr(0,2)))return{value:e[r.substr(0,2)],precision:"coarsen",lang:r.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"}},xn=function(e,t,r){var n=e.find(t,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const En={getLocalizedValue:Sn,getLocalizedMap:function(e,t,r){var n,i=t,o=r;e.getItem?(n=e.getGraph(),i=e.getValue(),o=e.getItem().getURIValueLabelProperties()):n=e,null!=o&&0!==o.length||(o=On.labelProperties);for(var a=0;a<o.length;a++){var s=o[a];if(Array.isArray(s)){for(var u=[],l=0;l<s.length;l++){var c=xn(n,i,s[l]);c&&u.push(Sn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=xn(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=Sn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=_n(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==t&&r.sort(function(e,t){return e.label>t.label?1:-1}),r},extractGist:function(e,t){var r=t;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(e);if(null!=i)return i[1]}return e},findFirstValue:function(e,t,r,n){var i=e.findFirstValueBinding(e.match(t,r,n),!1);if(i)return i.getChoice?Sn(i.getChoice().label).value:i.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 r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:3&r|8).toString(16)})}};var Tn=function(){return"0000".concat((Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4)},kn=function(e,t,r,n){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=En.getLocalizedMap(n,t,e.getURIValueLabelProperties());if(!i){var o=t.lastIndexOf("#"),a=t.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(t.substring(1+(o>a?o:a)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}};const On={hasDnDSupport:function(e){return!1},addDnD:function(e,t,r){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,r,n){return kn(e,t,0,n)},getFallbackChoice:kn,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 r=t.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=t.getGraph()._graph;;){var a=i+Tn();if(null==o[a])return a}}},An=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_year_and_month":"Year and month","date_month_and_day":"Month and day","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.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}');function Cn(e){return Cn="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},Cn(e)}var Rn,Pn,jn,Nn,Dn,In="body",Ln=[{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"}}],Mn={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 ie,editorRegistry:new ie,chooserRegistry:new ie,renderPresenter:function(e,t,r){var n=Mn.presenterRegistry.getComponent(t.getItem());n&&(Mn.prePresenterRenderer(e,t,r),n(e,t,r),Mn.postPresenterRenderer(e,t,r))},renderEditor:function(e,t,r){var n=Mn.editorRegistry.getComponent(t.getItem());n&&(Mn.preEditorRenderer(e,t,r),n(e,t,r),Mn.postEditorRenderer(e,t,r))},renderValidationMessage:function(e,t,r){},renderSelect:function(){},getChoice:function(e,t){var r=Mn.chooserRegistry.getComponent(e);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(e.getId()));return r.getChoice(e,t)},hasOpenChoiceSelector:function(e){return null!=Mn.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,r){var n=Mn.chooserRegistry.getComponent(e.getItem());if(null!=n&&n&&n.getChoice)n.show(e,t,r);else{var i=e.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(e){Rn=e},getMessages:function(){return Rn||An},getLanguageList:function(){return Pn||Ln},getPrimaryLanguageList:function(){if(!Nn){for(var e,t=Mn.getLanguageList(),r=jn||[],n=[],i=0;i<t.length;i++){var o=t[i].value,a=r.indexOf(o);""===o&&(e=t[i]),-1!==a&&(n[a]=t[i])}Nn=[];for(var s=0;s<n.length;s++)"object"===Cn(n[s])&&Nn.push(n[s]);Nn.length>0&&e&&Nn.splice(0,0,e)}return Nn},getNonPrimaryLanguageList:function(){if(!Dn){var e=Mn.getPrimaryLanguageList().length>0,t=Mn.getLanguageList(),r=jn||[];Dn=[];for(var n=0;n<t.length;n++){var i=t[n].value;-1===r.indexOf(i)&&(e&&""===i||Dn.push(t[n]))}}return Dn},setPrimaryLanguageCodes:function(e){Dn=null,Nn=null,jn=e},setLanguageList:function(e){Pn=e},filterTranslations:function(e,t,r){for(var n={},i=0;i<e.length;i++){var o=e[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===t?n.best=!0:-1!==o.indexOf(t)||-1!==t.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?e.filter(function(e){return e.getLanguage()===t}):n.close?e.filter(function(e){var r=e.getLanguage();return r&&(-1!==r.indexOf(t)||-1!==t.indexOf(r))}):n.defaultLanguage?e.filter(function(e){var t=e.getLanguage();return t&&0===t.indexOf(r)}):e},setPopoverContainer:function(e){In=e},getPopoverContainer:function(){return In},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(){},addTruncateControl:function(){}};On.getChoice=Mn.getChoice;var Fn=function(e,t,r){new(0,r.view.constructor)({parentView:r.view,renderingParams:r.view.renderingParams,messages:r.view.messages,binding:t,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,popupOnLabel:r.view.popupOnLabel,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,headingLevel:r.view.headingLevel,includeLevel:r.view.includeLevel},e)};Mn.presenterRegistry.itemtype("group").register(Fn),Mn.presenterRegistry.itemtype("propertygroup").register(Fn);var Bn=function(e,t,r){var n=new(0,r.view.constructor)({parentView:r.view,renderingParams:r.view.renderingParams,messages:r.view.messages,languages:r.view.languages,binding:t,topLevel:!1,compact:r.view.compact,popupOnLabel:r.view.popupOnLabel,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,headingLevel:r.view.headingLevel,includeLevel:r.view.includeLevel},e);r.view._subEditors.push(n)};Mn.editorRegistry.itemtype("group").register(Bn),Mn.editorRegistry.itemtype("propertygroup").register(Bn);const Vn=Mn;var Un=r(7569),Wn=r.n(Un);r(4452),r(405),r(3225),r(9755),r(5142),r(4944),r(4504);function Hn(e){return Hn="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},Hn(e)}function $n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Yn(n.key),n)}}function Yn(e){var t=function(e,t){if("object"!=Hn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Hn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hn(t)?t:t+""}var Gn=0,qn=function(){return e=function e(t){var r=t.item,n=t.statement,i=t.graph,o=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(Gn),this._matchingCode=o||"correct",Gn+=1},(t=[{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 En.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var r=e,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,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 r=this._item.getPattern();return r?null!=(t=En.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(r,"$")).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}}])&&$n(e.prototype,t),r&&$n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();const zn={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"};function Xn(e){return Xn="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},Xn(e)}function Qn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Zn(n.key),n)}}function Zn(e){var t=function(e,t){if("object"!=Xn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Xn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xn(t)?t:t+""}var Jn=function(){return e=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},(t=[{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=zn.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=zn.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=zn.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=zn.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()}}])&&Qn(e.prototype,t),r&&Qn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Kn(e){return Kn="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},Kn(e)}function ei(e){return function(e){if(Array.isArray(e))return ti(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ti(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ti(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ri(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ni(n.key),n)}}function ni(e){var t=function(e,t){if("object"!=Kn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Kn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kn(t)?t:t+""}function ii(e,t,r){return t=ui(t),function(e,t){if(t&&("object"==Kn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oi()?Reflect.construct(t,r||[],ui(e).constructor):t.apply(e,r))}function oi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oi=function(){return!!e})()}function ai(e,t,r,n){var i=si(ui(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function si(){return si="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ui(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},si.apply(null,arguments)}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}function li(e,t){return li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},li(e,t)}var ci=function(e){function t(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=ii(this,t,[e]);var n=e.constraints,i=void 0===n?[]:n,o=e.childrenRootUri,a=void 0===o?null:o;return r._constraints=i,r._childBindings=r._item.getChildren().map(function(){return[]}),r._rootUri=a,r._validPredicate=!0,r._validObject=!0,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate()),r._validObject=r._isValidObjectValue(r._statement.getValue(),r._statement.getType())),r._cachedChildBindings=null,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}(t,e),r=t,n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{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 r=e[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=t._childBindings[o].length>0?t._childBindings[o][0].getCardinalityTracker():new Jn(r);return t._childBindings[o]=t._childBindings[o].concat(e),e.forEach(function(e){e.setParent(t),e.setCardinalityTracker(i),i.increment()},t),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),r=t.length;r>=0;r--)if(e.getItem()===t[r]){this._childBindings[r].splice(this._childBindings[r].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(),r=t.length;r>=0;r--)if(e===t[r])return this._childBindings[r]}},{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,ei(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:"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),ai(t,"remove",this,3)([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(r){return r.forEach(function(r){return r.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,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&ai(t,"_isValidObjectValue",this,3)([e])}}],n&&ri(r.prototype,n),i&&ri(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(qn);function fi(e){return fi="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},fi(e)}function di(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hi(n.key),n)}}function hi(e){var t=function(e,t){if("object"!=fi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fi(t)?t:t+""}var pi=0,gi=function(e,t,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete e[t]:e[t]=r},yi=function(){return e=function e(t){var r=t.source,n=void 0===r?{}:r,i=t.bundle,o=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=o,this._source=n,this._bundle=i,pi+=1,this._internalId=pi,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate","card","cardInPresent","cardInEdit"],this._getLocalizedValue=En.getLocalizedValue},t=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){gi(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){gi(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),r=this._itemStore.getItem(e);this._source=null==r?t:this._itemStore.createExtendedSource(r.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(e,t,r){var n=this.getSource(r);return t?En.getLocalizedValue(n[e]):En.getLocalizedValue(n[e]).value}},{key:"_setText",value:function(e,t,r){var n=this.getSource(!0);n[e]=this._setLangHash(n[e],t,r),this.refreshExtends()}},{key:"_setTextMap",value:function(e,t){gi(this.getSource(!0),e,t),this.refreshExtends()}},{key:"getLabel",value:function(e,t){return this._getText("label",e,t)}},{key:"setLabel",value:function(e,t){this._setText("label",e,t)}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){this._setTextMap("label",e)}},{key:"getEditLabel",value:function(e,t){return this._getText("editlabel",e,t)}},{key:"setEditLabel",value:function(e,t){this._setText("editlabel",e,t)}},{key:"getEditLabelMap",value:function(e){return this.getSource(e).editlabel}},{key:"setEditLabelMap",value:function(e){this._setTextMap("editlabel",e)}},{key:"getDescription",value:function(e,t){return this._getText("description",e,t)}},{key:"setDescription",value:function(e,t){this._setText("description",e,t)}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){this._setTextMap("description",e)}},{key:"getEditDescription",value:function(e,t){return this._getText("editdescription",e,t)}},{key:"setEditDescription",value:function(e,t){this._setText("editdescription",e,t)}},{key:"getEditDescriptionMap",value:function(e){return this.getSource(e).editdescription}},{key:"setEditDescriptionMap",value:function(e){this._setTextMap("editdescription",e)}},{key:"getHelp",value:function(e,t){return this._getText("help",e,t)}},{key:"setHelp",value:function(e,t){this._setText("help",e,t)}},{key:"getHelpMap",value:function(e){return this.getSource(e).help}},{key:"setHelpMap",value:function(e){this._setTextMap("help",e)}},{key:"getPlaceholder",value:function(e,t){return this._getText("placeholder",e,t)}},{key:"setPlaceholder",value:function(e,t){this._setText("placeholder",e,t)}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){this._setTextMap("placeholder",e)}},{key:"getPurpose",value:function(e,t){return this._getText("purpose",e,t)}},{key:"setPurpose",value:function(e,t){this._setText("purpose",e,t)}},{key:"getPurposeMap",value:function(e){return this.getSource(e).purpose}},{key:"setPurposeMap",value:function(e){this._setTextMap("purpose",e)}},{key:"getSpecification",value:function(e,t){return this._getText("specification",e,t)}},{key:"setSpecification",value:function(e,t){this._setText("specification",e,t)}},{key:"getSpecificationMap",value:function(e){return this.getSource(e).specification}},{key:"setSpecificationMap",value:function(e){this._setTextMap("specification",e)}},{key:"getText",value:function(e,t,r){var n=this.getSource(r).text||{};return t?En.getLocalizedValue(n[e]):En.getLocalizedValue(n[e]).value}},{key:"setText",value:function(e,t,r){var n=this.getSource(!0),i=n.text=n.text||{};i[e]=this._setLangHash(i[e],t,r),this.refreshExtends()}},{key:"setTextMap",value:function(e,t){var r=this.getSource(!0),n=r.text=r.text||{};gi(n,e,t),this.refreshExtends()}},{key:"getEnhanced",value:function(e){var t=this.getSource(!0);return"boolean"==typeof t.enhanced?t.enhanced:t.enhanced&&t.enhanced[e]||!1}},{key:"setEnhanced",value:function(e,t){var r=this.getSource(!0);"boolean"==typeof e?!0===e?r.enhanced=!0:delete r.enhanced:(r.enhanced="boolean"==typeof r.enhanced?{}:r.enhanced||{},t?r.enhanced[e]=!0:(delete r.enhanced[e],0===Object.keys(r).length&&delete r.enhanced)),this.setExtends(this.getExtends())}},{key:"getProperty",value:function(e){var t=null,r=this.getSource(e);return r&&null!=(t=r.property)&&""!==t&&(t=l(t)),t}},{key:"setProperty",value:function(e){gi(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 l(e)}):t}},{key:"setURIValueLabelProperties",value:function(e){gi(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var r={};return Object.keys(t).forEach(function(e){var n=t[e];Array.isArray(n)?r[l(e)]=n.map(function(e){return l(e)}):r[l(e)]=l(n)}),r}return t}},{key:"setConstraints",value:function(e){gi(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?l(e):e}):t}},{key:"setDeps",value:function(e){gi(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 l(e)}):l(t):t}},{key:"setDatatype",value:function(e){gi(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){gi(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){gi(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){gi(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){gi(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){gi(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){gi(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){gi(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){gi(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var r=this.getSource(t);return!!this.hasStyle(e,t)||null!=r.cls&&r.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){gi(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var r=this.getSource(t);return!(!r||!("styles"in r))&&r.styles.some(function(t){return t.toLowerCase()===e.toLowerCase()})}},{key:"getSource",value:function(e,t){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var r=this._itemStore.getItem(this.getExtends());return null==r?this._source:r.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:"getHash",value:function(){return"i_".concat(this._internalId)}},{key:"_setLangHash",value:function(e,t,r){var n=e||{};if("string"==typeof t)"string"==typeof r?n[r]=t:n[""]=t;else if("object"===fi(t)&&null!==t)return t;return n}}],t&&di(e.prototype,t),r&&di(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function mi(e){return mi="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},mi(e)}function vi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bi(n.key),n)}}function bi(e){var t=function(e,t){if("object"!=mi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=mi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mi(t)?t:t+""}function wi(e,t,r){return t=Ei(t),function(e,t){if(t&&("object"==mi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_i()?Reflect.construct(t,r||[],Ei(e).constructor):t.apply(e,r))}function _i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_i=function(){return!!e})()}function Si(e,t,r,n){var i=xi(Ei(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function xi(){return xi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Ei(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},xi.apply(null,arguments)}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ei(e)}function Ti(e,t){return Ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ti(e,t)}var ki=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=wi(this,t,[e]))._children=e.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ti(e,t)}(t,e),r=t,(n=[{key:"getChildren",value:function(e){var t,r=e&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=n).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(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){Si(t,"setExtends",this,3)([e]),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Si(t,"getNodetype",this,3)([])||"RESOURCE"}}])&&vi(r.prototype,n),i&&vi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(yi);function Oi(e){return Oi="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},Oi(e)}function Ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ci(n.key),n)}}function Ci(e){var t=function(e,t){if("object"!=Oi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Oi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Oi(t)?t:t+""}function Ri(e,t,r){return t=Ni(t),function(e,t){if(t&&("object"==Oi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pi()?Reflect.construct(t,r||[],Ni(e).constructor):t.apply(e,r))}function Pi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pi=function(){return!!e})()}function ji(){return ji="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Ni(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},ji.apply(null,arguments)}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ni(e)}function Di(e,t){return Di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Di(e,t)}var Ii=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ri(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Di(e,t)}(t,e),r=t,n=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=(i=t,o="getChildren",a=this,u=ji(Ni(1&(s=3)?i.prototype:i),o,a),2&s&&"function"==typeof u?function(e){return u.apply(a,e)}:u)([e])||[];this._delegatedChildren=n.map(function(e){var t=Object.create(e);return t.getCardinality=r,t})}var i,o,a,s,u;return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}],n&&Ai(r.prototype,n),i&&Ai(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(ki);function Li(e){return Li="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},Li(e)}function Mi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Fi(n.key),n)}}function Fi(e){var t=function(e,t){if("object"!=Li(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Li(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Li(t)?t:t+""}function Bi(e,t,r){return t=Ui(t),function(e,t){if(t&&("object"==Li(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vi()?Reflect.construct(t,r||[],Ui(e).constructor):t.apply(e,r))}function Vi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vi=function(){return!!e})()}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ui(e)}function Wi(e,t){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wi(e,t)}var Hi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bi(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wi(e,t)}(t,e),r=t,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&Mi(r.prototype,n),i&&Mi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(yi);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},$i(e)}function Yi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Gi(n.key),n)}}function Gi(e){var t=function(e,t){if("object"!=$i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$i(t)?t:t+""}function qi(e,t,r){return t=Qi(t),function(e,t){if(t&&("object"==$i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zi()?Reflect.construct(t,r||[],Qi(e).constructor):t.apply(e,r))}function zi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zi=function(){return!!e})()}function Xi(){return Xi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Qi(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Xi.apply(null,arguments)}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qi(e)}function Zi(e,t){return Zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zi(e,t)}var Ji=function(e){null!=e&&e.forEach(function(e){e.value=l(e.value)})},Ki=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=qi(this,t,[e]))._ontologyStore=e.ontologyStore,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zi(e,t)}(t,e),r=t,n=[{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 r=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(r&&Ji(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&Ji(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){var r,n,i,o,a;(r=t,n="setExtends",i=this,a=Xi(Qi(1&(o=3)?r.prototype:r),n,i),2&o&&"function"==typeof a?function(e){return a.apply(i,e)}:a)([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(r){t._dynamicChoices=r,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?l(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?l(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?l(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()}}],n&&Yi(r.prototype,n),i&&Yi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(yi);r(4540);function eo(e){return eo="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},eo(e)}function to(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ro(n.key),n)}}function ro(e){var t=function(e,t){if("object"!=eo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eo(t)?t:t+""}function no(e,t,r){return t=ao(t),function(e,t){if(t&&("object"==eo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,io()?Reflect.construct(t,r||[],ao(e).constructor):t.apply(e,r))}function io(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!e})()}function oo(){return oo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ao(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},oo.apply(null,arguments)}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ao(e)}function so(e,t){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},so(e,t)}var uo=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=no(this,t,[e]))._validObject=!0,r._validPredicate=!0,r._excludeFromTreeValidityCheck=!1,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate(),!0),r._validObject=r._isValidObjectValue(r._statement.getValue())),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&so(e,t)}(t,e),r=t,n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var r="string"==typeof e?e.trim():e,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,t),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",t),this._validObject=!1,!1!==n&&!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),t||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(l(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){var e,r,n,i,o;this.setValue(null),this._parent.removeChildBinding(this),(e=t,r="remove",n=this,o=oo(ao(1&(i=3)?e.prototype:e),r,n),2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o)([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}}],n&&to(r.prototype,n),i&&to(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(qn);function lo(e){return lo="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},lo(e)}function co(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fo(n.key),n)}}function fo(e){var t=function(e,t){if("object"!=lo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=lo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lo(t)?t:t+""}function ho(e,t,r){return t=yo(t),function(e,t){if(t&&("object"==lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,po()?Reflect.construct(t,r||[],yo(e).constructor):t.apply(e,r))}function po(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!e})()}function go(){return go="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=yo(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},go.apply(null,arguments)}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yo(e)}function mo(e,t){return mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mo(e,t)}var vo="http://www.w3.org/2000/01/rdf-schema#label",bo="http://www.w3.org/2000/01/rdf-schema#seeAlso",wo=function(e){function t(e){var r,n=e.choice,i=e.item,o=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),(r=ho(this,t,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mo(e,t)}(t,e),r=t,n=[{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),e&&e.mismatch?this.setMatchingCode(zn.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==zn.WRONG_VALUE||this.setMatchingCode(zn.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,r,n){var i,o,a,s,u,l=this.getValue();(i=t,o="setValue",a=this,u=go(yo(1&(s=3)?i.prototype:i),o,a),2&s&&"function"==typeof u?function(e){return u.apply(a,e)}:u)([e,r,n]);var c=this._statement.getGraph();if(c.findAndRemove(l,vo,void 0,n),c.findAndRemove(l,bo,void 0,n),null!=e&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&c.create(e,bo,r.seeAlso,!0,n),!0===r.inlineLabel)){var f=r.label||{};Object.keys(f).forEach(function(t){return c.create(e,vo,{value:f[t],lang:t,type:"literal"},!0,n)})}}}],i=[{key:"seeAlso",get:function(){return bo}}],n&&co(r.prototype,n),i&&co(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(uo);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},_o(e)}function So(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xo(n.key),n)}}function xo(e){var t=function(e,t){if("object"!=_o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_o(t)?t:t+""}function Eo(e,t,r){return t=ko(t),function(e,t){if(t&&("object"==_o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,To()?Reflect.construct(t,r||[],ko(e).constructor):t.apply(e,r))}function To(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(To=function(){return!!e})()}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ko(e)}function Oo(e,t){return Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oo(e,t)}var Ao=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=Eo(this,t,[e]))._objectBinding=e.objectBinding,r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oo(e,t)}(t,e),r=t,(n=[{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(){}}])&&So(r.prototype,n),i&&So(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(wo);function Co(e){return Co="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},Co(e)}function Ro(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Po(n.key),n)}}function Po(e){var t=function(e,t){if("object"!=Co(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Co(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Co(t)?t:t+""}function jo(e,t,r){return t=Do(t),function(e,t){if(t&&("object"==Co(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,No()?Reflect.construct(t,r||[],Do(e).constructor):t.apply(e,r))}function No(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(No=function(){return!!e})()}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Do(e)}function Io(e,t){return Io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Io(e,t)}var Lo=function(e){function t(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=jo(this,t,[e]);var n=e.statement,i=e.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof ki?new ci({item:s,statement:n,constraints:i}):s instanceof Ki?new wo({item:s,statement:n}):new uo({item:s,statement:n});var u=new Ao({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Io(e,t)}(t,e),r=t,(n=[{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()}}])&&Ro(r.prototype,n),i&&Ro(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(ci);function Mo(e){return Mo="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},Mo(e)}function Fo(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bo(n.key),n)}}function Bo(e){var t=function(e,t){if("object"!=Mo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Mo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mo(t)?t:t+""}function Vo(e,t,r){return t=Ho(t),function(e,t){if(t&&("object"==Mo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Uo()?Reflect.construct(t,r||[],Ho(e).constructor):t.apply(e,r))}function Uo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uo=function(){return!!e})()}function Wo(){return Wo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Ho(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Wo.apply(null,arguments)}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ho(e)}function $o(e,t){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$o(e,t)}var Yo,Go,qo,zo,Xo,Qo=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Vo(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$o(e,t)}(t,e),r=t,n=[{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(){var e,r,n,i,o;this._parent.removeChildBinding(this),(e=t,r="remove",n=this,o=Wo(Ho(1&(i=3)?e.prototype:e),r,n),2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o)([arguments])}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}],n&&Fo(r.prototype,n),i&&Fo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(uo);function Zo(e){return Zo="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},Zo(e)}var Jo,Ko,ea,ta,ra,na,ia=!1,oa=function(e,t,r){var n=new ci({item:r,childrenRootUri:t,graph:e});return Yo(n),Go(n),n},aa=function(e,t,r){var n=new ci({item:r,childrenRootUri:t,graph:e});return Yo(n),ia=!0,Yo(n),ia=!1,Go(n),n},sa=function(e,t,r,n){var i=e.findProperties(t),o=[],a={};if(null!=n){var s=function(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof ki&&e.getChildren().forEach(s)},u=function(e){null!=e&&(s(e),o.push(e))};n.forEach(function(e){var t=r.getItem(e);null!=t?t instanceof ki&&null==t.getProperty()?t.getChildren().forEach(u):u(t):(t=r.getItemByProperty(e))?u(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 i.forEach(function(e){if(!a[e]){var t=r.getItemByProperty(e);null!=t&&o.push(t)}},undefined),r.createTemplateFromChildren(o)},ua=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},la=function(e,t){var r,n,i=t.getChildren()[1],o=e.getGraph();i instanceof ki?(r=o.create(e.getChildrenRootUri(),"",null,!1),n=Xo(o,r.getSubject(),i)):r=i instanceof Ki?o.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new Lo({item:t,statement:r,constraints:n});return e.addChildBinding(a),i instanceof ki&&i.getChildren().forEach(function(e){ca(a.getObjectBinding(),e)}),a},ca=function(e,t,r){return t instanceof Hi?function(e,t){if(!t.getProperty()){var r=new Qo({item:t,statement:null,matchingCode:zn.OK});return e.addChildBinding(r),r}var n=e.getGraph(),i=t.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=ua(t));var a=t.getValue();if(null!=a&&0===e.getChildBindingsFor(t).length){o.value=a;var s=t.getLanguage();null!=s&&(o.lang=s)}var u=n.create(e.getChildrenRootUri(),t.getProperty(),o,!1),l=new uo({item:t,statement:u});return e.addChildBinding(l),l}(e,t):t instanceof Ii?la(e,t):t instanceof ki?function(e,t,r){var n,i;if(void 0!==t.getProperty()){var o=e.getGraph();t.getNodetype(),n=o.create(e.getChildrenRootUri(),t.getProperty(),null,!1),i=Xo(o,n.getValue(),t)}var a=new ci({item:t,statement:n,constraints:i});e.addChildBinding(a);var s=t._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(e,t,r||{}):t instanceof Ki?function(e,t){var r=e.getGraph(),n=t.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=ua(t):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(e.getChildrenRootUri(),t.getProperty(),i,!1),a=new wo({item:t,statement:o});e.addChildBinding(a);var s=t.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(ra(t,s,r),!0),a}(e,t):void 0};Yo=function(e){ia&&e.getChildBindings().forEach(function(e){"group"===e.getItem().getType()&&Yo(e)}),e.getItem().getChildren().forEach(function(t){ia?void 0!==t.getProperty()&&Jo(e,t):Jo(e,t)})};Jo=function(e,t){t instanceof Ki?function(e,t){if(null!=t.getProperty()){var r=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach(function(e){if(qo(e)){var n=Ko(t,e),i=ea(t,e),o=ta(t,e);if(n&&i&&o||ia){var a=ra(t,e.getValue(),e.getGraph());if(void 0!==a){zo(e);var s=n?zn.OK:zn.WRONG_NODETYPE;i?o?a.mismatch&&(s=zn.WRONG_VALUE):s=zn.WRONG_PATTERN:s=zn.WRONG_DATATYPE,r.push(new wo({item:t,statement:e,choice:a,matchingCode:s}))}}}}),r.length>0&&e.addChildBindings(r)}}(e,t):t instanceof Ii?function(e,t){var r,n,i,o,a=t.getPropertyItem(),s=t.getObjectItem(),u=e.getGraph(),l=[];u.find(e.getChildrenRootUri()).forEach(function(e){qo(e)&&Ko(s,e)&&ta(s,e)&&void 0!==(i=ra(a,e.getPredicate(),e.getGraph()))&&(n=null,s instanceof ki?void 0!==(r=na(u,e.getValue(),s))&&(zo(e),n=new Lo({item:t,statement:e,constraints:r}),Yo(n.getObjectBinding())):s instanceof Ki?void 0!==(o=ra(s,e.getValue(),e.getGraph()))&&(zo(e),(n=new Lo({item:t,statement:e})).getObjectBinding().setChoice(o)):(zo(e),n=new Lo({item:t,statement:e})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))}),l.length>0&&e.addChildBindings(l)}(e,t):t instanceof ki?function(e,t){var r,n,i,o,a=e.getGraph();void 0!==t.getProperty()?(r=a.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(n=[],r.forEach(function(e){if(qo(e)){var r=ta(t,e),s=Ko(t,e);if((r&&s||ia)&&(void 0!==(i=na(a,e.getValue(),t))||ia)){var u=s?zn.OK:zn.WRONG_NODETYPE;r?void 0===i&&(u=zn.MISSING_CONSTRAINTS):u=zn.WRONG_PATTERN,zo(e),o=new ci({item:t,statement:e,constraints:i,matchingCode:u}),n.push(o),u===zn.OK&&Yo(o)}}}),e.addChildBindings(n)):(o=new ci({item:t}),e.addChildBindings([o]),Yo(o))}(e,t):t instanceof Hi&&function(e,t){var r=[];null==t.getProperty()?r.push(new Qo({item:t,statement:null,matchingCode:zn.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach(function(e){if(qo(e)&&ta(t,e)){var n=Ko(t,e),i=ea(t,e);if(n&&(i||t.hasStyle("relaxedDatatypeMatch"))||ia){zo(e);var o=n?zn.OK:zn.WRONG_NODETYPE;i||(o=zn.WRONG_DATATYPE),r.push(new uo({item:t,statement:e,matchingCode:o}))}}}),r.length>0&&e.addChildBindings(r)}(e,t)},Ko=function(e,t){var r=t.getType();switch(e.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===r;case"RESOURCE":return"uri"===r||"bnode"===r;case"URI":return"uri"===r;case"BLANK":return"bnode"===r}return!1},ea=function(e,t){var r="DATATYPE_LITERAL"===e.getNodetype()&&e.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(t.getDatatype()):t.getDatatype()===r)},ta=function(e,t){var r=e.getPattern(),n=En.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(e){return!0}return!0},na=function(e,t,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=e.find(t,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===Zo(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var e=u[c],t=i[e];if(t instanceof Array){var r=!0;if(t.forEach(function(t){!1!==a(e,t)&&(r=!1)}),r)return{v:void 0}}else if(!1===a(e,t))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},Xo=function(e,t,r){var n=[],i=r.getConstraints();return"object"===Zo(i)&&null!==i&&Object.keys(i).forEach(function(r){var o=i[r];Array.isArray(o)?n.push(e.create(t,r,{type:"uri",value:o[0]},!1)):n.push(e.create(t,r,{type:"uri",value:o},!1))}),n},ra=function(e,t,r){var n,i;if(e.hasChoices()){for(i=e.getChoices(),n=0;n<i.length;n++)if(i[n].value===t)return i[n];if(!e.hasStyle("strictmatch")||ia)return{value:t,label:{"":t},mismatch:!0}}else{var o=En.getLocalizedMap(r,t,e.getLabelProperties());null==o&&ia&&(o={"":t,mismatch:!0});var a=r.findFirstValue(t,wo.seeAlso);if(null!=o){var s={label:o,value:t};return a&&(s.seeAlso=a),s}if(null!=On.getChoice)return On.getChoice(e,t,a,r)}},zo=function(e){e._dibbs=!0},qo=function(e){return!0!==e._dibbs},Go=function(e){var t,r,n,i=e.getItemGroupedChildBindings()||[];for(t=0;t<i.length;t++)for(n=i[t],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof ci||o instanceof Lo)&&Go(o)}};var fa=function(e,t){if(e instanceof uo)return e;for(var r=e.getItemGroupedChildBindings(),n=ae().locale(),i=0;i<r.length;i++){var o=r[i],a=e.getItem().getChildren()[i];if(0!==o.length){if(!(a instanceof Hi))return fa(o[0]);if("LANGUAGE_LITERAL"===a.getNodetype()){for(var s={firstValue:o[0]},u=0;u<o.length;u++){var l=o[u].getLanguage();null==l?s.emptyLanguageValue=o[u]:l===n?s.perfectLocaleLanguageValue=o[u]:l.substring(0,1)===n.substring(0,1)?s.localeLanguageValue=o[u]:-1!==l.indexOf("en")?s.defaultLanguageValue=o[u]:s.anyLanguageValue=o[u]}return s.perfectLocaleLanguageValue||s.localeLanguageValue||s.defaultLanguageValue||s.anyLanguageValue||s.firstValue}return o[0]}if(t){var c=ca(e,a,{});return c instanceof uo?(c.setLanguage(n),c):fa(c,!0)}}},da=function(e,t){for(var r="/"===t[0]?t.slice(1):t,n=e.getItemGroupedChildBindings(),i=r[0],o=0;o<n.length;o++)for(var a=n[o],s=void 0,u=0;u<a.length;u++){var l=a[u],c=l.getItem();if(c instanceof Ki&&void 0===c.getProperty()&&i===c.getId()&&2===r.length&&r[1]===l.getValue())return l;if(l.isValid()){if("propertygroup"===c.getType())c=(l=l.getObjectBinding()).getItem();else if(void 0===c.getProperty()&&(s=da(l,r)))return s;if("*"===i||i===l.getPredicate()||i===c.getId())if("group"===c.getType()){if(s=da(l,r.slice(1)))return s}else if(1===r.length||"*"===r[1]||r[1]===l.getValue())return l}}},ha=function(e,t){var r=t[0],n=e;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<t.length;i++){if(".."!==t[i]||!n.getParent())return n;n=n.getParent()}return n}return e},pa=function(e,t){var r=e.getId(),n={},i={};e.getChoices().forEach(function(e){n[e.value]=0,i[e.value]=e});t.getChildBindings().forEach(function(e){var t=e.getItem().getDeps();if(t&&(t[0]===r||"/"===t[0]&&t[1]===r)){var i="/"===t[0]?t[2]:t[1],o=n[i];void 0!==o&&(n[i]=o+1)}});var o,a=0;return Object.keys(n).forEach(function(e){(!o||n[e]>a)&&(o=e,a=n[e])}),i[o]},ga=function(e,t,r){var n=t.getCardinality();return r&&"group"===t.getType()||(null!=n?n.min>0?e.mandatory+=1:n.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===t.getType()&&t.getChildren().forEach(function(t){return ga(e,t)}),e};const ya={detectLevel: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"},levelProfile:function(e){var t=ga({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t},findFirstValueBinding:fa,create:ca,constructTemplate:sa,findPopularChoice:pa,match:oa,fuzzyMatch:aa,matchPathBelowBinding:da,findBindingRelativeToParentBinding:ha,CODES:zn};var ma=function(e,t){var r=t;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),_a(e,r,!0)},va=function(e){for(var t=0,r=0;r<e.length;r++)e[r].isValid()&&(t+=1);return t},ba=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},wa=function(e,t){if(t.hasStyle("deprecated"))return!0;var r=t.getDeps();if(r){var n=ha(e,r);if(!da(n,r))return!0}return!1},_a=function(e,t,r){if(e.getMatchingCode()===zn.OK){var n=e.getItem();if(!0===r||e.isValid()||null==n.getProperty()||n.hasStyle("atLeastOneChild")||n.hasStyle("exactlyOneChild")){var i=n.getChildren();if(n.hasStyle("disjoint")||n.hasStyle("atMostOneChild")||n.hasStyle("atLeastOneChild")||n.hasStyle("exactlyOneChild")){var o,a=e.getChildBindings(),s=va(a);s>1&&(n.hasStyle("disjoint")||n.hasStyle("atMostOneChild"))?o=zn.AT_MOST_ONE_CHILD:1!==s&&n.hasStyle("exactlyOneChild")?o=zn.EXACTLY_ONE_CHILD:0===s&&n.hasStyle("atLeastOneChild")&&(o=zn.AT_LEAST_ONE_CHILD),o&&(ba([e],o),i.length>0&&t.errors.push({parentBinding:e,item:i[0],code:o}))}else e.getItemGroupedChildBindings().forEach(function(r,n){var o=i[n];if(!wa(e,o)&&null!=o.getProperty()){var a=va(r),s=o.getCardinality();null!=s.min&&s.min>a?(t.errors.push({parentBinding:e,item:o,code:zn.TOO_FEW_VALUES_MIN}),ba(r,zn.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&t.warnings.push({parentBinding:e,item:o,code:zn.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(t.errors.push({parentBinding:e,item:o,code:zn.TOO_MANY_VALUES}),ba(r,zn.TOO_MANY_VALUES))}},undefined);e.getChildBindings().forEach(function(r){var n=r.getItem();r.getMatchingCode()!==zn.OK&&t.errors.push({parentBinding:r,item:n,code:r.getMatchingCode()}),n.hasStyle("deprecated")&&t.deprecated.push(r),wa(e,n)||"group"===n.getType()&&_a(r,t)})}return t}},Sa=function(e,t){return e.find(null,"rdf:type",t).map(function(e){return e.getSubject()})},xa=function(e,t,r){for(var n=e;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===t)return!0;if(r[i])return!1;n=n.getParent()}},Ea=function(e,t){var r=e,n=[];for(null!=t.getProperty()&&r.getItem()!==t&&n.push(u(t.getProperty()));null!=r.getItem().getProperty()&&n.push(u(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},Ta=function(e){var t=e.errors,r=e.warnings,n=e.deprecated;e.errors=t.map(function(e){return{path:Ea(e.parentBinding,e.item),code:e.code}}),e.warnings=r.map(function(e){return{path:Ea(e.parentBinding,e.item),code:e.code}}),e.deprecated=n.map(function(e){return function(e){return"".concat(Ea(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)})},ka=function(e,t,r,n){var i=aa(t,e,r),o=ma(i);return function(e,t,r){var n=e.errors,i=e.warnings,o=e.deprecated;e.errors=n.filter(function(e){return xa(e.parentBinding,t,r)}),e.warnings=i.filter(function(e){return xa(e.parentBinding,t,r)}),e.deprecated=o.filter(function(e){return xa(e,t,r)})}(o,e,n||{}),Ta(o),o};const Oa={graphReport:function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach(function(t){var r=Sa(e,t);o[t]=r,r.forEach(function(e){a[e]=!0})}),Object.keys(o).forEach(function(i){r=t[i],o[i].forEach(function(t){(n=ka(t,e,r,a)).uri=t,n.type=i,n.template=r.getId(),s.resources.push(n),s.errors+=n.errors.length,s.warnings+=n.warnings.length,s.deprecated+=n.deprecated.length})});var u=[];return i.forEach(function(e){0===o[e].length&&u.push(e)}),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:ma};function Aa(e){return Aa="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},Aa(e)}function Ca(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ra(n.key),n)}}function Ra(e){var t=function(e,t){if("object"!=Aa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Aa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Aa(t)?t:t+""}var Pa=0,ja=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=Pa,Pa+=1,this.renderingParams=t.renderingParams||{},this.locale=t.locale,this.defaultTextLanguage=t.defaultTextLanguage,this.messages=t.messages,this.parentView=t.parentView,this.srcNodeRef=r,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.showDescription=!0===t.showDescription,this.popupOnLabel=!1!==t.popupOnLabel,this.styleCls=t.styleCls||"",this.truncateLimit=void 0!==t.truncateLimit?t.truncateLimit:10,this.truncate=void 0!==t.truncate&&t.truncate,this.headingLevel=t.headingLevel||2,Array.isArray(t.filterPredicates)?this.filterPredicates=t.filterPredicates.reduce(function(e,t){return e[t]=!0,e},{}):"object"===Aa(t.filterPredicates)?this.filterPredicates=t.filterPredicates:"string"==typeof t.filterPredicates?this.filterPredicates=t.filterPredicates.split(",").reduce(function(e,t){return e[t]=!0,e},{}):this.filterPredicates=null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this.markOrigin=!1!==t.markOrigin,this._handleParams(t),this._labelIndex={},this.domNode=Vn.createDomNode(r,this),Vn.domClassToggle(this.domNode,"rdforms",!0),Vn.domClassToggle(this.domNode,this.styleCls,!0),this.render()},t=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(e){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var t=this.namedGraphs[e];return void 0===t&&(t=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[e]=t,this.namedGraphCounter+=1),t}}},{key:"getNamedGraphFromId",value:function(e){var t=this;return this.namedGraphs?Object.keys(this.namedGraphs).find(function(r){return t.namedGraphs[r]===e}):void 0}},{key:"destroy",value:function(){Vn.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=aa(this.graph,this.resource,this.template),ma(this.binding)):this.binding=oa(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(Vn.domText(this.domNode,""),null!=this.binding&&(this.messages||(this.messages=Vn.getMessages()),null!=this.binding)){var e,t,r,n,i,o=this.binding.getItem().getChildren(),a=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?Vn.domClassToggle(this.domNode,"compact",!1):Vn.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),e=0;e<a.length;e++)if(n=a[e],i=o[e],(!this.restrictToItem||this.restrictToItem===i)&&this.showNow(i,n)){if(n=this.prepareBindings(i,n),this.showAsTable(i))this.context={view:this},r=this.createRowNode(r,n[0],i),n.length>0&&(t=this.addTable(r,n[0],i),this.fillTable(t,n));else if(n.length>0)if(this.isMultiValued(i))this.context={view:this},r=this.addRow(r,n[0],!0);else{for(var s=this.truncateAt(i,n),u=0;u<n.length;u++)this.context={view:this},r=this.addRow(r,n[u],0===u||n[u]instanceof ci,u,s);if(-1!==s){var l=Vn.domQuery(".rdformsFields",r);l&&Vn.addTruncateControl(l,this.context)}}else this.context={view:this},r=this.createRowNode(r,null,i);n.length>0&&n[0].getCardinalityTracker().checkCardinality()}}}},{key:"addRow",value:function(e,t,r,n,i){var o,a,s=r,u=t.getItem();if(!this.skipBinding(t)){if(null==s&&(s=t instanceof ci),!0===s){a=this.createRowNode(e,t,u);var l=Vn.domCreate("div",a);Vn.domClassToggle(l,"rdformsFields",!0),-1!==i&&Vn.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&Vn.domClassToggle(l,"rdformsInline",!0),o=Vn.domCreate("div",l),this.createEndOfRowNode(a,t,u)}else{var c=Vn.domQuery(".rdformsFields",e);if(null!=c)o=Vn.domCreate("div",c),Vn.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&Vn.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=Vn.domCreate("div",e);Vn.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&Vn.domClassToggle(f,"rdformsInline",!0),o=Vn.domCreate("div",f),this.createEndOfRowNode(a,t,u)}}if(this.markOrigin){var d=this.getNamedGraphId(t);d?(Vn.domClassToggle(o,"rdformsOrigin",!0),Vn.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(Vn.domClassToggle(o,"rdformsOrigin",!0),Vn.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?Vn.domClassToggle(o,"rdformsGroup",!0):Vn.domClassToggle(o,"rdformsField",!0),this._binding2node[t.getHash()]=o,this.addComponent(o,t),u.hasStyle("invisible")&&Vn.domClassToggle(a||e,"rdformsInvisible",!0),a||e}}},{key:"createRowNode",value:function(e,t,r){var n;n=null==e?Vn.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):Vn.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),r.getClasses().forEach(function(e){Vn.domClassToggle(n,e,!0)}),Vn.domClassToggle(n,"rdformsRow",!0),Vn.domClassToggle(n,"rdformsTopLevel",this.topLevel),Vn.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),Vn.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),Vn.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),Vn.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,t,r),t&&this.filterBinding(t)&&Vn.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&Vn.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(e,t,r){}},{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){var t=this,r=this._getFilterPredicates(),n=function(e,r){var i=e.getId();if(i&&Object.keys(r).includes(i))return!0;var o=e.getProperty();if(o){for(var s=!0,u=t;u.parentView;)u.getBinding().getItem().getProperty()&&(s=!1),u=u.parentView;var l=a(o);return s?!0===r[o]||!0===r[l]||!0===r["*".concat(o)]||!0===r["".concat(l)]:!0===r["*".concat(o)]||!0===r["*".concat(l)]}if("group"===e.getType()){var c=e.getChildren()||[],f=!1;return c.forEach(function(e){n(e,r)||(f=!0)}),!f}return!1};return!!r&&n(e,r)}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,r=this;return e.getParent().getChildBindingsFor(e.getItem()).reverse().find(function(e){return void 0!==(t=r._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}},{key:"getRowIndex",value:function(e){return"".concat(e.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(e){return!1}},{key:"truncateAt",value:function(e,t){return-1}},{key:"getLocale",value:function(){return this.locale||(this.parentView?this.parentView.getLocale():ae().locale())}},{key:"getDefaultTextLanguage",value:function(){return this.defaultTextLanguage||(this.parentView?this.parentView.getDefaultTextLanguage():this.getLocale())}}],t&&Ca(e.prototype,t),r&&Ca(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Na(e){return Na="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},Na(e)}function Da(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ia(n.key),n)}}function Ia(e){var t=function(e,t){if("object"!=Na(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Na(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Na(t)?t:t+""}function La(e,t,r){return t=Ba(t),function(e,t){if(t&&("object"==Na(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ma()?Reflect.construct(t,r||[],Ba(e).constructor):t.apply(e,r))}function Ma(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ma=function(){return!!e})()}function Fa(){return Fa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Ba(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Fa.apply(null,arguments)}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ba(e)}function Va(e,t){return Va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Va(e,t)}var Ua=function(e,t,r){if(0===r.length||t.hasStyle("invisible"))return!1;if(t.getProperty())return!e.filterItem(t);if("group"===t.getType()){var n=t.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find(function(t,r){return Ua(e,n[r],t)})}return!0},Wa=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),La(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Va(e,t)}(t,e),r=t,n=[{key:"_handleParams",value:function(e){var r,n,i,o,a;this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",(r=t,n="_handleParams",i=this,a=Fa(Ba(1&(o=3)?r.prototype:r),n,i),2&o&&"function"==typeof a?function(e){return a.apply(i,e)}:a)([e])}},{key:"showNow",value:function(e,t){return Ua(this,e,t)}},{key:"skipBinding",value:function(e){var t=e.getItem(),r="group"===t.getType();return!(!t.getProperty()&&r&&0===t.getChildren().length)&&r&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return e.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===e.getNodetype()&&!e.hasStyle("viewAllTranslations")?Vn.filterTranslations(t,this.getLocale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,r){r.hasStyle("noLabelInPresent")?Vn.domClassToggle(e,"rdformsInvisibleGroup",!0):Vn.renderPresenterLabel(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return Vn.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return Vn.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){Vn.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){Vn.renderPresenter(e,t,this.context)}},{key:"truncateAt",value:function(e,t){return"group"!==e.getType()&&t&&t.length>this.truncateLimit&&(this.truncate||e.hasStyle("truncate"))&&!e.hasStyle("noTruncate")?this.truncateLimit:-1}}],n&&Da(r.prototype,n),i&&Da(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(ja);function Ha(e){return Ha="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},Ha(e)}function $a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ya(n.key),n)}}function Ya(e){var t=function(e,t){if("object"!=Ha(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ha(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ha(t)?t:t+""}function Ga(e,t,r){return t=Qa(t),function(e,t){if(t&&("object"==Ha(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qa()?Reflect.construct(t,r||[],Qa(e).constructor):t.apply(e,r))}function qa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qa=function(){return!!e})()}function za(e,t,r,n){var i=Xa(Qa(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function Xa(){return Xa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Qa(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Xa.apply(null,arguments)}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qa(e)}function Za(e,t){return Za=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Za(e,t)}var Ja=function(e,t,r,n){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===r.length)return!1;var i=t.getProperty();if(r.length>0){if(i)return!e.filterItem(t);if("group"!==t.getType())return!0;var o=t.getChildren();if(0===o.length)return!0;if(t.hasStyle("atLeastOneChild")||t.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find(function(t,r){return Ja(e,o[r],t,n)}))return!0;if(!i)return!1}var a=t.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},Ka=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ga(this,t,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Za(e,t)}(t,e),r=t,n=[{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,za(t,"_handleParams",this,3)([e])}},{key:"getSubEditorForBinding",value:function(e){return this._subEditors.find(function(t){return t.getBinding()===e})}},{key:"report",value:function(e){var t=this,r=e||ma(this.binding);Object.keys(this._binding2node).forEach(function(e){Vn.domClassToggle(t._binding2node[e],"errorReport",!1)});for(var n=function(){var e=r.errors[i];if(e.parentBinding===t.binding)if(e.code===zn.TOO_FEW_VALUES_MIN){var n=e.item,o=n.getCardinality().min;t.binding.getChildBindingsFor(n).find(function(e){return o-=1,e.isValid()||Vn.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===o})}else e.code===zn.AT_MOST_ONE_CHILD&&t.binding.getChildBindings().forEach(function(e){e.getMatchingCode()!==zn.OK&&Vn.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)})},i=0;i<r.errors.length;i++)n();for(var o=0;o<this._subEditors.length;o++)this._subEditors[o].report(r)}},{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=oa(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],za(t,"show",this,3)([e])}},{key:"showNow",value:function(e,t){return Ja(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var r,n=t,i=e.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1,e.hasStyle("nonEditable")&&!e.hasStyle("autoInitDate")&&!e.hasStyle("autoUpdateDate")&&!e.hasStyle("autoUUID")&&!e.hasStyle("autoValue")&&!e.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(ca(this.binding,e));return n}},{key:"addLabel",value:function(e,t,r){Vn.renderEditorLabel(e,t,r,this.context)}},{key:"createEndOfRowNode",value:function(e,t,r){Vn.renderEditorLabelScopeEnd(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):Vn.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){Vn.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){Vn.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")?Vn.renderPresenter(e,t,this.context):Vn.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=za(t,"createRowNode",this,3)([e,r,n]);if("choice"===n.getType()&&void 0===n.getProperty()){var o=pa(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(e){e?(Vn.domClassToggle(i,"missingDepsWithValue",!1),Vn.domClassToggle(i,"missingDeps",!1)):r.isValid()?Vn.domClassToggle(i,"missingDepsWithValue",!0):Vn.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(e)},u=ha(r.getParent(),a);da(u,a)||s(!1);var l=function(){r.getParent()?s(da(u,a)):u.removeListener(l)};u.addListener(l)}return this.filterBinding(r)&&Vn.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&Vn.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(e){return Vn.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}],n&&$a(r.prototype,n),i&&$a(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(Wa);Vn.renderPresenterLabel=function(e,t,r,n,i){var o=n.view instanceof Ka&&r.getEditLabelMap()||r.getLabelMap(),a=En.getLocalizedValue(o,n.view.getLocale()).value;a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s="h".concat(n.view.headingLevel),u=r.hasStyle("heading")?Wn()("<".concat(s,' class="rdformsLabel" tabindex="0">')).text(a).appendTo(e):Wn()('<div class="rdformsLabel" tabindex="0">').text(a).appendTo(e);t&&u.attr("id",n.view.createLabelIndex(t)),i&&u.addClass("rdformsLabelRow"),n&&(n.labelNode=u[0]);var l=n.view;if(r.hasStyle("showDescriptionInPresent")||l.showDescription){var c=r.hasStyle("compact")||l.compact&&!r.hasStyle("nonCompact")&&(l.topLevel&&"group"!==r.getType()||l.parentView&&l.parentView.topLevel&&l.binding.getItem().hasStyle("heading")),f=En.getLocalizedValue(r.getDescriptionMap(),n.view.getLocale()).value;!c&&f&&Wn()('<div class="rdformsDescription">').text(f).appendTo(e)}Vn.attachItemInfo(r,u[0],n)},Vn.attachItemInfo=function(e,t,r){if(null!=e&&null!=e.getDescriptionMap()){var n=En.getLocalizedValue(e.getDescriptionMap(),r.view.getLocale()).value;t.setAttribute("title",n)}};const es=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"});const ts=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i};const rs=function(e){return"symbol"==typeof e||Ot(e)&&"[object Symbol]"==Ne(e)};var ns=Ee?Ee.prototype:void 0,is=ns?ns.toString:void 0;const os=function e(t){if("string"==typeof t)return t;if(Nt(t))return ts(t,e)+"";if(rs(t))return is?is.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const as=function(e){return null==e?"":os(e)};var ss=/[&<>"']/g,us=RegExp(ss.source);const ls=function(e){return(e=as(e))&&us.test(e)?e.replace(ss,es):e};var cs=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";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}},fs=function(e,t){var r=e.getValue();if(null!=r&&""!==r){var n=e.getItem(),i=function(e){try{if(e.includes(":")&&!e.includes("T")){var t=(new Date).toISOString().substr(0,11),r=new Date("".concat(t).concat(e));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(e)}catch(e){return null}}(r);if(i){var o=function(e){return e.indexOf("T")>0?"DateTime":e.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(e)?"YearMonth":/^\d\d-\d\d$/.test(e)?"MonthDay":e.length>4?"Date":"Year"}(r),a=cs(e.getDatatype()),s=function(e){var t=e.getDatatype();return Array.isArray(t)?cs(t[0]):cs(t)}(n),u=function(e){var t={},r=e.getDatatype();return(Array.isArray(r)?r:[r]).forEach(function(e){var r=cs(e);r&&(t[r]=!0)}),t}(n);return function(e,t,r){switch(e){case"DateTime":return ae()(t).locale(r).format("lll");case"Date":return ae()(t).locale(r).format("LL");case"Time":return ae()(t).locale(r).format("LT");case"Year":return ae()(t).locale(r).format("YYYY");case"YearMonth":return ae()(t).locale(r).format("MMMM YYYY");case"MonthDay":return ae()(t).locale(r).format("D MMMM");default:return""}}(u[a]?a:u[o]?o:s,i,t)}}},ds=r(7569),hs=Vn.presenterRegistry;hs.itemtype("text").nodetype("URI").register(function(e,t){var r=En.getLocalizedMap(t),n=ds('<a class="rdformsUrl">').attr("title",t.getValue()).attr("href",t.getValue()).appendTo(e);t.getItem().hasStyle("showValue")?n.text(t.getValue()):r?n.text(En.getLocalizedValue(r).value):n.text(t.getGist()),t.getItem().hasStyle("externalLink")?On.attachExternalLinkBehaviour(n[0],t):On.attachLinkBehaviour(n[0],t)}),hs.itemtype("group").nodetype("URI").style("linkWithLabel").register(function(e,t,r){var n,i=t.getValue(),o=t.getItem().getChildren().find(function(e){return e.hasStyle("label")}),a=o?Vn.filterTranslations(t.getChildBindingsFor(o),r.view.getLocale(),r.view.defaultLanguage):[],s=t.getItem().getChildren().find(function(e){return e.hasStyle("tooltip")}),u=s?Vn.filterTranslations(t.getChildBindingsFor(s),r.view.getLocale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=ds('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(e);if(a.length>0)n=a[0].getValue();else{var f=En.getLocalizedMap(t);n=t.getItem().hasStyle("showValue")?i:f?En.getLocalizedValue(f).value||i:t.getGist()}c.text(n),t.getItem().hasStyle("externalLink")?On.attachExternalLinkBehaviour(c[0],t):On.attachLinkBehaviour(c[0],t)}),hs.itemtype("text").nodetype("URI").style("image").register(function(e,t){ds('<img class="rdformsImage">').attr("src",t.getGist()).appendTo(e)}),hs.itemtype("text").register(function(e,t,r){var n=t.getLanguage();r.view.showLanguage&&n&&ds('<div class="rdformsLanguage">').text(n).appendTo(e);var i=ls(t.getItem().hasStyle("showValue")?t.getValue():t.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=t.getParent();if(t.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===t.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=ds('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(e);n&&a.attr("lang",n),On.attachLinkBehaviour(a[0],o)}else{var s=ds("<div>").html(i).appendTo(e);n&&s.attr("lang",n)}t.getItem().hasStyle("multiline")?ds(e).toggleClass("rdformsMultiline",!0):ds(e).toggleClass("rdformsSingleline",!0)}),hs.itemtype("text").datatype("xsd:duration").register(function(e,t,r){var n=function(e){var t,r=function(e){return e&&e.length>1?parseInt(e[0],10):0},n=r(e.match(/([0-9])*Y/)),i=r(e.match(/([0-9])*D/)),o=r(e.match(/([0-9])*H/)),a=0;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/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:t,days:i,hours:o,minutes:a}}(t.getValue()),i=r.view.messages,o=ds("<div>").appendTo(e)[0];["years","months","days","hours","minutes"].forEach(function(e){n.hasOwnProperty(e)&&0!==n[e]&&ds('<span class="durationLabel">'.concat(i["duration_".concat(e)],':</span><span class="durationValue">').concat(n[e],"</span>")).appendTo(o)})});var ps=function(e,t,r){try{var n=fs(t,r.view.getLocale());ds("<div>").html(n).appendTo(e)}catch(e){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(t.getValue(),"' instead."))}};hs.itemtype("text").datatype("xsd:dateTime").register(ps),hs.itemtype("text").datatype("xsd:date").register(ps),hs.itemtype("text").datatype("xsd:time").register(ps),hs.itemtype("text").datatype("xsd:gYear").register(ps),hs.itemtype("text").datatype("xsd:gYearMonth").register(ps),hs.itemtype("text").datatype("xsd:gMonthDay").register(ps),hs.itemtype("text").datatype("dcterms:W3CDTF").register(ps);var gs=r(7569),ys=Vn.presenterRegistry,ms=function(e){return function(t,r,n){var i,o=r.getChoice();o&&(o.description&&(i=En.getLocalizedValue(o.description,n.view.getLocale()).value),e(t,r,o,i,n.view.getLocale()))}};ys.itemtype("choice").style("image").register(ms(function(e,t,r,n){gs('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(e)})),ys.itemtype("choice").style("stars").register(ms(function(e,t,r){isNaN(parseInt(r.value,10))||gs('<span class="rdformsStar">').appendTo(e)})),ys.itemtype("choice").register(ms(function(e,t,r,n,i){var o,a=t.getItem(),s=En.getLocalizedValue(r.label,i);a.hasStaticChoices()&&!a.hasStyle("externalLink")||a.hasStyle("noLink")?o=gs("<div>").attr("title",n||r.seeAlso||r.value).text(En.getLocalizedValue(r.label,i).value).appendTo(e):(o=gs('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(s.value).appendTo(e),a.hasStyle("externalLink")?On.attachExternalLinkBehaviour(o[0],t):On.attachLinkBehaviour(o[0],t)),null!=r.load&&r.load(function(){var e=En.getLocalizedValue(r.label,i);o.text(e.value),e.lang?o.attr("lang",e.lang):o.attr("lang",void 0)}),s.lang&&o.attr("lang",s.lang)})),Vn.addPresenterTable=function(e,t,r){var n=t.getItem(),i=n.getChildren(),o=Wn()("<table>").addClass("rdformsGroup").appendTo(e);Wn()("<thead>").appendTo(o);for(var a=Wn()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=Wn()("<th>").appendTo(a),l=En.getLocalizedValue(i[s].getLabel(),r.view.getLocale()).value;Vn.attachItemInfo(n,Wn()("<span>").text(l).appendTo(u),r)}return o[0]},Vn.fillPresenterTable=function(e,t,r){if(0!==t.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<t.length;n++)for(o=t[n].getItemGroupedChildBindings(),a=Wn()("<tr>").appendTo(e),i=0;i<o.length;i++)o[i].length>0?Vn.renderPresenter(Wn()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):Wn()("<td>").appendTo(a);r.view.topLevel=s}};var vs=function(e,t){var r=document.createElement(e);return t&&(r.id=t),r};Vn.domQuery=function(e,t){return t.querySelector(e)},Vn.domCreate=function(e,t,r){return t.appendChild(vs(e,r))},Vn.domCreateAfter=function(e,t,r){return t.parentNode.insertBefore(vs(e,r),t.nextSibling)},Vn.domSetAttr=function(e,t,r){""===r||null===r?e.removeAttribute(t):e.setAttribute(t,r)},Vn.domText=function(e,t){e.innerText=t},Vn.domClassToggle=function(e,t,r){t.split(" ").forEach(function(t){r?e.classList.add(t):e.classList.remove(t)})},Vn.prePresenterViewRenderer=Vn.preEditorViewRenderer,Vn.addTruncateControl=function(e,t){var r=t.view.messages,n=Vn.domCreate("button",e);Vn.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){Vn.domClassToggle(e,"rdformsTruncated",!1)};var i=Vn.domCreate("button",e);Vn.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){Vn.domClassToggle(e,"rdformsTruncated",!0)}};var bs=r(430),ws=r.n(bs),_s=r(3783),Ss=r.n(_s),xs=r(6077),Es=r.n(xs),Ts=r(3406),ks=r.n(Ts),Os=r(9162),As=r.n(Os),Cs=r(9839),Rs=r.n(Cs),Ps=r(605),js={};js.styleTagTransform=Rs(),js.setAttributes=ks(),js.insert=Es().bind(null,"head"),js.domAPI=Ss(),js.insertStyleElement=As();ws()(Ps.A,js);Ps.A&&Ps.A.locals&&Ps.A.locals;var Ns="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},Ds="URLSearchParams"in Ns,Is="Symbol"in Ns&&"iterator"in Symbol,Ls="FileReader"in Ns&&"Blob"in Ns&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ms="FormData"in Ns,Fs="ArrayBuffer"in Ns;if(Fs)var Bs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Vs=ArrayBuffer.isView||function(e){return e&&Bs.indexOf(Object.prototype.toString.call(e))>-1};function Us(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ws(e){return"string"!=typeof e&&(e=String(e)),e}function Hs(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Is&&(t[Symbol.iterator]=function(){return t}),t}function $s(e){this.map={},e instanceof $s?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function Ys(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Gs(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function qs(e){var t=new FileReader,r=Gs(t);return t.readAsArrayBuffer(e),r}function zs(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Xs(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Ls&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ms&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Ds&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Fs&&Ls&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=zs(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Fs&&(ArrayBuffer.prototype.isPrototypeOf(e)||Vs(e))?this._bodyArrayBuffer=zs(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Ds&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ls&&(this.blob=function(){var e=Ys(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Ys(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Ls)return this.blob().then(qs);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=Ys(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=Gs(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ms&&(this.formData=function(){return this.text().then(Js)}),this.json=function(){return this.text().then(JSON.parse)},this}$s.prototype.append=function(e,t){e=Us(e),t=Ws(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},$s.prototype.delete=function(e){delete this.map[Us(e)]},$s.prototype.get=function(e){return e=Us(e),this.has(e)?this.map[e]:null},$s.prototype.has=function(e){return this.map.hasOwnProperty(Us(e))},$s.prototype.set=function(e,t){this.map[Us(e)]=Ws(t)},$s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},$s.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),Hs(e)},$s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),Hs(e)},$s.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),Hs(e)},Is&&($s.prototype[Symbol.iterator]=$s.prototype.entries);var Qs=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Zs(e,t){if(!(this instanceof Zs))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof Zs){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new $s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new $s(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),Qs.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Ns)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Js(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function Ks(e,t){if(!(this instanceof Ks))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new $s(t.headers),this.url=t.url||"",this._initBody(e)}Zs.prototype.clone=function(){return new Zs(this,{body:this._bodyInit})},Xs.call(Zs.prototype),Xs.call(Ks.prototype),Ks.prototype.clone=function(){return new Ks(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new $s(this.headers),url:this.url})},Ks.error=function(){var e=new Ks(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var eu=[301,302,303,307,308];Ks.redirect=function(e,t){if(-1===eu.indexOf(t))throw new RangeError("Invalid status code");return new Ks(null,{status:t,headers:{location:e}})};var tu=Ns.DOMException;try{new tu}catch(e){(tu=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),tu.prototype.constructor=tu}function ru(e,t){return new Promise(function(r,n){var i=new Zs(e,t);if(i.signal&&i.signal.aborted)return n(new tu("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new $s,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===i.url.indexOf("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout(function(){r(new Ks(a,n))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){n(new tu("Aborted","AbortError"))},0)},o.open(i.method,function(e){try{return""===e&&Ns.location.href?Ns.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(Ls?o.responseType="blob":Fs&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof $s||Ns.Headers&&t.headers instanceof Ns.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach(function(e){s.push(Us(e)),o.setRequestHeader(e,Ws(t.headers[e]))}),i.headers.forEach(function(e,t){-1===s.indexOf(t)&&o.setRequestHeader(t,e)})}else i.headers.forEach(function(e,t){o.setRequestHeader(t,e)});i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}ru.polyfill=!0,Ns.fetch||(Ns.fetch=ru,Ns.Headers=$s,Ns.Request=Zs,Ns.Response=Ks);r(2507);const nu=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const iu=function(e){return this.__data__.has(e)};function ou(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new yt;++t<r;)this.add(e[t])}ou.prototype.add=ou.prototype.push=nu,ou.prototype.has=iu;const au=ou;const su=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};const uu=function(e,t){return e.has(t)};const lu=function(e,t,r,n,i,o){var a=1&r,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var f=-1,d=!0,h=2&r?new au:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var p=e[f],g=t[f];if(n)var y=a?n(g,p,f,t,e,o):n(p,g,f,e,t,o);if(void 0!==y){if(y)continue;d=!1;break}if(h){if(!su(t,function(e,t){if(!uu(h,t)&&(p===e||i(p,e,r,n,o)))return h.push(t)})){d=!1;break}}else if(p!==g&&!i(p,g,r,n,o)){d=!1;break}}return o.delete(e),o.delete(t),d};const cu=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};const fu=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r};var du=Ee?Ee.prototype:void 0,hu=du?du.valueOf:void 0;const pu=function(e,t,r,n,i,o,a){switch(r){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||!o(new Qr(e),new Qr(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ue(+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=cu;case"[object Set]":var u=1&n;if(s||(s=fu),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;n|=2,a.set(e,t);var c=lu(s(e),s(t),n,i,o,a);return a.delete(e),c;case"[object Symbol]":if(hu)return hu.call(e)==hu.call(t)}return!1};var gu=Object.prototype.hasOwnProperty;const yu=function(e,t,r,n,i,o){var a=1&r,s=Rr(e),u=s.length;if(u!=Rr(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:gu.call(t,c)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var p=a;++l<u;){var g=e[c=s[l]],y=t[c];if(n)var m=a?n(y,g,c,t,e,o):n(g,y,c,e,t,o);if(!(void 0===m?g===y||i(g,y,r,n,o):m)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h};var mu="[object Arguments]",vu="[object Array]",bu="[object Object]",wu=Object.prototype.hasOwnProperty;const _u=function(e,t,r,n,i,o){var a=Nt(e),s=Nt(t),u=a?vu:qr(e),l=s?vu:qr(t),c=(u=u==mu?bu:u)==bu,f=(l=l==mu?bu:l)==bu,d=u==l;if(d&&Ft(e)){if(!Ft(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new bt),a||Qt(e)?lu(e,t,r,n,i,o):pu(e,t,u,r,n,i,o);if(!(1&r)){var h=c&&wu.call(e,"__wrapped__"),p=f&&wu.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,y=p?t.value():t;return o||(o=new bt),i(g,y,r,n,o)}}return!!d&&(o||(o=new bt),yu(e,t,r,n,i,o))};const Su=function e(t,r,n,i,o){return t===r||(null==t||null==r||!Ot(t)&&!Ot(r)?t!=t&&r!=r:_u(t,r,n,i,e,o))};const xu=function(e,t){return Su(e,t)};function Eu(e){return Eu="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},Eu(e)}function Tu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ku(n.key),n)}}function ku(e){var t=function(e,t){if("object"!=Eu(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Eu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Eu(t)?t:t+""}var Ou=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}},t=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var r=this._findChoices(e);if(null==r);else{if(null==t)return r;t(r)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];if(xu(n.constraints,e.getConstraints())&&e.getParentProperty()===n.parentProperty&&e.getHierarchyProperty()===n.hierarchyProperty&&e.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var r=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(r+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var n=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(n+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}],t&&Tu(e.prototype,t),r&&Tu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Au(e){return Au="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},Au(e)}function Cu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ru(n.key),n)}}function Ru(e){var t=function(e,t){if("object"!=Au(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Au(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Au(t)?t:t+""}var Pu=0,ju=function(){return e=function e(t){var r=t.itemStore,n=t.source,i=t.path,o=t.readOnly,a=void 0!==o&&o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Pu+=1,this._id="_bundle_".concat(Pu),this._root=null,this._modified=!1},(t=[{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}}])&&Cu(e.prototype,t),r&&Cu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Nu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Du(n.key),n)}}function Du(e){var t=function(e,t){if("object"!=Iu(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Iu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Iu(t)?t:t+""}function Iu(e){return Iu="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},Iu(e)}var Lu=function(e,t){if(!e||!t)return void 0===t?e:t;if(Array.isArray(e)&&Array.isArray(t))return[].concat(e,t);if("object"===Iu(e)&&"object"===Iu(t)){var r={};return Object.keys(e).concat(Object.keys(t)).forEach(function(n){r[n]=Lu(e[n],t[n])}),r}return t},Mu=function(){return e=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.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new Ou},t=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var r=e.getSource(!0),n=r.content||r.items||[];if(t)return this._createItems(n,e._forceChildrenClones,e.getBundle());var i=this.getItem(r.extends);if(i){var o=e.getChildren(!0);return e.getEnhanced("items")||0===o.length?i.getChildren().concat(o):o}return 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])this._handleError("Cannot rename to ".concat(t," since an item with that id already exists."));else if(""!==t&&null!==t){var r=this._registry[e];r&&(delete this._registry[e],this._registry[t]=r,r.setId(t));for(var n=function(r){var i=r.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof ki&&n(a._source)}}else this._handleError("Cannot give an item an empty string or null as id.")}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,r){return sa(e,t,this,r)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new ju(e);this._bundles.push(t),e.source&&e.source.namespaces&&c(e.source.namespaces);var r=e.source.templates||e.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,t),"object"===Iu(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,r=(e||[]).map(function(e){return"string"==typeof e?t.getItem(e):e});return new ki({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var r=Object.assign({},e,t);return void 0===t.id&&delete r.id,t.enhanced&&(!0===t.enhanced?Object.keys(e).concat(Object.keys(t)):Object.keys(t.enhanced)).forEach(function(n){r[n]=Lu(e[n],t[n])}),r._extendedSource=t,r.extends=null,delete r.children,r}},{key:"createItem",value:function(e,t,r,n){var i,o=e.id||e["@id"],a=e.type||e["@type"];if(e.extends){var s=this._registry[e.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(e.extends)),s){var u=this.createExtendedSource(s.getSource(),e);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new Hi({source:e,itemStore:this,bundle:n});break;case"choice":i=new Ki({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new ki({source:e,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new Ii({source:e,children:null,itemStore:this,bundle:n})}var l,c;if(!0!==r&&(null!=e.property&&(this._registryByProperty[e.property]=i,this.priorities&&null!=this.priorities[e.property]&&(i.priority=this.priorities[e.property])),null!=o))this._registry[o]&&console.log("RDForms conflict with item id ".concat(o,', overwriting item from bundle "').concat((null===(l=this._registry[o].getBundle())||void 0===l?void 0:l.getPath())||"",'" with item from bundle "').concat((null===(c=i.getBundle())||void 0===c?void 0:c.getPath())||"",'".')),this._registry[o]=i,null!=n&&n.addItem(i);return i}if(null!=o){if(null!=this._registry[o]){if(!0===t||Object.keys(e).find(function(e){return"id"!==e&&"@id"!==e})){var f=Object.assign(Object.assign({},this._registry[o]._source),e);return this.createItem(f,!1,!0)}return this._registry[o]}this._handleError("Cannot find referenced subitem using identifier: ".concat(o))}else this._handleError("Cannot create subitem, `type` for creating new or `id` for referencing external are required.")}},{key:"removeItem",value:function(e,t){var r=e.getBundle();null!=r&&r.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var n=e.getProperty();null!=n&&this._registryByProperty[n]===e&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(e,t,r){var n=this;return e.map(function(i,o){var a="string"==typeof i?e[o]={id:i}:i;return n.createItem(a,t,!1,r)}).filter(function(e){return e})}},{key:"_handleError",value:function(e){if("throw"===this.handleErrorAs)throw new Error(e);console[this.handleErrorAs](e)}}],t&&Nu(e.prototype,t),r&&Nu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();r(4104);function Fu(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(r,n,i,o){var u=n&&n.prototype instanceof s?n:s,l=Object.create(u.prototype);return Bu(l,"_invoke",function(r,n,i){var o,s,u,l=0,c=i||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return o=t,s=0,u=e,d.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&l&&!i&&t<c.length;t++){var i,o=c[t],h=d.p,p=o[2];r>3?(i=p===n)&&(u=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=r<2&&h<o[1])?(s=0,d.v=n,d.n=o[1]):h<p&&(i=r<3||o[0]>n||n>p)&&(o[4]=r,o[5]=n,d.n=p,s=0))}if(i||r>1)return a;throw f=!0,n}return function(i,c,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&h(c,p),s=c,u=p;(t=s<2?e:u)||!f;){o||(s?s<3?(s>1&&(d.n=-1),h(s,u)):d.n=u:d.v=u);try{if(l=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=d.n<0)?u:r.call(n,d))!==a)break}catch(t){o=e,s=1,u=t}finally{l=1}}return{value:t,done:f}}}(r,i,o),!0),l}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(Bu(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,Bu(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=l,Bu(f,"constructor",l),Bu(l,"constructor",u),u.displayName="GeneratorFunction",Bu(l,i,"GeneratorFunction"),Bu(f),Bu(f,i,"Generator"),Bu(f,n,function(){return this}),Bu(f,"toString",function(){return"[object Generator]"}),(Fu=function(){return{w:o,m:d}})()}function Bu(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Bu=function(e,t,r,n){function o(t,r){Bu(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(o("next",0),o("throw",1),o("return",2))},Bu(e,t,r,n)}function Vu(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function Uu(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){Vu(o,n,i,a,s,"next",e)}function s(e){Vu(o,n,i,a,s,"throw",e)}a(void 0)})}}var Wu=function(e,t,r){var n="Fetching template bundle ".concat(r," failed.");if(e===t-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},Hu=function(){var e=Uu(Fu().m(function e(t){var r,n,i,o,a,s;return Fu().w(function(e){for(;;)switch(e.p=e.n){case 0:r=t.length,a=0;case 1:if(!(a<r)){e.n=14;break}return o=t[a],e.p=2,e.n=3,fetch(o);case 3:n=e.v,e.n=5;break;case 4:throw e.p=4,e.v,Error("A network error ocurred while trying to fetch bundle ".concat(o));case 5:if(!n||!n.ok){e.n=12;break}if(e.p=6,!(s=n.headers.has("content-type")&&n.headers.get("content-type"))||!s.includes("application/json")){e.n=8;break}return e.n=7,n.json();case 7:return i=e.v,e.a(3,14);case 8:throw new Error("Failed fetching template ".concat(o,". Expected a JSON file and got ").concat(s));case 9:e.n=11;break;case 10:e.p=10,e.v,Wu(a,r,o);case 11:e.n=13;break;case 12:Wu(a,r,o);case 13:a++,e.n=1;break;case 14:return e.a(2,{path:o,source:i})}},e,null,[[6,10],[2,4]])}));return function(t){return e.apply(this,arguments)}}(),$u=function(e){return e.map(function(e){return e instanceof Array?Hu(e):Promise.resolve({source:e})})},Yu=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).map(function(t){return e.registerBundle(t)})};const Gu=function(){var e=Uu(Fu().m(function e(t){var r,n,i,o,a,s=arguments;return Fu().w(function(e){for(;;)switch(e.n){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===(r=s.length>1&&void 0!==s[1]?s[1]:[]).length&&n&&n([]),i=$u(r),e.n=1,Promise.all(i);case 1:return o=e.v,a=Yu(t,o),n(a),e.a(2,a)}},e)}));return function(t){return e.apply(this,arguments)}}()})(),n})());
|