From 498479ef0b0804ad0de6924d18c7f005434e1b57 Mon Sep 17 00:00:00 2001 From: drl990114 Date: Mon, 6 May 2024 02:47:53 +0000 Subject: [PATCH] deploy: 1481b5bcc46382470c05e6c4f0a90fcd73983553 --- 404.html | 2 +- components/button/index.html | 2 +- components/dialog/index.html | 2 +- components/input/index.html | 2 +- components/menu/index.html | 2 +- components/popover/index.html | 2 +- components/toast/index.html | 2 +- components/tooltip/index.html | 2 +- getting-started/index.html | 2 +- index.html | 2 +- umi.05b30f42.js => umi.a81af7c2.js | 98 +++++++++++------------ ~demos/:id/index.html | 2 +- ~demos/dialog-demo-basic/index.html | 2 +- ~demos/input-demo-basic/index.html | 2 +- ~demos/menu-demo-basic/index.html | 2 +- ~demos/menu-demo-contextmenu/index.html | 2 +- ~demos/popover-demo-basic/index.html | 2 +- ~demos/src-button-demo-basic/index.html | 2 +- ~demos/src-button-demo-btntype/index.html | 2 +- ~demos/toast-demo-basic/index.html | 2 +- ~demos/tooltip-demo-basic/index.html | 2 +- 21 files changed, 69 insertions(+), 69 deletions(-) rename umi.05b30f42.js => umi.a81af7c2.js (74%) diff --git a/404.html b/404.html index 17a1e94..5558a16 100644 --- a/404.html +++ b/404.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/button/index.html b/components/button/index.html index 17a1e94..5558a16 100644 --- a/components/button/index.html +++ b/components/button/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/dialog/index.html b/components/dialog/index.html index 17a1e94..5558a16 100644 --- a/components/dialog/index.html +++ b/components/dialog/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/input/index.html b/components/input/index.html index 17a1e94..5558a16 100644 --- a/components/input/index.html +++ b/components/input/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/menu/index.html b/components/menu/index.html index 17a1e94..5558a16 100644 --- a/components/menu/index.html +++ b/components/menu/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/popover/index.html b/components/popover/index.html index 17a1e94..5558a16 100644 --- a/components/popover/index.html +++ b/components/popover/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/toast/index.html b/components/toast/index.html index 17a1e94..5558a16 100644 --- a/components/toast/index.html +++ b/components/toast/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/components/tooltip/index.html b/components/tooltip/index.html index 17a1e94..5558a16 100644 --- a/components/tooltip/index.html +++ b/components/tooltip/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/getting-started/index.html b/getting-started/index.html index 17a1e94..5558a16 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index 17a1e94..5558a16 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/umi.05b30f42.js b/umi.a81af7c2.js similarity index 74% rename from umi.05b30f42.js rename to umi.a81af7c2.js index c8005f2..b6b49d3 100644 --- a/umi.05b30f42.js +++ b/umi.a81af7c2.js @@ -1,4 +1,4 @@ -!(function(){var yf=Object.defineProperty,gf=Object.defineProperties;var Sf=Object.getOwnPropertyDescriptors;var Dc=Object.getOwnPropertySymbols;var Ef=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable;var jc=(c,v,e)=>v in c?yf(c,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):c[v]=e,kc=(c,v)=>{for(var e in v||(v={}))Ef.call(v,e)&&jc(c,e,v[e]);if(Dc)for(var e of Dc(v))bf.call(v,e)&&jc(c,e,v[e]);return c},Bc=(c,v)=>gf(c,Sf(v));(function(){var __webpack_modules__={25687:function(c,v,e){"use strict";e.d(v,{kG:function(){return p}});function a(h){return Math.floor(Math.log(h)*Math.LOG10E)}function o(h,S){if(typeof h.repeat=="function")return h.repeat(S);for(var E=new Array(S),w=0;w0}),ae=[],ee=0,Oe=$;ee1)throw new RangeError("integer-width stems only accept a single optional option");Oe.options[0].replace(ce,function(he,Ae,ke,Pe,Xe,et){if(Ae)$.minimumIntegerDigits=ke.length;else{if(Pe&&Xe)throw new Error("We currently do not support maximum integer digits");if(et)throw new Error("We currently do not support exact integer digits")}return""});continue}if(we.test(Oe.stem)){$.minimumIntegerDigits=Oe.stem.length;continue}if(X.test(Oe.stem)){if(Oe.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");Oe.stem.replace(X,function(he,Ae,ke,Pe,Xe,et){return ke==="*"?$.minimumFractionDigits=Ae.length:Pe&&Pe[0]==="#"?$.maximumFractionDigits=Pe.length:Xe&&et?($.minimumFractionDigits=Xe.length,$.maximumFractionDigits=Xe.length+et.length):($.minimumFractionDigits=Ae.length,$.maximumFractionDigits=Ae.length),""});var Ne=Oe.options[0];Ne==="w"?$=(0,a.pi)((0,a.pi)({},$),{trailingZeroDisplay:"stripIfInteger"}):Ne&&($=(0,a.pi)((0,a.pi)({},$),Re(Ne)));continue}if(te.test(Oe.stem)){$=(0,a.pi)((0,a.pi)({},$),Re(Oe.stem));continue}var _e=je(Oe.stem);_e&&($=(0,a.pi)((0,a.pi)({},$),_e));var We=Le(Oe.stem);We&&($=(0,a.pi)((0,a.pi)({},$),We))}return $}var ne={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function q(g,$){for(var ae="",ee=0;ee>1),he="a",Ae=O($);for((Ae=="H"||Ae=="k")&&(We=0);We-- >0;)ae+=he;for(;_e-- >0;)ae=Ae+ae}else Oe==="J"?ae+="H":ae+=Oe}return ae}function O(g){var $=g.hourCycle;if($===void 0&&g.hourCycles&&g.hourCycles.length&&($=g.hourCycles[0]),$)switch($){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var ae=g.language,ee;ae!=="root"&&(ee=g.maximize().region);var Oe=ne[ee||""]||ne[ae||""]||ne["".concat(ae,"-001")]||ne["001"];return Oe[0]}var N,G=new RegExp("^".concat(j.source,"*")),ie=new RegExp("".concat(j.source,"*$"));function V(g,$){return{start:g,end:$}}var A=!!String.prototype.startsWith&&"_a".startsWith("a",1),z=!!String.fromCodePoint,U=!!Object.fromEntries,Z=!!String.prototype.codePointAt,Q=!!String.prototype.trimStart,Ee=!!String.prototype.trimEnd,Ie=!!Number.isSafeInteger,Ze=Ie?Number.isSafeInteger:function(g){return typeof g=="number"&&isFinite(g)&&Math.floor(g)===g&&Math.abs(g)<=9007199254740991},He=!0;try{var Ge=oe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");He=((N=Ge.exec("a"))===null||N===void 0?void 0:N[0])==="a"}catch(g){He=!1}var Je=A?function($,ae,ee){return $.startsWith(ae,ee)}:function($,ae,ee){return $.slice(ee,ee+ae.length)===ae},re=z?String.fromCodePoint:function(){for(var $=[],ae=0;aeNe;){if(_e=$[Ne++],_e>1114111)throw RangeError(_e+" is not a valid code point");ee+=_e<65536?String.fromCharCode(_e):String.fromCharCode(((_e-=65536)>>10)+55296,_e%1024+56320)}return ee},se=U?Object.fromEntries:function($){for(var ae={},ee=0,Oe=$;ee=ee)){var Oe=$.charCodeAt(ae),Ne;return Oe<55296||Oe>56319||ae+1===ee||(Ne=$.charCodeAt(ae+1))<56320||Ne>57343?Oe:(Oe-55296<<10)+(Ne-56320)+65536}},me=Q?function($){return $.trimStart()}:function($){return $.replace(G,"")},xe=Ee?function($){return $.trimEnd()}:function($){return $.replace(ie,"")};function oe(g,$){return new RegExp(g,$)}var fe;if(He){var pe=oe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fe=function($,ae){var ee;pe.lastIndex=ae;var Oe=pe.exec($);return(ee=Oe[1])!==null&&ee!==void 0?ee:""}}else fe=function($,ae){for(var ee=[];;){var Oe=ve($,ae);if(Oe===void 0||ze(Oe)||vt(Oe))break;ee.push(Oe),ae+=Oe>=65536?2:1}return re.apply(void 0,ee)};var ue=function(){function g($,ae){ae===void 0&&(ae={}),this.message=$,this.position={offset:0,line:1,column:1},this.ignoreTag=!!ae.ignoreTag,this.locale=ae.locale,this.requiresOtherClause=!!ae.requiresOtherClause,this.shouldParseSkeletons=!!ae.shouldParseSkeletons}return g.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},g.prototype.parseMessage=function($,ae,ee){for(var Oe=[];!this.isEOF();){var Ne=this.char();if(Ne===123){var _e=this.parseArgument($,ee);if(_e.err)return _e;Oe.push(_e.val)}else{if(Ne===125&&$>0)break;if(Ne===35&&(ae==="plural"||ae==="selectordinal")){var We=this.clonePosition();this.bump(),Oe.push({type:n.pound,location:V(We,this.clonePosition())})}else if(Ne===60&&!this.ignoreTag&&this.peek()===47){if(ee)break;return this.error(o.UNMATCHED_CLOSING_TAG,V(this.clonePosition(),this.clonePosition()))}else if(Ne===60&&!this.ignoreTag&&ge(this.peek()||0)){var _e=this.parseTag($,ae);if(_e.err)return _e;Oe.push(_e.val)}else{var _e=this.parseLiteral($,ae);if(_e.err)return _e;Oe.push(_e.val)}}}return{val:Oe,err:null}},g.prototype.parseTag=function($,ae){var ee=this.clonePosition();this.bump();var Oe=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:n.literal,value:"<".concat(Oe,"/>"),location:V(ee,this.clonePosition())},err:null};if(this.bumpIf(">")){var Ne=this.parseMessage($+1,ae,!0);if(Ne.err)return Ne;var _e=Ne.val,We=this.clonePosition();if(this.bumpIf("")?{val:{type:n.tag,value:Oe,children:_e,location:V(ee,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,V(We,this.clonePosition())))}else return this.error(o.UNCLOSED_TAG,V(ee,this.clonePosition()))}else return this.error(o.INVALID_TAG,V(ee,this.clonePosition()))},g.prototype.parseTagName=function(){var $=this.offset();for(this.bump();!this.isEOF()&&$e(this.char());)this.bump();return this.message.slice($,this.offset())},g.prototype.parseLiteral=function($,ae){for(var ee=this.clonePosition(),Oe="";;){var Ne=this.tryParseQuote(ae);if(Ne){Oe+=Ne;continue}var _e=this.tryParseUnquoted($,ae);if(_e){Oe+=_e;continue}var We=this.tryParseLeftAngleBracket();if(We){Oe+=We;continue}break}var he=V(ee,this.clonePosition());return{val:{type:n.literal,value:Oe,location:he},err:null}},g.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Fe(this.peek()||0))?(this.bump(),"<"):null},g.prototype.tryParseQuote=function($){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if($==="plural"||$==="selectordinal")break;return null;default:return null}this.bump();var ae=[this.char()];for(this.bump();!this.isEOF();){var ee=this.char();if(ee===39)if(this.peek()===39)ae.push(39),this.bump();else{this.bump();break}else ae.push(ee);this.bump()}return re.apply(void 0,ae)},g.prototype.tryParseUnquoted=function($,ae){if(this.isEOF())return null;var ee=this.char();return ee===60||ee===123||ee===35&&(ae==="plural"||ae==="selectordinal")||ee===125&&$>0?null:(this.bump(),re(ee))},g.prototype.parseArgument=function($,ae){var ee=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(o.EMPTY_ARGUMENT,V(ee,this.clonePosition()));var Oe=this.parseIdentifierIfPossible().value;if(!Oe)return this.error(o.MALFORMED_ARGUMENT,V(ee,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:n.argument,value:Oe,location:V(ee,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition())):this.parseArgumentOptions($,ae,Oe,ee);default:return this.error(o.MALFORMED_ARGUMENT,V(ee,this.clonePosition()))}},g.prototype.parseIdentifierIfPossible=function(){var $=this.clonePosition(),ae=this.offset(),ee=fe(this.message,ae),Oe=ae+ee.length;this.bumpTo(Oe);var Ne=this.clonePosition(),_e=V($,Ne);return{value:ee,location:_e}},g.prototype.parseArgumentOptions=function($,ae,ee,Oe){var Ne,_e=this.clonePosition(),We=this.parseIdentifierIfPossible().value,he=this.clonePosition();switch(We){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,V(_e,he));case"number":case"date":case"time":{this.bumpSpace();var Ae=null;if(this.bumpIf(",")){this.bumpSpace();var ke=this.clonePosition(),Pe=this.parseSimpleArgStyleIfPossible();if(Pe.err)return Pe;var Xe=xe(Pe.val);if(Xe.length===0)return this.error(o.EXPECT_ARGUMENT_STYLE,V(this.clonePosition(),this.clonePosition()));var et=V(ke,this.clonePosition());Ae={style:Xe,styleLocation:et}}var ut=this.tryParseArgumentClose(Oe);if(ut.err)return ut;var ot=V(Oe,this.clonePosition());if(Ae&&Je(Ae==null?void 0:Ae.style,"::",0)){var Nt=me(Ae.style.slice(2));if(We==="number"){var Pe=this.parseNumberSkeletonFromString(Nt,Ae.styleLocation);return Pe.err?Pe:{val:{type:n.number,value:ee,location:ot,style:Pe.val},err:null}}else{if(Nt.length===0)return this.error(o.EXPECT_DATE_TIME_SKELETON,ot);var tr=Nt;this.locale&&(tr=q(Nt,this.locale));var Xe={type:s.dateTime,pattern:tr,location:Ae.styleLocation,parsedOptions:this.shouldParseSkeletons?T(tr):{}},$t=We==="date"?n.date:n.time;return{val:{type:$t,value:ee,location:ot,style:Xe},err:null}}}return{val:{type:We==="number"?n.number:We==="date"?n.date:n.time,value:ee,location:ot,style:(Ne=Ae==null?void 0:Ae.style)!==null&&Ne!==void 0?Ne:null},err:null}}case"plural":case"selectordinal":case"select":{var hr=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,V(hr,(0,a.pi)({},hr)));this.bumpSpace();var Rr=this.parseIdentifierIfPossible(),pn=0;if(We!=="select"&&Rr.value==="offset"){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,V(this.clonePosition(),this.clonePosition()));this.bumpSpace();var Pe=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(Pe.err)return Pe;this.bumpSpace(),Rr=this.parseIdentifierIfPossible(),pn=Pe.val}var Fr=this.tryParsePluralOrSelectOptions($,We,ae,Rr);if(Fr.err)return Fr;var ut=this.tryParseArgumentClose(Oe);if(ut.err)return ut;var _r=V(Oe,this.clonePosition());return We==="select"?{val:{type:n.select,value:ee,options:se(Fr.val),location:_r},err:null}:{val:{type:n.plural,value:ee,options:se(Fr.val),offset:pn,pluralType:We==="plural"?"cardinal":"ordinal",location:_r},err:null}}default:return this.error(o.INVALID_ARGUMENT_TYPE,V(_e,he))}},g.prototype.tryParseArgumentClose=function($){return this.isEOF()||this.char()!==125?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V($,this.clonePosition())):(this.bump(),{val:!0,err:null})},g.prototype.parseSimpleArgStyleIfPossible=function(){for(var $=0,ae=this.clonePosition();!this.isEOF();){var ee=this.char();switch(ee){case 39:{this.bump();var Oe=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,V(Oe,this.clonePosition()));this.bump();break}case 123:{$+=1,this.bump();break}case 125:{if($>0)$-=1;else return{val:this.message.slice(ae.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(ae.offset,this.offset()),err:null}},g.prototype.parseNumberSkeletonFromString=function($,ae){var ee=[];try{ee=F($)}catch(Oe){return this.error(o.INVALID_NUMBER_SKELETON,ae)}return{val:{type:s.number,tokens:ee,location:ae,parsedOptions:this.shouldParseSkeletons?J(ee):{}},err:null}},g.prototype.tryParsePluralOrSelectOptions=function($,ae,ee,Oe){for(var Ne,_e=!1,We=[],he=new Set,Ae=Oe.value,ke=Oe.location;;){if(Ae.length===0){var Pe=this.clonePosition();if(ae!=="select"&&this.bumpIf("=")){var Xe=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(Xe.err)return Xe;ke=V(Pe,this.clonePosition()),Ae=this.message.slice(Pe.offset,this.offset())}else break}if(he.has(Ae))return this.error(ae==="select"?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,ke);Ae==="other"&&(_e=!0),this.bumpSpace();var et=this.clonePosition();if(!this.bumpIf("{"))return this.error(ae==="select"?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,V(this.clonePosition(),this.clonePosition()));var ut=this.parseMessage($+1,ae,ee);if(ut.err)return ut;var ot=this.tryParseArgumentClose(et);if(ot.err)return ot;We.push([Ae,{value:ut.val,location:V(et,this.clonePosition())}]),he.add(Ae),this.bumpSpace(),Ne=this.parseIdentifierIfPossible(),Ae=Ne.value,ke=Ne.location}return We.length===0?this.error(ae==="select"?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,V(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!_e?this.error(o.MISSING_OTHER_CLAUSE,V(this.clonePosition(),this.clonePosition())):{val:We,err:null}},g.prototype.tryParseDecimalInteger=function($,ae){var ee=1,Oe=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(ee=-1);for(var Ne=!1,_e=0;!this.isEOF();){var We=this.char();if(We>=48&&We<=57)Ne=!0,_e=_e*10+(We-48),this.bump();else break}var he=V(Oe,this.clonePosition());return Ne?(_e*=ee,Ze(_e)?{val:_e,err:null}:this.error(ae,he)):this.error($,he)},g.prototype.offset=function(){return this.position.offset},g.prototype.isEOF=function(){return this.offset()===this.message.length},g.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},g.prototype.char=function(){var $=this.position.offset;if($>=this.message.length)throw Error("out of bound");var ae=ve(this.message,$);if(ae===void 0)throw Error("Offset ".concat($," is at invalid UTF-16 code unit boundary"));return ae},g.prototype.error=function($,ae){return{val:null,err:{kind:$,message:this.message,location:ae}}},g.prototype.bump=function(){if(!this.isEOF()){var $=this.char();$===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=$<65536?1:2)}},g.prototype.bumpIf=function($){if(Je(this.message,$,this.offset())){for(var ae=0;ae<$.length;ae++)this.bump();return!0}return!1},g.prototype.bumpUntil=function($){var ae=this.offset(),ee=this.message.indexOf($,ae);return ee>=0?(this.bumpTo(ee),!0):(this.bumpTo(this.message.length),!1)},g.prototype.bumpTo=function($){if(this.offset()>$)throw Error("targetOffset ".concat($," must be greater than or equal to the current offset ").concat(this.offset()));for($=Math.min($,this.message.length);;){var ae=this.offset();if(ae===$)break;if(ae>$)throw Error("targetOffset ".concat($," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},g.prototype.bumpSpace=function(){for(;!this.isEOF()&&ze(this.char());)this.bump()},g.prototype.peek=function(){if(this.isEOF())return null;var $=this.char(),ae=this.offset(),ee=this.message.charCodeAt(ae+($>=65536?2:1));return ee!=null?ee:null},g}();function ge(g){return g>=97&&g<=122||g>=65&&g<=90}function Fe(g){return ge(g)||g===47}function $e(g){return g===45||g===46||g>=48&&g<=57||g===95||g>=97&&g<=122||g>=65&&g<=90||g==183||g>=192&&g<=214||g>=216&&g<=246||g>=248&&g<=893||g>=895&&g<=8191||g>=8204&&g<=8205||g>=8255&&g<=8256||g>=8304&&g<=8591||g>=11264&&g<=12271||g>=12289&&g<=55295||g>=63744&&g<=64975||g>=65008&&g<=65533||g>=65536&&g<=983039}function ze(g){return g>=9&&g<=13||g===32||g===133||g>=8206&&g<=8207||g===8232||g===8233}function vt(g){return g>=33&&g<=35||g===36||g>=37&&g<=39||g===40||g===41||g===42||g===43||g===44||g===45||g>=46&&g<=47||g>=58&&g<=59||g>=60&&g<=62||g>=63&&g<=64||g===91||g===92||g===93||g===94||g===96||g===123||g===124||g===125||g===126||g===161||g>=162&&g<=165||g===166||g===167||g===169||g===171||g===172||g===174||g===176||g===177||g===182||g===187||g===191||g===215||g===247||g>=8208&&g<=8213||g>=8214&&g<=8215||g===8216||g===8217||g===8218||g>=8219&&g<=8220||g===8221||g===8222||g===8223||g>=8224&&g<=8231||g>=8240&&g<=8248||g===8249||g===8250||g>=8251&&g<=8254||g>=8257&&g<=8259||g===8260||g===8261||g===8262||g>=8263&&g<=8273||g===8274||g===8275||g>=8277&&g<=8286||g>=8592&&g<=8596||g>=8597&&g<=8601||g>=8602&&g<=8603||g>=8604&&g<=8607||g===8608||g>=8609&&g<=8610||g===8611||g>=8612&&g<=8613||g===8614||g>=8615&&g<=8621||g===8622||g>=8623&&g<=8653||g>=8654&&g<=8655||g>=8656&&g<=8657||g===8658||g===8659||g===8660||g>=8661&&g<=8691||g>=8692&&g<=8959||g>=8960&&g<=8967||g===8968||g===8969||g===8970||g===8971||g>=8972&&g<=8991||g>=8992&&g<=8993||g>=8994&&g<=9e3||g===9001||g===9002||g>=9003&&g<=9083||g===9084||g>=9085&&g<=9114||g>=9115&&g<=9139||g>=9140&&g<=9179||g>=9180&&g<=9185||g>=9186&&g<=9254||g>=9255&&g<=9279||g>=9280&&g<=9290||g>=9291&&g<=9311||g>=9472&&g<=9654||g===9655||g>=9656&&g<=9664||g===9665||g>=9666&&g<=9719||g>=9720&&g<=9727||g>=9728&&g<=9838||g===9839||g>=9840&&g<=10087||g===10088||g===10089||g===10090||g===10091||g===10092||g===10093||g===10094||g===10095||g===10096||g===10097||g===10098||g===10099||g===10100||g===10101||g>=10132&&g<=10175||g>=10176&&g<=10180||g===10181||g===10182||g>=10183&&g<=10213||g===10214||g===10215||g===10216||g===10217||g===10218||g===10219||g===10220||g===10221||g===10222||g===10223||g>=10224&&g<=10239||g>=10240&&g<=10495||g>=10496&&g<=10626||g===10627||g===10628||g===10629||g===10630||g===10631||g===10632||g===10633||g===10634||g===10635||g===10636||g===10637||g===10638||g===10639||g===10640||g===10641||g===10642||g===10643||g===10644||g===10645||g===10646||g===10647||g===10648||g>=10649&&g<=10711||g===10712||g===10713||g===10714||g===10715||g>=10716&&g<=10747||g===10748||g===10749||g>=10750&&g<=11007||g>=11008&&g<=11055||g>=11056&&g<=11076||g>=11077&&g<=11078||g>=11079&&g<=11084||g>=11085&&g<=11123||g>=11124&&g<=11125||g>=11126&&g<=11157||g===11158||g>=11159&&g<=11263||g>=11776&&g<=11777||g===11778||g===11779||g===11780||g===11781||g>=11782&&g<=11784||g===11785||g===11786||g===11787||g===11788||g===11789||g>=11790&&g<=11798||g===11799||g>=11800&&g<=11801||g===11802||g===11803||g===11804||g===11805||g>=11806&&g<=11807||g===11808||g===11809||g===11810||g===11811||g===11812||g===11813||g===11814||g===11815||g===11816||g===11817||g>=11818&&g<=11822||g===11823||g>=11824&&g<=11833||g>=11834&&g<=11835||g>=11836&&g<=11839||g===11840||g===11841||g===11842||g>=11843&&g<=11855||g>=11856&&g<=11857||g===11858||g>=11859&&g<=11903||g>=12289&&g<=12291||g===12296||g===12297||g===12298||g===12299||g===12300||g===12301||g===12302||g===12303||g===12304||g===12305||g>=12306&&g<=12307||g===12308||g===12309||g===12310||g===12311||g===12312||g===12313||g===12314||g===12315||g===12316||g===12317||g>=12318&&g<=12319||g===12320||g===12336||g===64830||g===64831||g>=65093&&g<=65094}function It(g){g.forEach(function($){if(delete $.location,p($)||h($))for(var ae in $.options)delete $.options[ae].location,It($.options[ae].value);else l($)&&w($.style)||(m($)||y($))&&x($.style)?delete $.style.location:E($)&&It($.children)})}function De(g,$){$===void 0&&($={}),$=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},$);var ae=new ue(g,$).parse();if(ae.err){var ee=SyntaxError(o[ae.err.kind]);throw ee.location=ae.err.location,ee.originalMessage=ae.err.message,ee}return $!=null&&$.captureLocation||It(ae.val),ae.val}var rt=null},88222:function(c,v,e){"use strict";e.d(v,{$6:function(){return y},OV:function(){return i},Qe:function(){return l},X9:function(){return m},gb:function(){return f},wI:function(){return s}});var a=e(97582),o;(function(p){p.FORMAT_ERROR="FORMAT_ERROR",p.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",p.INVALID_CONFIG="INVALID_CONFIG",p.MISSING_DATA="MISSING_DATA",p.MISSING_TRANSLATION="MISSING_TRANSLATION"})(o||(o={}));var n=function(p){(0,a.ZT)(h,p);function h(S,E,w){var x=this,C=w?w instanceof Error?w:new Error(String(w)):void 0;return x=p.call(this,"[@formatjs/intl Error ".concat(S,"] ").concat(E,` +!(function(){var yf=Object.defineProperty,gf=Object.defineProperties;var Sf=Object.getOwnPropertyDescriptors;var Dc=Object.getOwnPropertySymbols;var Ef=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable;var jc=(c,v,e)=>v in c?yf(c,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):c[v]=e,kc=(c,v)=>{for(var e in v||(v={}))Ef.call(v,e)&&jc(c,e,v[e]);if(Dc)for(var e of Dc(v))bf.call(v,e)&&jc(c,e,v[e]);return c},Bc=(c,v)=>gf(c,Sf(v));(function(){var __webpack_modules__={25687:function(c,v,e){"use strict";e.d(v,{kG:function(){return p}});function a(h){return Math.floor(Math.log(h)*Math.LOG10E)}function o(h,S){if(typeof h.repeat=="function")return h.repeat(S);for(var E=new Array(S),w=0;w0}),ae=[],ee=0,Oe=$;ee1)throw new RangeError("integer-width stems only accept a single optional option");Oe.options[0].replace(ce,function(he,Ae,ke,Pe,Xe,et){if(Ae)$.minimumIntegerDigits=ke.length;else{if(Pe&&Xe)throw new Error("We currently do not support maximum integer digits");if(et)throw new Error("We currently do not support exact integer digits")}return""});continue}if(we.test(Oe.stem)){$.minimumIntegerDigits=Oe.stem.length;continue}if(X.test(Oe.stem)){if(Oe.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");Oe.stem.replace(X,function(he,Ae,ke,Pe,Xe,et){return ke==="*"?$.minimumFractionDigits=Ae.length:Pe&&Pe[0]==="#"?$.maximumFractionDigits=Pe.length:Xe&&et?($.minimumFractionDigits=Xe.length,$.maximumFractionDigits=Xe.length+et.length):($.minimumFractionDigits=Ae.length,$.maximumFractionDigits=Ae.length),""});var Ne=Oe.options[0];Ne==="w"?$=(0,a.pi)((0,a.pi)({},$),{trailingZeroDisplay:"stripIfInteger"}):Ne&&($=(0,a.pi)((0,a.pi)({},$),Re(Ne)));continue}if(te.test(Oe.stem)){$=(0,a.pi)((0,a.pi)({},$),Re(Oe.stem));continue}var _e=je(Oe.stem);_e&&($=(0,a.pi)((0,a.pi)({},$),_e));var We=Le(Oe.stem);We&&($=(0,a.pi)((0,a.pi)({},$),We))}return $}var ne={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function q(g,$){for(var ae="",ee=0;ee>1),he="a",Ae=F($);for((Ae=="H"||Ae=="k")&&(We=0);We-- >0;)ae+=he;for(;_e-- >0;)ae=Ae+ae}else Oe==="J"?ae+="H":ae+=Oe}return ae}function F(g){var $=g.hourCycle;if($===void 0&&g.hourCycles&&g.hourCycles.length&&($=g.hourCycles[0]),$)switch($){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var ae=g.language,ee;ae!=="root"&&(ee=g.maximize().region);var Oe=ne[ee||""]||ne[ae||""]||ne["".concat(ae,"-001")]||ne["001"];return Oe[0]}var A,H=new RegExp("^".concat(D.source,"*")),ie=new RegExp("".concat(D.source,"*$"));function V(g,$){return{start:g,end:$}}var O=!!String.prototype.startsWith&&"_a".startsWith("a",1),z=!!String.fromCodePoint,U=!!Object.fromEntries,W=!!String.prototype.codePointAt,Y=!!String.prototype.trimStart,Se=!!String.prototype.trimEnd,Ie=!!Number.isSafeInteger,Ze=Ie?Number.isSafeInteger:function(g){return typeof g=="number"&&isFinite(g)&&Math.floor(g)===g&&Math.abs(g)<=9007199254740991},He=!0;try{var Ge=oe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");He=((A=Ge.exec("a"))===null||A===void 0?void 0:A[0])==="a"}catch(g){He=!1}var Je=O?function($,ae,ee){return $.startsWith(ae,ee)}:function($,ae,ee){return $.slice(ee,ee+ae.length)===ae},re=z?String.fromCodePoint:function(){for(var $=[],ae=0;aeNe;){if(_e=$[Ne++],_e>1114111)throw RangeError(_e+" is not a valid code point");ee+=_e<65536?String.fromCharCode(_e):String.fromCharCode(((_e-=65536)>>10)+55296,_e%1024+56320)}return ee},se=U?Object.fromEntries:function($){for(var ae={},ee=0,Oe=$;ee=ee)){var Oe=$.charCodeAt(ae),Ne;return Oe<55296||Oe>56319||ae+1===ee||(Ne=$.charCodeAt(ae+1))<56320||Ne>57343?Oe:(Oe-55296<<10)+(Ne-56320)+65536}},me=Y?function($){return $.trimStart()}:function($){return $.replace(H,"")},xe=Se?function($){return $.trimEnd()}:function($){return $.replace(ie,"")};function oe(g,$){return new RegExp(g,$)}var fe;if(He){var pe=oe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fe=function($,ae){var ee;pe.lastIndex=ae;var Oe=pe.exec($);return(ee=Oe[1])!==null&&ee!==void 0?ee:""}}else fe=function($,ae){for(var ee=[];;){var Oe=ve($,ae);if(Oe===void 0||ze(Oe)||vt(Oe))break;ee.push(Oe),ae+=Oe>=65536?2:1}return re.apply(void 0,ee)};var ue=function(){function g($,ae){ae===void 0&&(ae={}),this.message=$,this.position={offset:0,line:1,column:1},this.ignoreTag=!!ae.ignoreTag,this.locale=ae.locale,this.requiresOtherClause=!!ae.requiresOtherClause,this.shouldParseSkeletons=!!ae.shouldParseSkeletons}return g.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},g.prototype.parseMessage=function($,ae,ee){for(var Oe=[];!this.isEOF();){var Ne=this.char();if(Ne===123){var _e=this.parseArgument($,ee);if(_e.err)return _e;Oe.push(_e.val)}else{if(Ne===125&&$>0)break;if(Ne===35&&(ae==="plural"||ae==="selectordinal")){var We=this.clonePosition();this.bump(),Oe.push({type:n.pound,location:V(We,this.clonePosition())})}else if(Ne===60&&!this.ignoreTag&&this.peek()===47){if(ee)break;return this.error(o.UNMATCHED_CLOSING_TAG,V(this.clonePosition(),this.clonePosition()))}else if(Ne===60&&!this.ignoreTag&&ge(this.peek()||0)){var _e=this.parseTag($,ae);if(_e.err)return _e;Oe.push(_e.val)}else{var _e=this.parseLiteral($,ae);if(_e.err)return _e;Oe.push(_e.val)}}}return{val:Oe,err:null}},g.prototype.parseTag=function($,ae){var ee=this.clonePosition();this.bump();var Oe=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:n.literal,value:"<".concat(Oe,"/>"),location:V(ee,this.clonePosition())},err:null};if(this.bumpIf(">")){var Ne=this.parseMessage($+1,ae,!0);if(Ne.err)return Ne;var _e=Ne.val,We=this.clonePosition();if(this.bumpIf("")?{val:{type:n.tag,value:Oe,children:_e,location:V(ee,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,V(We,this.clonePosition())))}else return this.error(o.UNCLOSED_TAG,V(ee,this.clonePosition()))}else return this.error(o.INVALID_TAG,V(ee,this.clonePosition()))},g.prototype.parseTagName=function(){var $=this.offset();for(this.bump();!this.isEOF()&&$e(this.char());)this.bump();return this.message.slice($,this.offset())},g.prototype.parseLiteral=function($,ae){for(var ee=this.clonePosition(),Oe="";;){var Ne=this.tryParseQuote(ae);if(Ne){Oe+=Ne;continue}var _e=this.tryParseUnquoted($,ae);if(_e){Oe+=_e;continue}var We=this.tryParseLeftAngleBracket();if(We){Oe+=We;continue}break}var he=V(ee,this.clonePosition());return{val:{type:n.literal,value:Oe,location:he},err:null}},g.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Fe(this.peek()||0))?(this.bump(),"<"):null},g.prototype.tryParseQuote=function($){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if($==="plural"||$==="selectordinal")break;return null;default:return null}this.bump();var ae=[this.char()];for(this.bump();!this.isEOF();){var ee=this.char();if(ee===39)if(this.peek()===39)ae.push(39),this.bump();else{this.bump();break}else ae.push(ee);this.bump()}return re.apply(void 0,ae)},g.prototype.tryParseUnquoted=function($,ae){if(this.isEOF())return null;var ee=this.char();return ee===60||ee===123||ee===35&&(ae==="plural"||ae==="selectordinal")||ee===125&&$>0?null:(this.bump(),re(ee))},g.prototype.parseArgument=function($,ae){var ee=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(o.EMPTY_ARGUMENT,V(ee,this.clonePosition()));var Oe=this.parseIdentifierIfPossible().value;if(!Oe)return this.error(o.MALFORMED_ARGUMENT,V(ee,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:n.argument,value:Oe,location:V(ee,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V(ee,this.clonePosition())):this.parseArgumentOptions($,ae,Oe,ee);default:return this.error(o.MALFORMED_ARGUMENT,V(ee,this.clonePosition()))}},g.prototype.parseIdentifierIfPossible=function(){var $=this.clonePosition(),ae=this.offset(),ee=fe(this.message,ae),Oe=ae+ee.length;this.bumpTo(Oe);var Ne=this.clonePosition(),_e=V($,Ne);return{value:ee,location:_e}},g.prototype.parseArgumentOptions=function($,ae,ee,Oe){var Ne,_e=this.clonePosition(),We=this.parseIdentifierIfPossible().value,he=this.clonePosition();switch(We){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,V(_e,he));case"number":case"date":case"time":{this.bumpSpace();var Ae=null;if(this.bumpIf(",")){this.bumpSpace();var ke=this.clonePosition(),Pe=this.parseSimpleArgStyleIfPossible();if(Pe.err)return Pe;var Xe=xe(Pe.val);if(Xe.length===0)return this.error(o.EXPECT_ARGUMENT_STYLE,V(this.clonePosition(),this.clonePosition()));var et=V(ke,this.clonePosition());Ae={style:Xe,styleLocation:et}}var ut=this.tryParseArgumentClose(Oe);if(ut.err)return ut;var ot=V(Oe,this.clonePosition());if(Ae&&Je(Ae==null?void 0:Ae.style,"::",0)){var Nt=me(Ae.style.slice(2));if(We==="number"){var Pe=this.parseNumberSkeletonFromString(Nt,Ae.styleLocation);return Pe.err?Pe:{val:{type:n.number,value:ee,location:ot,style:Pe.val},err:null}}else{if(Nt.length===0)return this.error(o.EXPECT_DATE_TIME_SKELETON,ot);var tr=Nt;this.locale&&(tr=q(Nt,this.locale));var Xe={type:s.dateTime,pattern:tr,location:Ae.styleLocation,parsedOptions:this.shouldParseSkeletons?T(tr):{}},$t=We==="date"?n.date:n.time;return{val:{type:$t,value:ee,location:ot,style:Xe},err:null}}}return{val:{type:We==="number"?n.number:We==="date"?n.date:n.time,value:ee,location:ot,style:(Ne=Ae==null?void 0:Ae.style)!==null&&Ne!==void 0?Ne:null},err:null}}case"plural":case"selectordinal":case"select":{var hr=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,V(hr,(0,a.pi)({},hr)));this.bumpSpace();var Rr=this.parseIdentifierIfPossible(),pn=0;if(We!=="select"&&Rr.value==="offset"){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,V(this.clonePosition(),this.clonePosition()));this.bumpSpace();var Pe=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(Pe.err)return Pe;this.bumpSpace(),Rr=this.parseIdentifierIfPossible(),pn=Pe.val}var Fr=this.tryParsePluralOrSelectOptions($,We,ae,Rr);if(Fr.err)return Fr;var ut=this.tryParseArgumentClose(Oe);if(ut.err)return ut;var _r=V(Oe,this.clonePosition());return We==="select"?{val:{type:n.select,value:ee,options:se(Fr.val),location:_r},err:null}:{val:{type:n.plural,value:ee,options:se(Fr.val),offset:pn,pluralType:We==="plural"?"cardinal":"ordinal",location:_r},err:null}}default:return this.error(o.INVALID_ARGUMENT_TYPE,V(_e,he))}},g.prototype.tryParseArgumentClose=function($){return this.isEOF()||this.char()!==125?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,V($,this.clonePosition())):(this.bump(),{val:!0,err:null})},g.prototype.parseSimpleArgStyleIfPossible=function(){for(var $=0,ae=this.clonePosition();!this.isEOF();){var ee=this.char();switch(ee){case 39:{this.bump();var Oe=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,V(Oe,this.clonePosition()));this.bump();break}case 123:{$+=1,this.bump();break}case 125:{if($>0)$-=1;else return{val:this.message.slice(ae.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(ae.offset,this.offset()),err:null}},g.prototype.parseNumberSkeletonFromString=function($,ae){var ee=[];try{ee=B($)}catch(Oe){return this.error(o.INVALID_NUMBER_SKELETON,ae)}return{val:{type:s.number,tokens:ee,location:ae,parsedOptions:this.shouldParseSkeletons?J(ee):{}},err:null}},g.prototype.tryParsePluralOrSelectOptions=function($,ae,ee,Oe){for(var Ne,_e=!1,We=[],he=new Set,Ae=Oe.value,ke=Oe.location;;){if(Ae.length===0){var Pe=this.clonePosition();if(ae!=="select"&&this.bumpIf("=")){var Xe=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(Xe.err)return Xe;ke=V(Pe,this.clonePosition()),Ae=this.message.slice(Pe.offset,this.offset())}else break}if(he.has(Ae))return this.error(ae==="select"?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,ke);Ae==="other"&&(_e=!0),this.bumpSpace();var et=this.clonePosition();if(!this.bumpIf("{"))return this.error(ae==="select"?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,V(this.clonePosition(),this.clonePosition()));var ut=this.parseMessage($+1,ae,ee);if(ut.err)return ut;var ot=this.tryParseArgumentClose(et);if(ot.err)return ot;We.push([Ae,{value:ut.val,location:V(et,this.clonePosition())}]),he.add(Ae),this.bumpSpace(),Ne=this.parseIdentifierIfPossible(),Ae=Ne.value,ke=Ne.location}return We.length===0?this.error(ae==="select"?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,V(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!_e?this.error(o.MISSING_OTHER_CLAUSE,V(this.clonePosition(),this.clonePosition())):{val:We,err:null}},g.prototype.tryParseDecimalInteger=function($,ae){var ee=1,Oe=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(ee=-1);for(var Ne=!1,_e=0;!this.isEOF();){var We=this.char();if(We>=48&&We<=57)Ne=!0,_e=_e*10+(We-48),this.bump();else break}var he=V(Oe,this.clonePosition());return Ne?(_e*=ee,Ze(_e)?{val:_e,err:null}:this.error(ae,he)):this.error($,he)},g.prototype.offset=function(){return this.position.offset},g.prototype.isEOF=function(){return this.offset()===this.message.length},g.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},g.prototype.char=function(){var $=this.position.offset;if($>=this.message.length)throw Error("out of bound");var ae=ve(this.message,$);if(ae===void 0)throw Error("Offset ".concat($," is at invalid UTF-16 code unit boundary"));return ae},g.prototype.error=function($,ae){return{val:null,err:{kind:$,message:this.message,location:ae}}},g.prototype.bump=function(){if(!this.isEOF()){var $=this.char();$===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=$<65536?1:2)}},g.prototype.bumpIf=function($){if(Je(this.message,$,this.offset())){for(var ae=0;ae<$.length;ae++)this.bump();return!0}return!1},g.prototype.bumpUntil=function($){var ae=this.offset(),ee=this.message.indexOf($,ae);return ee>=0?(this.bumpTo(ee),!0):(this.bumpTo(this.message.length),!1)},g.prototype.bumpTo=function($){if(this.offset()>$)throw Error("targetOffset ".concat($," must be greater than or equal to the current offset ").concat(this.offset()));for($=Math.min($,this.message.length);;){var ae=this.offset();if(ae===$)break;if(ae>$)throw Error("targetOffset ".concat($," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},g.prototype.bumpSpace=function(){for(;!this.isEOF()&&ze(this.char());)this.bump()},g.prototype.peek=function(){if(this.isEOF())return null;var $=this.char(),ae=this.offset(),ee=this.message.charCodeAt(ae+($>=65536?2:1));return ee!=null?ee:null},g}();function ge(g){return g>=97&&g<=122||g>=65&&g<=90}function Fe(g){return ge(g)||g===47}function $e(g){return g===45||g===46||g>=48&&g<=57||g===95||g>=97&&g<=122||g>=65&&g<=90||g==183||g>=192&&g<=214||g>=216&&g<=246||g>=248&&g<=893||g>=895&&g<=8191||g>=8204&&g<=8205||g>=8255&&g<=8256||g>=8304&&g<=8591||g>=11264&&g<=12271||g>=12289&&g<=55295||g>=63744&&g<=64975||g>=65008&&g<=65533||g>=65536&&g<=983039}function ze(g){return g>=9&&g<=13||g===32||g===133||g>=8206&&g<=8207||g===8232||g===8233}function vt(g){return g>=33&&g<=35||g===36||g>=37&&g<=39||g===40||g===41||g===42||g===43||g===44||g===45||g>=46&&g<=47||g>=58&&g<=59||g>=60&&g<=62||g>=63&&g<=64||g===91||g===92||g===93||g===94||g===96||g===123||g===124||g===125||g===126||g===161||g>=162&&g<=165||g===166||g===167||g===169||g===171||g===172||g===174||g===176||g===177||g===182||g===187||g===191||g===215||g===247||g>=8208&&g<=8213||g>=8214&&g<=8215||g===8216||g===8217||g===8218||g>=8219&&g<=8220||g===8221||g===8222||g===8223||g>=8224&&g<=8231||g>=8240&&g<=8248||g===8249||g===8250||g>=8251&&g<=8254||g>=8257&&g<=8259||g===8260||g===8261||g===8262||g>=8263&&g<=8273||g===8274||g===8275||g>=8277&&g<=8286||g>=8592&&g<=8596||g>=8597&&g<=8601||g>=8602&&g<=8603||g>=8604&&g<=8607||g===8608||g>=8609&&g<=8610||g===8611||g>=8612&&g<=8613||g===8614||g>=8615&&g<=8621||g===8622||g>=8623&&g<=8653||g>=8654&&g<=8655||g>=8656&&g<=8657||g===8658||g===8659||g===8660||g>=8661&&g<=8691||g>=8692&&g<=8959||g>=8960&&g<=8967||g===8968||g===8969||g===8970||g===8971||g>=8972&&g<=8991||g>=8992&&g<=8993||g>=8994&&g<=9e3||g===9001||g===9002||g>=9003&&g<=9083||g===9084||g>=9085&&g<=9114||g>=9115&&g<=9139||g>=9140&&g<=9179||g>=9180&&g<=9185||g>=9186&&g<=9254||g>=9255&&g<=9279||g>=9280&&g<=9290||g>=9291&&g<=9311||g>=9472&&g<=9654||g===9655||g>=9656&&g<=9664||g===9665||g>=9666&&g<=9719||g>=9720&&g<=9727||g>=9728&&g<=9838||g===9839||g>=9840&&g<=10087||g===10088||g===10089||g===10090||g===10091||g===10092||g===10093||g===10094||g===10095||g===10096||g===10097||g===10098||g===10099||g===10100||g===10101||g>=10132&&g<=10175||g>=10176&&g<=10180||g===10181||g===10182||g>=10183&&g<=10213||g===10214||g===10215||g===10216||g===10217||g===10218||g===10219||g===10220||g===10221||g===10222||g===10223||g>=10224&&g<=10239||g>=10240&&g<=10495||g>=10496&&g<=10626||g===10627||g===10628||g===10629||g===10630||g===10631||g===10632||g===10633||g===10634||g===10635||g===10636||g===10637||g===10638||g===10639||g===10640||g===10641||g===10642||g===10643||g===10644||g===10645||g===10646||g===10647||g===10648||g>=10649&&g<=10711||g===10712||g===10713||g===10714||g===10715||g>=10716&&g<=10747||g===10748||g===10749||g>=10750&&g<=11007||g>=11008&&g<=11055||g>=11056&&g<=11076||g>=11077&&g<=11078||g>=11079&&g<=11084||g>=11085&&g<=11123||g>=11124&&g<=11125||g>=11126&&g<=11157||g===11158||g>=11159&&g<=11263||g>=11776&&g<=11777||g===11778||g===11779||g===11780||g===11781||g>=11782&&g<=11784||g===11785||g===11786||g===11787||g===11788||g===11789||g>=11790&&g<=11798||g===11799||g>=11800&&g<=11801||g===11802||g===11803||g===11804||g===11805||g>=11806&&g<=11807||g===11808||g===11809||g===11810||g===11811||g===11812||g===11813||g===11814||g===11815||g===11816||g===11817||g>=11818&&g<=11822||g===11823||g>=11824&&g<=11833||g>=11834&&g<=11835||g>=11836&&g<=11839||g===11840||g===11841||g===11842||g>=11843&&g<=11855||g>=11856&&g<=11857||g===11858||g>=11859&&g<=11903||g>=12289&&g<=12291||g===12296||g===12297||g===12298||g===12299||g===12300||g===12301||g===12302||g===12303||g===12304||g===12305||g>=12306&&g<=12307||g===12308||g===12309||g===12310||g===12311||g===12312||g===12313||g===12314||g===12315||g===12316||g===12317||g>=12318&&g<=12319||g===12320||g===12336||g===64830||g===64831||g>=65093&&g<=65094}function It(g){g.forEach(function($){if(delete $.location,p($)||h($))for(var ae in $.options)delete $.options[ae].location,It($.options[ae].value);else l($)&&w($.style)||(m($)||y($))&&x($.style)?delete $.style.location:E($)&&It($.children)})}function De(g,$){$===void 0&&($={}),$=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},$);var ae=new ue(g,$).parse();if(ae.err){var ee=SyntaxError(o[ae.err.kind]);throw ee.location=ae.err.location,ee.originalMessage=ae.err.message,ee}return $!=null&&$.captureLocation||It(ae.val),ae.val}var rt=null},88222:function(c,v,e){"use strict";e.d(v,{$6:function(){return y},OV:function(){return i},Qe:function(){return l},X9:function(){return m},gb:function(){return f},wI:function(){return s}});var a=e(97582),o;(function(p){p.FORMAT_ERROR="FORMAT_ERROR",p.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",p.INVALID_CONFIG="INVALID_CONFIG",p.MISSING_DATA="MISSING_DATA",p.MISSING_TRANSLATION="MISSING_TRANSLATION"})(o||(o={}));var n=function(p){(0,a.ZT)(h,p);function h(S,E,w){var x=this,C=w?w instanceof Error?w:new Error(String(w)):void 0;return x=p.call(this,"[@formatjs/intl Error ".concat(S,"] ").concat(E,` `).concat(C?` `.concat(C.message,` `).concat(C.stack):""))||this,x.code=S,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(x,h),x}return h}(Error),s=function(p){(0,a.ZT)(h,p);function h(S,E){return p.call(this,o.UNSUPPORTED_FORMATTER,S,E)||this}return h}(n),i=function(p){(0,a.ZT)(h,p);function h(S,E){return p.call(this,o.INVALID_CONFIG,S,E)||this}return h}(n),f=function(p){(0,a.ZT)(h,p);function h(S,E){return p.call(this,o.MISSING_DATA,S,E)||this}return h}(n),l=function(p){(0,a.ZT)(h,p);function h(S,E,w){var x=p.call(this,o.FORMAT_ERROR,"".concat(S,` @@ -7,41 +7,41 @@ Locale: `).concat(E,` MessageID: `).concat(w==null?void 0:w.id,` Default Message: `).concat(w==null?void 0:w.defaultMessage,` Description: `).concat(w==null?void 0:w.description,` -`),E,x)||this;return C.descriptor=w,C.locale=E,C}return h}(l),y=function(p){(0,a.ZT)(h,p);function h(S,E){var w=p.call(this,o.MISSING_TRANSLATION,'Missing message: "'.concat(S.id,'" for locale "').concat(E,'", using ').concat(S.defaultMessage?"default message (".concat(typeof S.defaultMessage=="string"?S.defaultMessage:S.defaultMessage.map(function(x){var C;return(C=x.value)!==null&&C!==void 0?C:JSON.stringify(x)}).join(),")"):"id"," as fallback."))||this;return w.descriptor=S,w}return h}(n)},82644:function(c,v,e){"use strict";e.d(v,{L6:function(){return i},Sn:function(){return y},TB:function(){return S},Z0:function(){return m},ax:function(){return h}});var a=e(97582),o=e(16284),n=e(95957),s=e(88222);function i(E,w,x){return x===void 0&&(x={}),w.reduce(function(C,I){return I in E?C[I]=E[I]:I in x&&(C[I]=x[I]),C},{})}var f=function(E){},l=function(E){},m={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:f,onWarn:l};function y(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function p(E){return{create:function(){return{get:function(w){return E[w]},set:function(w,x){E[w]=x}}}}}function h(E){E===void 0&&(E=y());var w=Intl.RelativeTimeFormat,x=Intl.ListFormat,C=Intl.DisplayNames,I=(0,n.H)(function(){for(var B,T=[],D=0;D0&&arguments[0]!==void 0?arguments[0]:{},Z=U.mark;return Z?Z.startsWith("data-")?Z:"data-".concat(Z):I}function B(U){if(U.attachTo)return U.attachTo;var Z=document.querySelector("head");return Z||document.body}function T(U){return U==="queue"?"prependQueue":U?"prepend":"append"}function D(U){return Array.from((j.get(U)||U).children).filter(function(Z){return Z.tagName==="STYLE"})}function F(U){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,s.Z)())return null;var Q=Z.csp,Ee=Z.prepend,Ie=Z.priority,Ze=Ie===void 0?0:Ie,He=T(Ee),Ge=He==="prependQueue",Je=document.createElement("style");Je.setAttribute(x,He),Ge&&Ze&&Je.setAttribute(C,"".concat(Ze)),Q!=null&&Q.nonce&&(Je.nonce=Q==null?void 0:Q.nonce),Je.innerHTML=U;var re=B(Z),se=re.firstChild;if(Ee){if(Ge){var ve=(Z.styles||D(re)).filter(function(me){if(!["prepend","prependQueue"].includes(me.getAttribute(x)))return!1;var xe=Number(me.getAttribute(C)||0);return Ze>=xe});if(ve.length)return re.insertBefore(Je,ve[ve.length-1].nextSibling),Je}re.insertBefore(Je,se)}else re.appendChild(Je);return Je}function Y(U){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=B(Z);return(Z.styles||D(Q)).find(function(Ee){return Ee.getAttribute(L(Z))===U})}function X(U){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=Y(U,Z);if(Q){var Ee=B(Z);Ee.removeChild(Q)}}function te(U,Z){var Q=j.get(U);if(!Q||!(0,w.Z)(document,Q)){var Ee=F("",Z),Ie=Ee.parentNode;j.set(U,Ie),U.removeChild(Ee)}}function ce(){j.clear()}function we(U,Z){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ee=B(Q),Ie=D(Ee),Ze=(0,E.Z)((0,E.Z)({},Q),{},{styles:Ie});te(Ee,Ze);var He=Y(Z,Ze);if(He){var Ge,Je;if((Ge=Ze.csp)!==null&&Ge!==void 0&&Ge.nonce&&He.nonce!==((Je=Ze.csp)===null||Je===void 0?void 0:Je.nonce)){var re;He.nonce=(re=Ze.csp)===null||re===void 0?void 0:re.nonce}return He.innerHTML!==U&&(He.innerHTML=U),He}var se=F(U,Ze);return se.setAttribute(L(Ze),Z),se}var Re;function je(U){if(typeof document=="undefined")return 0;if(U||Re===void 0){var Z=document.createElement("div");Z.style.width="100%",Z.style.height="200px";var Q=document.createElement("div"),Ee=Q.style;Ee.position="absolute",Ee.top="0",Ee.left="0",Ee.pointerEvents="none",Ee.visibility="hidden",Ee.width="200px",Ee.height="150px",Ee.overflow="hidden",Q.appendChild(Z),document.body.appendChild(Q);var Ie=Z.offsetWidth;Q.style.overflow="scroll";var Ze=Z.offsetWidth;Ie===Ze&&(Ze=Q.clientWidth),document.body.removeChild(Q),Re=Ie-Ze}return Re}function Le(U){var Z=U.match(/^(.*)px$/),Q=Number(Z==null?void 0:Z[1]);return Number.isNaN(Q)?je():Q}function Ce(U){if(typeof document=="undefined"||!U||!(U instanceof Element))return{width:0,height:0};var Z=getComputedStyle(U,"::-webkit-scrollbar"),Q=Z.width,Ee=Z.height;return{width:Le(Q),height:Le(Ee)}}function J(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ne="rc-util-locker-".concat(Date.now()),q=0;function O(U){var Z=!!U,Q=o.useState(function(){return q+=1,"".concat(ne,"_").concat(q)}),Ee=(0,a.Z)(Q,1),Ie=Ee[0];(0,p.Z)(function(){if(Z){var Ze=Ce(document.body).width,He=J();we(` +`),E,x)||this;return C.descriptor=w,C.locale=E,C}return h}(l),y=function(p){(0,a.ZT)(h,p);function h(S,E){var w=p.call(this,o.MISSING_TRANSLATION,'Missing message: "'.concat(S.id,'" for locale "').concat(E,'", using ').concat(S.defaultMessage?"default message (".concat(typeof S.defaultMessage=="string"?S.defaultMessage:S.defaultMessage.map(function(x){var C;return(C=x.value)!==null&&C!==void 0?C:JSON.stringify(x)}).join(),")"):"id"," as fallback."))||this;return w.descriptor=S,w}return h}(n)},82644:function(c,v,e){"use strict";e.d(v,{L6:function(){return i},Sn:function(){return y},TB:function(){return S},Z0:function(){return m},ax:function(){return h}});var a=e(97582),o=e(16284),n=e(95957),s=e(88222);function i(E,w,x){return x===void 0&&(x={}),w.reduce(function(C,I){return I in E?C[I]=E[I]:I in x&&(C[I]=x[I]),C},{})}var f=function(E){},l=function(E){},m={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:f,onWarn:l};function y(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function p(E){return{create:function(){return{get:function(w){return E[w]},set:function(w,x){E[w]=x}}}}}function h(E){E===void 0&&(E=y());var w=Intl.RelativeTimeFormat,x=Intl.ListFormat,C=Intl.DisplayNames,I=(0,n.H)(function(){for(var k,T=[],L=0;L0&&arguments[0]!==void 0?arguments[0]:{},W=U.mark;return W?W.startsWith("data-")?W:"data-".concat(W):I}function k(U){if(U.attachTo)return U.attachTo;var W=document.querySelector("head");return W||document.body}function T(U){return U==="queue"?"prependQueue":U?"prepend":"append"}function L(U){return Array.from((D.get(U)||U).children).filter(function(W){return W.tagName==="STYLE"})}function B(U){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,s.Z)())return null;var Y=W.csp,Se=W.prepend,Ie=W.priority,Ze=Ie===void 0?0:Ie,He=T(Se),Ge=He==="prependQueue",Je=document.createElement("style");Je.setAttribute(x,He),Ge&&Ze&&Je.setAttribute(C,"".concat(Ze)),Y!=null&&Y.nonce&&(Je.nonce=Y==null?void 0:Y.nonce),Je.innerHTML=U;var re=k(W),se=re.firstChild;if(Se){if(Ge){var ve=(W.styles||L(re)).filter(function(me){if(!["prepend","prependQueue"].includes(me.getAttribute(x)))return!1;var xe=Number(me.getAttribute(C)||0);return Ze>=xe});if(ve.length)return re.insertBefore(Je,ve[ve.length-1].nextSibling),Je}re.insertBefore(Je,se)}else re.appendChild(Je);return Je}function Q(U){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Y=k(W);return(W.styles||L(Y)).find(function(Se){return Se.getAttribute(N(W))===U})}function X(U){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Y=Q(U,W);if(Y){var Se=k(W);Se.removeChild(Y)}}function te(U,W){var Y=D.get(U);if(!Y||!(0,w.Z)(document,Y)){var Se=B("",W),Ie=Se.parentNode;D.set(U,Ie),U.removeChild(Se)}}function ce(){D.clear()}function we(U,W){var Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Se=k(Y),Ie=L(Se),Ze=(0,E.Z)((0,E.Z)({},Y),{},{styles:Ie});te(Se,Ze);var He=Q(W,Ze);if(He){var Ge,Je;if((Ge=Ze.csp)!==null&&Ge!==void 0&&Ge.nonce&&He.nonce!==((Je=Ze.csp)===null||Je===void 0?void 0:Je.nonce)){var re;He.nonce=(re=Ze.csp)===null||re===void 0?void 0:re.nonce}return He.innerHTML!==U&&(He.innerHTML=U),He}var se=B(U,Ze);return se.setAttribute(N(Ze),W),se}var Re;function je(U){if(typeof document=="undefined")return 0;if(U||Re===void 0){var W=document.createElement("div");W.style.width="100%",W.style.height="200px";var Y=document.createElement("div"),Se=Y.style;Se.position="absolute",Se.top="0",Se.left="0",Se.pointerEvents="none",Se.visibility="hidden",Se.width="200px",Se.height="150px",Se.overflow="hidden",Y.appendChild(W),document.body.appendChild(Y);var Ie=W.offsetWidth;Y.style.overflow="scroll";var Ze=W.offsetWidth;Ie===Ze&&(Ze=Y.clientWidth),document.body.removeChild(Y),Re=Ie-Ze}return Re}function Le(U){var W=U.match(/^(.*)px$/),Y=Number(W==null?void 0:W[1]);return Number.isNaN(Y)?je():Y}function Ce(U){if(typeof document=="undefined"||!U||!(U instanceof Element))return{width:0,height:0};var W=getComputedStyle(U,"::-webkit-scrollbar"),Y=W.width,Se=W.height;return{width:Le(Y),height:Le(Se)}}function J(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ne="rc-util-locker-".concat(Date.now()),q=0;function F(U){var W=!!U,Y=o.useState(function(){return q+=1,"".concat(ne,"_").concat(q)}),Se=(0,a.Z)(Y,1),Ie=Se[0];(0,p.Z)(function(){if(W){var Ze=Ce(document.body).width,He=J();we(` html body { overflow-y: hidden; `.concat(He?"width: calc(100% - ".concat(Ze,"px);"):"",` -}`),Ie)}else X(Ie);return function(){X(Ie)}},[Z,Ie])}var N=!1;function G(U){return typeof U=="boolean"&&(N=U),N}var ie=function(Z){return Z===!1?!1:!(0,s.Z)()||!Z?null:typeof Z=="string"?document.querySelector(Z):typeof Z=="function"?Z():Z},V=o.forwardRef(function(U,Z){var Q=U.open,Ee=U.autoLock,Ie=U.getContainer,Ze=U.debug,He=U.autoDestroy,Ge=He===void 0?!0:He,Je=U.children,re=o.useState(Q),se=(0,a.Z)(re,2),ve=se[0],me=se[1],xe=ve||Q;o.useEffect(function(){(Ge||Q)&&me(Q)},[Q,Ge]);var oe=o.useState(function(){return ie(Ie)}),fe=(0,a.Z)(oe,2),pe=fe[0],ue=fe[1];o.useEffect(function(){var ae=ie(Ie);ue(ae!=null?ae:null)});var ge=S(xe&&!pe,Ze),Fe=(0,a.Z)(ge,2),$e=Fe[0],ze=Fe[1],vt=pe!=null?pe:$e;O(Ee&&Q&&(0,s.Z)()&&(vt===$e||vt===document.body));var It=null;if(Je&&(0,f.Yr)(Je)&&Z){var De=Je;It=De.ref}var rt=(0,f.x1)(It,Z);if(!xe||!(0,s.Z)()||pe===void 0)return null;var g=vt===!1||G(),$=Je;return Z&&($=o.cloneElement(Je,{ref:rt})),o.createElement(m.Provider,{value:ze},g?$:(0,n.createPortal)($,vt))}),A=V,z=A},82651:function(c,v,e){"use strict";e.d(v,{f:function(){return m},m:function(){return f}});var a=e(52677),o=e.n(a),n=e(97857),s=e.n(n),i=e(55648),f,l="/";function m(h){var S;return h.type==="hash"?S=(0,i.q_)():h.type==="memory"?S=(0,i.PP)(h):S=(0,i.lX)(),h.basename&&(l=h.basename),f=s()(s()({},S),{},{push:function(w,x){S.push(y(w,S),x)},replace:function(w,x){S.replace(y(w,S),x)},get location(){return S.location},get action(){return S.action}}),S}function y(h,S){if(typeof h=="string")return"".concat(p(l)).concat(h);if(o()(h)==="object"){var E=S.location.pathname;return s()(s()({},h),{},{pathname:h.pathname?"".concat(p(l)).concat(h.pathname):E})}else throw new Error("Unexpected to: ".concat(h))}function p(h){return h.slice(-1)==="/"?h.slice(0,-1):h}},6185:function(c,v,e){"use strict";e.d(v,{gD:function(){return _e},We:function(){return We}});var a={};e.r(a),e.d(a,{modifyClientRenderOpts:function(){return m}});var o={};e.r(o),e.d(o,{innerProvider:function(){return S}});var n={};e.r(n),e.d(n,{patchRoutes:function(){return C}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return rt}});var i={};e.r(i),e.d(i,{modifyClientRenderOpts:function(){return g}});var f=e(97857),l=e.n(f);function m(he){var Ae=he.history,ke=he.hydrate;return l()(l()({},he),{},{hydrate:ke&&!["/~demos/:id"].includes(Ae.location.pathname)})}var y=e(67294),p=e(70405),h={},S=function(Ae){return y.createElement(p.B6,{context:h},Ae)},E=e(94314),w=e(9996),x=e.n(w),C=function(Ae){var ke=Ae.routes;Object.values(ke).forEach(function(Pe){if(E.C3[Pe.id]){var Xe;if((Xe=Pe.meta)!==null&&Xe!==void 0&&(Xe=Xe.frontmatter)!==null&&Xe!==void 0&&Xe.debug||E.C3[Pe.id].frontmatter.debug)delete ke[Pe.id];else{var et;Pe.meta=x()(Pe.meta,E.C3[Pe.id]),Pe.meta.tabs=(et=Pe.meta.tabs)===null||et===void 0?void 0:et.map(function(ut){var ot={frontmatter:{title:E.eA[ut].title},toc:[],texts:[]};return l()(l()({},E.eA[ut]),{},{meta:E.C3[ut]||ot})})}}})},I=e(5574),j=e.n(I),L=e(41093),B=e(82644),T=e(97582),D=e(25687),F=e(16284),Y=e(88222),X=e(56096);function te(he,Ae){return Object.keys(he).reduce(function(ke,Pe){return ke[Pe]=(0,T.pi)({timeZone:Ae},he[Pe]),ke},{})}function ce(he,Ae){var ke=Object.keys((0,T.pi)((0,T.pi)({},he),Ae));return ke.reduce(function(Pe,Xe){return Pe[Xe]=(0,T.pi)((0,T.pi)({},he[Xe]||{}),Ae[Xe]||{}),Pe},{})}function we(he,Ae){if(!Ae)return he;var ke=F.C.formats;return(0,T.pi)((0,T.pi)((0,T.pi)({},ke),he),{date:ce(te(ke.date,Ae),te(he.date||{},Ae)),time:ce(te(ke.time,Ae),te(he.time||{},Ae))})}var Re=function(he,Ae,ke,Pe,Xe){var et=he.locale,ut=he.formats,ot=he.messages,Nt=he.defaultLocale,tr=he.defaultFormats,$t=he.fallbackOnEmptyString,hr=he.onError,Rr=he.timeZone,pn=he.defaultRichTextElements;ke===void 0&&(ke={id:""});var Fr=ke.id,_r=ke.defaultMessage;(0,D.kG)(!!Fr,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var hn=String(Fr),Vr=ot&&Object.prototype.hasOwnProperty.call(ot,hn)&&ot[hn];if(Array.isArray(Vr)&&Vr.length===1&&Vr[0].type===X.wD.literal)return Vr[0].value;if(!Pe&&Vr&&typeof Vr=="string"&&!pn)return Vr.replace(/'\{(.*?)\}'/gi,"{$1}");if(Pe=(0,T.pi)((0,T.pi)({},pn),Pe||{}),ut=we(ut,Rr),tr=we(tr,Rr),!Vr){if($t===!1&&Vr==="")return Vr;if((!_r||et&&et.toLowerCase()!==Nt.toLowerCase())&&hr(new Y.$6(ke,et)),_r)try{var oa=Ae.getMessageFormat(_r,Nt,tr,Xe);return oa.format(Pe)}catch(Pn){return hr(new Y.X9('Error formatting default message for: "'.concat(hn,'", rendering default message verbatim'),et,ke,Pn)),typeof _r=="string"?_r:hn}return hn}try{var oa=Ae.getMessageFormat(Vr,et,ut,(0,T.pi)({formatters:Ae},Xe||{}));return oa.format(Pe)}catch(Pn){hr(new Y.X9('Error formatting message: "'.concat(hn,'", using ').concat(_r?"default message":"id"," as fallback."),et,ke,Pn))}if(_r)try{var oa=Ae.getMessageFormat(_r,Nt,tr,Xe);return oa.format(Pe)}catch(Pn){hr(new Y.X9('Error formatting the default message for: "'.concat(hn,'", rendering message verbatim'),et,ke,Pn))}return typeof Vr=="string"?Vr:typeof _r=="string"?_r:hn},je=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Le(he,Ae,ke){var Pe=he.locale,Xe=he.formats,et=he.onError;ke===void 0&&(ke={});var ut=ke.format,ot=ut&&(0,B.TB)(Xe,"number",ut,et)||{},Nt=(0,B.L6)(ke,je,ot);return Ae(Pe,Nt)}function Ce(he,Ae,ke,Pe){Pe===void 0&&(Pe={});try{return Le(he,Ae,Pe).format(ke)}catch(Xe){he.onError(new Y.Qe("Error formatting number.",he.locale,Xe))}return String(ke)}function J(he,Ae,ke,Pe){Pe===void 0&&(Pe={});try{return Le(he,Ae,Pe).formatToParts(ke)}catch(Xe){he.onError(new Y.Qe("Error formatting number.",he.locale,Xe))}return[]}var ne=e(11050),q=["numeric","style"];function O(he,Ae,ke){var Pe=he.locale,Xe=he.formats,et=he.onError;ke===void 0&&(ke={});var ut=ke.format,ot=!!ut&&(0,B.TB)(Xe,"relative",ut,et)||{},Nt=(0,B.L6)(ke,q,ot);return Ae(Pe,Nt)}function N(he,Ae,ke,Pe,Xe){Xe===void 0&&(Xe={}),Pe||(Pe="second");var et=Intl.RelativeTimeFormat;et||he.onError(new ne.u_(`Intl.RelativeTimeFormat is not available in this environment. +}`),Ie)}else X(Ie);return function(){X(Ie)}},[W,Ie])}var A=!1;function H(U){return typeof U=="boolean"&&(A=U),A}var ie=function(W){return W===!1?!1:!(0,s.Z)()||!W?null:typeof W=="string"?document.querySelector(W):typeof W=="function"?W():W},V=o.forwardRef(function(U,W){var Y=U.open,Se=U.autoLock,Ie=U.getContainer,Ze=U.debug,He=U.autoDestroy,Ge=He===void 0?!0:He,Je=U.children,re=o.useState(Y),se=(0,a.Z)(re,2),ve=se[0],me=se[1],xe=ve||Y;o.useEffect(function(){(Ge||Y)&&me(Y)},[Y,Ge]);var oe=o.useState(function(){return ie(Ie)}),fe=(0,a.Z)(oe,2),pe=fe[0],ue=fe[1];o.useEffect(function(){var ae=ie(Ie);ue(ae!=null?ae:null)});var ge=S(xe&&!pe,Ze),Fe=(0,a.Z)(ge,2),$e=Fe[0],ze=Fe[1],vt=pe!=null?pe:$e;F(Se&&Y&&(0,s.Z)()&&(vt===$e||vt===document.body));var It=null;if(Je&&(0,f.Yr)(Je)&&W){var De=Je;It=De.ref}var rt=(0,f.x1)(It,W);if(!xe||!(0,s.Z)()||pe===void 0)return null;var g=vt===!1||H(),$=Je;return W&&($=o.cloneElement(Je,{ref:rt})),o.createElement(m.Provider,{value:ze},g?$:(0,n.createPortal)($,vt))}),O=V,z=O},82651:function(c,v,e){"use strict";e.d(v,{f:function(){return m},m:function(){return f}});var a=e(52677),o=e.n(a),n=e(97857),s=e.n(n),i=e(55648),f,l="/";function m(h){var S;return h.type==="hash"?S=(0,i.q_)():h.type==="memory"?S=(0,i.PP)(h):S=(0,i.lX)(),h.basename&&(l=h.basename),f=s()(s()({},S),{},{push:function(w,x){S.push(y(w,S),x)},replace:function(w,x){S.replace(y(w,S),x)},get location(){return S.location},get action(){return S.action}}),S}function y(h,S){if(typeof h=="string")return"".concat(p(l)).concat(h);if(o()(h)==="object"){var E=S.location.pathname;return s()(s()({},h),{},{pathname:h.pathname?"".concat(p(l)).concat(h.pathname):E})}else throw new Error("Unexpected to: ".concat(h))}function p(h){return h.slice(-1)==="/"?h.slice(0,-1):h}},6185:function(c,v,e){"use strict";e.d(v,{gD:function(){return _e},We:function(){return We}});var a={};e.r(a),e.d(a,{modifyClientRenderOpts:function(){return m}});var o={};e.r(o),e.d(o,{innerProvider:function(){return S}});var n={};e.r(n),e.d(n,{patchRoutes:function(){return C}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return rt}});var i={};e.r(i),e.d(i,{modifyClientRenderOpts:function(){return g}});var f=e(97857),l=e.n(f);function m(he){var Ae=he.history,ke=he.hydrate;return l()(l()({},he),{},{hydrate:ke&&!["/~demos/:id"].includes(Ae.location.pathname)})}var y=e(67294),p=e(70405),h={},S=function(Ae){return y.createElement(p.B6,{context:h},Ae)},E=e(94314),w=e(9996),x=e.n(w),C=function(Ae){var ke=Ae.routes;Object.values(ke).forEach(function(Pe){if(E.C3[Pe.id]){var Xe;if((Xe=Pe.meta)!==null&&Xe!==void 0&&(Xe=Xe.frontmatter)!==null&&Xe!==void 0&&Xe.debug||E.C3[Pe.id].frontmatter.debug)delete ke[Pe.id];else{var et;Pe.meta=x()(Pe.meta,E.C3[Pe.id]),Pe.meta.tabs=(et=Pe.meta.tabs)===null||et===void 0?void 0:et.map(function(ut){var ot={frontmatter:{title:E.eA[ut].title},toc:[],texts:[]};return l()(l()({},E.eA[ut]),{},{meta:E.C3[ut]||ot})})}}})},I=e(5574),D=e.n(I),N=e(41093),k=e(82644),T=e(97582),L=e(25687),B=e(16284),Q=e(88222),X=e(56096);function te(he,Ae){return Object.keys(he).reduce(function(ke,Pe){return ke[Pe]=(0,T.pi)({timeZone:Ae},he[Pe]),ke},{})}function ce(he,Ae){var ke=Object.keys((0,T.pi)((0,T.pi)({},he),Ae));return ke.reduce(function(Pe,Xe){return Pe[Xe]=(0,T.pi)((0,T.pi)({},he[Xe]||{}),Ae[Xe]||{}),Pe},{})}function we(he,Ae){if(!Ae)return he;var ke=B.C.formats;return(0,T.pi)((0,T.pi)((0,T.pi)({},ke),he),{date:ce(te(ke.date,Ae),te(he.date||{},Ae)),time:ce(te(ke.time,Ae),te(he.time||{},Ae))})}var Re=function(he,Ae,ke,Pe,Xe){var et=he.locale,ut=he.formats,ot=he.messages,Nt=he.defaultLocale,tr=he.defaultFormats,$t=he.fallbackOnEmptyString,hr=he.onError,Rr=he.timeZone,pn=he.defaultRichTextElements;ke===void 0&&(ke={id:""});var Fr=ke.id,_r=ke.defaultMessage;(0,L.kG)(!!Fr,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var hn=String(Fr),Vr=ot&&Object.prototype.hasOwnProperty.call(ot,hn)&&ot[hn];if(Array.isArray(Vr)&&Vr.length===1&&Vr[0].type===X.wD.literal)return Vr[0].value;if(!Pe&&Vr&&typeof Vr=="string"&&!pn)return Vr.replace(/'\{(.*?)\}'/gi,"{$1}");if(Pe=(0,T.pi)((0,T.pi)({},pn),Pe||{}),ut=we(ut,Rr),tr=we(tr,Rr),!Vr){if($t===!1&&Vr==="")return Vr;if((!_r||et&&et.toLowerCase()!==Nt.toLowerCase())&&hr(new Q.$6(ke,et)),_r)try{var oa=Ae.getMessageFormat(_r,Nt,tr,Xe);return oa.format(Pe)}catch(Pn){return hr(new Q.X9('Error formatting default message for: "'.concat(hn,'", rendering default message verbatim'),et,ke,Pn)),typeof _r=="string"?_r:hn}return hn}try{var oa=Ae.getMessageFormat(Vr,et,ut,(0,T.pi)({formatters:Ae},Xe||{}));return oa.format(Pe)}catch(Pn){hr(new Q.X9('Error formatting message: "'.concat(hn,'", using ').concat(_r?"default message":"id"," as fallback."),et,ke,Pn))}if(_r)try{var oa=Ae.getMessageFormat(_r,Nt,tr,Xe);return oa.format(Pe)}catch(Pn){hr(new Q.X9('Error formatting the default message for: "'.concat(hn,'", rendering message verbatim'),et,ke,Pn))}return typeof Vr=="string"?Vr:typeof _r=="string"?_r:hn},je=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Le(he,Ae,ke){var Pe=he.locale,Xe=he.formats,et=he.onError;ke===void 0&&(ke={});var ut=ke.format,ot=ut&&(0,k.TB)(Xe,"number",ut,et)||{},Nt=(0,k.L6)(ke,je,ot);return Ae(Pe,Nt)}function Ce(he,Ae,ke,Pe){Pe===void 0&&(Pe={});try{return Le(he,Ae,Pe).format(ke)}catch(Xe){he.onError(new Q.Qe("Error formatting number.",he.locale,Xe))}return String(ke)}function J(he,Ae,ke,Pe){Pe===void 0&&(Pe={});try{return Le(he,Ae,Pe).formatToParts(ke)}catch(Xe){he.onError(new Q.Qe("Error formatting number.",he.locale,Xe))}return[]}var ne=e(11050),q=["numeric","style"];function F(he,Ae,ke){var Pe=he.locale,Xe=he.formats,et=he.onError;ke===void 0&&(ke={});var ut=ke.format,ot=!!ut&&(0,k.TB)(Xe,"relative",ut,et)||{},Nt=(0,k.L6)(ke,q,ot);return Ae(Pe,Nt)}function A(he,Ae,ke,Pe,Xe){Xe===void 0&&(Xe={}),Pe||(Pe="second");var et=Intl.RelativeTimeFormat;et||he.onError(new ne.u_(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`,ne.jK.MISSING_INTL_API));try{return O(he,Ae,Xe).format(ke,Pe)}catch(ut){he.onError(new Y.Qe("Error formatting relative time.",he.locale,ut))}return String(ke)}var G=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ie(he,Ae,ke,Pe){var Xe=he.locale,et=he.formats,ut=he.onError,ot=he.timeZone;Pe===void 0&&(Pe={});var Nt=Pe.format,tr=(0,T.pi)((0,T.pi)({},ot&&{timeZone:ot}),Nt&&(0,B.TB)(et,Ae,Nt,ut)),$t=(0,B.L6)(Pe,G,tr);return Ae==="time"&&!$t.hour&&!$t.minute&&!$t.second&&!$t.timeStyle&&!$t.dateStyle&&($t=(0,T.pi)((0,T.pi)({},$t),{hour:"numeric",minute:"numeric"})),ke(Xe,$t)}function V(he,Ae){for(var ke=[],Pe=2;Pe0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return R.length!==k.length||R.some((_,de)=>!Object.is(_,k[de]))}function L(R){if(R==null||typeof R.didCatch!="boolean"||typeof R.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function B(){const R=useContext(x);L(R);const[k,_]=useState({error:null,hasError:!1}),de=useMemo(()=>({resetBoundary:()=>{R.resetErrorBoundary(),_({error:null,hasError:!1})},showBoundary:Ke=>_({error:Ke,hasError:!0})}),[R.resetErrorBoundary]);if(k.hasError)throw k.error;return de}function T(R,k){const _=forwardRef((Ke,tt)=>createElement(I,k,createElement(R,Bc(kc({},Ke),{ref:tt})))),de=R.displayName||R.name||"Unknown";return _.displayName="withErrorBoundary(".concat(de,")"),_}function D(){return D=Object.assign?Object.assign.bind():function(R){for(var k=1;kR.length)&&(k=R.length);for(var _=0,de=new Array(k);_1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var pr=0;prR.length)&&(k=R.length);for(var _=0,de=new Array(k);_R.length)&&(k=R.length);for(var _=0,de=new Array(k);_R.length)&&(k=R.length);for(var _=0,de=new Array(k);_',isBinary:!1},lt[zt]={content:(0,re.AM)(pt.react),isBinary:!1};var or=re.EV.applyPlugins({type:a.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:lt},args:R});return(0,Je.Z)(or)}var ge=function(k,_){var de,Ke=document.createElement("form"),tt=document.createElement("input"),nt=ue(k);Ke.method="POST",Ke.target="_blank",Ke.style.display="none",Ke.action=(_==null?void 0:_.api)||pe,Ke.appendChild(tt),Ke.setAttribute("data-demo",((de=k.assets)===null||de===void 0?void 0:de.id)||""),tt.name="parameters",tt.value=nt,document.body.appendChild(Ke),Ke.submit(),Ke.remove()},Fe=e(97857),$e=e.n(Fe),ze=e(12444),vt=e.n(ze),It=e(72004),De=e.n(It),rt=e(52677),g=e.n(rt),$=e(5574),ae=e.n($),ee=500,Oe=20,Ne=300,_e="https://stackblitz.com",We=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],he=["project","search","ports","settings"],Ae=["light","dark"],ke=["editor","preview"],Pe={clickToLoad:function(k){return et("ctl",k)},devToolsHeight:function(k){return ot("devtoolsheight",k)},forceEmbedLayout:function(k){return et("embed",k)},hideDevTools:function(k){return et("hidedevtools",k)},hideExplorer:function(k){return et("hideExplorer",k)},hideNavigation:function(k){return et("hideNavigation",k)},openFile:function(k){return tr("file",k)},showSidebar:function(k){return ut("showSidebar",k)},sidebarView:function(k){return Nt("sidebarView",k,he)},startScript:function(k){return tr("startScript",k)},terminalHeight:function(k){return ot("terminalHeight",k)},theme:function(k){return Nt("theme",k,Ae)},view:function(k){return Nt("view",k,ke)},zenMode:function(k){return et("zenMode",k)}};function Xe(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=Object.entries(R).map(function(_){var de=ae()(_,2),Ke=de[0],tt=de[1];return tt!=null&&Pe.hasOwnProperty(Ke)?Pe[Ke](tt):""}).filter(Boolean);return k.length?"?".concat(k.join("&")):""}function et(R,k){return k===!0?"".concat(R,"=1"):""}function ut(R,k){return typeof k=="boolean"?"".concat(R,"=").concat(k?"1":"0"):""}function ot(R,k){if(typeof k=="number"&&!Number.isNaN(k)){var _=Math.min(100,Math.max(0,k));return"".concat(R,"=").concat(encodeURIComponent(Math.round(_)))}return""}function Nt(R){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return _.includes(k)?"".concat(R,"=").concat(encodeURIComponent(k)):""}function tr(R,k){var _=Array.isArray(k)?k:[k];return _.filter(function(de){return typeof de=="string"&&de.trim()!==""}).map(function(de){return"".concat(R,"=").concat(encodeURIComponent(de))}).join("&")}function $t(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function hr(R,k){return"".concat(pn(k)).concat(R).concat(Xe(k))}function Rr(R,k){var _={forceEmbedLayout:!0};return k&&g()(k)==="object"&&Object.assign(_,k),"".concat(pn(_)).concat(R).concat(Xe(_))}function pn(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=typeof R.origin=="string"?R.origin:_e;return k.replace(/\/$/,"")}function Fr(R,k,_){if(!k||!R||!R.parentNode)throw new Error("Invalid Element");R.id&&(k.id=R.id),R.className&&(k.className=R.className),Vr(k,_),R.replaceWith(k)}function _r(R){if(typeof R=="string"){var k=document.getElementById(R);if(!k)throw new Error("Could not find element with id '".concat(R,"'"));return k}else if(R instanceof HTMLElement)return R;throw new Error("Invalid element: ".concat(R))}function hn(R){return R&&R.newWindow===!1?"_self":"_blank"}function Vr(R){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=Object.hasOwnProperty.call(k,"height")?"".concat(k.height):"".concat(Ne),de=Object.hasOwnProperty.call(k,"width")?"".concat(k.width):void 0;R.setAttribute("height",_),de?R.setAttribute("width",de):R.setAttribute("style","width:100%;")}var oa=function(){function R(k){vt()(this,R),this.pending={},this.port=k,this.port.onmessage=this.messageListener.bind(this)}return De()(R,[{key:"request",value:function(_){var de=this,Ke=_.type,tt=_.payload;return new Promise(function(nt,st){var lt=$t();de.pending[lt]={resolve:nt,reject:st},de.port.postMessage({type:Ke,payload:$e()($e()({},tt),{},{__reqid:lt})})})}},{key:"messageListener",value:function(_){var de;if(typeof((de=_.data.payload)===null||de===void 0?void 0:de.__reqid)=="string"){var Ke=_.data,tt=Ke.type,nt=Ke.payload,st=nt.__reqid,lt=nt.__success,pt=nt.__error;this.pending[st]&&(lt?this.pending[st].resolve(this.cleanResult(nt)):this.pending[st].reject(pt?"".concat(tt,": ").concat(pt):tt),delete this.pending[st])}}},{key:"cleanResult",value:function(_){var de=$e()({},_);return delete de.__reqid,delete de.__success,delete de.__error,Object.keys(de).length?de:null}}]),R}(),Pn=function(){function R(k,_){var de=this;vt()(this,R),this.editor={openFile:function(tt){return de._rdc.request({type:"SDK_OPEN_FILE",payload:{path:tt}})},setCurrentFile:function(tt){return de._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:tt}})},setTheme:function(tt){return de._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:tt}})},setView:function(tt){return de._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:tt}})},showSidebar:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return de._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:tt}})}},this.preview={origin:"",getUrl:function(){return de._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(function(tt){var nt;return(nt=tt==null?void 0:tt.url)!==null&&nt!==void 0?nt:null})},setUrl:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"/";if(typeof tt!="string"||!tt.startsWith("/"))throw new Error("Invalid argument: expected a path starting with '/', got '".concat(tt,"'"));return de._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:tt}})}},this._rdc=new oa(k),Object.defineProperty(this.preview,"origin",{value:typeof _.previewOrigin=="string"?_.previewOrigin:null,writable:!1})}return De()(R,[{key:"applyFsDiff",value:function(_){var de=function(tt){return tt!==null&&g()(tt)==="object"};if(!de(_)||!de(_.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(_.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:_})}},{key:"getDependencies",value:function(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}},{key:"getFsSnapshot",value:function(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}]),R}(),Rn=[],Mn=De()(function R(k){var _=this;vt()(this,R),this.id=$t(),this.element=k,this.pending=new Promise(function(de,Ke){var tt=function(or){var Vt=or.data,Wt=or.ports;(Vt==null?void 0:Vt.action)==="SDK_INIT_SUCCESS"&&Vt.id===_.id&&(_.vm=new Pn(Wt[0],Vt.payload),de(_.vm),st())},nt=function(){var or;(or=_.element.contentWindow)===null||or===void 0||or.postMessage({action:"SDK_INIT",id:_.id},"*")};function st(){window.clearInterval(pt),window.removeEventListener("message",tt)}window.addEventListener("message",tt),nt();var lt=0,pt=window.setInterval(function(){if(_.vm){st();return}if(lt>=Oe){st(),Ke("Timeout: Unable to establish a connection with the StackBlitz VM"),Rn.forEach(function(zt,or){zt.id===_.id&&Rn.splice(or,1)});return}lt++,nt()},ee)}),Rn.push(this)}),Ta=function(k){var _,de=k instanceof Element?"element":"id";return(_=Rn.find(function(Ke){return Ke[de]===k}))!==null&&_!==void 0?_:null};function ia(R,k){var _=document.createElement("input");return _.type="hidden",_.name=R,_.value=k,_}function Pt(R){return R.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function gt(R){var k=R.template,_=R.title,de=R.description,Ke=R.dependencies,tt=R.files,nt=R.settings;if(!We.includes(k)){var st=We.map(function(or){return"'".concat(or,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(st))}var lt=[],pt=function(Vt,Wt){var pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";lt.push(ia(Vt,typeof Wt=="string"?Wt:pr))};pt("project[title]",_),typeof de=="string"&&de.length>0&&pt("project[description]",de),pt("project[template]",k,"javascript"),Ke&&(k==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):pt("project[dependencies]",JSON.stringify(Ke))),nt&&pt("project[settings]",JSON.stringify(nt)),Object.entries(tt).forEach(function(or){var Vt=ae()(or,2),Wt=Vt[0],pr=Vt[1];pt("project[files][".concat(Pt(Wt),"]"),pr)});var zt=document.createElement("form");return zt.method="POST",zt.setAttribute("style","display:none!important;"),zt.append.apply(zt,lt),zt}function Et(R,k){var _=gt(R);_.action=Rr("/run",k),_.id="sb_run";var de=` +For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function xe(he,Ae){var ke=(0,k.ax)(Ae),Pe=(0,T.pi)((0,T.pi)({},k.Z0),he),Xe=Pe.locale,et=Pe.defaultLocale,ut=Pe.onError;return Xe?!Intl.NumberFormat.supportedLocalesOf(Xe).length&&ut?ut(new Q.gb('Missing locale data for locale: "'.concat(Xe,'" in Intl.NumberFormat. Using default locale: "').concat(et,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(Xe).length&&ut&&ut(new Q.gb('Missing locale data for locale: "'.concat(Xe,'" in Intl.DateTimeFormat. Using default locale: "').concat(et,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(ut&&ut(new Q.OV('"locale" was not configured, using "'.concat(et,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),Pe.locale=Pe.defaultLocale||"en"),me(Pe),(0,T.pi)((0,T.pi)({},Pe),{formatters:ke,formatNumber:Ce.bind(null,Pe,ke.getNumberFormat),formatNumberToParts:J.bind(null,Pe,ke.getNumberFormat),formatRelativeTime:A.bind(null,Pe,ke.getRelativeTimeFormat),formatDate:V.bind(null,Pe,ke.getDateTimeFormat),formatDateToParts:U.bind(null,Pe,ke.getDateTimeFormat),formatTime:O.bind(null,Pe,ke.getDateTimeFormat),formatDateTimeRange:z.bind(null,Pe,ke.getDateTimeFormat),formatTimeToParts:W.bind(null,Pe,ke.getDateTimeFormat),formatPlural:Se.bind(null,Pe,ke.getPluralRules),formatMessage:Re.bind(null,Pe,ke),$t:Re.bind(null,Pe,ke),formatList:Ge.bind(null,Pe,ke.getListFormat),formatListToParts:Je.bind(null,Pe,ke.getListFormat),formatDisplayName:se.bind(null,Pe,ke.getDisplayNames)})}var oe=e(680),fe=e(61092);function pe(he){return he&&Object.keys(he).reduce(function(Ae,ke){var Pe=he[ke];return Ae[ke]=(0,fe.Gt)(Pe)?(0,oe.dt)(Pe):Pe,Ae},{})}var ue=function(he,Ae,ke,Pe){for(var Xe=[],et=4;et0&&arguments[0]!==void 0?arguments[0]:[],j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return R.length!==j.length||R.some((_,de)=>!Object.is(_,j[de]))}function N(R){if(R==null||typeof R.didCatch!="boolean"||typeof R.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function k(){const R=useContext(x);N(R);const[j,_]=useState({error:null,hasError:!1}),de=useMemo(()=>({resetBoundary:()=>{R.resetErrorBoundary(),_({error:null,hasError:!1})},showBoundary:Ke=>_({error:Ke,hasError:!0})}),[R.resetErrorBoundary]);if(j.hasError)throw j.error;return de}function T(R,j){const _=forwardRef((Ke,tt)=>createElement(I,j,createElement(R,Bc(kc({},Ke),{ref:tt})))),de=R.displayName||R.name||"Unknown";return _.displayName="withErrorBoundary(".concat(de,")"),_}function L(){return L=Object.assign?Object.assign.bind():function(R){for(var j=1;jR.length)&&(j=R.length);for(var _=0,de=new Array(j);_1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var pr=0;prR.length)&&(j=R.length);for(var _=0,de=new Array(j);_R.length)&&(j=R.length);for(var _=0,de=new Array(j);_R.length)&&(j=R.length);for(var _=0,de=new Array(j);_',isBinary:!1},lt[zt]={content:(0,re.AM)(pt.react),isBinary:!1};var or=re.EV.applyPlugins({type:a.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:lt},args:R});return(0,Je.Z)(or)}var ge=function(j,_){var de,Ke=document.createElement("form"),tt=document.createElement("input"),nt=ue(j);Ke.method="POST",Ke.target="_blank",Ke.style.display="none",Ke.action=(_==null?void 0:_.api)||pe,Ke.appendChild(tt),Ke.setAttribute("data-demo",((de=j.assets)===null||de===void 0?void 0:de.id)||""),tt.name="parameters",tt.value=nt,document.body.appendChild(Ke),Ke.submit(),Ke.remove()},Fe=e(97857),$e=e.n(Fe),ze=e(12444),vt=e.n(ze),It=e(72004),De=e.n(It),rt=e(52677),g=e.n(rt),$=e(5574),ae=e.n($),ee=500,Oe=20,Ne=300,_e="https://stackblitz.com",We=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],he=["project","search","ports","settings"],Ae=["light","dark"],ke=["editor","preview"],Pe={clickToLoad:function(j){return et("ctl",j)},devToolsHeight:function(j){return ot("devtoolsheight",j)},forceEmbedLayout:function(j){return et("embed",j)},hideDevTools:function(j){return et("hidedevtools",j)},hideExplorer:function(j){return et("hideExplorer",j)},hideNavigation:function(j){return et("hideNavigation",j)},openFile:function(j){return tr("file",j)},showSidebar:function(j){return ut("showSidebar",j)},sidebarView:function(j){return Nt("sidebarView",j,he)},startScript:function(j){return tr("startScript",j)},terminalHeight:function(j){return ot("terminalHeight",j)},theme:function(j){return Nt("theme",j,Ae)},view:function(j){return Nt("view",j,ke)},zenMode:function(j){return et("zenMode",j)}};function Xe(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=Object.entries(R).map(function(_){var de=ae()(_,2),Ke=de[0],tt=de[1];return tt!=null&&Pe.hasOwnProperty(Ke)?Pe[Ke](tt):""}).filter(Boolean);return j.length?"?".concat(j.join("&")):""}function et(R,j){return j===!0?"".concat(R,"=1"):""}function ut(R,j){return typeof j=="boolean"?"".concat(R,"=").concat(j?"1":"0"):""}function ot(R,j){if(typeof j=="number"&&!Number.isNaN(j)){var _=Math.min(100,Math.max(0,j));return"".concat(R,"=").concat(encodeURIComponent(Math.round(_)))}return""}function Nt(R){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return _.includes(j)?"".concat(R,"=").concat(encodeURIComponent(j)):""}function tr(R,j){var _=Array.isArray(j)?j:[j];return _.filter(function(de){return typeof de=="string"&&de.trim()!==""}).map(function(de){return"".concat(R,"=").concat(encodeURIComponent(de))}).join("&")}function $t(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function hr(R,j){return"".concat(pn(j)).concat(R).concat(Xe(j))}function Rr(R,j){var _={forceEmbedLayout:!0};return j&&g()(j)==="object"&&Object.assign(_,j),"".concat(pn(_)).concat(R).concat(Xe(_))}function pn(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=typeof R.origin=="string"?R.origin:_e;return j.replace(/\/$/,"")}function Fr(R,j,_){if(!j||!R||!R.parentNode)throw new Error("Invalid Element");R.id&&(j.id=R.id),R.className&&(j.className=R.className),Vr(j,_),R.replaceWith(j)}function _r(R){if(typeof R=="string"){var j=document.getElementById(R);if(!j)throw new Error("Could not find element with id '".concat(R,"'"));return j}else if(R instanceof HTMLElement)return R;throw new Error("Invalid element: ".concat(R))}function hn(R){return R&&R.newWindow===!1?"_self":"_blank"}function Vr(R){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=Object.hasOwnProperty.call(j,"height")?"".concat(j.height):"".concat(Ne),de=Object.hasOwnProperty.call(j,"width")?"".concat(j.width):void 0;R.setAttribute("height",_),de?R.setAttribute("width",de):R.setAttribute("style","width:100%;")}var oa=function(){function R(j){vt()(this,R),this.pending={},this.port=j,this.port.onmessage=this.messageListener.bind(this)}return De()(R,[{key:"request",value:function(_){var de=this,Ke=_.type,tt=_.payload;return new Promise(function(nt,st){var lt=$t();de.pending[lt]={resolve:nt,reject:st},de.port.postMessage({type:Ke,payload:$e()($e()({},tt),{},{__reqid:lt})})})}},{key:"messageListener",value:function(_){var de;if(typeof((de=_.data.payload)===null||de===void 0?void 0:de.__reqid)=="string"){var Ke=_.data,tt=Ke.type,nt=Ke.payload,st=nt.__reqid,lt=nt.__success,pt=nt.__error;this.pending[st]&&(lt?this.pending[st].resolve(this.cleanResult(nt)):this.pending[st].reject(pt?"".concat(tt,": ").concat(pt):tt),delete this.pending[st])}}},{key:"cleanResult",value:function(_){var de=$e()({},_);return delete de.__reqid,delete de.__success,delete de.__error,Object.keys(de).length?de:null}}]),R}(),Pn=function(){function R(j,_){var de=this;vt()(this,R),this.editor={openFile:function(tt){return de._rdc.request({type:"SDK_OPEN_FILE",payload:{path:tt}})},setCurrentFile:function(tt){return de._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:tt}})},setTheme:function(tt){return de._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:tt}})},setView:function(tt){return de._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:tt}})},showSidebar:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return de._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:tt}})}},this.preview={origin:"",getUrl:function(){return de._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(function(tt){var nt;return(nt=tt==null?void 0:tt.url)!==null&&nt!==void 0?nt:null})},setUrl:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"/";if(typeof tt!="string"||!tt.startsWith("/"))throw new Error("Invalid argument: expected a path starting with '/', got '".concat(tt,"'"));return de._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:tt}})}},this._rdc=new oa(j),Object.defineProperty(this.preview,"origin",{value:typeof _.previewOrigin=="string"?_.previewOrigin:null,writable:!1})}return De()(R,[{key:"applyFsDiff",value:function(_){var de=function(tt){return tt!==null&&g()(tt)==="object"};if(!de(_)||!de(_.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(_.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:_})}},{key:"getDependencies",value:function(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}},{key:"getFsSnapshot",value:function(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}]),R}(),Rn=[],Mn=De()(function R(j){var _=this;vt()(this,R),this.id=$t(),this.element=j,this.pending=new Promise(function(de,Ke){var tt=function(or){var Vt=or.data,Wt=or.ports;(Vt==null?void 0:Vt.action)==="SDK_INIT_SUCCESS"&&Vt.id===_.id&&(_.vm=new Pn(Wt[0],Vt.payload),de(_.vm),st())},nt=function(){var or;(or=_.element.contentWindow)===null||or===void 0||or.postMessage({action:"SDK_INIT",id:_.id},"*")};function st(){window.clearInterval(pt),window.removeEventListener("message",tt)}window.addEventListener("message",tt),nt();var lt=0,pt=window.setInterval(function(){if(_.vm){st();return}if(lt>=Oe){st(),Ke("Timeout: Unable to establish a connection with the StackBlitz VM"),Rn.forEach(function(zt,or){zt.id===_.id&&Rn.splice(or,1)});return}lt++,nt()},ee)}),Rn.push(this)}),Ta=function(j){var _,de=j instanceof Element?"element":"id";return(_=Rn.find(function(Ke){return Ke[de]===j}))!==null&&_!==void 0?_:null};function ia(R,j){var _=document.createElement("input");return _.type="hidden",_.name=R,_.value=j,_}function Pt(R){return R.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function gt(R){var j=R.template,_=R.title,de=R.description,Ke=R.dependencies,tt=R.files,nt=R.settings;if(!We.includes(j)){var st=We.map(function(or){return"'".concat(or,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(st))}var lt=[],pt=function(Vt,Wt){var pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";lt.push(ia(Vt,typeof Wt=="string"?Wt:pr))};pt("project[title]",_),typeof de=="string"&&de.length>0&&pt("project[description]",de),pt("project[template]",j,"javascript"),Ke&&(j==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):pt("project[dependencies]",JSON.stringify(Ke))),nt&&pt("project[settings]",JSON.stringify(nt)),Object.entries(tt).forEach(function(or){var Vt=ae()(or,2),Wt=Vt[0],pr=Vt[1];pt("project[files][".concat(Pt(Wt),"]"),pr)});var zt=document.createElement("form");return zt.method="POST",zt.setAttribute("style","display:none!important;"),zt.append.apply(zt,lt),zt}function Et(R,j){var _=gt(R);_.action=Rr("/run",j),_.id="sb_run";var de=` `.concat(_.outerHTML,` + \ No newline at end of file diff --git a/~demos/dialog-demo-basic/index.html b/~demos/dialog-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/dialog-demo-basic/index.html +++ b/~demos/dialog-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/input-demo-basic/index.html b/~demos/input-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/input-demo-basic/index.html +++ b/~demos/input-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/menu-demo-basic/index.html b/~demos/menu-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/menu-demo-basic/index.html +++ b/~demos/menu-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/menu-demo-contextmenu/index.html b/~demos/menu-demo-contextmenu/index.html index 17a1e94..5558a16 100644 --- a/~demos/menu-demo-contextmenu/index.html +++ b/~demos/menu-demo-contextmenu/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/popover-demo-basic/index.html b/~demos/popover-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/popover-demo-basic/index.html +++ b/~demos/popover-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/src-button-demo-basic/index.html b/~demos/src-button-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/src-button-demo-basic/index.html +++ b/~demos/src-button-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/src-button-demo-btntype/index.html b/~demos/src-button-demo-btntype/index.html index 17a1e94..5558a16 100644 --- a/~demos/src-button-demo-btntype/index.html +++ b/~demos/src-button-demo-btntype/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/toast-demo-basic/index.html b/~demos/toast-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/toast-demo-basic/index.html +++ b/~demos/toast-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/tooltip-demo-basic/index.html b/~demos/tooltip-demo-basic/index.html index 17a1e94..5558a16 100644 --- a/~demos/tooltip-demo-basic/index.html +++ b/~demos/tooltip-demo-basic/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file