@entryscape/rdforms 10.11.1 → 10.12.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/dist/rdforms.bmd.js +11 -11
- package/dist/rdforms.bootstrap.js +16 -16
- package/dist/rdforms.jquery.js +10 -10
- package/dist/rdforms.node.js +1 -1
- package/dist/rdforms.react.js +18 -18
- package/package.json +6 -3
- package/src/template/Item.js +32 -1
- package/src/template/ItemStore.js +37 -2
- package/src/utils.js +8 -8
- package/src/view/Presenter.js +1 -2
- package/src/view/View.js +15 -2
- package/src/view/bmd/DateTimeMD.js +6 -6
- package/src/view/bmd/Selectize.js +3 -3
- package/src/view/bootstrap/RadioButtonsEditor.js +6 -5
- package/src/view/bootstrap/Select2.js +4 -3
- package/src/view/bootstrap/Select2QueryAdapter.js +1 -1
- package/src/view/bootstrap/choice.js +1 -1
- package/src/view/bootstrap/labels.js +17 -8
- package/src/view/bootstrap/table.js +4 -3
- package/src/view/bootstrap/text.js +1 -2
- package/src/view/jquery/choice.js +7 -7
- package/src/view/jquery/labels.js +8 -5
- package/src/view/jquery/table.js +3 -1
- package/src/view/jquery/text.js +4 -5
- package/src/view/react/buttons.js +4 -1
- package/src/view/react/choice.js +15 -12
- package/src/view/react/choiceEditors/ChoiceLookupAndInlineSearch.js +1 -1
- package/src/view/react/choiceEditors/RadioButtonsEditor.js +4 -1
- package/src/view/react/date.js +1 -1
- package/src/view/react/labels.js +16 -9
- package/src/view/react/table.js +3 -1
- package/src/view/react/text.js +2 -3
- package/src/view/react/textEditors.js +1 -2
- package/src/view/viewUtils.js +9 -9
package/dist/rdforms.jquery.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.rdforms=t():e.rdforms=t()}(self,()=>(()=>{var e={2893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaxesParser=t.EVENTS=void 0;const n=r(3347),i=r(5285),o=r(7046);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=e=>34===e||39===e,_=[34,39],S=[..._,91,62],x=[..._,60,93],E=[61,63,...c],T=[...c,62,38,60];function k(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 O=e=>g.test(e),A=e=>f.test(e);t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const C={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=O,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))k(e,r,t[r])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=u,this.nameCheck=l,this.isName=A,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?13: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[C[e]]=t}off(e){this[C[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-1;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===e.charCodeAt(t+1)&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;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-1;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 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const r=e.charCodeAt(t+1);10!==r&&133!==r||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;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-2===e?10:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||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-2:this.text+=r.slice(t,this.prevI)+"\n",t=this.i,n=10;break;case-1: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(-1===r)return this.name+=e.slice(t),-1;if(!l(r))return this.name+=e.slice(t,this.prevI),-2===r?10:r}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(-1===e||!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 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(S);switch(t){case 62:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:w(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(x);-1!==e&&(this.text+=String.fromCodePoint(e),93===e?this.state=2:60===e?this.state=6:w(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 63: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),62===e?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e&&(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-2: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=""),13===r&&void 0===this.textHandler||(this.text+=i);break e}case-1: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 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,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();62!==e?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(e),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();93===e?this.state=22:(this.text+="]"+String.fromCodePoint(e),this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case 62:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13;break;case 93: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):63===e||a(e)?(this.fail("processing instruction without a target."),this.state=63===e?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(-1===r)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(r)){this.piTarget+=e.slice(t,this.prevI);const n=63===r;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33: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();63===e?this.state=26:a(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(62===t){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=13}else 63===t?this.text+="?":(this.text+="?"+String.fromCodePoint(t),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();63!==e?-1!==e&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=33}sXMLDeclName(){const e=this.captureTo(E);if(63===e)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(e)||61===e){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=61===e?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(61!==e&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(w(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,63]);if(63===e)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===e)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();63!==e?(a(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var e;62===this.getCodeNorm()?("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=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(-1===t)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 62:this.openTag();break;case 47:this.state=35;break;default:a(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();-1!==e&&(u(e)?(this.unget(),this.state=37):62===e?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();61===e?this.state=39:a(e)?this.state=38:62===e?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==e&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===e?this.openTag():u(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();w(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 10:case-2:case 9:this.text+=t.slice(r,this.prevI)+" ",r=this.i;break;case 60:return this.text+=t.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=t.slice(r))}}sAttribValueClosed(){const e=this.getCodeNorm();a(e)?this.state=36:62===e?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(T);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===e?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();62===e?this.closeTag():a(e)?this.state=44:-1!==e&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1: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 60: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=13,void 0!==n&&(this.text+=r.slice(e,this.prevI)),t=0;break e;case 93:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case-2:void 0!==n&&(this.text+=r.slice(e,this.prevI)+"\n"),e=this.i,t=0;break;case-1: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 60: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=13,void 0!==r&&(this.text+=t.slice(e,this.prevI)),n=!0;break e;case-2:void 0!==r&&(this.text+=t.slice(e,this.prevI)+"\n"),e=this.i;break;case-1: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,k(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,k(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&&13!==this.state&&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=13,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=13,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=13,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};`)}}},8599: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},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=u(e),a=o[0],s=o[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),c=0,f=s>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===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===s&&(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=0,s=n-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));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,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(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 l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:(e,t,r)=>{"use strict";
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.rdforms=e():t.rdforms=e()}(self,()=>(()=>{var t={12893:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SaxesParser=e.EVENTS=void 0;const n=r(83347),i=r(95285),o=r(87046);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",v="http://www.w3.org/2000/xmlns/",m={__proto__:null,xml:y,xmlns:v},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},w=t=>34===t||39===t,_=[34,39],x=[..._,91,62],S=[..._,60,93],E=[61,63,...c],T=[...c,62,38,60];function k(t,e,r){switch(e){case"xml":r!==y&&t.fail(`xml prefix must be bound to ${y}.`);break;case"xmlns":r!==v&&t.fail(`xmlns prefix must be bound to ${v}.`)}switch(r){case v:t.fail(""===e?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${v}.`);break;case y:switch(e){case"xml":break;case"":t.fail(`the default namespace may not be set to ${r}.`);break;default:t.fail("may not assign the xml namespace to another prefix.")}}}const O=t=>g.test(t),A=t=>f.test(t);e.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const C={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"};e.SaxesParser=class{get closed(){return this._closed}constructor(t){this.opt=null!=t?t:{},this.fragmentOpt=!!this.opt.fragment;const e=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,e){this.nameStartCheck=h,this.nameCheck=p,this.isName=O,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},m);const t=this.opt.additionalNamespaces;null!=t&&(!function(t,e){for(const r of Object.keys(e))k(t,r,e[r])}(this,t),Object.assign(this.ns,t))}else this.nameStartCheck=u,this.nameCheck=l,this.isName=A,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 t;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:e}=this;this.state=e?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,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===(t=this.readyHandler)||void 0===t||t.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,e){this[C[t]]=e}off(t){this[C[t]]=void 0}makeError(t){var e;let r=null!==(e=this.fileName)&&void 0!==e?e:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+t)}fail(t){const e=this.makeError(t),r=this.errorHandler;if(void 0===r)throw e;return r(e),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let e=!1;null===t?(e=!0,t=""):"object"==typeof t&&(t=t.toString()),void 0!==this.carriedFromPrevious&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let r=t.length;const n=t.charCodeAt(r-1);!e&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[r-1],r--,t=t.slice(0,r));const{stateTable:i}=this;for(this.chunk=t,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,e?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:t,i:e}=this;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;const r=t.charCodeAt(e);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===t.charCodeAt(e+1)&&(this.i=e+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;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)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:e}=this;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;const r=t.charCodeAt(e);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const r=t.charCodeAt(e+1);10!==r&&133!==r||(this.i=e+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;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)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return-2===t?10:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:e}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||t.includes(o))return this.text+=r.slice(e,this.prevI),o;i&&(this.text+=r.slice(e,this.prevI)+"\n",e=this.i)}}captureToChar(t){let{i:e}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case-2:this.text+=r.slice(e,this.prevI)+"\n",e=this.i,n=10;break;case-1:return this.text+=r.slice(e),!1}if(n===t)return this.text+=r.slice(e,this.prevI),!0}}captureNameChars(){const{chunk:t,i:e}=this;for(;;){const r=this.getCode();if(-1===r)return this.name+=t.slice(e),-1;if(!l(r))return this.name+=t.slice(e,this.prevI),-2===r?10:r}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(-1===t||!a(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,"1.0"===t?(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 t=this.i,e=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),e){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var t;const e=this.captureTo(x);switch(e){case 62:null===(t=this.doctypeHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(e),91===e?this.state=4:w(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(S);-1!==t&&(this.text+=String.fromCodePoint(t),93===t?this.state=2:60===t?this.state=6:w(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),e=this.openWakaBang+=t;this.text+=t,"-"!==e&&(this.state="--"===e?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=45===t?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:e}=this;t:for(;;)switch(this.getCode()){case-2:this.entity+=e.slice(t,this.prevI)+"\n",t=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+e.slice(t,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),13===r&&void 0===this.textHandler||(this.text+=i);break t}case-1:this.entity+=e.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(u(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,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 t;const e=this.getCodeNorm();45===e?(this.state=19,null===(t=this.commentHandler)||void 0===t||t.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(e),this.state=17)}sCommentEnded(){const t=this.getCodeNorm();62!==t?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(t),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();93===t?this.state=22:(this.text+="]"+String.fromCodePoint(t),this.state=20)}sCDataEnding2(){var t;const e=this.getCodeNorm();switch(e){case 62:null===(t=this.cdataHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(e),this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):63===t||a(t)?(this.fail("processing instruction without a target."),this.state=63===t?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:e}=this;for(;;){const r=this.getCodeNorm();if(-1===r)return void(this.piTarget+=t.slice(e));if(!this.nameCheck(r)){this.piTarget+=t.slice(e,this.prevI);const n=63===r;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33: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 t=this.getCodeNorm();63===t?this.state=26:a(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var t;const e=this.getCodeNorm();if(62===e){const{piTarget:e}=this;"xml"===e.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(t=this.piHandler)||void 0===t||t.call(this,{target:e,body:this.text}),this.piTarget=this.text="",this.state=13}else 63===e?this.text+="?":(this.text+="?"+String.fromCodePoint(e),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();63!==t?-1!==t&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=33}sXMLDeclName(){const t=this.captureTo(E);if(63===t)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(t)||61===t){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=61===t?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(63===t)return this.state=33,void this.fail("XML declaration is incomplete.");a(t)||(61!==t&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(63===t)return this.state=33,void this.fail("XML declaration is incomplete.");a(t)||(w(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,63]);if(63===t)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===t)return;const e=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const t=e;this.xmlDecl.version=t,/^1\.[0-9]+$/.test(t)?this.opt.forceXMLVersion||this.setXMLVersion(t):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(e)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=e;break;case"standalone":"yes"!==e&&"no"!==e&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=e}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();63!==t?(a(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var t;62===this.getCodeNorm()?("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===(t=this.xmldeclHandler)||void 0===t||t.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var t;const e=this.captureNameChars();if(-1===e)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===(t=this.openTagStartHandler)||void 0===t||t.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),e){case 62:this.openTag();break;case 47:this.state=35;break;default:a(e)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();-1!==t&&(u(t)?(this.unget(),this.state=37):62===t?this.openTag():47===t?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();61===t?this.state=39:a(t)?this.state=38:62===t?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==t&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===t?this.openTag():u(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();w(t)?(this.q=t,this.state=40):a(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:e}=this;let{i:r}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+e.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=e.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=e.slice(r,this.prevI)+" ",r=this.i;break;case 60:return this.text+=e.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=e.slice(r))}}sAttribValueClosed(){const t=this.getCodeNorm();a(t)?this.state=36:62===t?this.openTag():47===t?this.state=35:u(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(T);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===t?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();62===t?this.closeTag():a(t)?this.state=44:-1!==t&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:e}=this;const{chunk:r,textHandler:n}=this;t:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==n){const{text:e}=this,i=r.slice(t,this.prevI);0!==e.length?(n(e+i),this.text=""):0!==i.length&&n(i)}e=0;break t;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=r.slice(t,this.prevI)),e=0;break t;case 93:switch(e){case 0:e=1;break;case 1:e=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===e&&this.fail('the string "]]>" is disallowed in char data.'),e=0;break;case-2:void 0!==n&&(this.text+=r.slice(t,this.prevI)+"\n"),t=this.i,e=0;break;case-1:void 0!==n&&(this.text+=r.slice(t));break t;default:e=0}this.forbiddenState=e}handleTextOutsideRoot(){let{i:t}=this;const{chunk:e,textHandler:r}=this;let n=!1;t:for(;;){const i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==r){const{text:n}=this,i=e.slice(t,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break t;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=e.slice(t,this.prevI)),n=!0;break t;case-2:void 0!==r&&(this.text+=e.slice(t,this.prevI)+"\n"),t=this.i;break;case-1:void 0!==r&&(this.text+=e.slice(t));break t;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(t,e){var r;const{prefix:n,local:i}=this.qname(t),o={name:t,prefix:n,local:i,value:e};if(this.attribList.push(o),null===(r=this.attributeHandler)||void 0===r||r.call(this,o),"xmlns"===n){const t=e.trim();"1.0"===this.currentXMLVersion&&""===t&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=t,k(this,i,t)}else if("xmlns"===t){const t=e.trim();this.topNS[""]=t,k(this,"",t)}}pushAttribPlain(t,e){var r;const n={name:t,value:e};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var t,e;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const t=r.pop();this.fail("unclosed tag: "+t.name)}0!==this.state&&13!==this.state&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(t=this.textHandler)||void 0===t||t.call(this,n),this.text=""),this._closed=!0,null===(e=this.endHandler)||void 0===e||e.call(this),this._init(),this}resolve(t){var e,r;let n=this.topNS[t];if(void 0!==n)return n;const{tags:i}=this;for(let e=i.length-1;e>=0;e--)if(n=i[e].ns[t],void 0!==n)return n;return n=this.ns[t],void 0!==n?n:null===(r=(e=this.opt).resolvePrefix)||void 0===r?void 0:r.call(e,t)}qname(t){const e=t.indexOf(":");if(-1===e)return{prefix:"",local:t};const r=t.slice(e+1),n=t.slice(0,e);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:r}}processAttribsNS(){var t;const{attribList:e}=this,r=this.tag;{const{prefix:e,local:n}=this.qname(r.name);r.prefix=e,r.local=n;const i=r.uri=null!==(t=this.resolve(e))&&void 0!==t?t:"";""!==e&&("xmlns"===e&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),r.uri=e))}if(0===e.length)return;const{attributes:n}=r,i=new Set;for(const t of e){const{name:e,prefix:r,local:o}=t;let a,s;""===r?(a="xmlns"===e?v:"",s=e):(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),t.uri=a,n[e]=t}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,e=this.tag.attributes;for(const{name:r,value:n}of t)void 0!==e[r]&&this.fail(`duplicate attribute: ${r}.`),e[r]=n;this.attribList=[]}openTag(){var t;this.processAttribs();const{tags:e}=this,r=this.tag;r.isSelfClosing=!1,null===(t=this.openTagHandler)||void 0===t||t.call(this,r),e.push(r),this.state=13,this.name=""}openSelfClosingTag(){var t,e,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(t=this.openTagHandler)||void 0===t||t.call(this,i),null===(e=this.closeTagHandler)||void 0===e||e.call(this,i);null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:t,name:e}=this;if(this.state=13,this.name="",""===e)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=t.length;for(;n-- >0;){const n=this.tag=t.pop();if(this.topNS=n.ns,null==r||r(n),n.name===e)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${e}.`),this.text+=`</${e}>`)}parseEntity(t){if("#"!==t[0]){const e=this.ENTITIES[t];return void 0!==e?e:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let e=NaN;return"x"===t[1]&&/^#x[0-9a-f]+$/i.test(t)?e=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(e=parseInt(t.slice(1),10)),this.isChar(e)?String.fromCodePoint(e):(this.fail("malformed character entity."),`&${t};`)}}},28599:t=>{"use strict";const{AbortController:e,AbortSignal:r}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=e,t.exports.AbortSignal=r,t.exports.default=e},79742:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],l=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,l[c++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(t,e,r)=>{"use strict";
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
|
-
*/const n=r(9742),i=r(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50;function a(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(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 c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|p(e,t);let n=a(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(q(e,Uint8Array)){const t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return f(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(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer))return d(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))return d(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 s.from(n,t,r);const i=function(e){if(s.isBuffer(e)){const t=0|h(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||z(e.length)?a(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.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 l(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 c(e){return l(e),a(e<0?0:0|h(e))}function f(e){const t=e.length<0?0:0|h(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(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,s.prototype),n}function h(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(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 Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(i)return n?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function g(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 A(this,t,r);case"utf8":case"utf-8":return T(this,t,r);case"ascii":return k(this,t,r);case"latin1":case"binary":return O(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function m(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),z(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=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(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):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(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 b(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(z(n))return a;e[r+a]=n}return a}function w(e,t,r,n){return $(Y(t,e.length-r),e,r,n)}function _(e,t,r,n){return $(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 $(G(t),e,r,n)}function x(e,t,r,n){return $(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 E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function T(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<=4096)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.kMaxLength=2147483647,s.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}}(),s.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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return function(e,t,r){return l(e),e<=0?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)}(e,t,r)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(q(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.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},s.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}},s.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=s.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(q(t,Uint8Array))i+t.length>n.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!s.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.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)y(this,t,t+1);return this},s.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)y(this,t,t+3),y(this,t+1,t+2);return this},s.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)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},s.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?T(this,0,e):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.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&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(q(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.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 u=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<u;++e)if(l[e]!==c[e]){o=l[e],a=c[e];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},s.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 b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":case"latin1":case"binary":return _(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(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 O(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 A(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+=X[e[n]];return i}function C(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 P(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 R(e,t,r,n,i,o){if(!s.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 j(e,t,r,n,i){V(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 N(e,t,r,n,i){V(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 D(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 I(e,t,r,n,o){return t=+t,r>>>=0,o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,o){return t=+t,r>>>=0,o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}s.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,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=Q((function(e){U(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||W(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))})),s.prototype.readBigUInt64BE=Q((function(e){U(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||W(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)})),s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(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},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(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},s.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=Q((function(e){U(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||W(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)})),s.prototype.readBigInt64BE=Q((function(e){U(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||W(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)})),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){R(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},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){R(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},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(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},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(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},s.prototype.writeBigUInt64LE=Q((function(e,t=0){return j(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeBigUInt64BE=Q((function(e,t=0){return N(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);R(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},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);R(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},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(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},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(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},s.prototype.writeBigInt64LE=Q((function(e,t=0){return j(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeBigInt64BE=Q((function(e,t=0){return N(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.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},s.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&&!s.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=s.isBuffer(e)?e:s.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 M={};function F(e,t,r){M[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 B(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 V(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 M.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){U(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||W(t,e.length-(r+1))}(n,i,o)}function U(e,t){if("number"!=typeof e)throw new M.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,r){if(Math.floor(e)!==e)throw U(e,r),new M.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?e+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("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=B(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=B(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function Y(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 G(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(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 q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function z(e){return e!=e}const X=function(){const e=new Array(256);for(let t=0;t<16;++t){const r=16*t;for(let n=0;n<16;++n)e[r+n]="0123456789abcdef"[t]+"0123456789abcdef"[n]}return e}();function Q(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},487: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},1012: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},719:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(8081),i=r.n(n),o=r(3645),a=r.n(o),s=r(9460),u=a()(i());u.i(s.Z),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},9460:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var n=r(8081),i=r.n(n),o=r(3645),a=r.n(o),s=r(1667),u=r.n(s),l=new URL(r(5230),r.b),c=new URL(r(3348),r.b),f=new URL(r(9636),r.b),d=new URL(r(2777),r.b),h=new URL(r(8388),r.b),p=new URL(r(2134),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.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},3645: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}},1667: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}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},7187: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):[]}},645:(e,t)=>{
|
|
7
|
+
*/const n=r(79742),i=r(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50;function a(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|p(t,e);let n=a(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(q(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(q(t,ArrayBuffer)||t&&q(t.buffer,ArrayBuffer))return d(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(q(t,SharedArrayBuffer)||t&&q(t.buffer,SharedArrayBuffer)))return d(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);const i=function(t){if(s.isBuffer(t)){const e=0|h(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||z(t.length)?a(0):f(t);if("Buffer"===t.type&&Array.isArray(t.data))return f(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),a(t<0?0:0|h(t))}function f(t){const e=t.length<0?0:0|h(t.length),r=a(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function d(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function h(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(i)return n?-1:Y(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return O(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),z(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){let o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(t,o)===l(e,-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(t,o+n)!==l(e,n)){r=!1;break}if(r)return o}return-1}function b(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(e.substr(2*a,2),16);if(z(n))return a;t[r+a]=n}return a}function w(t,e,r,n){return $(Y(e,t.length-r),t,r,n)}function _(t,e,r,n){return $(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return $(G(e),t,r,n)}function S(t,e,r,n){return $(function(t,e){let r,n,i;const o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function E(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function T(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],s=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&e)<<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(t){const e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return function(t,e,r){return l(t),t<=0?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)}(t,e,r)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),q(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).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}},s.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=s.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(q(e,Uint8Array))i+e.length>n.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!s.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="";const r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0);const u=Math.min(o,a),l=this.slice(n,i),c=t.slice(e,r);for(let t=0;t<u;++t)if(l[t]!==c[t]){o=l[t],a=c[t];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":case"latin1":case"binary":return _(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function O(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function A(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=X[t[n]];return i}function C(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function P(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function R(t,e,r,n,i){V(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function N(t,e,r,n,i){V(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function I(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(t,e,r,n,o){return e=+e,r>>>=0,o||I(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||I(t,0,r,8),i.write(t,e,r,n,52,8),r+8}s.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),s.prototype.readBigUInt64BE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||P(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||P(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),s.prototype.readBigInt64BE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||P(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||P(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||P(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||P(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){j(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){j(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=Q((function(t,e=0){return R(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeBigUInt64BE=Q((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);j(this,t,e,r,n-1,-n)}let i=0,o=1,a=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);j(this,t,e,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=Q((function(t,e=0){return R(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeBigInt64BE=Q((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeFloatLE=function(t,e,r){return L(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return L(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=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&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=s.isBuffer(t)?t:s.from(t,n),a=o.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%a]}return this};const M={};function F(t,e,r){M[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function B(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function V(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===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}`:`>= ${e}${n} and <= ${r}${n}`,new M.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){U(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||W(e,t.length-(r+1))}(n,i,o)}function U(t,e){if("number"!=typeof t)throw new M.ERR_INVALID_ARG_TYPE(e,"number",t)}function W(t,e,r){if(Math.floor(t)!==t)throw U(t,r),new M.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?t+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=B(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=B(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function Y(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function $(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function z(t){return t!=t}const X=function(){const t=new Array(256);for(let e=0;e<16;++e){const r=16*e;for(let n=0;n<16;++n)t[r+n]="0123456789abcdef"[e]+"0123456789abcdef"[n]}return t}();function Q(t){return"undefined"==typeof BigInt?Z:t}function Z(){throw new Error("BigInt not supported")}},40487:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e},bytesToString:function(t){for(var e=[],r=0;r<t.length;r++)e.push(String.fromCharCode(t[r]));return e.join("")}}};t.exports=e},71012:t=>{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],r=0,n=0;r<t.length;r++,n+=8)e[n>>>5]|=t[r]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e},bytesToHex:function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e},bytesToBase64:function(t){for(var r=[],n=0;n<t.length;n+=3)for(var i=t[n]<<16|t[n+1]<<8|t[n+2],o=0;o<4;o++)8*n+6*o<=8*t.length?r.push(e.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<t.length;i=++n%4)0!=i&&r.push((e.indexOf(t.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|e.indexOf(t.charAt(n))>>>6-2*i);return r}},t.exports=r},40719:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var n=r(8081),i=r.n(n),o=r(23645),a=r.n(o),s=r(59460),u=a()(i());u.i(s.Z),u.push([t.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},59460:(t,e,r)=>{"use strict";r.d(e,{Z:()=>x});var n=r(8081),i=r.n(n),o=r(23645),a=r.n(o),s=r(61667),u=r.n(s),l=new URL(r(65230),r.b),c=new URL(r(43348),r.b),f=new URL(r(59636),r.b),d=new URL(r(82777),r.b),h=new URL(r(98388),r.b),p=new URL(r(22134),r.b),g=a()(i()),y=u()(l),v=u()(c),m=u()(f),b=u()(d),w=u()(h),_=u()(p);g.push([t.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.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(${v});\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(${m});\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},23645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,i,o){"string"==typeof t&&(t=[[null,t,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<t.length;l++){var c=[].concat(t[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)),e.push(c))}},e}},61667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},17187:t=>{"use strict";var e,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};e=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}g(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&g(t,"error",e,r)}(t,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(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var i,o,a,l;if(s(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"==typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(t))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return t}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(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):p(i,i.length)}function h(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function g(t,e,r,n){if("function"==typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),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(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)n(u,this,e);else{var l=u.length,c=p(u,l);for(r=0;r<l;++r)n(c[r],this,e)}return!0},o.prototype.addListener=function(t,e){return l(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return l(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,f(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,f(this,t,e)),this},o.prototype.removeListener=function(t,e){var r,n,i,o,a;if(s(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,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[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),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(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},o.prototype.listeners=function(t){return d(this,t,!0)},o.prototype.rawListeners=function(t){return d(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):h.call(t,e)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},80645:(t,e)=>{
|
|
8
8
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
9
|
-
|
|
9
|
+
e.read=function(t,e,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=t[e+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+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)},e.write=function(t,e,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=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=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=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;t[r+h]=255&a,h+=p,a/=256,l-=8);t[r+h-p]|=128*g}},48738:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
|
10
10
|
/*!
|
|
11
11
|
* Determine if an object is a Buffer
|
|
12
12
|
*
|
|
13
13
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
14
14
|
* @license MIT
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},19755:function(t,e){var r;
|
|
17
17
|
/*!
|
|
18
18
|
* jQuery JavaScript Library v3.7.1
|
|
19
19
|
* https://jquery.com/
|
|
@@ -23,29 +23,29 @@ e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeo
|
|
|
23
23
|
* https://jquery.org/license
|
|
24
24
|
*
|
|
25
25
|
* Date: 2023-08-28T13:37Z
|
|
26
|
-
*/!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=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function T(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 k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:"3.7.1",constructor:E,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=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.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(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.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},E.extend=E.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&&(E.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[t],o=i&&!Array.isArray(r)?[]:i||E.isPlainObject(r)?r:{},i=!1,a[t]=E.extend(l,o,n)):void 0!==n&&(a[t]=n));return a},E.extend({expando:"jQuery"+("3.7.1"+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(T(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+=E.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&&(T(Object(e))?E.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!x.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(T(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&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var O=o.pop,A=o.sort,C=o.splice,P="[\\x20\\t\\r\\n\\f]",R=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");E.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 j=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(j,N)};var D=b,I=l;!function(){var e,t,r,i,a,u,l,f,d,p,g=I,m=E.expando,v=0,b=0,w=ee(),_=ee(),S=ee(),x=ee(),T=function(e,t){return e===t&&(a=!0),0},j="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])+",L="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",M=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",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+"$"),Y={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+L),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("^(?:"+j+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,$=/^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&&k(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(D.childNodes),D.childNodes),o[D.childNodes.length].nodeType}catch(e){g={apply:function(e,t){I.apply(e,s.call(t))},call:function(e){I.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=E.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(R,"$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 k(t,"input")&&t.type===e}}function ie(e){return function(t){return(k(t,"input")||k(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:D;return n!=u&&9===n.nodeType&&n.documentElement?(l=(u=n).documentElement,f=!E.isXMLDoc(u),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&D!=u&&(r=u.defaultView)&&r.top!==r&&r.addEventListener("unload",Z),y.getById=re((function(e){return l.appendChild(e).id=E.expando,!u.getElementsByName||!u.getElementsByName(E.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|"+j+")"),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("|")),T=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==D&&K.contains(D,e)?-1:t===u||t.ownerDocument==D&&K.contains(D,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),E.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)},E.uniqueSort=function(e){var t,r=[],n=0,o=0;if(a=!y.sortStable,i=!y.sortStable&&s.call(e,0),A.call(e,T),a){for(;t=e[o++];)t===e[o]&&(n=r.push(o));for(;n--;)C.call(e,r[n],1)}return i=null,e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(s.apply(this)))},(t=E.expr={cacheLength:50,createPseudo:te,match:Y,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 Y.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 k(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?k(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?k(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(R,"$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||E.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 k(e,"input")&&!!e.checked||k(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 $.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){return k(e,"input")&&"button"===e.type||k(e,"button")},text:function(e){var t;return k(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}))}}).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(R," ")}),s=s.slice(n.length)),t.filter)!(i=Y[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&&k(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(R,"$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),T=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=T)}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]=O.call(c));_=pe(_)}g.apply(c,_),d&&!a&&_.length>0&&m+n.length>1&&E.uniqueSort(c)}return d&&(v=T,r=S),w};return i?te(a):a}(a,o))).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=Y.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(T).join("")===m,ue(),y.sortDetached=re((function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))})),E.find=K,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,K.compile=me,K.select=ve,K.setDocument=ue,K.tokenize=ce,K.escape=E.escapeSelector,K.getText=E.text,K.isXML=E.isXMLDoc,K.selectors=E.expr,K.support=E.support,K.uniqueSort=E.uniqueSort}();var L=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(r))break;n.push(e)}return n},M=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},F=E.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,r){return m(t)?E.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?E.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?E.grep(e,(function(e){return c.call(t,e)>-1!==r})):E.filter(t,e,r)}E.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?E.find.matchesSelector(n,e)?[n]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<n;t++)if(E.contains(i[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)E.find(e,i[t],r);return n>1?E.uniqueSort(r):r},filter:function(e){return this.pushStack(V(this,e||[],!1))},not:function(e){return this.pushStack(V(this,e||[],!0))},is:function(e){return!!V(this,"string"==typeof e&&F.test(e)?E(e):e||[],!1).length}});var U,W=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||U,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:W.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 E?t[0]:t,E.merge(this,E.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),B.test(n[1])&&E.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(E):E.makeArray(e,this)}).prototype=E.fn,U=E(b);var H=/^(?: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}E.fn.extend({has:function(e){var t=E(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,i=this.length,o=[],a="string"!=typeof e&&E(e);if(!F.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&&E.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(E(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(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,r){return L(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,r){return L(e,"nextSibling",r)},prevUntil:function(e,t,r){return L(e,"previousSibling",r)},siblings:function(e){return M((e.parentNode||{}).firstChild,e)},children:function(e){return M(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(r,n){var i=E.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=E.filter(n,i)),this.length>1&&(Y[e]||E.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}}));var $=/[^\x20\t\r\n\f]+/g;function q(e){return e}function z(e){throw e}function X(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])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match($)||[],(function(e,r){t[r]=!0})),t}(e):E.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){E.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 E.each(arguments,(function(e,t){for(var r;(r=E.inArray(t,o,r))>-1;)o.splice(r,1),r<=s&&s--})),this},has:function(e){return e?E.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},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.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 E.Deferred((function(r){E.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,q,i),a(o,t,z,i)):(o++,l.call(n,a(o,t,q,i),a(o,t,z,i),a(o,t,q,t.notifyWith))):(r!==q&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,c.error),e+1>=o&&(r!==z&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),n.setTimeout(c))}}return E.Deferred((function(n){t[0][3].add(a(0,n,m(i)?i:q,n.notifyWith)),t[1][3].add(a(0,n,m(e)?e:q)),t[2][3].add(a(0,n,m(r)?r:z))})).promise()},promise:function(e){return null!=e?E.extend(e,i):i}},o={};return E.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=E.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&&(X(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||m(i[r]&&i[r].then)))return o.then();for(;r--;)X(i[r],a(r),o.reject);return o.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){n.setTimeout((function(){throw e}))};var Z=E.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),n.removeEventListener("load",J),E.ready()}E.fn.ready=function(e){return Z.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||Z.resolveWith(b,[E]))}}),E.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",J),n.addEventListener("load",J));var K=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)K(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(E(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},ee=/^-ms-/,te=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ne(e){return e.replace(ee,"ms-").replace(te,re)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=E.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(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[ne(t)]=r;else for(n in t)i[ne(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ne(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(ne):(t=ne(t))in n?[t]:t.match($)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||E.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&&!E.isEmptyObject(t)}};var ae=new oe,se=new oe,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,le=/[A-Z]/g;function ce(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(le,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e)}(r)}catch(e){}se.set(e,t,r)}else r=void 0;return r}E.extend({hasData:function(e){return se.hasData(e)||ae.hasData(e)},data:function(e,t,r){return se.access(e,t,r)},removeData:function(e,t){se.remove(e,t)},_data:function(e,t,r){return ae.access(e,t,r)},_removeData:function(e,t){ae.remove(e,t)}}),E.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=se.get(o),1===o.nodeType&&!ae.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=ne(n.slice(5)),ce(o,n,i[n]));ae.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){se.set(this,e)})):K(this,(function(t){var r;if(o&&void 0===t)return void 0!==(r=se.get(o,e))||void 0!==(r=ce(o,e))?r:void 0;this.each((function(){se.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){se.remove(this,e)}))}}),E.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=ae.get(e,t),r&&(!n||Array.isArray(r)?n=ae.access(e,t,E.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=E.queue(e,t),n=r.length,i=r.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete o.stop,i.call(e,(function(){E.dequeue(e,t)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return ae.get(e,r)||ae.access(e,r,{empty:E.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",r])}))})}}),E.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?E.queue(this[0],e):void 0===t?this:this.each((function(){var r=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=E.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=ae.get(o[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],pe=b.documentElement,ge=function(e){return E.contains(e.ownerDocument,e)},ye={composed:!0};pe.getRootNode&&(ge=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var me=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===E.css(e,"display")};function ve(e,t,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return E.css(e,t,"")},u=s(),l=r&&r[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==l&&+u)&&de.exec(E.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)E.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,E.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 be={};function we(e){var t,r=e.ownerDocument,n=e.nodeName,i=be[n];return i||(t=r.body.appendChild(r.createElement(n)),i=E.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),be[n]=i,i)}function _e(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]=ae.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&me(n)&&(i[o]=we(n))):"none"!==r&&(i[o]="none",ae.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}E.fn.extend({show:function(){return _e(this,!0)},hide:function(){return _e(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){me(this)?E(this).show():E(this).hide()}))}});var Se,xe,Ee=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ke=/^$|^module$|\/(?:java|ecma)script/i;Se=b.createDocumentFragment().appendChild(b.createElement("div")),(xe=b.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),Se.appendChild(xe),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 Oe={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 Ae(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?E.merge([e],r):r}function Ce(e,t){for(var r=0,n=e.length;r<n;r++)ae.set(e[r],"globalEval",!t||ae.get(t[r],"globalEval"))}Oe.tbody=Oe.tfoot=Oe.colgroup=Oe.caption=Oe.thead,Oe.th=Oe.td,y.option||(Oe.optgroup=Oe.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function Re(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))E.merge(d,o.nodeType?[o]:o);else if(Pe.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=Oe[s]||Oe._default,a.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;E.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(n&&E.inArray(o,n)>-1)i&&i.push(o);else if(l=ge(o),a=Ae(f.appendChild(o),"script"),l&&Ce(a),r)for(c=0;o=a[c++];)ke.test(o.type||"")&&r.push(o);return f}var je=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function De(){return!1}function Ie(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)Ie(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=De;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each((function(){E.event.add(this,t,i,n,r)}))}function Le(e,t,r){r?(ae.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var r,n=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),ae.set(this,t,n),this[t](),r=ae.get(this,t),ae.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(ae.set(this,t,E.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===ae.get(e,t)&&E.event.add(e,t,Ne)}E.event={global:{},add:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=ae.get(e);if(ie(e))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&E.find.matchesSelector(pe,i),r.guid||(r.guid=E.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match($)||[""]).length;l--;)h=g=(s=je.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=E.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=E.event.special[h]||{},c=E.extend({type:h,origType:g,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&E.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),E.event.global[h]=!0)},remove:function(e,t,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=ae.hasData(e)&&ae.get(e);if(y&&(u=y.events)){for(l=(t=(t||"").match($)||[""]).length;l--;)if(h=g=(s=je.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=E.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)||E.removeEvent(e,h,y.handle),delete u[h])}else for(h in u)E.event.remove(e,h+t[l],r,n,!0);E.isEmptyObject(u)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=new Array(arguments.length),u=E.event.fix(e),l=(ae.get(this,"events")||Object.create(null))[u.type]||[],c=E.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=E.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=((E.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?E(i,this).index(l)>-1:E.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(E.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[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return Ee.test(t.type)&&t.click&&k(t,"input")&&ae.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:De,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&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:De,isPropagationStopped:De,isImmediatePropagationStopped:De,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.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},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){function r(e){if(b.documentMode){var r=ae.get(this,"handle"),n=E.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else E.event.simulate(t,e.target,E.event.fix(e))}E.event.special[e]={setup:function(){var n;if(Le(this,e,!0),!b.documentMode)return!1;(n=ae.get(this,t))||this.addEventListener(t,r),ae.set(this,t,(n||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,r),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},E.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=ae.get(i,t);o||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),ae.set(i,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=ae.get(i,t)-1;o?ae.set(i,t,o):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),ae.remove(i,t))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===n||E.contains(n,i))||(e.type=o.origType,r=o.handler.apply(this,arguments),e.type=t),r}}})),E.fn.extend({on:function(e,t,r,n){return Ie(this,e,t,r,n)},one:function(e,t,r,n){return Ie(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,E(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=De),this.each((function(){E.event.remove(this,e,r,t)}))}});var Me=/<script|<style|<link/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ve(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var r,n,i,o,a,s;if(1===t.nodeType){if(ae.hasData(e)&&(s=ae.get(e).events))for(i in ae.remove(t,"handle events"),s)for(r=0,n=s[i].length;r<n;r++)E.event.add(t,i,s[i][r]);se.hasData(e)&&(o=se.access(e),a=E.extend({},o),se.set(t,a))}}function Ye(e,t){var r=t.nodeName.toLowerCase();"input"===r&&Ee.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&&Fe.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=Re(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=E.map(Ae(i,"script"),Ue)).length;f<d;f++)l=i,f!==h&&(l=E.clone(l,!0,!0),s&&E.merge(a,Ae(l,"script"))),r.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,E.map(a,We),f=0;f<s;f++)l=a[f],ke.test(l.type||"")&&!ae.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Be,""),l,c))}return e}function $e(e,t,r){for(var n,i=t?E.filter(t,e):e,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||E.cleanData(Ae(n)),n.parentNode&&(r&&ge(n)&&Ce(Ae(n,"script")),n.parentNode.removeChild(n));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,o,a,s=e.cloneNode(!0),u=ge(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=Ae(s),n=0,i=(o=Ae(e)).length;n<i;n++)Ye(o[n],a[n]);if(t)if(r)for(o=o||Ae(e),a=a||Ae(s),n=0,i=o.length;n<i;n++)He(o[n],a[n]);else He(e,s);return(a=Ae(s,"script")).length>0&&Ce(a,!u&&Ae(e,"script")),s},cleanData:function(e){for(var t,r,n,i=E.event.special,o=0;void 0!==(r=e[o]);o++)if(ie(r)){if(t=r[ae.expando]){if(t.events)for(n in t.events)i[n]?E.event.remove(r,n):E.removeEvent(r,n,t.handle);r[ae.expando]=void 0}r[se.expando]&&(r[se.expando]=void 0)}}}),E.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return K(this,(function(e){return void 0===e?E.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||Ve(this,e).appendChild(e)}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ve(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&&(E.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return K(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&&!Me.test(e)&&!Oe[(Te.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(E.cleanData(Ae(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;E.inArray(this,e)<0&&(E.cleanData(Ae(this)),r&&r.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var r,n=[],i=E(e),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),E(i[a])[t](r),l.apply(n,r.get());return this.pushStack(n)}}));var qe=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Qe=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},Ze=new RegExp(he.join("|"),"i");function Je(e,t,r){var n,i,o,a,s=ze.test(t),u=e.style;return(r=r||Xe(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(R,"$1")||void 0),""!==a||ge(e)||(a=E.style(e,t)),!y.pixelBoxStyles()&&qe.test(a)&&Ze.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 Ke(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%",pe.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),pe.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,E.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",pe.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,pe.removeChild(e)),s}}))}();var et=["Webkit","Moz","ms"],tt=b.createElement("div").style,rt={};function nt(e){var t=E.cssProps[e]||rt[e];return t||(e in tt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=et.length;r--;)if((e=et[r]+t)in tt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function st(e,t,r){var n=de.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ut(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+=E.css(e,r+he[a],!0,i)),n?("content"===r&&(u-=E.css(e,"padding"+he[a],!0,i)),"margin"!==r&&(u-=E.css(e,"border"+he[a]+"Width",!0,i))):(u+=E.css(e,"padding"+he[a],!0,i),"padding"!==r?u+=E.css(e,"border"+he[a]+"Width",!0,i):s+=E.css(e,"border"+he[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 lt(e,t,r){var n=Xe(e),i=(!y.boxSizingReliable()||r)&&"border-box"===E.css(e,"boxSizing",!1,n),o=i,a=Je(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(a)){if(!r)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&k(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===E.css(e,"boxSizing",!1,n),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ut(e,t,r||(i?"border":"content"),o,n,a)+"px"}function ct(e,t,r,n,i){return new ct.prototype.init(e,t,r,n,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Je(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=ne(t),u=ze.test(t),l=e.style;if(u||(t=nt(s)),a=E.cssHooks[t]||E.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=de.exec(r))&&i[1]&&(r=ve(e,t,i),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=i&&i[3]||(E.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=ne(t);return ze.test(t)||(t=nt(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=Je(e,t,n)),"normal"===i&&t in at&&(i=at[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,r,n){if(r)return!it.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?lt(e,t,n):Qe(e,ot,(function(){return lt(e,t,n)}))},set:function(e,r,n){var i,o=Xe(e),a=!y.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===E.css(e,"boxSizing",!1,o),u=n?ut(e,t,n,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ut(e,t,"border",!1,o)-.5)),u&&(i=de.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=E.css(e,t)),st(0,r,u)}}})),E.cssHooks.marginLeft=Ke(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+he[n]+t]=o[n]||o[n-2]||o[0];return i}},"margin"!==e&&(E.cssHooks[e+t].set=st)})),E.fn.extend({css:function(e,t){return K(this,(function(e,t,r){var n,i,o={},a=0;if(Array.isArray(t)){for(n=Xe(e),i=t.length;a<i;a++)o[t[a]]=E.css(e,t[a],!1,n);return o}return void 0!==r?E.style(e,t,r):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(E.cssNumber[r]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,r=ct.propHooks[this.prop];return this.options.duration?this.pos=t=E.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):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.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=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ct.prototype.init,E.fx.step={};var ft,dt,ht=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function gt(){dt&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,E.fx.interval),E.fx.tick())}function yt(){return n.setTimeout((function(){ft=void 0})),ft=Date.now()}function mt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=he[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,r){for(var n,i=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,t,e))return n}function bt(e,t,r){var n,i,o=0,a=bt.prefilters.length,s=E.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=ft||yt(),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:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},r),originalProperties:t,originalOptions:r,startTime:ft||yt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=E.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=ne(r)],o=e[r],Array.isArray(o)&&(i=o[1],o=e[r]=o[0]),r!==n&&(e[n]=o,delete e[r]),(a=E.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=bt.prefilters[o].call(l,e,c,l.opts))return m(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return E.map(c,vt,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),E.fx.timer(E.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}E.Animation=E.extend(bt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return ve(r.elem,e,de.exec(t),r),r}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match($);for(var r,n=0,i=e.length;n<i;n++)r=e[n],bt.tweeners[r]=bt.tweeners[r]||[],bt.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&&me(e),y=ae.get(e,"fxshow");for(n in r.queue||(null==(a=E._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--,E.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[n],ht.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]||E.style(e,n)}if((u=!E.isEmptyObject(t))||!E.isEmptyObject(h))for(n in f&&1===e.nodeType&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=y&&y.display)&&(l=ae.get(e,"display")),"none"===(c=E.css(e,"display"))&&(l?c=l:(_e([e],!0),l=e.style.display||l,c=E.css(e,"display"),_e([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===E.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=ae.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&_e([e],!0),d.done((function(){for(n in g||_e([e]),ae.remove(e,"fxshow"),h)E.style(e,n,h[n])}))),u=vt(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?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),E.speed=function(e,t,r){var n=e&&"object"==typeof e?E.extend({},e):{complete:r||!r&&t||m(e)&&e,duration:e,easing:r&&t||t&&!m(t)&&t};return E.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in E.fx.speeds?n.duration=E.fx.speeds[n.duration]:n.duration=E.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&&E.dequeue(this,n.queue)},n},E.fn.extend({fadeTo:function(e,t,r,n){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=E.isEmptyObject(e),o=E.speed(t,r,n),a=function(){var t=bt(this,E.extend({},e),o);(i||ae.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=E.timers,a=ae.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&&pt.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||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=ae.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],o=E.timers,a=n?n.length:0;for(r.finish=!0,E.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}))}}),E.each(["toggle","show","hide"],(function(e,t){var r=E.fn[t];E.fn[t]=function(e,n,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(mt(t,!0),e,n,i)}})),E.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),E.timers=[],E.fx.tick=function(){var e,t=0,r=E.timers;for(ft=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||E.fx.stop(),ft=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){dt||(dt=!0,gt())},E.fx.stop=function(){dt=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(e,t){return e=E.fx&&E.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 wt,_t=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return K(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,r):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?wt:void 0)),void 0!==r?null===r?void E.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=E.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&k(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($);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),wt={set:function(e,t,r){return!1===t?E.removeAttr(e,r):e.setAttribute(r,r),r}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=_t[t]||E.find.attr;_t[t]=function(e,t,n){var i,o,a=t.toLowerCase();return n||(o=_t[a],_t[a]=i,i=null!=r(e,t,n)?a:null,_t[a]=o),i}}));var St=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function Et(e){return(e.match($)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match($)||[]}E.fn.extend({prop:function(e,t){return K(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.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=E.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(E.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)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,r,n,i,o,a;return m(e)?this.each((function(t){E(this).addClass(e.call(this,t,Tt(this)))})):(t=kt(e)).length?this.each((function(){if(n=Tt(this),r=1===this.nodeType&&" "+Et(n)+" "){for(o=0;o<t.length;o++)i=t[o],r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Et(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){E(this).removeClass(e.call(this,t,Tt(this)))})):arguments.length?(t=kt(e)).length?this.each((function(){if(n=Tt(this),r=1===this.nodeType&&" "+Et(n)+" "){for(o=0;o<t.length;o++)for(i=t[o];r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Et(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){E(this).toggleClass(e.call(this,r,Tt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=kt(e),this.each((function(){if(s)for(o=E(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=Tt(this))&&ae.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":ae.get(this,"__className__")||""))})))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+Et(Tt(r))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;E.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,E(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(Ot,""):null==r?"":r:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:Et(E.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||!k(r.parentNode,"optgroup"))){if(t=E(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,i=e.options,o=E.makeArray(t),a=i.length;a--;)((n=i[a]).selected=E.inArray(E.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},y.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var At=n.location,Ct={guid:Date.now()},Pt=/\?/;E.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||E.error("Invalid XML: "+(r?E.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Rt=/^(?:focusinfocus|focusoutblur)$/,jt=function(e){e.stopPropagation()};E.extend(E.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&&!Rt.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[E.expando]?e:new E.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]:E.makeArray(t,[e]),f=E.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!v(r)){for(u=f.delegateType||g,Rt.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=(ae.get(a,"events")||Object.create(null))[e.type]&&ae.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&ie(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)||!ie(r)||l&&m(r[g])&&!v(r)&&((s=r[l])&&(r[l]=null),E.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,jt),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,jt),E.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,r){var n=E.extend(new E.Event,r,{type:e,isSimulated:!0});E.event.trigger(n,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return E.event.trigger(e,t,r,!0)}});var Nt=/\[\]$/,Dt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Mt(e,t,r,n){var i;if(Array.isArray(t))E.each(t,(function(t,i){r||Nt.test(e)?n(e,i):Mt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,n)}));else if(r||"object"!==S(t))n(e,t);else for(i in t)Mt(e+"["+i+"]",t[i],r,n)}E.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&&!E.isPlainObject(e))E.each(e,(function(){i(this.name,this.value)}));else for(r in e)Mt(r,e[r],t,i);return n.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Lt.test(this.nodeName)&&!It.test(e)&&(this.checked||!Ee.test(e))})).map((function(e,t){var r=E(this).val();return null==r?null:Array.isArray(r)?E.map(r,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:r.replace(Dt,"\r\n")}})).get()}});var Ft=/%20/g,Bt=/#.*$/,Vt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Yt={},Gt={},$t="*/".concat("*"),qt=b.createElement("a");function zt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,o=t.toLowerCase().match($)||[];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 Xt(e,t,r,n){var i={},o=e===Gt;function a(s){var u;return i[s]=!0,E.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 Qt(e,t){var r,n,i=E.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&E.extend(!0,e,n),e}qt.href=At.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,E.ajaxSettings),t):Qt(E.ajaxSettings,e)},ajaxPrefilter:zt(Yt),ajaxTransport:zt(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=E.ajaxSetup({},t),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?E(p):E.event,y=E.Deferred(),m=E.Callbacks("once memory"),v=h.statusCode||{},w={},_={},S="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Ut.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),T(0,t),this}};if(y.promise(x),h.url=((e||h.url||At.href)+"").replace(Ht,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match($)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=qt.protocol+"//"+qt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=E.param(h.data,h.traditional)),Xt(Yt,h,t,x),l)return x;for(f in(c=E.event&&h.global)&&0==E.active++&&E.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),i=h.url.replace(Bt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ft,"+")):(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(Vt,"$1"),d=(Pt.test(i)?"&":"?")+"_="+Ct.guid+++d),h.url=i+d),h.ifModified&&(E.lastModified[i]&&x.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&x.setRequestHeader("If-None-Match",E.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]?", "+$t+"; 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=Xt(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,T)}catch(e){if(l)throw e;T(-1,e)}}else T(-1,"No Transport");function T(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&&E.inArray("script",h.dataTypes)>-1&&E.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"))&&(E.lastModified[i]=_),(_=x.getResponseHeader("etag"))&&(E.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]),--E.active||E.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,r){return E.get(e,t,r,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,r,n,i){return m(r)&&(i=i||n,n=r,r=void 0),E.ajax(E.extend({url:e,type:t,dataType:i,data:r,success:n},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,r){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,r)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=E(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){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(r){E(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Jt=E.ajaxSettings.xhr();y.cors=!!Jt&&"withCredentials"in Jt,y.ajax=Jt=!!Jt,E.ajaxTransport((function(e){var t,r;if(y.cors||Jt&&!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(Zt[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()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.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 E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=E("<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 Kt,er=[],tr=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||E.expando+"_"+Ct.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(tr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.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(tr,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||E.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?E(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,er.push(i)),a&&m(o)&&o(a[0]),a=o=void 0})),"script"})),y.createHTMLDocument=((Kt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),E.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=B.exec(e))?[t.createElement(i[1])]:(i=Re([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var n,i,o},E.fn.load=function(e,t,r){var n,i,o,a=this,s=e.indexOf(" ");return s>-1&&(n=Et(e.slice(s)),e=e.slice(0,s)),m(t)?(r=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(n?E("<div>").append(E.parseHTML(e)).find(n):e)})).always(r&&function(e,t){a.each((function(){r.apply(this,o||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,r){var n,i,o,a,s,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=E.css(e,"top"),u=E.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,E.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)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.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"===E.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"===E.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(n,"marginTop",!0),left:t.left-i.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||pe}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;E.fn[e]=function(n){return K(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)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=Ke(y.pixelPosition,(function(e,r){if(r)return r=Je(e,t),qe.test(r)?E(e).position()[t]+"px":r}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){E.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(!0===i||!0===o?"margin":"border");return K(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?E.css(t,r,s):E.style(t,r,i,s)}),t,a?i:void 0,a)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.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)}}),E.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){E.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var rr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.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)))}).guid=e.guid=e.guid||E.guid++,i},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=k,E.isFunction=m,E.isWindow=v,E.camelCase=ne,E.type=S,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(rr,"$1")},void 0===(r=function(){return E}.apply(t,[]))||(e.exports=r);var nr=n.jQuery,ir=n.$;return E.noConflict=function(e){return n.$===E&&(n.$=ir),e&&n.jQuery===E&&(n.jQuery=nr),E},void 0===i&&(n.jQuery=n.$=E),E}))},2568:(e,t,r)=>{var n,i,o,a,s;n=r(1012),i=r(487).utf8,o=r(8738),a=r(487).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)}},381: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){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function d(e,t){for(var r in t)a(t,r)&&(e[r]=t[r]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Et(e,t,r,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function g(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=p(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 y(e){var t=h(NaN);return null!=e?d(p(t),e):p(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 m=n.momentProperties=[],v=!1;function b(e,t){var r,n,i,o=m.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=p(t)),u(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)u(i=t[n=m[r]])||(e[n]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,n.updateOffset(this),v=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)}),t)}var E,T={};function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e,t){var r,n=d({},e);for(r in t)a(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},d(n[r],e[r]),d(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)a(e,r)&&!a(t,r)&&o(e[r])&&(n[r]=d({},n[r]));return n}function C(e){null!=e&&this.set(e)}function P(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}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,E=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)a(e,t)&&r.push(t);return r};var R=/(\[[^\[]*\])|(\\)?([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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},D={};function I(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(D[e]=i),t&&(D[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),r&&(D[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(t=M(t,e.localeData()),N[t]=N[t]||function(e){var t,r,n,i=e.match(R);for(t=0,r=i.length;t<r;t++)D[i[t]]?i[t]=D[i[t]]:i[t]=(n=i[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,o="";for(n=0;n<r;n++)o+=O(i[n])?i[n].call(t,e):i[n];return o}}(t),N[t](e)):e.localeData().invalidDate()}function M(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(j.lastIndex=0;r>=0&&j.test(e);)e=e.replace(j,n),j.lastIndex=0,r-=1;return e}var F={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 B(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function V(e){var t,r,n={};for(r in e)a(e,r)&&(t=B(r))&&(n[t]=e[r]);return n}var U,W={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},H=/\d/,Y=/\d\d/,G=/\d{3}/,$=/\d{4}/,q=/[+-]?\d{6}/,z=/\d\d?/,X=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,J=/\d{1,4}/,K=/[+-]?\d{1,6}/,ee=/\d+/,te=/[+-]?\d+/,re=/Z|[+-]\d\d:?\d\d/gi,ne=/Z|[+-]\d\d(?::?\d\d)?/gi,ie=/[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,oe=/^[1-9]\d?/,ae=/^([1-9]\d|\d)/;function se(e,t,r){U[e]=O(t)?t:function(e,n){return e&&r?r:t}}function ue(e,t){return a(U,e)?U[e](t._strict,t._locale):new RegExp(function(e){return le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i})))}(e))}function le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function fe(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=ce(t)),r}U={};var de={};function he(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,r){r[t]=fe(e)}),n=e.length,r=0;r<n;r++)de[e[r]]=i}function pe(e,t){he(e,(function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function ge(e,t,r){null!=t&&a(de,e)&&de[e](t,r._a,r,e)}function ye(e){return e%4==0&&e%100!=0||e%400==0}function me(e){return ye(e)?366:365}I("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),se("Y",te),se("YY",z,Y),se("YYYY",J,$),se("YYYYY",K,q),se("YYYYYY",K,q),he(["YYYYY","YYYYYY"],0),he("YYYY",(function(e,t){t[0]=2===e.length?n.parseTwoDigitYear(e):fe(e)})),he("YY",(function(e,t){t[0]=n.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[0]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return fe(e)+(fe(e)>68?1900:2e3)};var ve,be=we("FullYear",!0);function we(e,t){return function(r){return null!=r?(Se(this,e,r),n.updateOffset(this,t),this):_e(this,e)}}function _e(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 Se(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||ye(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,n=(t%(r=12)+r)%r;return e+=(t-n)/12,1===n?ye(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),se("M",z,oe),se("MM",z,Y),se("MMM",(function(e,t){return t.monthsShortRegex(e)})),se("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[1]=fe(e)-1})),he(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[1]=i:p(r).invalidMonth=e}));var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=ie,Ae=ie;function Ce(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=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,a))?i:null:-1!==(i=ve.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,a))||-1!==(i=ve.call(this._longMonthsParse,a))?i:null:-1!==(i=ve.call(this._longMonthsParse,a))||-1!==(i=ve.call(this._shortMonthsParse,a))?i:null}function Pe(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=fe(t);else if(!l(t=e.localeData().monthsParse(t)))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,xe(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Re(e){return null!=e?(Pe(this,e),n.updateOffset(this,!0),this):_e(this,"Month")}function je(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=h([2e3,t]),n=le(this.monthsShort(r,"")),i=le(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 Ne(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 De(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 Ie(e,t,r){var n=7+t-r;return-(7+De(e,0,n).getUTCDay()-t)%7+n-1}function Le(e,t,r,n,i){var o,a,s=1+7*(t-1)+(7+r-n)%7+Ie(e,n,i);return s<=0?a=me(o=e-1)+s:s>me(e)?(o=e+1,a=s-me(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Me(e,t,r){var n,i,o=Ie(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+Fe(i=e.year()-1,t,r):a>Fe(e.year(),t,r)?(n=a-Fe(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function Fe(e,t,r){var n=Ie(e,t,r),i=Ie(e+1,t,r);return(me(e)-n+i)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),se("w",z,oe),se("ww",z,Y),se("W",z,oe),se("WW",z,Y),pe(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=fe(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),se("d",z),se("e",z),se("E",z),se("dd",(function(e,t){return t.weekdaysMinRegex(e)})),se("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),se("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:p(r).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,r,n){t[n]=fe(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),We="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),He=ie,Ye=ie,Ge=ie;function $e(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=h([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=ve.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,a))||-1!==(i=ve.call(this._shortWeekdaysParse,a))||-1!==(i=ve.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,a))||-1!==(i=ve.call(this._weekdaysParse,a))||-1!==(i=ve.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,a))||-1!==(i=ve.call(this._weekdaysParse,a))||-1!==(i=ve.call(this._shortWeekdaysParse,a))?i:null}function qe(){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=h([2e3,1]).day(t),n=le(this.weekdaysMin(r,"")),i=le(this.weekdaysShort(r,"")),o=le(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 ze(){return this.hours()%12||12}function Xe(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,ze),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+ze.apply(this)+P(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+ze.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),se("a",Qe),se("A",Qe),se("H",z,ae),se("h",z,oe),se("k",z,oe),se("HH",z,Y),se("hh",z,Y),se("kk",z,Y),se("hmm",X),se("hmmss",Q),se("Hmm",X),se("Hmmss",Q),he(["H","HH"],3),he(["k","kk"],(function(e,t,r){var n=fe(e);t[3]=24===n?0:n})),he(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),he(["h","hh"],(function(e,t,r){t[3]=fe(e),p(r).bigHour=!0})),he("hmm",(function(e,t,r){var n=e.length-2;t[3]=fe(e.substr(0,n)),t[4]=fe(e.substr(n)),p(r).bigHour=!0})),he("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=fe(e.substr(0,n)),t[4]=fe(e.substr(n,2)),t[5]=fe(e.substr(i)),p(r).bigHour=!0})),he("Hmm",(function(e,t,r){var n=e.length-2;t[3]=fe(e.substr(0,n)),t[4]=fe(e.substr(n))})),he("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=fe(e.substr(0,n)),t[4]=fe(e.substr(n,2)),t[5]=fe(e.substr(i))}));var Ze,Je=we("Hours",!0),Ke={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:We,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function rt(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 nt(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(void 0===et[t]&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{r=Ze._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),ot(r)}catch(e){et[t]=null}return et[t]}function ot(e,t){var r;return e&&((r=u(t)?st(e):at(e,t))?Ze=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function at(e,t){if(null!==t){var r,n=Ke;if(t.abbr=e,null!=et[e])k("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=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])n=et[t.parentLocale]._config;else{if(null==(r=it(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;n=r._config}return et[e]=new C(A(n,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!i(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,r,n,i,o=0;o<e.length;){for(t=(i=nt(e[o]).split("-")).length,r=(r=nt(e[o+1]))?r.split("-"):null;t>0;){if(n=it(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&rt(i,r)>=t-1)break;t--}o++}return Ze}(e)}function ut(e){var t,r=e._a;return r&&-2===p(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>xe(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var lt=/^\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)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["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]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,gt=/^(?:(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}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function mt(e){var t,r,n,i,o,a,s=e._i,u=lt.exec(s)||ct.exec(s),l=dt.length,c=ht.length;if(u){for(p(e).iso=!0,t=0,r=l;t<r;t++)if(dt[t][1].exec(u[1])){i=dt[t][0],n=!1!==dt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,r=c;t<r;t++)if(ht[t][1].exec(u[3])){o=(u[2]||" ")+ht[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ft.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),St(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function bt(e){var t,r,n,i,o,a,s,u,l=gt.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(l){if(r=l[4],n=l[3],i=l[2],o=l[5],a=l[6],s=l[7],u=[vt(r),Te.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&u.push(parseInt(s,10)),t=u,!function(e,t,r){return!e||Ue.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(r).weekdayMismatch=!0,r._isValid=!1,!1)}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,r){if(e)return yt[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(l[8],l[9],l[10]),e._d=De.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,r){return null!=e?e:null!=t?t:r}function _t(e){var t,r,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,r,n,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,r=wt(t.GG,e._a[0],Me(Tt(),1,4).year),n=wt(t.W,1),((i=wt(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=Me(Tt(),o,a),r=wt(t.gg,e._a[0],l.year),n=wt(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>Fe(r,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Le(r,n,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],i[0]),(e._dayOfYear>me(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=De(a,0,e._dayOfYear),e._a[1]=r.getUTCMonth(),e._a[2]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?De:Ne).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function St(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],p(e).empty=!0;var t,r,i,o,a,s,u,l=""+e._i,c=l.length,f=0;for(u=(i=M(e._f,e._locale).match(R)||[]).length,t=0;t<u;t++)o=i[t],(r=(l.match(ue(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(r))).length>0&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),f+=r.length),D[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ge(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-f,l.length>0&&p(e).unusedInput.push(l),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,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}(e._locale,e._a[3],e._meridiem),null!==(s=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),_t(e),ut(e)}else bt(e);else mt(e)}function xt(e){var t=e._i,r=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===r&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(ut(t)):(c(t)?e._d=t:i(r)?function(e){var t,r,n,i,o,a,s=!1,u=e._f.length;if(0===u)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],St(t),g(t)&&(a=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));d(e,r||t)}(e):r?St(e):function(e){var t=e._i;u(t)?e._d=new Date(n.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=pt.exec(e._i);null===t?(mt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),_t(e)):o(t)?function(e){if(!e._d){var t=V(e._i),r=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),_t(e)}}(e):l(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Et(e,t,r,n,a){var u,l={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=r,l._i=e,l._f=t,l._strict=n,(u=new w(ut(xt(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function Tt(e,t,r,n){return Et(e,t,r,n,!1)}n.createFromInputFallback=x("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 kt=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Ot=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function At(e,t){var r,n;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Tt();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=V(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,u=t.hour||0,l=t.minute||0,c=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,r,n=!1,i=Ct.length;for(t in e)if(a(e,t)&&(-1===ve.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[Ct[r]]){if(n)return!1;parseFloat(e[Ct[r]])!==fe(e[Ct[r]])&&(n=!0)}return!0}(t),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+s+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=st(),this._bubble()}function Rt(e){return e instanceof Pt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){I(e,0,0,(function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+P(~~(e/60),2)+t+P(~~e%60,2)}))}Nt("Z",":"),Nt("ZZ",""),se("Z",ne),se("ZZ",ne),he(["Z","ZZ"],(function(e,t,r){r._useUTC=!0,r._tzm=It(ne,e)}));var Dt=/([\+\-]|\d\d)/gi;function It(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Dt)||["-",0,0])[1]+fe(r[2]))?0:"+"===r[0]?n:-n}function Lt(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(_(e)||c(e)?e.valueOf():Tt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Tt(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ut(e,t){var r,n,i,o,s,u,c=e,f=null;return Rt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(f=Bt.exec(e))?(r="-"===f[1]?-1:1,c={y:0,d:fe(f[2])*r,h:fe(f[3])*r,m:fe(f[4])*r,s:fe(f[5])*r,ms:fe(jt(1e3*f[6]))*r}):(f=Vt.exec(e))?(r="-"===f[1]?-1:1,c={y:Wt(f[2],r),M:Wt(f[3],r),w:Wt(f[4],r),d:Wt(f[5],r),h:Wt(f[6],r),m:Wt(f[7],r),s:Wt(f[8],r)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Tt(c.from),s=Tt(c.to),i=o.isValid()&&s.isValid()?(s=Lt(s,o),o.isBefore(s)?u=Ht(o,s):((u=Ht(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),n=new Pt(c),Rt(e)&&a(e,"_locale")&&(n._locale=e._locale),Rt(e)&&a(e,"_isValid")&&(n._isValid=e._isValid),n}function Wt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ht(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 Yt(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(k(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),Gt(this,Ut(r,n),e),this}}function Gt(e,t,r,i){var o=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(i=null==i||i,s&&Pe(e,_e(e,"Month")+s*r),a&&Se(e,"Date",_e(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}Ut.fn=Pt.prototype,Ut.invalid=function(){return Ut(NaN)};var $t=Yt(1,"add"),qt=Yt(-1,"subtract");function zt(e){return"string"==typeof e||e instanceof String}function Xt(e){return _(e)||c(e)||zt(e)||l(e)||function(e){var t=i(e),r=!1;return t&&(r=0===e.filter((function(t){return!l(t)&&zt(e)})).length),t&&r}(e)||function(e){var t,r,n=o(e)&&!s(e),i=!1,u=["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=u.length;for(t=0;t<l;t+=1)r=u[t],i=i||a(e,r);return n&&i}(e)||null==e}function Qt(e){var t,r=o(e)&&!s(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=n||a(e,i[t]);return r&&n}function Zt(e,t){if(e.date()<t.date())return-Zt(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 Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=x("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 er(){return this._locale}function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-126227808e5:new Date(e,t,r).valueOf()}function nr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-126227808e5:Date.UTC(e,t,r)}function ir(e,t){return t.erasAbbrRegex(e)}function or(){var e,t,r,n,i,o=[],a=[],s=[],u=[],l=this.eras();for(e=0,t=l.length;e<t;++e)r=le(l[e].name),n=le(l[e].abbr),i=le(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 ar(e,t){I(0,[e,e.length],0,t)}function sr(e,t,r,n,i){var o;return null==e?Me(this,n,i).year:(t>(o=Fe(e,n,i))&&(t=o),ur.call(this,e,t,r,n,i))}function ur(e,t,r,n,i){var o=Le(e,t,r,n,i),a=De(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),se("N",ir),se("NN",ir),se("NNN",ir),se("NNNN",(function(e,t){return t.erasNameRegex(e)})),se("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),he(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?p(r).era=i:p(r).invalidEra=e})),se("y",ee),se("yy",ee),se("yyy",ee),se("yyyy",ee),se("yo",(function(e,t){return t._eraYearOrdinalRegex||ee})),he(["y","yy","yyy","yyyy"],0),he(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[0]=r._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),se("G",te),se("g",te),se("GG",z,Y),se("gg",z,Y),se("GGGG",J,$),se("gggg",J,$),se("GGGGG",K,q),se("ggggg",K,q),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=fe(e)})),pe(["gg","GG"],(function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),se("Q",H),he("Q",(function(e,t){t[1]=3*(fe(e)-1)})),I("D",["DD",2],"Do","date"),se("D",z,oe),se("DD",z,Y),se("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],2),he("Do",(function(e,t){t[2]=fe(e.match(z)[0])}));var lr=we("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",Z),se("DDDD",G),he(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=fe(e)})),I("m",["mm",2],0,"minute"),se("m",z,ae),se("mm",z,Y),he(["m","mm"],4);var cr=we("Minutes",!1);I("s",["ss",2],0,"second"),se("s",z,ae),se("ss",z,Y),he(["s","ss"],5);var fr,dr,hr=we("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),se("S",Z,H),se("SS",Z,Y),se("SSS",Z,G),fr="SSSS";fr.length<=9;fr+="S")se(fr,ee);function pr(e,t){t[6]=fe(1e3*("0."+e))}for(fr="S";fr.length<=9;fr+="S")he(fr,pr);dr=we("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var gr=w.prototype;function yr(e){return e}gr.add=$t,gr.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Tt(),i=Lt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(O(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))},gr.clone=function(){return new w(this)},gr.diff=function(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=Lt(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=B(t)){case"year":o=Zt(this,n)/12;break;case"month":o=Zt(this,n);break;case"quarter":o=Zt(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:ce(o)},gr.endOf=function(e){var t,r;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?nr:rr,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+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},gr.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},gr.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Tt(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gr.fromNow=function(e){return this.from(Tt(),e)},gr.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Tt(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gr.toNow=function(e){return this.to(Tt(),e)},gr.get=function(e){return O(this[e=B(e)])?this[e]():this},gr.invalidAt=function(){return p(this).overflow},gr.isAfter=function(e,t){var r=_(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())},gr.isBefore=function(e,t){var r=_(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())},gr.isBetween=function(e,t,r,n){var i=_(e)?e:Tt(e),o=_(t)?t:Tt(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)))},gr.isSame=function(e,t){var r,n=_(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))},gr.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gr.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gr.isValid=function(){return g(this)},gr.lang=Kt,gr.locale=Jt,gr.localeData=er,gr.max=Ot,gr.min=kt,gr.parsingFlags=function(){return d({},p(this))},gr.set=function(e,t){if("object"==typeof e){var r,n=function(e){var t,r=[];for(t in e)a(e,t)&&r.push({unit:t,priority:W[t]});return r.sort((function(e,t){return e.priority-t.priority})),r}(e=V(e)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(O(this[e=B(e)]))return this[e](t);return this},gr.startOf=function(e){var t,r;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?nr:rr,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-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}return this._d.setTime(t),n.updateOffset(this,!0),this},gr.subtract=qt,gr.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gr.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},gr.toDate=function(){return new Date(this.valueOf())},gr.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?L(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(r,"Z")):L(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gr.toJSON=function(){return this.isValid()?this.toISOString():null},gr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gr.unix=function(){return Math.floor(this.valueOf()/1e3)},gr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gr.eraName=function(){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""},gr.eraNarrow=function(){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""},gr.eraAbbr=function(){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""},gr.eraYear=function(){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()},gr.year=be,gr.isLeapYear=function(){return ye(this.year())},gr.weekYear=function(e){return sr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},gr.isoWeekYear=function(e){return sr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gr.quarter=gr.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gr.month=Re,gr.daysInMonth=function(){return xe(this.year(),this.month())},gr.week=gr.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gr.isoWeek=gr.isoWeeks=function(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gr.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},gr.weeksInWeekYear=function(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)},gr.isoWeeksInYear=function(){return Fe(this.year(),1,4)},gr.isoWeeksInISOWeekYear=function(){return Fe(this.isoWeekYear(),1,4)},gr.date=lr,gr.day=gr.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=_e(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},gr.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},gr.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},gr.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},gr.hour=gr.hours=Je,gr.minute=gr.minutes=cr,gr.second=gr.seconds=hr,gr.millisecond=gr.milliseconds=dr,gr.utcOffset=function(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=It(ne,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=Mt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Gt(this,Ut(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Mt(this)},gr.utc=function(e){return this.utcOffset(0,e)},gr.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this},gr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(re,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gr.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gr.isLocal=function(){return!!this.isValid()&&!this._isUTC},gr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gr.isUtc=Ft,gr.isUTC=Ft,gr.zoneAbbr=function(){return this._isUTC?"UTC":""},gr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gr.dates=x("dates accessor is deprecated. Use date instead.",lr),gr.months=x("months accessor is deprecated. Use month instead",Re),gr.years=x("years accessor is deprecated. Use year instead",be),gr.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),gr.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=xt(t))._a?(e=t._isUTC?h(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(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&&fe(e[n])!==fe(t[n]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var mr=C.prototype;function vr(e,t,r,n){var i=st(),o=h().set(n,t);return i[r](o,e)}function br(e,t,r){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return vr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=vr(e,n,r,"month");return i}function wr(e,t,r,n){"boolean"==typeof e?(l(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,l(t)&&(r=t,t=void 0),t=t||"");var i,o=st(),a=e?o._week.dow:0,s=[];if(null!=r)return vr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=vr(t,(i+a)%7,n,"day");return s}mr.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return O(n)?n.call(t,r):n},mr.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(R).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mr.invalidDate=function(){return this._invalidDate},mr.ordinal=function(e){return this._ordinal.replace("%d",e)},mr.preparse=yr,mr.postformat=yr,mr.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return O(i)?i(e,t,r,n):i.replace(/%d/i,e)},mr.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return O(r)?r(t):r.replace(/%s/i,t)},mr.set=function(e){var t,r;for(r in e)a(e,r)&&(O(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)},mr.eras=function(e,t){var r,i,o,a=this._eras||st("en")._eras;for(r=0,i=a.length;r<i;++r){switch(typeof a[r].since){case"string":o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()}switch(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},mr.erasParse=function(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]},mr.erasConvertYear=function(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},mr.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||or.call(this),e?this._erasAbbrRegex:this._erasRegex},mr.erasNameRegex=function(e){return a(this,"_erasNameRegex")||or.call(this),e?this._erasNameRegex:this._erasRegex},mr.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||or.call(this),e?this._erasNarrowRegex:this._erasRegex},mr.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},mr.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mr.monthsParse=function(e,t,r){var n,i,o;if(this._monthsParseExact)return Ce.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([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}},mr.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ae),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mr.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mr.week=function(e){return Me(e,this._week.dow,this._week.doy).week},mr.firstDayOfYear=function(){return this._week.doy},mr.firstDayOfWeek=function(){return this._week.dow},mr.weekdays=function(e,t){var r=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Be(r,this._week.dow):e?r[e.day()]:r},mr.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mr.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mr.weekdaysParse=function(e,t,r){var n,i,o;if(this._weekdaysParseExact)return $e.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([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}},mr.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=He),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ge),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mr.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},ot("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===fe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",ot),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",st);var _r=Math.abs;function Sr(e,t,r,n){var i=Ut(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function xr(e){return e<0?Math.floor(e):Math.ceil(e)}function Er(e){return 4800*e/146097}function Tr(e){return 146097*e/4800}function kr(e){return function(){return this.as(e)}}var Or=kr("ms"),Ar=kr("s"),Cr=kr("m"),Pr=kr("h"),Rr=kr("d"),jr=kr("w"),Nr=kr("M"),Dr=kr("Q"),Ir=kr("y"),Lr=Or;function Mr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fr=Mr("milliseconds"),Br=Mr("seconds"),Vr=Mr("minutes"),Ur=Mr("hours"),Wr=Mr("days"),Hr=Mr("months"),Yr=Mr("years"),Gr=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qr(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}var zr=Math.abs;function Xr(e){return(e>0)-(e<0)||+e}function Qr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,u=zr(this._milliseconds)/1e3,l=zr(this._days),c=zr(this._months),f=this.asSeconds();return f?(e=ce(u/60),t=ce(e/60),u%=60,e%=60,r=ce(c/12),c%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=Xr(this._months)!==Xr(f)?"-":"",a=Xr(this._days)!==Xr(f)?"-":"",s=Xr(this._milliseconds)!==Xr(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 Zr=Pt.prototype;return Zr.isValid=function(){return this._isValid},Zr.abs=function(){var e=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),e.milliseconds=_r(e.milliseconds),e.seconds=_r(e.seconds),e.minutes=_r(e.minutes),e.hours=_r(e.hours),e.months=_r(e.months),e.years=_r(e.years),this},Zr.add=function(e,t){return Sr(this,e,t,1)},Zr.subtract=function(e,t){return Sr(this,e,t,-1)},Zr.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Er(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Tr(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)}},Zr.asMilliseconds=Or,Zr.asSeconds=Ar,Zr.asMinutes=Cr,Zr.asHours=Pr,Zr.asDays=Rr,Zr.asWeeks=jr,Zr.asMonths=Nr,Zr.asQuarters=Dr,Zr.asYears=Ir,Zr.valueOf=Lr,Zr._bubble=function(){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*xr(Tr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=ce(o/1e3),u.seconds=e%60,t=ce(e/60),u.minutes=t%60,r=ce(t/60),u.hours=r%24,a+=ce(r/24),i=ce(Er(a)),s+=i,a-=xr(Tr(i)),n=ce(s/12),s%=12,u.days=a,u.months=s,u.years=n,this},Zr.clone=function(){return Ut(this)},Zr.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Zr.milliseconds=Fr,Zr.seconds=Br,Zr.minutes=Vr,Zr.hours=Ur,Zr.days=Wr,Zr.weeks=function(){return ce(this.days()/7)},Zr.months=Hr,Zr.years=Yr,Zr.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=$r;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},$r,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=this.localeData(),n=function(e,t,r,n){var i=Ut(e).abs(),o=Gr(i.as("s")),a=Gr(i.as("m")),s=Gr(i.as("h")),u=Gr(i.as("d")),l=Gr(i.as("M")),c=Gr(i.as("w")),f=Gr(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,qr.apply(null,d)}(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},Zr.toISOString=Qr,Zr.toString=Qr,Zr.toJSON=Qr,Zr.locale=Jt,Zr.localeData=er,Zr.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qr),Zr.lang=Kt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),se("x",te),se("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),he("x",(function(e,t,r){r._d=new Date(fe(e))})),
|
|
26
|
+
*/!function(e,r){"use strict";"object"==typeof t.exports?t.exports=e.document?r(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return r(t)}:r(e)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,c=o.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,g=p.call(Object),y={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},m=function(t){return null!=t&&t===t.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,r){var n,i,o=(r=r||b).createElement("script");if(o.text=t,e)for(n in w)(i=e[n]||e.getAttribute&&e.getAttribute(n))&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[d.call(t)]||"object":typeof t}var S=/HTML$/i,E=function(t,e){return new E.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,r=x(t);return!v(t)&&!m(t)&&("array"===r||0===e||"number"==typeof e&&e>0&&e-1 in t)}function k(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}E.fn=E.prototype={jquery:"3.7.1",constructor:E,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,r){return t.call(e,r,e)})))},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(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,r=+t+(t<0?e:0);return this.pushStack(r>=0&&r<e?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var t,e,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||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=t[e],"__proto__"!==e&&a!==n&&(l&&n&&(E.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[e],o=i&&!Array.isArray(r)?[]:i||E.isPlainObject(r)?r:{},i=!1,a[e]=E.extend(l,o,n)):void 0!==n&&(a[e]=n));return a},E.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,r;return!(!t||"[object Object]"!==d.call(t))&&(!(e=a(t))||"function"==typeof(r=h.call(e,"constructor")&&e.constructor)&&p.call(r)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,r){_(t,{nonce:e&&e.nonce},r)},each:function(t,e){var r,n=0;if(T(t))for(r=t.length;n<r&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},text:function(t){var e,r="",n=0,i=t.nodeType;if(!i)for(;e=t[n++];)r+=E.text(e);return 1===i||11===i?t.textContent:9===i?t.documentElement.textContent:3===i||4===i?t.nodeValue:r},makeArray:function(t,e){var r=e||[];return null!=t&&(T(Object(t))?E.merge(r,"string"==typeof t?[t]:t):l.call(r,t)),r},inArray:function(t,e,r){return null==e?-1:c.call(e,t,r)},isXMLDoc:function(t){var e=t&&t.namespaceURI,r=t&&(t.ownerDocument||t).documentElement;return!S.test(e||r&&r.nodeName||"HTML")},merge:function(t,e){for(var r=+e.length,n=0,i=t.length;n<r;n++)t[i++]=e[n];return t.length=i,t},grep:function(t,e,r){for(var n=[],i=0,o=t.length,a=!r;i<o;i++)!e(t[i],i)!==a&&n.push(t[i]);return n},map:function(t,e,r){var n,i,o=0,a=[];if(T(t))for(n=t.length;o<n;o++)null!=(i=e(t[o],o,r))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,r))&&a.push(i);return u(a)},guid:1,support:y}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){f["[object "+e+"]"]=e.toLowerCase()}));var O=o.pop,A=o.sort,C=o.splice,P="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");E.contains=function(t,e){var r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(t.contains?t.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))};var R=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}E.escapeSelector=function(t){return(t+"").replace(R,N)};var I=b,L=l;!function(){var t,e,r,i,a,u,l,f,d,p,g=L,v=E.expando,m=0,b=0,w=tt(),_=tt(),x=tt(),S=tt(),T=function(t,e){return t===e&&(a=!0),0},R="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+"$"),Y={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("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(t,e){var r="0x"+t.slice(1)-65536;return e||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},Z=function(){ut()},J=dt((function(t){return!0===t.disabled&&k(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(I.childNodes),I.childNodes),o[I.childNodes.length].nodeType}catch(t){g={apply:function(t,e){L.apply(t,s.call(e))},call:function(t){L.apply(t,s.call(arguments,1))}}}function K(t,e,r,n){var i,o,a,s,l,c,h,p=e&&e.ownerDocument,m=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return r;if(!n&&(ut(e),e=e||u,f)){if(11!==m&&(l=q.exec(t)))if(i=l[1]){if(9===m){if(!(a=e.getElementById(i)))return r;if(a.id===i)return g.call(r,a),r}else if(p&&(a=p.getElementById(i))&&K.contains(e,a)&&a.id===i)return g.call(r,a),r}else{if(l[2])return g.apply(r,e.getElementsByTagName(t)),r;if((i=l[3])&&e.getElementsByClassName)return g.apply(r,e.getElementsByClassName(i)),r}if(!(S[t+" "]||d&&d.test(t))){if(h=t,p=e,1===m&&(U.test(t)||V.test(t))){for((p=z.test(t)&&st(e.parentNode)||e)==e&&y.scope||((s=e.getAttribute("id"))?s=E.escapeSelector(s):e.setAttribute("id",s=v)),o=(c=ct(t)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+ft(c[o]);h=c.join(",")}try{return g.apply(r,p.querySelectorAll(h)),r}catch(e){S(t,!0)}finally{s===v&&e.removeAttribute("id")}}}return mt(t.replace(j,"$1"),e,r,n)}function tt(){var t=[];return function r(n,i){return t.push(n+" ")>e.cacheLength&&delete r[t.shift()],r[n+" "]=i}}function et(t){return t[v]=!0,t}function rt(t){var e=u.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function nt(t){return function(e){return k(e,"input")&&e.type===t}}function it(t){return function(e){return(k(e,"input")||k(e,"button"))&&e.type===t}}function ot(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function at(t){return et((function(e){return e=+e,et((function(r,n){for(var i,o=t([],r.length,e),a=o.length;a--;)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))}))}))}function st(t){return t&&void 0!==t.getElementsByTagName&&t}function ut(t){var r,n=t?t.ownerDocument||t:I;return n!=u&&9===n.nodeType&&n.documentElement?(l=(u=n).documentElement,f=!E.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=rt((function(t){return l.appendChild(t).id=E.expando,!u.getElementsByName||!u.getElementsByName(E.expando).length})),y.disconnectedMatch=rt((function(t){return p.call(t,"*")})),y.scope=rt((function(){return u.querySelectorAll(":scope")})),y.cssHas=rt((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),y.getById?(e.filter.ID=function(t){var e=t.replace(X,Q);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var r=e.getElementById(t);return r?[r]:[]}}):(e.filter.ID=function(t){var e=t.replace(X,Q);return function(t){var r=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return r&&r.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var r,n,i,o=e.getElementById(t);if(o){if((r=o.getAttributeNode("id"))&&r.value===t)return[o];for(i=e.getElementsByName(t),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&f)return e.getElementsByClassName(t)},d=[],rt((function(t){var e;l.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||d.push("\\["+P+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+v+"-]").length||d.push("~="),t.querySelectorAll("a#"+v+"+*").length||d.push(".#.+[+~]"),t.querySelectorAll(":checked").length||d.push(":checked"),(e=u.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(e=u.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||d.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")})),y.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),T=function(t,e){if(t===e)return a=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===r?t===u||t.ownerDocument==I&&K.contains(I,t)?-1:e===u||e.ownerDocument==I&&K.contains(I,e)?1:i?c.call(i,t)-c.call(i,e):0:4&r?-1:1)},u):u}for(t in K.matches=function(t,e){return K(t,null,null,e)},K.matchesSelector=function(t,e){if(ut(t),f&&!S[e+" "]&&(!d||!d.test(e)))try{var r=p.call(t,e);if(r||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){S(e,!0)}return K(e,u,null,[t]).length>0},K.contains=function(t,e){return(t.ownerDocument||t)!=u&&ut(t),E.contains(t,e)},K.attr=function(t,r){(t.ownerDocument||t)!=u&&ut(t);var n=e.attrHandle[r.toLowerCase()],i=n&&h.call(e.attrHandle,r.toLowerCase())?n(t,r,!f):void 0;return void 0!==i?i:t.getAttribute(r)},K.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},E.uniqueSort=function(t){var e,r=[],n=0,o=0;if(a=!y.sortStable,i=!y.sortStable&&s.call(t,0),A.call(t,T),a){for(;e=t[o++];)e===t[o]&&(n=r.push(o));for(;n--;)C.call(t,r[n],1)}return i=null,t},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(s.apply(this)))},(e=E.expr={cacheLength:50,createPseudo:et,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(X,Q),t[3]=(t[3]||t[4]||t[5]||"").replace(X,Q),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||K.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&K.error(t[0]),t},PSEUDO:function(t){var e,r=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":r&&W.test(r)&&(e=ct(r,!0))&&(e=r.indexOf(")",r.length-e)-r.length)&&(t[0]=t[0].slice(0,e),t[2]=r.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(X,Q).toLowerCase();return"*"===t?function(){return!0}:function(t){return k(t,e)}},CLASS:function(t){var e=w[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&w(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,r){return function(n){var i=K.attr(n,t);return null==i?"!="===e:!e||(i+="","="===e?i===r:"!="===e?i!==r:"^="===e?r&&0===i.indexOf(r):"*="===e?r&&i.indexOf(r)>-1:"$="===e?r&&i.slice(-r.length)===r:"~="===e?(" "+i.replace(F," ")+" ").indexOf(r)>-1:"|="===e&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,r,n,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===i?function(t){return!!t.parentNode}:function(e,r,u){var l,c,f,d,h,p=o!==a?"nextSibling":"previousSibling",g=e.parentNode,y=s&&e.nodeName.toLowerCase(),b=!u&&!s,w=!1;if(g){if(o){for(;p;){for(f=e;f=f[p];)if(s?k(f,y):1===f.nodeType)return!1;h=p="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(w=(d=(l=(c=g[v]||(g[v]={}))[t]||[])[0]===m&&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===e){c[t]=[m,d,w];break}}else if(b&&(w=d=(l=(c=e[v]||(e[v]={}))[t]||[])[0]===m&&l[1]),!1===w)for(;(f=++d&&f&&f[p]||(w=d=0)||h.pop())&&(!(s?k(f,y):1===f.nodeType)||!++w||(b&&((c=f[v]||(f[v]={}))[t]=[m,w]),f!==e)););return(w-=i)===n||w%n==0&&w/n>=0}}},PSEUDO:function(t,r){var n,i=e.pseudos[t]||e.setFilters[t.toLowerCase()]||K.error("unsupported pseudo: "+t);return i[v]?i(r):i.length>1?(n=[t,t,"",r],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var n,o=i(t,r),a=o.length;a--;)t[n=c.call(t,o[a])]=!(e[n]=o[a])})):function(t){return i(t,0,n)}):i}},pseudos:{not:et((function(t){var e=[],r=[],n=vt(t.replace(j,"$1"));return n[v]?et((function(t,e,r,i){for(var o,a=n(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,i,o){return e[0]=t,n(e,null,o,r),e[0]=null,!r.pop()}})),has:et((function(t){return function(e){return K(t,e).length>0}})),contains:et((function(t){return t=t.replace(X,Q),function(e){return(e.textContent||E.text(e)).indexOf(t)>-1}})),lang:et((function(t){return H.test(t||"")||K.error("unsupported lang: "+t),t=t.replace(X,Q).toLowerCase(),function(e){var r;do{if(r=f?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(r=r.toLowerCase())===t||0===r.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===l},focus:function(t){return t===function(){try{return u.activeElement}catch(t){}}()&&u.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return k(t,"input")&&!!t.checked||k(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return $.test(t.nodeName)},input:function(t){return G.test(t.nodeName)},button:function(t){return k(t,"input")&&"button"===t.type||k(t,"button")},text:function(t){var e;return k(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,r){return[r<0?r+e:r]})),even:at((function(t,e){for(var r=0;r<e;r+=2)t.push(r);return t})),odd:at((function(t,e){for(var r=1;r<e;r+=2)t.push(r);return t})),lt:at((function(t,e,r){var n;for(n=r<0?r+e:r>e?e:r;--n>=0;)t.push(n);return t})),gt:at((function(t,e,r){for(var n=r<0?r+e:r;++n<e;)t.push(n);return t}))}}).pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=nt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=it(t);function lt(){}function ct(t,r){var n,i,o,a,s,u,l,c=_[t+" "];if(c)return r?0:c.slice(0);for(s=t,u=[],l=e.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)),e.filter)!(i=Y[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(t):_(t,u).slice(0)}function ft(t){for(var e=0,r=t.length,n="";e<r;e++)n+=t[e].value;return n}function dt(t,e,r){var n=e.dir,i=e.next,o=i||n,a=r&&"parentNode"===o,s=b++;return e.first?function(e,r,i){for(;e=e[n];)if(1===e.nodeType||a)return t(e,r,i);return!1}:function(e,r,u){var l,c,f=[m,s];if(u){for(;e=e[n];)if((1===e.nodeType||a)&&t(e,r,u))return!0}else for(;e=e[n];)if(1===e.nodeType||a)if(c=e[v]||(e[v]={}),i&&k(e,i))e=e[n]||e;else{if((l=c[o])&&l[0]===m&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=t(e,r,u))return!0}return!1}}function ht(t){return t.length>1?function(e,r,n){for(var i=t.length;i--;)if(!t[i](e,r,n))return!1;return!0}:t[0]}function pt(t,e,r,n,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(r&&!r(o,n,i)||(a.push(o),l&&e.push(s)));return a}function gt(t,e,r,n,i,o){return n&&!n[v]&&(n=gt(n)),i&&!i[v]&&(i=gt(i,o)),et((function(o,a,s,u){var l,f,d,h,p=[],y=[],v=a.length,m=o||function(t,e,r){for(var n=0,i=e.length;n<i;n++)K(t,e[n],r);return r}(e||"*",s.nodeType?[s]:s,[]),b=!t||!o&&e?m:pt(m,p,t,s,u);if(r?r(b,h=i||(o?t:v||n)?[]:a,s,u):h=b,n)for(l=pt(h,y),n(l,[],s,u),f=l.length;f--;)(d=l[f])&&(h[y[f]]=!(b[y[f]]=d));if(o){if(i||t){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=pt(h===a?h.splice(v,h.length):h),i?i(null,a,h,u):g.apply(a,h)}))}function yt(t){for(var n,i,o,a=t.length,s=e.relative[t[0].type],u=s||e.relative[" "],l=s?1:0,f=dt((function(t){return t===n}),u,!0),d=dt((function(t){return c.call(n,t)>-1}),u,!0),h=[function(t,e,i){var o=!s&&(i||e!=r)||((n=e).nodeType?f(t,e,i):d(t,e,i));return n=null,o}];l<a;l++)if(i=e.relative[t[l].type])h=[dt(ht(h),i)];else{if((i=e.filter[t[l].type].apply(null,t[l].matches))[v]){for(o=++l;o<a&&!e.relative[t[o].type];o++);return gt(l>1&&ht(h),l>1&&ft(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(j,"$1"),i,l<o&&yt(t.slice(l,o)),o<a&&yt(t=t.slice(o)),o<a&&ft(t))}h.push(i)}return ht(h)}function vt(t,n){var i,o=[],a=[],s=x[t+" "];if(!s){for(n||(n=ct(t)),i=n.length;i--;)(s=yt(n[i]))[v]?o.push(s):a.push(s);(s=x(t,function(t,n){var i=n.length>0,o=t.length>0,a=function(a,s,l,c,d){var h,p,y,v=0,b="0",w=a&&[],_=[],x=r,S=a||o&&e.find.TAG("*",d),T=m+=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||(ut(h),l=!f);y=t[p++];)if(y(h,s||u,l)){g.call(c,h);break}d&&(m=T)}i&&((h=!y&&h)&&v--,a&&w.push(h))}if(v+=b,i&&b!==v){for(p=0;y=n[p++];)y(w,_,s,l);if(a){if(v>0)for(;b--;)w[b]||_[b]||(_[b]=O.call(c));_=pt(_)}g.apply(c,_),d&&!a&&_.length>0&&v+n.length>1&&E.uniqueSort(c)}return d&&(m=T,r=x),w};return i?et(a):a}(a,o))).selector=t}return s}function mt(t,r,n,i){var o,a,s,u,l,c="function"==typeof t&&t,d=!i&&ct(t=c.selector||t);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&&e.relative[a[1].type]){if(!(r=(e.find.ID(s.matches[0].replace(X,Q),r)||[])[0]))return n;c&&(r=r.parentNode),t=t.slice(a.shift().value.length)}for(o=Y.needsContext.test(t)?0:a.length;o--&&(s=a[o],!e.relative[u=s.type]);)if((l=e.find[u])&&(i=l(s.matches[0].replace(X,Q),z.test(a[0].type)&&st(r.parentNode)||r))){if(a.splice(o,1),!(t=i.length&&ft(a)))return g.apply(n,i),n;break}}return(c||vt(t,d))(i,r,!f,n,!r||z.test(t)&&st(r.parentNode)||r),n}lt.prototype=e.filters=e.pseudos,e.setFilters=new lt,y.sortStable=v.split("").sort(T).join("")===v,ut(),y.sortDetached=rt((function(t){return 1&t.compareDocumentPosition(u.createElement("fieldset"))})),E.find=K,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,K.compile=vt,K.select=mt,K.setDocument=ut,K.tokenize=ct,K.escape=E.escapeSelector,K.getText=E.text,K.isXML=E.isXMLDoc,K.selectors=E.expr,K.support=E.support,K.uniqueSort=E.uniqueSort}();var D=function(t,e,r){for(var n=[],i=void 0!==r;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&E(t).is(r))break;n.push(t)}return n},M=function(t,e){for(var r=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&r.push(t);return r},F=E.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(t,e,r){return v(e)?E.grep(t,(function(t,n){return!!e.call(t,n,t)!==r})):e.nodeType?E.grep(t,(function(t){return t===e!==r})):"string"!=typeof e?E.grep(t,(function(t){return c.call(e,t)>-1!==r})):E.filter(e,t,r)}E.filter=function(t,e,r){var n=e[0];return r&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?E.find.matchesSelector(n,t)?[n]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,r,n=this.length,i=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<n;e++)if(E.contains(i[e],this))return!0})));for(r=this.pushStack([]),e=0;e<n;e++)E.find(t,i[e],r);return n>1?E.uniqueSort(r):r},filter:function(t){return this.pushStack(V(this,t||[],!1))},not:function(t){return this.pushStack(V(this,t||[],!0))},is:function(t){return!!V(this,"string"==typeof t&&F.test(t)?E(t):t||[],!1).length}});var U,W=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,r){var n,i;if(!t)return this;if(r=r||U,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:W.exec(t))||!n[1]&&e)return!e||e.jquery?(e||r).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),B.test(n[1])&&E.isPlainObject(e))for(n in e)v(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(i=b.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==r.ready?r.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,U=E(b);var H=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function G(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),r=e.length;return this.filter((function(){for(var t=0;t<r;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var r,n=0,i=this.length,o=[],a="string"!=typeof t&&E(t);if(!F.test(t))for(;n<i;n++)for(r=this[n];r&&r!==e;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&E.find.matchesSelector(r,t))){o.push(r);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?c.call(E(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return D(t,"parentNode")},parentsUntil:function(t,e,r){return D(t,"parentNode",r)},next:function(t){return G(t,"nextSibling")},prev:function(t){return G(t,"previousSibling")},nextAll:function(t){return D(t,"nextSibling")},prevAll:function(t){return D(t,"previousSibling")},nextUntil:function(t,e,r){return D(t,"nextSibling",r)},prevUntil:function(t,e,r){return D(t,"previousSibling",r)},siblings:function(t){return M((t.parentNode||{}).firstChild,t)},children:function(t){return M(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(k(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(r,n){var i=E.map(this,e,r);return"Until"!==t.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=E.filter(n,i)),this.length>1&&(Y[t]||E.uniqueSort(i),H.test(t)&&i.reverse()),this.pushStack(i)}}));var $=/[^\x20\t\r\n\f]+/g;function q(t){return t}function z(t){throw t}function X(t,e,r,n){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(r):t&&v(i=t.then)?i.call(t,e,r):e.apply(void 0,[t].slice(n))}catch(t){r.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match($)||[],(function(t,r){e[r]=!0})),e}(t):E.extend({},t);var e,r,n,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,n=e=!0;a.length;s=-1)for(r=a.shift();++s<o.length;)!1===o[s].apply(r[0],r[1])&&t.stopOnFalse&&(s=o.length,r=!1);t.memory||(r=!1),e=!1,i&&(o=r?[]:"")},l={add:function(){return o&&(r&&!e&&(s=o.length-1,a.push(r)),function e(r){E.each(r,(function(r,n){v(n)?t.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==x(n)&&e(n)}))}(arguments),r&&!e&&u()),this},remove:function(){return E.each(arguments,(function(t,e){for(var r;(r=E.inArray(e,o,r))>-1;)o.splice(r,1),r<=s&&s--})),this},has:function(t){return t?E.inArray(t,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||e||(o=r=""),this},locked:function(){return!!i},fireWith:function(t,r){return i||(r=[t,(r=r||[]).slice?r.slice():r],a.push(r),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(r){E.each(e,(function(e,n){var i=v(t[n[4]])&&t[n[4]];o[n[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(t<o)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(l)?i?l.call(n,a(o,e,q,i),a(o,e,z,i)):(o++,l.call(n,a(o,e,q,i),a(o,e,z,i),a(o,e,q,e.notifyWith))):(r!==q&&(s=void 0,u=[n]),(i||e.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,c.error),t+1>=o&&(r!==z&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),n.setTimeout(c))}}return E.Deferred((function(n){e[0][3].add(a(0,n,v(i)?i:q,n.notifyWith)),e[1][3].add(a(0,n,v(t)?t:q)),e[2][3].add(a(0,n,v(r)?r:z))})).promise()},promise:function(t){return null!=t?E.extend(t,i):i}},o={};return E.each(e,(function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add((function(){r=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[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),t&&t.call(o,o),o},when:function(t){var e=arguments.length,r=e,n=Array(r),i=s.call(arguments),o=E.Deferred(),a=function(t){return function(r){n[t]=this,i[t]=arguments.length>1?s.call(arguments):r,--e||o.resolveWith(n,i)}};if(e<=1&&(X(t,o.done(a(r)).resolve,o.reject,!e),"pending"===o.state()||v(i[r]&&i[r].then)))return o.then();for(;r--;)X(i[r],a(r),o.reject);return o.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Q.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){n.setTimeout((function(){throw t}))};var Z=E.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),n.removeEventListener("load",J),E.ready()}E.fn.ready=function(t){return Z.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||Z.resolveWith(b,[E]))}}),E.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",J),n.addEventListener("load",J));var K=function(t,e,r,n,i,o,a){var s=0,u=t.length,l=null==r;if("object"===x(r))for(s in i=!0,r)K(t,e,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,v(n)||(a=!0),l&&(a?(e.call(t,n),e=null):(l=e,e=function(t,e,r){return l.call(E(t),r)})),e))for(;s<u;s++)e(t[s],r,a?n:n.call(t[s],s,e(t[s],r)));return i?t:l?e.call(t):u?e(t[0],r):o},tt=/^-ms-/,et=/-([a-z])/g;function rt(t,e){return e.toUpperCase()}function nt(t){return t.replace(tt,"ms-").replace(et,rt)}var it=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function ot(){this.expando=E.expando+ot.uid++}ot.uid=1,ot.prototype={cache:function(t){var e=t[this.expando];return e||(e={},it(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,r){var n,i=this.cache(t);if("string"==typeof e)i[nt(e)]=r;else for(n in e)i[nt(n)]=e[n];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][nt(e)]},access:function(t,e,r){return void 0===e||e&&"string"==typeof e&&void 0===r?this.get(t,e):(this.set(t,e,r),void 0!==r?r:e)},remove:function(t,e){var r,n=t[this.expando];if(void 0!==n){if(void 0!==e){r=(e=Array.isArray(e)?e.map(nt):(e=nt(e))in n?[e]:e.match($)||[]).length;for(;r--;)delete n[e[r]]}(void 0===e||E.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var at=new ot,st=new ot,ut=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,lt=/[A-Z]/g;function ct(t,e,r){var n;if(void 0===r&&1===t.nodeType)if(n="data-"+e.replace(lt,"-$&").toLowerCase(),"string"==typeof(r=t.getAttribute(n))){try{r=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ut.test(t)?JSON.parse(t):t)}(r)}catch(t){}st.set(t,e,r)}else r=void 0;return r}E.extend({hasData:function(t){return st.hasData(t)||at.hasData(t)},data:function(t,e,r){return st.access(t,e,r)},removeData:function(t,e){st.remove(t,e)},_data:function(t,e,r){return at.access(t,e,r)},_removeData:function(t,e){at.remove(t,e)}}),E.fn.extend({data:function(t,e){var r,n,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=st.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=nt(n.slice(5)),ct(o,n,i[n]));at.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){st.set(this,t)})):K(this,(function(e){var r;if(o&&void 0===e)return void 0!==(r=st.get(o,t))||void 0!==(r=ct(o,t))?r:void 0;this.each((function(){st.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){st.remove(this,t)}))}}),E.extend({queue:function(t,e,r){var n;if(t)return e=(e||"fx")+"queue",n=at.get(t,e),r&&(!n||Array.isArray(r)?n=at.access(t,e,E.makeArray(r)):n.push(r)),n||[]},dequeue:function(t,e){e=e||"fx";var r=E.queue(t,e),n=r.length,i=r.shift(),o=E._queueHooks(t,e);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===e&&r.unshift("inprogress"),delete o.stop,i.call(t,(function(){E.dequeue(t,e)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var r=e+"queueHooks";return at.get(t,r)||at.access(t,r,{empty:E.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",r])}))})}}),E.fn.extend({queue:function(t,e){var r=2;return"string"!=typeof t&&(e=t,t="fx",r--),arguments.length<r?E.queue(this[0],t):void 0===e?this:this.each((function(){var r=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==r[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var r,n=1,i=E.Deferred(),o=this,a=this.length,s=function(){--n||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(r=at.get(o[a],t+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(e)}});var ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+ft+")([a-z%]*)$","i"),ht=["Top","Right","Bottom","Left"],pt=b.documentElement,gt=function(t){return E.contains(t.ownerDocument,t)},yt={composed:!0};pt.getRootNode&&(gt=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(yt)===t.ownerDocument});var vt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&>(t)&&"none"===E.css(t,"display")};function mt(t,e,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return E.css(t,e,"")},u=s(),l=r&&r[3]||(E.cssNumber[e]?"":"px"),c=t.nodeType&&(E.cssNumber[e]||"px"!==l&&+u)&&dt.exec(E.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)E.style(t,e,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,E.style(t,e,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 bt={};function wt(t){var e,r=t.ownerDocument,n=t.nodeName,i=bt[n];return i||(e=r.body.appendChild(r.createElement(n)),i=E.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),bt[n]=i,i)}function _t(t,e){for(var r,n,i=[],o=0,a=t.length;o<a;o++)(n=t[o]).style&&(r=n.style.display,e?("none"===r&&(i[o]=at.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&vt(n)&&(i[o]=wt(n))):"none"!==r&&(i[o]="none",at.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}E.fn.extend({show:function(){return _t(this,!0)},hide:function(){return _t(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){vt(this)?E(this).show():E(this).hide()}))}});var xt,St,Et=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,kt=/^$|^module$|\/(?:java|ecma)script/i;xt=b.createDocumentFragment().appendChild(b.createElement("div")),(St=b.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),xt.appendChild(St),y.checkClone=xt.cloneNode(!0).cloneNode(!0).lastChild.checked,xt.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!xt.cloneNode(!0).lastChild.defaultValue,xt.innerHTML="<option></option>",y.option=!!xt.lastChild;var Ot={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 At(t,e){var r;return r=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&k(t,e)?E.merge([t],r):r}function Ct(t,e){for(var r=0,n=t.length;r<n;r++)at.set(t[r],"globalEval",!e||at.get(e[r],"globalEval"))}Ot.tbody=Ot.tfoot=Ot.colgroup=Ot.caption=Ot.thead,Ot.th=Ot.td,y.option||(Ot.optgroup=Ot.option=[1,"<select multiple='multiple'>","</select>"]);var Pt=/<|&#?\w+;/;function jt(t,e,r,n,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),d=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===x(o))E.merge(d,o.nodeType?[o]:o);else if(Pt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(Tt.exec(o)||["",""])[1].toLowerCase(),u=Ot[s]||Ot._default,a.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;E.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(n&&E.inArray(o,n)>-1)i&&i.push(o);else if(l=gt(o),a=At(f.appendChild(o),"script"),l&&Ct(a),r)for(c=0;o=a[c++];)kt.test(o.type||"")&&r.push(o);return f}var Rt=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function It(){return!1}function Lt(t,e,r,n,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof r&&(n=n||r,r=void 0),e)Lt(t,s,r,n,e[s],o);return t}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=It;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return E().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),t.each((function(){E.event.add(this,e,i,n,r)}))}function Dt(t,e,r){r?(at.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var r,n=at.get(this,e);if(1&t.isTrigger&&this[e]){if(n)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=s.call(arguments),at.set(this,e,n),this[e](),r=at.get(this,e),at.set(this,e,!1),n!==r)return t.stopImmediatePropagation(),t.preventDefault(),r}else n&&(at.set(this,e,E.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Nt)}})):void 0===at.get(t,e)&&E.event.add(t,e,Nt)}E.event={global:{},add:function(t,e,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=at.get(t);if(it(t))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&E.find.matchesSelector(pt,i),r.guid||(r.guid=E.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match($)||[""]).length;l--;)h=g=(s=Rt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=E.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=E.event.special[h]||{},c=E.extend({type:h,origType:g,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,n,p,a)||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[h]=!0)},remove:function(t,e,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=at.hasData(t)&&at.get(t);if(y&&(u=y.events)){for(l=(e=(e||"").match($)||[""]).length;l--;)if(h=g=(s=Rt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=E.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(t,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,p,y.handle)||E.removeEvent(t,h,y.handle),delete u[h])}else for(h in u)E.event.remove(t,h+e[l],r,n,!0);E.isEmptyObject(u)&&at.remove(t,"handle events")}},dispatch:function(t){var e,r,n,i,o,a,s=new Array(arguments.length),u=E.event.fix(t),l=(at.get(this,"events")||Object.create(null))[u.type]||[],c=E.event.special[u.type]||{};for(s[0]=u,e=1;e<arguments.length;e++)s[e]=arguments[e];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=E.event.handlers.call(this,u,l),e=0;(i=a[e++])&&!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=((E.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(t,e){var r,n,i,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},r=0;r<u;r++)void 0===a[i=(n=e[r]).selector+" "]&&(a[i]=n.needsContext?E(i,this).index(l)>-1:E.find(i,this,null,[l]).length),a[i]&&o.push(n);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Et.test(e.type)&&e.click&&k(e,"input")&&Dt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Et.test(e.type)&&e.click&&k(e,"input")&&Dt(e,"click"),!0},_default:function(t){var e=t.target;return Et.test(e.type)&&e.click&&k(e,"input")&&at.get(e,"click")||k(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,r){t.removeEventListener&&t.removeEventListener(e,r)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Nt:It,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:It,isPropagationStopped:It,isImmediatePropagationStopped:It,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Nt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Nt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Nt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.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},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){function r(t){if(b.documentMode){var r=at.get(this,"handle"),n=E.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,r(t),n.target===n.currentTarget&&r(n)}else E.event.simulate(e,t.target,E.event.fix(t))}E.event.special[t]={setup:function(){var n;if(Dt(this,t,!0),!b.documentMode)return!1;(n=at.get(this,e))||this.addEventListener(e,r),at.set(this,e,(n||0)+1)},trigger:function(){return Dt(this,t),!0},teardown:function(){var t;if(!b.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,r),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},E.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=at.get(i,e);o||(b.documentMode?this.addEventListener(e,r):n.addEventListener(t,r,!0)),at.set(i,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=at.get(i,e)-1;o?at.set(i,e,o):(b.documentMode?this.removeEventListener(e,r):n.removeEventListener(t,r,!0),at.remove(i,e))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var r,n=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===n||E.contains(n,i))||(t.type=o.origType,r=o.handler.apply(this,arguments),t.type=e),r}}})),E.fn.extend({on:function(t,e,r,n){return Lt(this,t,e,r,n)},one:function(t,e,r,n){return Lt(this,t,e,r,n,1)},off:function(t,e,r){var n,i;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,E(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(r=e,e=void 0),!1===r&&(r=It),this.each((function(){E.event.remove(this,t,r,e)}))}});var Mt=/<script|<style|<link/i,Ft=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Vt(t,e){return k(t,"table")&&k(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ut(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Wt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var r,n,i,o,a,s;if(1===e.nodeType){if(at.hasData(t)&&(s=at.get(t).events))for(i in at.remove(e,"handle events"),s)for(r=0,n=s[i].length;r<n;r++)E.event.add(e,i,s[i][r]);st.hasData(t)&&(o=st.access(t),a=E.extend({},o),st.set(e,a))}}function Yt(t,e){var r=e.nodeName.toLowerCase();"input"===r&&Et.test(t.type)?e.checked=t.checked:"input"!==r&&"textarea"!==r||(e.defaultValue=t.defaultValue)}function Gt(t,e,r,n){e=u(e);var i,o,a,s,l,c,f=0,d=t.length,h=d-1,p=e[0],g=v(p);if(g||d>1&&"string"==typeof p&&!y.checkClone&&Ft.test(p))return t.each((function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),Gt(o,e,r,n)}));if(d&&(o=(i=jt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=E.map(At(i,"script"),Ut)).length;f<d;f++)l=i,f!==h&&(l=E.clone(l,!0,!0),s&&E.merge(a,At(l,"script"))),r.call(t[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,E.map(a,Wt),f=0;f<s;f++)l=a[f],kt.test(l.type||"")&&!at.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Bt,""),l,c))}return t}function $t(t,e,r){for(var n,i=e?E.filter(e,t):t,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||E.cleanData(At(n)),n.parentNode&&(r&>(n)&&Ct(At(n,"script")),n.parentNode.removeChild(n));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,r){var n,i,o,a,s=t.cloneNode(!0),u=gt(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(a=At(s),n=0,i=(o=At(t)).length;n<i;n++)Yt(o[n],a[n]);if(e)if(r)for(o=o||At(t),a=a||At(s),n=0,i=o.length;n<i;n++)Ht(o[n],a[n]);else Ht(t,s);return(a=At(s,"script")).length>0&&Ct(a,!u&&At(t,"script")),s},cleanData:function(t){for(var e,r,n,i=E.event.special,o=0;void 0!==(r=t[o]);o++)if(it(r)){if(e=r[at.expando]){if(e.events)for(n in e.events)i[n]?E.event.remove(r,n):E.removeEvent(r,n,e.handle);r[at.expando]=void 0}r[st.expando]&&(r[st.expando]=void 0)}}}),E.fn.extend({detach:function(t){return $t(this,t,!0)},remove:function(t){return $t(this,t)},text:function(t){return K(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Gt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Vt(this,t).appendChild(t)}))},prepend:function(){return Gt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Vt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Gt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Gt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(At(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return K(this,(function(t){var e=this[0]||{},r=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Mt.test(t)&&!Ot[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;r<n;r++)1===(e=this[r]||{}).nodeType&&(E.cleanData(At(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Gt(this,arguments,(function(e){var r=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(At(this)),r&&r.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var r,n=[],i=E(t),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),E(i[a])[e](r),l.apply(n,r.get());return this.pushStack(n)}}));var qt=new RegExp("^("+ft+")(?!px)[a-z%]+$","i"),zt=/^--/,Xt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Qt=function(t,e,r){var n,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in n=r.call(t),e)t.style[i]=o[i];return n},Zt=new RegExp(ht.join("|"),"i");function Jt(t,e,r){var n,i,o,a,s=zt.test(e),u=t.style;return(r=r||Xt(t))&&(a=r.getPropertyValue(e)||r[e],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||gt(t)||(a=E.style(t,e)),!y.pixelBoxStyles()&&qt.test(a)&&Zt.test(e)&&(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 Kt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){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%",pt.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,u=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),pt.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}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,E.extend(y,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==s&&(t=b.createElement("table"),e=b.createElement("tr"),r=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",r.style.height="9px",r.style.display="block",pt.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,pt.removeChild(t)),s}}))}();var te=["Webkit","Moz","ms"],ee=b.createElement("div").style,re={};function ne(t){var e=E.cssProps[t]||re[t];return e||(t in ee?t:re[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),r=te.length;r--;)if((t=te[r]+e)in ee)return t}(t)||t)}var ie=/^(none|table(?!-c[ea]).+)/,oe={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function se(t,e,r){var n=dt.exec(e);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):e}function ue(t,e,r,n,i,o){var a="width"===e?1:0,s=0,u=0,l=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=E.css(t,r+ht[a],!0,i)),n?("content"===r&&(u-=E.css(t,"padding"+ht[a],!0,i)),"margin"!==r&&(u-=E.css(t,"border"+ht[a]+"Width",!0,i))):(u+=E.css(t,"padding"+ht[a],!0,i),"padding"!==r?u+=E.css(t,"border"+ht[a]+"Width",!0,i):s+=E.css(t,"border"+ht[a]+"Width",!0,i));return!n&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))||0),u+l}function le(t,e,r){var n=Xt(t),i=(!y.boxSizingReliable()||r)&&"border-box"===E.css(t,"boxSizing",!1,n),o=i,a=Jt(t,e,n),s="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(a)){if(!r)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&k(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(t,"display",!1,n))&&t.getClientRects().length&&(i="border-box"===E.css(t,"boxSizing",!1,n),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ue(t,e,r||(i?"border":"content"),o,n,a)+"px"}function ce(t,e,r,n,i){return new ce.prototype.init(t,e,r,n,i)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var r=Jt(t,"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(t,e,r,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=nt(e),u=zt.test(e),l=t.style;if(u||(e=ne(s)),a=E.cssHooks[e]||E.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(t,!1,n))?i:l[e];"string"===(o=typeof r)&&(i=dt.exec(r))&&i[1]&&(r=mt(t,e,i),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=i&&i[3]||(E.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==r||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(r=a.set(t,r,n))||(u?l.setProperty(e,r):l[e]=r))}},css:function(t,e,r,n){var i,o,a,s=nt(e);return zt.test(e)||(e=ne(s)),(a=E.cssHooks[e]||E.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,r)),void 0===i&&(i=Jt(t,e,n)),"normal"===i&&e in ae&&(i=ae[e]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,r,n){if(r)return!ie.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?le(t,e,n):Qt(t,oe,(function(){return le(t,e,n)}))},set:function(t,r,n){var i,o=Xt(t),a=!y.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===E.css(t,"boxSizing",!1,o),u=n?ue(t,e,n,s,o):0;return s&&a&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ue(t,e,"border",!1,o)-.5)),u&&(i=dt.exec(r))&&"px"!==(i[3]||"px")&&(t.style[e]=r,r=E.css(t,e)),se(0,r,u)}}})),E.cssHooks.marginLeft=Kt(y.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[t+ht[n]+e]=o[n]||o[n-2]||o[0];return i}},"margin"!==t&&(E.cssHooks[t+e].set=se)})),E.fn.extend({css:function(t,e){return K(this,(function(t,e,r){var n,i,o={},a=0;if(Array.isArray(e)){for(n=Xt(t),i=e.length;a<i;a++)o[e[a]]=E.css(t,e[a],!1,n);return o}return void 0!==r?E.style(t,e,r):E.css(t,e)}),t,e,arguments.length>1)}}),E.Tween=ce,ce.prototype={constructor:ce,init:function(t,e,r,n,i,o){this.elem=t,this.prop=r,this.easing=i||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(E.cssNumber[r]?"":"px")},cur:function(){var t=ce.propHooks[this.prop];return t&&t.get?t.get(this):ce.propHooks._default.get(this)},run:function(t){var e,r=ce.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):ce.propHooks._default.set(this),this}},ce.prototype.init.prototype=ce.prototype,ce.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},ce.propHooks.scrollTop=ce.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=ce.prototype.init,E.fx.step={};var fe,de,he=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function ge(){de&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ge):n.setTimeout(ge,E.fx.interval),E.fx.tick())}function ye(){return n.setTimeout((function(){fe=void 0})),fe=Date.now()}function ve(t,e){var r,n=0,i={height:t};for(e=e?1:0;n<4;n+=2-e)i["margin"+(r=ht[n])]=i["padding"+r]=t;return e&&(i.opacity=i.width=t),i}function me(t,e,r){for(var n,i=(be.tweeners[e]||[]).concat(be.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,e,t))return n}function be(t,e,r){var n,i,o=0,a=be.prefilters.length,s=E.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var e=fe||ye(),r=Math.max(0,l.startTime+l.duration-e),n=1-(r/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(n);return s.notifyWith(t,[l,n,r]),n<1&&a?r:(a||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},r),originalProperties:e,originalOptions:r,startTime:fe||ye(),duration:r.duration,tweens:[],createTween:function(e,r){var n=E.Tween(t,l.opts,e,r,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var r=0,n=e?l.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)l.tweens[r].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(!function(t,e){var r,n,i,o,a;for(r in t)if(i=e[n=nt(r)],o=t[r],Array.isArray(o)&&(i=o[1],o=t[r]=o[0]),r!==n&&(t[n]=o,delete t[r]),(a=E.cssHooks[n])&&"expand"in a)for(r in o=a.expand(o),delete t[n],o)r in t||(t[r]=o[r],e[r]=i);else e[n]=i}(c,l.opts.specialEasing);o<a;o++)if(n=be.prefilters[o].call(l,t,c,l.opts))return v(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return E.map(c,me,l),v(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),E.fx.timer(E.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}E.Animation=E.extend(be,{tweeners:{"*":[function(t,e){var r=this.createTween(t,e);return mt(r.elem,t,dt.exec(e),r),r}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match($);for(var r,n=0,i=t.length;n<i;n++)r=t[n],be.tweeners[r]=be.tweeners[r]||[],be.tweeners[r].unshift(e)},prefilters:[function(t,e,r){var n,i,o,a,s,u,l,c,f="width"in e||"height"in e,d=this,h={},p=t.style,g=t.nodeType&&vt(t),y=at.get(t,"fxshow");for(n in r.queue||(null==(a=E._queueHooks(t,"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--,E.queue(t,"fx").length||a.empty.fire()}))}))),e)if(i=e[n],he.test(i)){if(delete e[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]||E.style(t,n)}if((u=!E.isEmptyObject(e))||!E.isEmptyObject(h))for(n in f&&1===t.nodeType&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=y&&y.display)&&(l=at.get(t,"display")),"none"===(c=E.css(t,"display"))&&(l?c=l:(_t([t],!0),l=t.style.display||l,c=E.css(t,"display"),_t([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===E.css(t,"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=at.access(t,"fxshow",{display:l}),o&&(y.hidden=!g),g&&_t([t],!0),d.done((function(){for(n in g||_t([t]),at.remove(t,"fxshow"),h)E.style(t,n,h[n])}))),u=me(g?y[n]:0,n,d),n in y||(y[n]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?be.prefilters.unshift(t):be.prefilters.push(t)}}),E.speed=function(t,e,r){var n=t&&"object"==typeof t?E.extend({},t):{complete:r||!r&&e||v(t)&&t,duration:t,easing:r&&e||e&&!v(e)&&e};return E.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in E.fx.speeds?n.duration=E.fx.speeds[n.duration]:n.duration=E.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&E.dequeue(this,n.queue)},n},E.fn.extend({fadeTo:function(t,e,r,n){return this.filter(vt).css("opacity",0).show().end().animate({opacity:e},t,r,n)},animate:function(t,e,r,n){var i=E.isEmptyObject(t),o=E.speed(e,r,n),a=function(){var e=be(this,E.extend({},t),o);(i||at.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,r){var n=function(t){var e=t.stop;delete t.stop,e(r)};return"string"!=typeof t&&(r=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=E.timers,a=at.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&&pe.test(i)&&n(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(r),e=!1,o.splice(i,1));!e&&r||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,r=at.get(this),n=r[t+"queue"],i=r[t+"queueHooks"],o=E.timers,a=n?n.length:0;for(r.finish=!0,E.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete r.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var r=E.fn[e];E.fn[e]=function(t,n,i){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(ve(e,!0),t,n,i)}})),E.each({slideDown:ve("show"),slideUp:ve("hide"),slideToggle:ve("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,r,n){return this.animate(e,t,r,n)}})),E.timers=[],E.fx.tick=function(){var t,e=0,r=E.timers;for(fe=Date.now();e<r.length;e++)(t=r[e])()||r[e]!==t||r.splice(e--,1);r.length||E.fx.stop(),fe=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){de||(de=!0,ge())},E.fx.stop=function(){de=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",y.checkOn=""!==t.value,y.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",y.radioValue="t"===t.value}();var we,_e=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return K(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,r){var n,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?E.prop(t,e,r):(1===o&&E.isXMLDoc(t)||(i=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?we:void 0)),void 0!==r?null===r?void E.removeAttr(t,e):i&&"set"in i&&void 0!==(n=i.set(t,r,e))?n:(t.setAttribute(e,r+""),r):i&&"get"in i&&null!==(n=i.get(t,e))?n:null==(n=E.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&k(t,"input")){var r=t.value;return t.setAttribute("type",e),r&&(t.value=r),e}}}},removeAttr:function(t,e){var r,n=0,i=e&&e.match($);if(i&&1===t.nodeType)for(;r=i[n++];)t.removeAttribute(r)}}),we={set:function(t,e,r){return!1===e?E.removeAttr(t,r):t.setAttribute(r,r),r}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var r=_e[e]||E.find.attr;_e[e]=function(t,e,n){var i,o,a=e.toLowerCase();return n||(o=_e[a],_e[a]=i,i=null!=r(t,e,n)?a:null,_e[a]=o),i}}));var xe=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function Ee(t){return(t.match($)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function ke(t){return Array.isArray(t)?t:"string"==typeof t&&t.match($)||[]}E.fn.extend({prop:function(t,e){return K(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,r){var n,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(t)||(e=E.propFix[e]||e,i=E.propHooks[e]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(t,r,e))?n:t[e]=r:i&&"get"in i&&null!==(n=i.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):xe.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,r,n,i,o,a;return v(t)?this.each((function(e){E(this).addClass(t.call(this,e,Te(this)))})):(e=ke(t)).length?this.each((function(){if(n=Te(this),r=1===this.nodeType&&" "+Ee(n)+" "){for(o=0;o<e.length;o++)i=e[o],r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Ee(r),n!==a&&this.setAttribute("class",a)}})):this},removeClass:function(t){var e,r,n,i,o,a;return v(t)?this.each((function(e){E(this).removeClass(t.call(this,e,Te(this)))})):arguments.length?(e=ke(t)).length?this.each((function(){if(n=Te(this),r=1===this.nodeType&&" "+Ee(n)+" "){for(o=0;o<e.length;o++)for(i=e[o];r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Ee(r),n!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(t,e){var r,n,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each((function(r){E(this).toggleClass(t.call(this,r,Te(this),e),e)})):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(r=ke(t),this.each((function(){if(s)for(o=E(this),i=0;i<r.length;i++)n=r[i],o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==t&&"boolean"!==a||((n=Te(this))&&at.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,r,n=0;for(e=" "+t+" ";r=this[n++];)if(1===r.nodeType&&(" "+Ee(Te(r))+" ").indexOf(e)>-1)return!0;return!1}});var Oe=/\r/g;E.fn.extend({val:function(t){var e,r,n,i=this[0];return arguments.length?(n=v(t),this.each((function(r){var i;1===this.nodeType&&(null==(i=n?t.call(this,r,E(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(r=e.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(Oe,""):null==r?"":r:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:Ee(E.text(t))}},select:{get:function(t){var e,r,n,i=t.options,o=t.selectedIndex,a="select-one"===t.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||!k(r.parentNode,"optgroup"))){if(e=E(r).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var r,n,i=t.options,o=E.makeArray(e),a=i.length;a--;)((n=i[a]).selected=E.inArray(E.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(t.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},y.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Ae=n.location,Ce={guid:Date.now()},Pe=/\?/;E.parseXML=function(t){var e,r;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return r=e&&e.getElementsByTagName("parsererror")[0],e&&!r||E.error("Invalid XML: "+(r?E.map(r.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var je=/^(?:focusinfocus|focusoutblur)$/,Re=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,r,i){var o,a,s,u,l,c,f,d,p=[r||b],g=h.call(t,"type")?t.type:t,y=h.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!je.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:E.makeArray(e,[t]),f=E.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(r,e))){if(!i&&!f.noBubble&&!m(r)){for(u=f.delegateType||g,je.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++])&&!t.isPropagationStopped();)d=a,t.type=o>1?u:f.bindType||g,(c=(at.get(a,"events")||Object.create(null))[t.type]&&at.get(a,"handle"))&&c.apply(a,e),(c=l&&a[l])&&c.apply&&it(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),e)||!it(r)||l&&v(r[g])&&!m(r)&&((s=r[l])&&(r[l]=null),E.event.triggered=g,t.isPropagationStopped()&&d.addEventListener(g,Re),r[g](),t.isPropagationStopped()&&d.removeEventListener(g,Re),E.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(t,e,r){var n=E.extend(new E.Event,r,{type:t,isSimulated:!0});E.event.trigger(n,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var r=this[0];if(r)return E.event.trigger(t,e,r,!0)}});var Ne=/\[\]$/,Ie=/\r?\n/g,Le=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function Me(t,e,r,n){var i;if(Array.isArray(e))E.each(e,(function(e,i){r||Ne.test(t)?n(t,i):Me(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,r,n)}));else if(r||"object"!==x(e))n(t,e);else for(i in e)Me(t+"["+i+"]",e[i],r,n)}E.param=function(t,e){var r,n=[],i=function(t,e){var r=v(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==r?"":r)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){i(this.name,this.value)}));else for(r in t)Me(r,t[r],e,i);return n.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&De.test(this.nodeName)&&!Le.test(t)&&(this.checked||!Et.test(t))})).map((function(t,e){var r=E(this).val();return null==r?null:Array.isArray(r)?E.map(r,(function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}})):{name:e.name,value:r.replace(Ie,"\r\n")}})).get()}});var Fe=/%20/g,Be=/#.*$/,Ve=/([?&])_=[^&]*/,Ue=/^(.*?):[ \t]*([^\r\n]*)$/gm,We=/^(?:GET|HEAD)$/,He=/^\/\//,Ye={},Ge={},$e="*/".concat("*"),qe=b.createElement("a");function ze(t){return function(e,r){"string"!=typeof e&&(r=e,e="*");var n,i=0,o=e.toLowerCase().match($)||[];if(v(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(r)):(t[n]=t[n]||[]).push(r)}}function Xe(t,e,r,n){var i={},o=t===Ge;function a(s){var u;return i[s]=!0,E.each(t[s]||[],(function(t,s){var l=s(e,r,n);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(e.dataTypes.unshift(l),a(l),!1)})),u}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Qe(t,e){var r,n,i=E.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&E.extend(!0,t,n),t}qe.href=Ae.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$e,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Qe(Qe(t,E.ajaxSettings),e):Qe(E.ajaxSettings,t)},ajaxPrefilter:ze(Ye),ajaxTransport:ze(Ge),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,a,s,u,l,c,f,d,h=E.ajaxSetup({},e),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?E(p):E.event,y=E.Deferred(),v=E.Callbacks("once memory"),m=h.statusCode||{},w={},_={},x="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(l){if(!a)for(a={};e=Ue.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)S.always(t[S.status]);else for(e in t)m[e]=[m[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),T(0,e),this}};if(y.promise(S),h.url=((t||h.url||Ae.href)+"").replace(He,Ae.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match($)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=qe.protocol+"//"+qe.host!=u.protocol+"//"+u.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=E.param(h.data,h.traditional)),Xe(Ye,h,e,S),l)return S;for(f in(c=E.event&&h.global)&&0==E.active++&&E.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!We.test(h.type),i=h.url.replace(Be,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Fe,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Pe.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ve,"$1"),d=(Pe.test(i)?"&":"?")+"_="+Ce.guid+++d),h.url=i+d),h.ifModified&&(E.lastModified[i]&&S.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&S.setRequestHeader("If-None-Match",E.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||e.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]?", "+$e+"; 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",v.add(h.complete),S.done(h.success),S.fail(h.error),r=Xe(Ge,h,e,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,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,a,u){var f,d,b,w,_,x=e;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",S.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(w=function(t,e,r){for(var n,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=t.mimeType||e.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]||t.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&&E.inArray("script",h.dataTypes)>-1&&E.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(t,e,r,n){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(r[t.responseFields[o]]=e),!u&&n&&t.dataFilter&&(e=t.dataFilter(e,t.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&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(h,w,S,f),f?(h.ifModified&&((_=S.getResponseHeader("Last-Modified"))&&(E.lastModified[i]=_),(_=S.getResponseHeader("etag"))&&(E.etag[i]=_)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=w.state,d=w.data,f=!(b=w.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),S.status=t,S.statusText=(e||x)+"",f?y.resolveWith(p,[d,x,S]):y.rejectWith(p,[S,x,b]),S.statusCode(m),m=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[S,h,f?d:b]),v.fireWith(p,[S,x]),c&&(g.trigger("ajaxComplete",[S,h]),--E.active||E.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,r){return E.get(t,e,r,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,r,n,i){return v(r)&&(i=i||n,n=r,r=void 0),E.ajax(E.extend({url:t,type:e,dataType:i,data:r,success:n},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,r){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,r)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),r=e.contents();r.length?r.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(r){E(this).wrapAll(e?t.call(this,r):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Je=E.ajaxSettings.xhr();y.cors=!!Je&&"withCredentials"in Je,y.ajax=Je=!!Je,E.ajaxTransport((function(t){var e,r;if(y.cors||Je&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ze[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){e&&r()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,r;if(t.crossDomain||t.scriptAttrs)return{send:function(n,i){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",r=function(t){e.remove(),r=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){r&&r()}}}));var Ke,tr=[],er=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tr.pop()||E.expando+"_"+Ce.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,r){var i,o,a,s=!1!==t.jsonp&&(er.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&er.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(er,"$1"+i):!1!==t.jsonp&&(t.url+=(Pe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||E.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always((function(){void 0===o?E(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,tr.push(i)),a&&v(o)&&o(a[0]),a=o=void 0})),"script"})),y.createHTMLDocument=((Ke=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ke.childNodes.length),E.parseHTML=function(t,e,r){return"string"!=typeof t?[]:("boolean"==typeof e&&(r=e,e=!1),e||(y.createHTMLDocument?((n=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(n)):e=b),o=!r&&[],(i=B.exec(t))?[e.createElement(i[1])]:(i=jt([t],e,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var n,i,o},E.fn.load=function(t,e,r){var n,i,o,a=this,s=t.indexOf(" ");return s>-1&&(n=Ee(t.slice(s)),t=t.slice(0,s)),v(e)?(r=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&E.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(n?E("<div>").append(E.parseHTML(t)).find(n):t)})).always(r&&function(t,e){a.each((function(){r.apply(this,o||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,r){var n,i,o,a,s,u,l=E.css(t,"position"),c=E(t),f={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=E.css(t,"top"),u=E.css(t,"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),v(e)&&(e=e.call(t,r,E.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,r,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:e.top+r.pageYOffset,left:e.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,r,n=this[0],i={top:0,left:0};if("fixed"===E.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),r=n.ownerDocument,t=n.offsetParent||r.documentElement;t&&(t===r.body||t===r.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((i=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),i.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-E.css(n,"marginTop",!0),left:e.left-i.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||pt}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var r="pageYOffset"===e;E.fn[t]=function(n){return K(this,(function(t,n,i){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[n];o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):t[n]=i}),t,n,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=Kt(y.pixelPosition,(function(t,r){if(r)return r=Jt(t,e),qt.test(r)?E(t).position()[e]+"px":r}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(r,n){E.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(!0===i||!0===o?"margin":"border");return K(this,(function(e,r,i){var o;return m(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?E.css(e,r,s):E.style(e,r,i,s)}),e,a?i:void 0,a)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.fn.extend({bind:function(t,e,r){return this.on(t,null,e,r)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,r,n){return this.on(e,t,r,n)},undelegate:function(t,e,r){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",r)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){E.fn[e]=function(t,r){return arguments.length>0?this.on(e,null,t,r):this.trigger(e)}}));var rr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var r,n,i;if("string"==typeof e&&(r=t[e],e=t,t=r),v(t))return n=s.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(s.call(arguments)))}).guid=t.guid=t.guid||E.guid++,i},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=k,E.isFunction=v,E.isWindow=m,E.camelCase=nt,E.type=x,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(rr,"$1")},void 0===(r=function(){return E}.apply(e,[]))||(t.exports=r);var nr=n.jQuery,ir=n.$;return E.noConflict=function(t){return n.$===E&&(n.$=ir),t&&n.jQuery===E&&(n.jQuery=nr),E},void 0===i&&(n.jQuery=n.$=E),E}))},2568:(t,e,r)=>{var n,i,o,a,s;n=r(71012),i=r(40487).utf8,o=r(48738),a=r(40487).bin,(s=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?a.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var r=n.bytesToWords(t),u=8*t.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,v=s._ii;for(h=0;h<r.length;h+=16){var m=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=v(l,c=y(c,f,d,l,r[h+2],23,-995338651),f,d,r[h+0],6,-198630844),d=v(d,l,c,f,r[h+7],10,1126891415),f=v(f,d,l,c,r[h+14],15,-1416354905),c=v(c,f,d,l,r[h+5],21,-57434055),l=v(l,c,f,d,r[h+12],6,1700485571),d=v(d,l,c,f,r[h+3],10,-1894986606),f=v(f,d,l,c,r[h+10],15,-1051523),c=v(c,f,d,l,r[h+1],21,-2054922799),l=v(l,c,f,d,r[h+8],6,1873313359),d=v(d,l,c,f,r[h+15],10,-30611744),f=v(f,d,l,c,r[h+6],15,-1560198380),c=v(c,f,d,l,r[h+13],21,1309151649),l=v(l,c,f,d,r[h+4],6,-145523070),d=v(d,l,c,f,r[h+11],10,-1120210379),f=v(f,d,l,c,r[h+2],15,718787259),c=v(c,f,d,l,r[h+9],21,-343485551),l=l+m>>>0,c=c+b>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([l,c,f,d])})._ff=function(t,e,r,n,i,o,a){var s=t+(e&r|~e&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._gg=function(t,e,r,n,i,o,a){var s=t+(e&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._hh=function(t,e,r,n,i,o,a){var s=t+(e^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._ii=function(t,e,r,n,i,o,a){var s=t+(r^(e|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(s(t,e));return e&&e.asBytes?r:e&&e.asString?a.bytesToString(r):n.bytesToHex(r)}},30381:function(t,e,r){(t=r.nmd(t)).exports=function(){"use strict";var e,r;function n(){return e.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function u(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var r,n=[],i=t.length;for(r=0;r<i;++r)n.push(e(t[r],r));return n}function d(t,e){for(var r in e)a(e,r)&&(t[r]=e[r]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,r,n){return Ee(t,e,r,n,!0).utc()}function p(t){return null==t._pf&&(t._pf={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}),t._pf}function g(t){var e=null,n=!1,i=t._d&&!isNaN(t._d.getTime());return i&&(e=p(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)),null!=Object.isFrozen&&Object.isFrozen(t)?i:(t._isValid=i,t._isValid)}function y(t){var e=h(NaN);return null!=t?d(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),n=r.length>>>0;for(e=0;e<n;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var v=n.momentProperties=[],m=!1;function b(t,e){var r,n,i,o=v.length;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=p(e)),u(e._locale)||(t._locale=e._locale),o>0)for(r=0;r<o;r++)u(i=e[n=v[r]])||(t[n]=i);return t}function w(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===m&&(m=!0,n.updateOffset(this),m=!1)}function _(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function x(t){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var r=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),r){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var E,T={};function k(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),T[t]||(x(e),T[t]=!0)}function O(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var r,n=d({},t);for(r in e)a(e,r)&&(o(t[r])&&o(e[r])?(n[r]={},d(n[r],t[r]),d(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(r in t)a(t,r)&&!a(e,r)&&o(t[r])&&(n[r]=d({},n[r]));return n}function C(t){null!=t&&this.set(t)}function P(t,e,r){var n=""+Math.abs(t),i=e-n.length;return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,E=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)a(t,e)&&r.push(e);return r};var j=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},I={};function L(t,e,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),t&&(I[t]=i),e&&(I[e[0]]=function(){return P(i.apply(this,arguments),e[1],e[2])}),r&&(I[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function D(t,e){return t.isValid()?(e=M(e,t.localeData()),N[e]=N[e]||function(t){var e,r,n,i=t.match(j);for(e=0,r=i.length;e<r;e++)I[i[e]]?i[e]=I[i[e]]:i[e]=(n=i[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<r;n++)o+=O(i[n])?i[n].call(e,t):i[n];return o}}(e),N[e](t)):t.localeData().invalidDate()}function M(t,e){var r=5;function n(t){return e.longDateFormat(t)||t}for(R.lastIndex=0;r>=0&&R.test(t);)t=t.replace(R,n),R.lastIndex=0,r-=1;return t}var F={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 B(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function V(t){var e,r,n={};for(r in t)a(t,r)&&(e=B(r))&&(n[e]=t[r]);return n}var U,W={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},H=/\d/,Y=/\d\d/,G=/\d{3}/,$=/\d{4}/,q=/[+-]?\d{6}/,z=/\d\d?/,X=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,J=/\d{1,4}/,K=/[+-]?\d{1,6}/,tt=/\d+/,et=/[+-]?\d+/,rt=/Z|[+-]\d\d:?\d\d/gi,nt=/Z|[+-]\d\d(?::?\d\d)?/gi,it=/[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,ot=/^[1-9]\d?/,at=/^([1-9]\d|\d)/;function st(t,e,r){U[t]=O(e)?e:function(t,n){return t&&r?r:e}}function ut(t,e){return a(U,t)?U[t](e._strict,e._locale):new RegExp(function(t){return lt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,n,i){return e||r||n||i})))}(t))}function lt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ct(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ft(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=ct(e)),r}U={};var dt={};function ht(t,e){var r,n,i=e;for("string"==typeof t&&(t=[t]),l(e)&&(i=function(t,r){r[e]=ft(t)}),n=t.length,r=0;r<n;r++)dt[t[r]]=i}function pt(t,e){ht(t,(function(t,r,n,i){n._w=n._w||{},e(t,n._w,n,i)}))}function gt(t,e,r){null!=e&&a(dt,t)&&dt[t](e,r._a,r,t)}function yt(t){return t%4==0&&t%100!=0||t%400==0}function vt(t){return yt(t)?366:365}L("Y",0,0,(function(){var t=this.year();return t<=9999?P(t,4):"+"+t})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),st("Y",et),st("YY",z,Y),st("YYYY",J,$),st("YYYYY",K,q),st("YYYYYY",K,q),ht(["YYYYY","YYYYYY"],0),ht("YYYY",(function(t,e){e[0]=2===t.length?n.parseTwoDigitYear(t):ft(t)})),ht("YY",(function(t,e){e[0]=n.parseTwoDigitYear(t)})),ht("Y",(function(t,e){e[0]=parseInt(t,10)})),n.parseTwoDigitYear=function(t){return ft(t)+(ft(t)>68?1900:2e3)};var mt,bt=wt("FullYear",!0);function wt(t,e){return function(r){return null!=r?(xt(this,t,r),n.updateOffset(this,e),this):_t(this,t)}}function _t(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){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 xt(t,e,r){var n,i,o,a,s;if(t.isValid()&&!isNaN(r)){switch(n=t._d,i=t._isUTC,e){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=t.month(),s=29!==(s=t.date())||1!==a||yt(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function St(t,e){if(isNaN(t)||isNaN(e))return NaN;var r,n=(e%(r=12)+r)%r;return t+=(e-n)/12,1===n?yt(t)?29:28:31-n%7%2}mt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),L("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),st("M",z,ot),st("MM",z,Y),st("MMM",(function(t,e){return e.monthsShortRegex(t)})),st("MMMM",(function(t,e){return e.monthsRegex(t)})),ht(["M","MM"],(function(t,e){e[1]=ft(t)-1})),ht(["MMM","MMMM"],(function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);null!=i?e[1]=i:p(r).invalidMonth=t}));var Et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ot=it,At=it;function Ct(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===e?-1!==(i=mt.call(this._shortMonthsParse,a))?i:null:-1!==(i=mt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=mt.call(this._shortMonthsParse,a))||-1!==(i=mt.call(this._longMonthsParse,a))?i:null:-1!==(i=mt.call(this._longMonthsParse,a))||-1!==(i=mt.call(this._shortMonthsParse,a))?i:null}function Pt(t,e){if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=ft(e);else if(!l(e=t.localeData().monthsParse(e)))return t;var r=e,n=t.date();return n=n<29?n:Math.min(n,St(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function jt(t){return null!=t?(Pt(this,t),n.updateOffset(this,!0),this):_t(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}var e,r,n,i,o=[],a=[],s=[];for(e=0;e<12;e++)r=h([2e3,e]),n=lt(this.monthsShort(r,"")),i=lt(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(t),a.sort(t),s.sort(t),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 Nt(t,e,r,n,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,i,o,a),s}function It(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Lt(t,e,r){var n=7+e-r;return-(7+It(t,0,n).getUTCDay()-e)%7+n-1}function Dt(t,e,r,n,i){var o,a,s=1+7*(e-1)+(7+r-n)%7+Lt(t,n,i);return s<=0?a=vt(o=t-1)+s:s>vt(t)?(o=t+1,a=s-vt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Mt(t,e,r){var n,i,o=Lt(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Ft(i=t.year()-1,e,r):a>Ft(t.year(),e,r)?(n=a-Ft(t.year(),e,r),i=t.year()+1):(i=t.year(),n=a),{week:n,year:i}}function Ft(t,e,r){var n=Lt(t,e,r),i=Lt(t+1,e,r);return(vt(t)-n+i)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),st("w",z,ot),st("ww",z,Y),st("W",z,ot),st("WW",z,Y),pt(["w","ww","W","WW"],(function(t,e,r,n){e[n.substr(0,1)]=ft(t)})),L("d",0,"do","day"),L("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),L("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),L("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),st("d",z),st("e",z),st("E",z),st("dd",(function(t,e){return e.weekdaysMinRegex(t)})),st("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),st("dddd",(function(t,e){return e.weekdaysRegex(t)})),pt(["dd","ddd","dddd"],(function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);null!=i?e.d=i:p(r).invalidWeekday=t})),pt(["d","e","E"],(function(t,e,r,n){e[n]=ft(t)}));var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ht=it,Yt=it,Gt=it;function $t(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=h([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"===e?-1!==(i=mt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=mt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=mt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=mt.call(this._weekdaysParse,a))||-1!==(i=mt.call(this._shortWeekdaysParse,a))||-1!==(i=mt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=mt.call(this._shortWeekdaysParse,a))||-1!==(i=mt.call(this._weekdaysParse,a))||-1!==(i=mt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=mt.call(this._minWeekdaysParse,a))||-1!==(i=mt.call(this._weekdaysParse,a))||-1!==(i=mt.call(this._shortWeekdaysParse,a))?i:null}function qt(){function t(t,e){return e.length-t.length}var e,r,n,i,o,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)r=h([2e3,1]).day(e),n=lt(this.weekdaysMin(r,"")),i=lt(this.weekdaysShort(r,"")),o=lt(this.weekdays(r,"")),a.push(n),s.push(i),u.push(o),l.push(n),l.push(i),l.push(o);a.sort(t),s.sort(t),u.sort(t),l.sort(t),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 Xt(t,e){L(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Qt(t,e){return e._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,zt),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+zt.apply(this)+P(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+zt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Xt("a",!0),Xt("A",!1),st("a",Qt),st("A",Qt),st("H",z,at),st("h",z,ot),st("k",z,ot),st("HH",z,Y),st("hh",z,Y),st("kk",z,Y),st("hmm",X),st("hmmss",Q),st("Hmm",X),st("Hmmss",Q),ht(["H","HH"],3),ht(["k","kk"],(function(t,e,r){var n=ft(t);e[3]=24===n?0:n})),ht(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),ht(["h","hh"],(function(t,e,r){e[3]=ft(t),p(r).bigHour=!0})),ht("hmm",(function(t,e,r){var n=t.length-2;e[3]=ft(t.substr(0,n)),e[4]=ft(t.substr(n)),p(r).bigHour=!0})),ht("hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=ft(t.substr(0,n)),e[4]=ft(t.substr(n,2)),e[5]=ft(t.substr(i)),p(r).bigHour=!0})),ht("Hmm",(function(t,e,r){var n=t.length-2;e[3]=ft(t.substr(0,n)),e[4]=ft(t.substr(n))})),ht("Hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=ft(t.substr(0,n)),e[4]=ft(t.substr(n,2)),e[5]=ft(t.substr(i))}));var Zt,Jt=wt("Hours",!0),Kt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Et,monthsShort:Tt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Wt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function re(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var r=null;if(void 0===te[e]&&t&&t.exports&&function(t){return!(!t||!t.match("^[^/\\\\]*$"))}(e))try{r=Zt._abbr,Object(function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}()),oe(r)}catch(t){te[e]=null}return te[e]}function oe(t,e){var r;return t&&((r=u(e)?se(t):ae(t,e))?Zt=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ae(t,e){if(null!==e){var r,n=Kt;if(e.abbr=t,null!=te[t])k("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=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])n=te[e.parentLocale]._config;else{if(null==(r=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;n=r._config}return te[t]=new C(A(n,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),oe(t),te[t]}return delete te[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!i(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,r,n,i,o=0;o<t.length;){for(e=(i=ne(t[o]).split("-")).length,r=(r=ne(t[o+1]))?r.split("-"):null;e>0;){if(n=ie(i.slice(0,e).join("-")))return n;if(r&&r.length>=e&&re(i,r)>=e-1)break;e--}o++}return Zt}(t)}function ue(t){var e,r=t._a;return r&&-2===p(t).overflow&&(e=r[1]<0||r[1]>11?1:r[2]<1||r[2]>St(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}var le=/^\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)?)?$/,ce=/^\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)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,de=[["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]],he=[["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/]],pe=/^\/?Date\((-?\d+)/i,ge=/^(?:(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}))$/,ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t){var e,r,n,i,o,a,s=t._i,u=le.exec(s)||ce.exec(s),l=de.length,c=he.length;if(u){for(p(t).iso=!0,e=0,r=l;e<r;e++)if(de[e][1].exec(u[1])){i=de[e][0],n=!1!==de[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,r=c;e<r;e++)if(he[e][1].exec(u[3])){o=(u[2]||" ")+he[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(u[4]){if(!fe.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),xe(t)}else t._isValid=!1}function me(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function be(t){var e,r,n,i,o,a,s,u,l=ge.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(r=l[4],n=l[3],i=l[2],o=l[5],a=l[6],s=l[7],u=[me(r),Tt.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&u.push(parseInt(s,10)),e=u,!function(t,e,r){return!t||Ut.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(p(r).weekdayMismatch=!0,r._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,r){if(t)return ye[t];if(e)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(l[8],l[9],l[10]),t._d=It.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function we(t,e,r){return null!=t?t:null!=e?e:r}function _e(t){var e,r,i,o,a,s=[];if(!t._d){for(i=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,r,n,i,o,a,s,u,l;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,r=we(e.GG,t._a[0],Mt(Te(),1,4).year),n=we(e.W,1),((i=we(e.E,1))<1||i>7)&&(u=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=Mt(Te(),o,a),r=we(e.gg,t._a[0],l.year),n=we(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),n<1||n>Ft(r,o,a)?p(t)._overflowWeeks=!0:null!=u?p(t)._overflowWeekday=!0:(s=Dt(r,n,i,o,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=we(t._a[0],i[0]),(t._dayOfYear>vt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),r=It(a,0,t._dayOfYear),t._a[1]=r.getUTCMonth(),t._a[2]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?It:Nt).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}function xe(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],p(t).empty=!0;var e,r,i,o,a,s,u,l=""+t._i,c=l.length,f=0;for(u=(i=M(t._f,t._locale).match(j)||[]).length,e=0;e<u;e++)o=i[e],(r=(l.match(ut(o,t))||[])[0])&&((a=l.substr(0,l.indexOf(r))).length>0&&p(t).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),f+=r.length),I[o]?(r?p(t).empty=!1:p(t).unusedTokens.push(o),gt(o,r,t)):t._strict&&!r&&p(t).unusedTokens.push(o);p(t).charsLeftOver=c-f,l.length>0&&p(t).unusedInput.push(l),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((n=t.isPM(r))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=p(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),_e(t),ue(t)}else be(t);else ve(t)}function Se(t){var e=t._i,r=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===r&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),_(e)?new w(ue(e)):(c(e)?t._d=e:i(r)?function(t){var e,r,n,i,o,a,s=!1,u=t._f.length;if(0===u)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],xe(e),g(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,r=e):(null==n||o<n||a)&&(n=o,r=e,a&&(s=!0));d(t,r||e)}(t):r?xe(t):function(t){var e=t._i;u(e)?t._d=new Date(n.now()):c(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=pe.exec(t._i);null===e?(ve(t),!1===t._isValid&&(delete t._isValid,be(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:n.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):i(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),_e(t)):o(e)?function(t){if(!t._d){var e=V(t._i),r=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),_e(t)}}(t):l(e)?t._d=new Date(e):n.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Ee(t,e,r,n,a){var u,l={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(t)&&s(t)||i(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=r,l._i=t,l._f=e,l._strict=n,(u=new w(ue(Se(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function Te(t,e,r,n){return Ee(t,e,r,n,!1)}n.createFromInputFallback=S("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var ke=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()})),Oe=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:y()}));function Ae(t,e){var r,n;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Te();for(r=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](r)||(r=e[n]);return r}var Ce=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var e=V(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,u=e.hour||0,l=e.minute||0,c=e.second||0,f=e.millisecond||0;this._isValid=function(t){var e,r,n=!1,i=Ce.length;for(e in t)if(a(t,e)&&(-1===mt.call(Ce,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<i;++r)if(t[Ce[r]]){if(n)return!1;parseFloat(t[Ce[r]])!==ft(t[Ce[r]])&&(n=!0)}return!0}(e),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+s+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=se(),this._bubble()}function je(t){return t instanceof Pe}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){L(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+P(~~(t/60),2)+e+P(~~t%60,2)}))}Ne("Z",":"),Ne("ZZ",""),st("Z",nt),st("ZZ",nt),ht(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=Le(nt,t)}));var Ie=/([\+\-]|\d\d)/gi;function Le(t,e){var r,n,i=(e||"").match(t);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Ie)||["-",0,0])[1]+ft(r[2]))?0:"+"===r[0]?n:-n}function De(t,e){var r,i;return e._isUTC?(r=e.clone(),i=(_(t)||c(t)?t.valueOf():Te(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Te(t).local()}function Me(t){return-Math.round(t._d.getTimezoneOffset())}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ve=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ue(t,e){var r,n,i,o,s,u,c=t,f=null;return je(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:l(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(f=Be.exec(t))?(r="-"===f[1]?-1:1,c={y:0,d:ft(f[2])*r,h:ft(f[3])*r,m:ft(f[4])*r,s:ft(f[5])*r,ms:ft(Re(1e3*f[6]))*r}):(f=Ve.exec(t))?(r="-"===f[1]?-1:1,c={y:We(f[2],r),M:We(f[3],r),w:We(f[4],r),d:We(f[5],r),h:We(f[6],r),m:We(f[7],r),s:We(f[8],r)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Te(c.from),s=Te(c.to),i=o.isValid()&&s.isValid()?(s=De(s,o),o.isBefore(s)?u=He(o,s):((u=He(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),n=new Pe(c),je(t)&&a(t,"_locale")&&(n._locale=t._locale),je(t)&&a(t,"_isValid")&&(n._isValid=t._isValid),n}function We(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function He(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Ye(t,e){return function(r,n){var i;return null===n||isNaN(+n)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),Ge(this,Ue(r,n),t),this}}function Ge(t,e,r,i){var o=e._milliseconds,a=Re(e._days),s=Re(e._months);t.isValid()&&(i=null==i||i,s&&Pt(t,_t(t,"Month")+s*r),a&&xt(t,"Date",_t(t,"Date")+a*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&n.updateOffset(t,a||s))}Ue.fn=Pe.prototype,Ue.invalid=function(){return Ue(NaN)};var $e=Ye(1,"add"),qe=Ye(-1,"subtract");function ze(t){return"string"==typeof t||t instanceof String}function Xe(t){return _(t)||c(t)||ze(t)||l(t)||function(t){var e=i(t),r=!1;return e&&(r=0===t.filter((function(e){return!l(e)&&ze(t)})).length),e&&r}(t)||function(t){var e,r,n=o(t)&&!s(t),i=!1,u=["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=u.length;for(e=0;e<l;e+=1)r=u[e],i=i||a(t,r);return n&&i}(t)||null==t}function Qe(t){var e,r=o(t)&&!s(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)n=n||a(t,i[e]);return r&&n}function Ze(t,e){if(t.date()<e.date())return-Ze(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(r,"months");return-(r+(e-n<0?(e-n)/(n-t.clone().add(r-1,"months")):(e-n)/(t.clone().add(r+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ke=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tr(){return this._locale}function er(t,e){return(t%e+e)%e}function rr(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-126227808e5:new Date(t,e,r).valueOf()}function nr(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-126227808e5:Date.UTC(t,e,r)}function ir(t,e){return e.erasAbbrRegex(t)}function or(){var t,e,r,n,i,o=[],a=[],s=[],u=[],l=this.eras();for(t=0,e=l.length;t<e;++t)r=lt(l[t].name),n=lt(l[t].abbr),i=lt(l[t].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 ar(t,e){L(0,[t,t.length],0,e)}function sr(t,e,r,n,i){var o;return null==t?Mt(this,n,i).year:(e>(o=Ft(t,n,i))&&(e=o),ur.call(this,t,e,r,n,i))}function ur(t,e,r,n,i){var o=Dt(t,e,r,n,i),a=It(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),st("N",ir),st("NN",ir),st("NNN",ir),st("NNNN",(function(t,e){return e.erasNameRegex(t)})),st("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),ht(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?p(r).era=i:p(r).invalidEra=t})),st("y",tt),st("yy",tt),st("yyy",tt),st("yyyy",tt),st("yo",(function(t,e){return e._eraYearOrdinalRegex||tt})),ht(["y","yy","yyy","yyyy"],0),ht(["yo"],(function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[0]=r._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),st("G",et),st("g",et),st("GG",z,Y),st("gg",z,Y),st("GGGG",J,$),st("gggg",J,$),st("GGGGG",K,q),st("ggggg",K,q),pt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,n){e[n.substr(0,2)]=ft(t)})),pt(["gg","GG"],(function(t,e,r,i){e[i]=n.parseTwoDigitYear(t)})),L("Q",0,"Qo","quarter"),st("Q",H),ht("Q",(function(t,e){e[1]=3*(ft(t)-1)})),L("D",["DD",2],"Do","date"),st("D",z,ot),st("DD",z,Y),st("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),ht(["D","DD"],2),ht("Do",(function(t,e){e[2]=ft(t.match(z)[0])}));var lr=wt("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),st("DDD",Z),st("DDDD",G),ht(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=ft(t)})),L("m",["mm",2],0,"minute"),st("m",z,at),st("mm",z,Y),ht(["m","mm"],4);var cr=wt("Minutes",!1);L("s",["ss",2],0,"second"),st("s",z,at),st("ss",z,Y),ht(["s","ss"],5);var fr,dr,hr=wt("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),st("S",Z,H),st("SS",Z,Y),st("SSS",Z,G),fr="SSSS";fr.length<=9;fr+="S")st(fr,tt);function pr(t,e){e[6]=ft(1e3*("0."+t))}for(fr="S";fr.length<=9;fr+="S")ht(fr,pr);dr=wt("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var gr=w.prototype;function yr(t){return t}gr.add=$e,gr.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):Qe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Te(),i=De(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=e&&(O(e[o])?e[o].call(this,r):e[o]);return this.format(a||this.localeData().calendar(o,this,Te(r)))},gr.clone=function(){return new w(this)},gr.diff=function(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=De(t,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),e=B(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(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:ct(o)},gr.endOf=function(t){var e,r;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-er(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-er(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},gr.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=D(this,t);return this.localeData().postformat(e)},gr.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Te(t).isValid())?Ue({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gr.fromNow=function(t){return this.from(Te(),t)},gr.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Te(t).isValid())?Ue({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gr.toNow=function(t){return this.to(Te(),t)},gr.get=function(t){return O(this[t=B(t)])?this[t]():this},gr.invalidAt=function(){return p(this).overflow},gr.isAfter=function(t,e){var r=_(t)?t:Te(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())},gr.isBefore=function(t,e){var r=_(t)?t:Te(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())},gr.isBetween=function(t,e,r,n){var i=_(t)?t:Te(t),o=_(e)?e:Te(e);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)))},gr.isSame=function(t,e){var r,n=_(t)?t:Te(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))},gr.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},gr.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},gr.isValid=function(){return g(this)},gr.lang=Ke,gr.locale=Je,gr.localeData=tr,gr.max=Oe,gr.min=ke,gr.parsingFlags=function(){return d({},p(this))},gr.set=function(t,e){if("object"==typeof t){var r,n=function(t){var e,r=[];for(e in t)a(t,e)&&r.push({unit:e,priority:W[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}(t=V(t)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(O(this[t=B(t)]))return this[t](e);return this},gr.startOf=function(t){var e,r;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=er(e,6e4);break;case"second":e=this._d.valueOf(),e-=er(e,1e3)}return this._d.setTime(e),n.updateOffset(this,!0),this},gr.subtract=qe,gr.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},gr.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},gr.toDate=function(){return new Date(this.valueOf())},gr.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?D(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(r,"Z")):D(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gr.toJSON=function(){return this.isValid()?this.toISOString():null},gr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gr.unix=function(){return Math.floor(this.valueOf()/1e3)},gr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gr.eraName=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].name;if(n[t].until<=r&&r<=n[t].since)return n[t].name}return""},gr.eraNarrow=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].narrow;if(n[t].until<=r&&r<=n[t].since)return n[t].narrow}return""},gr.eraAbbr=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].abbr;if(n[t].until<=r&&r<=n[t].since)return n[t].abbr}return""},gr.eraYear=function(){var t,e,r,i,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=o[t].since<=o[t].until?1:-1,i=this.clone().startOf("day").valueOf(),o[t].since<=i&&i<=o[t].until||o[t].until<=i&&i<=o[t].since)return(this.year()-n(o[t].since).year())*r+o[t].offset;return this.year()},gr.year=bt,gr.isLeapYear=function(){return yt(this.year())},gr.weekYear=function(t){return sr.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},gr.isoWeekYear=function(t){return sr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},gr.quarter=gr.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},gr.month=jt,gr.daysInMonth=function(){return St(this.year(),this.month())},gr.week=gr.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},gr.isoWeek=gr.isoWeeks=function(t){var e=Mt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},gr.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},gr.weeksInWeekYear=function(){var t=this.localeData()._week;return Ft(this.weekYear(),t.dow,t.doy)},gr.isoWeeksInYear=function(){return Ft(this.year(),1,4)},gr.isoWeeksInISOWeekYear=function(){return Ft(this.isoWeekYear(),1,4)},gr.date=lr,gr.day=gr.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=_t(this,"Day");return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},gr.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},gr.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},gr.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},gr.hour=gr.hours=Jt,gr.minute=gr.minutes=cr,gr.second=gr.seconds=hr,gr.millisecond=gr.milliseconds=dr,gr.utcOffset=function(t,e,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Le(nt,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(i=Me(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Ge(this,Ue(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Me(this)},gr.utc=function(t){return this.utcOffset(0,t)},gr.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Me(this),"m")),this},gr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Le(rt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},gr.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},gr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gr.isLocal=function(){return!!this.isValid()&&!this._isUTC},gr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gr.isUtc=Fe,gr.isUTC=Fe,gr.zoneAbbr=function(){return this._isUTC?"UTC":""},gr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gr.dates=S("dates accessor is deprecated. Use date instead.",lr),gr.months=S("months accessor is deprecated. Use month instead",jt),gr.years=S("years accessor is deprecated. Use year instead",bt),gr.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),gr.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return b(e,this),(e=Se(e))._a?(t=e._isUTC?h(e._a):Te(e._a),this._isDSTShifted=this.isValid()&&function(t,e,r){var n,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<i;n++)(r&&t[n]!==e[n]||!r&&ft(t[n])!==ft(e[n]))&&a++;return a+o}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vr=C.prototype;function mr(t,e,r,n){var i=se(),o=h().set(n,e);return i[r](o,t)}function br(t,e,r){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return mr(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=mr(t,n,r,"month");return i}function wr(t,e,r,n){"boolean"==typeof t?(l(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,l(e)&&(r=e,e=void 0),e=e||"");var i,o=se(),a=t?o._week.dow:0,s=[];if(null!=r)return mr(e,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=mr(e,(i+a)%7,n,"day");return s}vr.calendar=function(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return O(n)?n.call(e,r):n},vr.longDateFormat=function(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(j).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},vr.invalidDate=function(){return this._invalidDate},vr.ordinal=function(t){return this._ordinal.replace("%d",t)},vr.preparse=yr,vr.postformat=yr,vr.relativeTime=function(t,e,r,n){var i=this._relativeTime[r];return O(i)?i(t,e,r,n):i.replace(/%d/i,t)},vr.pastFuture=function(t,e){var r=this._relativeTime[t>0?"future":"past"];return O(r)?r(e):r.replace(/%s/i,e)},vr.set=function(t){var e,r;for(r in t)a(t,r)&&(O(e=t[r])?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vr.eras=function(t,e){var r,i,o,a=this._eras||se("en")._eras;for(r=0,i=a.length;r<i;++r){switch(typeof a[r].since){case"string":o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()}switch(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},vr.erasParse=function(t,e,r){var n,i,o,a,s,u=this.eras();for(t=t.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(e){case"N":case"NN":case"NNN":if(a===t)return u[n];break;case"NNNN":if(o===t)return u[n];break;case"NNNNN":if(s===t)return u[n]}else if([o,a,s].indexOf(t)>=0)return u[n]},vr.erasConvertYear=function(t,e){var r=t.since<=t.until?1:-1;return void 0===e?n(t.since).year():n(t.since).year()+(e-t.offset)*r},vr.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||or.call(this),t?this._erasAbbrRegex:this._erasRegex},vr.erasNameRegex=function(t){return a(this,"_erasNameRegex")||or.call(this),t?this._erasNameRegex:this._erasRegex},vr.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||or.call(this),t?this._erasNarrowRegex:this._erasRegex},vr.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},vr.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vr.monthsParse=function(t,e,r){var n,i,o;if(this._monthsParseExact)return Ct.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([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"===e&&this._longMonthsParse[n].test(t))return n;if(r&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}},vr.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},vr.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ot),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},vr.week=function(t){return Mt(t,this._week.dow,this._week.doy).week},vr.firstDayOfYear=function(){return this._week.doy},vr.firstDayOfWeek=function(){return this._week.dow},vr.weekdays=function(t,e){var r=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(r,this._week.dow):t?r[t.day()]:r},vr.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},vr.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},vr.weekdaysParse=function(t,e,r){var n,i,o;if(this._weekdaysParseExact)return $t.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([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"===e&&this._fullWeekdaysParse[n].test(t))return n;if(r&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(r&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}},vr.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ht),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},vr.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vr.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vr.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},vr.meridiem=function(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"},oe("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(t){var e=t%10;return t+(1===ft(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",oe),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",se);var _r=Math.abs;function xr(t,e,r,n){var i=Ue(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function Sr(t){return t<0?Math.floor(t):Math.ceil(t)}function Er(t){return 4800*t/146097}function Tr(t){return 146097*t/4800}function kr(t){return function(){return this.as(t)}}var Or=kr("ms"),Ar=kr("s"),Cr=kr("m"),Pr=kr("h"),jr=kr("d"),Rr=kr("w"),Nr=kr("M"),Ir=kr("Q"),Lr=kr("y"),Dr=Or;function Mr(t){return function(){return this.isValid()?this._data[t]:NaN}}var Fr=Mr("milliseconds"),Br=Mr("seconds"),Vr=Mr("minutes"),Ur=Mr("hours"),Wr=Mr("days"),Hr=Mr("months"),Yr=Mr("years"),Gr=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qr(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}var zr=Math.abs;function Xr(t){return(t>0)-(t<0)||+t}function Qr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,n,i,o,a,s,u=zr(this._milliseconds)/1e3,l=zr(this._days),c=zr(this._months),f=this.asSeconds();return f?(t=ct(u/60),e=ct(t/60),u%=60,t%=60,r=ct(c/12),c%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=Xr(this._months)!==Xr(f)?"-":"",a=Xr(this._days)!==Xr(f)?"-":"",s=Xr(this._milliseconds)!==Xr(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(e||t||u?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(u?s+n+"S":"")):"P0D"}var Zr=Pe.prototype;return Zr.isValid=function(){return this._isValid},Zr.abs=function(){var t=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),t.milliseconds=_r(t.milliseconds),t.seconds=_r(t.seconds),t.minutes=_r(t.minutes),t.hours=_r(t.hours),t.months=_r(t.months),t.years=_r(t.years),this},Zr.add=function(t,e){return xr(this,t,e,1)},Zr.subtract=function(t,e){return xr(this,t,e,-1)},Zr.as=function(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if("month"===(t=B(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+Er(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Tr(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Zr.asMilliseconds=Or,Zr.asSeconds=Ar,Zr.asMinutes=Cr,Zr.asHours=Pr,Zr.asDays=jr,Zr.asWeeks=Rr,Zr.asMonths=Nr,Zr.asQuarters=Ir,Zr.asYears=Lr,Zr.valueOf=Dr,Zr._bubble=function(){var t,e,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*Sr(Tr(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=ct(o/1e3),u.seconds=t%60,e=ct(t/60),u.minutes=e%60,r=ct(e/60),u.hours=r%24,a+=ct(r/24),i=ct(Er(a)),s+=i,a-=Sr(Tr(i)),n=ct(s/12),s%=12,u.days=a,u.months=s,u.years=n,this},Zr.clone=function(){return Ue(this)},Zr.get=function(t){return t=B(t),this.isValid()?this[t+"s"]():NaN},Zr.milliseconds=Fr,Zr.seconds=Br,Zr.minutes=Vr,Zr.hours=Ur,Zr.days=Wr,Zr.weeks=function(){return ct(this.days()/7)},Zr.months=Hr,Zr.years=Yr,Zr.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=$r;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(o=Object.assign({},$r,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=this.localeData(),n=function(t,e,r,n){var i=Ue(t).abs(),o=Gr(i.as("s")),a=Gr(i.as("m")),s=Gr(i.as("h")),u=Gr(i.as("d")),l=Gr(i.as("M")),c=Gr(i.as("w")),f=Gr(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]=e,d[3]=+t>0,d[4]=n,qr.apply(null,d)}(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},Zr.toISOString=Qr,Zr.toString=Qr,Zr.toJSON=Qr,Zr.locale=Je,Zr.localeData=tr,Zr.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qr),Zr.lang=Ke,L("X",0,0,"unix"),L("x",0,0,"valueOf"),st("x",et),st("X",/[+-]?\d+(\.\d{1,3})?/),ht("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),ht("x",(function(t,e,r){r._d=new Date(ft(t))})),
|
|
27
27
|
//! moment.js
|
|
28
|
-
n.version="2.30.1",t=Tt,n.fn=gr,n.min=function(){var e=[].slice.call(arguments,0);return At("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return At("isAfter",e)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Tt(1e3*e)},n.months=function(e,t){return br(e,t,"months")},n.isDate=c,n.locale=ot,n.invalid=y,n.duration=Ut,n.isMoment=_,n.weekdays=function(e,t,r){return wr(e,t,r,"weekdays")},n.parseZone=function(){return Tt.apply(null,arguments).parseZone()},n.localeData=st,n.isDuration=Rt,n.monthsShort=function(e,t){return br(e,t,"monthsShort")},n.weekdaysMin=function(e,t,r){return wr(e,t,r,"weekdaysMin")},n.defineLocale=at,n.updateLocale=function(e,t){if(null!=t){var r,n,i=Ke;null!=et[e]&&null!=et[e].parentLocale?et[e].set(A(et[e]._config,t)):(null!=(n=it(e))&&(i=n._config),t=A(i,t),null==n&&(t.abbr=e),(r=new C(t)).parentLocale=et[e],et[e]=r),ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===ot()&&ot(e)):null!=et[e]&&delete et[e]);return et[e]},n.locales=function(){return E(et)},n.weekdaysShort=function(e,t,r){return wr(e,t,r,"weekdaysShort")},n.normalizeUnits=B,n.relativeTimeRounding=function(e){return void 0===e?Gr:"function"==typeof e&&(Gr=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==$r[e]&&(void 0===t?$r[e]:($r[e]=t,"s"===e&&($r.ss=t-1),!0))},n.calendarFormat=function(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"},n.prototype=gr,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}()},4155: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{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}},1640: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(7970),t),i(r(7498),t),i(r(6381),t),i(r(2808),t),i(r(2016),t),i(r(3387),t),i(r(1573),t)},7970:(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}}},7498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataFactory=void 0;const n=r(7970),i=r(6381),o=r(2808),a=r(2016),s=r(3387),u=r(1573);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}}},6381:(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},2808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Literal=void 0;const n=r(2016);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")},2016:(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}}},3387:(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)}}},1573:(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}}},5787: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(9568),t)},9966:(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},9568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseType=t.RdfXmlParser=void 0;const n=r(8912),i=r(2893),o=r(4126),a=r(9966),s=r(1640),u=r(1017);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={}))},1163:(e,t,r)=>{"use strict";const{SymbolDispose:n}=r(7808),{AbortError:i,codes:o}=r(3555),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=r(4451),l=r(1927),{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(1357).addAbortListener;const i=f(e,o);l(t,i[n])}return t}},2481:(e,t,r)=>{"use strict";const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=r(7808),{Buffer:s}=r(8764),{inspect:u}=r(1357);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})}}},2982:(e,t,r)=>{"use strict";const{pipeline:n}=r(3298),i=r(2664),{destroyer:o}=r(5306),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=r(4451),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:g}}=r(3555),y=r(1927);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}},5306:(e,t,r)=>{"use strict";const n=r(4155),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=r(3555),{Symbol:s}=r(7808),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=r(4451),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}},2664:(e,t,r)=>{"use strict";const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=r(7808);e.exports=l;const s=r(7470),u=r(8672);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(6048)),f(e,"body")}},6048:(e,t,r)=>{const n=r(4155),i=r(8764),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=r(4451),p=r(1927),{AbortError:g,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:m}}=r(3555),{destroyer:v}=r(5306),b=r(2664),w=r(7470),_=r(8672),{createDeferredPromise:S}=r(1357),x=r(7722),E=globalThis.Blob||i.Blob,T=void 0!==E?function(e){return e instanceof E}:function(e){return!1},k=globalThis.AbortController||r(8599).AbortController,{FunctionPrototypeCall:O}=r(7808);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;return{value: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}),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)}},1927:(e,t,r)=>{const n=r(4155),{AbortError:i,codes:o}=r(3555),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=r(1357),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=r(9395),{Promise:p,PromisePrototypeThen:g,SymbolDispose:y}=r(7808),{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:P}=r(4451);let R;function j(e){return e.setHeader&&"function"==typeof e.abort}const N=()=>{};function D(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 I(e,t,o);if(!A(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);const g=null!==(h=t.readable)&&void 0!==h?h:b(e),P=null!==(p=t.writable)&&void 0!==p?p:E(e),D=e._writableState,L=e._readableState,M=()=>{e.writable||V()};let F=C(e)&&b(e)===g&&E(e)===P,B=k(e,!1);const V=()=>{B=!0,e.destroyed&&(F=!1),(!F||e.readable&&!g)&&(g&&!U||o.call(e))};let U=_(e,!1);const W=()=>{U=!0,e.destroyed&&(F=!1),(!F||e.writable&&!P)&&(P&&!B||o.call(e))},H=t=>{o.call(e,t)};let Y=m(e);const G=()=>{Y=!0;const t=O(e)||S(e);return t&&"boolean"!=typeof t?o.call(e,t):g&&!U&&b(e,!0)&&!_(e,!1)?o.call(e,new s):!P||B||k(e,!1)?void o.call(e):o.call(e,new s)},$=()=>{Y=!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)};j(e)?(e.on("complete",V),F||e.on("abort",G),e.req?q():e.on("request",q)):P&&!D&&(e.on("end",M),e.on("close",M)),F||"boolean"!=typeof e.aborted||e.on("aborted",G),e.on("end",W),e.on("finish",V),!1!==t.error&&e.on("error",H),e.on("close",G),Y?n.nextTick(G):null!=D&&D.errorEmitted||null!=L&&L.errorEmitted?F||n.nextTick($):(g||F&&!v(e)||!B&&!1!==x(e))&&(P||F&&!x(e)||!U&&!1!==v(e))?L&&e.req&&e.aborted&&n.nextTick($):n.nextTick($);const z=()=>{o=N,e.removeListener("aborted",G),e.removeListener("complete",V),e.removeListener("abort",G),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",G)};if(t.signal&&!Y){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{R=R||r(1357).addAbortListener;const n=R(t.signal,a),i=o;o=l((...t)=>{n[y](),i.apply(e,t)})}}return z}function I(e,t,o){let a=!1,s=N;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{R=R||r(1357).addAbortListener;const n=R(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[P].promise,u,u),N}e.exports=D,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=D(e,t,e=>{n&&o(),e?i(e):r()})})}},7722:(e,t,r)=>{"use strict";const n=r(4155),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=r(7808),{Buffer:s}=r(8764),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(3555).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}},6618:(e,t,r)=>{"use strict";const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(7808),{EventEmitter:o}=r(7187);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}},3093:(e,t,r)=>{"use strict";const n=globalThis.AbortController||r(8599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=r(3555),{validateAbortSignal:l,validateInteger:c,validateObject:f}=r(9395),d=r(7808).Symbol("kWeak"),h=r(7808).Symbol("kResistStopPropagation"),{finished:p}=r(1927),g=r(2982),{addAbortSignalNoValidate:y}=r(1163),{isWritable:m,isNodeStream:v}=r(4451),{deprecate:b}=r(1357),{ArrayPrototypePush:w,Boolean:_,MathFloor:S,Number:x,NumberIsNaN:E,Promise:T,PromiseReject:k,PromiseResolve:O,PromisePrototypeThen:A,Symbol:C}=r(7808),P=C("kEmpty"),R=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(1357).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===P)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(R)}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===R)return;if(o.aborted)throw new u;e!==P&&(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){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:P}),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){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){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){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){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),P}),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}}},6541:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n}=r(7808);e.exports=o;const i=r(2595);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)}},3298:(e,t,r)=>{const n=r(4155),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=r(7808),u=r(1927),{once:l}=r(1357),c=r(5306),f=r(2664),{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(3555),{validateFunction:b,validateAbortSignal:w}=r(9395),{isIterable:_,isReadable:S,isReadableNodeStream:x,isNodeStream:E,isTransformStream:T,isWebStream:k,isReadableStream:O,isReadableFinished:A}=r(4451),C=globalThis.AbortController||r(8599).AbortController;let P,R,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){R||(R=r(7470));yield*R.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(1357).addAbortListener,l&&(y=j(l,d));const A=[];let R,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 t=0;t<e.length;t++){const i=e[t],a=t<e.length-1,s=t>0,l=a||!1!==(null==o?void 0:o.end),d=t===e.length-1;if(E(i)){if(l){const{destroy:e,cleanup:t}=N(i,a,s);A.push(e),S(i)&&d&&c.push(t)}function U(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&B(e)}i.on("error",U),S(i)&&d&&c.push(()=>{i.removeListener("error",U)})}if(0===t)if("function"==typeof i){if(R=i({signal:u}),!_(R))throw new p("Iterable, AsyncIterable or Stream","source",R)}else R=_(i)||x(i)||T(i)?i:f.from(i);else if("function"==typeof i){var W;if(T(R))R=D(null===(W=R)||void 0===W?void 0:W.readable);else R=D(R);if(R=i(R,{signal:u}),a){if(!_(R,!0))throw new p("AsyncIterable",`transform[${t-1}]`,R)}else{var H;P||(P=r(6541));const e=new P({objectMode:!0}),t=null===(H=R)||void 0===H?void 0:H.then;if("function"==typeof t)M++,t.call(R,t=>{b=t,null!=t&&e.write(t),l&&e.end(),n.nextTick(B)},t=>{e.destroy(t),n.nextTick(B,t)});else if(_(R,!0))M++,I(R,e,B,{end:l});else{if(!O(R)&&!T(R))throw new p("AsyncIterable or Promise","destination",R);{const t=R.readable||R;M++,I(t,e,B,{end:l})}}R=e;const{destroy:i,cleanup:o}=N(R,!1,!0);A.push(i),d&&c.push(o)}}else if(E(i)){if(x(R)){M+=2;const e=F(R,i,B,{end:l});S(i)&&d&&c.push(e)}else if(T(R)||O(R)){const e=R.readable||R;M++,I(e,i,B,{end:l})}else{if(!_(R))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],R);M++,I(R,i,B,{end:l})}R=i}else if(k(i)){if(x(R))M++,L(D(R),i,B,{end:l});else if(O(R)||_(R))M++,L(R,i,B,{end:l});else{if(!T(R))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],R);M++,L(R.readable,i,B,{end:l})}R=i}else R=f.from(i)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(d),R}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)))}}},7470:(e,t,r)=>{const n=r(4155),{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(7808);e.exports=W,W.ReadableState=U;const{EventEmitter:y}=r(7187),{Stream:m,prependListener:v}=r(6618),{Buffer:b}=r(8764),{addAbortSignal:w}=r(1163),_=r(1927);let S=r(1357).debuglog("stream",e=>{S=e});const x=r(2481),E=r(5306),{getHighWaterMark:T,getDefaultHighWaterMark:k}=r(2109),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_OUT_OF_RANGE:P,ERR_STREAM_PUSH_AFTER_EOF:R,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:j},AbortError:N}=r(3555),{validateObject:D}=r(9395),I=g("kPaused"),{StringDecoder:L}=r(2553),M=r(7722);c(W.prototype,m.prototype),c(W,m);const F=()=>{},{errorOrDestroy:B}=E;function V(e){return{enumerable:!1,get(){return 0!=(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function U(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(2664)),this.state=6192,e&&e.objectMode&&(this.state|=1),n&&e&&e.readableObjectMode&&(this.state|=1),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&=-2049),e&&!1===e.autoDestroy&&(this.state&=-4097),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 W(e){if(!(this instanceof W))return new W(e);const t=this instanceof r(2664);this._readableState=new U(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&&z(this,this._readableState)})}function H(e,t,r,n){S("readableAddChunk",t);const i=e._readableState;let o;if(0==(1&i.state)&&("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?$(e):(t.needReadable=!1,t.emittedReadable=!0,q(e))}(e,i);else if(0!=(1&i.state)||t&&t.length>0)if(n)if(0!=(4&i.state))B(e,new j);else{if(i.destroyed||i.errored)return!1;Y(e,i,t,!0)}else if(i.ended)B(e,new R);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?Y(e,i,t,!1):z(e,i)):Y(e,i,t,!1)}else n||(i.state&=-9,z(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function Y(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(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),0!=(64&t.state)&&$(e)),z(e,t)}u(U.prototype,{objectMode:V(1),ended:V(2),endEmitted:V(4),reading:V(8),constructed:V(16),sync:V(32),needReadable:V(64),emittedReadable:V(128),readableListening:V(256),resumeScheduled:V(512),errorEmitted:V(1024),emitClose:V(2048),autoDestroy:V(4096),destroyed:V(8192),closed:V(16384),closeEmitted:V(32768),multiAwaitDrain:V(65536),readingMore:V(1<<17),dataEmitted:V(1<<18)}),W.prototype.destroy=E.destroy,W.prototype._undestroy=E.undestroy,W.prototype._destroy=function(e,t){t(e)},W.prototype[y.captureRejectionSymbol]=function(e){this.destroy(e)},W.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)))},W.prototype.push=function(e,t){return H(this,e,t,!1)},W.prototype.unshift=function(e,t){return H(this,e,t,!0)},W.prototype.isPaused=function(){const e=this._readableState;return!0===e[I]||!1===e.flowing},W.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 G(e,t){return e<=0||0===t.length&&t.ended?0:0!=(1&t.state)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function $(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(q,e))}function q(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,K(e)}function z(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(X,e,t))}function X(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 Q(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 Z(e){S("readable nexttick read 0"),e.read(0)}function J(e,t){S("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),K(e),t.flowing&&!t.reading&&e.read(0)}function K(e){const t=e._readableState;for(S("flow",t.flowing);t.flowing&&null!==e.read(););}function ee(e,t){"function"!=typeof e.read&&(e=W.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 te(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 re(e){const t=e._readableState;S("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ne,t,e))}function ne(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(ie,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function ie(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let oe;function ae(){return void 0===oe&&(oe={}),oe}W.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 P("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?re(this):$(this),null;if(0===(e=G(e,t))&&t.ended)return 0===t.length&&re(this),null;let n,i=0!=(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|=40,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){B(this,e)}t.state&=-33,t.reading||(e=G(r,t))}return n=e>0?te(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&&re(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},W.prototype._read=function(e){throw new C("_read()")},W.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},W.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},W.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?$(this):i.reading||n.nextTick(Z,this))),r},W.prototype.addListener=W.prototype.on,W.prototype.removeListener=function(e,t){const r=m.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(Q,this),r},W.prototype.off=W.prototype.removeListener,W.prototype.removeAllListeners=function(e){const t=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(Q,this),t},W.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(J,e,t))}(this,e)),e[I]=!1,this},W.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},W.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},W.prototype[p]=function(){return ee(this)},W.prototype.iterator=function(e){return void 0!==e&&D(e,"options"),ee(this,e)},u(W.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(U.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[I]},set(e){this[I]=!!e}}}),W._fromList=te,W.from=function(e,t){return M(W,e,t)},W.fromWeb=function(e,t){return ae().newStreamReadableFromReadableStream(e,t)},W.toWeb=function(e,t){return ae().newReadableStreamFromStreamReadable(e,t)},W.wrap=function(e,t){var r,n;return new W({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)}},2109:(e,t,r)=>{"use strict";const{MathFloor:n,NumberIsInteger:i}=r(7808),{validateInteger:o}=r(9395),{ERR_INVALID_ARG_VALUE:a}=r(3555).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}}},2595:(e,t,r)=>{"use strict";const{ObjectSetPrototypeOf:n,Symbol:i}=r(7808);e.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=r(3555).codes,a=r(2664),{getHighWaterMark:s}=r(2109);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()}}},4451:(e,t,r)=>{"use strict";const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=r(7808),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}},8672:(e,t,r)=>{const n=r(4155),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=r(7808);e.exports=D,D.WritableState=j;const{EventEmitter:h}=r(7187),p=r(6618).Stream,{Buffer:g}=r(8764),y=r(5306),{addAbortSignal:m}=r(1163),{getHighWaterMark:v,getDefaultHighWaterMark:b}=r(2109),{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(3555).codes,{errorOrDestroy:C}=y;function P(){}l(D.prototype,p.prototype),l(D,p);const R=f("kOnFinished");function j(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(2664)),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[R]=[]}function N(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function D(e){const t=this instanceof r(2664);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),G(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=P)}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!==P&&(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),G(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[R].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?P: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 Y(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[R].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($,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function G(e,t,r){H(t)&&(Y(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{H(t)?$(e,t):t.pendingcb--},e,t)):H(t)&&(t.pendingcb++,$(e,t))))}function $(e,t){t.pendingcb--,t.finished=!0;const r=t[R].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,G(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[R].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[R].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)}},9395:(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(7808),{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(3555),{normalizeEncoding:x}=r(1357),{isAsyncFunction:E,isArrayBufferView:T}=r(1357).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)}),P=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;if(e<n||e>4294967295)throw new _(t,`>= ${n} && <= 4294967295`,e)});function R(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 Y(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 P(e,t),e},validateArray:M,validateStringArray:function(e,t){M(e,t);for(let r=0;r<e.length;r++)R(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,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(R(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:R,validateUint32:P,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 Y(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];Y(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"')}}},4126:(e,t,r)=>{"use strict";const n=r(3441),i=r(181),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},3555:(e,t,r)=>{"use strict";const{format:n,inspect:i,AggregateError:o}=r(1357),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){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;return f(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=d(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=d(n)),n+="n"):n=i(r),`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}},7808:e=>{"use strict";e.exports={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:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number: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: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:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol: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:Boolean,Uint8Array:Uint8Array}},1357:(e,t,r)=>{"use strict";const n=r(8764),{kResistStopPropagation:i,SymbolDispose:o}=r(7808),a=globalThis.AbortSignal||r(8599).AbortSignal,s=globalThis.AbortController||r(8599).AbortController,u=Object.getPrototypeOf((async function(){})).constructor,l=globalThis.Blob||n.Blob,c=void 0!==l?function(e){return e instanceof l}:function(e){return!1},f=(e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new ERR_INVALID_ARG_TYPE(t,"AbortSignal",e)};class d 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:d,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:(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"{}"}},types:{isAsyncFunction:e=>e instanceof u,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:c,deprecate:(e,t)=>e,addAbortListener:r(7187).addAbortListener||function(e,t){if(void 0===e)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);let r;return f(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new ERR_INVALID_ARG_TYPE(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[i]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[o](){var e;null===(e=r)||void 0===e||e()}}},AbortSignalAny:a.any||function(e){if(1===e.length)return e[0];const t=new s,r=()=>t.abort();return e.forEach(e=>{f(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")},3441:(e,t,r)=>{const{Buffer:n}=r(8764),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=r(7808),{promisify:{custom:s}}=r(1357),{streamReturningOperators:u,promiseReturningOperators:l}=r(3093),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(3555),f=r(2982),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=r(2109),{pipeline:p}=r(3298),{destroyer:g}=r(5306),y=r(1927),m=r(181),v=r(4451),b=e.exports=r(6618).Stream;b.isDestroyed=v.isDestroyed,b.isDisturbed=v.isDisturbed,b.isErrored=v.isErrored,b.isReadable=v.isReadable,b.isWritable=v.isWritable,b.Readable=r(7470);for(const e of o(u)){const t=u[e];function w(...e){if(new.target)throw c();return b.Readable.from(a(t,this,e))}i(w,"name",{__proto__:null,value:t.name}),i(w,"length",{__proto__:null,value:t.length}),i(b.Readable.prototype,e,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const e of o(l)){const t=l[e];function w(...e){if(new.target)throw c();return a(t,this,e)}i(w,"name",{__proto__:null,value:t.name}),i(w,"length",{__proto__:null,value:t.length}),i(b.Readable.prototype,e,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}b.Writable=r(8672),b.Duplex=r(2664),b.Transform=r(2595),b.PassThrough=r(6541),b.pipeline=p;const{addAbortSignal:_}=r(1163);b.addAbortSignal=_,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)}},181:(e,t,r)=>{"use strict";const{ArrayPrototypePop:n,Promise:i}=r(7808),{isIterable:o,isNodeStream:a,isWebStream:s}=r(4451),{pipelineImpl:u}=r(3298),{finished:l}=r(1927);r(3441),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})})}}},8912: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(9336),t)},9336:(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},9509:(e,t,r)=>{
|
|
28
|
+
n.version="2.30.1",e=Te,n.fn=gr,n.min=function(){var t=[].slice.call(arguments,0);return Ae("isBefore",t)},n.max=function(){var t=[].slice.call(arguments,0);return Ae("isAfter",t)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(t){return Te(1e3*t)},n.months=function(t,e){return br(t,e,"months")},n.isDate=c,n.locale=oe,n.invalid=y,n.duration=Ue,n.isMoment=_,n.weekdays=function(t,e,r){return wr(t,e,r,"weekdays")},n.parseZone=function(){return Te.apply(null,arguments).parseZone()},n.localeData=se,n.isDuration=je,n.monthsShort=function(t,e){return br(t,e,"monthsShort")},n.weekdaysMin=function(t,e,r){return wr(t,e,r,"weekdaysMin")},n.defineLocale=ae,n.updateLocale=function(t,e){if(null!=e){var r,n,i=Kt;null!=te[t]&&null!=te[t].parentLocale?te[t].set(A(te[t]._config,e)):(null!=(n=ie(t))&&(i=n._config),e=A(i,e),null==n&&(e.abbr=t),(r=new C(e)).parentLocale=te[t],te[t]=r),oe(t)}else null!=te[t]&&(null!=te[t].parentLocale?(te[t]=te[t].parentLocale,t===oe()&&oe(t)):null!=te[t]&&delete te[t]);return te[t]},n.locales=function(){return E(te)},n.weekdaysShort=function(t,e,r){return wr(t,e,r,"weekdaysShort")},n.normalizeUnits=B,n.relativeTimeRounding=function(t){return void 0===t?Gr:"function"==typeof t&&(Gr=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==$r[t]&&(void 0===e?$r[t]:($r[t]=e,"s"===t&&($r.ss=e-1),!0))},n.calendarFormat=function(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},n.prototype=gr,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}()},34155:t=>{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){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 t=a(f);l=!0;for(var e=u.length;e;){for(s=u,u=[];++c<e;)s&&s[c].run();c=-1,e=u.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),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(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},41640:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(7970),e),i(r(37498),e),i(r(16381),e),i(r(72808),e),i(r(92016),e),i(r(63387),e),i(r(71573),e)},7970:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlankNode=void 0;e.BlankNode=class{constructor(t){this.termType="BlankNode",this.value=t}equals(t){return!!t&&"BlankNode"===t.termType&&t.value===this.value}}},37498:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataFactory=void 0;const n=r(7970),i=r(16381),o=r(72808),a=r(92016),s=r(63387),u=r(71573);let l=0;e.DataFactory=class{constructor(t){this.blankNodeCounter=0,t=t||{},this.blankNodePrefix=t.blankNodePrefix||`df_${l++}_`}namedNode(t){return new a.NamedNode(t)}blankNode(t){return new n.BlankNode(t||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(t,e){return new o.Literal(t,e)}variable(t){return new u.Variable(t)}defaultGraph(){return i.DefaultGraph.INSTANCE}quad(t,e,r,n){return new s.Quad(t,e,r,n||this.defaultGraph())}fromTerm(t){switch(t.termType){case"NamedNode":return this.namedNode(t.value);case"BlankNode":return this.blankNode(t.value);case"Literal":return t.language?this.literal(t.value,t.language):t.datatype.equals(o.Literal.XSD_STRING)?this.literal(t.value):this.literal(t.value,this.fromTerm(t.datatype));case"Variable":return this.variable(t.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(t.subject),this.fromTerm(t.predicate),this.fromTerm(t.object),this.fromTerm(t.graph))}}fromQuad(t){return this.fromTerm(t)}resetBlankNodeCounter(){this.blankNodeCounter=0}}},16381:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultGraph=void 0;class r{constructor(){this.termType="DefaultGraph",this.value=""}equals(t){return!!t&&"DefaultGraph"===t.termType}}e.DefaultGraph=r,r.INSTANCE=new r},72808:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Literal=void 0;const n=r(92016);class i{constructor(t,e){this.termType="Literal",this.value=t,"string"==typeof e?(this.language=e,this.datatype=i.RDF_LANGUAGE_STRING):e?(this.language="",this.datatype=e):(this.language="",this.datatype=i.XSD_STRING)}equals(t){return!!t&&"Literal"===t.termType&&t.value===this.value&&t.language===this.language&&this.datatype.equals(t.datatype)}}e.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")},92016:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NamedNode=void 0;e.NamedNode=class{constructor(t){this.termType="NamedNode",this.value=t}equals(t){return!!t&&"NamedNode"===t.termType&&t.value===this.value}}},63387:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Quad=void 0;e.Quad=class{constructor(t,e,r,n){this.termType="Quad",this.value="",this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&this.subject.equals(t.subject)&&this.predicate.equals(t.predicate)&&this.object.equals(t.object)&&this.graph.equals(t.graph)}}},71573:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Variable=void 0;e.Variable=class{constructor(t){this.termType="Variable",this.value=t}equals(t){return!!t&&"Variable"===t.termType&&t.value===this.value}}},25787:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(99568),e)},9966:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParseError=void 0;class r extends Error{constructor(t,e){const r=t.saxParser;super(t.trackPosition?`Line ${r.line} column ${r.column+1}: ${e}`:e)}}e.ParseError=r},99568:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParseType=e.RdfXmlParser=void 0;const n=r(68912),i=r(12893),o=r(24126),a=r(9966),s=r(41640),u=r(21017);class l extends o.Transform{constructor(t){super({readableObjectMode:!0}),this.activeTagStack=[],this.nodeIds={},t&&(Object.assign(this,t),this.options=t),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(t){const e=new o.PassThrough({readableObjectMode:!0});t.on("error",t=>r.emit("error",t)),t.on("data",t=>e.push(t)),t.on("end",()=>e.push(null));const r=e.pipe(new l(this.options));return r}_transform(t,e,r){try{this.saxParser.write(t)}catch(t){return r(t)}r()}newParseError(t){return new a.ParseError(this,t)}valueToUri(t,e){return this.uriToNamedNode((0,n.resolve)(t,e.baseIRI))}uriToNamedNode(t){const e=(0,u.validateIri)(t,this.iriValidationStrategy);if(e instanceof Error)throw this.newParseError(e.message);return this.dataFactory.namedNode(t)}validateNcname(t){if(!l.NCNAME_MATCHER.test(t))throw this.newParseError("Not a valid NCName: "+t)}attachSaxListeners(){this.saxParser.on("error",t=>this.emit("error",t)),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(t){const e=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;let r=c.RESOURCE;if(e&&(e.hadChildren=!0,r=e.childrenParseType),e&&e.childrenStringTags){const r=t.name;let n="";for(const e in t.attributes)n+=` ${e}="${t.attributes[e].value}"`;const i=`<${`${r}${n}`}>`;e.childrenStringTags.push(i);const o={childrenStringTags:e.childrenStringTags};return o.childrenStringEmitClosingTag=`</${r}>`,void this.activeTagStack.push(o)}const n={};e?(n.language=e.language,n.baseIRI=e.baseIRI):n.baseIRI=this.baseIRI,this.activeTagStack.push(n),r===c.RESOURCE?this.onTagResource(t,n,e,!e):this.onTagProperty(t,n,e)}onTagResource(t,e,r,i){e.childrenParseType=c.PROPERTY;let o=!0;if(t.uri===l.RDF){if(!i&&l.FORBIDDEN_NODE_ELEMENTS.indexOf(t.local)>=0)throw this.newParseError("Illegal node element name: "+t.local);switch(t.local){case"RDF":e.childrenParseType=c.RESOURCE;case"Description":o=!1}}const a=[],s=[];let u=null,f=!1,d=!1,h=null;for(const i in t.attributes){const o=t.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){e.language=""===o.value?null:o.value.toLowerCase();continue}if("base"===o.local){e.baseIRI=(0,n.resolve)(o.value,e.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&&(e.subject=d?this.dataFactory.blankNode(u):this.valueToUri(u,e),f&&this.claimNodeId(e.subject)),e.subject||(e.subject=this.dataFactory.blankNode()),o){const n=this.uriToNamedNode(t.uri+t.local);this.emitTriple(e.subject,this.dataFactory.namedNode(l.RDF+"type"),n,r?r.reifiedStatementId:null)}if(r){if(r.predicate)if(r.childrenCollectionSubject){const t=this.dataFactory.blankNode();this.emitTriple(r.childrenCollectionSubject,r.childrenCollectionPredicate,t,r.reifiedStatementId),this.emitTriple(t,this.dataFactory.namedNode(l.RDF+"first"),e.subject,e.reifiedStatementId),r.childrenCollectionSubject=t,r.childrenCollectionPredicate=this.dataFactory.namedNode(l.RDF+"rest")}else{this.emitTriple(r.subject,r.predicate,e.subject,r.reifiedStatementId);for(let t=0;t<r.predicateSubPredicates.length;t++)this.emitTriple(e.subject,r.predicateSubPredicates[t],r.predicateSubObjects[t],null);r.predicateSubPredicates=[],r.predicateSubObjects=[],r.predicateEmitted=!0}for(let t=0;t<a.length;t++){const n=this.dataFactory.literal(s[t],e.datatype||e.language);this.emitTriple(e.subject,a[t],n,r.reifiedStatementId)}h&&this.emitTriple(e.subject,this.dataFactory.namedNode(l.RDF+"type"),this.uriToNamedNode(h),null)}}onTagProperty(t,e,r){if(e.childrenParseType=c.RESOURCE,e.subject=r.subject,t.uri===l.RDF&&"li"===t.local?(r.listItemCounter||(r.listItemCounter=1),e.predicate=this.uriToNamedNode(t.uri+"_"+r.listItemCounter++)):e.predicate=this.uriToNamedNode(t.uri+t.local),t.uri===l.RDF&&l.FORBIDDEN_PROPERTY_ELEMENTS.indexOf(t.local)>=0)throw this.newParseError("Illegal property element name: "+t.local);e.predicateSubPredicates=[],e.predicateSubObjects=[];let n=!1,i=!1,o=null,a=!0;const s=[],u=[];for(const r in t.attributes){const f=t.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})`);e.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})`);e.datatype=this.valueToUri(f.value,e);continue;case"nodeID":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${f.value}).`);if(e.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),e.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(e.datatype)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${e.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,e.childrenParseType=c.PROPERTY;const t=this.dataFactory.blankNode();this.emitTriple(e.subject,e.predicate,t,e.reifiedStatementId),e.subject=t,e.predicate=null}else"Collection"===f.value?(n=!0,e.hadChildren=!0,e.childrenCollectionSubject=e.subject,e.childrenCollectionPredicate=e.predicate,a=!1):"Literal"===f.value&&(n=!0,e.childrenTagsToString=!0,e.childrenStringTags=[]);continue;case"ID":this.validateNcname(f.value),e.reifiedStatementId=this.valueToUri("#"+f.value,e),this.claimNodeId(e.reifiedStatementId);continue}else if(f.uri===l.XML&&"lang"===f.local){e.language=""===f.value?null:f.value.toLowerCase();continue}if("xml"!==f.prefix&&"xmlns"!==f.prefix&&(""!==f.prefix||"xmlns"!==f.local)&&f.uri){if(n||e.datatype)throw this.newParseError("Found illegal rdf:* properties on property element with attribute: "+f.value);e.hadChildren=!0,i=!0,s.push(this.uriToNamedNode(f.uri+f.local)),u.push(this.dataFactory.literal(f.value,e.datatype||e.language))}}if(null!==o){const t=e.subject;e.subject=a?this.dataFactory.blankNode(o):this.valueToUri(o,e),this.emitTriple(t,e.predicate,e.subject,e.reifiedStatementId);for(let t=0;t<s.length;t++)this.emitTriple(e.subject,s[t],u[t],null);e.predicateEmitted=!0}else a&&(e.predicateSubPredicates=s,e.predicateSubObjects=u,e.predicateEmitted=!1)}emitTriple(t,e,r,n){this.push(this.dataFactory.quad(t,e,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"),t,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"predicate"),e,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"object"),r,this.defaultGraph)))}claimNodeId(t){if(!this.allowDuplicateRdfIds){if(this.nodeIds[t.value])throw this.newParseError(`Found multiple occurrences of rdf:ID='${t.value}'.`);this.nodeIds[t.value]=!0}}onText(t){const e=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;e&&(e.childrenStringTags?e.childrenStringTags.push(t):e.predicate&&(e.text=t))}onCloseTag(){const t=this.activeTagStack.pop();if(t.childrenStringEmitClosingTag&&t.childrenStringTags.push(t.childrenStringEmitClosingTag),t.childrenTagsToString&&(t.datatype=this.dataFactory.namedNode(l.RDF+"XMLLiteral"),t.text=t.childrenStringTags.join(""),t.hadChildren=!1),t.childrenCollectionSubject)this.emitTriple(t.childrenCollectionSubject,t.childrenCollectionPredicate,this.dataFactory.namedNode(l.RDF+"nil"),t.reifiedStatementId);else if(t.predicate)if(t.hadChildren||t.childrenParseType===c.PROPERTY){if(!t.predicateEmitted){const e=this.dataFactory.blankNode();this.emitTriple(t.subject,t.predicate,e,t.reifiedStatementId);for(let r=0;r<t.predicateSubPredicates.length;r++)this.emitTriple(e,t.predicateSubPredicates[r],t.predicateSubObjects[r],null)}}else this.emitTriple(t.subject,t.predicate,this.dataFactory.literal(t.text||"",t.datatype||t.language),t.reifiedStatementId)}onDoctype(t){t.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g,(t,e,r)=>(this.saxParser.ENTITIES[e]=r,""))}}var c;e.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(t){t[t.RESOURCE=0]="RESOURCE",t[t.PROPERTY=1]="PROPERTY"}(c||(e.ParseType=c={}))},1163:(t,e,r)=>{"use strict";const{SymbolDispose:n}=r(37808),{AbortError:i,codes:o}=r(33555),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=r(74451),l=r(41927),{ERR_INVALID_ARG_TYPE:c}=o;let f;t.exports.addAbortSignal=function(e,r){if(((t,e)=>{if("object"!=typeof t||!("aborted"in t))throw new c(e,"AbortSignal",t)})(e,"signal"),!a(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,e){if("object"!=typeof t||!("aborted"in t))return e;const o=a(e)?()=>{e.destroy(new i(void 0,{cause:t.reason}))}:()=>{e[u](new i(void 0,{cause:t.reason}))};if(t.aborted)o();else{f=f||r(61357).addAbortListener;const i=f(t,o);l(e,i[n])}return e}},82481:(t,e,r)=>{"use strict";const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=r(37808),{Buffer:s}=r(48764),{inspect:u}=r(61357);t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}unshift(t){const e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}shift(){if(0===this.length)return;const t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(0===this.length)return"";let e=this.head,r=""+e.data;for(;null!==(e=e.next);)r+=t+e.data;return r}concat(t){if(0===this.length)return s.alloc(0);const e=s.allocUnsafe(t>>>0);let r=this.head,n=0;for(;r;)o(e,r.data,n),n+=r.data.length,r=r.next;return e}consume(t,e){const r=this.head.data;if(t<r.length){const e=r.slice(0,t);return this.head.data=r.slice(t),e}return t===r.length?this.shift():e?this._getString(t):this._getBuffer(t)}first(){return this.head.data}*[i](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let e="",r=this.head,i=0;do{const o=r.data;if(!(t>o.length)){t===o.length?(e+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(e+=n(o,0,t),this.head=r,r.data=n(o,t));break}e+=o,t-=o.length,++i}while(null!==(r=r.next));return this.length-=i,e}_getBuffer(t){const e=s.allocUnsafe(t),r=t;let n=this.head,i=0;do{const s=n.data;if(!(t>s.length)){t===s.length?(o(e,s,r-t),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(e,new a(s.buffer,s.byteOffset,t),r-t),this.head=n,n.data=s.slice(t));break}o(e,s,r-t),t-=s.length,++i}while(null!==(n=n.next));return this.length-=i,e}[Symbol.for("nodejs.util.inspect.custom")](t,e){return u(this,{...e,depth:0,customInspect:!1})}}},72982:(t,e,r)=>{"use strict";const{pipeline:n}=r(33298),i=r(72664),{destroyer:o}=r(55306),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=r(74451),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:g}}=r(33555),y=r(41927);t.exports=function(...t){if(0===t.length)throw new g("streams");if(1===t.length)return i.from(t[0]);const e=[...t];if("function"==typeof t[0]&&(t[0]=i.from(t[0])),"function"==typeof t[t.length-1]){const e=t.length-1;t[e]=i.from(t[e])}for(let r=0;r<t.length;++r)if(a(t[r])||l(t[r])){if(r<t.length-1&&!(s(t[r])||d(t[r])||c(t[r])))throw new p(`streams[${r}]`,e[r],"must be readable");if(r>0&&!(u(t[r])||f(t[r])||c(t[r])))throw new p(`streams[${r}]`,e[r],"must be writable")}let r,v,m,b,w;const _=t[0],x=n(t,(function(t){const e=b;b=null,e?e(t):t?w.destroy(t):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(t,e,n){_.write(t,e)?n():r=n},w._final=function(t){_.end(),v=t},_.on("drain",(function(){if(r){const t=r;r=null,t()}}));else if(l(_)){const t=(c(_)?_.writable:_).getWriter();w._write=async function(e,r,n){try{await t.ready,t.write(e).catch(()=>{}),n()}catch(t){n(t)}},w._final=async function(e){try{await t.ready,t.close().catch(()=>{}),v=e}catch(t){e(t)}}}const t=c(x)?x.readable:x;y(t,()=>{if(v){const t=v;v=null,t()}})}if(E)if(a(x))x.on("readable",(function(){if(m){const t=m;m=null,t()}})),x.on("end",(function(){w.push(null)})),w._read=function(){for(;;){const t=x.read();if(null===t)return void(m=w._read);if(!w.push(t))return}};else if(l(x)){const t=(c(x)?x.readable:x).getReader();w._read=async function(){for(;;)try{const{value:e,done:r}=await t.read();if(!w.push(e))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(t,e){t||null===b||(t=new h),m=null,r=null,v=null,null===b?e(t):(b=e,a(x)&&o(x,t))},w}},55306:(t,e,r)=>{"use strict";const n=r(34155),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=r(33555),{Symbol:s}=r(37808),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=r(74451),d=s("kDestroy"),h=s("kConstruct");function p(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function g(t,e,r){let i=!1;function o(e){if(i)return;i=!0;const o=t._readableState,a=t._writableState;p(e,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(e),e?n.nextTick(y,t,e):n.nextTick(v,t)}try{t._destroy(e||null,o)}catch(e){o(e)}}function y(t,e){m(t,e),v(t)}function v(t){const e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(null!=r&&r.emitClose||null!=e&&e.emitClose)&&t.emit("close")}function m(t,e){const r=t._readableState,n=t._writableState;null!=n&&n.errorEmitted||null!=r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function b(t,e,r){const i=t._readableState,o=t._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?t.destroy(e):e&&(e.stack,o&&!o.errored&&(o.errored=e),i&&!i.errored&&(i.errored=e),r?n.nextTick(m,t,e):m(t,e))}function w(t){let e=!1;function r(r){if(e)return void b(t,null!=r?r:new o);e=!0;const i=t._readableState,a=t._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?t.emit(d,r):r?b(t,r,!0):n.nextTick(_,t)}try{t._construct(t=>{n.nextTick(r,t)})}catch(t){n.nextTick(r,t)}}function _(t){t.emit(h)}function x(t){return(null==t?void 0:t.setHeader)&&"function"==typeof t.abort}function S(t){t.emit("close")}function E(t,e){t.emit("error",e),n.nextTick(S,t)}t.exports={construct:function(t,e){if("function"!=typeof t._construct)return;const r=t._readableState,i=t._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),t.once(h,e),t.listenerCount(h)>1||n.nextTick(w,t)},destroyer:function(t,e){t&&!l(t)&&(e||c(t)||(e=new a),f(t)?(t.socket=null,t.destroy(e)):x(t)?t.abort():x(t.req)?t.req.abort():"function"==typeof t.destroy?t.destroy(e):"function"==typeof t.close?t.close():e?n.nextTick(E,t,e):n.nextTick(S,t),t.destroyed||(t[u]=!0))},destroy:function(t,e){const r=this._readableState,n=this._writableState,o=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof e&&e(),this):(p(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?g(this,t,e):this.once(d,(function(r){g(this,i(r,t),e)})),this)},undestroy:function(){const t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=!1===t.readable,t.endEmitted=!1===t.readable),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=!1===e.writable,e.ending=!1===e.writable,e.finished=!1===e.writable)},errorOrDestroy:b}},72664:(t,e,r)=>{"use strict";const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=r(37808);t.exports=l;const s=r(37470),u=r(18672);a(l.prototype,s.prototype),a(l,s);{const t=o(u.prototype);for(let e=0;e<t.length;e++){const r=t[e];l.prototype[r]||(l.prototype[r]=u.prototype[r])}}function l(t){if(!(this instanceof l))return new l(t);s.call(this,t),u.call(this,t),t?(this.allowHalfOpen=!1!==t.allowHalfOpen,!1===t.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===t.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(t){this._readableState&&this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}}),l.fromWeb=function(t,e){return d().newStreamDuplexFromReadableWritablePair(t,e)},l.toWeb=function(t){return d().newReadableWritablePairFromDuplex(t)},l.from=function(t){return f||(f=r(76048)),f(t,"body")}},76048:(t,e,r)=>{const n=r(34155),i=r(48764),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=r(74451),p=r(41927),{AbortError:g,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:v}}=r(33555),{destroyer:m}=r(55306),b=r(72664),w=r(37470),_=r(18672),{createDeferredPromise:x}=r(61357),S=r(57722),E=globalThis.Blob||i.Blob,T=void 0!==E?function(t){return t instanceof E}:function(t){return!1},k=globalThis.AbortController||r(28599).AbortController,{FunctionPrototypeCall:O}=r(37808);class A extends b{constructor(t){super(t),!1===(null==t?void 0:t.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==t?void 0:t.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function C(t){const e=t.readable&&"function"!=typeof t.readable.read?w.wrap(t.readable):t.readable,r=t.writable;let n,i,s,u,l,c=!!o(e),f=!!a(r);function d(t){const e=u;u=null,e?e(t):t&&l.destroy(t)}return l=new A({readableObjectMode:!(null==e||!e.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:f}),f&&(p(r,t=>{f=!1,t&&m(e,t),d(t)}),l._write=function(t,e,i){r.write(t,e)?i():n=i},l._final=function(t){r.end(),i=t},r.on("drain",(function(){if(n){const t=n;n=null,t()}})),r.on("finish",(function(){if(i){const t=i;i=null,t()}}))),c&&(p(e,t=>{c=!1,t&&m(e,t),d(t)}),e.on("readable",(function(){if(s){const t=s;s=null,t()}})),e.on("end",(function(){l.push(null)})),l._read=function(){for(;;){const t=e.read();if(null===t)return void(s=l._read);if(!l.push(t))return}}),l._destroy=function(t,o){t||null===u||(t=new g),s=null,n=null,i=null,null===u?o(t):(u=o,m(r,t),m(e,t))},l}t.exports=function t(e,r){if(f(e))return e;if(l(e))return C({readable:e});if(c(e))return C({writable:e});if(u(e))return C({writable:!1,readable:!1});if(d(e))return C({readable:w.fromWeb(e)});if(h(e))return C({writable:_.fromWeb(e)});if("function"==typeof e){const{value:t,write:i,final:o,destroy:a}=function(t){let{promise:e,resolve:r}=x();const i=new k,o=i.signal;return{value:t(async function*(){for(;;){const t=e;e=null;const{chunk:i,done:a,cb:s}=await t;if(n.nextTick(s),a)return;if(o.aborted)throw new g(void 0,{cause:o.reason});({promise:e,resolve:r}=x()),yield i}}(),{signal:o}),write(t,e,n){const i=r;r=null,i({chunk:t,done:!1,cb:n})},final(t){const e=r;r=null,e({done:!0,cb:t})},destroy(t,e){i.abort(),e(t)}}}(e);if(s(t))return S(A,t,{objectMode:!0,write:i,final:o,destroy:a});const u=null==t?void 0:t.then;if("function"==typeof u){let e;const r=O(u,t,t=>{if(null!=t)throw new v("nully","body",t)},t=>{m(e,t)});return e=new A({objectMode:!0,readable:!1,write:i,final(t){o(async()=>{try{await r,n.nextTick(t,null)}catch(e){n.nextTick(t,e)}})},destroy:a})}throw new v("Iterable, AsyncIterable or AsyncFunction",r,t)}if(T(e))return t(e.arrayBuffer());if(s(e))return S(A,e,{objectMode:!0,writable:!1});if(d(null==e?void 0:e.readable)&&h(null==e?void 0:e.writable))return A.fromWeb(e);if("object"==typeof(null==e?void 0:e.writable)||"object"==typeof(null==e?void 0:e.readable)){return C({readable:null!=e&&e.readable?l(null==e?void 0:e.readable)?null==e?void 0:e.readable:t(e.readable):void 0,writable:null!=e&&e.writable?c(null==e?void 0:e.writable)?null==e?void 0:e.writable:t(e.writable):void 0})}const i=null==e?void 0:e.then;if("function"==typeof i){let t;return O(i,e,e=>{null!=e&&t.push(e),t.push(null)},e=>{m(t,e)}),t=new A({objectMode:!0,writable:!1,read(){}})}throw new y(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)}},41927:(t,e,r)=>{const n=r(34155),{AbortError:i,codes:o}=r(33555),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=r(61357),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=r(79395),{Promise:p,PromisePrototypeThen:g,SymbolDispose:y}=r(37808),{isClosed:v,isReadable:m,isReadableNodeStream:b,isReadableStream:w,isReadableFinished:_,isReadableErrored:x,isWritable:S,isWritableNodeStream:E,isWritableStream:T,isWritableFinished:k,isWritableErrored:O,isNodeStream:A,willEmitClose:C,kIsClosedPromise:P}=r(74451);let j;function R(t){return t.setHeader&&"function"==typeof t.abort}const N=()=>{};function I(t,e,o){var h,p;if(2===arguments.length?(o=e,e=u):null==e?e=u:d(e,"options"),f(o,"callback"),c(e.signal,"options.signal"),o=l(o),w(t)||T(t))return L(t,e,o);if(!A(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const g=null!==(h=e.readable)&&void 0!==h?h:b(t),P=null!==(p=e.writable)&&void 0!==p?p:E(t),I=t._writableState,D=t._readableState,M=()=>{t.writable||V()};let F=C(t)&&b(t)===g&&E(t)===P,B=k(t,!1);const V=()=>{B=!0,t.destroyed&&(F=!1),(!F||t.readable&&!g)&&(g&&!U||o.call(t))};let U=_(t,!1);const W=()=>{U=!0,t.destroyed&&(F=!1),(!F||t.writable&&!P)&&(P&&!B||o.call(t))},H=e=>{o.call(t,e)};let Y=v(t);const G=()=>{Y=!0;const e=O(t)||x(t);return e&&"boolean"!=typeof e?o.call(t,e):g&&!U&&b(t,!0)&&!_(t,!1)?o.call(t,new s):!P||B||k(t,!1)?void o.call(t):o.call(t,new s)},$=()=>{Y=!0;const e=O(t)||x(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},q=()=>{t.req.on("finish",V)};R(t)?(t.on("complete",V),F||t.on("abort",G),t.req?q():t.on("request",q)):P&&!I&&(t.on("end",M),t.on("close",M)),F||"boolean"!=typeof t.aborted||t.on("aborted",G),t.on("end",W),t.on("finish",V),!1!==e.error&&t.on("error",H),t.on("close",G),Y?n.nextTick(G):null!=I&&I.errorEmitted||null!=D&&D.errorEmitted?F||n.nextTick($):(g||F&&!m(t)||!B&&!1!==S(t))&&(P||F&&!S(t)||!U&&!1!==m(t))?D&&t.req&&t.aborted&&n.nextTick($):n.nextTick($);const z=()=>{o=N,t.removeListener("aborted",G),t.removeListener("complete",V),t.removeListener("abort",G),t.removeListener("request",q),t.req&&t.req.removeListener("finish",V),t.removeListener("end",M),t.removeListener("close",M),t.removeListener("finish",V),t.removeListener("end",W),t.removeListener("error",H),t.removeListener("close",G)};if(e.signal&&!Y){const a=()=>{const r=o;z(),r.call(t,new i(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)n.nextTick(a);else{j=j||r(61357).addAbortListener;const n=j(e.signal,a),i=o;o=l((...e)=>{n[y](),i.apply(t,e)})}}return z}function L(t,e,o){let a=!1,s=N;if(e.signal)if(s=()=>{a=!0,o.call(t,new i(void 0,{cause:e.signal.reason}))},e.signal.aborted)n.nextTick(s);else{j=j||r(61357).addAbortListener;const n=j(e.signal,s),i=o;o=l((...e)=>{n[y](),i.apply(t,e)})}const u=(...e)=>{a||n.nextTick(()=>o.apply(t,e))};return g(t[P].promise,u,u),N}t.exports=I,t.exports.finished=function(t,e){var r;let n=!1;return null===e&&(e=u),null!==(r=e)&&void 0!==r&&r.cleanup&&(h(e.cleanup,"cleanup"),n=e.cleanup),new p((r,i)=>{const o=I(t,e,t=>{n&&o(),t?i(t):r()})})}},57722:(t,e,r)=>{"use strict";const n=r(34155),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=r(37808),{Buffer:s}=r(48764),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(33555).codes;t.exports=function(t,e,r){let c,f;if("string"==typeof e||e instanceof s)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});if(e&&e[o])f=!0,c=e[o]();else{if(!e||!e[a])throw new u("iterable",["Iterable"],e);f=!1,c=e[a]()}const d=new t({objectMode:!0,highWaterMark:1,...r});let h=!1;return d._read=function(){h||(h=!0,async function(){for(;;){try{const{value:t,done:e}=f?await c.next():c.next();if(e)d.push(null);else{const e=t&&"function"==typeof t.then?await t:t;if(null===e)throw h=!1,new l;if(d.push(e))continue;h=!1}}catch(t){d.destroy(t)}break}}())},d._destroy=function(t,e){i(async function(t){const e=null!=t,r="function"==typeof c.throw;if(e&&r){const{value:e,done:r}=await c.throw(t);if(await e,r)return}if("function"==typeof c.return){const{value:t}=await c.return();await t}}(t),()=>n.nextTick(e,t),r=>n.nextTick(e,r||t))},d}},16618:(t,e,r)=>{"use strict";const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(37808),{EventEmitter:o}=r(17187);function a(t){o.call(this,t)}function s(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?n(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(t,e){const r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",i),t._isStdio||e&&!1===e.end||(r.on("end",u),r.on("close",l));let a=!1;function u(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){f(),0===o.listenerCount(this,"error")&&this.emit("error",t)}function f(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",l),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),t.removeListener("close",f)}return s(r,"error",c),s(t,"error",c),r.on("end",f),r.on("close",f),t.on("close",f),t.emit("pipe",r),t},t.exports={Stream:a,prependListener:s}},83093:(t,e,r)=>{"use strict";const n=globalThis.AbortController||r(28599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=r(33555),{validateAbortSignal:l,validateInteger:c,validateObject:f}=r(79395),d=r(37808).Symbol("kWeak"),h=r(37808).Symbol("kResistStopPropagation"),{finished:p}=r(41927),g=r(72982),{addAbortSignalNoValidate:y}=r(1163),{isWritable:v,isNodeStream:m}=r(74451),{deprecate:b}=r(61357),{ArrayPrototypePush:w,Boolean:_,MathFloor:x,Number:S,NumberIsNaN:E,Promise:T,PromiseReject:k,PromiseResolve:O,PromisePrototypeThen:A,Symbol:C}=r(37808),P=C("kEmpty"),j=C("kEof");function R(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");let n=1;null!=(null==e?void 0:e.concurrency)&&(n=x(e.concurrency));let i=n-1;return null!=(null==e?void 0:e.highWaterMark)&&(i=x(e.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const o=r(61357).AbortSignalAny([null==e?void 0:e.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 e of a){if(d)return;if(o.aborted)throw new u;try{if(e=t(e,l),e===P)continue;e=O(e)}catch(t){e=k(t)}h+=1,A(e,g,p),s.push(e),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(t=>{f=t})}s.push(j)}catch(t){const e=k(t);A(e,g,p),s.push(e)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const t=await s[0];if(t===j)return;if(o.aborted)throw new u;t!==P&&(yield t),s.shift(),y()}await new T(t=>{c=t})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function N(t,e){for await(const r of I.call(this,t,e))return!0;return!1}function I(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);return R.call(this,(async function(e,r){return await t(e,r)?e:P}),e)}class L extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function D(t){if(t=S(t),E(t))return 0;if(t<0)throw new s("number",">= 0",t);return t}t.exports.streamReturningOperators={asIndexedPairs:b((function(t){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),async function*(){let e=0;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u({cause:t.signal.reason});yield[e++,n]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(t,e){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),t=D(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u;t--<=0&&(yield r)}}.call(this)},filter:I,flatMap:function(t,e){const r=R.call(this,t,e);return async function*(){for await(const t of r)yield*t}.call(this)},map:R,take:function(t,e){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),t=D(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u;if(t-- >0&&(yield r),t<=0)return}}.call(this)},compose:function(t,e){if(null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),m(t)&&!v(t))throw new i("stream",t,"must be writable");const r=g(this,t);return null!=e&&e.signal&&y(e.signal,r),r}},t.exports.promiseReturningOperators={every:async function(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);return!await N.call(this,async(...e)=>!await t(...e),e)},forEach:async function(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);for await(const r of R.call(this,(async function(e,r){return await t(e,r),P}),e));},reduce:async function(t,e,r){var i;if("function"!=typeof t)throw new o("reducer",["Function","AsyncFunction"],t);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 t=new u(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(t)),t}const s=new n,c=s.signal;if(null!=r&&r.signal){const t={once:!0,[d]:this,[h]:!0};r.signal.addEventListener("abort",()=>s.abort(),t)}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?e=await t(e,n,{signal:c}):(e=n,a=!0)}if(!g&&!a)throw new L}finally{s.abort()}return e},toArray:async function(t){null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");const e=[];for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u(void 0,{cause:t.signal.reason});w(e,n)}return e},some:N,find:async function(t,e){for await(const r of I.call(this,t,e))return r}}},66541:(t,e,r)=>{"use strict";const{ObjectSetPrototypeOf:n}=r(37808);t.exports=o;const i=r(2595);function o(t){if(!(this instanceof o))return new o(t);i.call(this,t)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(t,e,r){r(null,t)}},33298:(t,e,r)=>{const n=r(34155),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=r(37808),u=r(41927),{once:l}=r(61357),c=r(55306),f=r(72664),{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:v},AbortError:m}=r(33555),{validateFunction:b,validateAbortSignal:w}=r(79395),{isIterable:_,isReadable:x,isReadableNodeStream:S,isNodeStream:E,isTransformStream:T,isWebStream:k,isReadableStream:O,isReadableFinished:A}=r(74451),C=globalThis.AbortController||r(28599).AbortController;let P,j,R;function N(t,e,r){let n=!1;t.on("close",()=>{n=!0});return{destroy:e=>{n||(n=!0,c.destroyer(t,e||new y("pipe")))},cleanup:u(t,{readable:e,writable:r},t=>{n=!t})}}function I(t){if(_(t))return t;if(S(t))return async function*(t){j||(j=r(37470));yield*j.prototype[a].call(t)}(t);throw new h("val",["Readable","Iterable","AsyncIterable"],t)}async function L(t,e,r,{end:n}){let i,a=null;const s=t=>{if(t&&(i=t),a){const t=a;a=null,t()}},l=()=>new o((t,e)=>{i?e(i):a=()=>{i?e(i):t()}});e.on("drain",s);const c=u(e,{readable:!1},s);try{e.writableNeedDrain&&await l();for await(const r of t)e.write(r)||await l();n&&(e.end(),await l()),r()}catch(t){r(i!==t?d(i,t):t)}finally{c(),e.off("drain",s)}}async function D(t,e,r,{end:n}){T(e)&&(e=e.writable);const i=e.getWriter();try{for await(const e of t)await i.ready,i.write(e).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(t){try{await i.abort(t),r(t)}catch(t){r(t)}}}function M(t,e,o){if(1===t.length&&i(t[0])&&(t=t[0]),t.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 m)}let y,v,b;w(l,"options.signal"),R=R||r(61357).addAbortListener,l&&(y=R(l,d));const A=[];let j,M=0;function B(t){V(t,0==--M)}function V(t,r){var i;if(!t||v&&"ERR_STREAM_PREMATURE_CLOSE"!==v.code||(v=t),v||r){for(;A.length;)A.shift()(v);null===(i=y)||void 0===i||i[s](),a.abort(),r&&(v||c.forEach(t=>t()),n.nextTick(e,v,b))}}for(let e=0;e<t.length;e++){const i=t[e],a=e<t.length-1,s=e>0,l=a||!1!==(null==o?void 0:o.end),d=e===t.length-1;if(E(i)){if(l){const{destroy:t,cleanup:e}=N(i,a,s);A.push(t),x(i)&&d&&c.push(e)}function U(t){t&&"AbortError"!==t.name&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code&&B(t)}i.on("error",U),x(i)&&d&&c.push(()=>{i.removeListener("error",U)})}if(0===e)if("function"==typeof i){if(j=i({signal:u}),!_(j))throw new p("Iterable, AsyncIterable or Stream","source",j)}else j=_(i)||S(i)||T(i)?i:f.from(i);else if("function"==typeof i){var W;if(T(j))j=I(null===(W=j)||void 0===W?void 0:W.readable);else j=I(j);if(j=i(j,{signal:u}),a){if(!_(j,!0))throw new p("AsyncIterable",`transform[${e-1}]`,j)}else{var H;P||(P=r(66541));const t=new P({objectMode:!0}),e=null===(H=j)||void 0===H?void 0:H.then;if("function"==typeof e)M++,e.call(j,e=>{b=e,null!=e&&t.write(e),l&&t.end(),n.nextTick(B)},e=>{t.destroy(e),n.nextTick(B,e)});else if(_(j,!0))M++,L(j,t,B,{end:l});else{if(!O(j)&&!T(j))throw new p("AsyncIterable or Promise","destination",j);{const e=j.readable||j;M++,L(e,t,B,{end:l})}}j=t;const{destroy:i,cleanup:o}=N(j,!1,!0);A.push(i),d&&c.push(o)}}else if(E(i)){if(S(j)){M+=2;const t=F(j,i,B,{end:l});x(i)&&d&&c.push(t)}else if(T(j)||O(j)){const t=j.readable||j;M++,L(t,i,B,{end:l})}else{if(!_(j))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);M++,L(j,i,B,{end:l})}j=i}else if(k(i)){if(S(j))M++,D(I(j),i,B,{end:l});else if(O(j)||_(j))M++,D(j,i,B,{end:l});else{if(!T(j))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);M++,D(j.readable,i,B,{end:l})}j=i}else j=f.from(i)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(d),j}function F(t,e,r,{end:i}){let o=!1;if(e.on("close",()=>{o||r(new v)}),t.pipe(e,{end:!1}),i){function a(){o=!0,e.end()}A(t)?n.nextTick(a):t.once("end",a)}else r();return u(t,{readable:!0,writable:!1},e=>{const n=t._readableState;e&&"ERR_STREAM_PREMATURE_CLOSE"===e.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?t.once("end",r).once("error",r):r(e)}),u(e,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:M,pipeline:function(...t){return M(t,l(function(t){return b(t[t.length-1],"streams[stream.length - 1]"),t.pop()}(t)))}}},37470:(t,e,r)=>{const n=r(34155),{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(37808);t.exports=W,W.ReadableState=U;const{EventEmitter:y}=r(17187),{Stream:v,prependListener:m}=r(16618),{Buffer:b}=r(48764),{addAbortSignal:w}=r(1163),_=r(41927);let x=r(61357).debuglog("stream",t=>{x=t});const S=r(82481),E=r(55306),{getHighWaterMark:T,getDefaultHighWaterMark:k}=r(42109),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_OUT_OF_RANGE:P,ERR_STREAM_PUSH_AFTER_EOF:j,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:N}=r(33555),{validateObject:I}=r(79395),L=g("kPaused"),{StringDecoder:D}=r(32553),M=r(57722);c(W.prototype,v.prototype),c(W,v);const F=()=>{},{errorOrDestroy:B}=E;function V(t){return{enumerable:!1,get(){return 0!=(this.state&t)},set(e){e?this.state|=t:this.state&=~t}}}function U(t,e,n){"boolean"!=typeof n&&(n=e instanceof r(72664)),this.state=6192,t&&t.objectMode&&(this.state|=1),n&&t&&t.readableObjectMode&&(this.state|=1),this.highWaterMark=t?T(this,t,"readableHighWaterMark",n):k(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[L]=null,t&&!1===t.emitClose&&(this.state&=-2049),t&&!1===t.autoDestroy&&(this.state&=-4097),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new D(t.encoding),this.encoding=t.encoding)}function W(t){if(!(this instanceof W))return new W(t);const e=this instanceof r(72664);this._readableState=new U(t,this,e),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!e&&w(t.signal,this)),v.call(this,t),E.construct(this,()=>{this._readableState.needReadable&&z(this,this._readableState)})}function H(t,e,r,n){x("readableAddChunk",e);const i=t._readableState;let o;if(0==(1&i.state)&&("string"==typeof e?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=b.from(e,r).toString(i.encoding):(e=b.from(e,r),r=""))):e instanceof b?r="":v._isUint8Array(e)?(e=v._uint8ArrayToBuffer(e),r=""):null!=e&&(o=new A("chunk",["string","Buffer","Uint8Array"],e))),o)B(t,o);else if(null===e)i.state&=-9,function(t,e){if(x("onEofChunk"),e.ended)return;if(e.decoder){const t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length)}e.ended=!0,e.sync?$(t):(e.needReadable=!1,e.emittedReadable=!0,q(t))}(t,i);else if(0!=(1&i.state)||e&&e.length>0)if(n)if(0!=(4&i.state))B(t,new R);else{if(i.destroyed||i.errored)return!1;Y(t,i,e,!0)}else if(i.ended)B(t,new j);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||0!==e.length?Y(t,i,e,!1):z(t,i)):Y(t,i,e,!1)}else n||(i.state&=-9,z(t,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function Y(t,e,r,n){e.flowing&&0===e.length&&!e.sync&&t.listenerCount("data")>0?(0!=(65536&e.state)?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),0!=(64&e.state)&&$(t)),z(t,e)}u(U.prototype,{objectMode:V(1),ended:V(2),endEmitted:V(4),reading:V(8),constructed:V(16),sync:V(32),needReadable:V(64),emittedReadable:V(128),readableListening:V(256),resumeScheduled:V(512),errorEmitted:V(1024),emitClose:V(2048),autoDestroy:V(4096),destroyed:V(8192),closed:V(16384),closeEmitted:V(32768),multiAwaitDrain:V(65536),readingMore:V(1<<17),dataEmitted:V(1<<18)}),W.prototype.destroy=E.destroy,W.prototype._undestroy=E.undestroy,W.prototype._destroy=function(t,e){e(t)},W.prototype[y.captureRejectionSymbol]=function(t){this.destroy(t)},W.prototype[h]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new N,this.destroy(t)),new f((e,r)=>_(this,n=>n&&n!==t?r(n):e(null)))},W.prototype.push=function(t,e){return H(this,t,e,!1)},W.prototype.unshift=function(t,e){return H(this,t,e,!0)},W.prototype.isPaused=function(){const t=this._readableState;return!0===t[L]||!1===t.flowing},W.prototype.setEncoding=function(t){const e=new D(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const t of r)n+=e.write(t);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function G(t,e){return t<=0||0===e.length&&e.ended?0:0!=(1&e.state)?1:a(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}function $(t){const e=t._readableState;x("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(x("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(q,t))}function q(t){const e=t._readableState;x("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||e.errored||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,K(t)}function z(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,n.nextTick(X,t,e))}function X(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){const r=e.length;if(x("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function Q(t){const e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!1===e[L]?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}function Z(t){x("readable nexttick read 0"),t.read(0)}function J(t,e){x("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),K(t),e.flowing&&!e.reading&&t.read(0)}function K(t){const e=t._readableState;for(x("flow",e.flowing);e.flowing&&null!==t.read(););}function tt(t,e){"function"!=typeof t.read&&(t=W.wrap(t,{objectMode:!0}));const r=async function*(t,e){let r,n=F;function i(e){this===t?(n(),n=F):n=e}t.on("readable",i);const o=_(t,{writable:!1},t=>{r=t?O(r,t):null,n(),n=F});try{for(;;){const e=t.destroyed?null:t.read();if(null!==e)yield e;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(t){throw r=O(r,t),r}finally{!r&&!1===(null==e?void 0:e.destroyOnReturn)||void 0!==r&&!t._readableState.autoDestroy?(t.off("readable",i),o()):E.destroyer(t,null)}}(t,e);return r.stream=t,r}function et(t,e){if(0===e.length)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function rt(t){const e=t._readableState;x("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(nt,e,t))}function nt(t,e){if(x("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&0===t.length)if(t.endEmitted=!0,e.emit("end"),e.writable&&!1===e.allowHalfOpen)n.nextTick(it,e);else if(t.autoDestroy){const t=e._writableState;(!t||t.autoDestroy&&(t.finished||!1===t.writable))&&e.destroy()}}function it(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}let ot;function at(){return void 0===ot&&(ot={}),ot}W.prototype.read=function(t){x("read",t),void 0===t?t=NaN:o(t)||(t=s(t,10));const e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=function(t){if(t>1073741824)throw new P("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,++t}(t)),0!==t&&(e.state&=-129),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return x("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?rt(this):$(this),null;if(0===(t=G(t,e))&&e.ended)return 0===e.length&&rt(this),null;let n,i=0!=(64&e.state);if(x("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&(i=!0,x("length less than watermark",i)),e.ended||e.reading||e.destroyed||e.errored||!e.constructed)i=!1,x("reading, ended or constructing",i);else if(i){x("do read"),e.state|=40,0===e.length&&(e.state|=64);try{this._read(e.highWaterMark)}catch(t){B(this,t)}e.state&=-33,e.reading||(t=G(r,e))}return n=t>0?et(t,e):null,null===n?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&rt(this)),null===n||e.errorEmitted||e.closeEmitted||(e.dataEmitted=!0,this.emit("data",n)),n},W.prototype._read=function(t){throw new C("_read()")},W.prototype.pipe=function(t,e){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(t),x("pipe count=%d opts=%j",i.pipes.length,e);const o=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?s:y;function a(e,n){x("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){x("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),u&&t.removeListener("drain",u);t.removeListener("error",h),t.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),l=!0,u&&i.awaitDrainWriters&&(!t._writableState||t._writableState.needDrain)&&u()}())}function s(){x("onend"),t.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),t.on("unpipe",a);let l=!1;function c(){l||(1===i.pipes.length&&i.pipes[0]===t?(x("false write response, pause",0),i.awaitDrainWriters=t,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(t)&&(x("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(t)),r.pause()),u||(u=function(t,e){return function(){const r=t._readableState;r.awaitDrainWriters===e?(x("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(x("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(e)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!t.listenerCount("data")||t.resume()}}(r,t),t.on("drain",u))}function f(e){x("ondata");const r=t.write(e);x("dest.write",r),!1===r&&c()}function h(e){if(x("onerror",e),y(),t.removeListener("error",h),0===t.listenerCount("error")){const r=t._writableState||t._readableState;r&&!r.errorEmitted?B(t,e):t.emit("error",e)}}function p(){t.removeListener("finish",g),y()}function g(){x("onfinish"),t.removeListener("close",p),y()}function y(){x("unpipe"),r.unpipe(t)}return r.on("data",f),m(t,"error",h),t.once("close",p),t.once("finish",g),t.emit("pipe",r),!0===t.writableNeedDrain?c():i.flowing||(x("pipe resume"),r.resume()),t},W.prototype.unpipe=function(t){const e=this._readableState;if(0===e.pipes.length)return this;if(!t){const t=e.pipes;e.pipes=[],this.pause();for(let e=0;e<t.length;e++)t[e].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(e.pipes,t);return-1===r||(e.pipes.splice(r,1),0===e.pipes.length&&this.pause(),t.emit("unpipe",this,{hasUnpiped:!1})),this},W.prototype.on=function(t,e){const r=v.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,x("on readable",i.length,i.reading),i.length?$(this):i.reading||n.nextTick(Z,this))),r},W.prototype.addListener=W.prototype.on,W.prototype.removeListener=function(t,e){const r=v.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(Q,this),r},W.prototype.off=W.prototype.removeListener,W.prototype.removeAllListeners=function(t){const e=v.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(Q,this),e},W.prototype.resume=function(){const t=this._readableState;return t.flowing||(x("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(J,t,e))}(this,t)),t[L]=!1,this},W.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[L]=!0,this},W.prototype.wrap=function(t){let e=!1;t.on("data",r=>{!this.push(r)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",t=>{B(this,t)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};const r=l(t);for(let e=1;e<r.length;e++){const n=r[e];void 0===this[n]&&"function"==typeof t[n]&&(this[n]=t[n].bind(t))}return this},W.prototype[p]=function(){return tt(this)},W.prototype.iterator=function(t){return void 0!==t&&I(t,"options"),tt(this,t)},u(W.prototype,{readable:{__proto__:null,get(){const t=this._readableState;return!(!t||!1===t.readable||t.destroyed||t.errorEmitted||t.endEmitted)},set(t){this._readableState&&(this._readableState.readable=!!t)}},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(t){this._readableState&&(this._readableState.flowing=t)}},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(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(U.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[L]},set(t){this[L]=!!t}}}),W._fromList=et,W.from=function(t,e){return M(W,t,e)},W.fromWeb=function(t,e){return at().newStreamReadableFromReadableStream(t,e)},W.toWeb=function(t,e){return at().newReadableStreamFromStreamReadable(t,e)},W.wrap=function(t,e){var r,n;return new W({objectMode:null===(r=null!==(n=t.readableObjectMode)&&void 0!==n?n:t.objectMode)||void 0===r||r,...e,destroy(e,r){E.destroyer(t,e),r(e)}}).wrap(t)}},42109:(t,e,r)=>{"use strict";const{MathFloor:n,NumberIsInteger:i}=r(37808),{validateInteger:o}=r(79395),{ERR_INVALID_ARG_VALUE:a}=r(33555).codes;let s=16384,u=16;function l(t){return t?u:s}t.exports={getHighWaterMark:function(t,e,r,o){const s=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=s){if(!i(s)||s<0){throw new a(o?"options."+r:"options.highWaterMark",s)}return n(s)}return l(t.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(t,e){o(e,"value",0),t?u=e:s=e}}},2595:(t,e,r)=>{"use strict";const{ObjectSetPrototypeOf:n,Symbol:i}=r(37808);t.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=r(33555).codes,a=r(72664),{getHighWaterMark:s}=r(42109);n(l.prototype,a.prototype),n(l,a);const u=i("kCallback");function l(t){if(!(this instanceof l))return new l(t);const e=t?s(this,t,"readableHighWaterMark",!0):null;0===e&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),a.call(this,t),this._readableState.sync=!1,this[u]=null,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function c(t){"function"!=typeof this._flush||this.destroyed?(this.push(null),t&&t()):this._flush((e,r)=>{e?t?t(e):this.destroy(e):(null!=r&&this.push(r),this.push(null),t&&t())})}function f(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(t,e,r){throw new o("_transform()")},l.prototype._write=function(t,e,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(t,e,(t,e)=>{t?r(t):(null!=e&&this.push(e),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)})},l.prototype._read=function(){if(this[u]){const t=this[u];this[u]=null,t()}}},74451:(t,e,r)=>{"use strict";const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=r(37808),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(t,e=!1){var r;return!(!t||"function"!=typeof t.pipe||"function"!=typeof t.on||e&&("function"!=typeof t.pause||"function"!=typeof t.resume)||t._writableState&&!1===(null===(r=t._readableState)||void 0===r?void 0:r.readable)||t._writableState&&!t._readableState)}function p(t){var e;return!(!t||"function"!=typeof t.write||"function"!=typeof t.on||t._readableState&&!1===(null===(e=t._writableState)||void 0===e?void 0:e.writable))}function g(t){return t&&(t._readableState||t._writableState||"function"==typeof t.write&&"function"==typeof t.on||"function"==typeof t.pipe&&"function"==typeof t.on)}function y(t){return!(!t||g(t)||"function"!=typeof t.pipeThrough||"function"!=typeof t.getReader||"function"!=typeof t.cancel)}function v(t){return!(!t||g(t)||"function"!=typeof t.getWriter||"function"!=typeof t.abort)}function m(t){return!(!t||g(t)||"object"!=typeof t.readable||"object"!=typeof t.writable)}function b(t){if(!g(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[a]||null!=n&&n.destroyed)}function w(t){if(!p(t))return null;if(!0===t.writableEnded)return!0;const e=t._writableState;return(null==e||!e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)}function _(t,e){if(!h(t))return null;const r=t._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===e&&!0===r.ended&&0===r.length))}function x(t){return t&&null!=t[u]?t[u]:"boolean"!=typeof(null==t?void 0:t.readable)?null:!b(t)&&(h(t)&&t.readable&&!_(t))}function S(t){return t&&null!=t[l]?t[l]:"boolean"!=typeof(null==t?void 0:t.writable)?null:!b(t)&&(p(t)&&t.writable&&!w(t))}function E(t){return"boolean"==typeof t._closed&&"boolean"==typeof t._defaultKeepAlive&&"boolean"==typeof t._removedConnection&&"boolean"==typeof t._removedContLen}function T(t){return"boolean"==typeof t._sent100&&E(t)}t.exports={isDestroyed:b,kIsDestroyed:a,isDisturbed:function(t){var e;return!(!t||!(null!==(e=t[c])&&void 0!==e?e:t.readableDidRead||t.readableAborted))},kIsDisturbed:c,isErrored:function(t){var e,r,n,i,o,a,u,l,c,f;return!(!t||!(null!==(e=null!==(r=null!==(n=null!==(i=null!==(o=null!==(a=t[s])&&void 0!==a?a:t.readableErrored)&&void 0!==o?o:t.writableErrored)&&void 0!==i?i:null===(u=t._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=t._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=t._readableState)||void 0===c?void 0:c.errored)&&void 0!==e?e:null===(f=t._writableState)||void 0===f?void 0:f.errored))},kIsErrored:s,isReadable:x,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:l,isClosed:function(t){if(!g(t))return null;if("boolean"==typeof t.closed)return t.closed;const e=t._writableState,r=t._readableState;return"boolean"==typeof(null==e?void 0:e.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==e?void 0:e.closed)||(null==r?void 0:r.closed):"boolean"==typeof t._closed&&E(t)?t._closed:null},isDuplexNodeStream:function(t){return!(!t||"function"!=typeof t.pipe||!t._readableState||"function"!=typeof t.on||"function"!=typeof t.write)},isFinished:function(t,e){return g(t)?!!b(t)||(!1===(null==e?void 0:e.readable)||!x(t))&&(!1===(null==e?void 0:e.writable)||!S(t)):null},isIterable:function(t,e){return null!=t&&(!0===e?"function"==typeof t[n]:!1===e?"function"==typeof t[i]:"function"==typeof t[n]||"function"==typeof t[i])},isReadableNodeStream:h,isReadableStream:y,isReadableEnded:function(t){if(!h(t))return null;if(!0===t.readableEnded)return!0;const e=t._readableState;return!(!e||e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)},isReadableFinished:_,isReadableErrored:function(t){var e,r;return g(t)?t.readableErrored?t.readableErrored:null!==(e=null===(r=t._readableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isNodeStream:g,isWebStream:function(t){return y(t)||v(t)||m(t)},isWritable:S,isWritableNodeStream:p,isWritableStream:v,isWritableEnded:w,isWritableFinished:function(t,e){if(!p(t))return null;if(!0===t.writableFinished)return!0;const r=t._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===e&&!0===r.ended&&0===r.length))},isWritableErrored:function(t){var e,r;return g(t)?t.writableErrored?t.writableErrored:null!==(e=null===(r=t._writableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isServerRequest:function(t){var e;return"boolean"==typeof t._consuming&&"boolean"==typeof t._dumped&&void 0===(null===(e=t.req)||void 0===e?void 0:e.upgradeOrConnect)},isServerResponse:T,willEmitClose:function(t){if(!g(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!n&&T(t)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:m}},18672:(t,e,r)=>{const n=r(34155),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=r(37808);t.exports=I,I.WritableState=R;const{EventEmitter:h}=r(17187),p=r(16618).Stream,{Buffer:g}=r(48764),y=r(55306),{addAbortSignal:v}=r(1163),{getHighWaterMark:m,getDefaultHighWaterMark:b}=r(42109),{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(33555).codes,{errorOrDestroy:C}=y;function P(){}l(I.prototype,p.prototype),l(I,p);const j=f("kOnFinished");function R(t,e,n){"boolean"!=typeof n&&(n=e instanceof r(72664)),this.objectMode=!(!t||!t.objectMode),n&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?m(this,t,"writableHighWaterMark",n):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!t||!1!==t.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,e),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=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[j]=[]}function N(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}function I(t){const e=this instanceof r(72664);if(!e&&!a(I,this))return new I(t);this._writableState=new R(t,this,e),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&v(t.signal,this)),p.call(this,t),y.construct(this,()=>{const t=this._writableState;t.writing||W(this,t),G(this,t)})}function L(t,e,r,i){const o=t._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=P)}if(null===e)throw new k;if(!o.objectMode)if("string"==typeof e)!1!==o.decodeStrings&&(e=g.from(e,r),r="buffer");else if(e instanceof g)r="buffer";else{if(!p._isUint8Array(e))throw new w("chunk",["string","Buffer","Uint8Array"],e);e=p._uint8ArrayToBuffer(e),r="buffer"}let a;return o.ending?a=new O:o.destroyed&&(a=new E("write")),a?(n.nextTick(i,a),C(t,a,!0),a):(o.pendingcb++,function(t,e,r,n,i){const o=e.objectMode?1:r.length;e.length+=o;const a=e.length<e.highWaterMark;a||(e.needDrain=!0);e.writing||e.corked||e.errored||!e.constructed?(e.buffered.push({chunk:r,encoding:n,callback:i}),e.allBuffers&&"buffer"!==n&&(e.allBuffers=!1),e.allNoop&&i!==P&&(e.allNoop=!1)):(e.writelen=o,e.writecb=i,e.writing=!0,e.sync=!0,t._write(r,n,e.onwrite),e.sync=!1);return a&&!e.errored&&!e.destroyed}(t,o,e,r,i))}function D(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new E("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){--e.pendingcb,n(r),U(e),C(t,r)}function F(t,e){const r=t._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,e?(e.stack,r.errored||(r.errored=e),t._readableState&&!t._readableState.errored&&(t._readableState.errored=e),i?n.nextTick(M,t,r,e,o):M(t,r,e,o)):(r.buffered.length>r.bufferedIndex&&W(t,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:t,state:r},n.nextTick(B,r.afterWriteTickInfo)):V(t,r,1,o))):C(t,new x)}function B({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,V(t,e,r,n)}function V(t,e,r,n){for(!e.ending&&!t.destroyed&&0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&U(e),G(t,e)}function U(t){if(t.writing)return;for(let r=t.bufferedIndex;r<t.buffered.length;++r){var e;const{chunk:n,callback:i}=t.buffered[r],o=t.objectMode?1:n.length;t.length-=o,i(null!==(e=t.errored)&&void 0!==e?e:new E("write"))}const r=t[j].splice(0);for(let e=0;e<r.length;e++){var n;r[e](null!==(n=t.errored)&&void 0!==n?n:new E("end"))}N(t)}function W(t,e){if(e.corked||e.bufferProcessing||e.destroyed||!e.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=e,a=r.length-n;if(!a)return;let s=n;if(e.bufferProcessing=!0,a>1&&t._writev){e.pendingcb-=a-1;const n=e.allNoop?P:t=>{for(let e=s;e<r.length;++e)r[e].callback(t)},o=e.allNoop&&0===s?r:i(r,s);o.allBuffers=e.allBuffers,D(t,e,!0,e.length,o,"",n),N(e)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;D(t,e,!1,o?1:n.length,n,i,a)}while(s<r.length&&!e.writing);s===r.length?N(e):s>256?(r.splice(0,s),e.bufferedIndex=0):e.bufferedIndex=s}e.bufferProcessing=!1}function H(t){return t.ending&&!t.destroyed&&t.constructed&&0===t.length&&!t.errored&&0===t.buffered.length&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}function Y(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.finalCalled=!0,function(t,e){let r=!1;function i(i){if(r)C(t,null!=i?i:x());else if(r=!0,e.pendingcb--,i){const r=e[j].splice(0);for(let t=0;t<r.length;t++)r[t](i);C(t,i,e.sync)}else H(e)&&(e.prefinished=!0,t.emit("prefinish"),e.pendingcb++,n.nextTick($,t,e))}e.sync=!0,e.pendingcb++;try{t._final(i)}catch(t){i(t)}e.sync=!1}(t,e)))}function G(t,e,r){H(e)&&(Y(t,e),0===e.pendingcb&&(r?(e.pendingcb++,n.nextTick((t,e)=>{H(e)?$(t,e):e.pendingcb--},t,e)):H(e)&&(e.pendingcb++,$(t,e))))}function $(t,e){e.pendingcb--,e.finished=!0;const r=e[j].splice(0);for(let t=0;t<r.length;t++)r[t]();if(t.emit("finish"),e.autoDestroy){const e=t._readableState;(!e||e.autoDestroy&&(e.endEmitted||!1===e.readable))&&t.destroy()}}R.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(I,d,{__proto__:null,value:function(t){return!!a(this,t)||this===I&&(t&&t._writableState instanceof R)}}),I.prototype.pipe=function(){C(this,new S)},I.prototype.write=function(t,e,r){return!0===L(this,t,e,r)},I.prototype.cork=function(){this._writableState.corked++},I.prototype.uncork=function(){const t=this._writableState;t.corked&&(t.corked--,t.writing||W(this,t))},I.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=c(t)),!g.isEncoding(t))throw new A(t);return this._writableState.defaultEncoding=t,this},I.prototype._write=function(t,e,r){if(!this._writev)throw new _("_write()");this._writev([{chunk:t,encoding:e}],r)},I.prototype._writev=null,I.prototype.end=function(t,e,r){const i=this._writableState;let a;if("function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t){const r=L(this,t,e);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,G(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[j].push(r)),this},u(I.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(t){this._writableState&&(this._writableState.destroyed=t)}},writable:{__proto__:null,get(){const t=this._writableState;return!(!t||!1===t.writable||t.destroyed||t.errored||t.ending||t.ended)},set(t){this._writableState&&(this._writableState.writable=!!t)}},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 t=this._writableState;return!!t&&(!t.destroyed&&!t.ending&&t.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}I.prototype.destroy=function(t,e){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[j].length)&&n.nextTick(U,r),q.call(this,t,e),this},I.prototype._undestroy=y.undestroy,I.prototype._destroy=function(t,e){e(t)},I.prototype[h.captureRejectionSymbol]=function(t){this.destroy(t)},I.fromWeb=function(t,e){return X().newStreamWritableFromWritableStream(t,e)},I.toWeb=function(t){return X().newWritableStreamFromStreamWritable(t)}},79395:(t,e,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(37808),{hideStackFrames:v,codes:{ERR_SOCKET_BAD_PORT:m,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:x}}=r(33555),{normalizeEncoding:S}=r(61357),{isAsyncFunction:E,isArrayBufferView:T}=r(61357).types,k={};const O=/^[0-7]+$/;const A=v((t,e,r=c,n=l)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);if(t<r||t>n)throw new _(e,`>= ${r} && <= ${n}`,t)}),C=v((t,e,r=-2147483648,n=2147483647)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);if(t<r||t>n)throw new _(e,`>= ${r} && <= ${n}`,t)}),P=v((t,e,r=!1)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);const n=r?1:0;if(t<n||t>4294967295)throw new _(e,`>= ${n} && <= 4294967295`,t)});function j(t,e){if("string"!=typeof t)throw new b(e,"string",t)}const R=v((t,e,r)=>{if(!i(r,t)){const n=o(a(r,t=>"string"==typeof t?`'${t}'`:p(t)),", ");throw new w(e,t,"must be one of: "+n)}});function N(t,e){if("boolean"!=typeof t)throw new b(e,"boolean",t)}function I(t,e,r){return null!=t&&d(t,e)?t[e]:r}const L=v((t,e,r=null)=>{const i=I(r,"allowArray",!1),o=I(r,"allowFunction",!1);if(!I(r,"nullable",!1)&&null===t||!i&&n(t)||"object"!=typeof t&&(!o||"function"!=typeof t))throw new b(e,"Object",t)}),D=v((t,e)=>{if(null!=t&&"object"!=typeof t&&"function"!=typeof t)throw new b(e,"a dictionary",t)}),M=v((t,e,r=0)=>{if(!n(t))throw new b(e,"Array",t);if(t.length<r){throw new w(e,t,"must be longer than "+r)}});const F=v((t,e="buffer")=>{if(!T(t))throw new b(e,["Buffer","TypedArray","DataView"],t)});const B=v((t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new b(e,"AbortSignal",t)}),V=v((t,e)=>{if("function"!=typeof t)throw new b(e,"Function",t)}),U=v((t,e)=>{if("function"!=typeof t||E(t))throw new b(e,"Function",t)}),W=v((t,e)=>{if(void 0!==t)throw new b(e,"undefined",t)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Y(t,e){if(void 0===t||!h(H,t))throw new w(e,t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(t){return t===(0|t)},isUint32:function(t){return t===t>>>0},parseFileMode:function(t,e,r){if(void 0===t&&(t=r),"string"==typeof t){if(null===h(O,t))throw new w(e,t,"must be a 32-bit unsigned integer or an octal string");t=f(t,8)}return P(t,e),t},validateArray:M,validateStringArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++)j(t[r],`${e}[${r}]`)},validateBooleanArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++)N(t[r],`${e}[${r}]`)},validateAbortSignalArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++){const n=t[r],i=`${e}[${r}]`;if(null==n)throw new b(i,"AbortSignal",n);B(n,i)}},validateBoolean:N,validateBuffer:F,validateDictionary:D,validateEncoding:function(t,e){const r=S(e),n=t.length;if("hex"===r&&n%2!=0)throw new w("encoding",e,"is invalid for data of length "+n)},validateFunction:V,validateInt32:C,validateInteger:A,validateNumber:function(t,e,r,n){if("number"!=typeof t)throw new b(e,"number",t);if(null!=r&&t<r||null!=n&&t>n||(null!=r||null!=n)&&u(t))throw new _(e,`${null!=r?">= "+r:""}${null!=r&&null!=n?" && ":""}${null!=n?"<= "+n:""}`,t)},validateObject:L,validateOneOf:R,validatePlainFunction:U,validatePort:function(t,e="Port",r=!0){if("number"!=typeof t&&"string"!=typeof t||"string"==typeof t&&0===y(t).length||+t!=+t>>>0||t>65535||0===t&&!r)throw new m(e,t,r);return 0|t},validateSignalName:function(t,e="signal"){if(j(t,e),void 0===k[t]){if(void 0!==k[g(t)])throw new x(t+" (signals must use all capital letters)");throw new x(t)}},validateString:j,validateUint32:P,validateUndefined:W,validateUnion:function(t,e,r){if(!i(r,t))throw new b(e,`('${o(r,"|")}')`,t)},validateAbortSignal:B,validateLinkHeaderValue:function(t){if("string"==typeof t)return Y(t,"hints"),t;if(n(t)){const e=t.length;let r="";if(0===e)return r;for(let n=0;n<e;n++){const i=t[n];Y(i,"hints"),r+=i,n!==e-1&&(r+=", ")}return r}throw new w("hints",t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},24126:(t,e,r)=>{"use strict";const n=r(93441),i=r(10181),o=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=o,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=n.Stream,t.exports.default=t.exports},33555:(t,e,r)=>{"use strict";const{format:n,inspect:i,AggregateError:o}=r(61357),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(t,e){if(!t)throw new c.ERR_INTERNAL_ASSERTION(e)}function d(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function h(t,e,r){r||(r=Error);class i extends r{constructor(...r){super(function(t,e,r){if("function"==typeof e)return f(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);const i=(e.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?e:n(e,...r)}(t,e,r))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=t,i.prototype[s]=!0,c[t]=i}function p(t){const e="__node_internal_"+t.name;return Object.defineProperty(t,"name",{value:e}),t}class g extends Error{constructor(t="The operation was aborted",e){if(void 0!==e&&"object"!=typeof e)throw new c.ERR_INVALID_ARG_TYPE("options","Object",e);super(t,e),this.code="ABORT_ERR",this.name="AbortError"}}h("ERR_ASSERTION","%s",Error),h("ERR_INVALID_ARG_TYPE",(t,e,r)=>{f("string"==typeof t,"'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=t+" ":n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],s=[];for(const t of e)f("string"==typeof t,"All expected entries have to be of type string"),u.includes(t)?o.push(t.toLowerCase()):l.test(t)?a.push(t):(f("object"!==t,'The value "object" should be written as "Object"'),s.push(t));if(a.length>0){const t=o.indexOf("object");-1!==t&&(o.splice(o,t,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 t=o.pop();n+=`one of type ${o.join(", ")}, or ${t}`}}(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 t=a.pop();n+=`an instance of ${a.join(", ")}, or ${t}`}}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 t=s.pop();n+=`one of ${s.join(", ")}, or ${t}`}}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 t=i(r,{colors:!1});t.length>25&&(t=t.slice(0,25)+"..."),n+=`. Received type ${typeof r} (${t})`}return n},TypeError),h("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=i(e);n.length>128&&(n=n.slice(0,128)+"...");return`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError),h("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;return`Expected ${t} to be returned from the "${e}" 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",(...t)=>{let e;f(t.length>0,"At least one arg needs to be specified");const r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(t=>`"${t}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{const r=t.pop();e+=`The ${t.join(", ")}, and ${r} arguments`}}return e+" must be specified"},TypeError),h("ERR_OUT_OF_RANGE",(t,e,r)=>{let n;return f(e,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=d(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=d(n)),n+="n"):n=i(r),`The value of "${t}" is out of range. It must be ${e}. 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),t.exports={AbortError:g,aggregateTwoErrors:p((function(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;const r=new a([e,t],e.message);return r.code=e.code,r}return t||e})),hideStackFrames:p,codes:c}},37808:t=>{"use strict";t.exports={ArrayIsArray:t=>Array.isArray(t),ArrayPrototypeIncludes:(t,e)=>t.includes(e),ArrayPrototypeIndexOf:(t,e)=>t.indexOf(e),ArrayPrototypeJoin:(t,e)=>t.join(e),ArrayPrototypeMap:(t,e)=>t.map(e),ArrayPrototypePop:(t,e)=>t.pop(e),ArrayPrototypePush:(t,e)=>t.push(e),ArrayPrototypeSlice:(t,e,r)=>t.slice(e,r),Error:Error,FunctionPrototypeCall:(t,e,...r)=>t.call(e,...r),FunctionPrototypeSymbolHasInstance:(t,e)=>Function.prototype[Symbol.hasInstance].call(t,e),MathFloor:Math.floor,Number: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:(t,e)=>Object.defineProperties(t,e),ObjectDefineProperty:(t,e,r)=>Object.defineProperty(t,e,r),ObjectGetOwnPropertyDescriptor:(t,e)=>Object.getOwnPropertyDescriptor(t,e),ObjectKeys:t=>Object.keys(t),ObjectSetPrototypeOf:(t,e)=>Object.setPrototypeOf(t,e),Promise:Promise,PromisePrototypeCatch:(t,e)=>t.catch(e),PromisePrototypeThen:(t,e,r)=>t.then(e,r),PromiseReject:t=>Promise.reject(t),PromiseResolve:t=>Promise.resolve(t),ReflectApply:Reflect.apply,RegExpPrototypeTest:(t,e)=>t.test(e),SafeSet:Set,String:String,StringPrototypeSlice:(t,e,r)=>t.slice(e,r),StringPrototypeToLowerCase:t=>t.toLowerCase(),StringPrototypeToUpperCase:t=>t.toUpperCase(),StringPrototypeTrim:t=>t.trim(),Symbol: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:(t,e,r)=>t.set(e,r),Boolean:Boolean,Uint8Array:Uint8Array}},61357:(t,e,r)=>{"use strict";const n=r(48764),{kResistStopPropagation:i,SymbolDispose:o}=r(37808),a=globalThis.AbortSignal||r(28599).AbortSignal,s=globalThis.AbortController||r(28599).AbortController,u=Object.getPrototypeOf((async function(){})).constructor,l=globalThis.Blob||n.Blob,c=void 0!==l?function(t){return t instanceof l}:function(t){return!1},f=(t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)};class d extends Error{constructor(t){if(!Array.isArray(t))throw new TypeError("Expected input to be an Array, got "+typeof t);let e="";for(let r=0;r<t.length;r++)e+=` ${t[r].stack}\n`;super(e),this.name="AggregateError",this.errors=t}}t.exports={AggregateError:d,kEmptyObject:Object.freeze({}),once(t){let e=!1;return function(...r){e||(e=!0,t.apply(this,r))}},createDeferredPromise:function(){let t,e;return{promise:new Promise((r,n)=>{t=r,e=n}),resolve:t,reject:e}},promisify:t=>new Promise((e,r)=>{t((t,...n)=>t?r(t):e(...n))}),debuglog:()=>function(){},format:(t,...e)=>t.replace(/%([sdifj])/g,(function(...[t,r]){const n=e.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(t){switch(typeof t){case"string":if(t.includes("'")){if(!t.includes('"'))return`"${t}"`;if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return String(t)+"n";case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction:t=>t instanceof u,isArrayBufferView:t=>ArrayBuffer.isView(t)},isBlob:c,deprecate:(t,e)=>t,addAbortListener:r(17187).addAbortListener||function(t,e){if(void 0===t)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",t);let r;return f(t,"signal"),((t,e)=>{if("function"!=typeof t)throw new ERR_INVALID_ARG_TYPE(e,"Function",t)})(e,"listener"),t.aborted?queueMicrotask(()=>e()):(t.addEventListener("abort",e,{__proto__:null,once:!0,[i]:!0}),r=()=>{t.removeEventListener("abort",e)}),{__proto__:null,[o](){var t;null===(t=r)||void 0===t||t()}}},AbortSignalAny:a.any||function(t){if(1===t.length)return t[0];const e=new s,r=()=>e.abort();return t.forEach(t=>{f(t,"signals"),t.addEventListener("abort",r,{once:!0})}),e.signal.addEventListener("abort",()=>{t.forEach(t=>t.removeEventListener("abort",r))},{once:!0}),e.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},93441:(t,e,r)=>{const{Buffer:n}=r(48764),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=r(37808),{promisify:{custom:s}}=r(61357),{streamReturningOperators:u,promiseReturningOperators:l}=r(83093),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(33555),f=r(72982),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=r(42109),{pipeline:p}=r(33298),{destroyer:g}=r(55306),y=r(41927),v=r(10181),m=r(74451),b=t.exports=r(16618).Stream;b.isDestroyed=m.isDestroyed,b.isDisturbed=m.isDisturbed,b.isErrored=m.isErrored,b.isReadable=m.isReadable,b.isWritable=m.isWritable,b.Readable=r(37470);for(const t of o(u)){const e=u[t];function w(...t){if(new.target)throw c();return b.Readable.from(a(e,this,t))}i(w,"name",{__proto__:null,value:e.name}),i(w,"length",{__proto__:null,value:e.length}),i(b.Readable.prototype,t,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const t of o(l)){const e=l[t];function w(...t){if(new.target)throw c();return a(e,this,t)}i(w,"name",{__proto__:null,value:e.name}),i(w,"length",{__proto__:null,value:e.length}),i(b.Readable.prototype,t,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}b.Writable=r(18672),b.Duplex=r(72664),b.Transform=r(2595),b.PassThrough=r(66541),b.pipeline=p;const{addAbortSignal:_}=r(1163);b.addAbortSignal=_,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:()=>v}),i(p,s,{__proto__:null,enumerable:!0,get:()=>v.pipeline}),i(y,s,{__proto__:null,enumerable:!0,get:()=>v.finished}),b.Stream=b,b._isUint8Array=function(t){return t instanceof Uint8Array},b._uint8ArrayToBuffer=function(t){return n.from(t.buffer,t.byteOffset,t.byteLength)}},10181:(t,e,r)=>{"use strict";const{ArrayPrototypePop:n,Promise:i}=r(37808),{isIterable:o,isNodeStream:a,isWebStream:s}=r(74451),{pipelineImpl:u}=r(33298),{finished:l}=r(41927);r(93441),t.exports={finished:l,pipeline:function(...t){return new i((e,r)=>{let i,l;const c=t[t.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const e=n(t);i=e.signal,l=e.end}u(t,(t,n)=>{t?r(t):e(n)},{signal:i,end:l})})}}},68912:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(9336),e)},9336:(t,e)=>{"use strict";function r(t){const e=[];let r=0;for(;r<t.length;)switch(t[r]){case"/":if("."===t[r+1])if("."===t[r+2]){if(!i(t[r+3])){e.push([]),r++;break}e.pop(),t[r+3]||e.push([]),r+=3}else{if(!i(t[r+2])){e.push([]),r++;break}t[r+2]||e.push([]),r+=2}else e.push([]),r++;break;case"#":case"?":e.length||e.push([]),e[e.length-1].push(t.substr(r)),r=t.length;break;default:e.length||e.push([]),e[e.length-1].push(t[r]),r++}return"/"+e.map(t=>t.join("")).join("/")}function n(t,e){let n=e+1;e>=0?"/"===t[e+1]&&"/"===t[e+2]&&(n=e+3):"/"===t[0]&&"/"===t[1]&&(n=2);const i=t.indexOf("/",n);if(i<0)return t;return t.substr(0,i)+r(t.substr(i))}function i(t){return!t||"#"===t||"?"===t||"/"===t}Object.defineProperty(e,"__esModule",{value:!0}),e.removeDotSegmentsOfPath=e.removeDotSegments=e.resolve=void 0,e.resolve=function(t,e){const i=(e=e||"").indexOf("#");if(i>0&&(e=e.substr(0,i)),!t.length){if(e.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);return e}if(t.startsWith("?")){const r=e.indexOf("?");return r>0&&(e=e.substr(0,r)),e+t}if(t.startsWith("#"))return e+t;if(!e.length){const e=t.indexOf(":");if(e<0)throw new Error(`Found invalid relative IRI '${t}' for a missing baseIRI`);return n(t,e)}const o=t.indexOf(":");if(o>=0)return n(t,o);const a=e.indexOf(":");if(a<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);const s=e.substr(0,a+1);if(0===t.indexOf("//"))return s+n(t,o);let u;if(e.indexOf("//",a)===a+1){if(u=e.indexOf("/",a+3),u<0)return e.length>a+3?e+"/"+n(t,o):s+n(t,o)}else if(u=e.indexOf("/",a+1),u<0)return s+n(t,o);if(0===t.indexOf("/"))return e.substr(0,u)+r(t);let l=e.substr(u);const c=l.lastIndexOf("/");return c>=0&&c<l.length-1&&(l=l.substr(0,c+1),"."===t[0]&&"."!==t[1]&&"/"!==t[1]&&t[2]&&(t=t.substr(1))),t=r(t=l+t),e.substr(0,u)+t},e.removeDotSegments=r,e.removeDotSegmentsOfPath=n},89509:(t,e,r)=>{
|
|
29
29
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
30
|
-
var n=r(
|
|
30
|
+
var n=r(48764),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},32553:(t,e,r)=>{"use strict";var n=r(89509).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.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(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=l,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=f,e=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function h(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},93379:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var o={},a=[],s=0;s<t.length;s++){var u=t[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)e[d].references++,e[d].updater(h);else{var p=i(h,n);n.byIndex=s,e.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function i(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,i){var o=n(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=r(o[a]);e[s].references--}for(var u=n(t,i),l=0;l<o.length;l++){var c=r(o[l]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=u}}},90569:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);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)}},19216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,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))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},44589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},21017:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(92504),e)},92504:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateIri=e.IriValidationStrategy=void 0;const r=function(){const t="([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",e=`${t}\\.${t}\\.${t}\\.${t}`,r="[a-fA-F0-9]{1,4}",n=`(${r}:${r}|${e})`,i="[a-zA-Z0-9\\-._~ -豈-﷏ﷰ-𐀀-𠀀-𰀀------------]",o=`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=]|[:@])*`,a=`(${o})+`,s=`(${o})*`;return new RegExp(`^[a-zA-Z][a-zA-Z0-9+\\-.]*:${`(\\/\\/${`(${`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=]|:)*`}@)?${`(${`\\[(${`((${r}:){6}${n}|::(${r}:){5}${n}|(${r})?::(${r}:){4}${n}|((${r}:){0,1}${r})?::(${r}:){3}${n}|((${r}:){0,2}${r})?::(${r}:){2}${n}|((${r}:){0,3}${r})?::${r}:${n}|((${r}:){0,4}${r})?::${n}|((${r}:){0,5}${r})?::${r}|((${r}:){0,6}${r})?::)`}|v[a-fA-F0-9]+\\.([!$&'()*+,;=]|[!$&'()*+,;=]|":)+)\\]`}|${e}|${`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=])*`})`}(:[0-9]*)?`}${`(\\/${s})*`}|${`\\/(${a}(\\/${s})*)?`}|${`${a}(\\/${s})*`}|)`}(\\?${`(${o}|[---]|[\\/?])*`})?(#${`(${o}|[\\/?])*`})?$`,"u")}(),n=/^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;var i;!function(t){t.Strict="strict",t.Pragmatic="pragmatic",t.None="none"}(i=e.IriValidationStrategy||(e.IriValidationStrategy={})),e.validateIri=function(t,e=i.Strict){switch(e){case i.Strict:return r.test(t)?void 0:new Error(`Invalid IRI according to RFC 3987: '${t}'`);case i.Pragmatic:return n.test(t)?void 0:new Error(`Invalid IRI according to RDF Turtle: '${t}'`);case i.None:return;default:return new Error(`Not supported validation strategy "${e}"`)}}},83347:(t,e)=>{"use strict";
|
|
31
31
|
/**
|
|
32
32
|
* Character classes and associated utilities for the 5th edition of XML 1.0.
|
|
33
33
|
*
|
|
34
34
|
* @author Louis-Dominique Dubeau
|
|
35
35
|
* @license MIT
|
|
36
36
|
* @copyright Louis-Dominique Dubeau
|
|
37
|
-
*/Object.defineProperty(
|
|
37
|
+
*/Object.defineProperty(e,"__esModule",{value:!0}),e.CHAR="\t\n\r --�𐀀-",e.S=" \t\r\n",e.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",e.NAME_CHAR="-"+e.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.CHAR_RE=new RegExp("^["+e.CHAR+"]$","u"),e.S_RE=new RegExp("^["+e.S+"]+$","u"),e.NAME_START_CHAR_RE=new RegExp("^["+e.NAME_START_CHAR+"]$","u"),e.NAME_CHAR_RE=new RegExp("^["+e.NAME_CHAR+"]$","u"),e.NAME_RE=new RegExp("^["+e.NAME_START_CHAR+"]["+e.NAME_CHAR+"]*$","u"),e.NMTOKEN_RE=new RegExp("^["+e.NAME_CHAR+"]+$","u");function r(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}e.S_LIST=[32,10,13,9],e.isChar=function(t){return t>=32&&t<=55295||10===t||13===t||9===t||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isS=function(t){return 32===t||10===t||13===t||9===t},e.isNameStartChar=r,e.isNameChar=function(t){return r(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},95285:(t,e)=>{"use strict";
|
|
38
38
|
/**
|
|
39
39
|
* Character classes and associated utilities for the 2nd edition of XML 1.1.
|
|
40
40
|
*
|
|
41
41
|
* @author Louis-Dominique Dubeau
|
|
42
42
|
* @license MIT
|
|
43
43
|
* @copyright Louis-Dominique Dubeau
|
|
44
|
-
*/Object.defineProperty(
|
|
44
|
+
*/Object.defineProperty(e,"__esModule",{value:!0}),e.CHAR="--�𐀀-",e.RESTRICTED_CHAR="-\b\v\f---",e.S=" \t\r\n",e.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",e.NAME_CHAR="-"+e.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.CHAR_RE=new RegExp("^["+e.CHAR+"]$","u"),e.RESTRICTED_CHAR_RE=new RegExp("^["+e.RESTRICTED_CHAR+"]$","u"),e.S_RE=new RegExp("^["+e.S+"]+$","u"),e.NAME_START_CHAR_RE=new RegExp("^["+e.NAME_START_CHAR+"]$","u"),e.NAME_CHAR_RE=new RegExp("^["+e.NAME_CHAR+"]$","u"),e.NAME_RE=new RegExp("^["+e.NAME_START_CHAR+"]["+e.NAME_CHAR+"]*$","u"),e.NMTOKEN_RE=new RegExp("^["+e.NAME_CHAR+"]+$","u");function r(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}e.S_LIST=[32,10,13,9],e.isChar=function(t){return t>=1&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isRestrictedChar=function(t){return t>=1&&t<=8||11===t||12===t||t>=14&&t<=31||t>=127&&t<=132||t>=134&&t<=159},e.isCharAndNotRestricted=function(t){return 9===t||10===t||13===t||t>31&&t<127||133===t||t>159&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isS=function(t){return 32===t||10===t||13===t||9===t},e.isNameStartChar=r,e.isNameChar=function(t){return r(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},87046:(t,e)=>{"use strict";
|
|
45
45
|
/**
|
|
46
46
|
* Character class utilities for XML NS 1.0 edition 3.
|
|
47
47
|
*
|
|
48
48
|
* @author Louis-Dominique Dubeau
|
|
49
49
|
* @license MIT
|
|
50
50
|
* @copyright Louis-Dominique Dubeau
|
|
51
|
-
*/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}},2134: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="},3348: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"},9636: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"},5230: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="},8388: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"},2777: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=="},509:(e,t,r)=>{"use strict";var n=r(9985),i=r(3691),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},2655:(e,t,r)=>{"use strict";var n=r(9429),i=r(3691),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},3550:(e,t,r)=>{"use strict";var n=r(598),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},7370:(e,t,r)=>{"use strict";var n=r(4201),i=r(5391),o=r(2560).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}},1514:(e,t,r)=>{"use strict";var n=r(730).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},767:(e,t,r)=>{"use strict";var n=r(3622),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},5027:(e,t,r)=>{"use strict";var n=r(8999),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},1655:(e,t,r)=>{"use strict";var n=r(3689);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},7612:(e,t,r)=>{"use strict";var n=r(2960).forEach,i=r(6834)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1055:(e,t,r)=>{"use strict";var n=r(4071),i=r(2615),o=r(690),a=r(1228),s=r(3292),u=r(9429),l=r(6310),c=r(6522),f=r(5185),d=r(1664),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(_=(w=f(t,x)).next,v=r?new this:[];!(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}},4328:(e,t,r)=>{"use strict";var n=r(5290),i=r(7578),o=r(6310),a=function(e){return function(t,r,a){var s,u=n(t),l=o(u),c=i(a,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2960:(e,t,r)=>{"use strict";var n=r(4071),i=r(8844),o=r(4413),a=r(690),s=r(6310),u=r(7120),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)}},9042:(e,t,r)=>{"use strict";var n=r(3689),i=r(4201),o=r(3615),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}))}},6834:(e,t,r)=>{"use strict";var n=r(3689);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},5649:(e,t,r)=>{"use strict";var n=r(7697),i=r(2297),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}},6004:(e,t,r)=>{"use strict";var n=r(8844);e.exports=n([].slice)},382:(e,t,r)=>{"use strict";var n=r(6004),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},5271:(e,t,r)=>{"use strict";var n=r(2297),i=r(9429),o=r(8999),a=r(4201)("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}},7120:(e,t,r)=>{"use strict";var n=r(5271);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},1228:(e,t,r)=>{"use strict";var n=r(5027),i=r(2125);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},6431:(e,t,r)=>{"use strict";var n=r(4201)("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}},6648:(e,t,r)=>{"use strict";var n=r(8844),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},926:(e,t,r)=>{"use strict";var n=r(3043),i=r(9985),o=r(6648),a=r(4201)("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}},800:(e,t,r)=>{"use strict";var n=r(5391),i=r(2148),o=r(6045),a=r(4071),s=r(767),u=r(981),l=r(8734),c=r(1934),f=r(7807),d=r(4241),h=r(7697),p=r(5375).fastKey,g=r(618),y=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,r,c){var f=e((function(e,i){s(e,d),y(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),h||(e.size=0),u(i)||l(i,e[c],{that:e,AS_ENTRIES:r})})),d=f.prototype,g=m(t),v=function(e,t,r){var n,i,o=g(e),a=b(e,t);return a?a.value=r:(o.last=a={index:i=p(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),h?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},b=function(e,t){var r,n=g(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===t)return r};return o(d,{clear:function(){for(var e=g(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=n(null),h?e.size=0:this.size=0},delete:function(e){var t=g(this),r=b(this,e);if(r){var n=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),t.first===r&&(t.first=n),t.last===r&&(t.last=i),h?t.size--:this.size--}return!!r},forEach:function(e){for(var t,r=g(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(d,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",i=m(t),o=m(n);c(e,t,(function(e,t){y(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?f("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(t)}}},319:(e,t,r)=>{"use strict";var n=r(9989),i=r(9037),o=r(8844),a=r(5266),s=r(1880),u=r(5375),l=r(8734),c=r(767),f=r(9985),d=r(981),h=r(8999),p=r(3689),g=r(6431),y=r(5997),m=r(3457);e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=v?"set":"add",_=i[e],S=_&&_.prototype,x=_,E={},T=function(e){var t=o(S[e]);s(S,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!f(_)||!(b||S.forEach&&!p((function(){(new _).entries().next()})))))x=r.getConstructor(t,e,v,w),u.enable();else if(a(e,!0)){var k=new x,O=k[w](b?{}:-0,1)!==k,A=p((function(){k.has(1)})),C=g((function(e){new _(e)})),P=!b&&p((function(){for(var e=new _,t=5;t--;)e[w](t,t);return!e.has(-0)}));C||((x=t((function(e,t){c(e,S);var r=m(new _,e,x);return d(t)||l(t,r[w],{that:r,AS_ENTRIES:v}),r}))).prototype=S,S.constructor=x),(A||P)&&(T("delete"),T("has"),v&&T("get")),(P||O)&&T(w),b&&S.clear&&delete S.clear}return E[e]=x,n({global:!0,constructor:!0,forced:x!==_},E),y(x,e),b||r.setStrong(x,e,v),x}},8758:(e,t,r)=>{"use strict";var n=r(6812),i=r(9152),o=r(2474),a=r(2560);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))}}},7413:(e,t,r)=>{"use strict";var n=r(4201)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},1748:(e,t,r)=>{"use strict";var n=r(3689);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7807:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5773:(e,t,r)=>{"use strict";var n=r(7697),i=r(2560),o=r(5684);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5684:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6522:(e,t,r)=>{"use strict";var n=r(8360),i=r(2560),o=r(5684);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},1797:(e,t,r)=>{"use strict";var n=r(5027),i=r(5899),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)}},2148:(e,t,r)=>{"use strict";var n=r(8702),i=r(2560);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)}},1880:(e,t,r)=>{"use strict";var n=r(9985),i=r(2560),o=r(8702),a=r(5014);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}},6045:(e,t,r)=>{"use strict";var n=r(1880);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},5014:(e,t,r)=>{"use strict";var n=r(9037),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}},8494:(e,t,r)=>{"use strict";var n=r(3691),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},7697:(e,t,r)=>{"use strict";var n=r(3689);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6420:(e,t,r)=>{"use strict";var n=r(9037),i=r(8999),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},5565:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},6338: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}},3265:(e,t,r)=>{"use strict";var n=r(6420)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},7365:(e,t,r)=>{"use strict";var n=r(71).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},2532:(e,t,r)=>{"use strict";var n=r(8563),i=r(806);e.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},8563:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},7298:(e,t,r)=>{"use strict";var n=r(71);e.exports=/MSIE|Trident/.test(n)},3221:(e,t,r)=>{"use strict";var n=r(71);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4764:(e,t,r)=>{"use strict";var n=r(71);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},806:(e,t,r)=>{"use strict";var n=r(9037),i=r(6648);e.exports="process"===i(n.process)},7486:(e,t,r)=>{"use strict";var n=r(71);e.exports=/web0s(?!.*chrome)/i.test(n)},71:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(e,t,r)=>{"use strict";var n,i,o=r(9037),a=r(71),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},7922:(e,t,r)=>{"use strict";var n=r(71).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},2739:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9989:(e,t,r)=>{"use strict";var n=r(9037),i=r(2474).f,o=r(5773),a=r(1880),s=r(5014),u=r(8758),l=r(5266);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)}}},3689:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8678:(e,t,r)=>{"use strict";r(4043);var n=r(2615),i=r(1880),o=r(6308),a=r(3689),s=r(4201),u=r(5773),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)}},1594:(e,t,r)=>{"use strict";var n=r(3689);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},1735:(e,t,r)=>{"use strict";var n=r(7215),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)})},4071:(e,t,r)=>{"use strict";var n=r(6576),i=r(509),o=r(7215),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)}}},7215:(e,t,r)=>{"use strict";var n=r(3689);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6761:(e,t,r)=>{"use strict";var n=r(8844),i=r(509),o=r(8999),a=r(6812),s=r(6004),u=r(7215),l=Function,c=n([].concat),f=n([].join),d={},h=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)};e.exports=u?l.bind:function(e){var t=i(this),r=t.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(t,r.length,r):t.apply(e,r)};return o(r)&&(a.prototype=r),a}},2615:(e,t,r)=>{"use strict";var n=r(7215),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1236:(e,t,r)=>{"use strict";var n=r(7697),i=r(6812),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}},2743:(e,t,r)=>{"use strict";var n=r(8844),i=r(509);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},6576:(e,t,r)=>{"use strict";var n=r(6648),i=r(8844);e.exports=function(e){if("Function"===n(e))return i(e)}},8844:(e,t,r)=>{"use strict";var n=r(7215),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)}}},6058:(e,t,r)=>{"use strict";var n=r(9037),i=r(9985),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},1664:(e,t,r)=>{"use strict";var n=r(926),i=r(4849),o=r(981),a=r(9478),s=r(4201)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},5185:(e,t,r)=>{"use strict";var n=r(2615),i=r(509),o=r(5027),a=r(3691),s=r(1664),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")}},2643:(e,t,r)=>{"use strict";var n=r(8844),i=r(2297),o=r(9985),a=r(6648),s=r(4327),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}}}},4849:(e,t,r)=>{"use strict";var n=r(509),i=r(981);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},7017:(e,t,r)=>{"use strict";var n=r(8844),i=r(690),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}))}},9037: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")()},6812:(e,t,r)=>{"use strict";var n=r(8844),i=r(690),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},7248:e=>{"use strict";e.exports={}},920:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},2688:(e,t,r)=>{"use strict";var n=r(6058);e.exports=n("document","documentElement")},8506:(e,t,r)=>{"use strict";var n=r(7697),i=r(3689),o=r(6420);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4413:(e,t,r)=>{"use strict";var n=r(8844),i=r(3689),o=r(6648),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},3457:(e,t,r)=>{"use strict";var n=r(9985),i=r(8999),o=r(9385);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}},6738:(e,t,r)=>{"use strict";var n=r(8844),i=r(9985),o=r(4091),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},5375:(e,t,r)=>{"use strict";var n=r(9989),i=r(8844),o=r(7248),a=r(8999),s=r(6812),u=r(2560).f,l=r(2741),c=r(6062),f=r(7049),d=r(4630),h=r(1594),p=!1,g=d("meta"),y=0,m=function(e){u(e,g,{value:{objectID:"O"+y++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},p=!0;var e=l.f,t=i([].splice),r={};r[g]=1,e(r).length&&(l.f=function(r){for(var n=e(r),i=0,o=n.length;i<o;i++)if(n[i]===g){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},onFreeze:function(e){return h&&p&&f(e)&&!s(e,g)&&m(e),e}};o[g]=!0},618:(e,t,r)=>{"use strict";var n,i,o,a=r(9834),s=r(9037),u=r(8999),l=r(5773),c=r(6812),f=r(4091),d=r(2713),h=r(7248),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new p("Object already initialized");return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var m=d("state");h[m]=!0,n=function(e,t){if(c(e,m))throw new p("Object already initialized");return t.facade=e,l(e,m,t),t},i=function(e){return c(e,m)?e[m]:{}},o=function(e){return c(e,m)}}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 p("Incompatible receiver, "+e+" required");return r}}}},3292:(e,t,r)=>{"use strict";var n=r(4201),i=r(9478),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},2297:(e,t,r)=>{"use strict";var n=r(6648);e.exports=Array.isArray||function(e){return"Array"===n(e)}},9985: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}},9429:(e,t,r)=>{"use strict";var n=r(8844),i=r(3689),o=r(9985),a=r(926),s=r(6058),u=r(6738),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},6251:(e,t,r)=>{"use strict";var n=r(6812);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},5266:(e,t,r)=>{"use strict";var n=r(3689),i=r(9985),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},981:e=>{"use strict";e.exports=function(e){return null==e}},8999:(e,t,r)=>{"use strict";var n=r(9985);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},598:(e,t,r)=>{"use strict";var n=r(8999);e.exports=function(e){return n(e)||null===e}},3931:e=>{"use strict";e.exports=!1},1245:(e,t,r)=>{"use strict";var n=r(8999),i=r(6648),o=r(4201)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},734:(e,t,r)=>{"use strict";var n=r(6058),i=r(9985),o=r(3622),a=r(9525),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))}},8734:(e,t,r)=>{"use strict";var n=r(4071),i=r(2615),o=r(5027),a=r(3691),s=r(3292),u=r(6310),l=r(3622),c=r(5185),f=r(1664),d=r(2125),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",e),new p(!0,e)},P=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=P(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=P(S.value)}catch(e){d(y,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},2125:(e,t,r)=>{"use strict";var n=r(2615),i=r(5027),o=r(4849);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}},974:(e,t,r)=>{"use strict";var n=r(2013).IteratorPrototype,i=r(5391),o=r(5684),a=r(5997),s=r(9478),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}},1934:(e,t,r)=>{"use strict";var n=r(9989),i=r(2615),o=r(3931),a=r(1236),s=r(9985),u=r(974),l=r(1868),c=r(9385),f=r(5997),d=r(5773),h=r(1880),p=r(4201),g=r(9478),y=r(2013),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),S=function(){return this};e.exports=function(e,t,r,a,p,y,x){u(r,t,a);var E,T,k,O=function(e){if(e===p&&j)return j;if(!w&&e&&e in P)return P[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",C=!1,P=e.prototype,R=P[_]||P["@@iterator"]||p&&P[p],j=!w&&R||O(p),N="Array"===t&&P.entries||R;if(N&&(E=l(N.call(new e)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,S)),f(E,A,!0,!0),o&&(g[A]=S)),m&&"values"===p&&R&&"values"!==R.name&&(!o&&v?d(P,"name","values"):(C=!0,j=function(){return i(R,this)})),p)if(T={values:O("values"),keys:y?j:O("keys"),entries:O("entries")},x)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:t,proto:!0,forced:w||C},T);return o&&!x||P[_]===j||h(P,_,j,{name:p}),g[t]=j,T}},2013:(e,t,r)=>{"use strict";var n,i,o,a=r(3689),s=r(9985),u=r(8999),l=r(5391),c=r(1868),f=r(1880),d=r(4201),h=r(3931),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}},9478:e=>{"use strict";e.exports={}},6310:(e,t,r)=>{"use strict";var n=r(3126);e.exports=function(e){return n(e.length)}},8702:(e,t,r)=>{"use strict";var n=r(8844),i=r(3689),o=r(9985),a=r(6812),s=r(7697),u=r(1236).CONFIGURABLE,l=r(6738),c=r(618),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")},8828: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)}},231:(e,t,r)=>{"use strict";var n,i,o,a,s,u=r(9037),l=r(517),c=r(4071),f=r(9886).set,d=r(4410),h=r(4764),p=r(3221),g=r(7486),y=r(806),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=_},8742:(e,t,r)=>{"use strict";var n=r(509),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)}},2124:(e,t,r)=>{"use strict";var n=r(1245),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},5394:(e,t,r)=>{"use strict";var n=r(7697),i=r(8844),o=r(2615),a=r(3689),s=r(300),u=r(7518),l=r(9556),c=r(690),f=r(4413),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");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==d({},e)[r]||"abcdefghijklmnopqrst"!==s(d({},t)).join("")}))?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},5391:(e,t,r)=>{"use strict";var n,i=r(5027),o=r(8920),a=r(2739),s=r(7248),u=r(2688),l=r(6420),c=r(2713),f=c("IE_PROTO"),d=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;g="undefined"!=typeof document?document.domain&&n?p(n):((t=l("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d.prototype=i(e),r=new d,d.prototype=null,r[f]=e):r=g(),void 0===t?r:o.f(r,t)}},8920:(e,t,r)=>{"use strict";var n=r(7697),i=r(5648),o=r(2560),a=r(5027),s=r(5290),u=r(300);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}},2560:(e,t,r)=>{"use strict";var n=r(7697),i=r(8506),o=r(5648),a=r(5027),s=r(8360),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=c(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,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}},2474:(e,t,r)=>{"use strict";var n=r(7697),i=r(2615),o=r(9556),a=r(5684),s=r(5290),u=r(8360),l=r(6812),c=r(8506),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])}},6062:(e,t,r)=>{"use strict";var n=r(6648),i=r(5290),o=r(2741).f,a=r(6004),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))}},2741:(e,t,r)=>{"use strict";var n=r(4948),i=r(2739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},7518:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},1868:(e,t,r)=>{"use strict";var n=r(6812),i=r(9985),o=r(690),a=r(2713),s=r(1748),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}},7049:(e,t,r)=>{"use strict";var n=r(3689),i=r(8999),o=r(6648),a=r(1655),s=Object.isExtensible,u=n((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&((!a||"ArrayBuffer"!==o(e))&&(!s||s(e)))}:s},3622:(e,t,r)=>{"use strict";var n=r(8844);e.exports=n({}.isPrototypeOf)},4948:(e,t,r)=>{"use strict";var n=r(8844),i=r(6812),o=r(5290),a=r(4328).indexOf,s=r(7248),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}},300:(e,t,r)=>{"use strict";var n=r(4948),i=r(2739);e.exports=Object.keys||function(e){return n(e,i)}},9556:(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},9385:(e,t,r)=>{"use strict";var n=r(2743),i=r(5027),o=r(3550);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 i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},9419:(e,t,r)=>{"use strict";var n=r(7697),i=r(3689),o=r(8844),a=r(1868),s=r(300),u=r(5290),l=o(r(9556).f),c=o([].push),f=n&&i((function(){var e=Object.create(null);return e[2]=2,!l(e,2)})),d=function(e){return function(t){for(var r,i=u(t),o=s(i),d=f&&null===a(i),h=o.length,p=0,g=[];h>p;)r=o[p++],n&&!(d?r in i:l(i,r))||c(g,e?[r,i[r]]:i[r]);return g}};e.exports={entries:d(!0),values:d(!1)}},5073:(e,t,r)=>{"use strict";var n=r(3043),i=r(926);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},5899:(e,t,r)=>{"use strict";var n=r(2615),i=r(9985),o=r(8999),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")}},9152:(e,t,r)=>{"use strict";var n=r(6058),i=r(8844),o=r(2741),a=r(7518),s=r(5027),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}},496:(e,t,r)=>{"use strict";var n=r(9037);e.exports=n},9302:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},7073:(e,t,r)=>{"use strict";var n=r(9037),i=r(7919),o=r(9985),a=r(5266),s=r(6738),u=r(4201),l=r(2532),c=r(8563),f=r(3931),d=r(3615),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),m=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!t&&(l||c)&&!y}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:y,SUBCLASSING:g}},7919:(e,t,r)=>{"use strict";var n=r(9037);e.exports=n.Promise},2945:(e,t,r)=>{"use strict";var n=r(5027),i=r(8999),o=r(8742);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}},562:(e,t,r)=>{"use strict";var n=r(7919),i=r(6431),o=r(7073).CONSTRUCTOR;e.exports=o||!i((function(e){n.all(e).then(void 0,(function(){}))}))},8055:(e,t,r)=>{"use strict";var n=r(2560).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}})}},4410: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},6100:(e,t,r)=>{"use strict";var n=r(2615),i=r(5027),o=r(9985),a=r(6648),s=r(6308),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")}},6308:(e,t,r)=>{"use strict";var n,i,o=r(2615),a=r(8844),s=r(4327),u=r(9633),l=r(7901),c=r(3430),f=r(5391),d=r(618).get,h=r(2100),p=r(6422),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),P=h.source,R=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))&&(P="(?: "+P+")",j=" "+j,R++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),S&&(n=h.lastIndex),i=o(y,A?r:h,j),A?i?(i.input=_(i.input,R),i[0]=_(i[0],R),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},9633:(e,t,r)=>{"use strict";var n=r(5027);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}},3477:(e,t,r)=>{"use strict";var n=r(2615),i=r(6812),o=r(3622),a=r(9633),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:n(a,e)}},7901:(e,t,r)=>{"use strict";var n=r(3689),i=r(9037).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}},2100:(e,t,r)=>{"use strict";var n=r(3689),i=r(9037).RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},6422:(e,t,r)=>{"use strict";var n=r(3689),i=r(9037).RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4684:(e,t,r)=>{"use strict";var n=r(981),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},517:(e,t,r)=>{"use strict";var n=r(9037),i=r(7697),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},4241:(e,t,r)=>{"use strict";var n=r(6058),i=r(2148),o=r(4201),a=r(7697),s=o("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},5997:(e,t,r)=>{"use strict";var n=r(2560).f,i=r(6812),o=r(4201)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},2713:(e,t,r)=>{"use strict";var n=r(3430),i=r(4630),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},4091:(e,t,r)=>{"use strict";var n=r(9037),i=r(5014),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},3430:(e,t,r)=>{"use strict";var n=r(3931),i=r(4091);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6373:(e,t,r)=>{"use strict";var n=r(5027),i=r(2655),o=r(981),a=r(4201)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},730:(e,t,r)=>{"use strict";var n=r(8844),i=r(8700),o=r(4327),a=r(4684),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)}},5984:(e,t,r)=>{"use strict";var n=r(1236).PROPER,i=r(3689),o=r(6350);e.exports=function(e){return i((function(){return!!o[e]()||"
"!=="
"[e]()||n&&o[e].name!==e}))}},1435:(e,t,r)=>{"use strict";var n=r(8844),i=r(4684),o=r(4327),a=r(6350),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)}},146:(e,t,r)=>{"use strict";var n=r(3615),i=r(3689),o=r(9037).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3032:(e,t,r)=>{"use strict";var n=r(2615),i=r(6058),o=r(4201),a=r(1880);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})}},6549:(e,t,r)=>{"use strict";var n=r(146);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},9886:(e,t,r)=>{"use strict";var n,i,o,a,s=r(9037),u=r(1735),l=r(4071),c=r(9985),f=r(6812),d=r(3689),h=r(2688),p=r(6004),g=r(6420),y=r(1500),m=r(4764),v=r(806),b=s.setImmediate,w=s.clearImmediate,_=s.process,S=s.Dispatch,x=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},C=function(e){return function(){A(e)}},P=function(e){A(e.data)},R=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(C(e))}:S&&S.now?i=function(e){S.now(C(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(R)?(i=R,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(e){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},3648:(e,t,r)=>{"use strict";var n=r(8844);e.exports=n(1..valueOf)},7578:(e,t,r)=>{"use strict";var n=r(8700),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)}},5290:(e,t,r)=>{"use strict";var n=r(4413),i=r(4684);e.exports=function(e){return n(i(e))}},8700:(e,t,r)=>{"use strict";var n=r(8828);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3126:(e,t,r)=>{"use strict";var n=r(8700),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},690:(e,t,r)=>{"use strict";var n=r(4684),i=Object;e.exports=function(e){return i(n(e))}},8732:(e,t,r)=>{"use strict";var n=r(2615),i=r(8999),o=r(734),a=r(4849),s=r(5899),u=r(4201),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)}},8360:(e,t,r)=>{"use strict";var n=r(8732),i=r(734);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3043:(e,t,r)=>{"use strict";var n={};n[r(4201)("toStringTag")]="z",e.exports="[object z]"===String(n)},4327:(e,t,r)=>{"use strict";var n=r(926),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},3691:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4630:(e,t,r)=>{"use strict";var n=r(8844),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},9525:(e,t,r)=>{"use strict";var n=r(146);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:(e,t,r)=>{"use strict";var n=r(7697),i=r(3689);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1500:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},9834:(e,t,r)=>{"use strict";var n=r(9037),i=r(9985),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},5405:(e,t,r)=>{"use strict";var n=r(496),i=r(6812),o=r(6145),a=r(2560).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},6145:(e,t,r)=>{"use strict";var n=r(4201);t.f=n},4201:(e,t,r)=>{"use strict";var n=r(9037),i=r(3430),o=r(6812),a=r(4630),s=r(146),u=r(9525),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]}},6350:e=>{"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4338:(e,t,r)=>{"use strict";var n=r(9989),i=r(3689),o=r(2297),a=r(8999),s=r(690),u=r(6310),l=r(5565),c=r(6522),f=r(7120),d=r(9042),h=r(4201),p=r(3615),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}})},8077:(e,t,r)=>{"use strict";var n=r(9989),i=r(2960).filter;n({target:"Array",proto:!0,forced:!r(9042)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},5728:(e,t,r)=>{"use strict";var n=r(9989),i=r(2960).find,o=r(7370),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},4418:(e,t,r)=>{"use strict";var n=r(9989),i=r(1055);n({target:"Array",stat:!0,forced:!r(6431)((function(e){Array.from(e)}))},{from:i})},6801:(e,t,r)=>{"use strict";var n=r(9989),i=r(4328).includes,o=r(3689),a=r(7370);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")},752:(e,t,r)=>{"use strict";var n=r(5290),i=r(7370),o=r(9478),a=r(618),s=r(2560).f,u=r(1934),l=r(7807),c=r(3931),f=r(7697),d=a.set,h=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){d(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,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 p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},6203:(e,t,r)=>{"use strict";var n=r(9989),i=r(8844),o=r(4413),a=r(5290),s=r(6834),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},886:(e,t,r)=>{"use strict";var n=r(9989),i=r(2960).map;n({target:"Array",proto:!0,forced:!r(9042)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},9730:(e,t,r)=>{"use strict";var n=r(9989),i=r(2297),o=r(9429),a=r(8999),s=r(7578),u=r(6310),l=r(5290),c=r(6522),f=r(4201),d=r(9042),h=r(6004),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}})},5137:(e,t,r)=>{"use strict";var n=r(9989),i=r(8844),o=r(509),a=r(690),s=r(6310),u=r(8494),l=r(4327),c=r(3689),f=r(382),d=r(6834),h=r(7365),p=r(7298),g=r(3615),y=r(7922),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}})},2506:(e,t,r)=>{"use strict";var n=r(9989),i=r(690),o=r(7578),a=r(8700),s=r(6310),u=r(5649),l=r(5565),c=r(7120),f=r(6522),d=r(8494),h=r(9042)("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}})},9903:(e,t,r)=>{"use strict";var n=r(6812),i=r(1880),o=r(1797),a=r(4201)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},4284:(e,t,r)=>{"use strict";var n=r(7697),i=r(1236).EXISTS,o=r(8844),a=r(2148),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""}}})},5398:(e,t,r)=>{"use strict";var n=r(9989),i=r(9037);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},8324:(e,t,r)=>{"use strict";var n=r(9989),i=r(6058),o=r(1735),a=r(2615),s=r(8844),u=r(3689),l=r(9985),c=r(734),f=r(6004),d=r(2643),h=r(146),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(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}})},7629:(e,t,r)=>{"use strict";var n=r(9037);r(5997)(n.JSON,"JSON",!0)},9322:(e,t,r)=>{"use strict";r(319)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(800))},6646:(e,t,r)=>{"use strict";r(9322)},7509:(e,t,r)=>{"use strict";r(5997)(Math,"Math",!0)},9288:(e,t,r)=>{"use strict";var n=r(9989),i=r(3931),o=r(7697),a=r(9037),s=r(496),u=r(8844),l=r(5266),c=r(6812),f=r(3457),d=r(3622),h=r(734),p=r(8732),g=r(3689),y=r(2741).f,m=r(2474).f,v=r(2560).f,b=r(3648),w=r(1435).trim,_=a.Number,S=s.Number,x=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(e){var t=p(e,"number");return"bigint"==typeof t?t:A(t)},A=function(e){var t,r,n,i,o,a,s,u,l=p(e,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(t=k(l,0))||45===t){if(88===(r=k(l,2))||120===r)return NaN}else if(48===t){switch(k(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=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(e){return d(x,e)&&g((function(){b(e)}))},R=function(e){var t=arguments.length<1?0:_(O(e));return P(this)?f(Object(t),this,R):t};R.prototype=x,C&&!i&&(x.constructor=R),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:R});var j=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&&j(s.Number,S),(C||i)&&j(s.Number,_)},429:(e,t,r)=>{"use strict";var n=r(9989),i=r(5394);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},1919:(e,t,r)=>{"use strict";var n=r(9989),i=r(3689),o=r(5290),a=r(2474).f,s=r(7697);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},9434:(e,t,r)=>{"use strict";var n=r(9989),i=r(146),o=r(3689),a=r(7518),s=r(690);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},8052:(e,t,r)=>{"use strict";var n=r(9989),i=r(3689),o=r(690),a=r(1868),s=r(1748);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},9358:(e,t,r)=>{"use strict";var n=r(9989),i=r(690),o=r(300);n({target:"Object",stat:!0,forced:r(3689)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},228:(e,t,r)=>{"use strict";var n=r(3043),i=r(1880),o=r(5073);n||i(Object.prototype,"toString",o,{unsafe:!0})},6466:(e,t,r)=>{"use strict";var n=r(9989),i=r(9419).values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},1692:(e,t,r)=>{"use strict";var n=r(9989),i=r(2615),o=r(509),a=r(8742),s=r(9302),u=r(8734);n({target:"Promise",stat:!0,forced:r(562)},{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}})},5089:(e,t,r)=>{"use strict";var n=r(9989),i=r(3931),o=r(7073).CONSTRUCTOR,a=r(7919),s=r(6058),u=r(9985),l=r(1880),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})}},6697:(e,t,r)=>{"use strict";var n,i,o,a=r(9989),s=r(3931),u=r(806),l=r(9037),c=r(2615),f=r(1880),d=r(9385),h=r(5997),p=r(4241),g=r(509),y=r(9985),m=r(8999),v=r(767),b=r(6373),w=r(9886).set,_=r(231),S=r(920),x=r(9302),E=r(4410),T=r(618),k=r(7919),O=r(7073),A=r(8742),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,R=O.SUBCLASSING,j=T.getterFor("Promise"),N=T.set,D=k&&k.prototype,I=k,L=D,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(e){var t;return!(!m(e)||!y(t=e.then))&&t},Y=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,f=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===e.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(e){f&&!i&&f.exit(),l(e)}},G=function(e,t){e.notified||(e.notified=!0,_((function(){for(var r,n=e.reactions;r=n.get();)Y(r,e);e.notified=!1,t&&!e.rejection&&q(e)})))},$=function(e,t,r){var n,i;W?((n=F.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!P&&(i=l["on"+e])?i(n):"unhandledrejection"===e&&S("Unhandled promise rejection",r)},q=function(e){c(w,l,(function(){var t,r=e.facade,n=e.value;if(z(e)&&(t=x((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),e.rejection=u||z(e)?2:1,t.error))throw t.value}))},z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,l,(function(){var t=e.facade;u?B.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},Q=function(e,t,r){return function(n){e(t,n,r)}},Z=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},J=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new M("Promise can't be resolved itself");var n=H(t);n?_((function(){var r={done:!1};try{c(n,t,Q(J,r,e),Q(Z,r,e))}catch(t){Z(r,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){Z({done:!1},t,e)}}};if(C&&(L=(I=function(e){v(this,L),g(e),c(n,this);var t=j(this);try{e(Q(J,t),Q(Z,t))}catch(e){Z(t,e)}}).prototype,(n=function(e){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var r=j(this),n=V(b(this,I));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=Q(J,t),this.reject=Q(Z,t)},A.f=V=function(e){return e===I||void 0===e?new i(e):U(e)},!s&&y(k)&&D!==Object.prototype)){o=D.then,R||f(D,"then",(function(e,t){var r=this;return new I((function(e,t){c(o,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete D.constructor}catch(e){}d&&d(D,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:I}),h(I,"Promise",!1,!0),p("Promise")},3964:(e,t,r)=>{"use strict";r(6697),r(1692),r(5089),r(8829),r(2092),r(7905)},8829:(e,t,r)=>{"use strict";var n=r(9989),i=r(2615),o=r(509),a=r(8742),s=r(9302),u=r(8734);n({target:"Promise",stat:!0,forced:r(562)},{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}})},2092:(e,t,r)=>{"use strict";var n=r(9989),i=r(8742);n({target:"Promise",stat:!0,forced:r(7073).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},7905:(e,t,r)=>{"use strict";var n=r(9989),i=r(6058),o=r(3931),a=r(7919),s=r(7073).CONSTRUCTOR,u=r(2945),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)}})},50:(e,t,r)=>{"use strict";var n=r(9989),i=r(6058),o=r(1735),a=r(6761),s=r(2655),u=r(5027),l=r(8999),c=r(5391),f=r(3689),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}})},2349:(e,t,r)=>{"use strict";var n=r(9989),i=r(2615),o=r(8999),a=r(5027),s=r(6251),u=r(2474),l=r(1868);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}})},2003:(e,t,r)=>{"use strict";var n=r(7697),i=r(9037),o=r(8844),a=r(5266),s=r(3457),u=r(5773),l=r(5391),c=r(2741).f,f=r(3622),d=r(1245),h=r(4327),p=r(3477),g=r(7901),y=r(8055),m=r(1880),v=r(3689),b=r(6812),w=r(618).enforce,_=r(4241),S=r(4201),x=r(2100),E=r(6422),T=S("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),P=o("".charAt),R=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=R(t,/s/g,"")),r=t,F&&"sticky"in I&&(i=!!t&&j(t,"y")>-1)&&B&&(t=R(t,/y/g,"")),E&&(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=P(e,n)))t+=P(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(D,N(e,n+1))&&(n+=2,u=!0),i+=t,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))[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=P(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+P(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")},4043:(e,t,r)=>{"use strict";var n=r(9989),i=r(6308);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},2826:(e,t,r)=>{"use strict";var n=r(1236).PROPER,i=r(1880),o=r(5027),a=r(4327),s=r(3689),u=r(3477),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},7985:(e,t,r)=>{"use strict";r(319)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(800))},9649:(e,t,r)=>{"use strict";r(7985)},3843:(e,t,r)=>{"use strict";var n=r(9989),i=r(8844),o=r(2124),a=r(4684),s=r(4327),u=r(7413),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)}})},1694:(e,t,r)=>{"use strict";var n=r(730).charAt,i=r(4327),o=r(618),a=r(1934),s=r(7807),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(e){u(this,{type:"String Iterator",string:i(e),index:0})}),(function(){var e,t=l(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))}))},2462:(e,t,r)=>{"use strict";var n=r(2615),i=r(8678),o=r(5027),a=r(981),s=r(3126),u=r(4327),l=r(4684),c=r(4849),f=r(1514),d=r(6100);i("match",(function(e,t,r){return[function(t){var r=l(this),i=a(t)?void 0:c(t,e);return i?n(i,t,r):new RegExp(t)[e](u(r))},function(e){var n=o(this),i=u(e),a=r(t,n,i);if(a.done)return a.value;if(!n.global)return d(n,i);var l=n.unicode;n.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(n,i));){var g=u(c[0]);h[p]=g,""===g&&(n.lastIndex=f(i,s(n.lastIndex),l)),p++}return 0===p?null:h}]}))},7267:(e,t,r)=>{"use strict";var n=r(1735),i=r(2615),o=r(8844),a=r(8678),s=r(3689),u=r(5027),l=r(9985),c=r(981),f=r(8700),d=r(3126),h=r(4327),p=r(4684),g=r(1514),y=r(4849),m=r(7017),v=r(6100),b=r(4201)("replace"),w=Math.max,_=Math.min,S=o([].concat),x=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,r){var o=O?"$":"$0";return[function(e,r){var n=p(this),o=c(e)?void 0:y(e,b);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===E(i,o)&&-1===E(i,"$<")){var c=r(t,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=v(a,s))&&(x(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,R=0;R<O.length;R++){for(var j,N=h((k=O[R])[0]),D=w(_(f(k.index),s.length),0),I=[],L=1;L<k.length;L++)x(I,void 0===(A=k[L])?A:String(A));var M=k.groups;if(p){var F=S([N],I,D,s);void 0!==M&&x(F,M),j=h(n(i,void 0,F))}else j=m(N,s,D,I,M,i);D>=P&&(C+=T(s,P,D)+j,P=D+N.length)}return C+T(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!k||O)},268:(e,t,r)=>{"use strict";var n,i=r(9989),o=r(6576),a=r(2474).f,s=r(3126),u=r(4327),l=r(2124),c=r(4684),f=r(7413),d=r(3931),h=o("".slice),p=Math.min,g=f("startsWith");i({target:"String",proto:!0,forced:!!(d||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(e){var t=u(c(this));l(e);var r=s(p(arguments.length>1?arguments[1]:void 0,t.length)),n=u(e);return h(t,r,r+n.length)===n}})},8436:(e,t,r)=>{"use strict";var n=r(9989),i=r(1435).trim;n({target:"String",proto:!0,forced:r(5984)("trim")},{trim:function(){return i(this)}})},8373:(e,t,r)=>{"use strict";r(5405)("asyncIterator")},7855:(e,t,r)=>{"use strict";var n=r(9989),i=r(9037),o=r(2615),a=r(8844),s=r(3931),u=r(7697),l=r(146),c=r(3689),f=r(6812),d=r(3622),h=r(5027),p=r(5290),g=r(8360),y=r(4327),m=r(5684),v=r(5391),b=r(300),w=r(2741),_=r(6062),S=r(7518),x=r(2474),E=r(2560),T=r(8920),k=r(9556),O=r(1880),A=r(2148),C=r(3430),P=r(2713),R=r(7248),j=r(4630),N=r(4201),D=r(6145),I=r(5405),L=r(3032),M=r(5997),F=r(618),B=r(2960).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=x.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),ee=C("symbols"),te=C("op-symbols"),re=C("wks"),ne=!z||!z.prototype||!z.prototype.findChild,ie=function(e,t,r){var n=X(H,t);n&&delete H[t],Q(e,t,r),n&&e!==H&&Q(H,t,n)},oe=u&&c((function(){return 7!==v(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?ie:Q,ae=function(e,t){var r=ee[e]=v(G);return U(r,{type:"Symbol",tag:e,description:t}),u||(r.description=t),r},se=function(e,t,r){e===H&&se(te,t,r),h(e);var n=g(t);return h(r),f(ee,n)?(r.enumerable?(f(e,V)&&e[V][n]&&(e[V][n]=!1),r=v(r,{enumerable:m(0,!1)})):(f(e,V)||Q(e,V,m(1,v(null))),e[V][n]=!0),oe(e,n,r)):Q(e,n,r)},ue=function(e,t){h(e);var r=p(t),n=b(r).concat(de(r));return B(n,(function(t){u&&!o(le,r,t)||se(e,t,r[t])})),e},le=function(e){var t=g(e),r=o(J,this,t);return!(this===H&&f(ee,t)&&!f(te,t))&&(!(r||!f(this,t)||!f(ee,t)||f(this,V)&&this[V][t])||r)},ce=function(e,t){var r=p(e),n=g(t);if(r!==H||!f(ee,n)||f(te,n)){var i=X(r,n);return!i||!f(ee,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},fe=function(e){var t=Z(p(e)),r=[];return B(t,(function(e){f(ee,e)||f(R,e)||K(r,e)})),r},de=function(e){var t=e===H,r=Z(t?te:p(e)),n=[];return B(r,(function(e){!f(ee,e)||t&&!f(H,e)||K(n,ee[e])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("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===H&&o(r,te,e),f(n,V)&&f(n[V],t)&&(n[V][t]=!1);var a=m(1,e);try{oe(n,t,a)}catch(e){if(!(e instanceof $))throw e;ie(n,t,a)}};return u&&ne&&oe(H,t,{configurable:!0,set:r}),ae(t,e)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(e){return ae(j(e),e)})),k.f=le,E.f=se,T.f=ue,x.f=ce,w.f=_.f=fe,S.f=de,D.f=function(e){return ae(N(e),e)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",le,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(re),(function(e){I(e)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?v(e):ue(v(e),t)},defineProperty:se,defineProperties:ue,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe}),L(),M(Y,"Symbol"),R[V]=!0},6544:(e,t,r)=>{"use strict";var n=r(9989),i=r(7697),o=r(9037),a=r(8844),s=r(6812),u=r(9985),l=r(3622),c=r(4327),f=r(2148),d=r(8758),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})}},3975:(e,t,r)=>{"use strict";var n=r(9989),i=r(6058),o=r(6812),a=r(4327),s=r(3430),u=r(6549),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}})},4254:(e,t,r)=>{"use strict";r(5405)("iterator")},9749:(e,t,r)=>{"use strict";r(7855),r(3975),r(1445),r(8324),r(9434)},1445:(e,t,r)=>{"use strict";var n=r(9989),i=r(6812),o=r(734),a=r(3691),s=r(3430),u=r(6549),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]}})},9373:(e,t,r)=>{"use strict";var n=r(5405),i=r(3032);n("toPrimitive"),i()},6793:(e,t,r)=>{"use strict";var n=r(6058),i=r(5405),o=r(5997);i("toStringTag"),o(n("Symbol"),"Symbol")},8832:(e,t,r)=>{"use strict";r(5398)},7522:(e,t,r)=>{"use strict";var n=r(9037),i=r(6338),o=r(3265),a=r(7612),s=r(5773),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)},6265:(e,t,r)=>{"use strict";var n=r(9037),i=r(6338),o=r(3265),a=r(752),s=r(5773),u=r(5997),l=r(4201)("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")}},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=document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Hu,Presenter:()=>Ja,bundleLoader:()=>Ju,engine:()=>ka,renderingContext:()=>ei,system:()=>Un,utils:()=>Bn,validate:()=>Ma});r(228),r(7522),r(2506),r(8077),r(9749),r(6544),r(4254),r(752),r(1694),r(6265),r(5728),r(9358),r(886),r(6801),r(3843),r(9373),r(9903),r(9288),r(8832),r(4338);function e(t){return(e="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})(t)}"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var t=globalThis.__rdfjson_namespaces,i=0,o=function(e,r,n){return t[e]||(t[e]=r),{abbrev:e,ns:r,localname:n,full:r+n,pretty:"".concat(e,":").concat(n)}},a=function(e){var r=Object.keys(t).find((function(r){return 0===e.indexOf(t[r])}));if(r)return o(r,t[r],e.substring(t[r].length));var n=e.lastIndexOf("/"),a=e.lastIndexOf("#");return a>n&&(n=a),o("ns".concat(i+=1),e.substring(0,n+1),e.substring(n+1))};const u=function(e){var r=Object.keys(t).find((function(r){return 0===e.indexOf(t[r])}));return r?o(r,t[r],e.substring(t[r].length)).pretty:e},l=function(e){return a(e).pretty},c=function(e){var r=e.split(":");return 2===r.length&&t.hasOwnProperty(r[0])?t[r[0]]+r[1]:e},f=function(r,n){"string"==typeof r?t[r]=n:"object"===e(r)&&Object.keys(r).forEach((function(e){t[e]=r[e]}))};r(8373),r(6793),r(7629),r(7509),r(8052),r(4284),r(9730),r(3964),r(6466),r(2826),r(9649);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=function(e){return void 0!==e&&(null===e||"object"===d(e)||Array.isArray(e)||"function"==typeof e)},p=function(e){return"string"==typeof e||e instanceof String},g=function(e,t,r){0===e[t][r].length&&(delete e[t][r],0===Object.keys(e[t]).length&&delete e[t])},y=function(e){if(!h(e[0]))throw new Error("Graph is not a object.");if(!p(e[1]))throw new Error("Subject is not a string.");if(!p(e[2]))throw new Error("Predicate is not a string.");if(!h(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.")},m=function(e,t){return e===t||null==e&&e===t||(p(e)?p(t)?e===t:e===t.value:p(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},v=function(e){var t={type:e.type,value:e.value};return null!=e.ng&&(t.ng=e.ng),null!=e.lang&&(t.lang=e.lang),null!=e.datatype&&(t.datatype=e.datatype),t},b=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")};const w={isObject:h,isString:p,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&m(e.o,t.o)},add:function(e,t,r,n,i){if(y([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;var o,a=e[t][r];if(!i)for(o=a.length-1;o>=0;o--)if(m(n,a[o]))return a[o];return a.push(n),n},remove:function(e,t,r,n){if(y([e,t,r,n]),void 0!==e[t]&&void 0!==e[t][r]){var i,o=e[t][r];for(i=o.length-1;i>=0;i--)if(m(n,o[i])){var a=o[i];return o.splice(i,1),g(e,t,r),a}}},contains:function(e,t,r,n){if(y([e,t,r,n]),void 0!==e[t]&&void 0!==e[t][r]){var i,o=e[t][r];for(i=o.length-1;i>=0;i--)if(m(n,o[i]))return o[i]}},cleanup:g,checkForWrongArgs:y,objectEquals:m,findDirectOrRDFValue:function(e,t,r){var 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:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={};return Object.keys(e).forEach((function(n){var i=e[n];r[n]={},Object.keys(i).forEach((function(e){var o=i[e];if(1===o.length)r[n][e]=[v(o[0])];else if(t){var a=[],s=new Set;r[n][e]=a,i[e].forEach((function(e){var t=v(e),r=b(t);s.has(r)||(s.add(r),a.push(t))}))}else{var u=[];r[n][e]=u,i[e].forEach((function(e){u.push(v(e))}))}}))})),r}};function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var 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,x(n.key),n)}}function x(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:String(t)}var E=function(){function e(t,r,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._graph=t,this._s=r,this._p=n,this._o=i,this._o._statement=this,this._asserted=o}var t,r,n;return t=e,(r=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this._asserted&&(e?this._graph.add(this,void 0,void 0,this._silentValue,t):this._graph.remove(this,this._silentValue),this._asserted=e)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(e){this._silentValue=!1;var t=c(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(e){this._silentValue=!1;var t=c(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(e){this._o.ng=e}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var e=this._o,t={value:e.value,type:e.type};return this._o.ng&&(t.ng=e.ng),e.lang&&(t.lang=e.lang),this._o.datatype&&(t.datatype=e.datatype),t}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==e&&(this._o.lang=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==e&&(this._o.datatype=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}}])&&S(t.prototype,r),n&&S(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),T=(r(5137),r(6203),r(2568));const k=function(e,t){var r=[],n=new Set((t||[]).map((function(e){return c(e)}))),i=[],o={},a=function(e){var t=e.getValue();e.getLanguage()&&(t+="@".concat(e.getLanguage()));var 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+="^^".concat(r)),t},s=function(e,t){var r=o[e]||{rels:[]};o[e]=r,r.rels.push(t)};return e.find().forEach((function(e){var t=e.getSubject(),o=e.getPredicate();if(!n.has(o)){var 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((function(e){e.rels.sort(),e.hash=T(e.rels.join(""))})),i.forEach((function(e){var 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(),T(r.join(""))};class O{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}O.prototype.termType="BlankNode";const A=O;class C{equals(e){return!!e&&e.termType===this.termType}}C.prototype.termType="DefaultGraph",C.prototype.value="";const P=C;const R=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 j{constructor(e,t,r){this.value=e,this.language=t,this.datatype=r}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value&&e.language===this.language&&e.datatype.equals(this.datatype)}}j.prototype.termType="Literal";const N=j;class D{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}D.prototype.termType="NamedNode";const I=D;class L{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)}}L.prototype.termType="Quad",L.prototype.value="";const M=L;class F{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}}F.prototype.termType="Variable";const B=F,V=new I("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),U=new I("http://www.w3.org/2001/XMLSchema#string");class W{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new P}}namedNode(e){return new I(e)}blankNode(e){return e=e||"b"+ ++this._data.blankNodeCounter,new A(e)}literal(e,t){return"string"==typeof t?new N(e,t,V):new N(e,"",t||U)}variable(e){return new B(e)}defaultGraph(){return this._data.defaultGraph}quad(e,t,r,n=this.defaultGraph()){return new M(e,t,r,n)}fromTerm(e){return R(this,e)}fromQuad(e){return R(this,e)}}W.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const H=new W;var Y=function(e){return 0===e.indexOf("_:")?e.substring(2):e},G=function(e){return e.find().map((function(e){var t=e.getSubject(),r=e.getPredicate(),n=function(e){if(e.value)switch(e.type){case"literal":if(e.lang)return H.literal(e.value,e.lang);if(e.datatype){var t=H.namedNode(e.datatype);return H.literal(e.value,t)}return H.literal(e.value);case"uri":return H.namedNode(e.value);case"blank":return H.blankNode(Y(e.value))}}(e.getObject()),i=e.getNamedGraph()?H.namedNode(e.getNamedGraph()):void 0;return H.quad(e.isSubjectBlank()?H.blankNode(Y(t)):H.namedNode(t),H.namedNode(r),n,i)}))},$=function(e){return 0===e.indexOf("_:")?e:"_:".concat(e)},q=function(e,t){var r=t||new Graph,n=function(e){var t=function(e){switch(e.termType){case"NamedNode":return{value:e.value,type:"uri"};case"BlankNode":return{value:$(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((function(e){r.add("BlankNode"===e.subject.termType?$(e.subject.value):e.subject.value,"BlankNode"===e.predicate.termType?$(e.predicate.value):e.predicate.value,n(e))}))};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(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,Z(n.key),n)}}function Z(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==z(t)?t:String(t)}var J=function(e){return 0===e.length?e:[e[0]]},K=function e(t,r,n){return{object:function(i){for(var o=0;o<r.length;o++){var a=void 0;if(n)a=r[o].getSubject();else{var s=r[o].getType();if("uri"===s||"bnode"===s)continue;a=r[o].getValue()}var u=t.find(a,i);u.length>0&&e(t,[u[0]])}return e(t,[])},objects:function(i){var o,a=[];if(!0===n)for(o=0;o<r.length;o++)a=a.concat(t.find(r[o].getSubject(),i));else for(o=0;o<r.length;o++){var s=r[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(r[o].getValue(),i)))}return e(t,a)},constr:function(i,o){var a=o;w.isString(a)&&(a={type:"uri",value:a});for(var s=[],u=0;u<r.length;u++){var l=n?r[u].getSubject():r[u].getValue();t.find(l,i,a).length>0&&s.push(r[u])}return e(t,s,n)},each:function(i,o){if(!0===n)for(var a=0;a<r.length;a++){var s="_:"===r[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||i(e(t,r[a],n))}else for(var u=0;u<r.length;u++)i(e(t,r[u],n))},statements:function(){return r},nodes:function(e){var t=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==o||t.push({type:o,value:r[i].getSubject()})}else for(var a=0;a<r.length;a++)null!=e&&e!==r[a].getType()||t.push(r[a].getObject());return t},values:function(e){var t=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==o||t.push(r[i].getSubject())}else for(var a=0;a<r.length;a++)null!=e&&e!==r[a].getType()||t.push(r[a].getValue());return t},firstValue:function(e){if(!0===n)for(var t=0;t<r.length;t++){var i="_:"===r[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===i)return r[t].getSubject()}else for(var o=0;o<r.length;o++)if(null==e||e===r[o].getType())return r[o].getValue()}}},ee=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;X(this,e),this._graph=t||{},this._bnodes={},this._bnodesIndexed=!1,!1!==r&&this.validate(),this._changed=!1}var t,r,n;return t=e,(r=[{key:"addQuads",value:function(e){return q(e,this),this}},{key:"toQuads",value:function(){return G(this)}},{key:"isEmpty",value:function(){var e=this;return!Object.keys(this._graph).find((function(t){var r=e._graph[t];return Object.keys(r).find((function(e){return r[e].find((function(e){return null==e._statement||e._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(e,t){for(var r,n={},i=e.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();t&&(l.ng=t),0===s.indexOf("_:")&&(r=n[s]||this._newBNode(),n[s]=r,s=r),0===u.indexOf("_:")&&(r=n[u]||this._newBNode(),n[u]=r,u=r),"bnode"===l.type&&(r=n[l.value]||this._newBNode(),n[l.value]=r,l.value=r),this.add(s,u,l)}}},{key:"add",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(e instanceof E){var o=e.getPredicate(),a=e.getObject(),s=e.getSubject();this._trackBNodes(s,o,a);var u=this._graphObject(a),l=w.add(this._graph,s,o,u,i);return!0!==n&&this.setChanged(),this._get(s,o,l,!0)}return this.create(e,t,r,!0,n,i)}},{key:"addL",value:function(e,t,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(e,t,i,!0)}},{key:"addD",value:function(e,t,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=c(n)),this.create(e,t,i,!0)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e,s=t,u=r;if(a=null==a?this._newBNode():c(a),s=null==s?this._newBNode():c(s),null==u?u={type:"bnode",value:this._newBNode()}:w.isString(u)?u={type:"uri",value:c(u)}:"object"!==z(u)||Array.isArray(u)?u={type:"uri",value:"".concat(u)}:("uri"===(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng}).type&&null!=u.value&&(u.value=c(u.value)),u.datatype&&(u.datatype=c(u.datatype))),!1!==n){var l=w.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,l,!0)}return new E(this,a,s,u,!1)}},{key:"findAndRemove",value:function(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(e,t,r),o=0;o<i.length;o++)this.remove(i[o],n)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.getSubject(),n=e.getPredicate(),i=e.getObject();this._trackBNodes(r,n,i),null!=w.remove(this._graph,r,n,i)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,r){var n=e,i=t,o=r;if("string"==typeof n&&(n=c(n)),"string"==typeof i&&(i=c(i)),"object"===z(o)&&null!==o&&"uri"===o.type?o.value=c(o.value):"string"==typeof o&&(o={type:"uri",value:c(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);var a=this._get(n,i,w.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}},{key:"findFirstValue",value:function(e,t){var r=this.find(e,t);if(r.length>0)return r[0].getValue()}},{key:"projection",value:function(e,t,r){var n=this,i={};return Object.keys(t).forEach((function(o){var a=t[o],s=Array.isArray(a)?n.findPath(e,a):n.find(e,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(e){return e.getValue()})):i[o]=s[0].getValue(),r||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(e){return e.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(e){return e.getValue()}))}})),i}},{key:"subjects",value:function(e,t){return K(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return K(this,J(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return K(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return K(this,J(this.find(e,t,null)))}},{key:"findPath",value:function(e,t){return t.slice(1).reduce((function(e,t){return e.objects(t)}),this.objects(e,t[0])).statements()}},{key:"addList",value:function(e){return this._addList(e,"add")}},{key:"addListL",value:function(e,t){return this._addList(e,"addL",t)}},{key:"addListD",value:function(e,t){return this._addList(e,"addD",t)}},{key:"_addList",value:function(e,t,r){var n,i=this;if(Array.isArray(e)&&0!==e.length){var o=n=this._newBNode(),a=e.length-1;e.forEach((function(e,n){i[t](o,"rdf:first",e,r),n!==a?o=i.add(o,"rdf:rest").getValue():i.add(o,"rdf:rest","rdf:nil")}))}else n=c("rdf:nil");return n}},{key:"removeList",value:function(e){var t=!1,r="object"===z(e)?e.value:e;try{var n=c("rdf:nil");for(t=r===n;r!==n&&null!=r;){var i=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),t=null!=(r=i)}}catch(e){return console.warn("Invalid list for object: ".concat(r)),!1}return t}},{key:"getList",value:function(e){var t="object"===z(e)?e.value:c(e),r=[];try{for(var n=c("rdf:nil");t!==n&&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: ".concat(t))}return r}},{key:"findFirstListAsValues",value:function(e,t){return this.getList(this.findFirstValue(e,t)).map((function(e){return e.value}))}},{key:"findAndRemoveLists",value:function(e,t){var r=this,n=!1;return this.find(e,t).forEach((function(e){r.removeList(e.getValue())&&(r.remove(e),n=!0)})),n}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,w.clone(this._graph,e)}},{key:"replaceSubject",value:function(e,t){return this.replaceURI(e,t)}},{key:"replaceURI",value:function(e,t){var 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((function(r,n,i){"uri"===i.type&&i.value===e&&(i.value=t),r===t&&i._statement&&(i._statement._s=t)})),this}},{key:"replaceBlankWithURI",value:function(e,t,r){var 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.");var i=n[t],o=n[e];Object.keys(o).forEach((function(e){if(i.hasOwnProperty(e)){var t=i[e],r=o[e].filter((function(e){return!t.find((function(t){return w.objectEquals(t,e)}))}));i[e]=t.concat(r)}else i[e]=o[e]})),delete n[e]}else n[t]=n[e],delete n[e];this.forEach((function(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}},{key:"clone",value:function(){return new e(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(e){return Object.keys(this._graph[e]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(e){this._bnodes[e]=!0}},{key:"forEach",value:function(e){var t=this._graph;Object.keys(t).forEach((function(r){var n=t[r];Object.keys(n).forEach((function(t){n[t].forEach((function(n){e(r,t,n)}))}))}))}},{key:"map",value:function(e){var t=[];return this.forEach((function(r){t.push(e(r))})),t}},{key:"equals",value:function(e,t){return k(this,t)===k(e,t)}},{key:"size",value:function(){var e=0;return Object.values(this._graph).forEach((function(t){Object.values(t).forEach((function(t){e+=t.length}))})),e}},{key:"_get",value:function(e,t,r,n){if(null!=r)return this._getOrCreate(e,t,r,n)}},{key:"_getOrCreate",value:function(e,t,r,n){return null==r._statement&&(r._statement=new E(this,e,t,r,n)),r._statement}},{key:"_graphObject",value:function(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}},{key:"_findSP",value:function(e,t){var r=this;return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map((function(n){return r._get(e,t,n,!0)}))}},{key:"_findS",value:function(e){var t=this,r=this._graph[e],n=Object.keys(r||{}).map((function(r){return t._findSP(e,r)}));return Array.prototype.concat.apply([],n)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(r,n,i){t.push(e._get(r,n,i,!0))})),t}},{key:"_findP",value:function(e){var t=this,r=[];return this.forEach((function(n,i,o){e===i&&r.push(t._get(n,i,o,!0))})),r}},{key:"_findO",value:function(e){var t=this,r=[];return this.forEach((function(n,i,o){w.objectEquals(e,o)&&r.push(t._get(n,i,o,!0))})),r}},{key:"_findSO",value:function(e,t){var r=this,n=[];return this.forEach((function(i,o,a){e===i&&w.objectEquals(t,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_findPO",value:function(e,t){var r=this,n=[];return this.forEach((function(i,o,a){e===o&&w.objectEquals(t,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(r){var n=e[r];w.isObject(n)?Object.keys(n).forEach((function(e){var i=n[e];Array.isArray(i)?i.forEach((function(n,i){w.isObject(n)?null!=n.type?w.isString(n.value)?t.nr+=1:(t.errors.push({s:r,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),t.valid=!1):(t.errors.push({s:r,p:e,oindex:i+1,message:"Element ".concat(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}},{key:"_newBNode",value:function(){var e,t,r;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(r="_:".concat(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...")}},{key:"_indexBNodes",value:function(){var e=this;if(!this._bnodesIndexed){var t=this._graph;Object.keys(t).forEach((function(r){0===r.indexOf("_:")&&(e._bnodes[r]=!0);var n=t[r];Object.keys(n).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),n[t].forEach((function(t){"bnode"===t.type&&(e._bnodes[t.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(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)}}])&&Q(t.prototype,r),n&&Q(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();r(4043),r(7267);r(268),r(50),r(6646),r(5787);function te(e){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(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,ne(n.key),n)}}function ne(e){var t=function(e,t){if("object"!=te(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==te(t)?t:String(t)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t,r){return ce(t),function(e,t){if(t&&("object"===te(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,ue()?Reflect.construct(t,r||[],ce(e).constructor):t.apply(e,r))}function ae(e){var t="function"==typeof Map?new Map:void 0;return function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return se(e,arguments,ce(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),le(r,e)}(e)}function se(e,t,r){if(ue())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&le(i,r.prototype),i}function ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}function le(e,t){return(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ce(e){return(Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Error;function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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,ge(n.key),n)}}function pe(e,t,r){return t&&he(e.prototype,t),r&&he(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ge(e){var t=function(e,t){if("object"!=fe(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fe(t)?t:String(t)}var ye={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#"},me={rdftype:"".concat(ye.rdf,"type"),rdfssco:"".concat(ye.rdfs,"subClassOf"),rdfsdomain:"".concat(ye.rdfs,"domain"),rdfsrange:"".concat(ye.rdfs,"range"),rdfsspo:"".concat(ye.rdfs,"subPropertyOf"),rdfsClass:"".concat(ye.rdfs,"Class"),owlClass:"".concat(ye.owl,"Class"),owlObjectProperty:"".concat(ye.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(ye.owl,"DatatypeProperty"),rdfProperty:"".concat(ye.rdf,"Property")},ve=function(e,t,r){for(var n={},i=!1,o=e.find(t,r),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(n[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},be=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]||(t.push(i),r[i]=!0)}return t},we=function(){function e(t,r){de(this,e),this._uri=t,this._parents=[],this._children=[],this._graph=r}return pe(e,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var e=this.getLabels();if(null!=e.en)return e.en;var t=Object.objects(e);return t.length>0?t[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=ve(this._graph,this._uri,"".concat(ye.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var e=this.getComments();return null!=e?null!=e.en?e.en:Object.objects(e)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=ve(this._graph,this._uri,"".concat(ye.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(e){this._parents.push(e),e._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var 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}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var 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}},{key:"setRange",value:function(e){null==this._range&&(this._range=[]),this._range.push(e)}},{key:"setDomain",value:function(e){null==this._domain&&(this._domain=[]),this._domain.push(e),e.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var e=0;e<this._parents.length;e++)this._allRange=this._allRange.concat(this._parents[e].getRange());this._allRange=be(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var e=0;e<this._parents.length;e++)this._allDomain=this._allDomain.concat(this._parents[e].getDomain());this._allDomain=be(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(e){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(e)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var e=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var t=0;t<e.length;t++)this._allDomainOf=this._allDomainOf.concat(e[t].getChildren());for(var r=0;r<this._parents.length;r++)this._allDomainOf=this._allDomainOf.concat(this._parents[r].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),e}(),_e=function(e,t,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=o.getSubject(),s=e[a];if(s||(s=new we(a,o.getGraph()),e[a]=s,t.push(s)),n){var u=o.getValue(),l=e[u];l||(l=new we(u,o.getGraph()),e[u]=l,t.push(l)),s.addParent(l)}}},Se=function(){function e(){de(this,e),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return pe(e,[{key:"addGraph",value:function(e){_e(this._cidx,this._carr,e.find(null,me.rdftype,me.rdfsClass)),_e(this._cidx,this._carr,e.find(null,me.rdftype,me.owlClass)),_e(this._cidx,this._carr,e.find(null,me.rdfssco,null),!0),_e(this._pidx,this._parr,e.find(null,me.rdftype,me.rdfProperty)),_e(this._pidx,this._parr,e.find(null,me.rdfsspo,null),!0),_e(this._pidx,this._parr,e.find(null,me.rdftype,me.owlDatatypeProperty)),_e(this._pidx,this._parr,e.find(null,me.rdftype,me.owlObjectProperty)),function(e,t,r){for(var n,i,o,a=e.find(null,me.rdfsdomain,null),s=0;s<a.length;s++)n=t[(o=a[s]).getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=e.find(null,me.rdfsrange,null);for(var u=0;u<a.length;u++)n=t[(o=a[u]).getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(e,this._pidx,this._cidx)}},{key:"addThing",value:function(){var e="http://www.w3.org/2002/07/owl#Thing",t=this._cidx[e],r=!1;t||(t=new we(e,new ee),this._cidx[e]=t,this._carr.push(t),r=!0);for(var n=0;n<this._carr.length;n++){var i=this._carr[n];(r&&i!==t||-1===i.getParents().indexOf(t)&&i!==t)&&i.addParent(t)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(e){return null!=this._cidx[e]}},{key:"isProperty",value:function(e){return null!=this._pidx[e]}},{key:"getClass",value:function(e){return this._cidx[e]}},{key:"getProperty",value:function(e){return this._pidx[e]}}],[{key:"getInstances",value:function(e){for(var t=[],r=[e].concat(e.getChildren()),n=0;n<r.length;n++)for(var i=r[n],o=i.getGraph.find(null,me.rdftype,i.getURI()),a=0;a<o.length;a++)t.push(o[a].getSubject());return t}}]),e}();Se.prototype.ns=ye,Se.prototype.terms=me,Se.global=new Se;function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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"!=xe(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=xe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xe(t)?t:String(t)}var ke=function(e){this.filterObj={},this.registry=e};ke.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(e){ke.prototype[e]=function(t){var r={};switch(e){case"constraint":Object.keys(t).forEach((function(e){var n=t[e];Array.isArray(n)?r[c(e)]=n.map((function(e){return c(e)})):r[c(e)]=c(n)})),this.filterObj[e]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=c(t);break;default:this.filterObj[e]=t||!0}return this}}));var Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var t,r,n;return t=e,(r=[{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;case"any":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,!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=t[e];return""!==i&&"*"!==i&&i!==r[e]&&(n=!1,!0)})),n)}(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 ke(this).itemtype(e)}},{key:"choices",value:function(e){return new ke(this).choices(e)}},{key:"nodetype",value:function(e){return new ke(this).nodetype(e)}},{key:"datatype",value:function(e){return new ke(this).datatype(e)}},{key:"rdftype",value:function(e){return new ke(this).rdftype(e)}},{key:"constraint",value:function(e){return new ke(this).constraint(e)}},{key:"predicate",value:function(e){return new ke(this).predicate(e)}},{key:"style",value:function(e){return new ke(this).style(e)}},{key:"item",value:function(e){return new ke(this).item(e)}},{key:"check",value:function(e){return new ke(this).check(e)}}])&&Ee(t.prototype,r),n&&Ee(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();const Ae=function(){this.__data__=[],this.size=0};const Ce=function(e,t){return e===t||e!=e&&t!=t};const Pe=function(e,t){for(var r=e.length;r--;)if(Ce(e[r][0],t))return r;return-1};var Re=Array.prototype.splice;const je=function(e){var t=this.__data__,r=Pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():Re.call(t,r,1),--this.size,!0)};const Ne=function(e){var t=this.__data__,r=Pe(t,e);return r<0?void 0:t[r][1]};const De=function(e){return Pe(this.__data__,e)>-1};const Ie=function(e,t){var r=this.__data__,n=Pe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Le(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])}}Le.prototype.clear=Ae,Le.prototype.delete=je,Le.prototype.get=Ne,Le.prototype.has=De,Le.prototype.set=Ie;const Me=Le;const Fe=function(){this.__data__=new Me,this.size=0};const Be=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};const Ve=function(e){return this.__data__.get(e)};const Ue=function(e){return this.__data__.has(e)};const We="object"==typeof global&&global&&global.Object===Object&&global;var He="object"==typeof self&&self&&self.Object===Object&&self;const Ye=We||He||Function("return this")();const Ge=Ye.Symbol;var $e=Object.prototype,qe=$e.hasOwnProperty,ze=$e.toString,Xe=Ge?Ge.toStringTag:void 0;const Qe=function(e){var t=qe.call(e,Xe),r=e[Xe];try{e[Xe]=void 0;var n=!0}catch(e){}var i=ze.call(e);return n&&(t?e[Xe]=r:delete e[Xe]),i};var Ze=Object.prototype.toString;const Je=function(e){return Ze.call(e)};var Ke=Ge?Ge.toStringTag:void 0;const et=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ke&&Ke in Object(e)?Qe(e):Je(e)};const tt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const rt=function(e){if(!tt(e))return!1;var t=et(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const nt=Ye["__core-js_shared__"];var it,ot=(it=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||""))?"Symbol(src)_1."+it:"";const at=function(e){return!!ot&&ot in e};var st=Function.prototype.toString;const ut=function(e){if(null!=e){try{return st.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var lt=/^\[object .+?Constructor\]$/,ct=Function.prototype,ft=Object.prototype,dt=ct.toString,ht=ft.hasOwnProperty,pt=RegExp("^"+dt.call(ht).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const gt=function(e){return!(!tt(e)||at(e))&&(rt(e)?pt:lt).test(ut(e))};const yt=function(e,t){return null==e?void 0:e[t]};const mt=function(e,t){var r=yt(e,t);return gt(r)?r:void 0};const vt=mt(Ye,"Map");const bt=mt(Object,"create");const wt=function(){this.__data__=bt?bt(null):{},this.size=0};const _t=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var St=Object.prototype.hasOwnProperty;const xt=function(e){var t=this.__data__;if(bt){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return St.call(t,e)?t[e]:void 0};var Et=Object.prototype.hasOwnProperty;const Tt=function(e){var t=this.__data__;return bt?void 0!==t[e]:Et.call(t,e)};const kt=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=bt&&void 0===t?"__lodash_hash_undefined__":t,this};function Ot(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])}}Ot.prototype.clear=wt,Ot.prototype.delete=_t,Ot.prototype.get=xt,Ot.prototype.has=Tt,Ot.prototype.set=kt;const At=Ot;const Ct=function(){this.size=0,this.__data__={hash:new At,map:new(vt||Me),string:new At}};const Pt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const Rt=function(e,t){var r=e.__data__;return Pt(t)?r["string"==typeof t?"string":"hash"]:r.map};const jt=function(e){var t=Rt(this,e).delete(e);return this.size-=t?1:0,t};const Nt=function(e){return Rt(this,e).get(e)};const Dt=function(e){return Rt(this,e).has(e)};const It=function(e,t){var r=Rt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Lt(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])}}Lt.prototype.clear=Ct,Lt.prototype.delete=jt,Lt.prototype.get=Nt,Lt.prototype.has=Dt,Lt.prototype.set=It;const Mt=Lt;const Ft=function(e,t){var r=this.__data__;if(r instanceof Me){var n=r.__data__;if(!vt||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Mt(n)}return r.set(e,t),this.size=r.size,this};function Bt(e){var t=this.__data__=new Me(e);this.size=t.size}Bt.prototype.clear=Fe,Bt.prototype.delete=Be,Bt.prototype.get=Ve,Bt.prototype.has=Ue,Bt.prototype.set=Ft;const Vt=Bt;const Ut=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e};const Wt=function(){try{var e=mt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();const Ht=function(e,t,r){"__proto__"==t&&Wt?Wt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var Yt=Object.prototype.hasOwnProperty;const Gt=function(e,t,r){var n=e[t];Yt.call(e,t)&&Ce(n,r)&&(void 0!==r||t in e)||Ht(e,t,r)};const $t=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?Ht(r,s,u):Gt(r,s,u)}return r};const qt=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};const zt=function(e){return null!=e&&"object"==typeof e};const Xt=function(e){return zt(e)&&"[object Arguments]"==et(e)};var Qt=Object.prototype,Zt=Qt.hasOwnProperty,Jt=Qt.propertyIsEnumerable;const Kt=Xt(function(){return arguments}())?Xt:function(e){return zt(e)&&Zt.call(e,"callee")&&!Jt.call(e,"callee")};const er=Array.isArray;const tr=function(){return!1};var rr="object"==typeof exports&&exports&&!exports.nodeType&&exports,nr=rr&&"object"==typeof module&&module&&!module.nodeType&&module,ir=nr&&nr.exports===rr?Ye.Buffer:void 0;const or=(ir?ir.isBuffer:void 0)||tr;var ar=/^(?:0|[1-9]\d*)$/;const sr=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&ar.test(e))&&e>-1&&e%1==0&&e<t};const ur=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var lr={};lr["[object Float32Array]"]=lr["[object Float64Array]"]=lr["[object Int8Array]"]=lr["[object Int16Array]"]=lr["[object Int32Array]"]=lr["[object Uint8Array]"]=lr["[object Uint8ClampedArray]"]=lr["[object Uint16Array]"]=lr["[object Uint32Array]"]=!0,lr["[object Arguments]"]=lr["[object Array]"]=lr["[object ArrayBuffer]"]=lr["[object Boolean]"]=lr["[object DataView]"]=lr["[object Date]"]=lr["[object Error]"]=lr["[object Function]"]=lr["[object Map]"]=lr["[object Number]"]=lr["[object Object]"]=lr["[object RegExp]"]=lr["[object Set]"]=lr["[object String]"]=lr["[object WeakMap]"]=!1;const cr=function(e){return zt(e)&&ur(e.length)&&!!lr[et(e)]};const fr=function(e){return function(t){return e(t)}};var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,hr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,pr=hr&&hr.exports===dr&&We.process;const gr=function(){try{var e=hr&&hr.require&&hr.require("util").types;return e||pr&&pr.binding&&pr.binding("util")}catch(e){}}();var yr=gr&&gr.isTypedArray;const mr=yr?fr(yr):cr;var vr=Object.prototype.hasOwnProperty;const br=function(e,t){var r=er(e),n=!r&&Kt(e),i=!r&&!n&&or(e),o=!r&&!n&&!i&&mr(e),a=r||n||i||o,s=a?qt(e.length,String):[],u=s.length;for(var l in e)!t&&!vr.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||sr(l,u))||s.push(l);return s};var wr=Object.prototype;const _r=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||wr)};const Sr=function(e,t){return function(r){return e(t(r))}};const xr=Sr(Object.keys,Object);var Er=Object.prototype.hasOwnProperty;const Tr=function(e){if(!_r(e))return xr(e);var t=[];for(var r in Object(e))Er.call(e,r)&&"constructor"!=r&&t.push(r);return t};const kr=function(e){return null!=e&&ur(e.length)&&!rt(e)};const Or=function(e){return kr(e)?br(e):Tr(e)};const Ar=function(e,t){return e&&$t(t,Or(t),e)};const Cr=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var Pr=Object.prototype.hasOwnProperty;const Rr=function(e){if(!tt(e))return Cr(e);var t=_r(e),r=[];for(var n in e)("constructor"!=n||!t&&Pr.call(e,n))&&r.push(n);return r};const jr=function(e){return kr(e)?br(e,!0):Rr(e)};const Nr=function(e,t){return e&&$t(t,jr(t),e)};var Dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ir=Dr&&"object"==typeof module&&module&&!module.nodeType&&module,Lr=Ir&&Ir.exports===Dr?Ye.Buffer:void 0,Mr=Lr?Lr.allocUnsafe:void 0;const Fr=function(e,t){if(t)return e.slice();var r=e.length,n=Mr?Mr(r):new e.constructor(r);return e.copy(n),n};const Br=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};const Vr=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 Ur=function(){return[]};var Wr=Object.prototype.propertyIsEnumerable,Hr=Object.getOwnPropertySymbols;const Yr=Hr?function(e){return null==e?[]:(e=Object(e),Vr(Hr(e),(function(t){return Wr.call(e,t)})))}:Ur;const Gr=function(e,t){return $t(e,Yr(e),t)};const $r=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e};const qr=Sr(Object.getPrototypeOf,Object);const zr=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)$r(t,Yr(e)),e=qr(e);return t}:Ur;const Xr=function(e,t){return $t(e,zr(e),t)};const Qr=function(e,t,r){var n=t(e);return er(e)?n:$r(n,r(e))};const Zr=function(e){return Qr(e,Or,Yr)};const Jr=function(e){return Qr(e,jr,zr)};const Kr=mt(Ye,"DataView");const en=mt(Ye,"Promise");const tn=mt(Ye,"Set");const rn=mt(Ye,"WeakMap");var nn=ut(Kr),on=ut(vt),an=ut(en),sn=ut(tn),un=ut(rn),ln=et;(Kr&&"[object DataView]"!=ln(new Kr(new ArrayBuffer(1)))||vt&&"[object Map]"!=ln(new vt)||en&&"[object Promise]"!=ln(en.resolve())||tn&&"[object Set]"!=ln(new tn)||rn&&"[object WeakMap]"!=ln(new rn))&&(ln=function(e){var t=et(e),r="[object Object]"==t?e.constructor:void 0,n=r?ut(r):"";if(n)switch(n){case nn:return"[object DataView]";case on:return"[object Map]";case an:return"[object Promise]";case sn:return"[object Set]";case un:return"[object WeakMap]"}return t});const cn=ln;var fn=Object.prototype.hasOwnProperty;const dn=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&fn.call(e,"index")&&(r.index=e.index,r.input=e.input),r};const hn=Ye.Uint8Array;const pn=function(e){var t=new e.constructor(e.byteLength);return new hn(t).set(new hn(e)),t};const gn=function(e,t){var r=t?pn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var yn=/\w*$/;const mn=function(e){var t=new e.constructor(e.source,yn.exec(e));return t.lastIndex=e.lastIndex,t};var vn=Ge?Ge.prototype:void 0,bn=vn?vn.valueOf:void 0;const wn=function(e){return bn?Object(bn.call(e)):{}};const _n=function(e,t){var r=t?pn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};const Sn=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return pn(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return gn(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 _n(e,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return mn(e);case"[object Set]":return new n;case"[object Symbol]":return wn(e)}};var xn=Object.create;const En=function(){function e(){}return function(t){if(!tt(t))return{};if(xn)return xn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const Tn=function(e){return"function"!=typeof e.constructor||_r(e)?{}:En(qr(e))};const kn=function(e){return zt(e)&&"[object Map]"==cn(e)};var On=gr&&gr.isMap;const An=On?fr(On):kn;const Cn=function(e){return zt(e)&&"[object Set]"==cn(e)};var Pn=gr&&gr.isSet;const Rn=Pn?fr(Pn):Cn;var jn={};jn["[object Arguments]"]=jn["[object Array]"]=jn["[object ArrayBuffer]"]=jn["[object DataView]"]=jn["[object Boolean]"]=jn["[object Date]"]=jn["[object Float32Array]"]=jn["[object Float64Array]"]=jn["[object Int8Array]"]=jn["[object Int16Array]"]=jn["[object Int32Array]"]=jn["[object Map]"]=jn["[object Number]"]=jn["[object Object]"]=jn["[object RegExp]"]=jn["[object Set]"]=jn["[object String]"]=jn["[object Symbol]"]=jn["[object Uint8Array]"]=jn["[object Uint8ClampedArray]"]=jn["[object Uint16Array]"]=jn["[object Uint32Array]"]=!0,jn["[object Error]"]=jn["[object Function]"]=jn["[object WeakMap]"]=!1;const Nn=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(!tt(t))return t;var f=er(t);if(f){if(s=dn(t),!u)return Br(t,s)}else{var d=cn(t),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(or(t))return Fr(t,u);if("[object Object]"==d||"[object Arguments]"==d||h&&!o){if(s=l||h?{}:Tn(t),!u)return l?Xr(t,Nr(s,t)):Gr(t,Ar(s,t))}else{if(!jn[d])return o?t:{};s=Sn(t,d,u)}}a||(a=new Vt);var p=a.get(t);if(p)return p;a.set(t,s),Rn(t)?t.forEach((function(i){s.add(e(i,r,n,i,t,a))})):An(t)&&t.forEach((function(i,o){s.set(o,e(i,r,n,o,t,a))}));var g=f?void 0:(c?l?Jr:Zr:l?jr:Or)(t);return Ut(g||t,(function(i,o){g&&(i=t[o=i]),Gt(s,o,e(i,r,n,o,t,a))})),s};const Dn=function(e){return Nn(e,5)};r(2003),r(2462);var In=r(381),Ln=r.n(In),Mn=function(e){var t=Ln().locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(t))return{value:e[t],precision:"exact",lang:t};if(t.indexOf("_")>-1&&e.hasOwnProperty(t.substr(0,2)))return{value:e[t.substr(0,2)],precision:"coarsen",lang:t.substr(0,2)};if(e.hasOwnProperty("en"))return{value:e.en,precision:"default",lang:"en"};if(e.hasOwnProperty(""))return{value:e[""],precision:"nolang",lang:""};var r=Object.keys(e);return r.length>0?{value:e[r[0]],precision:"any",lang:r[0]}:{precision:"none"}},Fn=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 Bn={getLocalizedValue:Mn,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=Un.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=Fn(n,i,s[l]);c&&u.push(Mn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=Fn(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=Mn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=Dn(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?Mn(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 Vn=function(e,t,r,n){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=Bn.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 Un={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 Vn(e,t,0,n)},getFallbackChoice:Vn,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+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}},Wn=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 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})(e)}var Yn,Gn,$n,qn,zn,Xn="body",Qn=[{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"}}],Zn={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 Oe,editorRegistry:new Oe,chooserRegistry:new Oe,renderPresenter:function(e,t,r){var n=Zn.presenterRegistry.getComponent(t.getItem());n&&(Zn.prePresenterRenderer(e,t,r),n(e,t,r),Zn.postPresenterRenderer(e,t,r))},renderEditor:function(e,t,r){var n=Zn.editorRegistry.getComponent(t.getItem());n&&(Zn.preEditorRenderer(e,t,r),n(e,t,r),Zn.postEditorRenderer(e,t,r))},renderValidationMessage:function(e,t,r){},renderSelect:function(){},getChoice:function(e,t){var r=Zn.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!=Zn.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,r){var n=Zn.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){Yn=e},getMessages:function(){return Yn||Wn},getLanguageList:function(){return Gn||Qn},getPrimaryLanguageList:function(){if(!qn){for(var e,t=Zn.getLanguageList(),r=$n||[],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])}qn=[];for(var s=0;s<n.length;s++)"object"===Hn(n[s])&&qn.push(n[s]);qn.length>0&&e&&qn.splice(0,0,e)}return qn},getNonPrimaryLanguageList:function(){if(!zn){var e=Zn.getPrimaryLanguageList().length>0,t=Zn.getLanguageList(),r=$n||[];zn=[];for(var n=0;n<t.length;n++){var i=t[n].value;-1===r.indexOf(i)&&(e&&""===i||zn.push(t[n]))}}return zn},setPrimaryLanguageCodes:function(e){zn=null,qn=null,$n=e},setLanguageList:function(e){Gn=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){Xn=e},getPopoverContainer:function(){return Xn},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(){}};Un.getChoice=Zn.getChoice;var Jn=function(e,t,r){new(0,r.view.constructor)({parentView:r.view,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,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},e)};Zn.presenterRegistry.itemtype("group").register(Jn),Zn.presenterRegistry.itemtype("propertygroup").register(Jn);var Kn=function(e,t,r){var n=new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,languages:r.view.languages,binding:t,topLevel:!1,compact:r.view.compact,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},e);r.view._subEditors.push(n)};Zn.editorRegistry.itemtype("group").register(Kn),Zn.editorRegistry.itemtype("propertygroup").register(Kn);const ei=Zn;var ti=r(9755),ri=r.n(ti);r(2349),r(1919),r(4418);function ni(e){return(ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ii(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,oi(n.key),n)}}function oi(e){var t=function(e,t){if("object"!=ni(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ni(t)?t:String(t)}var ai=0,si=function(){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(ai),this._matchingCode=o||"correct",ai+=1}var t,r,n;return t=e,(r=[{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 Bn.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=Bn.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}}])&&ii(t.prototype,r),n&&ii(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();const ui={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 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})(e)}function ci(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:String(t)}var di=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listener=[],this._limits=t.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var t,r,n;return t=e,(r=[{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=ui.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=ui.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()}}])&&ci(t.prototype,r),n&&ci(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function hi(e){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pi(e){return function(e){if(Array.isArray(e))return gi(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)return;if("string"==typeof e)return gi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gi(e,t)}(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 gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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,mi(n.key),n)}}function mi(e){var t=function(e,t){if("object"!=hi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=hi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hi(t)?t:String(t)}function vi(e,t,r){return t=_i(t),function(e,t){if(t&&("object"===hi(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],_i(e).constructor):t.apply(e,r))}function bi(){return(bi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=wi(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function wi(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_i(e)););return e}function _i(e){return(_i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Si(e,t){return(Si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var xi=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=vi(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}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Si(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 di(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,pi(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),bi(_i(t.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(e){var t=this;this._ancestorValid=e,this.updateAssertions(),this._childBindings.forEach((function(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)&&bi(_i(t.prototype),"_isValidObjectValue",this).call(this,e)}}])&&yi(r.prototype,n),i&&yi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(si);function Ei(e){return(Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ti(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,ki(n.key),n)}}function ki(e){var t=function(e,t){if("object"!=Ei(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ei(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ei(t)?t:String(t)}var Oi=0,Ai=function(e,t,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete e[t]:e[t]=r},Ci=function(){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,Oi+=1,this._internalId=Oi,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=Bn.getLocalizedValue}var t,r,n;return t=e,(r=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){Ai(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){Ai(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?Bn.getLocalizedValue(n[e]):Bn.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){Ai(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?Bn.getLocalizedValue(n[e]):Bn.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||{};Ai(n,e,t),this.refreshExtends()}},{key:"getProperty",value:function(e){var t=null,r=this.getSource(e);return r&&null!=(t=r.property)&&""!==t&&(t=c(t)),t}},{key:"setProperty",value:function(e){Ai(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 c(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){Ai(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[c(e)]=n.map((function(e){return c(e)})):r[c(e)]=c(n)})),r}return t}},{key:"setConstraints",value:function(e){Ai(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?c(e):e})):t}},{key:"setDeps",value:function(e){Ai(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 c(e)})):c(t):t}},{key:"setDatatype",value:function(e){Ai(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){Ai(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){Ai(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){Ai(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){Ai(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){Ai(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){Ai(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){Ai(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){Ai(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){Ai(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){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var t=this._itemStore.getItem(this.getExtends());return null==t?this._source:t.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var e=[];return this.getId()&&e.push("ID: '".concat(this.getId(),"'")),e.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&e.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&e.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(e.join(", "),")")}},{key:"_setLangHash",value:function(e,t,r){var n=e||{};if("string"==typeof t)"string"==typeof r?n[r]=t:n[""]=t;else if("object"===Ei(t)&&null!==t)return t;return n}}])&&Ti(t.prototype,r),n&&Ti(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Pi(e){return(Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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,ji(n.key),n)}}function ji(e){var t=function(e,t){if("object"!=Pi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pi(t)?t:String(t)}function Ni(e,t,r){return t=Li(t),function(e,t){if(t&&("object"===Pi(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Li(e).constructor):t.apply(e,r))}function Di(){return(Di="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Ii(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function Ii(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Li(e)););return e}function Li(e){return(Li=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mi(e,t){return(Mi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Fi=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=Ni(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}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mi(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){Di(Li(t.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Di(Li(t.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&Ri(r.prototype,n),i&&Ri(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(Ci);function Bi(e){return(Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ui(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,Wi(n.key),n)}}function Wi(e){var t=function(e,t){if("object"!=Bi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bi(t)?t:String(t)}function Hi(e,t,r){return t=$i(t),function(e,t){if(t&&("object"===Bi(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],$i(e).constructor):t.apply(e,r))}function Yi(){return(Yi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Gi(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function Gi(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$i(e)););return e}function $i(e){return($i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qi(e,t){return(qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var zi=function(e){function t(){return Vi(this,t),Hi(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qi(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=Yi($i(t.prototype),"getChildren",this).call(this,e)||[];this._delegatedChildren=n.map((function(e){var t=Object.create(e);return t.getCardinality=r,t}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&Ui(r.prototype,n),i&&Ui(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(Fi);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})(e)}function Qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(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,Ji(n.key),n)}}function Ji(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:String(t)}function Ki(e,t,r){return t=eo(t),function(e,t){if(t&&("object"===Xi(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],eo(e).constructor):t.apply(e,r))}function eo(e){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function to(e,t){return(to=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var ro=function(e){function t(){return Qi(this,t),Ki(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&to(e,t)}(t,e),r=t,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&Zi(r.prototype,n),i&&Zi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(Ci);function no(e){return(no="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function io(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,oo(n.key),n)}}function oo(e){var t=function(e,t){if("object"!=no(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=no(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==no(t)?t:String(t)}function ao(e,t,r){return t=lo(t),function(e,t){if(t&&("object"===no(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],lo(e).constructor):t.apply(e,r))}function so(){return(so="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=uo(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function uo(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lo(e)););return e}function lo(e){return(lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function co(e,t){return(co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var fo=function(e){null!=e&&e.forEach((function(e){e.value=c(e.value)}))},ho=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=ao(this,t,[e]))._ontologyStore=e.ontologyStore,r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&co(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&&fo(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&fo(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){so(lo(t.prototype),"setExtends",this).call(this,e),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(e){var t=this;if(null==this._dynamicChoices){if(null==e)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(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?c(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?c(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?c(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()}}])&&io(r.prototype,n),i&&io(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(Ci);r(8436);function po(e){return(po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function go(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,yo(n.key),n)}}function yo(e){var t=function(e,t){if("object"!=po(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=po(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==po(t)?t:String(t)}function mo(e,t,r){return t=wo(t),function(e,t){if(t&&("object"===po(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],wo(e).constructor):t.apply(e,r))}function vo(){return(vo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=bo(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function bo(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=wo(e)););return e}function wo(e){return(wo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _o(e,t){return(_o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var So=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=mo(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}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_o(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(c(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),vo(wo(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var e=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(e,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&go(r.prototype,n),i&&go(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(si);function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Eo(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,To(n.key),n)}}function To(e){var t=function(e,t){if("object"!=xo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=xo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xo(t)?t:String(t)}function ko(e,t,r){return t=Co(t),function(e,t){if(t&&("object"===xo(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Co(e).constructor):t.apply(e,r))}function Oo(){return(Oo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Ao(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function Ao(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Co(e)););return e}function Co(e){return(Co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Po(e,t){return(Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Ro="http://www.w3.org/2000/01/rdf-schema#label",jo="http://www.w3.org/2000/01/rdf-schema#seeAlso",No=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=ko(this,t,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Po(e,t)}(t,e),r=t,i=[{key:"seeAlso",get:function(){return jo}}],(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(ui.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==ui.WRONG_VALUE||this.setMatchingCode(ui.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,r,n){var i=this.getValue();Oo(Co(t.prototype),"setValue",this).call(this,e,r,n);var o=this._statement.getGraph();if(o.findAndRemove(i,Ro,void 0,n),o.findAndRemove(i,jo,void 0,n),null!=e&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&o.create(e,jo,r.seeAlso,!0,n),!0===r.inlineLabel)){var a=r.label||{};Object.keys(a).forEach((function(t){return o.create(e,Ro,{value:a[t],lang:t,type:"literal"},!0,n)}))}}}])&&Eo(r.prototype,n),i&&Eo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(So);function Do(e){return(Do="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Io(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,Lo(n.key),n)}}function Lo(e){var t=function(e,t){if("object"!=Do(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Do(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Do(t)?t:String(t)}function Mo(e,t,r){return t=Fo(t),function(e,t){if(t&&("object"===Do(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Fo(e).constructor):t.apply(e,r))}function Fo(e){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bo(e,t){return(Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Vo=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=Mo(this,t,[e]))._objectBinding=e.objectBinding,r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bo(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(){}}])&&Io(r.prototype,n),i&&Io(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(No);function Uo(e){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wo(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,Ho(n.key),n)}}function Ho(e){var t=function(e,t){if("object"!=Uo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Uo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Uo(t)?t:String(t)}function Yo(e,t,r){return t=Go(t),function(e,t){if(t&&("object"===Uo(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Go(e).constructor):t.apply(e,r))}function Go(e){return(Go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $o(e,t){return($o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var qo=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=Yo(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 Fi?new xi({item:s,statement:n,constraints:i}):s instanceof ho?new No({item:s,statement:n}):new So({item:s,statement:n});var u=new Vo({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$o(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()}}])&&Wo(r.prototype,n),i&&Wo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(xi);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})(e)}function Xo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(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,Zo(n.key),n)}}function Zo(e){var t=function(e,t){if("object"!=zo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=zo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zo(t)?t:String(t)}function Jo(e,t,r){return t=ta(t),function(e,t){if(t&&("object"===zo(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],ta(e).constructor):t.apply(e,r))}function Ko(){return(Ko="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=ea(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function ea(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ta(e)););return e}function ta(e){return(ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ra(e,t){return(ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var na,ia,oa,aa,sa,ua=function(e){function t(){return Xo(this,t),Jo(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ra(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(){this._parent.removeChildBinding(this),Ko(ta(t.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&Qo(r.prototype,n),i&&Qo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(So);function la(e){return(la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ca,fa,da,ha,pa,ga,ya=!1,ma=function(e,t,r){var n=new xi({item:r,childrenRootUri:t,graph:e});return na(n),ia(n),n},va=function(e,t,r){var n=new xi({item:r,childrenRootUri:t,graph:e});return na(n),ya=!0,na(n),ya=!1,ia(n),n},ba=function(e,t,r,n){var i=e.findProperties(t),o=[],a={};if(null!=n){var s=function(e){null!=e&&(!function e(t){null!=t.getProperty()?a[t.getProperty()]=!0:t instanceof Fi&&t.getChildren().forEach(e)}(e),o.push(e))};n.forEach((function(e){var t=r.getItem(e);null!=t?t instanceof Fi&&null==t.getProperty()?t.getChildren().forEach(s):s(t):(t=r.getItemByProperty(e))?s(t):console.warn("Warning, when autodetecting a template: Required item '".concat(e,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return i.forEach((function(e){if(!a[e]){var t=r.getItemByProperty(e);null!=t&&o.push(t)}}),void 0),r.createTemplateFromChildren(o)},wa=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},_a=function(e,t){var r,n,i=t.getChildren()[1],o=e.getGraph();i instanceof Fi?(r=o.create(e.getChildrenRootUri(),"",null,!1),n=sa(o,r.getSubject(),i)):r=i instanceof ho?o.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new qo({item:t,statement:r,constraints:n});return e.addChildBinding(a),i instanceof Fi&&i.getChildren().forEach((function(e){Sa(a.getObjectBinding(),e)})),a},Sa=function(e,t,r){return t instanceof ro?function(e,t){if(!t.getProperty()){var r=new ua({item:t,statement:null,matchingCode:ui.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=wa(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 So({item:t,statement:u});return e.addChildBinding(l),l}(e,t):t instanceof zi?_a(e,t):t instanceof Fi?function(e,t,r){var n,i;if(void 0!==t.getProperty()){var o=e.getGraph();n=(t.getNodetype(),o.create(e.getChildrenRootUri(),t.getProperty(),null,!1)),i=sa(o,n.getValue(),t)}var a=new xi({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 ho?function(e,t){var r=e.getGraph(),n=t.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=wa(t):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(e.getChildrenRootUri(),t.getProperty(),i,!1),a=new No({item:t,statement:o});e.addChildBinding(a);var s=t.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(pa(t,s,r),!0),a}(e,t):void 0};na=function(e){ya&&e.getChildBindings().forEach((function(e){"group"===e.getItem().getType()&&na(e)})),e.getItem().getChildren().forEach((function(t){ya?void 0!==t.getProperty()&&ca(e,t):ca(e,t)}))};ca=function(e,t){t instanceof ho?function(e,t){if(null!=t.getProperty()){var r=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(oa(e)){var n=fa(t,e),i=da(t,e),o=ha(t,e);if(n&&i&&o||ya){var a=pa(t,e.getValue(),e.getGraph());if(void 0!==a){aa(e);var s=n?ui.OK:ui.WRONG_NODETYPE;i?o?a.mismatch&&(s=ui.WRONG_VALUE):s=ui.WRONG_PATTERN:s=ui.WRONG_DATATYPE,r.push(new No({item:t,statement:e,choice:a,matchingCode:s}))}}}})),r.length>0&&e.addChildBindings(r)}}(e,t):t instanceof zi?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){oa(e)&&fa(s,e)&&ha(s,e)&&void 0!==(i=pa(a,e.getPredicate(),e.getGraph()))&&(n=null,s instanceof Fi?void 0!==(r=ga(u,e.getValue(),s))&&(aa(e),n=new qo({item:t,statement:e,constraints:r}),na(n.getObjectBinding())):s instanceof ho?void 0!==(o=pa(s,e.getValue(),e.getGraph()))&&(aa(e),(n=new qo({item:t,statement:e})).getObjectBinding().setChoice(o)):(aa(e),n=new qo({item:t,statement:e})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))})),l.length>0&&e.addChildBindings(l)}(e,t):t instanceof Fi?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(oa(e)){var r=ha(t,e),s=fa(t,e);if((r&&s||ya)&&(void 0!==(i=ga(a,e.getValue(),t))||ya)){var u=s?ui.OK:ui.WRONG_NODETYPE;r?void 0===i&&(u=ui.MISSING_CONSTRAINTS):u=ui.WRONG_PATTERN,aa(e),o=new xi({item:t,statement:e,constraints:i,matchingCode:u}),n.push(o),u===ui.OK&&na(o)}}})),e.addChildBindings(n)):(o=new xi({item:t}),e.addChildBindings([o]),na(o))}(e,t):t instanceof ro&&function(e,t){var r=[];null==t.getProperty()?r.push(new ua({item:t,statement:null,matchingCode:ui.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(oa(e)&&ha(t,e)){var n=fa(t,e),i=da(t,e);if(n&&(i||t.hasStyle("relaxedDatatypeMatch"))||ya){aa(e);var o=n?ui.OK:ui.WRONG_NODETYPE;i||(o=ui.WRONG_DATATYPE),r.push(new So({item:t,statement:e,matchingCode:o}))}}})),r.length>0&&e.addChildBindings(r)}(e,t)},fa=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},da=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)},ha=function(e,t){var r=e.getPattern(),n=Bn.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(e){return!0}return!0},ga=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"===la(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[]},sa=function(e,t,r){var n=[],i=r.getConstraints();return"object"===la(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},pa=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")||ya)return{value:t,label:{"":t},mismatch:!0}}else{var o=Bn.getLocalizedMap(r,t,e.getLabelProperties());null==o&&ya&&(o={"":t,mismatch:!0});var a=r.findFirstValue(t,No.seeAlso);if(null!=o){var s={label:o,value:t};return a&&(s.seeAlso=a),s}if(null!=Un.getChoice)return Un.getChoice(e,t,a,r)}},aa=function(e){e._dibbs=!0},oa=function(e){return!0!==e._dibbs},ia=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 xi||o instanceof qo)&&ia(o)}};var xa=function e(t,r){for(var n="/"===r[0]?r.slice(1):r,i=t.getItemGroupedChildBindings(),o=n[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof ho&&void 0===f.getProperty()&&o===f.getId()&&2===n.length&&n[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=e(c,n)))return u;if("*"===o||o===c.getPredicate())if("group"===f.getType()){if(u=e(c,n.slice(1)))return u}else if(1===n.length||"*"===n[1]||n[1]===c.getValue())return c}}},Ea=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},Ta=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]};const ka={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=function e(t,r,n){var i=r.getCardinality();return n&&"group"===r.getType()||(null!=i?i.min>0?t.mandatory+=1:i.pref>0?t.recommended+=1:t.optional+=1:t.optional+=1),"group"===r.getType()&&r.getChildren().forEach((function(r){return e(t,r)})),t}({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t},findFirstValueBinding:function e(t,r){if(t instanceof So)return t;for(var n=t.getItemGroupedChildBindings(),i=Ln().locale(),o=0;o<n.length;o++){var a=n[o],s=t.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof ro))return e(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var u={firstValue:a[0]},l=0;l<a.length;l++){var c=a[l].getLanguage();null==c?u.emptyLanguageValue=a[l]:c===i?u.perfectLocaleLanguageValue=a[l]:c.substring(0,1)===i.substring(0,1)?u.localeLanguageValue=a[l]:-1!==c.indexOf("en")?u.defaultLanguageValue=a[l]:u.anyLanguageValue=a[l]}return u.perfectLocaleLanguageValue||u.localeLanguageValue||u.defaultLanguageValue||u.anyLanguageValue||u.firstValue}return a[0]}if(r){var f=Sa(t,s,{});return f instanceof So?(f.setLanguage(i),f):e(f,!0)}}},create:Sa,constructTemplate:ba,findPopularChoice:Ta,match:ma,fuzzyMatch:va,matchPathBelowBinding:xa,findBindingRelativeToParentBinding:Ea,CODES:ui};var Oa=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||[]),Ra(e,r,!0)},Aa=function(e){for(var t=0,r=0;r<e.length;r++)e[r].isValid()&&(t+=1);return t},Ca=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},Pa=function(e,t){if(t.hasStyle("deprecated"))return!0;var r=t.getDeps();if(r){var n=Ea(e,r);if(!xa(n,r))return!0}return!1},Ra=function e(t,r,n){if(t.getMatchingCode()===ui.OK){var i=t.getItem();if(!0===n||t.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var a,s=t.getChildBindings(),u=Aa(s);u>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?a=ui.AT_MOST_ONE_CHILD:1!==u&&i.hasStyle("exactlyOneChild")?a=ui.EXACTLY_ONE_CHILD:0===u&&i.hasStyle("atLeastOneChild")&&(a=ui.AT_LEAST_ONE_CHILD),a&&(Ca([t],a),o.length>0&&r.errors.push({parentBinding:t,item:o[0],code:a}))}else t.getItemGroupedChildBindings().forEach((function(e,n){var i=o[n];if(!Pa(t,i)&&null!=i.getProperty()){var a=Aa(e),s=i.getCardinality();null!=s.min&&s.min>a?(r.errors.push({parentBinding:t,item:i,code:ui.TOO_FEW_VALUES_MIN}),Ca(e,ui.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&r.warnings.push({parentBinding:t,item:i,code:ui.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(r.errors.push({parentBinding:t,item:i,code:ui.TOO_MANY_VALUES}),Ca(e,ui.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(n){var i=n.getItem();n.getMatchingCode()!==ui.OK&&r.errors.push({parentBinding:n,item:i,code:n.getMatchingCode()}),i.hasStyle("deprecated")&&r.deprecated.push(n),Pa(t,i)||"group"===i.getType()&&e(n,r)}))}return r}},ja=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},Na=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()}},Da=function(e,t){var r=e,n=[];for(null!=t.getProperty()&&r.getItem()!==t&&n.push(l(t.getProperty()));null!=r.getItem().getProperty()&&n.push(l(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},Ia=function(e){var t=e.errors,r=e.warnings,n=e.deprecated;e.errors=t.map((function(e){return{path:Da(e.parentBinding,e.item),code:e.code}})),e.warnings=r.map((function(e){return{path:Da(e.parentBinding,e.item),code:e.code}})),e.deprecated=n.map((function(e){return function(e){return"".concat(Da(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},La=function(e,t,r,n){var i=va(t,e,r),o=Oa(i);return function(e,t,r){var n=e.errors,i=e.warnings,o=e.deprecated;e.errors=n.filter((function(e){return Na(e.parentBinding,t,r)})),e.warnings=i.filter((function(e){return Na(e.parentBinding,t,r)})),e.deprecated=o.filter((function(e){return Na(e,t,r)}))}(o,e,n||{}),Ia(o),o};const Ma={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=ja(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=La(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:Oa};function Fa(e){return(Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ba(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,Va(n.key),n)}}function Va(e){var t=function(e,t){if("object"!=Fa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Fa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fa(t)?t:String(t)}var Ua=0;function Wa(e){return(Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ya(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,Ga(n.key),n)}}function Ga(e){var t=function(e,t){if("object"!=Wa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Wa(t)?t:String(t)}function $a(e,t,r){return t=Xa(t),function(e,t){if(t&&("object"===Wa(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Xa(e).constructor):t.apply(e,r))}function qa(){return(qa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=za(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function za(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Xa(e)););return e}function Xa(e){return(Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qa(e,t){return(Qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Za=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 Za(e,n[r],t)}))}return!0},Ja=function(e){function t(){return Ha(this,t),$a(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qa(e,t)}(t,e),r=t,(n=[{key:"_handleParams",value:function(e){this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",qa(Xa(t.prototype),"_handleParams",this).call(this,e)}},{key:"showNow",value:function(e,t){return Za(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")?ei.filterTranslations(t,Ln().locale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,r){r.hasStyle("noLabelInPresent")?ei.domClassToggle(e,"rdformsInvisibleGroup",!0):ei.renderPresenterLabel(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return ei.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return ei.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){ei.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){ei.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}}])&&Ya(r.prototype,n),i&&Ya(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(function(){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=Ua,Ua+=1,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.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"===Fa(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=ei.createDomNode(r,this),ei.domClassToggle(this.domNode,"rdforms",!0),ei.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,r,n;return t=e,(r=[{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(){ei.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=va(this.graph,this.resource,this.template),Oa(this.binding)):this.binding=ma(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(ei.domText(this.domNode,""),null!=this.binding){var e=ei.getMessages();if(this.messages=e,null!=this.binding){var t,r,n,i,o,a=this.binding.getItem().getChildren(),s=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?ei.domClassToggle(this.domNode,"compact",!1):ei.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<s.length;t++)if(i=s[t],o=a[t],(!this.restrictToItem||this.restrictToItem===o)&&this.showNow(o,i)){if(i=this.prepareBindings(o,i),this.showAsTable(o))this.context={view:this},n=this.createRowNode(n,i[0],o),i.length>0&&(r=this.addTable(n,i[0],o),this.fillTable(r,i));else if(i.length>0)if(this.isMultiValued(o))this.context={view:this},n=this.addRow(n,i[0],!0);else{for(var u=this.truncateAt(o,i),l=0;l<i.length;l++)this.context={view:this},n=this.addRow(n,i[l],0===l||i[l]instanceof xi,l,u);if(-1!==u){var c=ei.domQuery(".rdformsFields",n);c&&ei.addTruncateControl(c,this.context)}}else this.context={view:this},n=this.createRowNode(n,null,o);i.length>0&&i[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 xi),!0===s){a=this.createRowNode(e,t,u);var l=ei.domCreate("div",a);ei.domClassToggle(l,"rdformsFields",!0),-1!==i&&ei.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&ei.domClassToggle(l,"rdformsInline",!0),o=ei.domCreate("div",l),this.createEndOfRowNode(a,t,u)}else{var c=ei.domQuery(".rdformsFields",e);if(null!=c)o=ei.domCreate("div",c),ei.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&ei.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=ei.domCreate("div",e);ei.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&ei.domClassToggle(f,"rdformsInline",!0),o=ei.domCreate("div",f),this.createEndOfRowNode(a,t,u)}}if(this.markOrigin){var d=this.getNamedGraphId(t);d?(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?ei.domClassToggle(o,"rdformsGroup",!0):ei.domClassToggle(o,"rdformsField",!0),this._binding2node[t.getHash()]=o,this.addComponent(o,t),u.hasStyle("invisible")&&ei.domClassToggle(a||e,"rdformsInvisible",!0),a||e}}},{key:"createRowNode",value:function(e,t,r){var n;n=null==e?ei.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):ei.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),r.getClasses().forEach((function(e){ei.domClassToggle(n,e,!0)})),ei.domClassToggle(n,"rdformsRow",!0),ei.domClassToggle(n,"rdformsTopLevel",this.topLevel),ei.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),ei.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),ei.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),ei.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,t,r),t&&this.filterBinding(t)&&ei.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&ei.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();return!!r&&function e(r,n){var i=r.getId();if(i&&Object.keys(n).includes(i))return!0;var o=r.getProperty();if(o){for(var a=!0,s=t;s.parentView;)s.getBinding().getItem().getProperty()&&(a=!1),s=s.parentView;var l=u(o);return a?!0===n[o]||!0===n[l]||!0===n["*".concat(o)]||!0===n["".concat(l)]:!0===n["*".concat(o)]||!0===n["*".concat(l)]}if("group"===r.getType()){var c=r.getChildren()||[],f=!1;return c.forEach((function(t){e(t,n)||(f=!0)})),!f}return!1}(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}}])&&Ba(t.prototype,r),n&&Ba(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());function Ka(e){return(Ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ts(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,rs(n.key),n)}}function rs(e){var t=function(e,t){if("object"!=Ka(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ka(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ka(t)?t:String(t)}function ns(e,t,r){return t=as(t),function(e,t){if(t&&("object"===Ka(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,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],as(e).constructor):t.apply(e,r))}function is(){return(is="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=os(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function os(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=as(e)););return e}function as(e){return(as=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ss(e,t){return(ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var us=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 us(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}},ls=function(e){function t(){return es(this,t),ns(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ss(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,is(as(t.prototype),"_handleParams",this).call(this,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||Oa(this.binding);Object.keys(this._binding2node).forEach((function(e){ei.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var n=function(){var e=r.errors[i];if(e.parentBinding===t.binding)if(e.code===ui.TOO_FEW_VALUES_MIN){var n=e.item,o=n.getCardinality().min;t.binding.getChildBindingsFor(n).find((function(e){return o-=1,e.isValid()||ei.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===o}))}else e.code===ui.AT_MOST_ONE_CHILD&&t.binding.getChildBindings().forEach((function(e){e.getMatchingCode()!==ui.OK&&ei.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=ma(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],is(as(t.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return us(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(Sa(this.binding,e));return n}},{key:"addLabel",value:function(e,t,r){ei.renderEditorLabel(e,t,r,this.context)}},{key:"createEndOfRowNode",value:function(e,t,r){ei.renderEditorLabelScopeEnd(e,t,r,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):ei.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){ei.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){ei.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")?ei.renderPresenter(e,t,this.context):ei.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=is(as(t.prototype),"createRowNode",this).call(this,e,r,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=Ta(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(e){e?(ei.domClassToggle(i,"missingDepsWithValue",!1),ei.domClassToggle(i,"missingDeps",!1)):r.isValid()?ei.domClassToggle(i,"missingDepsWithValue",!0):ei.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(e)},u=Ea(r.getParent(),a);xa(u,a)||s(!1),u.addListener((function e(){r.getParent()?s(xa(u,a)):u.removeListener(e)}))}return this.filterBinding(r)&&ei.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&ei.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(e){return ei.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}])&&ts(r.prototype,n),i&&ts(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(Ja);ei.renderPresenterLabel=function(e,t,r,n,i){var o=n.view instanceof ls&&r.getEditLabel()||r.getLabel();o=null!=o&&""!==o?o.charAt(0).toUpperCase()+o.slice(1):"";var a=r.hasStyle("heading")?ri()('<h2 class="rdformsLabel" tabindex="0">').text(o).appendTo(e):ri()('<div class="rdformsLabel" tabindex="0">').text(o).appendTo(e);t&&a.attr("id",n.view.createLabelIndex(t)),i&&a.addClass("rdformsLabelRow"),n&&(n.labelNode=a[0]);var s=n.view;if(r.hasStyle("showDescriptionInPresent")||s.showDescription){var u=r.hasStyle("compact")||s.compact&&!r.hasStyle("nonCompact")&&(s.topLevel&&"group"!==r.getType()||s.parentView&&s.parentView.topLevel&&s.binding.getItem().hasStyle("heading")),l=r.getDescription();!u&&l&&ri()('<div class="rdformsDescription" tabindex="0">').text(l).appendTo(e)}ei.attachItemInfo(r,a[0],n)},ei.attachItemInfo=function(e,t){if(null!=e&&null!=e.getDescription()){var r=e.getDescription();t.setAttribute("title",r)}};const cs=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"});const fs=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 ds=function(e){return"symbol"==typeof e||zt(e)&&"[object Symbol]"==et(e)};var hs=Ge?Ge.prototype:void 0,ps=hs?hs.toString:void 0;const gs=function e(t){if("string"==typeof t)return t;if(er(t))return fs(t,e)+"";if(ds(t))return ps?ps.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const ys=function(e){return null==e?"":gs(e)};var ms=/[&<>"']/g,vs=RegExp(ms.source);const bs=function(e){return(e=ys(e))&&vs.test(e)?e.replace(ms,cs):e};var ws=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}},_s=function(e){var t=e.getValue();if(null!=t&&""!==t){var r=e.getItem(),n=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}}(t);if(n){var i=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"}(t),o=ws(e.getDatatype()),a=function(e){var t=e.getDatatype();return Array.isArray(t)?ws(t[0]):ws(t)}(r),s=function(e){var t={},r=e.getDatatype();return(Array.isArray(r)?r:[r]).forEach((function(e){var r=ws(e);r&&(t[r]=!0)})),t}(r);return function(e,t){switch(e){case"DateTime":return Ln()(t).format("lll");case"Date":return Ln()(t).format("LL");case"Time":return Ln()(t).format("LT");case"Year":return Ln()(t).format("YYYY");case"YearMonth":return Ln()(t).format("MMMM YYYY");case"MonthDay":return Ln()(t).format("D MMMM");default:return""}}(s[o]?o:s[i]?i:a,n)}}},Ss=r(9755),xs=ei.presenterRegistry;xs.itemtype("text").nodetype("URI").register((function(e,t){var r=Bn.getLocalizedMap(t),n=Ss('<a class="rdformsUrl">').attr("title",t.getValue()).attr("href",t.getValue()).appendTo(e);t.getItem().hasStyle("showValue")?n.text(t.getValue()):r?n.text(Bn.getLocalizedValue(r).value):n.text(t.getGist()),t.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(n[0],t):Un.attachLinkBehaviour(n[0],t)})),xs.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?ei.filterTranslations(t.getChildBindingsFor(o),Ln().locale(),r.view.defaultLanguage):[],s=t.getItem().getChildren().find((function(e){return e.hasStyle("tooltip")})),u=s?ei.filterTranslations(t.getChildBindingsFor(s),Ln().locale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=Ss('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(e);if(a.length>0)n=a[0].getValue();else{var f=Bn.getLocalizedMap(t);n=t.getItem().hasStyle("showValue")?i:f?Bn.getLocalizedValue(f).value||i:t.getGist()}c.text(n),t.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(c[0],t):Un.attachLinkBehaviour(c[0],t)})),xs.itemtype("text").nodetype("URI").style("image").register((function(e,t){Ss('<img class="rdformsImage">').attr("src",t.getGist()).appendTo(e)})),xs.itemtype("text").register((function(e,t,r){var n=t.getLanguage();r.view.showLanguage&&n&&Ss('<div class="rdformsLanguage">').text(n).appendTo(e);var i=bs(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=Ss('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(e);n&&a.attr("lang",n),Un.attachLinkBehaviour(a[0],o)}else{var s=Ss("<div>").html(i).appendTo(e);n&&s.attr("lang",n)}t.getItem().hasStyle("multiline")?Ss(e).toggleClass("rdformsMultiline",!0):Ss(e).toggleClass("rdformsSingleline",!0)})),xs.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=Ss("<div>").appendTo(e)[0];["years","months","days","hours","minutes"].forEach((function(e){n.hasOwnProperty(e)&&0!==n[e]&&Ss('<span class="durationLabel">'.concat(i["duration_".concat(e)],':</span><span class="durationValue">').concat(n[e],"</span>")).appendTo(o)}))}));var Es=function(e,t){try{var r=_s(t);Ss("<div>").html(r).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."))}};xs.itemtype("text").datatype("xsd:dateTime").register(Es),xs.itemtype("text").datatype("xsd:date").register(Es),xs.itemtype("text").datatype("xsd:time").register(Es),xs.itemtype("text").datatype("xsd:gYear").register(Es),xs.itemtype("text").datatype("xsd:gYearMonth").register(Es),xs.itemtype("text").datatype("xsd:gMonthDay").register(Es),xs.itemtype("text").datatype("dcterms:W3CDTF").register(Es);var Ts=r(9755),ks=ei.presenterRegistry,Os=function(e){return function(t,r){var n,i=r.getChoice();i&&(i.description&&(n=Bn.getLocalizedValue(i.description).value),e(t,r,i,n))}};ks.itemtype("choice").style("image").register(Os((function(e,t,r,n){Ts('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(e)}))),ks.itemtype("choice").style("stars").register(Os((function(e,t,r){isNaN(parseInt(r.value,10))||Ts('<span class="rdformsStar">').appendTo(e)}))),ks.itemtype("choice").register(Os((function(e,t,r,n){var i,o=t.getItem(),a=Bn.getLocalizedValue(r.label);o.hasStaticChoices()&&!o.hasStyle("externalLink")||o.hasStyle("noLink")?i=Ts("<div>").attr("title",n||r.seeAlso||r.value).text(Bn.getLocalizedValue(r.label).value).appendTo(e):(i=Ts('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(a.value).appendTo(e),o.hasStyle("externalLink")?Un.attachExternalLinkBehaviour(i[0],t):Un.attachLinkBehaviour(i[0],t)),null!=r.load&&r.load((function(){var e=Bn.getLocalizedValue(r.label);i.text(e.value),e.lang?i.attr("lang",e.lang):i.attr("lang",void 0)})),a.lang&&i.attr("lang",a.lang)}))),ei.addPresenterTable=function(e,t,r){var n=t.getItem(),i=n.getChildren(),o=ri()("<table>").addClass("rdformsGroup").appendTo(e);ri()("<thead>").appendTo(o);for(var a=ri()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=ri()("<th>").appendTo(a);ei.attachItemInfo(n,ri()("<span>").text(i[s].getLabel()).appendTo(u),r)}return o[0]},ei.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=ri()("<tr>").appendTo(e),i=0;i<o.length;i++)o[i].length>0?ei.renderPresenter(ri()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):ri()("<td>").appendTo(a);r.view.topLevel=s}};var As=function(e,t){var r=document.createElement(e);return t&&(r.id=t),r};ei.domQuery=function(e,t){return t.querySelector(e)},ei.domCreate=function(e,t,r){return t.appendChild(As(e,r))},ei.domCreateAfter=function(e,t,r){return t.parentNode.insertBefore(As(e,r),t.nextSibling)},ei.domSetAttr=function(e,t,r){""===r||null===r?e.removeAttribute(t):e.setAttribute(t,r)},ei.domText=function(e,t){e.innerText=t},ei.domClassToggle=function(e,t,r){t.split(" ").forEach((function(t){r?e.classList.add(t):e.classList.remove(t)}))},ei.prePresenterViewRenderer=ei.preEditorViewRenderer,ei.addTruncateControl=function(e,t){var r=t.view.messages,n=ei.domCreate("button",e);ei.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){ei.domClassToggle(e,"rdformsTruncated",!1)};var i=ei.domCreate("button",e);ei.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){ei.domClassToggle(e,"rdformsTruncated",!0)}};var Cs=r(3379),Ps=r.n(Cs),Rs=r(7795),js=r.n(Rs),Ns=r(569),Ds=r.n(Ns),Is=r(3565),Ls=r.n(Is),Ms=r(9216),Fs=r.n(Ms),Bs=r(4589),Vs=r.n(Bs),Us=r(719),Ws={};Ws.styleTagTransform=Vs(),Ws.setAttributes=Ls(),Ws.insert=Ds().bind(null,"head"),Ws.domAPI=js(),Ws.insertStyleElement=Fs();Ps()(Us.Z,Ws);Us.Z&&Us.Z.locals&&Us.Z.locals;var Hs="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},Ys="URLSearchParams"in Hs,Gs="Symbol"in Hs&&"iterator"in Symbol,$s="FileReader"in Hs&&"Blob"in Hs&&function(){try{return new Blob,!0}catch(e){return!1}}(),qs="FormData"in Hs,zs="ArrayBuffer"in Hs;if(zs)var Xs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Qs=ArrayBuffer.isView||function(e){return e&&Xs.indexOf(Object.prototype.toString.call(e))>-1};function Zs(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 Js(e){return"string"!=typeof e&&(e=String(e)),e}function Ks(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Gs&&(t[Symbol.iterator]=function(){return t}),t}function eu(e){this.map={},e instanceof eu?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 tu(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ru(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function nu(e){var t=new FileReader,r=ru(t);return t.readAsArrayBuffer(e),r}function iu(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ou(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:$s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:qs&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Ys&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():zs&&$s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=iu(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):zs&&(ArrayBuffer.prototype.isPrototypeOf(e)||Qs(e))?this._bodyArrayBuffer=iu(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):Ys&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$s&&(this.blob=function(){var e=tu(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=tu(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($s)return this.blob().then(nu);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=tu(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=ru(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)},qs&&(this.formData=function(){return this.text().then(uu)}),this.json=function(){return this.text().then(JSON.parse)},this}eu.prototype.append=function(e,t){e=Zs(e),t=Js(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},eu.prototype.delete=function(e){delete this.map[Zs(e)]},eu.prototype.get=function(e){return e=Zs(e),this.has(e)?this.map[e]:null},eu.prototype.has=function(e){return this.map.hasOwnProperty(Zs(e))},eu.prototype.set=function(e,t){this.map[Zs(e)]=Js(t)},eu.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},eu.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),Ks(e)},eu.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Ks(e)},eu.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),Ks(e)},Gs&&(eu.prototype[Symbol.iterator]=eu.prototype.entries);var au=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function su(e,t){if(!(this instanceof su))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 su){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new eu(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 eu(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),au.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Hs)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 uu(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 lu(e,t){if(!(this instanceof lu))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 eu(t.headers),this.url=t.url||"",this._initBody(e)}su.prototype.clone=function(){return new su(this,{body:this._bodyInit})},ou.call(su.prototype),ou.call(lu.prototype),lu.prototype.clone=function(){return new lu(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new eu(this.headers),url:this.url})},lu.error=function(){var e=new lu(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var cu=[301,302,303,307,308];lu.redirect=function(e,t){if(-1===cu.indexOf(t))throw new RangeError("Invalid status code");return new lu(null,{status:t,headers:{location:e}})};var fu=Hs.DOMException;try{new fu}catch(e){(fu=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),fu.prototype.constructor=fu}function du(e,t){return new Promise((function(r,n){var i=new su(e,t);if(i.signal&&i.signal.aborted)return n(new fu("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 eu,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 lu(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 fu("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Hs.location.href?Hs.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&&($s?o.responseType="blob":zs&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof eu||Hs.Headers&&t.headers instanceof Hs.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(Zs(e)),o.setRequestHeader(e,Js(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)}))}du.polyfill=!0,Hs.fetch||(Hs.fetch=du,Hs.Headers=eu,Hs.Request=su,Hs.Response=lu);r(429);const hu=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const pu=function(e){return this.__data__.has(e)};function gu(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Mt;++t<r;)this.add(e[t])}gu.prototype.add=gu.prototype.push=hu,gu.prototype.has=pu;const yu=gu;const mu=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 vu=function(e,t){return e.has(t)};const bu=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 yu: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(!mu(t,(function(e,t){if(!vu(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 wu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};const _u=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r};var Su=Ge?Ge.prototype:void 0,xu=Su?Su.valueOf:void 0;const Eu=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 hn(e),new hn(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ce(+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=wu;case"[object Set]":var u=1&n;if(s||(s=_u),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=bu(s(e),s(t),n,i,o,a);return a.delete(e),c;case"[object Symbol]":if(xu)return xu.call(e)==xu.call(t)}return!1};var Tu=Object.prototype.hasOwnProperty;const ku=function(e,t,r,n,i,o){var a=1&r,s=Zr(e),u=s.length;if(u!=Zr(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:Tu.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 Ou=Object.prototype.hasOwnProperty;const Au=function(e,t,r,n,i,o){var a=er(e),s=er(t),u=a?"[object Array]":cn(e),l=s?"[object Array]":cn(t),c="[object Object]"==(u="[object Arguments]"==u?"[object Object]":u),f="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d=u==l;if(d&&or(e)){if(!or(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Vt),a||mr(e)?bu(e,t,r,n,i,o):Eu(e,t,u,r,n,i,o);if(!(1&r)){var h=c&&Ou.call(e,"__wrapped__"),p=f&&Ou.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,y=p?t.value():t;return o||(o=new Vt),i(g,y,r,n,o)}}return!!d&&(o||(o=new Vt),ku(e,t,r,n,i,o))};const Cu=function e(t,r,n,i,o){return t===r||(null==t||null==r||!zt(t)&&!zt(r)?t!=t&&r!=r:Au(t,r,n,i,e,o))};const Pu=function(e,t){return Cu(e,t)};function Ru(e){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ju(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,Nu(n.key),n)}}function Nu(e){var t=function(e,t){if("object"!=Ru(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ru(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ru(t)?t:String(t)}var Du=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}}var t,r,n;return t=e,(r=[{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(Pu(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("&"))}}])&&ju(t.prototype,r),n&&ju(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();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})(e)}function Lu(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,Mu(n.key),n)}}function Mu(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:String(t)}var Fu=0,Bu=function(){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=[],Fu+=1,this._id="_bundle_".concat(Fu),this._root=null,this._modified=!1}var t,r,n;return t=e,(r=[{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}}])&&Lu(t.prototype,r),n&&Lu(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Vu(e){return(Vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uu(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,Wu(n.key),n)}}function Wu(e){var t=function(e,t){if("object"!=Vu(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vu(t)?t:String(t)}var Hu=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.automaticSortAllowed=!0,this.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new Du}var t,r,n;return t=e,(r=[{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);return i?i.getChildren().concat(e.getChildren(!0)):e.getChildren(!0)}},{key:"getItem",value:function(e){if(null!=e)return this._registry[e]}},{key:"getItems",value:function(){var e=this;return Object.keys(this._registry).map((function(t){return e._registry[t]}))}},{key:"renameItem",value:function(e,t){if(this._registry[t])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(n){var i=n.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&&r(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof Fi&&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 ba(e,t,this,r)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new Bu(e);this._bundles.push(t),e.source&&e.source.namespaces&&f(e.source.namespaces);var r=e.source.templates||e.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,t),"object"===Vu(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 Fi({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var r=Object.assign(Object.assign({},e),t);return 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 ro({source:e,itemStore:this,bundle:n});break;case"choice":i=new ho({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new Fi({source:e,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new zi({source:e,children:null,itemStore:this,bundle:n})}return!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&&null==this._registry[o]&&(this._registry[o]=i,null!=n&&n.addItem(i))),i}if(null!=o){if(null!=this._registry[o]){if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var l=Object.assign(Object.assign({},this._registry[o]._source),e);return this.createItem(l,!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)}}])&&Uu(t.prototype,r),n&&Uu(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Yu(e){return(Yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Gu=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new C(n||[]);return i(a,"_invoke",{value:T(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",h="executing",p="completed",g={};function y(){}function m(){}function v(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==r&&n.call(_,a)&&(b=_);var S=v.prototype=y.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(i,o,a,s){var u=f(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==Yu(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function T(t,r,n){var i=d;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(t,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function k(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(Yu(t)+" is not iterable")}return m.prototype=v,i(S,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},x(E.prototype),l(E.prototype,s,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(S),l(S,u,"Generator"),l(S,a,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function $u(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 qu(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){$u(o,n,i,a,s,"next",e)}function s(e){$u(o,n,i,a,s,"throw",e)}a(void 0)}))}}var zu=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."))},Xu=function(){var e=qu(Gu().mark((function e(t){var r,n,i,o,a;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.length,o=0;case 2:if(!(o<r)){e.next=34;break}return e.prev=3,e.next=6,fetch(t[o]);case 6:n=e.sent,e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(t[o]));case 12:if(!n||!n.ok){e.next=30;break}if(e.prev=13,!(a=n.headers.has("content-type")&&n.headers.get("content-type"))||!a.includes("application/json")){e.next=22;break}return e.next=18,n.json();case 18:return i=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[o],". Expected a JSON file and got ").concat(a));case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),zu(o,r,t[o]);case 28:e.next=31;break;case 30:zu(o,r,t[o]);case 31:o++,e.next=2;break;case 34:return e.abrupt("return",i);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),Qu=function(e){return e.map((function(e){return e instanceof Array?Xu(e):Promise.resolve(e)}))},Zu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))};const Ju=function(){var e=qu(Gu().mark((function e(t){var r,n,i,o,a,s=arguments;return Gu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===r.length&&n&&n([]),i=Qu(r),e.next=6,Promise.all(i);case 6:return o=e.sent,a=Zu(t,o),n(a),e.abrupt("return",a);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})(),n})());
|
|
51
|
+
*/function r(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(e,"__esModule",{value:!0}),e.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",e.NC_NAME_CHAR="-"+e.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.NC_NAME_START_CHAR_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]$","u"),e.NC_NAME_CHAR_RE=new RegExp("^["+e.NC_NAME_CHAR+"]$","u"),e.NC_NAME_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]["+e.NC_NAME_CHAR+"]*$","u"),e.isNCNameStartChar=r,e.isNCNameChar=function(t){return r(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},22134:t=>{"use strict";t.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="},43348:t=>{"use strict";t.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"},59636:t=>{"use strict";t.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"},65230:t=>{"use strict";t.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="},98388:t=>{"use strict";t.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"},82777:t=>{"use strict";t.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=="},44517:(t,e,r)=>{"use strict";var n=r(17405),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},67651:(t,e,r)=>{"use strict";var n=r(74333),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},59747:(t,e,r)=>{"use strict";var n=r(26633),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},30689:(t,e,r)=>{"use strict";var n=r(96418),i=r(25094),o=r(20341).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},70280:(t,e,r)=>{"use strict";var n=r(76598).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},21141:(t,e,r)=>{"use strict";var n=r(94125),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},2955:(t,e,r)=>{"use strict";var n=r(87181),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},74585:(t,e,r)=>{"use strict";var n=r(32479);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},86348:(t,e,r)=>{"use strict";var n=r(80364).forEach,i=r(61116)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},59140:(t,e,r)=>{"use strict";var n=r(86658),i=r(19710),o=r(12154),a=function(t){return function(e,r,a){var s=n(e),u=o(s);if(0===u)return!t&&-1;var l,c=i(a,u);if(t&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},80364:(t,e,r)=>{"use strict";var n=r(69299),i=r(3271),o=r(60586),a=r(69271),s=r(12154),u=r(63918),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.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)}},74502:(t,e,r)=>{"use strict";var n=r(32479),i=r(96418),o=r(59459),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},61116:(t,e,r)=>{"use strict";var n=r(32479);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},98e3:(t,e,r)=>{"use strict";var n=r(24952),i=r(9739),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},50386:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n([].slice)},26402:(t,e,r)=>{"use strict";var n=r(50386),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},83225:(t,e,r)=>{"use strict";var n=r(9739),i=r(74333),o=r(87181),a=r(96418)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},63918:(t,e,r)=>{"use strict";var n=r(83225);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},48377:(t,e,r)=>{"use strict";var n=r(96418)("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(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},27579:(t,e,r)=>{"use strict";var n=r(3271),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},24230:(t,e,r)=>{"use strict";var n=r(42066),i=r(17405),o=r(27579),a=r(96418)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},36776:(t,e,r)=>{"use strict";var n=r(25094),i=r(49839),o=r(85640),a=r(69299),s=r(21141),u=r(41838),l=r(4302),c=r(18434),f=r(71620),d=r(70928),h=r(24952),p=r(58157).fastKey,g=r(69933),y=g.set,v=g.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,i){s(t,d),y(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(i)||l(i,t[c],{that:t,AS_ENTRIES:r})})),d=f.prototype,g=v(e),m=function(t,e,r){var n,i,o=g(t),a=b(t,e);return a?a.value=r:(o.last=a={index:i=p(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),h?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var r,n=g(t),i=p(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return o(d,{clear:function(){for(var t=g(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:this.size=0},delete:function(t){var e=g(this),r=b(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first===r&&(e.first=n),e.last===r&&(e.last=i),h?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=g(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(d,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=v(e),o=v(n);c(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?f("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},57902:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(3271),a=r(25135),s=r(67089),u=r(58157),l=r(4302),c=r(21141),f=r(17405),d=r(41838),h=r(87181),p=r(32479),g=r(48377),y=r(38565),v=r(23885);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",_=i[t],x=_&&_.prototype,S=_,E={},T=function(t){var e=o(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!h(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(_)||!(b||x.forEach&&!p((function(){(new _).entries().next()})))))S=r.getConstructor(e,t,m,w),u.enable();else if(a(t,!0)){var k=new S,O=k[w](b?{}:-0,1)!==k,A=p((function(){k.has(1)})),C=g((function(t){new _(t)})),P=!b&&p((function(){for(var t=new _,e=5;e--;)t[w](e,e);return!t.has(-0)}));C||((S=e((function(t,e){c(t,x);var r=v(new _,t,S);return d(e)||l(e,r[w],{that:r,AS_ENTRIES:m}),r}))).prototype=x,x.constructor=S),(A||P)&&(T("delete"),T("has"),m&&T("get")),(P||O)&&T(w),b&&x.clear&&delete x.clear}return E[t]=S,n({global:!0,constructor:!0,forced:S!==_},E),y(S,t),b||r.setStrong(S,t,m),S}},29726:(t,e,r)=>{"use strict";var n=r(74633),i=r(74730),o=r(67537),a=r(20341);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},33752:(t,e,r)=>{"use strict";var n=r(96418)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},39159:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},71620:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},25298:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},31433:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25508:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},8448:(t,e,r)=>{"use strict";var n=r(2955),i=r(90319),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},49839:(t,e,r)=>{"use strict";var n=r(51893),i=r(20341);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},67089:(t,e,r)=>{"use strict";var n=r(17405),i=r(20341),o=r(51893),a=r(48213);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},85640:(t,e,r)=>{"use strict";var n=r(67089);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},48213:(t,e,r)=>{"use strict";var n=r(32451),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},47008:(t,e,r)=>{"use strict";var n=r(22773),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},24952:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},82116:(t,e,r)=>{"use strict";var n=r(32451),i=r(87181),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},93409:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},16411:t=>{"use strict";t.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}},75427:(t,e,r)=>{"use strict";var n=r(82116)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},6256:(t,e,r)=>{"use strict";var n=r(70707).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},97384:(t,e,r)=>{"use strict";var n=r(73529),i=r(55089);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},73529:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},6956:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/MSIE|Trident/.test(n)},60700:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3865:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},55089:(t,e,r)=>{"use strict";var n=r(32451),i=r(27579);t.exports="process"===i(n.process)},20874:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/web0s(?!.*chrome)/i.test(n)},70707:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},59459:(t,e,r)=>{"use strict";var n,i,o=r(32451),a=r(70707),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]),t.exports=i},18216:(t,e,r)=>{"use strict";var n=r(70707).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},51410:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},32162:(t,e,r)=>{"use strict";var n=r(32451),i=r(67537).f,o=r(25298),a=r(67089),s=r(48213),u=r(29726),l=r(25135);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},32479:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},44896:(t,e,r)=>{"use strict";r(9081);var n=r(5234),i=r(67089),o=r(40387),a=r(32479),s=r(96418),u=r(25298),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},3369:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},83483:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},69299:(t,e,r)=>{"use strict";var n=r(21678),i=r(44517),o=r(59117),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},59117:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},5428:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517),o=r(87181),a=r(74633),s=r(50386),u=r(59117),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},5234:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},74251:(t,e,r)=>{"use strict";var n=r(24952),i=r(74633),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},48891:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},21678:(t,e,r)=>{"use strict";var n=r(27579),i=r(3271);t.exports=function(t){if("Function"===n(t))return i(t)}},3271:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},24289:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},44128:(t,e,r)=>{"use strict";var n=r(24230),i=r(37961),o=r(41838),a=r(78230),s=r(96418)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},599:(t,e,r)=>{"use strict";var n=r(5234),i=r(44517),o=r(2955),a=r(22773),s=r(44128),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},44291:(t,e,r)=>{"use strict";var n=r(3271),i=r(9739),o=r(17405),a=r(27579),s=r(73247),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[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(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},37961:(t,e,r)=>{"use strict";var n=r(44517),i=r(41838);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},93315:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.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 t;case"`":return u(e,0,r);case"'":return u(e,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}))}},32451:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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")()},74633:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},99295:t=>{"use strict";t.exports={}},14735:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},29227:(t,e,r)=>{"use strict";var n=r(24289);t.exports=n("document","documentElement")},8338:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(82116);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},60586:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(27579),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},23885:(t,e,r)=>{"use strict";var n=r(17405),i=r(87181),o=r(70210);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6273:(t,e,r)=>{"use strict";var n=r(3271),i=r(17405),o=r(19321),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},58157:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(99295),a=r(87181),s=r(74633),u=r(20341).f,l=r(6076),c=r(93982),f=r(39483),d=r(66871),h=r(3369),p=!1,g=d("meta"),y=0,v=function(t){u(t,g,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},p=!0;var t=l.f,e=i([].splice),r={};r[g]=1,t(r).length&&(l.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===g){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,g)){if(!f(t))return"F";if(!e)return"E";v(t)}return t[g].objectID},getWeakData:function(t,e){if(!s(t,g)){if(!f(t))return!0;if(!e)return!1;v(t)}return t[g].weakData},onFreeze:function(t){return h&&p&&f(t)&&!s(t,g)&&v(t),t}};o[g]=!0},69933:(t,e,r)=>{"use strict";var n,i,o,a=r(75237),s=r(32451),u=r(87181),l=r(25298),c=r(74633),f=r(19321),d=r(69683),h=r(99295),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},45812:(t,e,r)=>{"use strict";var n=r(96418),i=r(78230),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},9739:(t,e,r)=>{"use strict";var n=r(27579);t.exports=Array.isArray||function(t){return"Array"===n(t)}},17405:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},74333:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(24230),s=r(24289),u=r(6273),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},25135:(t,e,r)=>{"use strict";var n=r(32479),i=r(17405),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},41838:t=>{"use strict";t.exports=function(t){return null==t}},87181:(t,e,r)=>{"use strict";var n=r(17405);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},26633:(t,e,r)=>{"use strict";var n=r(87181);t.exports=function(t){return n(t)||null===t}},87138:t=>{"use strict";t.exports=!1},53340:(t,e,r)=>{"use strict";var n=r(87181),i=r(27579),o=r(96418)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},76796:(t,e,r)=>{"use strict";var n=r(24289),i=r(17405),o=r(94125),a=r(68429),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},4302:(t,e,r)=>{"use strict";var n=r(69299),i=r(5234),o=r(2955),a=r(22773),s=r(45812),u=r(12154),l=r(94125),c=r(599),f=r(44128),d=r(71635),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,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(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},71635:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(37961);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},13653:(t,e,r)=>{"use strict";var n=r(78607).IteratorPrototype,i=r(25094),o=r(31433),a=r(38565),s=r(78230),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},18434:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(87138),a=r(74251),s=r(17405),u=r(13653),l=r(96666),c=r(70210),f=r(38565),d=r(25298),h=r(67089),p=r(96418),g=r(78230),y=r(78607),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},78607:(t,e,r)=>{"use strict";var n,i,o,a=r(32479),s=r(17405),u=r(87181),l=r(25094),c=r(96666),f=r(67089),d=r(96418),h=r(87138),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 t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},78230:t=>{"use strict";t.exports={}},12154:(t,e,r)=>{"use strict";var n=r(9641);t.exports=function(t){return n(t.length)}},51893:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(74633),s=r(24952),u=r(74251).CONFIGURABLE,l=r(6273),c=r(69933),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},21797:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},8783:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(32451),l=r(3318),c=r(69299),f=r(98743).set,d=r(16986),h=r(3865),p=r(60700),g=r(20874),y=r(55089),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!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=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},21128:(t,e,r)=>{"use strict";var n=r(44517),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},31730:(t,e,r)=>{"use strict";var n=r(53340),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},25094:(t,e,r)=>{"use strict";var n,i=r(2955),o=r(79203),a=r(51410),s=r(99295),u=r(29227),l=r(82116),c=r(69683),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},79203:(t,e,r)=>{"use strict";var n=r(24952),i=r(22916),o=r(20341),a=r(2955),s=r(86658),u=r(32005);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},20341:(t,e,r)=>{"use strict";var n=r(24952),i=r(8338),o=r(22916),a=r(2955),s=r(50514),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},67537:(t,e,r)=>{"use strict";var n=r(24952),i=r(5234),o=r(67109),a=r(31433),s=r(86658),u=r(50514),l=r(74633),c=r(8338),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},93982:(t,e,r)=>{"use strict";var n=r(27579),i=r(86658),o=r(6076).f,a=r(50386),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},6076:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},93188:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},96666:(t,e,r)=>{"use strict";var n=r(74633),i=r(17405),o=r(69271),a=r(69683),s=r(39159),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},39483:(t,e,r)=>{"use strict";var n=r(32479),i=r(87181),o=r(27579),a=r(74585),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!==o(t))&&(!s||s(t)))}:s},94125:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n({}.isPrototypeOf)},67530:(t,e,r)=>{"use strict";var n=r(3271),i=r(74633),o=r(86658),a=r(59140).indexOf,s=r(99295),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},32005:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410);t.exports=Object.keys||function(t){return n(t,i)}},67109:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},70210:(t,e,r)=>{"use strict";var n=r(48891),i=r(87181),o=r(24915),a=r(59747);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),a(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},71447:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(3271),a=r(96666),s=r(32005),u=r(86658),l=o(r(67109).f),c=o([].push),f=n&&i((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){for(var r,i=u(e),o=s(i),d=f&&null===a(i),h=o.length,p=0,g=[];h>p;)r=o[p++],n&&!(d?r in i:l(i,r))||c(g,t?[r,i[r]]:i[r]);return g}};t.exports={entries:d(!0),values:d(!1)}},69267:(t,e,r)=>{"use strict";var n=r(42066),i=r(24230);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},90319:(t,e,r)=>{"use strict";var n=r(5234),i=r(17405),o=r(87181),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},74730:(t,e,r)=>{"use strict";var n=r(24289),i=r(3271),o=r(6076),a=r(93188),s=r(2955),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},70992:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n},62686:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},39508:(t,e,r)=>{"use strict";var n=r(32451),i=r(9967),o=r(17405),a=r(25135),s=r(6273),u=r(96418),l=r(97384),c=r(73529),f=r(87138),d=r(59459),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},9967:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n.Promise},16181:(t,e,r)=>{"use strict";var n=r(2955),i=r(87181),o=r(21128);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},62221:(t,e,r)=>{"use strict";var n=r(9967),i=r(48377),o=r(39508).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},16986:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},74355:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(17405),a=r(27579),s=r(40387),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},40387:(t,e,r)=>{"use strict";var n,i,o=r(5234),a=r(3271),s=r(73247),u=r(32754),l=r(62616),c=r(4999),f=r(25094),d=r(69933).get,h=r(19980),p=r(49932),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=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)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),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}),t.exports=v},32754:(t,e,r)=>{"use strict";var n=r(2955);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},98017:(t,e,r)=>{"use strict";var n=r(5234),i=r(74633),o=r(94125),a=r(32754),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},62616:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},19980:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},49932:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},24915:(t,e,r)=>{"use strict";var n=r(41838),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},3318:(t,e,r)=>{"use strict";var n=r(32451),i=r(24952),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},70928:(t,e,r)=>{"use strict";var n=r(24289),i=r(49839),o=r(96418),a=r(24952),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},38565:(t,e,r)=>{"use strict";var n=r(20341).f,i=r(74633),o=r(96418)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},69683:(t,e,r)=>{"use strict";var n=r(4999),i=r(66871),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},19321:(t,e,r)=>{"use strict";var n=r(87138),i=r(32451),o=r(48213),a=t.exports=i["__core-js_shared__"]||o("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.37.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4999:(t,e,r)=>{"use strict";var n=r(19321);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},58343:(t,e,r)=>{"use strict";var n=r(2955),i=r(67651),o=r(41838),a=r(96418)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},76598:(t,e,r)=>{"use strict";var n=r(3271),i=r(65815),o=r(73247),a=r(24915),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},82834:(t,e,r)=>{"use strict";var n=r(3271),i=r(24915),o=r(73247),a=r(28628),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},41414:(t,e,r)=>{"use strict";var n=r(59459),i=r(32479),o=r(32451).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},77416:(t,e,r)=>{"use strict";var n=r(5234),i=r(24289),o=r(96418),a=r(67089);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},81836:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},98743:(t,e,r)=>{"use strict";var n,i,o,a,s=r(32451),u=r(83483),l=r(69299),c=r(17405),f=r(74633),d=r(32479),h=r(29227),p=r(50386),g=r(82116),y=r(42289),v=r(3865),m=r(55089),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(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="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},37130:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n(1..valueOf)},19710:(t,e,r)=>{"use strict";var n=r(65815),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},86658:(t,e,r)=>{"use strict";var n=r(60586),i=r(24915);t.exports=function(t){return n(i(t))}},65815:(t,e,r)=>{"use strict";var n=r(21797);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9641:(t,e,r)=>{"use strict";var n=r(65815),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},69271:(t,e,r)=>{"use strict";var n=r(24915),i=Object;t.exports=function(t){return i(n(t))}},96492:(t,e,r)=>{"use strict";var n=r(5234),i=r(87181),o=r(76796),a=r(37961),s=r(90319),u=r(96418),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},50514:(t,e,r)=>{"use strict";var n=r(96492),i=r(76796);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},42066:(t,e,r)=>{"use strict";var n={};n[r(96418)("toStringTag")]="z",t.exports="[object z]"===String(n)},73247:(t,e,r)=>{"use strict";var n=r(24230),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},22773:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},66871:(t,e,r)=>{"use strict";var n=r(3271),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},68429:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},22916:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},42289:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},75237:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},82318:(t,e,r)=>{"use strict";var n=r(70992),i=r(74633),o=r(66717),a=r(20341).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},66717:(t,e,r)=>{"use strict";var n=r(96418);e.f=n},96418:(t,e,r)=>{"use strict";var n=r(32451),i=r(4999),o=r(74633),a=r(66871),s=r(41414),u=r(68429),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},28628:t=>{"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},48888:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(9739),a=r(87181),s=r(69271),u=r(12154),l=r(93409),c=r(25508),f=r(63918),d=r(74502),h=r(96418),p=r(59459),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))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}})},2458:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).filter;n({target:"Array",proto:!0,forced:!r(74502)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3925:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).find,o=r(30689),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},17554:(t,e,r)=>{"use strict";var n=r(32162),i=r(59140).includes,o=r(32479),a=r(30689);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},54458:(t,e,r)=>{"use strict";var n=r(86658),i=r(30689),o=r(78230),a=r(69933),s=r(20341).f,u=r(18434),l=r(71620),c=r(87138),f=r(24952),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},65273:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(60586),a=r(86658),s=r(61116),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},72870:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).map;n({target:"Array",proto:!0,forced:!r(74502)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},45872:(t,e,r)=>{"use strict";var n=r(32162),i=r(9739),o=r(74333),a=r(87181),s=r(19710),u=r(12154),l=r(86658),c=r(25508),f=r(96418),d=r(74502),h=r(50386),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,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,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},91756:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(44517),a=r(69271),s=r(12154),u=r(47008),l=r(73247),c=r(32479),f=r(26402),d=r(61116),h=r(6256),p=r(6956),g=r(59459),y=r(18216),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.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 t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){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++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},15796:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(19710),a=r(65815),s=r(12154),u=r(98e3),l=r(93409),c=r(63918),f=r(25508),d=r(47008),h=r(74502)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},4099:(t,e,r)=>{"use strict";var n=r(74633),i=r(67089),o=r(8448),a=r(96418)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},40454:(t,e,r)=>{"use strict";var n=r(24952),i=r(74251).EXISTS,o=r(3271),a=r(49839),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(t){return""}}})},63322:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},17767:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5234),s=r(3271),u=r(32479),l=r(17405),c=r(76796),f=r(50386),d=r(44291),h=r(41414),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},17299:(t,e,r)=>{"use strict";var n=r(32451);r(38565)(n.JSON,"JSON",!0)},69590:(t,e,r)=>{"use strict";r(57902)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},7517:(t,e,r)=>{"use strict";r(69590)},12766:(t,e,r)=>{"use strict";r(38565)(Math,"Math",!0)},75397:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(24952),a=r(32451),s=r(70992),u=r(3271),l=r(25135),c=r(74633),f=r(23885),d=r(94125),h=r(76796),p=r(96492),g=r(32479),y=r(6076).f,v=r(67537).f,m=r(20341).f,b=r(37130),w=r(82834).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(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=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"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(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},93900:(t,e,r)=>{"use strict";var n=r(32162),i=r(41414),o=r(32479),a=r(93188),s=r(69271);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},20539:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(69271),a=r(96666),s=r(39159);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},10373:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(32005);n({target:"Object",stat:!0,forced:r(32479)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},45195:(t,e,r)=>{"use strict";var n=r(42066),i=r(67089),o=r(69267);n||i(Object.prototype,"toString",o,{unsafe:!0})},13090:(t,e,r)=>{"use strict";var n=r(32162),i=r(71447).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},65716:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},79901:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(39508).CONSTRUCTOR,a=r(9967),s=r(24289),u=r(17405),l=r(67089),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},54083:(t,e,r)=>{"use strict";var n,i,o,a=r(32162),s=r(87138),u=r(55089),l=r(32451),c=r(5234),f=r(67089),d=r(70210),h=r(38565),p=r(70928),g=r(44517),y=r(17405),v=r(87181),m=r(21141),b=r(58343),w=r(98743).set,_=r(8783),x=r(14735),S=r(62686),E=r(16986),T=r(69933),k=r(9967),O=r(39508),A=r(21128),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},30695:(t,e,r)=>{"use strict";r(54083),r(65716),r(79901),r(72075),r(49489),r(25548)},72075:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},49489:(t,e,r)=>{"use strict";var n=r(32162),i=r(21128);n({target:"Promise",stat:!0,forced:r(39508).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},25548:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(87138),a=r(9967),s=r(39508).CONSTRUCTOR,u=r(16181),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},80528:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5428),s=r(67651),u=r(2955),l=r(87181),c=r(25094),f=r(32479),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},9081:(t,e,r)=>{"use strict";var n=r(32162),i=r(40387);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},7741:(t,e,r)=>{"use strict";var n=r(74251).PROPER,i=r(67089),o=r(2955),a=r(73247),s=r(32479),u=r(98017),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},9807:(t,e,r)=>{"use strict";r(57902)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},42781:(t,e,r)=>{"use strict";r(9807)},39385:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(31730),a=r(24915),s=r(73247),u=r(33752),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},94825:(t,e,r)=>{"use strict";var n=r(76598).charAt,i=r(73247),o=r(69933),a=r(18434),s=r(71620),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},24601:(t,e,r)=>{"use strict";var n=r(83483),i=r(5234),o=r(3271),a=r(44896),s=r(32479),u=r(2955),l=r(17405),c=r(41838),f=r(65815),d=r(9641),h=r(73247),p=r(24915),g=r(70280),y=r(37961),v=r(93315),m=r(74355),b=r(96418)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},73220:(t,e,r)=>{"use strict";var n,i=r(32162),o=r(21678),a=r(67537).f,s=r(9641),u=r(73247),l=r(31730),c=r(24915),f=r(33752),d=r(87138),h=o("".slice),p=Math.min,g=f("startsWith");i({target:"String",proto:!0,forced:!!(d||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(t){var e=u(c(this));l(t);var r=s(p(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return h(e,r,r+n.length)===n}})},85110:(t,e,r)=>{"use strict";r(82318)("asyncIterator")},10359:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(5234),a=r(3271),s=r(87138),u=r(24952),l=r(41414),c=r(32479),f=r(74633),d=r(94125),h=r(2955),p=r(86658),g=r(50514),y=r(73247),v=r(31433),m=r(25094),b=r(32005),w=r(6076),_=r(93982),x=r(93188),S=r(67537),E=r(20341),T=r(79203),k=r(67109),O=r(67089),A=r(49839),C=r(4999),P=r(69683),j=r(99295),R=r(66871),N=r(96418),I=r(66717),L=r(82318),D=r(77416),M=r(38565),F=r(69933),B=r(80364).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},14223:(t,e,r)=>{"use strict";var n=r(32162),i=r(24952),o=r(32451),a=r(3271),s=r(74633),u=r(17405),l=r(94125),c=r(73247),f=r(49839),d=r(29726),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},51071:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(74633),a=r(73247),s=r(4999),u=r(81836),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},58965:(t,e,r)=>{"use strict";r(82318)("iterator")},49361:(t,e,r)=>{"use strict";r(10359),r(51071),r(57627),r(17767),r(93900)},57627:(t,e,r)=>{"use strict";var n=r(32162),i=r(74633),o=r(76796),a=r(22773),s=r(4999),u=r(81836),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},64120:(t,e,r)=>{"use strict";var n=r(82318),i=r(77416);n("toPrimitive"),i()},67483:(t,e,r)=>{"use strict";var n=r(24289),i=r(82318),o=r(38565);i("toStringTag"),o(n("Symbol"),"Symbol")},74289:(t,e,r)=>{"use strict";r(63322)},83500:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(86348),s=r(25298),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},56270:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(54458),s=r(25298),u=r(38565),l=r(96418)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},10509:(t,e,r)=>{"use strict";var n=r(69985),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},52655:(t,e,r)=>{"use strict";var n=r(19429),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},23550:(t,e,r)=>{"use strict";var n=r(60598),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},87370:(t,e,r)=>{"use strict";var n=r(44201),i=r(25391),o=r(72560).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},71514:(t,e,r)=>{"use strict";var n=r(10730).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},767:(t,e,r)=>{"use strict";var n=r(23622),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},85027:(t,e,r)=>{"use strict";var n=r(48999),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},57612:(t,e,r)=>{"use strict";var n=r(2960).forEach,i=r(16834)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},21055:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(90690),a=r(71228),s=r(93292),u=r(19429),l=r(6310),c=r(76522),f=r(5185),d=r(91664),h=Array;t.exports=function(t){var e=o(t),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 v,m,b,w,_,x,S=d(e),E=0;if(!S||this===h&&s(S))for(v=l(e),m=r?new this(v):h(v);v>E;E++)x=y?g(e[E],E):e[E],c(m,E,x);else for(_=(w=f(e,S)).next,m=r?new this:[];!(b=i(_,w)).done;E++)x=y?a(w,g,[b.value,E],!0):b.value,c(m,E,x);return m.length=E,m}},84328:(t,e,r)=>{"use strict";var n=r(65290),i=r(27578),o=r(6310),a=function(t){return function(e,r,a){var s,u=n(e),l=o(u),c=i(a,l);if(t&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2960:(t,e,r)=>{"use strict";var n=r(54071),i=r(68844),o=r(94413),a=r(90690),s=r(6310),u=r(27120),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.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)}},29042:(t,e,r)=>{"use strict";var n=r(3689),i=r(44201),o=r(3615),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},16834:(t,e,r)=>{"use strict";var n=r(3689);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},5649:(t,e,r)=>{"use strict";var n=r(67697),i=r(92297),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},96004:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n([].slice)},50382:(t,e,r)=>{"use strict";var n=r(96004),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},25271:(t,e,r)=>{"use strict";var n=r(92297),i=r(19429),o=r(48999),a=r(44201)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},27120:(t,e,r)=>{"use strict";var n=r(25271);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},71228:(t,e,r)=>{"use strict";var n=r(85027),i=r(72125);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},86431:(t,e,r)=>{"use strict";var n=r(44201)("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(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},6648:(t,e,r)=>{"use strict";var n=r(68844),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},50926:(t,e,r)=>{"use strict";var n=r(23043),i=r(69985),o=r(6648),a=r(44201)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},8758:(t,e,r)=>{"use strict";var n=r(36812),i=r(19152),o=r(82474),a=r(72560);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},27413:(t,e,r)=>{"use strict";var n=r(44201)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},81748:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},27807:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},75773:(t,e,r)=>{"use strict";var n=r(67697),i=r(72560),o=r(75684);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},75684:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},76522:(t,e,r)=>{"use strict";var n=r(18360),i=r(72560),o=r(75684);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},81797:(t,e,r)=>{"use strict";var n=r(85027),i=r(35899),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},62148:(t,e,r)=>{"use strict";var n=r(98702),i=r(72560);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},11880:(t,e,r)=>{"use strict";var n=r(69985),i=r(72560),o=r(98702),a=r(95014);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},95014:(t,e,r)=>{"use strict";var n=r(19037),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},98494:(t,e,r)=>{"use strict";var n=r(23691),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},67697:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},36420:(t,e,r)=>{"use strict";var n=r(19037),i=r(48999),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},55565:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},66338:t=>{"use strict";t.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}},33265:(t,e,r)=>{"use strict";var n=r(36420)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},97365:(t,e,r)=>{"use strict";var n=r(30071).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},72532:(t,e,r)=>{"use strict";var n=r(88563),i=r(50806);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},88563:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},37298:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/MSIE|Trident/.test(n)},63221:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4764:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},50806:(t,e,r)=>{"use strict";var n=r(19037),i=r(6648);t.exports="process"===i(n.process)},27486:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/web0s(?!.*chrome)/i.test(n)},30071:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(t,e,r)=>{"use strict";var n,i,o=r(19037),a=r(30071),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]),t.exports=i},27922:(t,e,r)=>{"use strict";var n=r(30071).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},72739:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79989:(t,e,r)=>{"use strict";var n=r(19037),i=r(82474).f,o=r(75773),a=r(11880),s=r(95014),u=r(8758),l=r(35266);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},3689:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},65773:(t,e,r)=>{"use strict";r(64043);var n=r(22615),i=r(11880),o=r(56308),a=r(3689),s=r(44201),u=r(75773),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},61735:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},54071:(t,e,r)=>{"use strict";var n=r(46576),i=r(10509),o=r(97215),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},97215:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},86761:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509),o=r(48999),a=r(36812),s=r(96004),u=r(97215),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},22615:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},41236:(t,e,r)=>{"use strict";var n=r(67697),i=r(36812),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},52743:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},46576:(t,e,r)=>{"use strict";var n=r(6648),i=r(68844);t.exports=function(t){if("Function"===n(t))return i(t)}},68844:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},76058:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},91664:(t,e,r)=>{"use strict";var n=r(50926),i=r(54849),o=r(981),a=r(9478),s=r(44201)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},5185:(t,e,r)=>{"use strict";var n=r(22615),i=r(10509),o=r(85027),a=r(23691),s=r(91664),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},92643:(t,e,r)=>{"use strict";var n=r(68844),i=r(92297),o=r(69985),a=r(6648),s=r(34327),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[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(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},54849:(t,e,r)=>{"use strict";var n=r(10509),i=r(981);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},27017:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.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 t;case"`":return u(e,0,r);case"'":return u(e,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}))}},19037:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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")()},36812:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},57248:t=>{"use strict";t.exports={}},20920:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},2688:(t,e,r)=>{"use strict";var n=r(76058);t.exports=n("document","documentElement")},68506:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689),o=r(36420);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},94413:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(6648),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},33457:(t,e,r)=>{"use strict";var n=r(69985),i=r(48999),o=r(49385);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6738:(t,e,r)=>{"use strict";var n=r(68844),i=r(69985),o=r(84091),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},618:(t,e,r)=>{"use strict";var n,i,o,a=r(59834),s=r(19037),u=r(48999),l=r(75773),c=r(36812),f=r(84091),d=r(2713),h=r(57248),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},93292:(t,e,r)=>{"use strict";var n=r(44201),i=r(9478),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},92297:(t,e,r)=>{"use strict";var n=r(6648);t.exports=Array.isArray||function(t){return"Array"===n(t)}},69985:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},19429:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(50926),s=r(76058),u=r(6738),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},76251:(t,e,r)=>{"use strict";var n=r(36812);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},35266:(t,e,r)=>{"use strict";var n=r(3689),i=r(69985),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},981:t=>{"use strict";t.exports=function(t){return null==t}},48999:(t,e,r)=>{"use strict";var n=r(69985);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},60598:(t,e,r)=>{"use strict";var n=r(48999);t.exports=function(t){return n(t)||null===t}},53931:t=>{"use strict";t.exports=!1},91245:(t,e,r)=>{"use strict";var n=r(48999),i=r(6648),o=r(44201)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},30734:(t,e,r)=>{"use strict";var n=r(76058),i=r(69985),o=r(23622),a=r(39525),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},18734:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(85027),a=r(23691),s=r(93292),u=r(6310),l=r(23622),c=r(5185),f=r(91664),d=r(72125),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,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(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},72125:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(54849);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},30974:(t,e,r)=>{"use strict";var n=r(12013).IteratorPrototype,i=r(25391),o=r(75684),a=r(55997),s=r(9478),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},91934:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(53931),a=r(41236),s=r(69985),u=r(30974),l=r(61868),c=r(49385),f=r(55997),d=r(75773),h=r(11880),p=r(44201),g=r(9478),y=r(12013),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},12013:(t,e,r)=>{"use strict";var n,i,o,a=r(3689),s=r(69985),u=r(48999),l=r(25391),c=r(61868),f=r(11880),d=r(44201),h=r(53931),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 t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},9478:t=>{"use strict";t.exports={}},6310:(t,e,r)=>{"use strict";var n=r(43126);t.exports=function(t){return n(t.length)}},98702:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(36812),s=r(67697),u=r(41236).CONFIGURABLE,l=r(6738),c=r(618),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},58828:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},80231:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(19037),l=r(70517),c=r(54071),f=r(99886).set,d=r(34410),h=r(4764),p=r(63221),g=r(27486),y=r(50806),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!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=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},48742:(t,e,r)=>{"use strict";var n=r(10509),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},42124:(t,e,r)=>{"use strict";var n=r(91245),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},45394:(t,e,r)=>{"use strict";var n=r(67697),i=r(68844),o=r(22615),a=r(3689),s=r(20300),u=r(7518),l=r(49556),c=r(90690),f=r(94413),d=Object.assign,h=Object.defineProperty,p=i([].concat);t.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 t={},e={},r=Symbol("assign detection");return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||"abcdefghijklmnopqrst"!==s(d({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),v=d?p(s(y),d(y)):s(y),m=v.length,b=0;m>b;)g=v[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},25391:(t,e,r)=>{"use strict";var n,i=r(85027),o=r(98920),a=r(72739),s=r(57248),u=r(2688),l=r(36420),c=r(2713),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},98920:(t,e,r)=>{"use strict";var n=r(67697),i=r(15648),o=r(72560),a=r(85027),s=r(65290),u=r(20300);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},72560:(t,e,r)=>{"use strict";var n=r(67697),i=r(68506),o=r(15648),a=r(85027),s=r(18360),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},82474:(t,e,r)=>{"use strict";var n=r(67697),i=r(22615),o=r(49556),a=r(75684),s=r(65290),u=r(18360),l=r(36812),c=r(68506),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},26062:(t,e,r)=>{"use strict";var n=r(6648),i=r(65290),o=r(72741).f,a=r(96004),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},72741:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},7518:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},61868:(t,e,r)=>{"use strict";var n=r(36812),i=r(69985),o=r(90690),a=r(2713),s=r(81748),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},23622:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n({}.isPrototypeOf)},54948:(t,e,r)=>{"use strict";var n=r(68844),i=r(36812),o=r(65290),a=r(84328).indexOf,s=r(57248),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},20300:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739);t.exports=Object.keys||function(t){return n(t,i)}},49556:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},49385:(t,e,r)=>{"use strict";var n=r(52743),i=r(85027),o=r(23550);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},65073:(t,e,r)=>{"use strict";var n=r(23043),i=r(50926);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},35899:(t,e,r)=>{"use strict";var n=r(22615),i=r(69985),o=r(48999),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},19152:(t,e,r)=>{"use strict";var n=r(76058),i=r(68844),o=r(72741),a=r(7518),s=r(85027),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},50496:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n},9302:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},87073:(t,e,r)=>{"use strict";var n=r(19037),i=r(17919),o=r(69985),a=r(35266),s=r(6738),u=r(44201),l=r(72532),c=r(88563),f=r(53931),d=r(3615),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},17919:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n.Promise},72945:(t,e,r)=>{"use strict";var n=r(85027),i=r(48999),o=r(48742);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},562:(t,e,r)=>{"use strict";var n=r(17919),i=r(86431),o=r(87073).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},38055:(t,e,r)=>{"use strict";var n=r(72560).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},34410:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},66100:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(69985),a=r(6648),s=r(56308),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},56308:(t,e,r)=>{"use strict";var n,i,o=r(22615),a=r(68844),s=r(34327),u=r(69633),l=r(87901),c=r(83430),f=r(25391),d=r(618).get,h=r(62100),p=r(26738),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=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)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),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}),t.exports=v},69633:(t,e,r)=>{"use strict";var n=r(85027);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},63477:(t,e,r)=>{"use strict";var n=r(22615),i=r(36812),o=r(23622),a=r(69633),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},87901:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},62100:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},26738:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},74684:(t,e,r)=>{"use strict";var n=r(981),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},70517:(t,e,r)=>{"use strict";var n=r(19037),i=r(67697),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},14241:(t,e,r)=>{"use strict";var n=r(76058),i=r(62148),o=r(44201),a=r(67697),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},55997:(t,e,r)=>{"use strict";var n=r(72560).f,i=r(36812),o=r(44201)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},2713:(t,e,r)=>{"use strict";var n=r(83430),i=r(14630),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},84091:(t,e,r)=>{"use strict";var n=r(19037),i=r(95014),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},83430:(t,e,r)=>{"use strict";var n=r(53931),i=r(84091);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},76373:(t,e,r)=>{"use strict";var n=r(85027),i=r(52655),o=r(981),a=r(44201)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},10730:(t,e,r)=>{"use strict";var n=r(68844),i=r(68700),o=r(34327),a=r(74684),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},75984:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(3689),o=r(86350);t.exports=function(t){return i((function(){return!!o[t]()||"
"!=="
"[t]()||n&&o[t].name!==t}))}},61435:(t,e,r)=>{"use strict";var n=r(68844),i=r(74684),o=r(34327),a=r(86350),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},50146:(t,e,r)=>{"use strict";var n=r(3615),i=r(3689),o=r(19037).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},13032:(t,e,r)=>{"use strict";var n=r(22615),i=r(76058),o=r(44201),a=r(11880);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},46549:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},99886:(t,e,r)=>{"use strict";var n,i,o,a,s=r(19037),u=r(61735),l=r(54071),c=r(69985),f=r(36812),d=r(3689),h=r(2688),p=r(96004),g=r(36420),y=r(21500),v=r(4764),m=r(50806),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(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="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},23648:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n(1..valueOf)},27578:(t,e,r)=>{"use strict";var n=r(68700),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},65290:(t,e,r)=>{"use strict";var n=r(94413),i=r(74684);t.exports=function(t){return n(i(t))}},68700:(t,e,r)=>{"use strict";var n=r(58828);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},43126:(t,e,r)=>{"use strict";var n=r(68700),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},90690:(t,e,r)=>{"use strict";var n=r(74684),i=Object;t.exports=function(t){return i(n(t))}},88732:(t,e,r)=>{"use strict";var n=r(22615),i=r(48999),o=r(30734),a=r(54849),s=r(35899),u=r(44201),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},18360:(t,e,r)=>{"use strict";var n=r(88732),i=r(30734);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},23043:(t,e,r)=>{"use strict";var n={};n[r(44201)("toStringTag")]="z",t.exports="[object z]"===String(n)},34327:(t,e,r)=>{"use strict";var n=r(50926),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},23691:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},14630:(t,e,r)=>{"use strict";var n=r(68844),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},39525:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15648:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},21500:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},59834:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},35405:(t,e,r)=>{"use strict";var n=r(50496),i=r(36812),o=r(96145),a=r(72560).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},96145:(t,e,r)=>{"use strict";var n=r(44201);e.f=n},44201:(t,e,r)=>{"use strict";var n=r(19037),i=r(83430),o=r(36812),a=r(14630),s=r(50146),u=r(39525),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},86350:t=>{"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},34338:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(92297),a=r(48999),s=r(90690),u=r(6310),l=r(55565),c=r(76522),f=r(27120),d=r(29042),h=r(44201),p=r(3615),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))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}})},38077:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).filter;n({target:"Array",proto:!0,forced:!r(29042)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},25728:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).find,o=r(87370),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},77049:(t,e,r)=>{"use strict";var n=r(79989),i=r(21055);n({target:"Array",stat:!0,forced:!r(86431)((function(t){Array.from(t)}))},{from:i})},76801:(t,e,r)=>{"use strict";var n=r(79989),i=r(84328).includes,o=r(3689),a=r(87370);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},752:(t,e,r)=>{"use strict";var n=r(65290),i=r(87370),o=r(9478),a=r(618),s=r(72560).f,u=r(91934),l=r(27807),c=r(53931),f=r(67697),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},6203:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(94413),a=r(65290),s=r(16834),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},50886:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).map;n({target:"Array",proto:!0,forced:!r(29042)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},89730:(t,e,r)=>{"use strict";var n=r(79989),i=r(92297),o=r(19429),a=r(48999),s=r(27578),u=r(6310),l=r(65290),c=r(76522),f=r(44201),d=r(29042),h=r(96004),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,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,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},65137:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(10509),a=r(90690),s=r(6310),u=r(98494),l=r(34327),c=r(3689),f=r(50382),d=r(16834),h=r(97365),p=r(37298),g=r(3615),y=r(27922),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.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 t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){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++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},62506:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(27578),a=r(68700),s=r(6310),u=r(5649),l=r(55565),c=r(27120),f=r(76522),d=r(98494),h=r(29042)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},59903:(t,e,r)=>{"use strict";var n=r(36812),i=r(11880),o=r(81797),a=r(44201)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},34284:(t,e,r)=>{"use strict";var n=r(67697),i=r(41236).EXISTS,o=r(68844),a=r(62148),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(t){return""}}})},48324:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(22615),s=r(68844),u=r(3689),l=r(69985),c=r(30734),f=r(96004),d=r(92643),h=r(50146),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},7629:(t,e,r)=>{"use strict";var n=r(19037);r(55997)(n.JSON,"JSON",!0)},77509:(t,e,r)=>{"use strict";r(55997)(Math,"Math",!0)},79288:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(67697),a=r(19037),s=r(50496),u=r(68844),l=r(35266),c=r(36812),f=r(33457),d=r(23622),h=r(30734),p=r(88732),g=r(3689),y=r(72741).f,v=r(82474).f,m=r(72560).f,b=r(23648),w=r(61435).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(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=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"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(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},60429:(t,e,r)=>{"use strict";var n=r(79989),i=r(45394);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},81919:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(65290),a=r(82474).f,s=r(67697);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},79434:(t,e,r)=>{"use strict";var n=r(79989),i=r(50146),o=r(3689),a=r(7518),s=r(90690);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},88052:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(90690),a=r(61868),s=r(81748);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},69358:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(20300);n({target:"Object",stat:!0,forced:r(3689)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},60228:(t,e,r)=>{"use strict";var n=r(23043),i=r(11880),o=r(65073);n||i(Object.prototype,"toString",o,{unsafe:!0})},81692:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},75089:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(87073).CONSTRUCTOR,a=r(17919),s=r(76058),u=r(69985),l=r(11880),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},56697:(t,e,r)=>{"use strict";var n,i,o,a=r(79989),s=r(53931),u=r(50806),l=r(19037),c=r(22615),f=r(11880),d=r(49385),h=r(55997),p=r(14241),g=r(10509),y=r(69985),v=r(48999),m=r(767),b=r(76373),w=r(99886).set,_=r(80231),x=r(20920),S=r(9302),E=r(34410),T=r(618),k=r(17919),O=r(87073),A=r(48742),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},73964:(t,e,r)=>{"use strict";r(56697),r(81692),r(75089),r(58829),r(42092),r(57905)},58829:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},42092:(t,e,r)=>{"use strict";var n=r(79989),i=r(48742);n({target:"Promise",stat:!0,forced:r(87073).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},57905:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(53931),a=r(17919),s=r(87073).CONSTRUCTOR,u=r(72945),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},30050:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(86761),s=r(52655),u=r(85027),l=r(48999),c=r(25391),f=r(3689),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},32349:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(48999),a=r(85027),s=r(76251),u=r(82474),l=r(61868);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,c,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(e))?t(c,r,f):void 0}})},52003:(t,e,r)=>{"use strict";var n=r(67697),i=r(19037),o=r(68844),a=r(35266),s=r(33457),u=r(75773),l=r(25391),c=r(72741).f,f=r(23622),d=r(91245),h=r(34327),p=r(63477),g=r(87901),y=r(38055),v=r(11880),m=r(3689),b=r(36812),w=r(618).enforce,_=r(14241),x=r(44201),S=r(62100),E=r(26738),T=x("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),P=o("".charAt),j=o("".replace),R=o("".indexOf),N=o("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,D=/a/g,M=new k(L)!==L,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,V=n&&(!M||F||S||E||m((function(){return D[T]=!1,k(L)!==L||k(D)===D||"/a/i"!==String(k(L,"i"))})));if(a("RegExp",V)){for(var U=function(t,e){var r,n,i,o,a,c,g=f(O,this),y=d(t),v=void 0===e,m=[],_=t;if(!g&&y&&v&&t.constructor===U)return t;if((y||f(O,t))&&(t=t.source,v&&(e=p(_))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),_=t,S&&"dotAll"in L&&(n=!!e&&R(e,"s")>-1)&&(e=j(e,/s/g,"")),r=e,F&&"sticky"in L&&(i=!!e&&R(e,"y")>-1)&&B&&(e=j(e,/y/g,"")),E&&(t=(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(e=P(t,n)))e+=P(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:C(I,N(t,n+1))&&(n+=2,u=!0),i+=e,c++;continue;case">"===e&&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+=e:i+=e}return[i,o]}(t))[0],m=o[1]),a=s(k(t,e),g?this:O,U),(n||i||m.length)&&(c=w(a),n&&(c.dotAll=!0,c.raw=U(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=P(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+P(t,++n);return i}(t),r)),i&&(c.sticky=!0),m.length&&(c.groups=m)),t!==_)try{u(a,"source",""===_?"(?:)":_)}catch(t){}return a},W=c(k),H=0;W.length>H;)y(U,k,W[H++]);O.constructor=U,U.prototype=O,v(i,"RegExp",U,{constructor:!0})}_("RegExp")},64043:(t,e,r)=>{"use strict";var n=r(79989),i=r(56308);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},12826:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(11880),o=r(85027),a=r(34327),s=r(3689),u=r(63477),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},43843:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(42124),a=r(74684),s=r(34327),u=r(27413),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},21694:(t,e,r)=>{"use strict";var n=r(10730).charAt,i=r(34327),o=r(618),a=r(91934),s=r(27807),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},22462:(t,e,r)=>{"use strict";var n=r(22615),i=r(65773),o=r(85027),a=r(981),s=r(43126),u=r(34327),l=r(74684),c=r(54849),f=r(71514),d=r(66100);i("match",(function(t,e,r){return[function(e){var r=l(this),i=a(e)?void 0:c(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=o(this),i=u(t),a=r(e,n,i);if(a.done)return a.value;if(!n.global)return d(n,i);var l=n.unicode;n.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(n,i));){var g=u(c[0]);h[p]=g,""===g&&(n.lastIndex=f(i,s(n.lastIndex),l)),p++}return 0===p?null:h}]}))},57267:(t,e,r)=>{"use strict";var n=r(61735),i=r(22615),o=r(68844),a=r(65773),s=r(3689),u=r(85027),l=r(69985),c=r(981),f=r(68700),d=r(43126),h=r(34327),p=r(74684),g=r(71514),y=r(54849),v=r(27017),m=r(66100),b=r(44201)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},28436:(t,e,r)=>{"use strict";var n=r(79989),i=r(61435).trim;n({target:"String",proto:!0,forced:r(75984)("trim")},{trim:function(){return i(this)}})},58373:(t,e,r)=>{"use strict";r(35405)("asyncIterator")},37855:(t,e,r)=>{"use strict";var n=r(79989),i=r(19037),o=r(22615),a=r(68844),s=r(53931),u=r(67697),l=r(50146),c=r(3689),f=r(36812),d=r(23622),h=r(85027),p=r(65290),g=r(18360),y=r(34327),v=r(75684),m=r(25391),b=r(20300),w=r(72741),_=r(26062),x=r(7518),S=r(82474),E=r(72560),T=r(98920),k=r(49556),O=r(11880),A=r(62148),C=r(83430),P=r(2713),j=r(57248),R=r(14630),N=r(44201),I=r(96145),L=r(35405),D=r(13032),M=r(55997),F=r(618),B=r(2960).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},86544:(t,e,r)=>{"use strict";var n=r(79989),i=r(67697),o=r(19037),a=r(68844),s=r(36812),u=r(69985),l=r(23622),c=r(34327),f=r(62148),d=r(8758),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},43975:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(36812),a=r(34327),s=r(83430),u=r(46549),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},84254:(t,e,r)=>{"use strict";r(35405)("iterator")},59749:(t,e,r)=>{"use strict";r(37855),r(43975),r(81445),r(48324),r(79434)},81445:(t,e,r)=>{"use strict";var n=r(79989),i=r(36812),o=r(30734),a=r(23691),s=r(83430),u=r(46549),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},69373:(t,e,r)=>{"use strict";var n=r(35405),i=r(13032);n("toPrimitive"),i()},66793:(t,e,r)=>{"use strict";var n=r(76058),i=r(35405),o=r(55997);i("toStringTag"),o(n("Symbol"),"Symbol")},47522:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(57612),s=r(75773),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},76265:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(752),s=r(75773),u=r(55997),l=r(44201)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.b=document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Yu,Presenter:()=>Ja,bundleLoader:()=>Ku,engine:()=>ka,renderingContext:()=>ti,system:()=>Un,utils:()=>Bn,validate:()=>Ma});r(60228),r(47522),r(62506),r(38077),r(59749),r(86544),r(84254),r(752),r(21694),r(76265),r(25728),r(69358),r(50886),r(76801),r(43843),r(69373),r(59903),r(79288),r(74289),r(48888),r(3925),r(45195),r(10373),r(83500),r(49361),r(14223),r(58965),r(54458),r(94825),r(56270);function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var e=globalThis.__rdfjson_namespaces,i=0,o=function(t,r,n){return e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:"".concat(t,":").concat(n)}},a=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));if(r)return o(r,e[r],t.substring(e[r].length));var n=t.lastIndexOf("/"),a=t.lastIndexOf("#");return a>n&&(n=a),o("ns".concat(i+=1),t.substring(0,n+1),t.substring(n+1))};const u=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));return r?o(r,e[r],t.substring(e[r].length)).pretty:t},l=function(t){return a(t).pretty},c=function(t){var r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},f=function(r,n){"string"==typeof r?e[r]=n:"object"===t(r)&&Object.keys(r).forEach((function(t){e[t]=r[t]}))};r(85110),r(67483),r(17299),r(12766),r(20539),r(40454),r(45872),r(30695),r(72870),r(2458),r(13090),r(64120),r(4099),r(75397),r(7741),r(15796),r(42781);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=function(t){return void 0!==t&&(null===t||"object"===d(t)||Array.isArray(t)||"function"==typeof t)},p=function(t){return"string"==typeof t||t instanceof String},g=function(t,e,r){0===t[e][r].length&&(delete t[e][r],0===Object.keys(t[e]).length&&delete t[e])},y=function(t){if(!h(t[0]))throw new Error("Graph is not a object.");if(!p(t[1]))throw new Error("Subject is not a string.");if(!p(t[2]))throw new Error("Predicate is not a string.");if(!h(t[3]))throw new Error("Object is not a object.");if(void 0===t[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===t[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},v=function(t,e){return t===e||null==t&&t===e||(p(t)?p(e)?t===e:t===e.value:p(e)?t.value===e:t.type===e.type&&t.value===e.value&&t.lang===e.lang&&t.datatype===e.datatype)},m=function(t){var e={type:t.type,value:t.value};return null!=t.ng&&(e.ng=t.ng),null!=t.lang&&(e.lang=t.lang),null!=t.datatype&&(e.datatype=t.datatype),e},b=function(t){return"".concat(t.value).concat(t.type).concat(t.lang||"").concat(t.datatype||"").concat(t.ng||"")};const w={isObject:h,isString:p,isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},statementEquals:function(t,e){return t.s===e.s&&t.p===e.p&&v(t.o,e.o)},add:function(t,e,r,n,i){if(y([t,e,r,n]),void 0===t[e])return t[e]={},t[e][r]=[n],n;if(void 0===t[e][r])return t[e][r]=[n],n;var o,a=t[e][r];if(!i)for(o=a.length-1;o>=0;o--)if(v(n,a[o]))return a[o];return a.push(n),n},remove:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i])){var a=o[i];return o.splice(i,1),g(t,e,r),a}}},contains:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i]))return o[i]}},cleanup:g,checkForWrongArgs:y,objectEquals:v,findDirectOrRDFValue:function(t,e,r){var n=t.find(e,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():t.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={};return Object.keys(t).forEach((function(n){var i=t[n];r[n]={},Object.keys(i).forEach((function(t){var o=i[t];if(1===o.length)r[n][t]=[m(o[0])];else if(e){var a=[],s=new Set;r[n][t]=a,i[t].forEach((function(t){var e=m(t),r=b(e);s.has(r)||(s.add(r),a.push(e))}))}else{var u=[];r[n][t]=u,i[t].forEach((function(t){u.push(m(t))}))}}))})),r}};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S(n.key),n)}}function S(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:String(e)}var E=function(){function t(e,r,n,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._graph=e,this._s=r,this._p=n,this._o=i,this._o._statement=this,this._asserted=o}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t!==this._asserted&&(t?this._graph.add(this,void 0,void 0,this._silentValue,e):this._graph.remove(this,this._silentValue),this._asserted=t)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._s=e,this._graph.add(this),delete this._sIsBlank):this._s=e}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._p=e,this._graph.add(this)):this._p=e}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(t){this._o.ng=t}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var t=this._o,e={value:t.value,type:t.type};return this._o.ng&&(e.ng=t.ng),t.lang&&(e.lang=t.lang),this._o.datatype&&(e.datatype=t.datatype),e}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(t){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===e,t!==this._o.value&&(this._o.value=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==t&&(this._o.lang=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(t,e){if(this._silentValue=!0===e,"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!==t&&(this._o.datatype=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}}])&&x(e.prototype,r),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=(r(91756),r(65273),r(2568));const k=function(t,e){var r=[],n=new Set((e||[]).map((function(t){return c(t)}))),i=[],o={},a=function(t){var e=t.getValue();t.getLanguage()&&(e+="@".concat(t.getLanguage()));var r=t.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(e+="^^".concat(r)),e},s=function(t,e){var r=o[t]||{rels:[]};o[t]=r,r.rels.push(e)};return t.find().forEach((function(t){var e=t.getSubject(),o=t.getPredicate();if(!n.has(o)){var u="bnode"===t.getType(),l=t.isSubjectBlank();if(l||u)return i.push(t),l&&s(t.getSubject(),u?o:o+a(t)),void("bnode"===t.getType()&&s(t.getValue(),l?o:e+o));r.push(e+o+a(t))}})),Object.values(o).forEach((function(t){t.rels.sort(),t.hash=T(t.rels.join(""))})),i.forEach((function(t){var e=[];e.push(t.isSubjectBlank()?o[t.getSubject()].hash:t.getSubject()),e.push(t.getPredicate()),e.push("bnode"===t.getType()?o[t.getValue()].hash:a(t)),r.push(e.join(""))})),r.sort(),T(r.join(""))};class O{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}O.prototype.termType="BlankNode";const A=O;class C{equals(t){return!!t&&t.termType===this.termType}}C.prototype.termType="DefaultGraph",C.prototype.value="";const P=C;const j=function(t,e){if(!e)return null;if("BlankNode"===e.termType)return t.blankNode(e.value);if("DefaultGraph"===e.termType)return t.defaultGraph();if("Literal"===e.termType)return t.literal(e.value,e.language||t.namedNode(e.datatype.value));if("NamedNode"===e.termType)return t.namedNode(e.value);if("Quad"===e.termType){const r=t.fromTerm(e.subject),n=t.fromTerm(e.predicate),i=t.fromTerm(e.object),o=t.fromTerm(e.graph);return t.quad(r,n,i,o)}if("Variable"===e.termType)return t.variable(e.value);throw new Error("unknown termType "+e.termType)};class R{constructor(t,e,r){this.value=t,this.language=e,this.datatype=r}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value&&t.language===this.language&&t.datatype.equals(this.datatype)}}R.prototype.termType="Literal";const N=R;class I{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}I.prototype.termType="NamedNode";const L=I;class D{constructor(t,e,r,n){this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}}D.prototype.termType="Quad",D.prototype.value="";const M=D;class F{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}F.prototype.termType="Variable";const B=F,V=new L("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),U=new L("http://www.w3.org/2001/XMLSchema#string");class W{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new P}}namedNode(t){return new L(t)}blankNode(t){return t=t||"b"+ ++this._data.blankNodeCounter,new A(t)}literal(t,e){return"string"==typeof e?new N(t,e,V):new N(t,"",e||U)}variable(t){return new B(t)}defaultGraph(){return this._data.defaultGraph}quad(t,e,r,n=this.defaultGraph()){return new M(t,e,r,n)}fromTerm(t){return j(this,t)}fromQuad(t){return j(this,t)}}W.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const H=new W;var Y=function(t){return 0===t.indexOf("_:")?t.substring(2):t},G=function(t){return t.find().map((function(t){var e=t.getSubject(),r=t.getPredicate(),n=function(t){if(t.value)switch(t.type){case"literal":if(t.lang)return H.literal(t.value,t.lang);if(t.datatype){var e=H.namedNode(t.datatype);return H.literal(t.value,e)}return H.literal(t.value);case"uri":return H.namedNode(t.value);case"blank":return H.blankNode(Y(t.value))}}(t.getObject()),i=t.getNamedGraph()?H.namedNode(t.getNamedGraph()):void 0;return H.quad(t.isSubjectBlank()?H.blankNode(Y(e)):H.namedNode(e),H.namedNode(r),n,i)}))},$=function(t){return 0===t.indexOf("_:")?t:"_:".concat(t)},q=function(t,e){var r=e||new Graph,n=function(t){var e=function(t){switch(t.termType){case"NamedNode":return{value:t.value,type:"uri"};case"BlankNode":return{value:$(t.value),type:"bnode"};case"Literal":return t.language?{value:t.value,type:"literal",lang:t.language}:t.datatype?{value:t.value,type:"literal",datatype:t.datatype.value}:{value:t.value,type:"literal"}}}(t.object||t._object);return"DefaultGraph"!==t.graph.termType&&(e.ng=t.graph.value),e};t.forEach((function(t){r.add("BlankNode"===t.subject.termType?$(t.subject.value):t.subject.value,"BlankNode"===t.predicate.termType?$(t.predicate.value):t.predicate.value,n(t))}))};function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}function Z(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:String(e)}var J=function(t){return 0===t.length?t:[t[0]]},K=function t(e,r,n){return{object:function(i){for(var o=0;o<r.length;o++){var a=void 0;if(n)a=r[o].getSubject();else{var s=r[o].getType();if("uri"===s||"bnode"===s)continue;a=r[o].getValue()}var u=e.find(a,i);u.length>0&&t(e,[u[0]])}return t(e,[])},objects:function(i){var o,a=[];if(!0===n)for(o=0;o<r.length;o++)a=a.concat(e.find(r[o].getSubject(),i));else for(o=0;o<r.length;o++){var s=r[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(e.find(r[o].getValue(),i)))}return t(e,a)},constr:function(i,o){var a=o;w.isString(a)&&(a={type:"uri",value:a});for(var s=[],u=0;u<r.length;u++){var l=n?r[u].getSubject():r[u].getValue();e.find(l,i,a).length>0&&s.push(r[u])}return t(e,s,n)},each:function(i,o){if(!0===n)for(var a=0;a<r.length;a++){var s="_:"===r[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||i(t(e,r[a],n))}else for(var u=0;u<r.length;u++)i(t(e,r[u],n))},statements:function(){return r},nodes:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push({type:o,value:r[i].getSubject()})}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getObject());return e},values:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push(r[i].getSubject())}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getValue());return e},firstValue:function(t){if(!0===n)for(var e=0;e<r.length;e++){var i="_:"===r[e].getSubject().substring(0,2)?"bnode":"uri";if(null==t||t===i)return r[e].getSubject()}else for(var o=0;o<r.length;o++)if(null==t||t===r[o].getType())return r[o].getValue()}}},tt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;X(this,t),this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==r&&this.validate(),this._changed=!1}var e,r,n;return e=t,(r=[{key:"addQuads",value:function(t){return q(t,this),this}},{key:"toQuads",value:function(){return G(this)}},{key:"isEmpty",value:function(){var t=this;return!Object.keys(this._graph).find((function(e){var r=t._graph[e];return Object.keys(r).find((function(t){return r[t].find((function(t){return null==t._statement||t._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(t){this._changed=!(!0!==t&&null!=t),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(t,e){for(var r,n={},i=t.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();e&&(l.ng=e),0===s.indexOf("_:")&&(r=n[s]||this._newBNode(),n[s]=r,s=r),0===u.indexOf("_:")&&(r=n[u]||this._newBNode(),n[u]=r,u=r),"bnode"===l.type&&(r=n[l.value]||this._newBNode(),n[l.value]=r,l.value=r),this.add(s,u,l)}}},{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(t instanceof E){var o=t.getPredicate(),a=t.getObject(),s=t.getSubject();this._trackBNodes(s,o,a);var u=this._graphObject(a),l=w.add(this._graph,s,o,u,i);return!0!==n&&this.setChanged(),this._get(s,o,l,!0)}return this.create(t,e,r,!0,n,i)}},{key:"addL",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(t,e,i,!0)}},{key:"addD",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=c(n)),this.create(t,e,i,!0)}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t,s=e,u=r;if(a=null==a?this._newBNode():c(a),s=null==s?this._newBNode():c(s),null==u?u={type:"bnode",value:this._newBNode()}:w.isString(u)?u={type:"uri",value:c(u)}:"object"!==z(u)||Array.isArray(u)?u={type:"uri",value:"".concat(u)}:("uri"===(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng}).type&&null!=u.value&&(u.value=c(u.value)),u.datatype&&(u.datatype=c(u.datatype))),!1!==n){var l=w.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,l,!0)}return new E(this,a,s,u,!1)}},{key:"findAndRemove",value:function(t,e,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(t,e,r),o=0;o<i.length;o++)this.remove(i[o],n)}},{key:"remove",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.getSubject(),n=t.getPredicate(),i=t.getObject();this._trackBNodes(r,n,i),null!=w.remove(this._graph,r,n,i)&&!0!==e&&this.setChanged()}},{key:"find",value:function(t,e,r){var n=t,i=e,o=r;if("string"==typeof n&&(n=c(n)),"string"==typeof i&&(i=c(i)),"object"===z(o)&&null!==o&&"uri"===o.type?o.value=c(o.value):"string"==typeof o&&(o={type:"uri",value:c(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);var a=this._get(n,i,w.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}},{key:"findFirstValue",value:function(t,e){var r=this.find(t,e);if(r.length>0)return r[0].getValue()}},{key:"projection",value:function(t,e,r){var n=this,i={};return Object.keys(e).forEach((function(o){var a=e[o],s=Array.isArray(a)?n.findPath(t,a):n.find(t,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(t){return t.getValue()})):i[o]=s[0].getValue(),r||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(t){return t.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(t){return t.getValue()}))}})),i}},{key:"subjects",value:function(t,e){return K(this,this.find(null,t,e),!0)}},{key:"subject",value:function(t,e){return K(this,J(this.find(null,t,e)),!0)}},{key:"objects",value:function(t,e){return K(this,this.find(t,e,null))}},{key:"object",value:function(t,e){return K(this,J(this.find(t,e,null)))}},{key:"findPath",value:function(t,e){return e.slice(1).reduce((function(t,e){return t.objects(e)}),this.objects(t,e[0])).statements()}},{key:"addList",value:function(t){return this._addList(t,"add")}},{key:"addListL",value:function(t,e){return this._addList(t,"addL",e)}},{key:"addListD",value:function(t,e){return this._addList(t,"addD",e)}},{key:"_addList",value:function(t,e,r){var n,i=this;if(Array.isArray(t)&&0!==t.length){var o=n=this._newBNode(),a=t.length-1;t.forEach((function(t,n){i[e](o,"rdf:first",t,r),n!==a?o=i.add(o,"rdf:rest").getValue():i.add(o,"rdf:rest","rdf:nil")}))}else n=c("rdf:nil");return n}},{key:"removeList",value:function(t){var e=!1,r="object"===z(t)?t.value:t;try{var n=c("rdf:nil");for(e=r===n;r!==n&&null!=r;){var i=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),e=null!=(r=i)}}catch(t){return console.warn("Invalid list for object: ".concat(r)),!1}return e}},{key:"getList",value:function(t){var e="object"===z(t)?t.value:c(t),r=[];try{for(var n=c("rdf:nil");e!==n&&null!=e;)r.push(this.find(e,"rdf:first")[0].getObject()),e=this.findFirstValue(e,"rdf:rest")}catch(t){console.warn("Invalid list for object: ".concat(e))}return r}},{key:"findFirstListAsValues",value:function(t,e){return this.getList(this.findFirstValue(t,e)).map((function(t){return t.value}))}},{key:"findAndRemoveLists",value:function(t,e){var r=this,n=!1;return this.find(t,e).forEach((function(t){r.removeList(t.getValue())&&(r.remove(t),n=!0)})),n}},{key:"exportRDFJSON",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,w.clone(this._graph,t)}},{key:"replaceSubject",value:function(t,e){return this.replaceURI(t,e)}},{key:"replaceURI",value:function(t,e){var r=this._graph;if(r.hasOwnProperty(t)){if(r.hasOwnProperty(e))throw new Error("Cannot replace subject with target URI since it already exists.");r[e]=r[t],delete r[t]}return this.forEach((function(r,n,i){"uri"===i.type&&i.value===t&&(i.value=e),r===e&&i._statement&&(i._statement._s=e)})),this}},{key:"replaceBlankWithURI",value:function(t,e,r){var n=this._graph;if(n.hasOwnProperty(t)){if(n.hasOwnProperty(e)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");var i=n[e],o=n[t];Object.keys(o).forEach((function(t){if(i.hasOwnProperty(t)){var e=i[t],r=o[t].filter((function(t){return!e.find((function(e){return w.objectEquals(e,t)}))}));i[t]=e.concat(r)}else i[t]=o[t]})),delete n[t]}else n[e]=n[t],delete n[t];this.forEach((function(r,n,i){"bnode"===i.type&&i.value===t&&(i.value=e,i.type="uri"),r===e&&i._statement&&(i._statement._s=e)}))}return delete this._bnodes[t],this}},{key:"clone",value:function(){return new t(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(t){return Object.keys(this._graph[t]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(t){this._bnodes[t]=!0}},{key:"forEach",value:function(t){var e=this._graph;Object.keys(e).forEach((function(r){var n=e[r];Object.keys(n).forEach((function(e){n[e].forEach((function(n){t(r,e,n)}))}))}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"equals",value:function(t,e){return k(this,e)===k(t,e)}},{key:"size",value:function(){var t=0;return Object.values(this._graph).forEach((function(e){Object.values(e).forEach((function(e){t+=e.length}))})),t}},{key:"_get",value:function(t,e,r,n){if(null!=r)return this._getOrCreate(t,e,r,n)}},{key:"_getOrCreate",value:function(t,e,r,n){return null==r._statement&&(r._statement=new E(this,t,e,r,n)),r._statement}},{key:"_graphObject",value:function(t){return null==t._statement||t._statement._graph===this?t:{type:t.type,value:t.value,lang:t.lang,datatype:t.datatype}}},{key:"_findSP",value:function(t,e){var r=this;return null==this._graph[t]||null==this._graph[t][e]?[]:this._graph[t][e].map((function(n){return r._get(t,e,n,!0)}))}},{key:"_findS",value:function(t){var e=this,r=this._graph[t],n=Object.keys(r||{}).map((function(r){return e._findSP(t,r)}));return Array.prototype.concat.apply([],n)}},{key:"_find",value:function(){var t=this,e=[];return this.forEach((function(r,n,i){e.push(t._get(r,n,i,!0))})),e}},{key:"_findP",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){t===i&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findO",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){w.objectEquals(t,o)&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findSO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===i&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_findPO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===o&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_validate",value:function(){var t=this._graph,e={valid:!0,errors:[],nr:0};return Object.keys(t).forEach((function(r){var n=t[r];w.isObject(n)?Object.keys(n).forEach((function(t){var i=n[t];Array.isArray(i)?i.forEach((function(n,i){w.isObject(n)?null!=n.type?w.isString(n.value)?e.nr+=1:(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),e.valid=!1)})):(e.errors.push({s:r,p:t,message:"Predicate must point to an array of objects."}),e.valid=!1)})):(e.errors.push({s:r,message:"Subject must point to an object."}),e.valid=!1)})),e}},{key:"_newBNode",value:function(){var t,e,r;for(this._indexBNodes(),t=1;t<20;t++)for(e=1;e<=t;e++)if(r="_:".concat(Math.floor(Math.random()*(Math.pow(10,t)+1))),!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var t=this;if(!this._bnodesIndexed){var e=this._graph;Object.keys(e).forEach((function(r){0===r.indexOf("_:")&&(t._bnodes[r]=!0);var n=e[r];Object.keys(n).forEach((function(e){0===e.indexOf("_:")&&(t._bnodes[e]=!0),n[e].forEach((function(e){"bnode"===e.type&&(t._bnodes[e.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(t,e,r){0===t.indexOf("_:")&&(this._bnodes[t]=!0),0===e.indexOf("_:")&&(this._bnodes[e]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}])&&Q(e.prototype,r),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(9081),r(24601);r(73220),r(17554),r(39385),r(80528),r(7517),r(25787);function et(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nt(n.key),n)}}function nt(t){var e=function(t,e){if("object"!=et(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==et(e)?e:String(e)}function it(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,r){return ct(e),function(t,e){if(e&&("object"===et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ut()?Reflect.construct(e,r||[],ct(t).constructor):e.apply(t,r))}function at(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ct(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),lt(r,t)}(t)}function st(t,e,r){if(ut())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&<(i,r.prototype),i}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}function lt(t,e){return(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Error;function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,gt(n.key),n)}}function pt(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function gt(t){var e=function(t,e){if("object"!=ft(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ft(e)?e:String(e)}var yt={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#"},vt={rdftype:"".concat(yt.rdf,"type"),rdfssco:"".concat(yt.rdfs,"subClassOf"),rdfsdomain:"".concat(yt.rdfs,"domain"),rdfsrange:"".concat(yt.rdfs,"range"),rdfsspo:"".concat(yt.rdfs,"subPropertyOf"),rdfsClass:"".concat(yt.rdfs,"Class"),owlClass:"".concat(yt.owl,"Class"),owlObjectProperty:"".concat(yt.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(yt.owl,"DatatypeProperty"),rdfProperty:"".concat(yt.rdf,"Property")},mt=function(t,e,r){for(var n={},i=!1,o=t.find(e,r),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(n[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},bt=function(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n];r[i]||(e.push(i),r[i]=!0)}return e},wt=function(){function t(e,r){dt(this,t),this._uri=e,this._parents=[],this._children=[],this._graph=r}return pt(t,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var t=this.getLabels();if(null!=t.en)return t.en;var e=Object.objects(t);return e.length>0?e[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=mt(this._graph,this._uri,"".concat(yt.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var t=this.getComments();return null!=t?null!=t.en?t.en:Object.objects(t)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=mt(this._graph,this._uri,"".concat(yt.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(t){this._parents.push(t),t._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var t=0;t<this._parents.length;t++)this._allParents=this._allParents.concat(this._parents[t].getParents()),this._allParents.push(this._parents[t])}return delete this._parentLock,this._allParents}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var t=0;t<this._children.length;t++)this._allChildren=this._allChildren.concat(this._children[t].getChildren()),this._allChildren.push(this._children[t])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(t){null==this._range&&(this._range=[]),this._range.push(t)}},{key:"setDomain",value:function(t){null==this._domain&&(this._domain=[]),this._domain.push(t),t.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var t=0;t<this._parents.length;t++)this._allRange=this._allRange.concat(this._parents[t].getRange());this._allRange=bt(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var t=0;t<this._parents.length;t++)this._allDomain=this._allDomain.concat(this._parents[t].getDomain());this._allDomain=bt(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(t){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(t)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var t=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var e=0;e<t.length;e++)this._allDomainOf=this._allDomainOf.concat(t[e].getChildren());for(var r=0;r<this._parents.length;r++)this._allDomainOf=this._allDomainOf.concat(this._parents[r].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),t}(),_t=function(t,e,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=o.getSubject(),s=t[a];if(s||(s=new wt(a,o.getGraph()),t[a]=s,e.push(s)),n){var u=o.getValue(),l=t[u];l||(l=new wt(u,o.getGraph()),t[u]=l,e.push(l)),s.addParent(l)}}},xt=function(){function t(){dt(this,t),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return pt(t,[{key:"addGraph",value:function(t){_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.rdfsClass)),_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.owlClass)),_t(this._cidx,this._carr,t.find(null,vt.rdfssco,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.rdfProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdfsspo,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlDatatypeProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlObjectProperty)),function(t,e,r){for(var n,i,o,a=t.find(null,vt.rdfsdomain,null),s=0;s<a.length;s++)n=e[(o=a[s]).getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=t.find(null,vt.rdfsrange,null);for(var u=0;u<a.length;u++)n=e[(o=a[u]).getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(t,this._pidx,this._cidx)}},{key:"addThing",value:function(){var t="http://www.w3.org/2002/07/owl#Thing",e=this._cidx[t],r=!1;e||(e=new wt(t,new tt),this._cidx[t]=e,this._carr.push(e),r=!0);for(var n=0;n<this._carr.length;n++){var i=this._carr[n];(r&&i!==e||-1===i.getParents().indexOf(e)&&i!==e)&&i.addParent(e)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(t){return null!=this._cidx[t]}},{key:"isProperty",value:function(t){return null!=this._pidx[t]}},{key:"getClass",value:function(t){return this._cidx[t]}},{key:"getProperty",value:function(t){return this._pidx[t]}}],[{key:"getInstances",value:function(t){for(var e=[],r=[t].concat(t.getChildren()),n=0;n<r.length;n++)for(var i=r[n],o=i.getGraph.find(null,vt.rdftype,i.getURI()),a=0;a<o.length;a++)e.push(o[a].getSubject());return e}}]),t}();xt.prototype.ns=yt,xt.prototype.terms=vt,xt.global=new xt;function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Tt(n.key),n)}}function Tt(t){var e=function(t,e){if("object"!=St(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==St(e)?e:String(e)}var kt=function(t){this.filterObj={},this.registry=t};kt.prototype.register=function(t){this.registry.register(this.filterObj,t)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(t){kt.prototype[t]=function(e){var r={};switch(t){case"constraint":Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),this.filterObj[t]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[t]=c(e);break;default:this.filterObj[t]=e||!0}return this}}));var Ot=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var e,r,n;return e=t,(r=[{key:"calculatePriority",value:function(t,e){var r=0;if(e.itemtype&&(r+=this.priorities.ITEMTYPE,t.getType()!==e.itemtype))return-1;if(e.choices)switch(r+=this.priorities.CHOICES,e.choices){case"static":if(!t.hasStaticChoices())return-1;break;case"dynamic":if(!t.hasChoices()||t.hasStaticChoices())return-1;break;case"none":if(t.hasChoices())return-1;break;case"any":default:if(!t.hasChoices())return-1}if(e.nodetype&&(r+=this.priorities.NODETYPE,t.getNodetype()!==e.nodetype))return-1;if(e.datatype){r+=this.priorities.DATATYPE;var n=t.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(e.datatype):n!==e.datatype),i)return-1}return e.rdftype&&(r+=this.priorities.RDFTYPE,!function(t,e){var r=t.getConstraints();return null!=r&&r[rdfType]===e}(t,e.rdftype))||e.constraint&&(r+=this.priorities.CONSTRAINT,!function(t,e){if(null==e)return!0;var r=t.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find((function(t){var i=e[t];return""!==i&&"*"!==i&&i!==r[t]&&(n=!1,!0)})),n)}(t,e.constraint))||e.predicate&&(r+=this.priorities.PREDICATE,t.getProperty()!==e.predicate)||e.style&&(r+=this.priorities.STYLE,!t.hasStyle(e.style))?-1:!e.item||(r+=this.priorities.ITEM,t===e.item||e.item.getId&&t.getId()===e.item.getId())?e.check&&!e.check(t)?-1:r:-1}},{key:"getPriority",value:function(t,e){for(var r=0;r<this.components.length;r++)if(this.components[r].component===e){var n=this.calculatePriority(t,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(t,e){var r=this.getPriority(t,e);return this.getComponent(t,r)}},{key:"getComponent",value:function(t,e){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(t,i.filter))>o&&(void 0===e||n<e)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(t,e){this.components.push({component:e,filter:t})}},{key:"itemtype",value:function(t){return new kt(this).itemtype(t)}},{key:"choices",value:function(t){return new kt(this).choices(t)}},{key:"nodetype",value:function(t){return new kt(this).nodetype(t)}},{key:"datatype",value:function(t){return new kt(this).datatype(t)}},{key:"rdftype",value:function(t){return new kt(this).rdftype(t)}},{key:"constraint",value:function(t){return new kt(this).constraint(t)}},{key:"predicate",value:function(t){return new kt(this).predicate(t)}},{key:"style",value:function(t){return new kt(this).style(t)}},{key:"item",value:function(t){return new kt(this).item(t)}},{key:"check",value:function(t){return new kt(this).check(t)}}])&&Et(e.prototype,r),n&&Et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(89730),r(12826);const At=function(){this.__data__=[],this.size=0};const Ct=function(t,e){return t===e||t!=t&&e!=e};const Pt=function(t,e){for(var r=t.length;r--;)if(Ct(t[r][0],e))return r;return-1};var jt=Array.prototype.splice;const Rt=function(t){var e=this.__data__,r=Pt(e,t);return!(r<0)&&(r==e.length-1?e.pop():jt.call(e,r,1),--this.size,!0)};const Nt=function(t){var e=this.__data__,r=Pt(e,t);return r<0?void 0:e[r][1]};const It=function(t){return Pt(this.__data__,t)>-1};const Lt=function(t,e){var r=this.__data__,n=Pt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Dt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Dt.prototype.clear=At,Dt.prototype.delete=Rt,Dt.prototype.get=Nt,Dt.prototype.has=It,Dt.prototype.set=Lt;const Mt=Dt;const Ft=function(){this.__data__=new Mt,this.size=0};const Bt=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const Vt=function(t){return this.__data__.get(t)};const Ut=function(t){return this.__data__.has(t)};const Wt="object"==typeof global&&global&&global.Object===Object&&global;var Ht="object"==typeof self&&self&&self.Object===Object&&self;const Yt=Wt||Ht||Function("return this")();const Gt=Yt.Symbol;var $t=Object.prototype,qt=$t.hasOwnProperty,zt=$t.toString,Xt=Gt?Gt.toStringTag:void 0;const Qt=function(t){var e=qt.call(t,Xt),r=t[Xt];try{t[Xt]=void 0;var n=!0}catch(t){}var i=zt.call(t);return n&&(e?t[Xt]=r:delete t[Xt]),i};var Zt=Object.prototype.toString;const Jt=function(t){return Zt.call(t)};var Kt=Gt?Gt.toStringTag:void 0;const te=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Kt&&Kt in Object(t)?Qt(t):Jt(t)};const ee=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const re=function(t){if(!ee(t))return!1;var e=te(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ne=Yt["__core-js_shared__"];var ie,oe=(ie=/[^.]+$/.exec(ne&&ne.keys&&ne.keys.IE_PROTO||""))?"Symbol(src)_1."+ie:"";const ae=function(t){return!!oe&&oe in t};var se=Function.prototype.toString;const ue=function(t){if(null!=t){try{return se.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var le=/^\[object .+?Constructor\]$/,ce=Function.prototype,fe=Object.prototype,de=ce.toString,he=fe.hasOwnProperty,pe=RegExp("^"+de.call(he).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ge=function(t){return!(!ee(t)||ae(t))&&(re(t)?pe:le).test(ue(t))};const ye=function(t,e){return null==t?void 0:t[e]};const ve=function(t,e){var r=ye(t,e);return ge(r)?r:void 0};const me=ve(Yt,"Map");const be=ve(Object,"create");const we=function(){this.__data__=be?be(null):{},this.size=0};const _e=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var xe=Object.prototype.hasOwnProperty;const Se=function(t){var e=this.__data__;if(be){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return xe.call(e,t)?e[t]:void 0};var Ee=Object.prototype.hasOwnProperty;const Te=function(t){var e=this.__data__;return be?void 0!==e[t]:Ee.call(e,t)};const ke=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=be&&void 0===e?"__lodash_hash_undefined__":e,this};function Oe(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Oe.prototype.clear=we,Oe.prototype.delete=_e,Oe.prototype.get=Se,Oe.prototype.has=Te,Oe.prototype.set=ke;const Ae=Oe;const Ce=function(){this.size=0,this.__data__={hash:new Ae,map:new(me||Mt),string:new Ae}};const Pe=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const je=function(t,e){var r=t.__data__;return Pe(e)?r["string"==typeof e?"string":"hash"]:r.map};const Re=function(t){var e=je(this,t).delete(t);return this.size-=e?1:0,e};const Ne=function(t){return je(this,t).get(t)};const Ie=function(t){return je(this,t).has(t)};const Le=function(t,e){var r=je(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function De(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}De.prototype.clear=Ce,De.prototype.delete=Re,De.prototype.get=Ne,De.prototype.has=Ie,De.prototype.set=Le;const Me=De;const Fe=function(t,e){var r=this.__data__;if(r instanceof Mt){var n=r.__data__;if(!me||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Me(n)}return r.set(t,e),this.size=r.size,this};function Be(t){var e=this.__data__=new Mt(t);this.size=e.size}Be.prototype.clear=Ft,Be.prototype.delete=Bt,Be.prototype.get=Vt,Be.prototype.has=Ut,Be.prototype.set=Fe;const Ve=Be;const Ue=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t};const We=function(){try{var t=ve(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const He=function(t,e,r){"__proto__"==e&&We?We(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var Ye=Object.prototype.hasOwnProperty;const Ge=function(t,e,r){var n=t[e];Ye.call(t,e)&&Ct(n,r)&&(void 0!==r||e in t)||He(t,e,r)};const $e=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=n?n(r[s],t[s],s,r,t):void 0;void 0===u&&(u=t[s]),i?He(r,s,u):Ge(r,s,u)}return r};const qe=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};const ze=function(t){return null!=t&&"object"==typeof t};const Xe=function(t){return ze(t)&&"[object Arguments]"==te(t)};var Qe=Object.prototype,Ze=Qe.hasOwnProperty,Je=Qe.propertyIsEnumerable;const Ke=Xe(function(){return arguments}())?Xe:function(t){return ze(t)&&Ze.call(t,"callee")&&!Je.call(t,"callee")};const tr=Array.isArray;const er=function(){return!1};var rr="object"==typeof exports&&exports&&!exports.nodeType&&exports,nr=rr&&"object"==typeof module&&module&&!module.nodeType&&module,ir=nr&&nr.exports===rr?Yt.Buffer:void 0;const or=(ir?ir.isBuffer:void 0)||er;var ar=/^(?:0|[1-9]\d*)$/;const sr=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&ar.test(t))&&t>-1&&t%1==0&&t<e};const ur=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var lr={};lr["[object Float32Array]"]=lr["[object Float64Array]"]=lr["[object Int8Array]"]=lr["[object Int16Array]"]=lr["[object Int32Array]"]=lr["[object Uint8Array]"]=lr["[object Uint8ClampedArray]"]=lr["[object Uint16Array]"]=lr["[object Uint32Array]"]=!0,lr["[object Arguments]"]=lr["[object Array]"]=lr["[object ArrayBuffer]"]=lr["[object Boolean]"]=lr["[object DataView]"]=lr["[object Date]"]=lr["[object Error]"]=lr["[object Function]"]=lr["[object Map]"]=lr["[object Number]"]=lr["[object Object]"]=lr["[object RegExp]"]=lr["[object Set]"]=lr["[object String]"]=lr["[object WeakMap]"]=!1;const cr=function(t){return ze(t)&&ur(t.length)&&!!lr[te(t)]};const fr=function(t){return function(e){return t(e)}};var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,hr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,pr=hr&&hr.exports===dr&&Wt.process;const gr=function(){try{var t=hr&&hr.require&&hr.require("util").types;return t||pr&&pr.binding&&pr.binding("util")}catch(t){}}();var yr=gr&&gr.isTypedArray;const vr=yr?fr(yr):cr;var mr=Object.prototype.hasOwnProperty;const br=function(t,e){var r=tr(t),n=!r&&Ke(t),i=!r&&!n&&or(t),o=!r&&!n&&!i&&vr(t),a=r||n||i||o,s=a?qe(t.length,String):[],u=s.length;for(var l in t)!e&&!mr.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||sr(l,u))||s.push(l);return s};var wr=Object.prototype;const _r=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||wr)};const xr=function(t,e){return function(r){return t(e(r))}};const Sr=xr(Object.keys,Object);var Er=Object.prototype.hasOwnProperty;const Tr=function(t){if(!_r(t))return Sr(t);var e=[];for(var r in Object(t))Er.call(t,r)&&"constructor"!=r&&e.push(r);return e};const kr=function(t){return null!=t&&ur(t.length)&&!re(t)};const Or=function(t){return kr(t)?br(t):Tr(t)};const Ar=function(t,e){return t&&$e(e,Or(e),t)};const Cr=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var Pr=Object.prototype.hasOwnProperty;const jr=function(t){if(!ee(t))return Cr(t);var e=_r(t),r=[];for(var n in t)("constructor"!=n||!e&&Pr.call(t,n))&&r.push(n);return r};const Rr=function(t){return kr(t)?br(t,!0):jr(t)};const Nr=function(t,e){return t&&$e(e,Rr(e),t)};var Ir="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lr=Ir&&"object"==typeof module&&module&&!module.nodeType&&module,Dr=Lr&&Lr.exports===Ir?Yt.Buffer:void 0,Mr=Dr?Dr.allocUnsafe:void 0;const Fr=function(t,e){if(e)return t.slice();var r=t.length,n=Mr?Mr(r):new t.constructor(r);return t.copy(n),n};const Br=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};const Vr=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};const Ur=function(){return[]};var Wr=Object.prototype.propertyIsEnumerable,Hr=Object.getOwnPropertySymbols;const Yr=Hr?function(t){return null==t?[]:(t=Object(t),Vr(Hr(t),(function(e){return Wr.call(t,e)})))}:Ur;const Gr=function(t,e){return $e(t,Yr(t),e)};const $r=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t};const qr=xr(Object.getPrototypeOf,Object);const zr=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)$r(e,Yr(t)),t=qr(t);return e}:Ur;const Xr=function(t,e){return $e(t,zr(t),e)};const Qr=function(t,e,r){var n=e(t);return tr(t)?n:$r(n,r(t))};const Zr=function(t){return Qr(t,Or,Yr)};const Jr=function(t){return Qr(t,Rr,zr)};const Kr=ve(Yt,"DataView");const tn=ve(Yt,"Promise");const en=ve(Yt,"Set");const rn=ve(Yt,"WeakMap");var nn=ue(Kr),on=ue(me),an=ue(tn),sn=ue(en),un=ue(rn),ln=te;(Kr&&"[object DataView]"!=ln(new Kr(new ArrayBuffer(1)))||me&&"[object Map]"!=ln(new me)||tn&&"[object Promise]"!=ln(tn.resolve())||en&&"[object Set]"!=ln(new en)||rn&&"[object WeakMap]"!=ln(new rn))&&(ln=function(t){var e=te(t),r="[object Object]"==e?t.constructor:void 0,n=r?ue(r):"";if(n)switch(n){case nn:return"[object DataView]";case on:return"[object Map]";case an:return"[object Promise]";case sn:return"[object Set]";case un:return"[object WeakMap]"}return e});const cn=ln;var fn=Object.prototype.hasOwnProperty;const dn=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&fn.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const hn=Yt.Uint8Array;const pn=function(t){var e=new t.constructor(t.byteLength);return new hn(e).set(new hn(t)),e};const gn=function(t,e){var r=e?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var yn=/\w*$/;const vn=function(t){var e=new t.constructor(t.source,yn.exec(t));return e.lastIndex=t.lastIndex,e};var mn=Gt?Gt.prototype:void 0,bn=mn?mn.valueOf:void 0;const wn=function(t){return bn?Object(bn.call(t)):{}};const _n=function(t,e){var r=e?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const xn=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return pn(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return gn(t,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 _n(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return vn(t);case"[object Set]":return new n;case"[object Symbol]":return wn(t)}};var Sn=Object.create;const En=function(){function t(){}return function(e){if(!ee(e))return{};if(Sn)return Sn(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const Tn=function(t){return"function"!=typeof t.constructor||_r(t)?{}:En(qr(t))};const kn=function(t){return ze(t)&&"[object Map]"==cn(t)};var On=gr&&gr.isMap;const An=On?fr(On):kn;const Cn=function(t){return ze(t)&&"[object Set]"==cn(t)};var Pn=gr&&gr.isSet;const jn=Pn?fr(Pn):Cn;var Rn={};Rn["[object Arguments]"]=Rn["[object Array]"]=Rn["[object ArrayBuffer]"]=Rn["[object DataView]"]=Rn["[object Boolean]"]=Rn["[object Date]"]=Rn["[object Float32Array]"]=Rn["[object Float64Array]"]=Rn["[object Int8Array]"]=Rn["[object Int16Array]"]=Rn["[object Int32Array]"]=Rn["[object Map]"]=Rn["[object Number]"]=Rn["[object Object]"]=Rn["[object RegExp]"]=Rn["[object Set]"]=Rn["[object String]"]=Rn["[object Symbol]"]=Rn["[object Uint8Array]"]=Rn["[object Uint8ClampedArray]"]=Rn["[object Uint16Array]"]=Rn["[object Uint32Array]"]=!0,Rn["[object Error]"]=Rn["[object Function]"]=Rn["[object WeakMap]"]=!1;const Nn=function t(e,r,n,i,o,a){var s,u=1&r,l=2&r,c=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!ee(e))return e;var f=tr(e);if(f){if(s=dn(e),!u)return Br(e,s)}else{var d=cn(e),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(or(e))return Fr(e,u);if("[object Object]"==d||"[object Arguments]"==d||h&&!o){if(s=l||h?{}:Tn(e),!u)return l?Xr(e,Nr(s,e)):Gr(e,Ar(s,e))}else{if(!Rn[d])return o?e:{};s=xn(e,d,u)}}a||(a=new Ve);var p=a.get(e);if(p)return p;a.set(e,s),jn(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):An(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var g=f?void 0:(c?l?Jr:Zr:l?Rr:Or)(e);return Ue(g||e,(function(i,o){g&&(i=e[o=i]),Ge(s,o,t(i,r,n,o,e,a))})),s};const In=function(t){return Nn(t,5)};r(6203),r(65137),r(64043),r(57267),r(52003),r(22462);var Ln=r(30381),Dn=r.n(Ln),Mn=function(t,e){var r=e||Dn().locale();if(null==t)return{precision:"none"};if("string"==typeof t)return{value:t,precision:"nolang",lang:""};if(t.hasOwnProperty(r))return{value:t[r],precision:"exact",lang:r};if(r.indexOf("_")>-1&&t.hasOwnProperty(r.substr(0,2)))return{value:t[r.substr(0,2)],precision:"coarsen",lang:r.substr(0,2)};if(t.hasOwnProperty("en"))return{value:t.en,precision:"default",lang:"en"};if(t.hasOwnProperty(""))return{value:t[""],precision:"nolang",lang:""};var n=Object.keys(t);return n.length>0?{value:t[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},Fn=function(t,e,r){var n=t.find(e,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const Bn={getLocalizedValue:Mn,getLocalizedMap:function(t,e,r){var n,i=e,o=r;t.getItem?(n=t.getGraph(),i=t.getValue(),o=t.getItem().getURIValueLabelProperties()):n=t,null!=o&&0!==o.length||(o=Un.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=Fn(n,i,s[l]);c&&u.push(Mn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=Fn(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=Mn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=In(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==e&&r.sort((function(t,e){return t.label>e.label?1:-1})),r},extractGist:function(t,e){var r=e;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(t);if(null!=i)return i[1]}return t},findFirstValue:function(t,e,r,n){var i=t.findFirstValueBinding(t.match(e,r,n),!1);if(i)return i.getChoice?Mn(i.getChoice().label).value:i.getGist()},generateUUID:function(){var t=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))}};var Vn=function(t,e,r,n){if("URI"===t.getNodetype()||"RESOURCE"===t.getNodetype()){var i=Bn.getLocalizedMap(n,e,t.getURIValueLabelProperties());if(!i){var o=e.lastIndexOf("#"),a=e.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(e.substring(1+(o>a?o:a)))}:{"":e}}return{value:e,label:i}}return{value:e,label:e}};const Un={hasDnDSupport:function(t){return!1},addDnD:function(t,e,r){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(t,e){return!1},openChoiceSelector:function(t,e){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.'),e({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(t,e,r,n){return Vn(t,e,0,n)},getFallbackChoice:Vn,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(t,e){for(var r=e.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=e.getGraph()._graph;;){var a=i+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}},Wn=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 Hn(t){return(Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Yn,Gn,$n,qn,zn,Xn="body",Qn=[{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"}}],Zn={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(t){return t instanceof Node?t:"string"==typeof t?document.getElementById(t):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new Ot,editorRegistry:new Ot,chooserRegistry:new Ot,renderPresenter:function(t,e,r){var n=Zn.presenterRegistry.getComponent(e.getItem());n&&(Zn.prePresenterRenderer(t,e,r),n(t,e,r),Zn.postPresenterRenderer(t,e,r))},renderEditor:function(t,e,r){var n=Zn.editorRegistry.getComponent(e.getItem());n&&(Zn.preEditorRenderer(t,e,r),n(t,e,r),Zn.postEditorRenderer(t,e,r))},renderValidationMessage:function(t,e,r){},renderSelect:function(){},getChoice:function(t,e){var r=Zn.chooserRegistry.getComponent(t);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(t.getId()));return r.getChoice(t,e)},hasOpenChoiceSelector:function(t){return null!=Zn.chooserRegistry.getComponent(t.getItem())},openChoiceSelector:function(t,e,r){var n=Zn.chooserRegistry.getComponent(t.getItem());if(null!=n&&n&&n.getChoice)n.show(t,e,r);else{var i=t.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(t){Yn=t},getMessages:function(){return Yn||Wn},getLanguageList:function(){return Gn||Qn},getPrimaryLanguageList:function(){if(!qn){for(var t,e=Zn.getLanguageList(),r=$n||[],n=[],i=0;i<e.length;i++){var o=e[i].value,a=r.indexOf(o);""===o&&(t=e[i]),-1!==a&&(n[a]=e[i])}qn=[];for(var s=0;s<n.length;s++)"object"===Hn(n[s])&&qn.push(n[s]);qn.length>0&&t&&qn.splice(0,0,t)}return qn},getNonPrimaryLanguageList:function(){if(!zn){var t=Zn.getPrimaryLanguageList().length>0,e=Zn.getLanguageList(),r=$n||[];zn=[];for(var n=0;n<e.length;n++){var i=e[n].value;-1===r.indexOf(i)&&(t&&""===i||zn.push(e[n]))}}return zn},setPrimaryLanguageCodes:function(t){zn=null,qn=null,$n=t},setLanguageList:function(t){Gn=t},filterTranslations:function(t,e,r){for(var n={},i=0;i<t.length;i++){var o=t[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===e?n.best=!0:-1!==o.indexOf(e)||-1!==e.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?t.filter((function(t){return t.getLanguage()===e})):n.close?t.filter((function(t){var r=t.getLanguage();return r&&(-1!==r.indexOf(e)||-1!==e.indexOf(r))})):n.defaultLanguage?t.filter((function(t){var e=t.getLanguage();return e&&0===e.indexOf(r)})):t},setPopoverContainer:function(t){Xn=t},getPopoverContainer:function(){return Xn},preEditorViewRenderer:function(t,e){},prePresenterViewRenderer:function(t,e){},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(){}};Un.getChoice=Zn.getChoice;var Jn=function(t,e,r){new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,binding:e,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t)};Zn.presenterRegistry.itemtype("group").register(Jn),Zn.presenterRegistry.itemtype("propertygroup").register(Jn);var Kn=function(t,e,r){var n=new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,languages:r.view.languages,binding:e,topLevel:!1,compact:r.view.compact,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t);r.view._subEditors.push(n)};Zn.editorRegistry.itemtype("group").register(Kn),Zn.editorRegistry.itemtype("propertygroup").register(Kn);const ti=Zn;var ei=r(19755),ri=r.n(ei);r(34338),r(88052),r(32349),r(81919),r(30050),r(77049),r(34284);function ni(t){return(ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ii(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oi(n.key),n)}}function oi(t){var e=function(t,e){if("object"!=ni(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ni(e)?e:String(e)}var ai=0,si=function(){function t(e){var r=e.item,n=e.statement,i=e.graph,o=e.matchingCode;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(ai),this._matchingCode=o||"correct",ai+=1}var e,r,n;return e=t,(r=[{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 t=this.getParent();t&&t._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(t){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(t,e){}},{key:"getGist",value:function(){return Bn.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(t,e){var r=t,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,e)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(t){this._cardinalityTracker=t}},{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(t){this._parent=t}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(t){this._matchingCode=t}},{key:"setAncestorValid",value:function(t){this._ancestorValid=t,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(t){this._listeners||(this._listeners=[]),this._listeners.push(t)}},{key:"removeListener",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"bindingChange",value:function(t){if(this._listeners)for(var e=0;e<this._listeners.length;e++)this._listeners[e](t);this._parent&&this._parent.bindingChange(t),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(t){var e=t;if("string"!=typeof e&&null!==e)throw new Error("In a binding every object value need to be a string!");var r=this._item.getPattern();return r?null!=(e=Bn.extractGist(e,this.getItem().getValueTemplate()))&&""!==e&&new RegExp("^".concat(r,"$")).test(e):null!=e&&""!==e}},{key:"_isValidPredicateValue",value:function(t){if("string"!=typeof t&&null!==t)throw new Error("In a binding every predicate need to be a string!");return null!=t&&""!==t}}])&&ii(e.prototype,r),n&&ii(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();const ui={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 li(t){return(li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ci(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fi(n.key),n)}}function fi(t){var e=function(t,e){if("object"!=li(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=li(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==li(e)?e:String(e)}var di=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._listener=[],this._limits=e.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var e,r,n;return e=t,(r=[{key:"addListener",value:function(t){return this._listeners.push(t),t}},{key:"removeListener",value:function(t){this._listeners.splice(this._listeners.indexOf(t),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(t){return t()}))}},{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(t){this._code!==t&&(this._code=t,this.cardinalityChanged())}},{key:"setDepsOk",value:function(t){this._depsOk!==t&&(this._code=ui.UNKNOWN,this._depsOk=t,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=ui.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()}}])&&ci(e.prototype,r),n&&ci(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function hi(t){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pi(t){return function(t){if(Array.isArray(t))return gi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return gi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gi(t,e)}(t)||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 gi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function yi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,vi(n.key),n)}}function vi(t){var e=function(t,e){if("object"!=hi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hi(e)?e:String(e)}function mi(t,e,r){return e=_i(e),function(t,e){if(e&&("object"===hi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],_i(t).constructor):e.apply(t,r))}function bi(){return(bi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=wi(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function wi(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_i(t)););return t}function _i(t){return(_i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xi(t,e){return(xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Si=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=mi(this,e,[t]);var n=t.constraints,i=void 0===n?[]:n,o=t.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}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xi(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(t){return t!==this._oneValidChild&&!(!t&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=t,this._notifyValidityChange(t&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(t){this._statement?this._statement.setSubject(t):this.getChildBindings().forEach((function(e){return e.setSubject(t)}))}},{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(t){this.addChildBindings([t])}},{key:"addChildBindings",value:function(t){var e=this;if(this._cachedChildBindings=null,Array.isArray(t)&&0!==t.length)for(var r=t[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=e._childBindings[o].length>0?e._childBindings[o][0].getCardinalityTracker():new di(r);return e._childBindings[o]=e._childBindings[o].concat(t),t.forEach((function(t){t.setParent(e),t.setCardinalityTracker(i),i.increment()}),e),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(t){this._cachedChildBindings=null;for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t.getItem()===e[r]){this._childBindings[r].splice(this._childBindings[r].indexOf(t),1),delete t._parent,t.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(t)}},{key:"getChildBindingsFor",value:function(t){for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t===e[r])return this._childBindings[r]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var t;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(t=[]).concat.apply(t,pi(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(t){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 e=this._validObject;this._isValidObjectValue(t,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(t),this._constraints.forEach((function(e){return e.setSubject(t)})),this.getChildBindings().forEach((function(e){return e.setSubject(t)})),!e&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,e&&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),bi(_i(e.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(t){var e=this;this._ancestorValid=t,this.updateAssertions(),this._childBindings.forEach((function(r){return r.forEach((function(r){return r.setAncestorValid(t&&e._isValid())}),e)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var t=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(t),this._constraints.forEach((function(e){return e.setAsserted(t)})),this.getChildBindings().forEach((function(t){return t.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(t){return t.some((function(t){return t.isValid()}))}))}},{key:"_notifyValidityChange",value:function(t){this._parent&&this._parent.oneChildValidityChanged(t)||(this.updateAssertions(),this._childBindings.forEach((function(e){return e.forEach((function(e){return e.setAncestorValid(t)}))})))}},{key:"_isValidObjectValue",value:function(t,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&bi(_i(e.prototype),"_isValidObjectValue",this).call(this,t)}}])&&yi(r.prototype,n),i&&yi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(si);function Ei(t){return(Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ti(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ki(n.key),n)}}function ki(t){var e=function(t,e){if("object"!=Ei(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ei(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ei(e)?e:String(e)}var Oi=0,Ai=function(t,e,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete t[e]:t[e]=r},Ci=function(){function t(e){var r=e.source,n=void 0===r?{}:r,i=e.bundle,o=e.itemStore;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=o,this._source=n,this._bundle=i,Oi+=1,this._internalId=Oi,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=Bn.getLocalizedValue}var e,r,n;return e=t,(r=[{key:"getId",value:function(){var t=this.getSource(!0);return t.id||t["@id"]}},{key:"setId",value:function(t){Ai(this.getSource(!0),"id",t),delete s["@id"]}},{key:"getType",value:function(t){var e=this.getSource(t);return e.type||e["@type"]}},{key:"setType",value:function(t){Ai(this.getSource(!0),"type",t),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(t){var e=this.getSource(!0),r=this._itemStore.getItem(t);this._source=null==r?e:this._itemStore.createExtendedSource(r.getSource(),e),""===t||null==t?delete e.extends:e.extends=t}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(t,e,r){var n=this.getSource(r);return e?Bn.getLocalizedValue(n[t]):Bn.getLocalizedValue(n[t]).value}},{key:"_setText",value:function(t,e,r){var n=this.getSource(!0);n[t]=this._setLangHash(n[t],e,r),this.refreshExtends()}},{key:"_setTextMap",value:function(t,e){Ai(this.getSource(!0),t,e),this.refreshExtends()}},{key:"getLabel",value:function(t,e){return this._getText("label",t,e)}},{key:"setLabel",value:function(t,e){this._setText("label",t,e)}},{key:"getLabelMap",value:function(t){return this.getSource(t).label}},{key:"setLabelMap",value:function(t){this._setTextMap("label",t)}},{key:"getEditLabel",value:function(t,e){return this._getText("editlabel",t,e)}},{key:"setEditLabel",value:function(t,e){this._setText("editlabel",t,e)}},{key:"getEditLabelMap",value:function(t){return this.getSource(t).editlabel}},{key:"setEditLabelMap",value:function(t){this._setTextMap("editlabel",t)}},{key:"getDescription",value:function(t,e){return this._getText("description",t,e)}},{key:"setDescription",value:function(t,e){this._setText("description",t,e)}},{key:"getDescriptionMap",value:function(t){return this.getSource(t).description}},{key:"setDescriptionMap",value:function(t){this._setTextMap("description",t)}},{key:"getEditDescription",value:function(t,e){return this._getText("editdescription",t,e)}},{key:"setEditDescription",value:function(t,e){this._setText("editdescription",t,e)}},{key:"getEditDescriptionMap",value:function(t){return this.getSource(t).editdescription}},{key:"setEditDescriptionMap",value:function(t){this._setTextMap("editdescription",t)}},{key:"getHelp",value:function(t,e){return this._getText("help",t,e)}},{key:"setHelp",value:function(t,e){this._setText("help",t,e)}},{key:"getHelpMap",value:function(t){return this.getSource(t).help}},{key:"setHelpMap",value:function(t){this._setTextMap("help",t)}},{key:"getPlaceholder",value:function(t,e){return this._getText("placeholder",t,e)}},{key:"setPlaceholder",value:function(t,e){this._setText("placeholder",t,e)}},{key:"getPlaceholderMap",value:function(t){return this.getSource(t).placeholder}},{key:"setPlaceholderMap",value:function(t){this._setTextMap("placeholder",t)}},{key:"getPurpose",value:function(t,e){return this._getText("purpose",t,e)}},{key:"setPurpose",value:function(t,e){this._setText("purpose",t,e)}},{key:"getPurposeMap",value:function(t){return this.getSource(t).purpose}},{key:"setPurposeMap",value:function(t){this._setTextMap("purpose",t)}},{key:"getSpecification",value:function(t,e){return this._getText("specification",t,e)}},{key:"setSpecification",value:function(t,e){this._setText("specification",t,e)}},{key:"getSpecificationMap",value:function(t){return this.getSource(t).specification}},{key:"setSpecificationMap",value:function(t){this._setTextMap("specification",t)}},{key:"getText",value:function(t,e,r){var n=this.getSource(r).text||{};return e?Bn.getLocalizedValue(n[t]):Bn.getLocalizedValue(n[t]).value}},{key:"setText",value:function(t,e,r){var n=this.getSource(!0),i=n.text=n.text||{};i[t]=this._setLangHash(i[t],e,r),this.refreshExtends()}},{key:"setTextMap",value:function(t,e){var r=this.getSource(!0),n=r.text=r.text||{};Ai(n,t,e),this.refreshExtends()}},{key:"getEnhanced",value:function(t){var e=this.getSource(!0);return"boolean"==typeof e.enhanced?e.enhanced:e.enhanced&&e.enhanced[t]||!1}},{key:"setEnhanced",value:function(t,e){var r=this.getSource(!0);"boolean"==typeof t?!0===t?r.enhanced=!0:delete r.enhanced:(r.enhanced="boolean"==typeof r.enhanced?{}:r.enhanced||{},e?r.enhanced[t]=!0:(delete r.enhanced[t],0===Object.keys(r).length&&delete r.enhanced)),this.setExtends(this.getExtends())}},{key:"getProperty",value:function(t){var e=null,r=this.getSource(t);return r&&null!=(e=r.property)&&""!==e&&(e=c(e)),e}},{key:"setProperty",value:function(t){Ai(this.getSource(!0),"property",t),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(t){var e=this.getSource(t).uriValueLabelProperties;return null!=e?e.map((function(t){return c(t)})):e}},{key:"setURIValueLabelProperties",value:function(t){Ai(this.getSource(!0),"uriValueLabelProperties",t),this.refreshExtends()}},{key:"getConstraints",value:function(t){var e=this.getSource(t).constraints;if(null!=e){var r={};return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),r}return e}},{key:"setConstraints",value:function(t){Ai(this.getSource(!0),"constraints",t),this.refreshExtends()}},{key:"getDeps",value:function(t){var e=this.getSource(t).deps;return null!=e?e.map((function(t){return"*"!==t&&".."!==t?c(t):t})):e}},{key:"setDeps",value:function(t){Ai(this.getSource(!0),"deps",t),this.refreshExtends()}},{key:"getDatatype",value:function(t){var e=this.getSource(t).datatype;return null!=e&&""!==e?Array.isArray(e)?e.map((function(t){return c(t)})):c(e):e}},{key:"setDatatype",value:function(t){Ai(this.getSource(!0),"datatype",t),this.refreshExtends()}},{key:"getPattern",value:function(t){return this.getSource(t).pattern}},{key:"setPattern",value:function(t){Ai(this.getSource(!0),"pattern",t),this.refreshExtends()}},{key:"getLanguage",value:function(t){return this.getSource(t).language}},{key:"setLanguage",value:function(t){Ai(this.getSource(!0),"language",t),this.refreshExtends()}},{key:"getMember",value:function(t){return this.getSource(t).member}},{key:"setMember",value:function(t){Ai(this.getSource(!0),"member",t),this.refreshExtends()}},{key:"getNodetype",value:function(t){var e=this.getSource(t);return e.nodetype||e.nodeType}},{key:"setNodetype",value:function(t){Ai(this.getSource(!0),"nodetype",t),this.refreshExtends()}},{key:"getValue",value:function(t){return this.getSource(t).value}},{key:"setValue",value:function(t){Ai(this.getSource(!0),"value",t),this.refreshExtends()}},{key:"getValueTemplate",value:function(t){return this.getSource(t).valueTemplate}},{key:"setValueTemplate",value:function(t){Ai(this.getSource(!0),"valueTemplate",t),this.refreshExtends()}},{key:"getCardinality",value:function(t){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var e=this.getSource(t);return e&&"cardinality"in e?e.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(t){Ai(this.getSource(!0),"cardinality",t),this.refreshExtends()}},{key:"isEnabled",value:function(t){var e=this.getSource(t);return null==e.enabled||e.enabled}},{key:"setEnabled",value:function(t){var e=this.getSource(!0);t?delete e.enabled:e.enabled=t,this.refreshExtends()}},{key:"getClasses",value:function(t){var e=this.getSource(t);return e&&"cls"in e?e.cls:[]}},{key:"setClasses",value:function(t){Ai(this.getSource(!0),"cls",t),this.refreshExtends()}},{key:"hasClass",value:function(t,e){var r=this.getSource(e);return!!this.hasStyle(t,e)||null!=r.cls&&r.cls.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(t){return this.getSource(t).styles||[]}},{key:"setStyles",value:function(t){Ai(this.getSource(!0),"styles",t),this.refreshExtends()}},{key:"hasStyle",value:function(t,e){var r=this.getSource(e);return!(!r||!("styles"in r))&&r.styles.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getSource",value:function(t,e){if(!0===t)return this._source._extendedSource||this._source;if(!1===t){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 t=[];return this.getId()&&t.push("ID: '".concat(this.getId(),"'")),t.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&t.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&t.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(t.join(", "),")")}},{key:"_setLangHash",value:function(t,e,r){var n=t||{};if("string"==typeof e)"string"==typeof r?n[r]=e:n[""]=e;else if("object"===Ei(e)&&null!==e)return e;return n}}])&&Ti(e.prototype,r),n&&Ti(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Pi(t){return(Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ji(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ri(n.key),n)}}function Ri(t){var e=function(t,e){if("object"!=Pi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Pi(e)?e:String(e)}function Ni(t,e,r){return e=Di(e),function(t,e){if(e&&("object"===Pi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Di(t).constructor):e.apply(t,r))}function Ii(){return(Ii="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Li(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Li(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Di(t)););return t}function Di(t){return(Di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mi(t,e){return(Mi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Fi=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ni(this,e,[t]))._children=t.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){var e,r=t&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((e=n).forEach((function(t){t.__label=(t.getLabel()||"").toLowerCase()})),e.sort((function(t,e){return null!=t._source.priority?null!=e._source.priority?t._source.priority>e._source.priority?-1:t._source.priority<e._source.priority?1:0:t._source.priority>0?-1:1:null!=e._source.priority?e._source.priority>0?1:-1:t.__label>e.__label?1:t.__label<e.__label?-1:0}))),this["_".concat(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(t){Ii(Di(e.prototype),"setExtends",this).call(this,t),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Ii(Di(e.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&ji(r.prototype,n),i&&ji(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);function Bi(t){return(Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ui(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wi(n.key),n)}}function Wi(t){var e=function(t,e){if("object"!=Bi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Bi(e)?e:String(e)}function Hi(t,e,r){return e=$i(e),function(t,e){if(e&&("object"===Bi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],$i(t).constructor):e.apply(t,r))}function Yi(){return(Yi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Gi(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Gi(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=$i(t)););return t}function $i(t){return($i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qi(t,e){return(qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var zi=function(t){function e(){return Vi(this,e),Hi(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=Yi($i(e.prototype),"getChildren",this).call(this,t)||[];this._delegatedChildren=n.map((function(t){var e=Object.create(t);return e.getCardinality=r,e}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&Ui(r.prototype,n),i&&Ui(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Fi);function Xi(t){return(Xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ji(n.key),n)}}function Ji(t){var e=function(t,e){if("object"!=Xi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xi(e)?e:String(e)}function Ki(t,e,r){return e=to(e),function(t,e){if(e&&("object"===Xi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],to(t).constructor):e.apply(t,r))}function to(t){return(to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eo(t,e){return(eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ro=function(t){function e(){return Qi(this,e),Ki(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eo(t,e)}(e,t),r=e,(n=[{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties}}])&&Zi(r.prototype,n),i&&Zi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);function no(t){return(no="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function io(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oo(n.key),n)}}function oo(t){var e=function(t,e){if("object"!=no(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=no(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==no(e)?e:String(e)}function ao(t,e,r){return e=lo(e),function(t,e){if(e&&("object"===no(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],lo(t).constructor):e.apply(t,r))}function so(){return(so="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=uo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function uo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=lo(t)););return t}function lo(t){return(lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function co(t,e){return(co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var fo=function(t){null!=t&&t.forEach((function(t){t.value=c(t.value)}))},ho=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ao(this,e,[t]))._ontologyStore=t.ontologyStore,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&co(t,e)}(e,t),r=e,(n=[{key:"getChoices",value:function(t){return this.getStaticChoices(t)||this.getDynamicChoices(t)||[]}},{key:"hasChoices",value:function(t){var e=this.getSource(t);return null!=e.ontologyUrl||null!=e.choices}},{key:"hasStaticChoices",value:function(t){return null!=this.getSource(t).choices}},{key:"getStaticChoices",value:function(t){var e=this.getSource(t);if(e.choices){var r=-1===this.getNodetype().indexOf("LITERAL");t&&this.isExtention()?this._origStaticIsSorted||(r&&fo(e.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&fo(e.choices),this._staticIsSorted=!0)}return e.choices}},{key:"setStaticChoices",value:function(t){var e=this.getSource(!0);e.choices!==t&&(null!=t&&(this._origStaticIsSorted=!0),e.choices=t,this.refreshExtends())}},{key:"setExtends",value:function(t){so(lo(e.prototype),"setExtends",this).call(this,t),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(t){var e=this;if(null==this._dynamicChoices){if(null==t)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(r){e._dynamicChoices=r,null==e._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(e.getLabel())),console.log("OntologyUrl is: ".concat(e._source.ontologyUrl))),t(e._dynamicChoices)}))}else{if(null==t)return this._dynamicChoices;t(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(t){var e=this.getSource(t).ontologyUrl;return null!=e&&""!==e?c(e):e}},{key:"setOntologyUrl",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.ontologyUrl:e.ontologyUrl=t,this.refreshExtends()}},{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(t){var e=this.getSource(t).parentProperty;return null!=e&&""!==e?c(e):e}},{key:"setParentProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.parentProperty:e.parentProperty=t,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(t){var e=this.getSource(t).hierarchyProperty;return null!=e&&""!==e?c(e):e}},{key:"setHierarchyProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.hierarchyProperty:e.hierarchyProperty=t,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(t){return!0===this.getSource(t).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(t){var e=this.getSource(!0);!0===t?e.isParentPropertyInverted=!0:delete e.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(t){return!0===this.getSource(t).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(t){var e=this.getSource(!0);t?e.isHierarchyPropertyInverted=!0:delete e.isHierarchyPropertyInverted,this.refreshExtends()}}])&&io(r.prototype,n),i&&io(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);r(28436);function po(t){return(po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function go(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yo(n.key),n)}}function yo(t){var e=function(t,e){if("object"!=po(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=po(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==po(e)?e:String(e)}function vo(t,e,r){return e=wo(e),function(t,e){if(e&&("object"===po(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],wo(t).constructor):e.apply(t,r))}function mo(){return(mo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=bo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function bo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=wo(t)););return t}function wo(t){return(wo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _o(t,e){return(_o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var xo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=vo(this,e,[t]))._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}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_o(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(t,e){var r="string"==typeof t?t.trim():t,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,e),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",e),this._validObject=!1,!1!==n&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(t){this._statement.setSubject(t)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(t,e){this._statement.setLanguage(t,e),e||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(t){this._statement.setDatatype(c(t)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(t){this._excludeFromTreeValidityCheck=t}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),mo(wo(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var t=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(t,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&go(r.prototype,n),i&&go(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(si);function So(t){return(So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Eo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,To(n.key),n)}}function To(t){var e=function(t,e){if("object"!=So(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=So(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==So(e)?e:String(e)}function ko(t,e,r){return e=Co(e),function(t,e){if(e&&("object"===So(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Co(t).constructor):e.apply(t,r))}function Oo(){return(Oo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Ao(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Ao(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Co(t)););return t}function Co(t){return(Co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Po(t,e){return(Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var jo="http://www.w3.org/2000/01/rdf-schema#label",Ro="http://www.w3.org/2000/01/rdf-schema#seeAlso",No=function(t){function e(t){var r,n=t.choice,i=t.item,o=t.statement,a=t.matchingCode;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ko(this,e,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Po(t,e)}(e,t),r=e,i=[{key:"seeAlso",get:function(){return Ro}}],(n=[{key:"setChoice",value:function(t,e){this._choice=t,null==t?this.setValue(null,null,e):this.getValue()!==t.value&&this.setValue(t.value,t,e),t&&t.mismatch?this.setMatchingCode(ui.WRONG_VALUE):t&&t.mismatch||this.getMatchingCode()!==ui.WRONG_VALUE||this.setMatchingCode(ui.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(t,r,n){var i=this.getValue();Oo(Co(e.prototype),"setValue",this).call(this,t,r,n);var o=this._statement.getGraph();if(o.findAndRemove(i,jo,void 0,n),o.findAndRemove(i,Ro,void 0,n),null!=t&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&o.create(t,Ro,r.seeAlso,!0,n),!0===r.inlineLabel)){var a=r.label||{};Object.keys(a).forEach((function(e){return o.create(t,jo,{value:a[e],lang:e,type:"literal"},!0,n)}))}}}])&&Eo(r.prototype,n),i&&Eo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(xo);function Io(t){return(Io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Do(n.key),n)}}function Do(t){var e=function(t,e){if("object"!=Io(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Io(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Io(e)?e:String(e)}function Mo(t,e,r){return e=Fo(e),function(t,e){if(e&&("object"===Io(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Fo(t).constructor):e.apply(t,r))}function Fo(t){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Bo(t,e){return(Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Vo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Mo(this,e,[t]))._objectBinding=t.objectBinding,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Bo(t,e)}(e,t),r=e,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(t){this._objectBinding.setPredicate(t)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&Lo(r.prototype,n),i&&Lo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(No);function Uo(t){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Wo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ho(n.key),n)}}function Ho(t){var e=function(t,e){if("object"!=Uo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Uo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Uo(e)?e:String(e)}function Yo(t,e,r){return e=Go(e),function(t,e){if(e&&("object"===Uo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Go(t).constructor):e.apply(t,r))}function Go(t){return(Go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $o(t,e){return($o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var qo=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=Yo(this,e,[t]);var n=t.statement,i=t.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof Fi?new Si({item:s,statement:n,constraints:i}):s instanceof ho?new No({item:s,statement:n}):new xo({item:s,statement:n});var u=new Vo({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$o(t,e)}(e,t),r=e,(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()}}])&&Wo(r.prototype,n),i&&Wo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Si);function zo(t){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zo(n.key),n)}}function Zo(t){var e=function(t,e){if("object"!=zo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=zo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==zo(e)?e:String(e)}function Jo(t,e,r){return e=ea(e),function(t,e){if(e&&("object"===zo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ea(t).constructor):e.apply(t,r))}function Ko(){return(Ko="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=ta(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function ta(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ea(t)););return t}function ea(t){return(ea=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ra(t,e){return(ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var na,ia,oa,aa,sa,ua=function(t){function e(){return Xo(this,e),Jo(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ra(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(t){return this._parent.setValue(t)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(t,e){return this._parent.setGist(t,e)}},{key:"setSubject",value:function(t){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),Ko(ea(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&Qo(r.prototype,n),i&&Qo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(xo);function la(t){return(la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ca,fa,da,ha,pa,ga,ya=!1,va=function(t,e,r){var n=new Si({item:r,childrenRootUri:e,graph:t});return na(n),ia(n),n},ma=function(t,e,r){var n=new Si({item:r,childrenRootUri:e,graph:t});return na(n),ya=!0,na(n),ya=!1,ia(n),n},ba=function(t,e,r,n){var i=t.findProperties(e),o=[],a={};if(null!=n){var s=function(t){null!=t&&(!function t(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof Fi&&e.getChildren().forEach(t)}(t),o.push(t))};n.forEach((function(t){var e=r.getItem(t);null!=e?e instanceof Fi&&null==e.getProperty()?e.getChildren().forEach(s):s(e):(e=r.getItemByProperty(t))?s(e):console.warn("Warning, when autodetecting a template: Required item '".concat(t,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return i.forEach((function(t){if(!a[t]){var e=r.getItemByProperty(t);null!=e&&o.push(e)}}),void 0),r.createTemplateFromChildren(o)},wa=function(t){return Array.isArray(t.getDatatype())?t.getDatatype()[0]:t.getDatatype()},_a=function(t,e){var r,n,i=e.getChildren()[1],o=t.getGraph();i instanceof Fi?(r=o.create(t.getChildrenRootUri(),"",null,!1),n=sa(o,r.getSubject(),i)):r=i instanceof ho?o.create(t.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(t.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new qo({item:e,statement:r,constraints:n});return t.addChildBinding(a),i instanceof Fi&&i.getChildren().forEach((function(t){xa(a.getObjectBinding(),t)})),a},xa=function(t,e,r){return e instanceof ro?function(t,e){if(!e.getProperty()){var r=new ua({item:e,statement:null,matchingCode:ui.OK});return t.addChildBinding(r),r}var n=t.getGraph(),i=e.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=wa(e));var a=e.getValue();if(null!=a&&0===t.getChildBindingsFor(e).length){o.value=a;var s=e.getLanguage();null!=s&&(o.lang=s)}var u=n.create(t.getChildrenRootUri(),e.getProperty(),o,!1),l=new xo({item:e,statement:u});return t.addChildBinding(l),l}(t,e):e instanceof zi?_a(t,e):e instanceof Fi?function(t,e,r){var n,i;if(void 0!==e.getProperty()){var o=t.getGraph();n=(e.getNodetype(),o.create(t.getChildrenRootUri(),e.getProperty(),null,!1)),i=sa(o,n.getValue(),e)}var a=new Si({item:e,statement:n,constraints:i});t.addChildBinding(a);var s=e._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(t,e,r||{}):e instanceof ho?function(t,e){var r=t.getGraph(),n=e.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=wa(e):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(t.getChildrenRootUri(),e.getProperty(),i,!1),a=new No({item:e,statement:o});t.addChildBinding(a);var s=e.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(pa(e,s,r),!0),a}(t,e):void 0};na=function(t){ya&&t.getChildBindings().forEach((function(t){"group"===t.getItem().getType()&&na(t)})),t.getItem().getChildren().forEach((function(e){ya?void 0!==e.getProperty()&&ca(t,e):ca(t,e)}))};ca=function(t,e){e instanceof ho?function(t,e){if(null!=e.getProperty()){var r=[];t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(oa(t)){var n=fa(e,t),i=da(e,t),o=ha(e,t);if(n&&i&&o||ya){var a=pa(e,t.getValue(),t.getGraph());if(void 0!==a){aa(t);var s=n?ui.OK:ui.WRONG_NODETYPE;i?o?a.mismatch&&(s=ui.WRONG_VALUE):s=ui.WRONG_PATTERN:s=ui.WRONG_DATATYPE,r.push(new No({item:e,statement:t,choice:a,matchingCode:s}))}}}})),r.length>0&&t.addChildBindings(r)}}(t,e):e instanceof zi?function(t,e){var r,n,i,o,a=e.getPropertyItem(),s=e.getObjectItem(),u=t.getGraph(),l=[];u.find(t.getChildrenRootUri()).forEach((function(t){oa(t)&&fa(s,t)&&ha(s,t)&&void 0!==(i=pa(a,t.getPredicate(),t.getGraph()))&&(n=null,s instanceof Fi?void 0!==(r=ga(u,t.getValue(),s))&&(aa(t),n=new qo({item:e,statement:t,constraints:r}),na(n.getObjectBinding())):s instanceof ho?void 0!==(o=pa(s,t.getValue(),t.getGraph()))&&(aa(t),(n=new qo({item:e,statement:t})).getObjectBinding().setChoice(o)):(aa(t),n=new qo({item:e,statement:t})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))})),l.length>0&&t.addChildBindings(l)}(t,e):e instanceof Fi?function(t,e){var r,n,i,o,a=t.getGraph();void 0!==e.getProperty()?(r=a.find(t.getChildrenRootUri(),e.getProperty())).length>0&&(n=[],r.forEach((function(t){if(oa(t)){var r=ha(e,t),s=fa(e,t);if((r&&s||ya)&&(void 0!==(i=ga(a,t.getValue(),e))||ya)){var u=s?ui.OK:ui.WRONG_NODETYPE;r?void 0===i&&(u=ui.MISSING_CONSTRAINTS):u=ui.WRONG_PATTERN,aa(t),o=new Si({item:e,statement:t,constraints:i,matchingCode:u}),n.push(o),u===ui.OK&&na(o)}}})),t.addChildBindings(n)):(o=new Si({item:e}),t.addChildBindings([o]),na(o))}(t,e):e instanceof ro&&function(t,e){var r=[];null==e.getProperty()?r.push(new ua({item:e,statement:null,matchingCode:ui.OK})):t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(oa(t)&&ha(e,t)){var n=fa(e,t),i=da(e,t);if(n&&(i||e.hasStyle("relaxedDatatypeMatch"))||ya){aa(t);var o=n?ui.OK:ui.WRONG_NODETYPE;i||(o=ui.WRONG_DATATYPE),r.push(new xo({item:e,statement:t,matchingCode:o}))}}})),r.length>0&&t.addChildBindings(r)}(t,e)},fa=function(t,e){var r=e.getType();switch(t.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},da=function(t,e){var r="DATATYPE_LITERAL"===t.getNodetype()&&t.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(e.getDatatype()):e.getDatatype()===r)},ha=function(t,e){var r=t.getPattern(),n=Bn.extractGist(e.getValue(),t.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(t){return!0}return!0},ga=function(t,e,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=t.find(e,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===la(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var t=u[c],e=i[t];if(e instanceof Array){var r=!0;if(e.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,e))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},sa=function(t,e,r){var n=[],i=r.getConstraints();return"object"===la(i)&&null!==i&&Object.keys(i).forEach((function(r){var o=i[r];Array.isArray(o)?n.push(t.create(e,r,{type:"uri",value:o[0]},!1)):n.push(t.create(e,r,{type:"uri",value:o},!1))})),n},pa=function(t,e,r){var n,i;if(t.hasChoices()){for(i=t.getChoices(),n=0;n<i.length;n++)if(i[n].value===e)return i[n];if(!t.hasStyle("strictmatch")||ya)return{value:e,label:{"":e},mismatch:!0}}else{var o=Bn.getLocalizedMap(r,e,t.getLabelProperties());null==o&&ya&&(o={"":e,mismatch:!0});var a=r.findFirstValue(e,No.seeAlso);if(null!=o){var s={label:o,value:e};return a&&(s.seeAlso=a),s}if(null!=Un.getChoice)return Un.getChoice(t,e,a,r)}},aa=function(t){t._dibbs=!0},oa=function(t){return!0!==t._dibbs},ia=function(t){var e,r,n,i=t.getItemGroupedChildBindings()||[];for(e=0;e<i.length;e++)for(n=i[e],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof Si||o instanceof qo)&&ia(o)}};var Sa=function t(e,r){for(var n="/"===r[0]?r.slice(1):r,i=e.getItemGroupedChildBindings(),o=n[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof ho&&void 0===f.getProperty()&&o===f.getId()&&2===n.length&&n[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=t(c,n)))return u;if("*"===o||o===c.getPredicate())if("group"===f.getType()){if(u=t(c,n.slice(1)))return u}else if(1===n.length||"*"===n[1]||n[1]===c.getValue())return c}}},Ea=function(t,e){var r=e[0],n=t;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<e.length;i++){if(".."!==e[i]||!n.getParent())return n;n=n.getParent()}return n}return t},Ta=function(t,e){var r=t.getId(),n={},i={};t.getChoices().forEach((function(t){n[t.value]=0,i[t.value]=t}));e.getChildBindings().forEach((function(t){var e=t.getItem().getDeps();if(e&&(e[0]===r||"/"===e[0]&&e[1]===r)){var i="/"===e[0]?e[2]:e[1],o=n[i];void 0!==o&&(n[i]=o+1)}}));var o,a=0;return Object.keys(n).forEach((function(t){(!o||n[t]>a)&&(o=t,a=n[t])})),i[o]};const ka={detectLevel:function(t){if(t.mandatory>0){if(0===t.recommended&&0===t.optional)return"mandatory";if(0===t.optional)return"mixed_mandatory_recommended";if(0===t.recommended)return"mixed_mandatory_optional"}else{if(t.recommended>0)return 0===t.optional?"recommended":"mixed_recommended_optional";if(0===t.recommended&&t.recommended>0&&0===t.optional)return"optional"}return"mixed_all"},levelProfile:function(t){var e=function t(e,r,n){var i=r.getCardinality();return n&&"group"===r.getType()||(null!=i?i.min>0?e.mandatory+=1:i.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===r.getType()&&r.getChildren().forEach((function(r){return t(e,r)})),e}({mandatory:0,recommended:0,optional:0},t,!0);return e.itemCount=e.mandatory+e.recommended+e.optional,e},findFirstValueBinding:function t(e,r){if(e instanceof xo)return e;for(var n=e.getItemGroupedChildBindings(),i=Dn().locale(),o=0;o<n.length;o++){var a=n[o],s=e.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof ro))return t(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var u={firstValue:a[0]},l=0;l<a.length;l++){var c=a[l].getLanguage();null==c?u.emptyLanguageValue=a[l]:c===i?u.perfectLocaleLanguageValue=a[l]:c.substring(0,1)===i.substring(0,1)?u.localeLanguageValue=a[l]:-1!==c.indexOf("en")?u.defaultLanguageValue=a[l]:u.anyLanguageValue=a[l]}return u.perfectLocaleLanguageValue||u.localeLanguageValue||u.defaultLanguageValue||u.anyLanguageValue||u.firstValue}return a[0]}if(r){var f=xa(e,s,{});return f instanceof xo?(f.setLanguage(i),f):t(f,!0)}}},create:xa,constructTemplate:ba,findPopularChoice:Ta,match:va,fuzzyMatch:ma,matchPathBelowBinding:Sa,findBindingRelativeToParentBinding:Ea,CODES:ui};var Oa=function(t,e){var r=e;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),ja(t,r,!0)},Aa=function(t){for(var e=0,r=0;r<t.length;r++)t[r].isValid()&&(e+=1);return e},Ca=function(t,e){t.length>0&&t[0].getCardinalityTracker().setCode(e)},Pa=function(t,e){if(e.hasStyle("deprecated"))return!0;var r=e.getDeps();if(r){var n=Ea(t,r);if(!Sa(n,r))return!0}return!1},ja=function t(e,r,n){if(e.getMatchingCode()===ui.OK){var i=e.getItem();if(!0===n||e.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var a,s=e.getChildBindings(),u=Aa(s);u>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?a=ui.AT_MOST_ONE_CHILD:1!==u&&i.hasStyle("exactlyOneChild")?a=ui.EXACTLY_ONE_CHILD:0===u&&i.hasStyle("atLeastOneChild")&&(a=ui.AT_LEAST_ONE_CHILD),a&&(Ca([e],a),o.length>0&&r.errors.push({parentBinding:e,item:o[0],code:a}))}else e.getItemGroupedChildBindings().forEach((function(t,n){var i=o[n];if(!Pa(e,i)&&null!=i.getProperty()){var a=Aa(t),s=i.getCardinality();null!=s.min&&s.min>a?(r.errors.push({parentBinding:e,item:i,code:ui.TOO_FEW_VALUES_MIN}),Ca(t,ui.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&r.warnings.push({parentBinding:e,item:i,code:ui.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(r.errors.push({parentBinding:e,item:i,code:ui.TOO_MANY_VALUES}),Ca(t,ui.TOO_MANY_VALUES))}}),void 0);e.getChildBindings().forEach((function(n){var i=n.getItem();n.getMatchingCode()!==ui.OK&&r.errors.push({parentBinding:n,item:i,code:n.getMatchingCode()}),i.hasStyle("deprecated")&&r.deprecated.push(n),Pa(e,i)||"group"===i.getType()&&t(n,r)}))}return r}},Ra=function(t,e){return t.find(null,"rdf:type",e).map((function(t){return t.getSubject()}))},Na=function(t,e,r){for(var n=t;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===e)return!0;if(r[i])return!1;n=n.getParent()}},Ia=function(t,e){var r=t,n=[];for(null!=e.getProperty()&&r.getItem()!==e&&n.push(l(e.getProperty()));null!=r.getItem().getProperty()&&n.push(l(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},La=function(t){var e=t.errors,r=t.warnings,n=t.deprecated;t.errors=e.map((function(t){return{path:Ia(t.parentBinding,t.item),code:t.code}})),t.warnings=r.map((function(t){return{path:Ia(t.parentBinding,t.item),code:t.code}})),t.deprecated=n.map((function(t){return function(t){return"".concat(Ia(t.getParent(),t.getItem())," > ").concat(t.getValue())}(t)}))},Da=function(t,e,r,n){var i=ma(e,t,r),o=Oa(i);return function(t,e,r){var n=t.errors,i=t.warnings,o=t.deprecated;t.errors=n.filter((function(t){return Na(t.parentBinding,e,r)})),t.warnings=i.filter((function(t){return Na(t.parentBinding,e,r)})),t.deprecated=o.filter((function(t){return Na(t,e,r)}))}(o,t,n||{}),La(o),o};const Ma={graphReport:function(t,e){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(e).forEach((function(e){var r=Ra(t,e);o[e]=r,r.forEach((function(t){a[t]=!0}))})),Object.keys(o).forEach((function(i){r=e[i],o[i].forEach((function(e){(n=Da(e,t,r,a)).uri=e,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(t){0===o[t].length&&u.push(t)})),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:Oa};function Fa(t){return(Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ba(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Va(n.key),n)}}function Va(t){var e=function(t,e){if("object"!=Fa(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fa(e)?e:String(e)}var Ua=0;function Wa(t){return(Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ya(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ga(n.key),n)}}function Ga(t){var e=function(t,e){if("object"!=Wa(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wa(e)?e:String(e)}function $a(t,e,r){return e=Xa(e),function(t,e){if(e&&("object"===Wa(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Xa(t).constructor):e.apply(t,r))}function qa(){return(qa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=za(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function za(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xa(t)););return t}function Xa(t){return(Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qa(t,e){return(Qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Za=function(t,e,r){if(0===r.length||e.hasStyle("invisible"))return!1;if(e.getProperty())return!t.filterItem(e);if("group"===e.getType()){var n=e.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find((function(e,r){return Za(t,n[r],e)}))}return!0},Ja=function(t){function e(){return Ha(this,e),$a(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Qa(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this.showLanguage=!1!==t.showLanguage,this.filterTranslations=!1!==t.filterTranslations,this.defaultLanguage=t.defaultLanguage,this.styleCls=t.styleCls||"rdformsPresenter",qa(Xa(e.prototype),"_handleParams",this).call(this,t)}},{key:"showNow",value:function(t,e){return Za(this,t,e)}},{key:"skipBinding",value:function(t){var e=t.getItem(),r="group"===e.getType();return!(!e.getProperty()&&r&&0===e.getChildren().length)&&r&&0===t.getChildBindings().length}},{key:"prepareBindings",value:function(t,e){return t.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===t.getNodetype()&&!t.hasStyle("viewAllTranslations")?ti.filterTranslations(e,this.getLocale(),this.defaultLanguage):e}},{key:"addLabel",value:function(t,e,r){r.hasStyle("noLabelInPresent")?ti.domClassToggle(t,"rdformsInvisibleGroup",!0):ti.renderPresenterLabel(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return ti.addPresenterTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){return ti.fillPresenterTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ti.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(t,e){ti.renderPresenter(t,e,this.context)}},{key:"truncateAt",value:function(t,e){return"group"!==t.getType()&&e&&e.length>this.truncateLimit&&(this.truncate||t.hasStyle("truncate"))&&!t.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&Ya(r.prototype,n),i&&Ya(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._viewId=Ua,Ua+=1,this.locale=e.locale,this.defaultTextLanguage=e.defaultTextLanguage,this.messages=e.messages,this.parentView=e.parentView,this.srcNodeRef=r,this.binding=e.binding||null,this.template=e.template||null,this.graph=e.graph||null,this.resource=e.resource||"",this.topLevel=!1!==e.topLevel,this.compact=!1!==e.compact,this.showDescription=!0===e.showDescription,this.styleCls=e.styleCls||"",this.truncateLimit=void 0!==e.truncateLimit?e.truncateLimit:10,this.truncate=void 0!==e.truncate&&e.truncate,Array.isArray(e.filterPredicates)?this.filterPredicates=e.filterPredicates.reduce((function(t,e){return t[e]=!0,t}),{}):"object"===Fa(e.filterPredicates)?this.filterPredicates=e.filterPredicates:"string"==typeof e.filterPredicates?this.filterPredicates=e.filterPredicates.split(",").reduce((function(t,e){return t[e]=!0,t}),{}):this.filterPredicates=null,this.restrictToItem=e.restrictToItem,this.fuzzy=!0===e.fuzzy,this.markOrigin=!1!==e.markOrigin,this._handleParams(e),this._labelIndex={},this.domNode=ti.createDomNode(r,this),ti.domClassToggle(this.domNode,"rdforms",!0),ti.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var e,r,n;return e=t,(r=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(t){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var e=this.namedGraphs[t];return void 0===e&&(e=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[t]=e,this.namedGraphCounter+=1),e}}},{key:"getNamedGraphFromId",value:function(t){var e=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(r){return e.namedGraphs[r]===t})):void 0}},{key:"destroy",value:function(){ti.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(t){if(t.binding)this.binding=t.binding;else{if(this.template=t.template||this.template,this.graph=t.graph||this.graph,this.resource=t.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=ma(this.graph,this.resource,this.template),Oa(this.binding)):this.binding=va(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(t){return"group"===t.getType()&&(t.hasStyle("table")||t.hasClass("rdformsTable"))}},{key:"show",value:function(t){this._handleParams(t),this.render()}},{key:"render",value:function(){if(ti.domText(this.domNode,""),null!=this.binding&&(this.messages||(this.messages=ti.getMessages()),null!=this.binding)){var t,e,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")?ti.domClassToggle(this.domNode,"compact",!1):ti.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<a.length;t++)if(n=a[t],i=o[t],(!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&&(e=this.addTable(r,n[0],i),this.fillTable(e,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 Si,u,s);if(-1!==s){var l=ti.domQuery(".rdformsFields",r);l&&ti.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(t,e,r,n,i){var o,a,s=r,u=e.getItem();if(!this.skipBinding(e)){if(null==s&&(s=e instanceof Si),!0===s){a=this.createRowNode(t,e,u);var l=ti.domCreate("div",a);ti.domClassToggle(l,"rdformsFields",!0),-1!==i&&ti.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&ti.domClassToggle(l,"rdformsInline",!0),o=ti.domCreate("div",l),this.createEndOfRowNode(a,e,u)}else{var c=ti.domQuery(".rdformsFields",t);if(null!=c)o=ti.domCreate("div",c),ti.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&ti.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=ti.domCreate("div",t);ti.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&ti.domClassToggle(f,"rdformsInline",!0),o=ti.domCreate("div",f),this.createEndOfRowNode(a,e,u)}}if(this.markOrigin){var d=this.getNamedGraphId(e);d?(ti.domClassToggle(o,"rdformsOrigin",!0),ti.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(ti.domClassToggle(o,"rdformsOrigin",!0),ti.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?ti.domClassToggle(o,"rdformsGroup",!0):ti.domClassToggle(o,"rdformsField",!0),this._binding2node[e.getHash()]=o,this.addComponent(o,e),u.hasStyle("invisible")&&ti.domClassToggle(a||t,"rdformsInvisible",!0),a||t}}},{key:"createRowNode",value:function(t,e,r){var n;n=null==t?ti.domCreate("div",this.domNode,e?this.getRowIndex(e):void 0):ti.domCreateAfter("div",t,e?this.getRowIndex(e):void 0),r.getClasses().forEach((function(t){ti.domClassToggle(n,t,!0)})),ti.domClassToggle(n,"rdformsRow",!0),ti.domClassToggle(n,"rdformsTopLevel",this.topLevel),ti.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),ti.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),ti.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),ti.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,e,r),e&&this.filterBinding(e)&&ti.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&ti.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(t,e,r){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(t){return this.filterItem(t.getItem())}},{key:"filterItem",value:function(t){var e=this,r=this._getFilterPredicates();return!!r&&function t(r,n){var i=r.getId();if(i&&Object.keys(n).includes(i))return!0;var o=r.getProperty();if(o){for(var a=!0,s=e;s.parentView;)s.getBinding().getItem().getProperty()&&(a=!1),s=s.parentView;var l=u(o);return a?!0===n[o]||!0===n[l]||!0===n["*".concat(o)]||!0===n["".concat(l)]:!0===n["*".concat(o)]||!0===n["*".concat(l)]}if("group"===r.getType()){var c=r.getChildren()||[],f=!1;return c.forEach((function(e){t(e,n)||(f=!0)})),!f}return!1}(t,r)}},{key:"filterProperty",value:function(t){return!0===(this._getFilterPredicates()||{})[t]}},{key:"getLabelIndex",value:function(t){var e,r=this;return t.getParent().getChildBindingsFor(t.getItem()).reverse().find((function(t){return void 0!==(e=r._labelIndex[t.getHash()])})),void 0!==e?e:this.parentView?this.parentView.getLabelIndex(t.getParent()):""}},{key:"createLabelIndex",value:function(t){var e="".concat(t.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[t.getHash()]=e,e}},{key:"getRowIndex",value:function(t){return"".concat(t.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(t){return!1}},{key:"truncateAt",value:function(t,e){return-1}},{key:"getLocale",value:function(){return this.locale||(this.parentView?this.parentView.getLocale():Dn().locale())}},{key:"getDefaultTextLanguage",value:function(){return this.defaultTextLanguage||(this.parentView?this.parentView.getDefaultTextLanguage():this.getLocale())}}])&&Ba(e.prototype,r),n&&Ba(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function Ka(t){return(Ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,rs(n.key),n)}}function rs(t){var e=function(t,e){if("object"!=Ka(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ka(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ka(e)?e:String(e)}function ns(t,e,r){return e=as(e),function(t,e){if(e&&("object"===Ka(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],as(t).constructor):e.apply(t,r))}function is(){return(is="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=os(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function os(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=as(t)););return t}function as(t){return(as=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ss(t,e){return(ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var us=function(t,e,r,n){if(e.hasStyle("presenterOnly"))return!1;if(e.hasStyle("deprecated")&&0===r.length)return!1;var i=e.getProperty();if(r.length>0){if(i)return!t.filterItem(e);if("group"!==e.getType())return!0;var o=e.getChildren();if(0===o.length)return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find((function(e,r){return us(t,o[r],e,n)})))return!0;if(!i)return!1}var a=e.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},ls=function(t){function e(){return ts(this,e),ns(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ss(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this._subEditors=this._subEditors||[],this.includeLevel=t.includeLevel||"recommended",this.hideAddress=!1!==t.hideAddress,t.styleCls=t.styleCls||"rdformsEditor",t.filterTranslations=void 0!==t.filterTranslations&&t.filterTranslations,is(as(e.prototype),"_handleParams",this).call(this,t)}},{key:"getSubEditorForBinding",value:function(t){return this._subEditors.find((function(e){return e.getBinding()===t}))}},{key:"report",value:function(t){var e=this,r=t||Oa(this.binding);Object.keys(this._binding2node).forEach((function(t){ti.domClassToggle(e._binding2node[t],"errorReport",!1)}));for(var n=function(){var t=r.errors[i];if(t.parentBinding===e.binding)if(t.code===ui.TOO_FEW_VALUES_MIN){var n=t.item,o=n.getCardinality().min;e.binding.getChildBindingsFor(n).find((function(t){return o-=1,t.isValid()||ti.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0),0===o}))}else t.code===ui.AT_MOST_ONE_CHILD&&e.binding.getChildBindings().forEach((function(t){t.getMatchingCode()!==ui.OK&&ti.domClassToggle(e._binding2node[t.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(t){this.includeLevel!==t&&(this.includeLevel=t,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=va(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(t){this._subEditors=[],is(as(e.prototype),"show",this).call(this,t)}},{key:"showNow",value:function(t,e){return us(this,t,e,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(t,e){var r,n=e,i=t.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===t.getType()?1:"group"===t.getType()?(t.getProperty(),1):1,t.hasStyle("nonEditable")&&!t.hasStyle("autoInitDate")&&!t.hasStyle("autoUpdateDate")&&!t.hasStyle("autoUUID")&&!t.hasStyle("autoValue")&&!t.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(xa(this.binding,t));return n}},{key:"addLabel",value:function(t,e,r){ti.renderEditorLabel(t,e,r,this.context)}},{key:"createEndOfRowNode",value:function(t,e,r){ti.renderEditorLabelScopeEnd(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return e.getItem().hasStyle("nonEditable")?this.addComponent(t,e):ti.addEditorTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){ti.fillEditorTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ti.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(t,e){this.context.inEditor=!0,e.getItem().hasStyle("nonEditable")?ti.renderPresenter(t,e,this.context):ti.renderEditor(t,e,this.context)}},{key:"createRowNode",value:function(t,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=is(as(e.prototype),"createRowNode",this).call(this,t,r,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=Ta(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(t){t?(ti.domClassToggle(i,"missingDepsWithValue",!1),ti.domClassToggle(i,"missingDeps",!1)):r.isValid()?ti.domClassToggle(i,"missingDepsWithValue",!0):ti.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(t)},u=Ea(r.getParent(),a);Sa(u,a)||s(!1),u.addListener((function t(){r.getParent()?s(Sa(u,a)):u.removeListener(t)}))}return this.filterBinding(r)&&ti.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&ti.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(t){return ti.multiValueSupport&&(t.hasStyle("horizontalCheckBoxes")||t.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(t,e){return-1}}])&&es(r.prototype,n),i&&es(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ja);ti.renderPresenterLabel=function(t,e,r,n,i){var o=n.view instanceof ls&&r.getEditLabelMap()||r.getLabelMap(),a=Bn.getLocalizedValue(o,n.view.getLocale()).value;a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=r.hasStyle("heading")?ri()('<h2 class="rdformsLabel" tabindex="0">').text(a).appendTo(t):ri()('<div class="rdformsLabel" tabindex="0">').text(a).appendTo(t);e&&s.attr("id",n.view.createLabelIndex(e)),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=Bn.getLocalizedValue(r.getDescriptionMap(),n.view.getLocale()).value;!l&&c&&ri()('<div class="rdformsDescription" tabindex="0">').text(c).appendTo(t)}ti.attachItemInfo(r,s[0],n)},ti.attachItemInfo=function(t,e,r){if(null!=t&&null!=t.getDescriptionMap()){var n=Bn.getLocalizedValue(t.getDescriptionMap(),r.view.getLocale()).value;e.setAttribute("title",n)}};const cs=function(t){return function(e){return null==t?void 0:t[e]}}({"&":"&","<":"<",">":">",'"':""","'":"'"});const fs=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i};const ds=function(t){return"symbol"==typeof t||ze(t)&&"[object Symbol]"==te(t)};var hs=Gt?Gt.prototype:void 0,ps=hs?hs.toString:void 0;const gs=function t(e){if("string"==typeof e)return e;if(tr(e))return fs(e,t)+"";if(ds(e))return ps?ps.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const ys=function(t){return null==t?"":gs(t)};var vs=/[&<>"']/g,ms=RegExp(vs.source);const bs=function(t){return(t=ys(t))&&ms.test(t)?t.replace(vs,cs):t};var ws=function(t){switch(t){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}},_s=function(t,e){var r=t.getValue();if(null!=r&&""!==r){var n=t.getItem(),i=function(t){try{if(t.includes(":")&&!t.includes("T")){var e=(new Date).toISOString().substr(0,11),r=new Date("".concat(e).concat(t));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(t)}catch(t){return null}}(r);if(i){var o=function(t){return t.indexOf("T")>0?"DateTime":t.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(t)?"YearMonth":/^\d\d-\d\d$/.test(t)?"MonthDay":t.length>4?"Date":"Year"}(r),a=ws(t.getDatatype()),s=function(t){var e=t.getDatatype();return Array.isArray(e)?ws(e[0]):ws(e)}(n),u=function(t){var e={},r=t.getDatatype();return(Array.isArray(r)?r:[r]).forEach((function(t){var r=ws(t);r&&(e[r]=!0)})),e}(n);return function(t,e,r){switch(t){case"DateTime":return Dn()(e).locale(r).format("lll");case"Date":return Dn()(e).locale(r).format("LL");case"Time":return Dn()(e).locale(r).format("LT");case"Year":return Dn()(e).locale(r).format("YYYY");case"YearMonth":return Dn()(e).locale(r).format("MMMM YYYY");case"MonthDay":return Dn()(e).locale(r).format("D MMMM");default:return""}}(u[a]?a:u[o]?o:s,i,e)}}},xs=r(19755),Ss=ti.presenterRegistry;Ss.itemtype("text").nodetype("URI").register((function(t,e){var r=Bn.getLocalizedMap(e),n=xs('<a class="rdformsUrl">').attr("title",e.getValue()).attr("href",e.getValue()).appendTo(t);e.getItem().hasStyle("showValue")?n.text(e.getValue()):r?n.text(Bn.getLocalizedValue(r).value):n.text(e.getGist()),e.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(n[0],e):Un.attachLinkBehaviour(n[0],e)})),Ss.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,e,r){var n,i=e.getValue(),o=e.getItem().getChildren().find((function(t){return t.hasStyle("label")})),a=o?ti.filterTranslations(e.getChildBindingsFor(o),r.view.getLocale(),r.view.defaultLanguage):[],s=e.getItem().getChildren().find((function(t){return t.hasStyle("tooltip")})),u=s?ti.filterTranslations(e.getChildBindingsFor(s),r.view.getLocale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=xs('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(t);if(a.length>0)n=a[0].getValue();else{var f=Bn.getLocalizedMap(e);n=e.getItem().hasStyle("showValue")?i:f?Bn.getLocalizedValue(f).value||i:e.getGist()}c.text(n),e.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(c[0],e):Un.attachLinkBehaviour(c[0],e)})),Ss.itemtype("text").nodetype("URI").style("image").register((function(t,e){xs('<img class="rdformsImage">').attr("src",e.getGist()).appendTo(t)})),Ss.itemtype("text").register((function(t,e,r){var n=e.getLanguage();r.view.showLanguage&&n&&xs('<div class="rdformsLanguage">').text(n).appendTo(t);var i=bs(e.getItem().hasStyle("showValue")?e.getValue():e.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=e.getParent();if(e.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===e.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=xs('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(t);n&&a.attr("lang",n),Un.attachLinkBehaviour(a[0],o)}else{var s=xs("<div>").html(i).appendTo(t);n&&s.attr("lang",n)}e.getItem().hasStyle("multiline")?xs(t).toggleClass("rdformsMultiline",!0):xs(t).toggleClass("rdformsSingleline",!0)})),Ss.itemtype("text").datatype("xsd:duration").register((function(t,e,r){var n=function(t){var e,r=function(t){return t&&t.length>1?parseInt(t[0],10):0},n=r(t.match(/([0-9])*Y/)),i=r(t.match(/([0-9])*D/)),o=r(t.match(/([0-9])*H/)),a=0;if(-1===t.indexOf("T"))e=r(t.match(/([0-9])*M/));else{var s=t.split("T");e=r(s[0].match(/([0-9])*M/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:e,days:i,hours:o,minutes:a}}(e.getValue()),i=r.view.messages,o=xs("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){n.hasOwnProperty(t)&&0!==n[t]&&xs('<span class="durationLabel">'.concat(i["duration_".concat(t)],':</span><span class="durationValue">').concat(n[t],"</span>")).appendTo(o)}))}));var Es=function(t,e,r){try{var n=_s(e,r.view.getLocale());xs("<div>").html(n).appendTo(t)}catch(t){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(e.getValue(),"' instead."))}};Ss.itemtype("text").datatype("xsd:dateTime").register(Es),Ss.itemtype("text").datatype("xsd:date").register(Es),Ss.itemtype("text").datatype("xsd:time").register(Es),Ss.itemtype("text").datatype("xsd:gYear").register(Es),Ss.itemtype("text").datatype("xsd:gYearMonth").register(Es),Ss.itemtype("text").datatype("xsd:gMonthDay").register(Es),Ss.itemtype("text").datatype("dcterms:W3CDTF").register(Es);var Ts=r(19755),ks=ti.presenterRegistry,Os=function(t){return function(e,r,n){var i,o=r.getChoice();o&&(o.description&&(i=Bn.getLocalizedValue(o.description,n.view.getLocale()).value),t(e,r,o,i,n.view.getLocale()))}};ks.itemtype("choice").style("image").register(Os((function(t,e,r,n){Ts('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(t)}))),ks.itemtype("choice").style("stars").register(Os((function(t,e,r){isNaN(parseInt(r.value,10))||Ts('<span class="rdformsStar">').appendTo(t)}))),ks.itemtype("choice").register(Os((function(t,e,r,n,i){var o,a=e.getItem(),s=Bn.getLocalizedValue(r.label,i);a.hasStaticChoices()&&!a.hasStyle("externalLink")||a.hasStyle("noLink")?o=Ts("<div>").attr("title",n||r.seeAlso||r.value).text(Bn.getLocalizedValue(r.label,i).value).appendTo(t):(o=Ts('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(s.value).appendTo(t),a.hasStyle("externalLink")?Un.attachExternalLinkBehaviour(o[0],e):Un.attachLinkBehaviour(o[0],e)),null!=r.load&&r.load((function(){var t=Bn.getLocalizedValue(r.label,i);o.text(t.value),t.lang?o.attr("lang",t.lang):o.attr("lang",void 0)})),s.lang&&o.attr("lang",s.lang)}))),ti.addPresenterTable=function(t,e,r){var n=e.getItem(),i=n.getChildren(),o=ri()("<table>").addClass("rdformsGroup").appendTo(t);ri()("<thead>").appendTo(o);for(var a=ri()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=ri()("<th>").appendTo(a),l=Bn.getLocalizedValue(i[s].getLabel(),r.view.getLocale()).value;ti.attachItemInfo(n,ri()("<span>").text(l).appendTo(u),r)}return o[0]},ti.fillPresenterTable=function(t,e,r){if(0!==e.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<e.length;n++)for(o=e[n].getItemGroupedChildBindings(),a=ri()("<tr>").appendTo(t),i=0;i<o.length;i++)o[i].length>0?ti.renderPresenter(ri()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):ri()("<td>").appendTo(a);r.view.topLevel=s}};var As=function(t,e){var r=document.createElement(t);return e&&(r.id=e),r};ti.domQuery=function(t,e){return e.querySelector(t)},ti.domCreate=function(t,e,r){return e.appendChild(As(t,r))},ti.domCreateAfter=function(t,e,r){return e.parentNode.insertBefore(As(t,r),e.nextSibling)},ti.domSetAttr=function(t,e,r){""===r||null===r?t.removeAttribute(e):t.setAttribute(e,r)},ti.domText=function(t,e){t.innerText=e},ti.domClassToggle=function(t,e,r){e.split(" ").forEach((function(e){r?t.classList.add(e):t.classList.remove(e)}))},ti.prePresenterViewRenderer=ti.preEditorViewRenderer,ti.addTruncateControl=function(t,e){var r=e.view.messages,n=ti.domCreate("button",t);ti.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){ti.domClassToggle(t,"rdformsTruncated",!1)};var i=ti.domCreate("button",t);ti.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){ti.domClassToggle(t,"rdformsTruncated",!0)}};var Cs=r(93379),Ps=r.n(Cs),js=r(7795),Rs=r.n(js),Ns=r(90569),Is=r.n(Ns),Ls=r(3565),Ds=r.n(Ls),Ms=r(19216),Fs=r.n(Ms),Bs=r(44589),Vs=r.n(Bs),Us=r(40719),Ws={};Ws.styleTagTransform=Vs(),Ws.setAttributes=Ds(),Ws.insert=Is().bind(null,"head"),Ws.domAPI=Rs(),Ws.insertStyleElement=Fs();Ps()(Us.Z,Ws);Us.Z&&Us.Z.locals&&Us.Z.locals;var Hs="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},Ys="URLSearchParams"in Hs,Gs="Symbol"in Hs&&"iterator"in Symbol,$s="FileReader"in Hs&&"Blob"in Hs&&function(){try{return new Blob,!0}catch(t){return!1}}(),qs="FormData"in Hs,zs="ArrayBuffer"in Hs;if(zs)var Xs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Qs=ArrayBuffer.isView||function(t){return t&&Xs.indexOf(Object.prototype.toString.call(t))>-1};function Zs(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Js(t){return"string"!=typeof t&&(t=String(t)),t}function Ks(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Gs&&(e[Symbol.iterator]=function(){return e}),e}function tu(t){this.map={},t instanceof tu?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function eu(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function ru(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function nu(t){var e=new FileReader,r=ru(e);return e.readAsArrayBuffer(t),r}function iu(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ou(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:$s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:qs&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Ys&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():zs&&$s&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=iu(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):zs&&(ArrayBuffer.prototype.isPrototypeOf(t)||Qs(t))?this._bodyArrayBuffer=iu(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Ys&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$s&&(this.blob=function(){var t=eu(this);if(t)return t;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 t=eu(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if($s)return this.blob().then(nu);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t=eu(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=ru(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},qs&&(this.formData=function(){return this.text().then(uu)}),this.json=function(){return this.text().then(JSON.parse)},this}tu.prototype.append=function(t,e){t=Zs(t),e=Js(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},tu.prototype.delete=function(t){delete this.map[Zs(t)]},tu.prototype.get=function(t){return t=Zs(t),this.has(t)?this.map[t]:null},tu.prototype.has=function(t){return this.map.hasOwnProperty(Zs(t))},tu.prototype.set=function(t,e){this.map[Zs(t)]=Js(e)},tu.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},tu.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),Ks(t)},tu.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),Ks(t)},tu.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),Ks(t)},Gs&&(tu.prototype[Symbol.iterator]=tu.prototype.entries);var au=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function su(t,e){if(!(this instanceof su))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof su){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new tu(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new tu(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),au.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in Hs)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"!==e.cache&&"no-cache"!==e.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 uu(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function lu(t,e){if(!(this instanceof lu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.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===e.statusText?"":""+e.statusText,this.headers=new tu(e.headers),this.url=e.url||"",this._initBody(t)}su.prototype.clone=function(){return new su(this,{body:this._bodyInit})},ou.call(su.prototype),ou.call(lu.prototype),lu.prototype.clone=function(){return new lu(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tu(this.headers),url:this.url})},lu.error=function(){var t=new lu(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var cu=[301,302,303,307,308];lu.redirect=function(t,e){if(-1===cu.indexOf(e))throw new RangeError("Invalid status code");return new lu(null,{status:e,headers:{location:t}})};var fu=Hs.DOMException;try{new fu}catch(t){(fu=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),fu.prototype.constructor=fu}function du(t,e){return new Promise((function(r,n){var i=new su(t,e);if(i.signal&&i.signal.aborted)return n(new fu("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var t,e,n={statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new tu,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{e.append(n,i)}catch(t){console.warn("Response "+t.message)}}})),e)};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 lu(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 fu("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&Hs.location.href?Hs.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&($s?o.responseType="blob":zs&&(o.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof tu||Hs.Headers&&e.headers instanceof Hs.Headers)){var s=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){s.push(Zs(t)),o.setRequestHeader(t,Js(e.headers[t]))})),i.headers.forEach((function(t,e){-1===s.indexOf(e)&&o.setRequestHeader(e,t)}))}else i.headers.forEach((function(t,e){o.setRequestHeader(e,t)}));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)}))}du.polyfill=!0,Hs.fetch||(Hs.fetch=du,Hs.Headers=tu,Hs.Request=su,Hs.Response=lu);r(60429);const hu=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const pu=function(t){return this.__data__.has(t)};function gu(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Me;++e<r;)this.add(t[e])}gu.prototype.add=gu.prototype.push=hu,gu.prototype.has=pu;const yu=gu;const vu=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};const mu=function(t,e){return t.has(e)};const bu=function(t,e,r,n,i,o){var a=1&r,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t),c=o.get(e);if(l&&c)return l==e&&c==t;var f=-1,d=!0,h=2&r?new yu:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],g=e[f];if(n)var y=a?n(g,p,f,e,t,o):n(p,g,f,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(h){if(!vu(e,(function(t,e){if(!mu(h,e)&&(p===t||i(p,t,r,n,o)))return h.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,r,n,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const wu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};const _u=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var xu=Gt?Gt.prototype:void 0,Su=xu?xu.valueOf:void 0;const Eu=function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new hn(t),new hn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ct(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=wu;case"[object Set]":var u=1&n;if(s||(s=_u),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var c=bu(s(t),s(e),n,i,o,a);return a.delete(t),c;case"[object Symbol]":if(Su)return Su.call(t)==Su.call(e)}return!1};var Tu=Object.prototype.hasOwnProperty;const ku=function(t,e,r,n,i,o){var a=1&r,s=Zr(t),u=s.length;if(u!=Zr(e).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in e:Tu.call(e,c)))return!1}var f=o.get(t),d=o.get(e);if(f&&d)return f==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<u;){var g=t[c=s[l]],y=e[c];if(n)var v=a?n(y,g,c,e,t,o):n(g,y,c,t,e,o);if(!(void 0===v?g===y||i(g,y,r,n,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(e),h};var Ou=Object.prototype.hasOwnProperty;const Au=function(t,e,r,n,i,o){var a=tr(t),s=tr(e),u=a?"[object Array]":cn(t),l=s?"[object Array]":cn(e),c="[object Object]"==(u="[object Arguments]"==u?"[object Object]":u),f="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d=u==l;if(d&&or(t)){if(!or(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Ve),a||vr(t)?bu(t,e,r,n,i,o):Eu(t,e,u,r,n,i,o);if(!(1&r)){var h=c&&Ou.call(t,"__wrapped__"),p=f&&Ou.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,y=p?e.value():e;return o||(o=new Ve),i(g,y,r,n,o)}}return!!d&&(o||(o=new Ve),ku(t,e,r,n,i,o))};const Cu=function t(e,r,n,i,o){return e===r||(null==e||null==r||!ze(e)&&!ze(r)?e!=e&&r!=r:Au(e,r,n,i,t,o))};const Pu=function(t,e){return Cu(t,e)};function ju(t){return(ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ru(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Nu(n.key),n)}}function Nu(t){var e=function(t,e){if("object"!=ju(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ju(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ju(e)?e:String(e)}var Iu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._registry={}}var e,r,n;return e=t,(r=[{key:"importRegistry",value:function(t){Object.assign(this._registry,t)}},{key:"getChoices",value:function(t,e){var r=this._findChoices(t);if(null==r);else{if(null==e)return r;e(r)}}},{key:"_findChoices",value:function(t){var e=this._registry[t.getOntologyUrl()];if(null!=e)for(var r=0;r<e.length;r++){var n=e[r];if(Pu(n.constraints,t.getConstraints())&&t.getParentProperty()===n.parentProperty&&t.getHierarchyProperty()===n.hierarchyProperty&&t.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&t.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(t){var e=[];if(e.push("constr=".concat(encodeURIComponent(JSON.stringify(t.getConstraints())))),null!=t.getParentProperty()){var r=!0===t.isParentPropertyInverted()?"ipp=":"pp=";e.push(r+encodeURIComponent(t.getParentProperty()))}if(null!=t.getHierarchyProperty()){var n=!0===t.isHierarchyPropertyInverted()?"ihp=":"hp=";e.push(n+encodeURIComponent(t.getHierarchyProperty()))}return"".concat(t.getOntologyUrl(),"?").concat(e.join("&"))}}])&&Ru(e.prototype,r),n&&Ru(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Lu(t){return(Lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Du(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mu(n.key),n)}}function Mu(t){var e=function(t,e){if("object"!=Lu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Lu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Lu(e)?e:String(e)}var Fu=0,Bu=function(){function t(e){var r=e.itemStore,n=e.source,i=e.path,o=e.readOnly,a=void 0!==o&&o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Fu+=1,this._id="_bundle_".concat(Fu),this._root=null,this._modified=!1}var e,r,n;return e=t,(r=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(t){return this._source.root=t,t}},{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(t){this._items.push(t)}},{key:"removeItem",value:function(t){this._items.splice(this._items.indexOf(t),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(t){this._modified=t}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&Du(e.prototype,r),n&&Du(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Vu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Uu(n.key),n)}}function Uu(t){var e=function(t,e){if("object"!=Wu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wu(e)?e:String(e)}function Wu(t){return(Wu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Hu=function t(e,r){if(!e||!r)return void 0===r?e:r;if(Array.isArray(e)&&Array.isArray(r))return[].concat(origSource[key],extSource[key]);if("object"===Wu(e)&&"object"===Wu(r)){var n={};return Object.keys(e).concat(Object.keys(r)).forEach((function(i){n[i]=t(e[i],r[i])})),n}return r},Yu=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.automaticSortAllowed=!0,this.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=e||new Iu}var e,r,n;return e=t,(r=[{key:"getTemplate",value:function(t){return this.getItem(t)}},{key:"getChildren",value:function(t,e){if(null==t)return[];var r=t.getSource(!0),n=r.content||r.items||[];if(e)return this._createItems(n,t._forceChildrenClones,t.getBundle());var i=this.getItem(r.extends);if(i){var o=t.getChildren(!0);return t.getEnhanced("items")||0===o.length?i.getChildren().concat(o):o}return t.getChildren(!0)}},{key:"getItem",value:function(t){if(null!=t)return this._registry[t]}},{key:"getItems",value:function(){var t=this;return Object.keys(this._registry).map((function(e){return t._registry[e]}))}},{key:"renameItem",value:function(t,e){if(this._registry[e])this._handleError("Cannot rename to ".concat(e," since an item with that id already exists."));else if(""!==e&&null!==e){var r=this._registry[t];r&&(delete this._registry[t],this._registry[e]=r,r.setId(e));for(var n=function r(n){var i=n.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==t&&a["@id"]!==t||(a.id=e,delete a["@id"]),a.content&&r(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof Fi&&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(t){return this._registryByProperty[t]}},{key:"detectTemplate",value:function(t,e,r){return ba(t,e,this,r)}},{key:"registerBundle",value:function(t){t.itemStore=this;var e=new Bu(t);this._bundles.push(e),t.source&&t.source.namespaces&&f(t.source.namespaces);var r=t.source.templates||t.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,e),"object"===Wu(t.source.cachedChoices)&&this._ontologyStore.importRegistry(t.source.cachedChoices),e}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(t){return this.registerBundle({source:t}).getRoot()}},{key:"createTemplateFromChildren",value:function(t){var e=this,r=(t||[]).map((function(t){return"string"==typeof t?e.getItem(t):t}));return new Fi({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(t){this.priorities=t}},{key:"createExtendedSource",value:function(t,e){var r=Object.assign({},t,e);return e.enhanced&&(!0===e.enhanced?Object.keys(t).concat(Object.keys(e)):Object.keys(e.enhanced)).forEach((function(n){r[n]=Hu(t[n],e[n])})),r._extendedSource=e,r.extends=null,delete r.children,r}},{key:"createItem",value:function(t,e,r,n){var i,o=t.id||t["@id"],a=t.type||t["@type"];if(t.extends){var s=this._registry[t.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(t.extends)),s){var u=this.createExtendedSource(s.getSource(),t);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new ro({source:t,itemStore:this,bundle:n});break;case"choice":i=new ho({source:t,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new Fi({source:t,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new zi({source:t,children:null,itemStore:this,bundle:n})}return!0!==r&&(null!=t.property&&(this._registryByProperty[t.property]=i,this.priorities&&null!=this.priorities[t.property]&&(i.priority=this.priorities[t.property])),null!=o&&null==this._registry[o]&&(this._registry[o]=i,null!=n&&n.addItem(i))),i}if(null!=o){if(null!=this._registry[o]){if(!0===e||Object.keys(t).find((function(t){return"id"!==t&&"@id"!==t}))){var l=Object.assign(Object.assign({},this._registry[o]._source),t);return this.createItem(l,!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(t,e){var r=t.getBundle();null!=r&&r.removeItem(t),null!=t.getId()&&delete this._registry[t.getId()];var n=t.getProperty();null!=n&&this._registryByProperty[n]===t&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(t,e,r){var n=this;return t.map((function(i,o){var a="string"==typeof i?t[o]={id:i}:i;return n.createItem(a,e,!1,r)})).filter((function(t){return t}))}},{key:"_handleError",value:function(t){if("throw"===this.handleErrorAs)throw new Error(t);console[this.handleErrorAs](t)}}])&&Vu(e.prototype,r),n&&Vu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(73964),r(58373),r(66793),r(7629),r(77509);function Gu(t){return(Gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new C(n||[]);return i(a,"_invoke",{value:T(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var d="suspendedStart",h="executing",p="completed",g={};function y(){}function v(){}function m(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=m.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,o,a,s){var u=f(t[i],t,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==Gu(c)&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(c).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function T(e,r,n){var i=d;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(e,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(Gu(e)+" is not iterable")}return v.prototype=m,i(x,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:v,configurable:!0}),v.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),l(x,u,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function qu(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function zu(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){qu(o,n,i,a,s,"next",t)}function s(t){qu(o,n,i,a,s,"throw",t)}a(void 0)}))}}var Xu=function(t,e,r){var n="Fetching template bundle ".concat(r," failed.");if(t===e-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},Qu=function(){var t=zu($u().mark((function t(e){var r,n,i,o,a;return $u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.length,o=0;case 2:if(!(o<r)){t.next=34;break}return t.prev=3,t.next=6,fetch(e[o]);case 6:n=t.sent,t.next=12;break;case 9:throw t.prev=9,t.t0=t.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(e[o]));case 12:if(!n||!n.ok){t.next=30;break}if(t.prev=13,!(a=n.headers.has("content-type")&&n.headers.get("content-type"))||!a.includes("application/json")){t.next=22;break}return t.next=18,n.json();case 18:return i=t.sent,t.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(e[o],". Expected a JSON file and got ").concat(a));case 23:t.next=28;break;case 25:t.prev=25,t.t1=t.catch(13),Xu(o,r,e[o]);case 28:t.next=31;break;case 30:Xu(o,r,e[o]);case 31:o++,t.next=2;break;case 34:return t.abrupt("return",i);case 35:case"end":return t.stop()}}),t,null,[[3,9],[13,25]])})));return function(e){return t.apply(this,arguments)}}(),Zu=function(t){return t.map((function(t){return t instanceof Array?Qu(t):Promise.resolve(t)}))},Ju=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map((function(e){return t.registerBundle({source:e})}))};const Ku=function(){var t=zu($u().mark((function t(e){var r,n,i,o,a,s=arguments;return $u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===r.length&&n&&n([]),i=Zu(r),t.next=6,Promise.all(i);case 6:return o=t.sent,a=Ju(e,o),n(a),t.abrupt("return",a);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})(),n})());
|