@ttmg/cli 0.4.5 → 0.4.6-agent-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +644 -2
- package/dist/index.js +22502 -6070
- package/dist/index.js.map +1 -1
- package/dist/package.json +36 -4
- package/dist/public/assets/{Card-BAsimNoh.js → Card-CN2lxY0Y.js} +1 -1
- package/dist/public/assets/{Detail-rVxbEDgh.js → Detail-CELZZ-4h.js} +1 -1
- package/dist/public/assets/Detail-CELZZ-4h.js.br +0 -0
- package/dist/public/assets/{MonetizationMode-B20TAE9o.js → MonetizationMode-C7DNqium.js} +1 -1
- package/dist/public/assets/{MonetizationModeSummary-CnHqXyco.js → MonetizationModeSummary-DYE7XUq1.js} +1 -1
- package/dist/public/assets/{SectionHeader-Cn3FnOqh.js → SectionHeader-BKc3BWXP.js} +1 -1
- package/dist/public/assets/{baseForm-kBTxn8h8.js → baseForm-I9suIiQn.js} +1 -1
- package/dist/public/assets/baseForm-I9suIiQn.js.br +0 -0
- package/dist/public/assets/{col-VN3Ivd-x.js → col-w9Q-2mgM.js} +1 -1
- package/dist/public/assets/{compass-BabZVjAl.js → compass-D6waJ52O.js} +1 -1
- package/dist/public/assets/{index-DHdJsD10.js → index-8sDAOAcS.js} +1 -1
- package/dist/public/assets/index-8sDAOAcS.js.br +0 -0
- package/dist/public/assets/{index-DK4IvdRl.js → index-B6hY5GdS.js} +1 -1
- package/dist/public/assets/{index-Cl0_vMWE.js → index-BIrFkB6r.js} +1 -1
- package/dist/public/assets/index-BIrFkB6r.js.br +0 -0
- package/dist/public/assets/{index-BjQlJrX7.js → index-BLWgpW64.js} +1 -1
- package/dist/public/assets/{index-odEI7YQF.js → index-BY3eQmfP.js} +1 -1
- package/dist/public/assets/index-BY3eQmfP.js.br +0 -0
- package/dist/public/assets/{index-Bjn0ctEd.js → index-BegU9LBT.js} +2 -2
- package/dist/public/assets/index-BegU9LBT.js.br +0 -0
- package/dist/public/assets/{index-1WjGwqIV.js → index-BqwflQml.js} +1 -1
- package/dist/public/assets/{index-DXDZCuG4.js → index-BrOFdVbv.js} +1 -1
- package/dist/public/assets/{index-BxsB5E3u.js → index-BvPolBSn.js} +1 -1
- package/dist/public/assets/{index-BnOeYQAd.js → index-BwrZjkCc.js} +1 -1
- package/dist/public/assets/{index-CUuX90R9.js → index-CLKKui8G.js} +1 -1
- package/dist/public/assets/{index-Dohibgdp.js → index-Cb4Ja0tZ.js} +1 -1
- package/dist/public/assets/{index-C83QHLmD.js → index-CcUgN29Y.js} +1 -1
- package/dist/public/assets/{index-aSl6Wdrp.js → index-CgXOkYrX.js} +1 -1
- package/dist/public/assets/index-CgXOkYrX.js.br +0 -0
- package/dist/public/assets/{index-DulANwbq.js → index-CsiIrLKY.js} +1 -1
- package/dist/public/assets/{index-Ba-JWe4X.js → index-Csmg5oyu.js} +1 -1
- package/dist/public/assets/{index-DnnfZ7H_.js → index-DDecPuod.js} +1 -1
- package/dist/public/assets/{index-Clq0hTDI.js → index-DDy4PkWT.js} +1 -1
- package/dist/public/assets/{index-DIcz5ciL.js → index-DEQ2hVPA.js} +1 -1
- package/dist/public/assets/index-DEQ2hVPA.js.br +0 -0
- package/dist/public/assets/{index-CpM8t743.js → index-DGkgqtgJ.js} +1 -1
- package/dist/public/assets/{index-QNLvejKK.js → index-FVHabbDB.js} +1 -1
- package/dist/public/assets/{index-CzXMNZL3.js → index-M8jf-YAZ.js} +1 -1
- package/dist/public/assets/{index-BxokHznc.js → index-Q0GC8Irj.js} +1 -1
- package/dist/public/assets/index-Q0GC8Irj.js.br +0 -0
- package/dist/public/assets/{index--6iHQzho.js → index-YVB9ZW00.js} +1 -1
- package/dist/public/assets/{index-O_L1tU2b.js → index-mjEeEQcC.js} +1 -1
- package/dist/public/assets/index-mjEeEQcC.js.br +0 -0
- package/dist/public/assets/{index-BFFsJ47B.js → index-rLkONFpx.js} +1 -1
- package/dist/public/assets/{layers-B4zhx14P.js → layers-Dbwq9AyL.js} +1 -1
- package/dist/public/assets/{list-checks-Br6imjXC.js → list-checks-og1usOZf.js} +1 -1
- package/dist/public/assets/{sparkles-BjIkcbAi.js → sparkles-p-dZbjGb.js} +1 -1
- package/dist/public/assets/{triangle-alert-CgKAc3w5.js → triangle-alert-BZVAEUiL.js} +1 -1
- package/dist/public/assets/{zap-DFHw5liD.js → zap-BAhZUPPa.js} +1 -1
- package/dist/public/index.html +1 -1
- package/dist/scripts/acceptance-fixture.test.js +33 -0
- package/dist/scripts/dev-capture-smoke.js +76 -0
- package/dist/scripts/dev-client-preview-control-smoke.js +606 -0
- package/dist/scripts/dev-default-smoke.js +67 -0
- package/dist/scripts/dev-game-ready-smoke.js +155 -0
- package/dist/scripts/dev-workflow-smoke.js +260 -0
- package/dist/scripts/prepare-client-preview-acceptance.js +65 -0
- package/dist/scripts/preview-page-server-smoke.js +63 -0
- package/dist/scripts/run-ts-test.js +41 -0
- package/dist/scripts/verify-agent-contract.js +410 -0
- package/dist/scripts/vibe-ppe-test-preload.cjs +23 -0
- package/dist/scripts/vibe-upload-demo.js +72 -0
- package/dist/scripts/vibe-upload-smoke.js +412 -0
- package/dist/scripts/wasm-smoke.js +53 -0
- package/dist/scripts/wasm-worker.js +63 -0
- package/dist/scripts/worker.js +28 -22
- package/package.json +36 -4
- package/CHANGELOG.md +0 -277
- package/dist/public/assets/Detail-rVxbEDgh.js.br +0 -0
- package/dist/public/assets/baseForm-kBTxn8h8.js.br +0 -0
- package/dist/public/assets/index-Bjn0ctEd.js.br +0 -0
- package/dist/public/assets/index-BxokHznc.js.br +0 -0
- package/dist/public/assets/index-Cl0_vMWE.js.br +0 -0
- package/dist/public/assets/index-DHdJsD10.js.br +0 -0
- package/dist/public/assets/index-DIcz5ciL.js.br +0 -0
- package/dist/public/assets/index-O_L1tU2b.js.br +0 -0
- package/dist/public/assets/index-aSl6Wdrp.js.br +0 -0
- package/dist/public/assets/index-odEI7YQF.js.br +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as Me,ax as lg,ay as Vh,R as p,az as te,aA as ne,aB as Ae,aC as Yn,aD as Bn,aE as la,aF as Di,aG as Nr,aH as Mr,aI as ug,aJ as cg,aK as U,ag as pt,r as T,aL as ua,ai as dg,t as W,w as xe,$ as ht,aM as Ne,aN as je,U as kt,aO as tn,aP as jh,z as R,L as Et,at as Hh,J as u,K as ca,M as k,aQ as Or,y as Ie,aR as ll,aS as ke,aT as da,aU as Yt,e as Xr,p as qn,a2 as ha,aV as hg,aW as Uh,aX as Rl,aY as ni,aZ as fg,a_ as ri,a$ as pg,b0 as gg,b1 as mg,b2 as yg,b3 as vg,b4 as bg,b5 as Cg,b6 as wg,b7 as _g,b8 as Kh,b9 as Sg,ba as Yh,bb as Eg,bc as ai,bd as Tg,be as Pg,bf as si,bg as Og,bh as Bh,bi as qh,bj as Ig,bk as Dg,bl as Wh,bm as xg,bn as Rg,bo as Fg,bp as kg,bq as tt,_ as K,br as Cr,G as zh,bs as Gh,bt as In,F as Ee,bu as Xh,H as Rn,bv as Zh,bw as dr,a as Br,bx as Ag,by as Ir,a0 as wr,I as Fl,bz as Ng,bA as Mg,bB as kl,bC as Lg,bD as Rs,bE as Qh,bF as Jh,bG as ef,bH as tf,bI as nf,bJ as $g,bK as Fe,bL as ii,bM as Zr,bN as nt,V as Ur,B as _r,bO as Vg,bP as jg,bQ as Hg,bR as rf,bS as Ug,bT as af,bU as Kg,bV as Yg,bW as sf,bX as of,bY as De,bZ as Bg,b_ as qg,b$ as lf,T as uf,c0 as Wg,c1 as Al,c2 as zg,c3 as cf,c4 as Gg,c5 as Xg,ae as Su,a5 as En,al as xi,c6 as Zg,c7 as df,c8 as Qg,c9 as Jg,ca as em,cb as tm,cc as Fs,x as Nl,W as ul,E as nm,O as rm,n as Ml,cd as am,ce as sm}from"./index-Bjn0ctEd.js";import{I as hf,C as zt,R as im}from"./col-VN3Ivd-x.js";import{C as Eu,_ as om,a as ff,b as pf}from"./index-DIcz5ciL.js";var lm=lg();const gf=Me(lm);function Tu(s){return typeof s=="object"&&s!=null&&s.nodeType===1}function Pu(s,e){return(!e||s!=="hidden")&&s!=="visible"&&s!=="clip"}function Ri(s,e){if(s.clientHeight<s.scrollHeight||s.clientWidth<s.scrollWidth){var t=getComputedStyle(s,null);return Pu(t.overflowY,e)||Pu(t.overflowX,e)||(function(n){var r=(function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!r&&(r.clientHeight<n.scrollHeight||r.clientWidth<n.scrollWidth)})(s)}return!1}function Oa(s,e,t,n,r,a,i,o){return a<s&&i>e||a>s&&i<e?0:a<=s&&o<=t||i>=e&&o>=t?a-s-n:i>e&&o<t||a<s&&o>t?i-e+r:0}var Ou=function(s,e){var t=window,n=e.scrollMode,r=e.block,a=e.inline,i=e.boundary,o=e.skipOverflowHiddenElements,l=typeof i=="function"?i:function(He){return He!==i};if(!Tu(s))throw new TypeError("Invalid target");for(var c,d,h=document.scrollingElement||document.documentElement,f=[],g=s;Tu(g)&&l(g);){if((g=(d=(c=g).parentElement)==null?c.getRootNode().host||null:d)===h){f.push(g);break}g!=null&&g===document.body&&Ri(g)&&!Ri(document.documentElement)||g!=null&&Ri(g,o)&&f.push(g)}for(var b=t.visualViewport?t.visualViewport.width:innerWidth,v=t.visualViewport?t.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,_=s.getBoundingClientRect(),C=_.height,w=_.width,S=_.top,E=_.right,I=_.bottom,P=_.left,O=r==="start"||r==="nearest"?S:r==="end"?I:S+C/2,D=a==="center"?P+w/2:a==="end"?E:P,x=[],F=0;F<f.length;F++){var A=f[F],L=A.getBoundingClientRect(),V=L.height,M=L.width,H=L.top,Y=L.right,q=L.bottom,$=L.left;if(n==="if-needed"&&S>=0&&P>=0&&I<=v&&E<=b&&S>=H&&I<=q&&P>=$&&E<=Y)return x;var ee=getComputedStyle(A),X=parseInt(ee.borderLeftWidth,10),Z=parseInt(ee.borderTopWidth,10),re=parseInt(ee.borderRightWidth,10),Re=parseInt(ee.borderBottomWidth,10),Ce=0,ve=0,Q="offsetWidth"in A?A.offsetWidth-A.clientWidth-X-re:0,z="offsetHeight"in A?A.offsetHeight-A.clientHeight-Z-Re:0,B="offsetWidth"in A?A.offsetWidth===0?0:M/A.offsetWidth:0,Qe="offsetHeight"in A?A.offsetHeight===0?0:V/A.offsetHeight:0;if(h===A)Ce=r==="start"?O:r==="end"?O-v:r==="nearest"?Oa(m,m+v,v,Z,Re,m+O,m+O+C,C):O-v/2,ve=a==="start"?D:a==="center"?D-b/2:a==="end"?D-b:Oa(y,y+b,b,X,re,y+D,y+D+w,w),Ce=Math.max(0,Ce+m),ve=Math.max(0,ve+y);else{Ce=r==="start"?O-H-Z:r==="end"?O-q+Re+z:r==="nearest"?Oa(H,q,V,Z,Re+z,O,O+C,C):O-(H+V/2)+z/2,ve=a==="start"?D-$-X:a==="center"?D-($+M/2)+Q/2:a==="end"?D-Y+re+Q:Oa($,Y,M,X,re+Q,D,D+w,w);var qe=A.scrollLeft,ct=A.scrollTop;O+=ct-(Ce=Math.max(0,Math.min(ct+Ce/Qe,A.scrollHeight-V/Qe+z))),D+=qe-(ve=Math.max(0,Math.min(qe+ve/B,A.scrollWidth-M/B+Q)))}x.push({el:A,top:Ce,left:ve})}return x};function mf(s){return s===Object(s)&&Object.keys(s).length!==0}function um(s,e){e===void 0&&(e="auto");var t="scrollBehavior"in document.body.style;s.forEach(function(n){var r=n.el,a=n.top,i=n.left;r.scroll&&t?r.scroll({top:a,left:i,behavior:e}):(r.scrollTop=a,r.scrollLeft=i)})}function cm(s){return s===!1?{block:"end",inline:"nearest"}:mf(s)?s:{block:"start",inline:"nearest"}}function Fi(s,e){var t=s.isConnected||s.ownerDocument.documentElement.contains(s);if(mf(e)&&typeof e.behavior=="function")return e.behavior(t?Ou(s,e):[]);if(t){var n=cm(e);return um(Ou(s,n),n.behavior)}}var dm=Vh();const gn=Me(dm);function cl(s){return p.isValidElement(s)}function Iu(s){return p.Children.count(s)===0}function Tn(s,e){te(2,arguments);var t=ne(s),n=Ae(e);if(isNaN(n))return new Date(NaN);if(!n)return t;var r=t.getDate(),a=new Date(t.getTime());a.setMonth(t.getMonth()+n+1,0);var i=a.getDate();return r>=i?a:(t.setFullYear(a.getFullYear(),a.getMonth(),r),t)}function hm(s,e){te(2,arguments);var t=ne(s).getTime(),n=Ae(e);return new Date(t+n)}function yf(s){var e=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()));return e.setUTCFullYear(s.getFullYear()),s.getTime()-e.getTime()}function Du(s){te(1,arguments);var e=ne(s);return e.setHours(0,0,0,0),e}function js(s,e){te(2,arguments);var t=Ae(e);return Tn(s,t*12)}var Ll=6e4,$l=36e5,fm=1e3;function Vl(s,e){te(2,arguments);var t=Du(s),n=Du(e);return t.getTime()===n.getTime()}function dl(s){return te(1,arguments),s instanceof Date||Yn(s)==="object"&&Object.prototype.toString.call(s)==="[object Date]"}function Ut(s){if(te(1,arguments),!dl(s)&&typeof s!="number")return!1;var e=ne(s);return!isNaN(Number(e))}function Ln(s,e){te(2,arguments);var t=ne(s),n=ne(e),r=t.getFullYear()-n.getFullYear(),a=t.getMonth()-n.getMonth();return r*12+a}function pm(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getFullYear()-n.getFullYear()}function gm(s){te(1,arguments);var e=ne(s);return e.setDate(1),e.setHours(0,0,0,0),e}function vf(s,e){te(2,arguments);var t=Ae(e);return hm(s,-t)}var mm=864e5;function ym(s){te(1,arguments);var e=ne(s),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),r=t-n;return Math.floor(r/mm)+1}function Sr(s){te(1,arguments);var e=1,t=ne(s),n=t.getUTCDay(),r=(n<e?7:0)+n-e;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function bf(s){te(1,arguments);var e=ne(s),t=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(t+1,0,4),n.setUTCHours(0,0,0,0);var r=Sr(n),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var i=Sr(a);return e.getTime()>=r.getTime()?t+1:e.getTime()>=i.getTime()?t:t-1}function vm(s){te(1,arguments);var e=bf(s),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var n=Sr(t);return n}var bm=6048e5;function Cf(s){te(1,arguments);var e=ne(s),t=Sr(e).getTime()-vm(e).getTime();return Math.round(t/bm)+1}function jl(s,e){var t,n,r,a,i,o,l,c;te(1,arguments);var d=ne(s),h=d.getUTCFullYear(),f=la(),g=Ae((t=(n=(r=(a=e?.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(i=e.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&r!==void 0?r:f.firstWeekContainsDate)!==null&&n!==void 0?n:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(h+1,0,g),b.setUTCHours(0,0,0,0);var v=Bn(b,e),y=new Date(0);y.setUTCFullYear(h,0,g),y.setUTCHours(0,0,0,0);var m=Bn(y,e);return d.getTime()>=v.getTime()?h+1:d.getTime()>=m.getTime()?h:h-1}function Cm(s,e){var t,n,r,a,i,o,l,c;te(1,arguments);var d=la(),h=Ae((t=(n=(r=(a=e?.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(i=e.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&r!==void 0?r:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1),f=jl(s,e),g=new Date(0);g.setUTCFullYear(f,0,h),g.setUTCHours(0,0,0,0);var b=Bn(g,e);return b}var wm=6048e5;function wf(s,e){te(1,arguments);var t=ne(s),n=Bn(t,e).getTime()-Cm(t,e).getTime();return Math.round(n/wm)+1}function Se(s,e){for(var t=s<0?"-":"",n=Math.abs(s).toString();n.length<e;)n="0"+n;return t+n}var yn={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Se(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):Se(n+1,2)},d:function(e,t){return Se(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return Se(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Se(e.getUTCHours(),t.length)},m:function(e,t){return Se(e.getUTCMinutes(),t.length)},s:function(e,t){return Se(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return Se(a,t.length)}},rr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_m={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return yn.y(e,t)},Y:function(e,t,n,r){var a=jl(e,r),i=a>0?a:1-a;if(t==="YY"){var o=i%100;return Se(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Se(i,t.length)},R:function(e,t){var n=bf(e);return Se(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Se(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Se(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Se(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return yn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Se(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var a=wf(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):Se(a,t.length)},I:function(e,t,n){var r=Cf(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Se(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):yn.d(e,t)},D:function(e,t,n){var r=ym(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Se(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Se(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Se(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return Se(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),a=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),a;switch(r===12?a=rr.noon:r===0?a=rr.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),a;switch(r>=17?a=rr.evening:r>=12?a=rr.afternoon:r>=4?a=rr.morning:a=rr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return yn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):yn.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Se(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Se(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):yn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):yn.s(e,t)},S:function(e,t){return yn.S(e,t)},X:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ru(i);case"XXXX":case"XX":return $n(i);default:return $n(i,":")}},x:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"x":return Ru(i);case"xxxx":case"xx":return $n(i);default:return $n(i,":")}},O:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+xu(i,":");default:return"GMT"+$n(i,":")}},z:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+xu(i,":");default:return"GMT"+$n(i,":")}},t:function(e,t,n,r){var a=r._originalDate||e,i=Math.floor(a.getTime()/1e3);return Se(i,t.length)},T:function(e,t,n,r){var a=r._originalDate||e,i=a.getTime();return Se(i,t.length)}};function xu(s,e){var t=s>0?"-":"+",n=Math.abs(s),r=Math.floor(n/60),a=n%60;if(a===0)return t+String(r);var i=e;return t+String(r)+i+Se(a,2)}function Ru(s,e){if(s%60===0){var t=s>0?"-":"+";return t+Se(Math.abs(s)/60,2)}return $n(s,e)}function $n(s,e){var t=e||"",n=s>0?"-":"+",r=Math.abs(s),a=Se(Math.floor(r/60),2),i=Se(r%60,2);return n+a+t+i}var Fu=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},_f=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Sm=function(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Fu(e,t);var i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Fu(r,t)).replace("{{time}}",_f(a,t))},hl={p:_f,P:Sm},Em=["D","DD"],Tm=["YY","YYYY"];function Sf(s){return Em.indexOf(s)!==-1}function Ef(s){return Tm.indexOf(s)!==-1}function Hs(s,e,t){if(s==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Pm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Om=function(e,t,n){var r,a=Pm[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},Im={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Dm={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xm={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Rm={date:Di({formats:Im,defaultWidth:"full"}),time:Di({formats:Dm,defaultWidth:"full"}),dateTime:Di({formats:xm,defaultWidth:"full"})},Fm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},km=function(e,t,n,r){return Fm[e]},Am={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Mm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Lm={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},$m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Vm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},jm=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Hm={ordinalNumber:jm,era:Nr({values:Am,defaultWidth:"wide"}),quarter:Nr({values:Nm,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Nr({values:Mm,defaultWidth:"wide"}),day:Nr({values:Lm,defaultWidth:"wide"}),dayPeriod:Nr({values:$m,defaultWidth:"wide",formattingValues:Vm,defaultFormattingWidth:"wide"})},Um=/^(\d+)(th|st|nd|rd)?/i,Km=/\d+/i,Ym={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Bm={any:[/^b/i,/^(a|c)/i]},qm={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wm={any:[/1/i,/2/i,/3/i,/4/i]},zm={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Gm={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xm={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zm={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qm={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jm={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ey={ordinalNumber:ug({matchPattern:Um,parsePattern:Km,valueCallback:function(e){return parseInt(e,10)}}),era:Mr({matchPatterns:Ym,defaultMatchWidth:"wide",parsePatterns:Bm,defaultParseWidth:"any"}),quarter:Mr({matchPatterns:qm,defaultMatchWidth:"wide",parsePatterns:Wm,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Mr({matchPatterns:zm,defaultMatchWidth:"wide",parsePatterns:Gm,defaultParseWidth:"any"}),day:Mr({matchPatterns:Xm,defaultMatchWidth:"wide",parsePatterns:Zm,defaultParseWidth:"any"}),dayPeriod:Mr({matchPatterns:Qm,defaultMatchWidth:"any",parsePatterns:Jm,defaultParseWidth:"any"})},Tf={code:"en-US",formatDistance:Om,formatLong:Rm,formatRelative:km,localize:Hm,match:ey,options:{weekStartsOn:0,firstWeekContainsDate:1}},ty=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ny=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ry=/^'([^]*?)'?$/,ay=/''/g,sy=/[a-zA-Z]/;function me(s,e,t){var n,r,a,i,o,l,c,d,h,f,g,b,v,y,m,_,C,w;te(2,arguments);var S=String(e),E=la(),I=(n=(r=t?.locale)!==null&&r!==void 0?r:E.locale)!==null&&n!==void 0?n:Tf,P=Ae((a=(i=(o=(l=t?.firstWeekContainsDate)!==null&&l!==void 0?l:t==null||(c=t.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:E.firstWeekContainsDate)!==null&&i!==void 0?i:(h=E.locale)===null||h===void 0||(f=h.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var O=Ae((g=(b=(v=(y=t?.weekStartsOn)!==null&&y!==void 0?y:t==null||(m=t.locale)===null||m===void 0||(_=m.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&v!==void 0?v:E.weekStartsOn)!==null&&b!==void 0?b:(C=E.locale)===null||C===void 0||(w=C.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&g!==void 0?g:0);if(!(O>=0&&O<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var D=ne(s);if(!Ut(D))throw new RangeError("Invalid time value");var x=yf(D),F=vf(D,x),A={firstWeekContainsDate:P,weekStartsOn:O,locale:I,_originalDate:D},L=S.match(ny).map(function(V){var M=V[0];if(M==="p"||M==="P"){var H=hl[M];return H(V,I.formatLong)}return V}).join("").match(ty).map(function(V){if(V==="''")return"'";var M=V[0];if(M==="'")return iy(V);var H=_m[M];if(H)return!(t!=null&&t.useAdditionalWeekYearTokens)&&Ef(V)&&Hs(V,e,String(s)),!(t!=null&&t.useAdditionalDayOfYearTokens)&&Sf(V)&&Hs(V,e,String(s)),H(F,V,I.localize,A);if(M.match(sy))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return V}).join("");return L}function iy(s){var e=s.match(ry);return e?e[1].replace(ay,"'"):s}function oy(s,e){if(s==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=e[t]);return s}function Pf(s){te(1,arguments);var e=ne(s),t=e.getFullYear(),n=e.getMonth(),r=new Date(0);return r.setFullYear(t,n+1,0),r.setHours(0,0,0,0),r.getDate()}function ly(s){te(1,arguments);var e=ne(s),t=e.getHours();return t}function uy(s){te(1,arguments);var e=ne(s),t=e.getMonth();return e.setFullYear(e.getFullYear(),t+1,0),e.setHours(0,0,0,0),e}function cy(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()>n.getTime()}function Of(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()<n.getTime()}function Us(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()===n.getTime()}function ku(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,n=Array(e);t<e;t++)n[t]=s[t];return n}function dy(s,e){if(s){if(typeof s=="string")return ku(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ku(s,e):void 0}}function Au(s,e){var t=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!t){if(Array.isArray(s)||(t=dy(s))||e){t&&(s=t);var n=0,r=function(){};return{s:r,n:function(){return n>=s.length?{done:!0}:{done:!1,value:s[n++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1
|
+
import{aw as Me,ax as lg,ay as Vh,R as p,az as te,aA as ne,aB as Ae,aC as Yn,aD as Bn,aE as la,aF as Di,aG as Nr,aH as Mr,aI as ug,aJ as cg,aK as U,ag as pt,r as T,aL as ua,ai as dg,t as W,w as xe,$ as ht,aM as Ne,aN as je,U as kt,aO as tn,aP as jh,z as R,L as Et,at as Hh,J as u,K as ca,M as k,aQ as Or,y as Ie,aR as ll,aS as ke,aT as da,aU as Yt,e as Xr,p as qn,a2 as ha,aV as hg,aW as Uh,aX as Rl,aY as ni,aZ as fg,a_ as ri,a$ as pg,b0 as gg,b1 as mg,b2 as yg,b3 as vg,b4 as bg,b5 as Cg,b6 as wg,b7 as _g,b8 as Kh,b9 as Sg,ba as Yh,bb as Eg,bc as ai,bd as Tg,be as Pg,bf as si,bg as Og,bh as Bh,bi as qh,bj as Ig,bk as Dg,bl as Wh,bm as xg,bn as Rg,bo as Fg,bp as kg,bq as tt,_ as K,br as Cr,G as zh,bs as Gh,bt as In,F as Ee,bu as Xh,H as Rn,bv as Zh,bw as dr,a as Br,bx as Ag,by as Ir,a0 as wr,I as Fl,bz as Ng,bA as Mg,bB as kl,bC as Lg,bD as Rs,bE as Qh,bF as Jh,bG as ef,bH as tf,bI as nf,bJ as $g,bK as Fe,bL as ii,bM as Zr,bN as nt,V as Ur,B as _r,bO as Vg,bP as jg,bQ as Hg,bR as rf,bS as Ug,bT as af,bU as Kg,bV as Yg,bW as sf,bX as of,bY as De,bZ as Bg,b_ as qg,b$ as lf,T as uf,c0 as Wg,c1 as Al,c2 as zg,c3 as cf,c4 as Gg,c5 as Xg,ae as Su,a5 as En,al as xi,c6 as Zg,c7 as df,c8 as Qg,c9 as Jg,ca as em,cb as tm,cc as Fs,x as Nl,W as ul,E as nm,O as rm,n as Ml,cd as am,ce as sm}from"./index-BegU9LBT.js";import{I as hf,C as zt,R as im}from"./col-w9Q-2mgM.js";import{C as Eu,_ as om,a as ff,b as pf}from"./index-DEQ2hVPA.js";var lm=lg();const gf=Me(lm);function Tu(s){return typeof s=="object"&&s!=null&&s.nodeType===1}function Pu(s,e){return(!e||s!=="hidden")&&s!=="visible"&&s!=="clip"}function Ri(s,e){if(s.clientHeight<s.scrollHeight||s.clientWidth<s.scrollWidth){var t=getComputedStyle(s,null);return Pu(t.overflowY,e)||Pu(t.overflowX,e)||(function(n){var r=(function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!r&&(r.clientHeight<n.scrollHeight||r.clientWidth<n.scrollWidth)})(s)}return!1}function Oa(s,e,t,n,r,a,i,o){return a<s&&i>e||a>s&&i<e?0:a<=s&&o<=t||i>=e&&o>=t?a-s-n:i>e&&o<t||a<s&&o>t?i-e+r:0}var Ou=function(s,e){var t=window,n=e.scrollMode,r=e.block,a=e.inline,i=e.boundary,o=e.skipOverflowHiddenElements,l=typeof i=="function"?i:function(He){return He!==i};if(!Tu(s))throw new TypeError("Invalid target");for(var c,d,h=document.scrollingElement||document.documentElement,f=[],g=s;Tu(g)&&l(g);){if((g=(d=(c=g).parentElement)==null?c.getRootNode().host||null:d)===h){f.push(g);break}g!=null&&g===document.body&&Ri(g)&&!Ri(document.documentElement)||g!=null&&Ri(g,o)&&f.push(g)}for(var b=t.visualViewport?t.visualViewport.width:innerWidth,v=t.visualViewport?t.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,_=s.getBoundingClientRect(),C=_.height,w=_.width,S=_.top,E=_.right,I=_.bottom,P=_.left,O=r==="start"||r==="nearest"?S:r==="end"?I:S+C/2,D=a==="center"?P+w/2:a==="end"?E:P,x=[],F=0;F<f.length;F++){var A=f[F],L=A.getBoundingClientRect(),V=L.height,M=L.width,H=L.top,Y=L.right,q=L.bottom,$=L.left;if(n==="if-needed"&&S>=0&&P>=0&&I<=v&&E<=b&&S>=H&&I<=q&&P>=$&&E<=Y)return x;var ee=getComputedStyle(A),X=parseInt(ee.borderLeftWidth,10),Z=parseInt(ee.borderTopWidth,10),re=parseInt(ee.borderRightWidth,10),Re=parseInt(ee.borderBottomWidth,10),Ce=0,ve=0,Q="offsetWidth"in A?A.offsetWidth-A.clientWidth-X-re:0,z="offsetHeight"in A?A.offsetHeight-A.clientHeight-Z-Re:0,B="offsetWidth"in A?A.offsetWidth===0?0:M/A.offsetWidth:0,Qe="offsetHeight"in A?A.offsetHeight===0?0:V/A.offsetHeight:0;if(h===A)Ce=r==="start"?O:r==="end"?O-v:r==="nearest"?Oa(m,m+v,v,Z,Re,m+O,m+O+C,C):O-v/2,ve=a==="start"?D:a==="center"?D-b/2:a==="end"?D-b:Oa(y,y+b,b,X,re,y+D,y+D+w,w),Ce=Math.max(0,Ce+m),ve=Math.max(0,ve+y);else{Ce=r==="start"?O-H-Z:r==="end"?O-q+Re+z:r==="nearest"?Oa(H,q,V,Z,Re+z,O,O+C,C):O-(H+V/2)+z/2,ve=a==="start"?D-$-X:a==="center"?D-($+M/2)+Q/2:a==="end"?D-Y+re+Q:Oa($,Y,M,X,re+Q,D,D+w,w);var qe=A.scrollLeft,ct=A.scrollTop;O+=ct-(Ce=Math.max(0,Math.min(ct+Ce/Qe,A.scrollHeight-V/Qe+z))),D+=qe-(ve=Math.max(0,Math.min(qe+ve/B,A.scrollWidth-M/B+Q)))}x.push({el:A,top:Ce,left:ve})}return x};function mf(s){return s===Object(s)&&Object.keys(s).length!==0}function um(s,e){e===void 0&&(e="auto");var t="scrollBehavior"in document.body.style;s.forEach(function(n){var r=n.el,a=n.top,i=n.left;r.scroll&&t?r.scroll({top:a,left:i,behavior:e}):(r.scrollTop=a,r.scrollLeft=i)})}function cm(s){return s===!1?{block:"end",inline:"nearest"}:mf(s)?s:{block:"start",inline:"nearest"}}function Fi(s,e){var t=s.isConnected||s.ownerDocument.documentElement.contains(s);if(mf(e)&&typeof e.behavior=="function")return e.behavior(t?Ou(s,e):[]);if(t){var n=cm(e);return um(Ou(s,n),n.behavior)}}var dm=Vh();const gn=Me(dm);function cl(s){return p.isValidElement(s)}function Iu(s){return p.Children.count(s)===0}function Tn(s,e){te(2,arguments);var t=ne(s),n=Ae(e);if(isNaN(n))return new Date(NaN);if(!n)return t;var r=t.getDate(),a=new Date(t.getTime());a.setMonth(t.getMonth()+n+1,0);var i=a.getDate();return r>=i?a:(t.setFullYear(a.getFullYear(),a.getMonth(),r),t)}function hm(s,e){te(2,arguments);var t=ne(s).getTime(),n=Ae(e);return new Date(t+n)}function yf(s){var e=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()));return e.setUTCFullYear(s.getFullYear()),s.getTime()-e.getTime()}function Du(s){te(1,arguments);var e=ne(s);return e.setHours(0,0,0,0),e}function js(s,e){te(2,arguments);var t=Ae(e);return Tn(s,t*12)}var Ll=6e4,$l=36e5,fm=1e3;function Vl(s,e){te(2,arguments);var t=Du(s),n=Du(e);return t.getTime()===n.getTime()}function dl(s){return te(1,arguments),s instanceof Date||Yn(s)==="object"&&Object.prototype.toString.call(s)==="[object Date]"}function Ut(s){if(te(1,arguments),!dl(s)&&typeof s!="number")return!1;var e=ne(s);return!isNaN(Number(e))}function Ln(s,e){te(2,arguments);var t=ne(s),n=ne(e),r=t.getFullYear()-n.getFullYear(),a=t.getMonth()-n.getMonth();return r*12+a}function pm(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getFullYear()-n.getFullYear()}function gm(s){te(1,arguments);var e=ne(s);return e.setDate(1),e.setHours(0,0,0,0),e}function vf(s,e){te(2,arguments);var t=Ae(e);return hm(s,-t)}var mm=864e5;function ym(s){te(1,arguments);var e=ne(s),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),r=t-n;return Math.floor(r/mm)+1}function Sr(s){te(1,arguments);var e=1,t=ne(s),n=t.getUTCDay(),r=(n<e?7:0)+n-e;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function bf(s){te(1,arguments);var e=ne(s),t=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(t+1,0,4),n.setUTCHours(0,0,0,0);var r=Sr(n),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var i=Sr(a);return e.getTime()>=r.getTime()?t+1:e.getTime()>=i.getTime()?t:t-1}function vm(s){te(1,arguments);var e=bf(s),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var n=Sr(t);return n}var bm=6048e5;function Cf(s){te(1,arguments);var e=ne(s),t=Sr(e).getTime()-vm(e).getTime();return Math.round(t/bm)+1}function jl(s,e){var t,n,r,a,i,o,l,c;te(1,arguments);var d=ne(s),h=d.getUTCFullYear(),f=la(),g=Ae((t=(n=(r=(a=e?.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(i=e.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&r!==void 0?r:f.firstWeekContainsDate)!==null&&n!==void 0?n:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(h+1,0,g),b.setUTCHours(0,0,0,0);var v=Bn(b,e),y=new Date(0);y.setUTCFullYear(h,0,g),y.setUTCHours(0,0,0,0);var m=Bn(y,e);return d.getTime()>=v.getTime()?h+1:d.getTime()>=m.getTime()?h:h-1}function Cm(s,e){var t,n,r,a,i,o,l,c;te(1,arguments);var d=la(),h=Ae((t=(n=(r=(a=e?.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(i=e.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&r!==void 0?r:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1),f=jl(s,e),g=new Date(0);g.setUTCFullYear(f,0,h),g.setUTCHours(0,0,0,0);var b=Bn(g,e);return b}var wm=6048e5;function wf(s,e){te(1,arguments);var t=ne(s),n=Bn(t,e).getTime()-Cm(t,e).getTime();return Math.round(n/wm)+1}function Se(s,e){for(var t=s<0?"-":"",n=Math.abs(s).toString();n.length<e;)n="0"+n;return t+n}var yn={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Se(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):Se(n+1,2)},d:function(e,t){return Se(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return Se(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Se(e.getUTCHours(),t.length)},m:function(e,t){return Se(e.getUTCMinutes(),t.length)},s:function(e,t){return Se(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return Se(a,t.length)}},rr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_m={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return yn.y(e,t)},Y:function(e,t,n,r){var a=jl(e,r),i=a>0?a:1-a;if(t==="YY"){var o=i%100;return Se(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Se(i,t.length)},R:function(e,t){var n=bf(e);return Se(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Se(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Se(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Se(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return yn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Se(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var a=wf(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):Se(a,t.length)},I:function(e,t,n){var r=Cf(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Se(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):yn.d(e,t)},D:function(e,t,n){var r=ym(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Se(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Se(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Se(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return Se(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),a=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),a;switch(r===12?a=rr.noon:r===0?a=rr.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),a;switch(r>=17?a=rr.evening:r>=12?a=rr.afternoon:r>=4?a=rr.morning:a=rr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return yn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):yn.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Se(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Se(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):yn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):yn.s(e,t)},S:function(e,t){return yn.S(e,t)},X:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ru(i);case"XXXX":case"XX":return $n(i);default:return $n(i,":")}},x:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"x":return Ru(i);case"xxxx":case"xx":return $n(i);default:return $n(i,":")}},O:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+xu(i,":");default:return"GMT"+$n(i,":")}},z:function(e,t,n,r){var a=r._originalDate||e,i=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+xu(i,":");default:return"GMT"+$n(i,":")}},t:function(e,t,n,r){var a=r._originalDate||e,i=Math.floor(a.getTime()/1e3);return Se(i,t.length)},T:function(e,t,n,r){var a=r._originalDate||e,i=a.getTime();return Se(i,t.length)}};function xu(s,e){var t=s>0?"-":"+",n=Math.abs(s),r=Math.floor(n/60),a=n%60;if(a===0)return t+String(r);var i=e;return t+String(r)+i+Se(a,2)}function Ru(s,e){if(s%60===0){var t=s>0?"-":"+";return t+Se(Math.abs(s)/60,2)}return $n(s,e)}function $n(s,e){var t=e||"",n=s>0?"-":"+",r=Math.abs(s),a=Se(Math.floor(r/60),2),i=Se(r%60,2);return n+a+t+i}var Fu=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},_f=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Sm=function(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Fu(e,t);var i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Fu(r,t)).replace("{{time}}",_f(a,t))},hl={p:_f,P:Sm},Em=["D","DD"],Tm=["YY","YYYY"];function Sf(s){return Em.indexOf(s)!==-1}function Ef(s){return Tm.indexOf(s)!==-1}function Hs(s,e,t){if(s==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(s==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Pm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Om=function(e,t,n){var r,a=Pm[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},Im={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Dm={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xm={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Rm={date:Di({formats:Im,defaultWidth:"full"}),time:Di({formats:Dm,defaultWidth:"full"}),dateTime:Di({formats:xm,defaultWidth:"full"})},Fm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},km=function(e,t,n,r){return Fm[e]},Am={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Mm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Lm={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},$m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Vm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},jm=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Hm={ordinalNumber:jm,era:Nr({values:Am,defaultWidth:"wide"}),quarter:Nr({values:Nm,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Nr({values:Mm,defaultWidth:"wide"}),day:Nr({values:Lm,defaultWidth:"wide"}),dayPeriod:Nr({values:$m,defaultWidth:"wide",formattingValues:Vm,defaultFormattingWidth:"wide"})},Um=/^(\d+)(th|st|nd|rd)?/i,Km=/\d+/i,Ym={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Bm={any:[/^b/i,/^(a|c)/i]},qm={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wm={any:[/1/i,/2/i,/3/i,/4/i]},zm={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Gm={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xm={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zm={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qm={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jm={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ey={ordinalNumber:ug({matchPattern:Um,parsePattern:Km,valueCallback:function(e){return parseInt(e,10)}}),era:Mr({matchPatterns:Ym,defaultMatchWidth:"wide",parsePatterns:Bm,defaultParseWidth:"any"}),quarter:Mr({matchPatterns:qm,defaultMatchWidth:"wide",parsePatterns:Wm,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Mr({matchPatterns:zm,defaultMatchWidth:"wide",parsePatterns:Gm,defaultParseWidth:"any"}),day:Mr({matchPatterns:Xm,defaultMatchWidth:"wide",parsePatterns:Zm,defaultParseWidth:"any"}),dayPeriod:Mr({matchPatterns:Qm,defaultMatchWidth:"any",parsePatterns:Jm,defaultParseWidth:"any"})},Tf={code:"en-US",formatDistance:Om,formatLong:Rm,formatRelative:km,localize:Hm,match:ey,options:{weekStartsOn:0,firstWeekContainsDate:1}},ty=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ny=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ry=/^'([^]*?)'?$/,ay=/''/g,sy=/[a-zA-Z]/;function me(s,e,t){var n,r,a,i,o,l,c,d,h,f,g,b,v,y,m,_,C,w;te(2,arguments);var S=String(e),E=la(),I=(n=(r=t?.locale)!==null&&r!==void 0?r:E.locale)!==null&&n!==void 0?n:Tf,P=Ae((a=(i=(o=(l=t?.firstWeekContainsDate)!==null&&l!==void 0?l:t==null||(c=t.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:E.firstWeekContainsDate)!==null&&i!==void 0?i:(h=E.locale)===null||h===void 0||(f=h.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var O=Ae((g=(b=(v=(y=t?.weekStartsOn)!==null&&y!==void 0?y:t==null||(m=t.locale)===null||m===void 0||(_=m.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&v!==void 0?v:E.weekStartsOn)!==null&&b!==void 0?b:(C=E.locale)===null||C===void 0||(w=C.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&g!==void 0?g:0);if(!(O>=0&&O<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var D=ne(s);if(!Ut(D))throw new RangeError("Invalid time value");var x=yf(D),F=vf(D,x),A={firstWeekContainsDate:P,weekStartsOn:O,locale:I,_originalDate:D},L=S.match(ny).map(function(V){var M=V[0];if(M==="p"||M==="P"){var H=hl[M];return H(V,I.formatLong)}return V}).join("").match(ty).map(function(V){if(V==="''")return"'";var M=V[0];if(M==="'")return iy(V);var H=_m[M];if(H)return!(t!=null&&t.useAdditionalWeekYearTokens)&&Ef(V)&&Hs(V,e,String(s)),!(t!=null&&t.useAdditionalDayOfYearTokens)&&Sf(V)&&Hs(V,e,String(s)),H(F,V,I.localize,A);if(M.match(sy))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return V}).join("");return L}function iy(s){var e=s.match(ry);return e?e[1].replace(ay,"'"):s}function oy(s,e){if(s==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=e[t]);return s}function Pf(s){te(1,arguments);var e=ne(s),t=e.getFullYear(),n=e.getMonth(),r=new Date(0);return r.setFullYear(t,n+1,0),r.setHours(0,0,0,0),r.getDate()}function ly(s){te(1,arguments);var e=ne(s),t=e.getHours();return t}function uy(s){te(1,arguments);var e=ne(s),t=e.getMonth();return e.setFullYear(e.getFullYear(),t+1,0),e.setHours(0,0,0,0),e}function cy(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()>n.getTime()}function Of(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()<n.getTime()}function Us(s,e){te(2,arguments);var t=ne(s),n=ne(e);return t.getTime()===n.getTime()}function ku(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,n=Array(e);t<e;t++)n[t]=s[t];return n}function dy(s,e){if(s){if(typeof s=="string")return ku(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ku(s,e):void 0}}function Au(s,e){var t=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!t){if(Array.isArray(s)||(t=dy(s))||e){t&&(s=t);var n=0,r=function(){};return{s:r,n:function(){return n>=s.length?{done:!0}:{done:!1,value:s[n++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,i=!0,o=!1;return{s:function(){t=t.call(s)},n:function(){var c=t.next();return i=c.done,c},e:function(c){o=!0,a=c},f:function(){try{i||t.return==null||t.return()}finally{if(o)throw a}}}}function pe(s,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&cg(s,e)}function Ks(s){return Ks=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ks(s)}function If(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(If=function(){return!!s})()}function hy(s,e){if(e&&(Yn(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return U(s)}function ge(s){var e=If();return function(){var t,n=Ks(s);if(e){var r=Ks(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return hy(this,t)}}function ce(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function fy(s,e){if(Yn(s)!="object"||!s)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var n=t.call(s,e);if(Yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(s)}function Df(s){var e=fy(s,"string");return Yn(e)=="symbol"?e:e+""}function py(s,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(s,Df(n.key),n)}}function de(s,e,t){return e&&py(s.prototype,e),Object.defineProperty(s,"prototype",{writable:!1}),s}function j(s,e,t){return(e=Df(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}var gy=10,xf=(function(){function s(){ce(this,s),j(this,"priority",void 0),j(this,"subPriority",0)}return de(s,[{key:"validate",value:function(t,n){return!0}}]),s})(),my=(function(s){pe(t,s);var e=ge(t);function t(n,r,a,i,o){var l;return ce(this,t),l=e.call(this),l.value=n,l.validateValue=r,l.setValue=a,l.priority=i,o&&(l.subPriority=o),l}return de(t,[{key:"validate",value:function(r,a){return this.validateValue(r,this.value,a)}},{key:"set",value:function(r,a,i){return this.setValue(r,a,this.value,i)}}]),t})(xf),yy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",gy),j(U(n),"subPriority",-1),n}return de(t,[{key:"set",value:function(r,a){if(a.timestampIsSet)return r;var i=new Date(0);return i.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),i.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),i}}]),t})(xf),ye=(function(){function s(){ce(this,s),j(this,"incompatibleTokens",void 0),j(this,"priority",void 0),j(this,"subPriority",void 0)}return de(s,[{key:"run",value:function(t,n,r,a){var i=this.parse(t,n,r,a);return i?{setter:new my(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(t,n,r){return!0}}]),s})(),vy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",140),j(U(n),"incompatibleTokens",["R","u","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"})||i.era(r,{width:"narrow"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})||i.era(r,{width:"abbreviated"})||i.era(r,{width:"narrow"})}}},{key:"set",value:function(r,a,i){return a.era=i,r.setUTCFullYear(i,0,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Xe={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},nn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ze(s,e){return s&&{value:e(s.value),rest:s.rest}}function Ye(s,e){var t=e.match(s);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function rn(s,e){var t=e.match(s);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};var n=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:n*(r*$l+a*Ll+i*fm),rest:e.slice(t[0].length)}}function Rf(s){return Ye(Xe.anyDigitsSigned,s)}function ze(s,e){switch(s){case 1:return Ye(Xe.singleDigit,e);case 2:return Ye(Xe.twoDigits,e);case 3:return Ye(Xe.threeDigits,e);case 4:return Ye(Xe.fourDigits,e);default:return Ye(new RegExp("^\\d{1,"+s+"}"),e)}}function Ys(s,e){switch(s){case 1:return Ye(Xe.singleDigitSigned,e);case 2:return Ye(Xe.twoDigitsSigned,e);case 3:return Ye(Xe.threeDigitsSigned,e);case 4:return Ye(Xe.fourDigitsSigned,e);default:return Ye(new RegExp("^-?\\d{1,"+s+"}"),e)}}function Hl(s){switch(s){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Ff(s,e){var t=e>0,n=t?e:1-e,r;if(n<=50)r=s||100;else{var a=n+50,i=Math.floor(a/100)*100,o=s>=a%100;r=s+i-(o?100:0)}return t?r:1-r}function kf(s){return s%400===0||s%4===0&&s%100!==0}var by=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",130),j(U(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){var o=function(c){return{year:c,isTwoDigitYear:a==="yy"}};switch(a){case"y":return Ze(ze(4,r),o);case"yo":return Ze(i.ordinalNumber(r,{unit:"year"}),o);default:return Ze(ze(a.length,r),o)}}},{key:"validate",value:function(r,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(r,a,i){var o=r.getUTCFullYear();if(i.isTwoDigitYear){var l=Ff(i.year,o);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}var c=!("era"in a)||a.era===1?i.year:1-i.year;return r.setUTCFullYear(c,0,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Cy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",130),j(U(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){var o=function(c){return{year:c,isTwoDigitYear:a==="YY"}};switch(a){case"Y":return Ze(ze(4,r),o);case"Yo":return Ze(i.ordinalNumber(r,{unit:"year"}),o);default:return Ze(ze(a.length,r),o)}}},{key:"validate",value:function(r,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(r,a,i,o){var l=jl(r,o);if(i.isTwoDigitYear){var c=Ff(i.year,l);return r.setUTCFullYear(c,0,o.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Bn(r,o)}var d=!("era"in a)||a.era===1?i.year:1-i.year;return r.setUTCFullYear(d,0,o.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Bn(r,o)}}]),t})(ye),wy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",130),j(U(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a){return Ys(a==="R"?4:a.length,r)}},{key:"set",value:function(r,a,i){var o=new Date(0);return o.setUTCFullYear(i,0,4),o.setUTCHours(0,0,0,0),Sr(o)}}]),t})(ye),_y=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",130),j(U(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a){return Ys(a==="u"?4:a.length,r)}},{key:"set",value:function(r,a,i){return r.setUTCFullYear(i,0,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Sy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",120),j(U(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"Q":case"QQ":return ze(a.length,r);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"})||i.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})||i.quarter(r,{width:"abbreviated",context:"formatting"})||i.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,a){return a>=1&&a<=4}},{key:"set",value:function(r,a,i){return r.setUTCMonth((i-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Ey=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",120),j(U(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"q":case"qq":return ze(a.length,r);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"})||i.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})||i.quarter(r,{width:"abbreviated",context:"standalone"})||i.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,a){return a>=1&&a<=4}},{key:"set",value:function(r,a,i){return r.setUTCMonth((i-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Ty=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),j(U(n),"priority",110),n}return de(t,[{key:"parse",value:function(r,a,i){var o=function(c){return c-1};switch(a){case"M":return Ze(Ye(Xe.month,r),o);case"MM":return Ze(ze(2,r),o);case"Mo":return Ze(i.ordinalNumber(r,{unit:"month"}),o);case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"})||i.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})||i.month(r,{width:"abbreviated",context:"formatting"})||i.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,a){return a>=0&&a<=11}},{key:"set",value:function(r,a,i){return r.setUTCMonth(i,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Py=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",110),j(U(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){var o=function(c){return c-1};switch(a){case"L":return Ze(Ye(Xe.month,r),o);case"LL":return Ze(ze(2,r),o);case"Lo":return Ze(i.ordinalNumber(r,{unit:"month"}),o);case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"})||i.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})||i.month(r,{width:"abbreviated",context:"standalone"})||i.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,a){return a>=0&&a<=11}},{key:"set",value:function(r,a,i){return r.setUTCMonth(i,1),r.setUTCHours(0,0,0,0),r}}]),t})(ye);function Oy(s,e,t){te(2,arguments);var n=ne(s),r=Ae(e),a=wf(n,t)-r;return n.setUTCDate(n.getUTCDate()-a*7),n}var Iy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",100),j(U(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"w":return Ye(Xe.week,r);case"wo":return i.ordinalNumber(r,{unit:"week"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=1&&a<=53}},{key:"set",value:function(r,a,i,o){return Bn(Oy(r,i,o),o)}}]),t})(ye);function Dy(s,e){te(2,arguments);var t=ne(s),n=Ae(e),r=Cf(t)-n;return t.setUTCDate(t.getUTCDate()-r*7),t}var xy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",100),j(U(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"I":return Ye(Xe.week,r);case"Io":return i.ordinalNumber(r,{unit:"week"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=1&&a<=53}},{key:"set",value:function(r,a,i){return Sr(Dy(r,i))}}]),t})(ye),Ry=[31,28,31,30,31,30,31,31,30,31,30,31],Fy=[31,29,31,30,31,30,31,31,30,31,30,31],ky=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"subPriority",1),j(U(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"d":return Ye(Xe.date,r);case"do":return i.ordinalNumber(r,{unit:"date"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){var i=r.getUTCFullYear(),o=kf(i),l=r.getUTCMonth();return o?a>=1&&a<=Fy[l]:a>=1&&a<=Ry[l]}},{key:"set",value:function(r,a,i){return r.setUTCDate(i),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Ay=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"subpriority",1),j(U(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"D":case"DD":return Ye(Xe.dayOfYear,r);case"Do":return i.ordinalNumber(r,{unit:"date"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){var i=r.getUTCFullYear(),o=kf(i);return o?a>=1&&a<=366:a>=1&&a<=365}},{key:"set",value:function(r,a,i){return r.setUTCMonth(0,i),r.setUTCHours(0,0,0,0),r}}]),t})(ye);function Ul(s,e,t){var n,r,a,i,o,l,c,d;te(2,arguments);var h=la(),f=Ae((n=(r=(a=(i=t?.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&r!==void 0?r:(c=h.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=ne(s),b=Ae(e),v=g.getUTCDay(),y=b%7,m=(y+7)%7,_=(m<f?7:0)+b-v;return g.setUTCDate(g.getUTCDate()+_),g}var Ny=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,a){return a>=0&&a<=6}},{key:"set",value:function(r,a,i,o){return r=Ul(r,i,o),r.setUTCHours(0,0,0,0),r}}]),t})(ye),My=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i,o){var l=function(d){var h=Math.floor((d-1)/7)*7;return(d+o.weekStartsOn+6)%7+h};switch(a){case"e":case"ee":return Ze(ze(a.length,r),l);case"eo":return Ze(i.ordinalNumber(r,{unit:"day"}),l);case"eee":return i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,a){return a>=0&&a<=6}},{key:"set",value:function(r,a,i,o){return r=Ul(r,i,o),r.setUTCHours(0,0,0,0),r}}]),t})(ye),Ly=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i,o){var l=function(d){var h=Math.floor((d-1)/7)*7;return(d+o.weekStartsOn+6)%7+h};switch(a){case"c":case"cc":return Ze(ze(a.length,r),l);case"co":return Ze(i.ordinalNumber(r,{unit:"day"}),l);case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"})||i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})||i.day(r,{width:"abbreviated",context:"standalone"})||i.day(r,{width:"short",context:"standalone"})||i.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,a){return a>=0&&a<=6}},{key:"set",value:function(r,a,i,o){return r=Ul(r,i,o),r.setUTCHours(0,0,0,0),r}}]),t})(ye);function $y(s,e){te(2,arguments);var t=Ae(e);t%7===0&&(t=t-7);var n=1,r=ne(s),a=r.getUTCDay(),i=t%7,o=(i+7)%7,l=(o<n?7:0)+t-a;return r.setUTCDate(r.getUTCDate()+l),r}var Vy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",90),j(U(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){var o=function(c){return c===0?7:c};switch(a){case"i":case"ii":return ze(a.length,r);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return Ze(i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),o);case"iiiii":return Ze(i.day(r,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Ze(i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),o);default:return Ze(i.day(r,{width:"wide",context:"formatting"})||i.day(r,{width:"abbreviated",context:"formatting"})||i.day(r,{width:"short",context:"formatting"})||i.day(r,{width:"narrow",context:"formatting"}),o)}}},{key:"validate",value:function(r,a){return a>=1&&a<=7}},{key:"set",value:function(r,a,i){return r=$y(r,i),r.setUTCHours(0,0,0,0),r}}]),t})(ye),jy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",80),j(U(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"a":case"aa":case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,a,i){return r.setUTCHours(Hl(i),0,0,0),r}}]),t})(ye),Hy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",80),j(U(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"b":case"bb":case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,a,i){return r.setUTCHours(Hl(i),0,0,0),r}}]),t})(ye),Uy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",80),j(U(n),"incompatibleTokens",["a","b","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})||i.dayPeriod(r,{width:"abbreviated",context:"formatting"})||i.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,a,i){return r.setUTCHours(Hl(i),0,0,0),r}}]),t})(ye),Ky=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",70),j(U(n),"incompatibleTokens",["H","K","k","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"h":return Ye(Xe.hour12h,r);case"ho":return i.ordinalNumber(r,{unit:"hour"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=1&&a<=12}},{key:"set",value:function(r,a,i){var o=r.getUTCHours()>=12;return o&&i<12?r.setUTCHours(i+12,0,0,0):!o&&i===12?r.setUTCHours(0,0,0,0):r.setUTCHours(i,0,0,0),r}}]),t})(ye),Yy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",70),j(U(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"H":return Ye(Xe.hour23h,r);case"Ho":return i.ordinalNumber(r,{unit:"hour"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=0&&a<=23}},{key:"set",value:function(r,a,i){return r.setUTCHours(i,0,0,0),r}}]),t})(ye),By=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",70),j(U(n),"incompatibleTokens",["h","H","k","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"K":return Ye(Xe.hour11h,r);case"Ko":return i.ordinalNumber(r,{unit:"hour"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=0&&a<=11}},{key:"set",value:function(r,a,i){var o=r.getUTCHours()>=12;return o&&i<12?r.setUTCHours(i+12,0,0,0):r.setUTCHours(i,0,0,0),r}}]),t})(ye),qy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",70),j(U(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"k":return Ye(Xe.hour24h,r);case"ko":return i.ordinalNumber(r,{unit:"hour"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=1&&a<=24}},{key:"set",value:function(r,a,i){var o=i<=24?i%24:i;return r.setUTCHours(o,0,0,0),r}}]),t})(ye),Wy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",60),j(U(n),"incompatibleTokens",["t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"m":return Ye(Xe.minute,r);case"mo":return i.ordinalNumber(r,{unit:"minute"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=0&&a<=59}},{key:"set",value:function(r,a,i){return r.setUTCMinutes(i,0,0),r}}]),t})(ye),zy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",50),j(U(n),"incompatibleTokens",["t","T"]),n}return de(t,[{key:"parse",value:function(r,a,i){switch(a){case"s":return Ye(Xe.second,r);case"so":return i.ordinalNumber(r,{unit:"second"});default:return ze(a.length,r)}}},{key:"validate",value:function(r,a){return a>=0&&a<=59}},{key:"set",value:function(r,a,i){return r.setUTCSeconds(i,0),r}}]),t})(ye),Gy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",30),j(U(n),"incompatibleTokens",["t","T"]),n}return de(t,[{key:"parse",value:function(r,a){var i=function(l){return Math.floor(l*Math.pow(10,-a.length+3))};return Ze(ze(a.length,r),i)}},{key:"set",value:function(r,a,i){return r.setUTCMilliseconds(i),r}}]),t})(ye),Xy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",10),j(U(n),"incompatibleTokens",["t","T","x"]),n}return de(t,[{key:"parse",value:function(r,a){switch(a){case"X":return rn(nn.basicOptionalMinutes,r);case"XX":return rn(nn.basic,r);case"XXXX":return rn(nn.basicOptionalSeconds,r);case"XXXXX":return rn(nn.extendedOptionalSeconds,r);default:return rn(nn.extended,r)}}},{key:"set",value:function(r,a,i){return a.timestampIsSet?r:new Date(r.getTime()-i)}}]),t})(ye),Zy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",10),j(U(n),"incompatibleTokens",["t","T","X"]),n}return de(t,[{key:"parse",value:function(r,a){switch(a){case"x":return rn(nn.basicOptionalMinutes,r);case"xx":return rn(nn.basic,r);case"xxxx":return rn(nn.basicOptionalSeconds,r);case"xxxxx":return rn(nn.extendedOptionalSeconds,r);default:return rn(nn.extended,r)}}},{key:"set",value:function(r,a,i){return a.timestampIsSet?r:new Date(r.getTime()-i)}}]),t})(ye),Qy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",40),j(U(n),"incompatibleTokens","*"),n}return de(t,[{key:"parse",value:function(r){return Rf(r)}},{key:"set",value:function(r,a,i){return[new Date(i*1e3),{timestampIsSet:!0}]}}]),t})(ye),Jy=(function(s){pe(t,s);var e=ge(t);function t(){var n;ce(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=e.call.apply(e,[this].concat(a)),j(U(n),"priority",20),j(U(n),"incompatibleTokens","*"),n}return de(t,[{key:"parse",value:function(r){return Rf(r)}},{key:"set",value:function(r,a,i){return[new Date(i),{timestampIsSet:!0}]}}]),t})(ye),ev={G:new vy,y:new by,Y:new Cy,R:new wy,u:new _y,Q:new Sy,q:new Ey,M:new Ty,L:new Py,w:new Iy,I:new xy,d:new ky,D:new Ay,E:new Ny,e:new My,c:new Ly,i:new Vy,a:new jy,b:new Hy,B:new Uy,h:new Ky,H:new Yy,K:new By,k:new qy,m:new Wy,s:new zy,S:new Gy,X:new Xy,x:new Zy,t:new Qy,T:new Jy},tv=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rv=/^'([^]*?)'?$/,av=/''/g,sv=/\S/,iv=/[a-zA-Z]/;function Af(s,e,t,n){var r,a,i,o,l,c,d,h,f,g,b,v,y,m,_,C,w,S;te(3,arguments);var E=String(s),I=String(e),P=la(),O=(r=(a=n?.locale)!==null&&a!==void 0?a:P.locale)!==null&&r!==void 0?r:Tf;if(!O.match)throw new RangeError("locale must contain match property");var D=Ae((i=(o=(l=(c=n?.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(d=n.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&l!==void 0?l:P.firstWeekContainsDate)!==null&&o!==void 0?o:(f=P.locale)===null||f===void 0||(g=f.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var x=Ae((b=(v=(y=(m=n?.weekStartsOn)!==null&&m!==void 0?m:n==null||(_=n.locale)===null||_===void 0||(C=_.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&y!==void 0?y:P.weekStartsOn)!==null&&v!==void 0?v:(w=P.locale)===null||w===void 0||(S=w.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&b!==void 0?b:0);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(I==="")return E===""?ne(t):new Date(NaN);var F={firstWeekContainsDate:D,weekStartsOn:x,locale:O},A=[new yy],L=I.match(nv).map(function(Q){var z=Q[0];if(z in hl){var B=hl[z];return B(Q,O.formatLong)}return Q}).join("").match(tv),V=[],M=Au(L),H;try{var Y=function(){var z=H.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Ef(z)&&Hs(z,I,s),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Sf(z)&&Hs(z,I,s);var B=z[0],Qe=ev[B];if(Qe){var qe=Qe.incompatibleTokens;if(Array.isArray(qe)){var ct=V.find(function(gt){return qe.includes(gt.token)||gt.token===B});if(ct)throw new RangeError("The format string mustn't contain `".concat(ct.fullToken,"` and `").concat(z,"` at the same time"))}else if(Qe.incompatibleTokens==="*"&&V.length>0)throw new RangeError("The format string mustn't contain `".concat(z,"` and any other token at the same time"));V.push({token:B,fullToken:z});var He=Qe.run(E,z,O.match,F);if(!He)return{v:new Date(NaN)};A.push(He.setter),E=He.rest}else{if(B.match(iv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");if(z==="''"?z="'":B==="'"&&(z=ov(z)),E.indexOf(z)===0)E=E.slice(z.length);else return{v:new Date(NaN)}}};for(M.s();!(H=M.n()).done;){var q=Y();if(Yn(q)==="object")return q.v}}catch(Q){M.e(Q)}finally{M.f()}if(E.length>0&&sv.test(E))return new Date(NaN);var $=A.map(function(Q){return Q.priority}).sort(function(Q,z){return z-Q}).filter(function(Q,z,B){return B.indexOf(Q)===z}).map(function(Q){return A.filter(function(z){return z.priority===Q}).sort(function(z,B){return B.subPriority-z.subPriority})}).map(function(Q){return Q[0]}),ee=ne(t);if(isNaN(ee.getTime()))return new Date(NaN);var X=vf(ee,yf(ee)),Z={},re=Au($),Re;try{for(re.s();!(Re=re.n()).done;){var Ce=Re.value;if(!Ce.validate(X,F))return new Date(NaN);var ve=Ce.set(X,Z,F);Array.isArray(ve)?(X=ve[0],oy(Z,ve[1])):X=ve}}catch(Q){re.e(Q)}finally{re.f()}return X}function ov(s){return s.match(rv)[1].replace(av,"'")}function Nu(s){te(1,arguments);var e=ne(s);return e.setMilliseconds(0),e}function Mu(s,e){te(2,arguments);var t=Nu(s),n=Nu(e);return t.getTime()===n.getTime()}function lv(s,e){te(2,arguments);var t=ne(s).getTime(),n=ne(e.start).getTime(),r=ne(e.end).getTime();if(!(n<=r))throw new RangeError("Invalid interval");return t>=n&&t<=r}function Bt(s,e){var t;te(1,arguments);var n=Ae((t=void 0)!==null&&t!==void 0?t:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof s=="string"||Object.prototype.toString.call(s)==="[object String]"))return new Date(NaN);var r=hv(s),a;if(r.date){var i=fv(r.date,n);a=pv(i.restDateString,i.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var o=a.getTime(),l=0,c;if(r.time&&(l=gv(r.time),isNaN(l)))return new Date(NaN);if(r.timezone){if(c=mv(r.timezone),isNaN(c))return new Date(NaN)}else{var d=new Date(o+l),h=new Date(0);return h.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),h.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),h}return new Date(o+l+c)}var Ia={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},uv=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,cv=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,dv=/^([+-])(\d{2})(?::?(\d{2}))?$/;function hv(s){var e={},t=s.split(Ia.dateTimeDelimiter),n;if(t.length>2)return e;if(/:/.test(t[0])?n=t[0]:(e.date=t[0],n=t[1],Ia.timeZoneDelimiter.test(e.date)&&(e.date=s.split(Ia.timeZoneDelimiter)[0],n=s.substr(e.date.length,s.length))),n){var r=Ia.timezone.exec(n);r?(e.time=n.replace(r[1],""),e.timezone=r[1]):e.time=n}return e}function fv(s,e){var t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=s.match(t);if(!n)return{year:NaN,restDateString:""};var r=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?r:a*100,restDateString:s.slice((n[1]||n[2]).length)}}function pv(s,e){if(e===null)return new Date(NaN);var t=s.match(uv);if(!t)return new Date(NaN);var n=!!t[4],r=Lr(t[1]),a=Lr(t[2])-1,i=Lr(t[3]),o=Lr(t[4]),l=Lr(t[5])-1;if(n)return wv(e,o,l)?yv(e,o,l):new Date(NaN);var c=new Date(0);return!bv(e,a,i)||!Cv(e,r)?new Date(NaN):(c.setUTCFullYear(e,a,Math.max(r,i)),c)}function Lr(s){return s?parseInt(s):1}function gv(s){var e=s.match(cv);if(!e)return NaN;var t=ki(e[1]),n=ki(e[2]),r=ki(e[3]);return _v(t,n,r)?t*$l+n*Ll+r*1e3:NaN}function ki(s){return s&&parseFloat(s.replace(",","."))||0}function mv(s){if(s==="Z")return 0;var e=s.match(dv);if(!e)return 0;var t=e[1]==="+"?-1:1,n=parseInt(e[2]),r=e[3]&&parseInt(e[3])||0;return Sv(n,r)?t*(n*$l+r*Ll):NaN}function yv(s,e,t){var n=new Date(0);n.setUTCFullYear(s,0,4);var r=n.getUTCDay()||7,a=(e-1)*7+t+1-r;return n.setUTCDate(n.getUTCDate()+a),n}var vv=[31,null,31,30,31,30,31,31,30,31,30,31];function Nf(s){return s%400===0||s%4===0&&s%100!==0}function bv(s,e,t){return e>=0&&e<=11&&t>=1&&t<=(vv[e]||(Nf(s)?29:28))}function Cv(s,e){return e>=1&&e<=(Nf(s)?366:365)}function wv(s,e,t){return e>=1&&e<=53&&t>=0&&t<=6}function _v(s,e,t){return s===24?e===0&&t===0:t>=0&&t<60&&e>=0&&e<60&&s>=0&&s<25}function Sv(s,e){return e>=0&&e<=59}function jn(s,e){te(2,arguments);var t=ne(s),n=Ae(e),r=t.getFullYear(),a=t.getDate(),i=new Date(0);i.setFullYear(r,n,15),i.setHours(0,0,0,0);var o=Pf(i);return t.setMonth(n,Math.min(a,o)),t}function Mf(s,e){if(te(2,arguments),Yn(e)!=="object"||e===null)throw new RangeError("values parameter must be an object");var t=ne(s);return isNaN(t.getTime())?new Date(NaN):(e.year!=null&&t.setFullYear(e.year),e.month!=null&&(t=jn(t,e.month)),e.date!=null&&t.setDate(Ae(e.date)),e.hours!=null&&t.setHours(Ae(e.hours)),e.minutes!=null&&t.setMinutes(Ae(e.minutes)),e.seconds!=null&&t.setSeconds(Ae(e.seconds)),e.milliseconds!=null&&t.setMilliseconds(Ae(e.milliseconds)),t)}function fl(s,e){te(2,arguments);var t=ne(s),n=Ae(e);return isNaN(t.getTime())?new Date(NaN):(t.setFullYear(n),t)}function Ev(s,e){te(2,arguments);var t=Ae(e);return Tn(s,-t)}function Tv(s,e){te(2,arguments);var t=Ae(e);return js(s,-t)}function Pv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 20V8h16v12H4ZM2 4c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Zm4 6.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2Zm.5 4.5a.5.5 0 0 0-.5.5v2c0 .28.22.5.5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-2Zm4-4.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2ZM11 15a.5.5 0 0 0-.5.5v2c0 .28.22.5.5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-2Zm4-4.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2Zm.5 4.5a.5.5 0 0 0-.5.5v2c0 .28.22.5.5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-2Z",fill:"currentColor"}))}const Lf=pt(Pv,"calendar");function Ov(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{d:"M2 5v14a3 3 0 0 0 3 3h7.1a7.02 7.02 0 0 1-1.43-2H6a2 2 0 0 1-2-2V8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2.67c.75.36 1.43.85 2 1.43V5a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3Z",fill:"currentColor"}),T.createElement("path",{d:"M16 10h1c-.54 0-1.06.06-1.57.18A1 1 0 0 1 16 10Z",fill:"currentColor"}),T.createElement("path",{d:"M13.5 10.94a1 1 0 0 0-1-.94h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 .77.97 7.03 7.03 0 0 1 2.23-2.03Z",fill:"currentColor"}),T.createElement("path",{d:"M7 10a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H7Z",fill:"currentColor"}),T.createElement("path",{d:"M6 16a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-1Z",fill:"currentColor"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 17a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-4-2a1 1 0 1 0-2 0v2c0 .27.1.52.3.7l1.5 1.5a1 1 0 0 0 1.4-1.4L18 16.58V15Z",fill:"currentColor"}))}const Iv=pt(Ov,"calendar_clock");function Dv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.28 4.24a1.5 1.5 0 0 1 0 2.12l-5.66 5.66 5.66 5.65a1.5 1.5 0 1 1-2.12 2.13l-6.72-6.72a1.5 1.5 0 0 1 0-2.12l6.72-6.72a1.5 1.5 0 0 1 2.12 0Z",fill:"currentColor"}))}const $f=pt(Dv,"chevron_left");function xv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.64 16.44a1.5 1.5 0 0 1-2.12 0l-5.66-5.66-5.66 5.66a1.5 1.5 0 1 1-2.12-2.12L10.8 7.6a1.5 1.5 0 0 1 2.12 0l6.72 6.72a1.5 1.5 0 0 1 0 2.12Z",fill:"currentColor"}))}const Rv=pt(xv,"chevron_up");function Fv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm1.5-16.5v4.88l3.56 3.56a1.5 1.5 0 0 1-2.12 2.12l-4-4A1.5 1.5 0 0 1 10.5 12V6.5a1.5 1.5 0 0 1 3 0Z",fill:"currentColor"}))}const Vf=pt(Fv,"clock");function kv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.62 4.4c.5.53.5 1.38 0 1.91L7.14 12l5.48 5.69c.5.53.5 1.38 0 1.91-.51.53-1.33.53-1.84 0l-6.4-6.64a1.4 1.4 0 0 1 0-1.92l6.4-6.64c.5-.53 1.33-.53 1.84 0Z",fill:"currentColor"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.62 4.4c.5.53.5 1.38 0 1.91L14.14 12l5.48 5.69c.5.53.5 1.38 0 1.91-.51.53-1.34.53-1.84 0l-6.4-6.64a1.4 1.4 0 0 1 0-1.92l6.4-6.64c.5-.53 1.33-.53 1.84 0Z",fill:"currentColor"}))}const Av=pt(kv,"double_chevron_left");function Nv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.38 4.4c.51-.53 1.34-.53 1.84 0l6.4 6.64c.5.53.5 1.39 0 1.92l-6.4 6.64c-.5.53-1.33.53-1.84 0a1.4 1.4 0 0 1 0-1.91L9.86 12 4.38 6.31a1.4 1.4 0 0 1 0-1.91Z",fill:"currentColor"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.38 4.4c.51-.53 1.33-.53 1.84 0l6.4 6.64c.5.53.5 1.39 0 1.92l-6.4 6.64c-.5.53-1.33.53-1.84 0a1.4 1.4 0 0 1 0-1.91L16.86 12l-5.48-5.69a1.4 1.4 0 0 1 0-1.91Z",fill:"currentColor"}))}const Mv=pt(Nv,"double_chevron_right");function Lv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2a1 1 0 0 0-1-1H6a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V10a1 1 0 0 0-1-1h-5a2 2 0 0 1-2-2V2ZM7 8a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H8Zm11.07-9.5H14.5a1 1 0 0 1-1-1V1.93a.8.8 0 0 1 1.37-.56l4.76 4.76a.8.8 0 0 1-.56 1.37Z",fill:"currentColor"}))}const pl=pt(Lv,"file");function $v(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{d:"M5 2a3 3 0 0 0-3 3v3h20c0-2-1-4-3-4h-6.45a3 3 0 0 1-1.87-.66l-1.13-.9A2 2 0 0 0 8.3 2H5Z",fill:"currentColor"}),T.createElement("path",{d:"M22 10H2v9a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-9Z",fill:"currentColor"}))}const Vv=pt($v,"folder");function jv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5a3 3 0 0 1 3-3h3.3a2 2 0 0 1 1.25.44l1.13.9a3 3 0 0 0 1.87.66H18c2 0 3 2 3 4H7.53A2 2 0 0 0 5.6 9.48L2.57 20.76C2.21 20.26 2 19.66 2 19V5Zm20.17 5H9.5a2 2 0 0 0-1.92 1.44l-2.7 9.28A1 1 0 0 0 5.82 22H18.5a2 2 0 0 0 1.92-1.44l2.7-9.28a1 1 0 0 0-.95-1.28Z",fill:"currentColor"}))}const Hv=pt(jv,"folder_open");function Uv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{d:"M9 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),T.createElement("path",{d:"M9 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),T.createElement("path",{d:"M11 19a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",fill:"currentColor"}),T.createElement("path",{d:"M15 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),T.createElement("path",{d:"M17 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",fill:"currentColor"}),T.createElement("path",{d:"M15 21a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}))}const Kv=pt(Uv,"handle");function Yv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("circle",{cx:12,cy:12,r:5,fill:"currentColor"}))}const Bv=pt(Yv,"radio");function qv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 12a7.5 7.5 0 0 1 13.8-4.07l-2-.4a1.5 1.5 0 0 0-.6 2.94l5 1c.76.15 1.51-.3 1.74-1.04l1.5-5a1.5 1.5 0 1 0-2.88-.86l-.43 1.45A10.49 10.49 0 0 0 1.5 12a10.5 10.5 0 0 0 20.4 3.5 1.5 1.5 0 1 0-2.83-1A7.5 7.5 0 0 1 4.5 12Z",fill:"currentColor"}))}const Wv=pt(qv,"refresh");function zv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{d:"M10.75 1.9c.4-1.2 2.1-1.2 2.5 0l1.99 6.12h6.45a1.3 1.3 0 0 1 .77 2.37l-5.22 3.78 2 6.11c.39 1.2-1 2.2-2.02 1.46L12 17.96l-5.22 3.78c-1.02.75-2.4-.25-2.01-1.46l1.99-6.11-5.22-3.78a1.3 1.3 0 0 1 .77-2.37h6.45l2-6.12Z",fill:"currentColor"}))}const Gv=pt(zv,"star");function Xv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{d:"m20.56 9.66-7.8 8.97a1 1 0 0 1-1.51 0L3.44 9.66A1 1 0 0 1 4.19 8h15.62a1 1 0 0 1 .75 1.66Z",fill:"currentColor"}))}const Zv=pt(Xv,"tree_triangle_down");function Qv(s){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},s),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.84 8.06A6.5 6.5 0 1 0 5.18 11 4.5 4.5 0 0 0 5.5 20H17a6 6 0 0 0 .84-11.94Zm-5.52.2a.5.5 0 0 0-.64 0l-5.15 4.3a.25.25 0 0 0 .16.44H10v4.5c0 .28.22.5.5.5h3a.5.5 0 0 0 .5-.5V13h3.31c.23 0 .34-.3.16-.44l-5.15-4.3Z",fill:"currentColor"}))}const Jv=pt(Qv,"upload"),jf={PREFIX:`${W}-autocomplete`,PREFIX_OPTION:`${W}-autocomplete-option`},Kl={SIZE:["small","large","default"],POSITION:dg.POSITION_SET,STATUS:ua};class eb extends xe{constructor(e){super(Object.assign({},e)),this.isPanelOpen=!1}init(){this._setDropdownWidth();const{defaultOpen:e,data:t,defaultValue:n,value:r}=this.getProps();if(t&&t.length){const i=this._generateList(t);this._adapter.updateOptionList(i)}e&&this.openDropdown();let a;typeof n<"u"&&(a=n),typeof r<"u"&&(a=r),typeof a<"u"&&this.handleValueChange(a)}destroy(){this._adapter.unregisterClickOutsideHandler()}_setDropdownWidth(){const{style:e,dropdownMatchSelectWidth:t}=this.getProps();let n;t&&(e&&ht(e.width)||e&&Ne(e.width)&&!e.width.includes("%")?n=e.width:n=this._adapter.getTriggerWidth(),this._adapter.setOptionWrapperWidth(n))}handleInputClick(e){const{options:t}=this.getStates(),{disabled:n}=this.getProps();n||(this.isPanelOpen?this.closeDropdown():this.openDropdown())}openDropdown(){this.isPanelOpen=!0,this._adapter.toggleListVisible(!0),this._setDropdownWidth(),this._adapter.registerClickOutsideHandler(e=>this.closeDropdown(e)),this._adapter.notifyDropdownVisibleChange(!0),this._modifyFocusIndexOnPanelOpen()}closeDropdown(e){this.isPanelOpen=!1,this._adapter.toggleListVisible(!1),this._adapter.unregisterClickOutsideHandler(),this._adapter.notifyDropdownVisibleChange(!1)}_generateList(e){const{renderItem:t}=this.getProps(),n=[];return e&&e.length&&e.forEach((r,a)=>{const i=String(new Date().getTime())+a;let o={};Ne(r)||ht(r)?o={value:r,key:i,label:r,show:!0}:gn(r)&&!je(r.value)&&(o=Object.assign({show:!0},r)),t&&typeof t=="function"&&(o.label=t(r)),n.push(o)}),n}handleSearch(e){this._adapter.updateInputValue(e),this._adapter.notifySearch(e),this._adapter.notifyChange(e),this._modifyFocusIndex(e),this.isPanelOpen||this.openDropdown()}handleSelect(e,t){const{renderSelectedItem:n}=this.getProps();let r="";n&&typeof n=="function"?(r=n(e),kt(typeof r!="string","Warning: [Semi AutoComplete] renderSelectedItem must return string, please check your function return")):r=e.value,this._isControlledComponent()?(this.closeDropdown(),this.notifySelect(e)):(this._adapter.updateInputValue(r),this.updateSelection(e),this.notifySelect(e),this.closeDropdown()),this._adapter.notifyChange(r),this._adapter.updateFocusIndex(t)}updateSelection(e){const t=new Map;e&&t.set(e.label,e),this._adapter.updateSelection(t)}notifySelect(e){this._backwardLabelInValue()?this._adapter.notifySelect(e):this._adapter.notifySelect(e.value)}_backwardLabelInValue(){const e=this.getProps();let{onSelectWithObject:t}=e;return t}handleDataChange(e){const t=this._generateList(e);this._adapter.updateOptionList(t),this._adapter.rePositionDropdown();let{inputValue:n}=this.getStates();this._modifyFocusIndex(n)}handleValueChange(e){let{data:t,defaultActiveFirstOption:n}=this.getProps(),r="";this._backwardLabelInValue()&&Object.prototype.toString.call(e)==="[object Object]"?r=e.value:r=e;let a=this._getRenderSelectedItem();const i=this._generateList(t);let o=i.length?i.filter(h=>a(h)===r):[];const l=o.length,c=i.findIndex(h=>a(h)===r);let d="";if(l)o=o[0],d=a(o);else{const h=this._backwardLabelInValue()?e:{label:r,value:r};d=a(h)}this._adapter.updateInputValue(d),this.updateSelection(l?o:null),c===-1&&n?this._adapter.updateFocusIndex(0):this._adapter.updateFocusIndex(c)}_modifyFocusIndex(e){let{focusIndex:t}=this.getStates(),{data:n,defaultActiveFirstOption:r}=this.getProps(),a=-1;if(e){let i=this._getRenderSelectedItem();a=this._generateList(n).findIndex(l=>i(l)===e)}a===-1&&r?t!==0&&this._adapter.updateFocusIndex(0):a!==t&&this._adapter.updateFocusIndex(a)}_modifyFocusIndexOnPanelOpen(){let{inputValue:e}=this.getStates();this._modifyFocusIndex(e)}_getRenderSelectedItem(){let{renderSelectedItem:e}=this.getProps();return typeof e>"u"&&(e=t=>t?.value),e}handleClear(){this._adapter.notifyClear()}bindKeyBoardEvent(){this._keydownHandler=e=>{this._handleKeyDown(e)},this._adapter.registerKeyDown(this._keydownHandler)}_handleKeyDown(e){const t=e.keyCode,{visible:n}=this.getStates();switch(t){case tn.UP:e.preventDefault(),this._handleArrowKeyDown(-1);break;case tn.DOWN:e.preventDefault(),this._handleArrowKeyDown(1);break;case tn.ENTER:e.preventDefault(),this._handleEnterKeyDown();break;case tn.ESC:this.closeDropdown();break;case tn.TAB:this.closeDropdown();break}this._adapter.notifyKeyDown(e)}_getEnableFocusIndex(e){const{focusIndex:t,options:n}=this.getStates(),r=n.filter(o=>o.show),a=r.length;let i=t+e;if(i<0&&(i=a-1),i>=a&&(i=0),e>0){let o=-1;for(let l=0;l<r.length&&(!r[l].disabled&&(o=l),!(o>=i));l++);i=o}else{let o=r.length;for(let l=a-1;l>=0&&(!r[l].disabled&&(o=l),!(o<=i));l--);i=o}this._adapter.updateFocusIndex(i),this._adapter.updateScrollTop(i)}_handleArrowKeyDown(e){const{visible:t}=this.getStates();t?this._getEnableFocusIndex(e):this.openDropdown()}_handleEnterKeyDown(){const{visible:e,options:t,focusIndex:n}=this.getStates();if(!e)this.openDropdown();else if(n!==void 0&&n!==-1&&t.length!==0){const a=t.filter(i=>i.show)[n];a&&this.handleSelect(a,n)}else this.closeDropdown()}handleOptionMouseEnter(e){this._adapter.updateFocusIndex(e)}handleFocus(e){this.bindKeyBoardEvent(),this._adapter.notifyFocus(e)}handleBlur(e){this._persistEvent(e),this._adapter.notifyBlur(e)}}var Lu=function(s,e){var t={};for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&e.indexOf(n)<0&&(t[n]=s[n]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(s);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(s,n[r])&&(t[n[r]]=s[n[r]]);return t};class fa extends T.PureComponent{onClick(e,t){var{value:n,label:r,children:a}=e,i=Lu(e,["value","label","children"]);const{props:o}=this;o.disabled||o.onSelect(Object.assign(Object.assign({},i),{value:n,label:r||a}),t)}renderOptionContent(e){let{children:t,inputValue:n,prefixCls:r}=e;return Ne(t)&&n?p.createElement(jh,{searchWords:[n],sourceString:t,highlightClassName:`${r}-keyword`}):t}render(){const e=this.props,{children:t,disabled:n,value:r,selected:a,label:i,empty:o,emptyContent:l,onSelect:c,focused:d,showTick:h,className:f,style:g,onMouseEnter:b,prefixCls:v,renderOptionItem:y,inputValue:m}=e,_=Lu(e,["children","disabled","value","selected","label","empty","emptyContent","onSelect","focused","showTick","className","style","onMouseEnter","prefixCls","renderOptionItem","inputValue"]),C=R(v,{[`${v}-disabled`]:n,[`${v}-selected`]:a,[`${v}-focused`]:d,[`${v}-empty`]:o,[f]:f}),w=R([`${v}-icon`]);return o?l===null?null:p.createElement(Et,{componentName:"Select"},S=>p.createElement("div",{className:C,"x-semi-prop":"emptyContent"},l||S.emptyText)):typeof y=="function"?y(Object.assign({disabled:n,focused:d,selected:a,style:g,label:i,value:r,inputValue:m,onMouseEnter:S=>b(S),onClick:S=>this.onClick(Object.assign({value:r,label:i,children:t},_),S)},_)):p.createElement("div",{className:C,onClick:S=>{this.onClick(Object.assign({value:r,label:i,children:t},_),S)},onMouseEnter:S=>b&&b(S),role:"option","aria-selected":a?"true":"false","aria-disabled":n?"true":"false",style:g},h?p.createElement("div",{className:w},p.createElement(Hh,null)):null,Ne(t)?p.createElement("div",{className:`${v}-text`},this.renderOptionContent({children:t,inputValue:m,prefixCls:v})):t)}}fa.isSelectOption=!0;fa.propTypes={children:u.node,disabled:u.bool,value:u.oneOfType([u.string,u.number]),selected:u.bool,label:u.node,empty:u.bool,emptyContent:u.node,onSelect:u.func,focused:u.bool,showTick:u.bool,className:u.string,style:u.object,onMouseEnter:u.func,prefixCls:u.string,renderOptionItem:u.func,inputValue:u.string};fa.defaultProps={prefixCls:jf.PREFIX_OPTION};const vn=jf.PREFIX,tb=Kl.SIZE,nb=Kl.POSITION,rb=Kl.STATUS;class Er extends Ie{constructor(e){super(e),this.onSelect=(n,r,a)=>{this.foundation.handleSelect(n,r)},this.onSearch=n=>{this.foundation.handleSearch(n)},this.onBlur=n=>this.foundation.handleBlur(n),this.onFocus=n=>this.foundation.handleFocus(n),this.onInputClear=()=>this.foundation.handleClear(),this.handleInputClick=n=>this.foundation.handleInputClick(n),this.foundation=new eb(this.adapter);const t=1;this.state={dropdownMinWidth:null,inputValue:"",options:[],visible:!1,focusIndex:e.defaultActiveFirstOption?0:-1,selection:new Map,rePosKey:t},this.triggerRef=p.createRef(),this.optionsRef=p.createRef(),this.clickOutsideHandler=null,this.optionListId="",kt("triggerRender"in this.props&&typeof this.props.triggerRender=="function",`[Semi AutoComplete]
|
|
3
3
|
- If you are using the following props: 'suffix', 'prefix', 'showClear', 'validateStatus', and 'size',
|
|
4
4
|
please notice that they will be removed in the next major version.
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ag as _,r as w,t as S,R as x,cf as N,z as R,J as r}from"./index-
|
|
1
|
+
import{ag as _,r as w,t as S,R as x,cf as N,z as R,J as r}from"./index-BegU9LBT.js";function I(n){return w.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},n),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.44 19.8a1.5 1.5 0 0 1 0-2.13l5.66-5.65-5.66-5.66a1.5 1.5 0 1 1 2.12-2.12l6.72 6.72a1.5 1.5 0 0 1 0 2.12L9.56 19.8a1.5 1.5 0 0 1-2.12 0Z",fill:"currentColor"}))}const B=_(I,"chevron_right"),E={PREFIX:`${S}`};var T=function(n,t){var o={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.indexOf(e)<0&&(o[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(n);s<e.length;s++)t.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(n,e[s])&&(o[e[s]]=n[e[s]]);return o};const v=["xxl","xl","lg","md","sm","xs"],P=x.createContext(null),C={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};class j extends x.Component{constructor(){super(...arguments),this.state={screens:{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}},this.unRegisters=[]}componentDidMount(){this.unRegisters=Object.keys(C).map(t=>N(C[t],{match:()=>{typeof this.props.gutter=="object"&&this.setState(o=>({screens:Object.assign(Object.assign({},o.screens),{[t]:!0})}))},unmatch:()=>{typeof this.props.gutter=="object"&&this.setState(o=>({screens:Object.assign(Object.assign({},o.screens),{[t]:!1})}))}}))}componentWillUnmount(){this.unRegisters.forEach(t=>t())}getGutter(){const{gutter:t=0}=this.props,o=[0,0];return(Array.isArray(t)?t.slice(0,2):[t,0]).forEach((s,p)=>{if(typeof s=="object")for(let u=0;u<v.length;u++){const f=v[u];if(this.state.screens[f]&&s[f]!==void 0){o[p]=s[f];break}}else o[p]=s||0}),o}render(){const t=this.props,{prefixCls:o,type:e,justify:s,align:p,className:u,style:f,children:b}=t,y=T(t,["prefixCls","type","justify","align","className","style","children"]),i=this.getGutter(),d=`${o}-row`,a=R({[d]:e!=="flex",[`${d}-${e}`]:e,[`${d}-${e}-${s}`]:e&&s,[`${d}-${e}-${p}`]:e&&p},u),O=Object.assign(Object.assign(Object.assign({},i[0]>0?{marginLeft:i[0]/-2,marginRight:i[0]/-2}:{}),i[1]>0?{marginTop:i[1]/-2,marginBottom:i[1]/-2}:{}),f),g=Object.assign({},y);return delete g.gutter,x.createElement(P.Provider,{value:{gutters:i}},x.createElement("div",Object.assign({},g,{className:a,style:O,"x-semi-prop":"children"}),b))}}j.propTypes={type:r.oneOf(["flex"]),align:r.oneOf(["top","middle","bottom"]),justify:r.oneOf(["start","end","center","space-around","space-between"]),className:r.string,style:r.object,children:r.node,gutter:r.oneOfType([r.object,r.number,r.array]),prefixCls:r.string};j.defaultProps={prefixCls:E.PREFIX};j.RowContext={gutters:r.any};var A=function(n,t){var o={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.indexOf(e)<0&&(o[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(n);s<e.length;s++)t.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(n,e[s])&&(o[e[s]]=n[e[s]]);return o};const h=r.oneOfType([r.object,r.number]);class $ extends x.Component{render(){const{props:t}=this,{prefixCls:o,span:e,order:s,offset:p,push:u,pull:f,className:b,children:y}=t,i=A(t,["prefixCls","span","order","offset","push","pull","className","children"]);let d={};const a=`${o}-col`;["xs","sm","md","lg","xl","xxl"].forEach(c=>{let l={};typeof t[c]=="number"?l.span=t[c]:typeof t[c]=="object"&&(l=t[c]||{}),delete i[c],d=Object.assign(Object.assign({},d),{[`${a}-${c}-${l.span}`]:l.span!==void 0,[`${a}-${c}-order-${l.order}`]:l.order||l.order===0,[`${a}-${c}-offset-${l.offset}`]:l.offset||l.offset===0,[`${a}-${c}-push-${l.push}`]:l.push||l.push===0,[`${a}-${c}-pull-${l.pull}`]:l.pull||l.pull===0})});const O=R(a,{[`${a}-${e}`]:e!==void 0,[`${a}-order-${s}`]:s,[`${a}-offset-${p}`]:p,[`${a}-push-${u}`]:u,[`${a}-pull-${f}`]:f},b,d);let{style:g}=i,m;try{m=this.context.gutters}catch{throw new Error("please make sure <Col> inside <Row>")}return g=Object.assign(Object.assign(Object.assign({},m[0]>0?{paddingLeft:m[0]/2,paddingRight:m[0]/2}:{}),m[1]>0?{paddingTop:m[1]/2,paddingBottom:m[1]/2}:{}),g),x.createElement("div",Object.assign({},i,{style:g,className:O,"x-semi-prop":"children"}),y)}}$.contextType=P;$.propTypes={span:r.number,order:r.number,offset:r.number,push:r.number,pull:r.number,className:r.string,children:r.node,xs:h,sm:h,md:h,lg:h,xl:h,xxl:h,prefixCls:r.string};$.defaultProps={prefixCls:E.PREFIX};export{$ as C,B as I,j as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c}from"./index-
|
|
1
|
+
import{c}from"./index-BegU9LBT.js";const o=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]],e=c("compass",o);export{e as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as f,h as u,j as r,T as i,i as a,B as x,D as M}from"./index-Bjn0ctEd.js";import{B as Z}from"./index-C83QHLmD.js";var g=Object.defineProperty,d=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,h=(c,l,t)=>l in c?g(c,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[l]=t,I=(c,l)=>{for(var t in l||(l={}))k.call(l,t)&&h(c,t,l[t]);if(d)for(var t of d(l))w.call(l,t)&&h(c,t,l[t]);return c};function _(c){return e.createElement("svg",I({width:200,height:200,viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",focusable:!1,"aria-hidden":!0},c),e.createElement("rect",{width:200,height:200,fill:"transparent"}),e.createElement("path",{d:"M74.7 78.6c20.78-6.32 57.55-12.26 71.81-9.86 4.21.7 8.12 1.98 11.36 3.42-.51-1.69-.95-3.5-1.38-5.3l-.04-.18c-1.03-4.27-2.05-8.44-3.95-10.55-4.8-5.32.67-10.12.67-10.12l.93-10.53c13.02 4.82 21.65 14.92 27 25.08 4.57 8.67 6.75 17.37 7.25 22.89 1.06 12-8.18 18.86-19.2 18.86-9.74 0-18.36-1.64-24.81-3.1.64 2.18 5.44 19.18 7.53 32.66l-46.15.58-7.58-14.68-4.66-12.26c-19.46 7.46-50.77 19.02-64.9 18.44-10.35-.42-15.68-15.68-17.44-28.7a71.55 71.55 0 0 1-.67-9.4c0-5.64.3-12.18 2.22-17.89.74-2.21 1.73-4.3 3.04-6.17a18.1 18.1 0 0 1 4.6-4.59c0 4-1.02 13.54 2.8 14.12 5.06.78 10.4-9.08 13.85-7.06 3.87 2.27-1.65 16.34-1.33 17.2.27.7.53 1.4.76 2.07a48.99 48.99 0 0 1 2.25 8.55C46.59 87.56 60 83.06 74.69 78.6Z",fill:"white"}),e.createElement("path",{d:"M181.1 60.56c4.57 8.67 6.75 17.37 7.25 22.89 1.06 12-8.18 18.86-19.2 18.86-9.74 0-18.36-1.64-24.81-3.1m36.77-38.65c-5.36-10.16-13.99-20.26-27-25.08l-.94 10.53s-5.46 4.8-.67 10.12c1.9 2.11 2.92 6.28 3.95 10.55m24.66-6.12c-6-.37-18.32.8-24.66 6.12m0 0c1.57 6.53 3.15 13.3 7.91 13.3 7.2 0-3.6-8.84-17.85-11.24-14.25-2.4-51.03 3.54-71.82 9.86-20.78 6.32-39.04 12.71-42.77 19.1-3.63 6.23 13.24 10.92 4.49-14.17m0 0c-.23-.67-.49-1.36-.76-2.08-.32-.85 5.2-14.92 1.33-17.19-3.45-2.02-8.8 7.84-13.85 7.06-3.82-.58-2.8-10.12-2.8-14.12a18.1 18.1 0 0 0-4.6 4.6M36.4 83.52c-7.27 1.58-21.92 8.1-25.27 11.73m0 0a71.55 71.55 0 0 1-.67-9.41c0-5.64.3-12.18 2.22-17.89m-1.55 27.3c1.76 13 7.09 28.27 17.45 28.7 14.12.57 45.43-10.99 64.89-18.45l4.66 12.26 7.58 14.68 46.15-.58c-2.09-13.48-6.89-30.48-7.53-32.67M15.73 61.8c-.98 3-1.08 5.5.19 7.8m-.2-7.8a24.08 24.08 0 0 0-3.03 6.16m0 0a5.43 5.43 0 0 0 1.25 4.22m130.4 27.02c-.9-3.08-3.12-9.95-4.76-12.76",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m156.89 15.66-2.04 27.96 2.57 28.1c-7.51-3.07-13.32-4.34-27.25-3.36-11.94.83-31.75 3.95-46.23 7.62-16.66 4.27-37.81 11.64-45.21 15.9-.77-4.64-2.92-10.15-2.92-10.15-.07-.7 2.63-8.32 2.73-13.06.08-3.08-.91-4.45-2.33-4.75a3.47 3.47 0 0 0-2.05.35c-.63.32-.86.48-1.38.84-1.34.98-2.38 2.02-3.95 3.34a17.14 17.14 0 0 1-3.04 2.17 4.6 4.6 0 0 1-2.89.63c-.63-.1-1.21-.47-1.71-1.58l-.07-.89c-.5-5.79-2.7-20.12-2.7-34.91 0-7.74 1.61-10.04 2.7-11.59l.13-.18c3.85-5.53 13.67-6.75 23.12-6.96 2.5-.14 5.2-.2 8.1-.17l.11.15H53.15l-.52.07 18.32 25.49-3.62 14.08 10.2 15.98-2.84-16.49 10-11.99-3.5-27.7s8.78-.5 19.47-1.77c10.69-1.28 18.47-1.9 29.42-1.83 1.64.01 3.4.1 5.23.22 9.64.65 18.55 2.56 21.46 4.4l.13.09h-.01Z",fill:"var(--semi-color-primary-light-default)"}),e.createElement("path",{d:"M143 27.91a1.38 1.38 0 0 1 1.77-.85c.5.18.98.41 1.44.71a1.38 1.38 0 0 1-1.53 2.31c-.26-.17-.53-.3-.82-.4a1.38 1.38 0 0 1-.85-1.77Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M140.65 28.12c.21.74-.21 1.5-.95 1.72-.36.1-.73.22-1.11.36a1.38 1.38 0 1 1-.95-2.6c.43-.16.87-.3 1.3-.43.74-.2 1.5.22 1.71.95Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M134.74 30.4c.37.67.14 1.51-.53 1.89l-1.07.62a1.38 1.38 0 1 1-1.41-2.38l1.12-.65a1.38 1.38 0 0 1 1.89.52Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M97.86 31.43h.76a1.38 1.38 0 1 1-.06 2.77h-.52a6.7 6.7 0 0 0-.57.1 1.38 1.38 0 0 1-.64-2.68c.33-.08.64-.14.94-.18l.09-.01Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M147.78 31.75c.73-.23 1.5.19 1.72.92.13.43.25.88.35 1.35a1.38 1.38 0 0 1-2.7.58c-.1-.4-.19-.78-.3-1.13-.22-.73.2-1.5.93-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M102.27 33.13c.19-.75.94-1.2 1.68-1.01.45.11.89.23 1.3.37a1.38 1.38 0 0 1-.84 2.63c-.36-.11-.73-.22-1.13-.32a1.38 1.38 0 0 1-1-1.67Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M129.3 33.68c.42.64.25 1.5-.4 1.92l-.52.34-.53.36a1.38 1.38 0 0 1-1.53-2.31l.32-.21.21-.14.3-.2.23-.15c.64-.42 1.5-.25 1.92.39Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M108.25 35.22c.36-.67 1.2-.92 1.88-.55a246.5 246.5 0 0 1 1.11.61 1.38 1.38 0 0 1-1.33 2.43l-.5-.28h-.01l-.6-.34a1.38 1.38 0 0 1-.55-1.87Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M92.83 35.77c.76-.01 1.4.6 1.4 1.36.01.16.03.34.07.55a1.38 1.38 0 1 1-2.7.58 5.62 5.62 0 0 1-.13-1.08c-.01-.76.6-1.4 1.36-1.4Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M124 37.2c.31.7 0 1.51-.7 1.82a6.07 6.07 0 0 1-1.44.45 1.38 1.38 0 1 1-.67-2.68l.58-.16c.1-.03.24-.07.42-.15.7-.3 1.51.02 1.82.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M113.9 38.14c.15-.75.89-1.22 1.63-1.06.35.07.72.13 1.1.16a1.38 1.38 0 0 1-.26 2.76c-.49-.05-.96-.12-1.41-.22a1.38 1.38 0 0 1-1.07-1.64Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M148.98 37.95c.76-.01 1.4.6 1.4 1.36a38.45 38.45 0 0 1 0 1.42 1.38 1.38 0 0 1-2.77-.08 24.28 24.28 0 0 0 0-1.3c0-.76.6-1.39 1.37-1.4Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M148.6 44.88c.75.16 1.22.9 1.06 1.65-.1.47-.22.94-.34 1.41a1.38 1.38 0 1 1-2.68-.7c.12-.43.22-.87.31-1.3.17-.75.9-1.22 1.65-1.06Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M146.69 51.6c.7.31 1 1.13.7 1.83-.2.44-.41.88-.63 1.31a1.38 1.38 0 0 1-2.48-1.24c.2-.4.4-.8.58-1.2.31-.7 1.13-1.01 1.83-.7Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M41.67 55.45c.07.77-.5 1.44-1.25 1.5-.43.04-.86.1-1.26.19a1.38 1.38 0 1 1-.54-2.72c.5-.1 1.02-.17 1.55-.22.76-.07 1.43.5 1.5 1.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M44.58 55.78c.22-.73 1-1.15 1.72-.93l.74.23a1.38 1.38 0 1 1-.9 2.62l-.62-.2a1.38 1.38 0 0 1-.94-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M91.9 56.9c.05.76-.52 1.42-1.29 1.47-.44.02-.89.06-1.32.11a1.38 1.38 0 0 1-.31-2.75c.48-.05.96-.1 1.45-.13.77-.05 1.42.53 1.47 1.3Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M94.72 56.95c.07-.76.74-1.33 1.5-1.26l1.43.14a1.38 1.38 0 0 1-.32 2.75c-.45-.05-.9-.1-1.35-.13a1.38 1.38 0 0 1-1.26-1.5Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M101.64 57.83c.16-.75.9-1.22 1.64-1.07l1.39.31a1.38 1.38 0 1 1-.62 2.7l-1.34-.3a1.38 1.38 0 0 1-1.07-1.64Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M34.85 57.26c.48.6.39 1.46-.2 1.94-.33.27-.63.55-.9.84a1.38 1.38 0 0 1-2.03-1.89c.36-.39.76-.75 1.18-1.1.6-.48 1.46-.39 1.95.2Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M85 57.9c.29.71-.06 1.51-.78 1.8a15.8 15.8 0 0 0-1.26.54 1.38 1.38 0 1 1-1.15-2.52 71.64 71.64 0 0 1 1.4-.6c.71-.28 1.52.07 1.8.78Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M143.4 57.76c.61.47.72 1.34.26 1.95-.3.39-.62.77-.94 1.14a1.38 1.38 0 0 1-2.09-1.81 24 24 0 0 0 .84-1.03c.47-.6 1.33-.71 1.94-.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M108.43 59.46c.22-.74.99-1.15 1.72-.93l1.35.41a1.38 1.38 0 1 1-.82 2.64l-1.32-.4a1.38 1.38 0 0 1-.93-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M115.08 61.58a1.38 1.38 0 0 1 1.77-.82l1.32.48a1.38 1.38 0 0 1-.97 2.6c-.43-.17-.87-.33-1.3-.48a1.38 1.38 0 0 1-.82-1.78Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M138.67 62.89c.42.64.25 1.5-.4 1.92-.41.27-.85.54-1.29.78a1.38 1.38 0 0 1-1.32-2.43c.37-.2.73-.43 1.1-.66.63-.42 1.49-.25 1.91.39Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M30.5 62.78c.77.07 1.33.74 1.26 1.5l-.03.59.01.75-1.6 1.4a1.38 1.38 0 0 1-1.16-1.32l-.02-.83c0-.28.02-.56.04-.84.07-.76.75-1.32 1.5-1.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M121.6 64.07c.3-.7 1.1-1.04 1.8-.75a146.8 146.8 0 0 1 1.26.52 1.38 1.38 0 1 1-.97 2.59 19.62 19.62 0 0 1-1.35-.55c-.7-.3-1.04-1.1-.74-1.81Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M72.11 64.94c.48.6.4 1.47-.2 1.95-.38.3-.74.62-1.09.92A1.38 1.38 0 1 1 69 65.73c.37-.33.76-.66 1.17-.99.59-.48 1.46-.39 1.94.2Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M132.4 65.92c.09.76-.46 1.44-1.22 1.53-.5.05-1.02.08-1.53.09a1.38 1.38 0 1 1-.02-2.77c.42 0 .84-.03 1.25-.07.76-.09 1.44.46 1.53 1.22Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M66.66 69.9c.57.52.6 1.4.09 1.96l-.73.8-.02.02-.16.18-.08.09a1.38 1.38 0 0 1-2.05-1.86l.25-.28.75-.82c.51-.56 1.39-.6 1.95-.09Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M61.6 75.28c.45.61.31 1.48-.3 1.93-.44.31-.88.61-1.36.89a1.38 1.38 0 1 1-1.4-2.4c.4-.22.77-.46 1.12-.72a1.38 1.38 0 0 1 1.94.3Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M37.67 75.97c.42.19.86.37 1.35.53a1.38 1.38 0 0 1-.89 2.62c-.56-.19-1.1-.4-1.6-.63l.72-2.63c.14.01.28.05.42.11Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M55.05 78.57c.12.75-.4 1.46-1.15 1.58-.5.08-1 .15-1.54.2a1.38 1.38 0 1 1-.28-2.75c.49-.05.95-.11 1.39-.18.75-.12 1.46.4 1.58 1.15Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M43.4 78.87c.06-.76.73-1.33 1.49-1.27a38.43 38.43 0 0 0 1.5.1 1.38 1.38 0 1 1-.12 2.76 62.94 62.94 0 0 1-1.6-.1 1.38 1.38 0 0 1-1.27-1.49Z",fill:"var(--semi-color-primary)"}),e.createElement("g",{clipPath:"url(#clip_failure_96_39_65)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.9 46.87a13.45 13.45 0 0 1 9.37-16.53 13.46 13.46 0 0 1 16.52 9.39c2.64 9.56-4.76 29.27-5.14 29.9a.75.75 0 0 1-.99.27c-.64-.34-17.11-13.47-19.76-23.03Zm14.36 1.54a6.1 6.1 0 0 1-3.25-11.75 6.1 6.1 0 0 1 3.25 11.75Z",fill:"var(--semi-color-primary)"})),e.createElement("path",{d:"M102.31 100.69c-2.8 1.55-5.63 2.85-9.36 4.58l1.48 3.92c2.14-.96 6.16-6.03 7.88-8.5Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M121 63.04c8.85 2.1 12.43-6.5 13.12-8.77.68-2.27-5.6-11.86-8-11.2l-.42.12-.23.06c-3.1.82-11.15 2.94-12.35 8-1.3 5.46 2.4 10.49 7.88 11.79Z",fill:"#515151"}),e.createElement("path",{d:"M134.5 64.73c-.43.47-1.2.74-2.33.73a12.7 12.7 0 0 1-4.06-.86 31.25 31.25 0 0 1-9.94-6.22c-3.25-2.97-5.97-5.8-7.59-8.42-1.61-2.61-2.05-4.88-.98-6.84a3.7 3.7 0 0 1 2.11-1.86 4.53 4.53 0 0 1 2.9.15c2.16.76 4.57 2.83 6.48 6.02 3.4 5.63 6.89 8.23 9.7 10.33.49.35.95.7 1.38 1.03a7.29 7.29 0 0 1 2.61 3.48c.34 1.1.16 1.97-.28 2.46Z",fill:"white",stroke:"#515151"}),e.createElement("mask",{id:"mask_failure_130_526","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:98,y:44,width:36,height:27},e.createElement("path",{d:"M130.53 62.1c-.5-3.3-9.52-14.75-16.08-15.03l-12.68 4.52 6.47 14.16 17.25 3.07c1.84-1.14 5.43-4.07 5.04-6.72Z",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#mask_failure_130_526)"},e.createElement("path",{d:"M127.2 63.62a9.74 9.74 0 0 1-13.76.5 9.74 9.74 0 0 1-.32-13.77 9.74 9.74 0 0 1 13.77-.5 9.74 9.74 0 0 1 .32 13.77Z",fill:"white",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m116.79 47.35-.02.37c2.86.5 8.57 2.59 8.58 6.87 0 5.36-7.44 9.34-14.47 3.46-.34-.28-.66-.53-.95-.74a10.09 10.09 0 0 0 3.17 7.17 10.24 10.24 0 0 0 14.47-.52 10.24 10.24 0 0 0-.34-14.47 10.16 10.16 0 0 0-10.44-2.14Z",fill:"#515151"}),e.createElement("path",{d:"M119.34 55a.79.79 0 1 0-1.1-1.12.79.79 0 0 0 1.1 1.12Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.98 50.72c.21-.09.45.01.54.22a7.87 7.87 0 0 0 1.84 2.65.41.41 0 1 1-.55.62 8.67 8.67 0 0 1-2.05-2.95.41.41 0 0 1 .22-.54Z",fill:"#515151"}),e.createElement("path",{d:"M114.85 52.4a.79.79 0 1 0-1.1-1.1.79.79 0 0 0 1.1 1.1Z",fill:"#515151"}),e.createElement("mask",{id:"path-18-inside-1",fill:"white"},e.createElement("ellipse",{rx:2.97818,ry:2.97818,transform:"matrix(0.727696 0.6859 -0.685903 0.727693 128.435 60.0508)"})),e.createElement("ellipse",{rx:2.97818,ry:2.97818,transform:"matrix(0.727696 0.6859 -0.685903 0.727693 128.435 60.0508)",fill:"white"}),e.createElement("path",{d:"m128.42 60.04.01-.01a.03.03 0 0 1 .02 0l-4.12 4.37a5.98 5.98 0 0 0 8.45-.25l-4.36-4.11Zm.03 0v.02l-4.37-4.11a5.98 5.98 0 0 0 .25 8.45l4.12-4.37Zm0 .03h-.01a.03.03 0 0 1-.02 0l4.12-4.37a5.98 5.98 0 0 0-8.46.25l4.37 4.12Zm-.03 0v-.03l4.37 4.11a5.98 5.98 0 0 0-.25-8.45l-4.12 4.37Z",fill:"#515151",mask:"url(#path-18-inside-1)"})),e.createElement("path",{d:"M145.63 40.19c1.37-2.75 12.75 2.35 16.14 6.78 3.38 4.43 1.48 10.74-1.9 9.68-6.69-2.12-7.56-6.7-7.94-9.48-1.2-1.85-7.67-4.24-6.3-6.98Z",fill:"white",stroke:"#515151"}),e.createElement("path",{d:"m158.95 41.56 6.64 2.52 1.66 12.47-8.3 1.98-3.47-12.03 3.47-4.94Z",fill:"white"}),e.createElement("path",{d:"M167.3 151.94c5.19 1.66 23.35 35.57 19.05 35.57-13.86 0-34.5.53-71.42.53-15.63 0-17.9-5.16-11.79-22.08a353.23 353.23 0 0 1 6.14-15.76l32.5 1.26c-.43 1.53-.91 3.07-1.38 4.4a26.82 26.82 0 0 1 8.73-1.47c5.27 0 7.04 1.4 11.77 0 2.13-.62 4.8-2.97 6.4-2.45Z",fill:"white",className:""}),e.createElement("path",{d:"M140.4 155.87c.47-1.34.95-2.88 1.38-4.4l-32.5-1.27a353.23 353.23 0 0 0-6.14 15.76c-6.1 16.92-3.84 22.08 11.79 22.08 36.93 0 57.56-.53 71.42-.53 4.3 0-13.86-33.91-19.06-35.57-1.6-.52-4.26 1.83-6.4 2.45-4.72 1.4-6.5 0-11.76 0-3.08 0-6.06.55-8.72 1.48Zm0 0a26.67 26.67 0 0 1-4.44 8.38c-1.7 2.22-3.99 4.43-5.43 4.33-1.44-.1-1.42-3.18 0-5.66 1.97-3.44 6.45-5.87 9.88-7.05Z",stroke:"#1C1F23",className:""}),e.createElement("path",{d:"M149.25 131.7s3.36 19.46-12.34 21.04c-11.53 1.15-40.77-4.55-53.76-7.79 4.72 12.82 9.61 39.86 7 42.16-3.33 2.93-47.55 1.76-55.96 0-8.42-1.75 13.82-11.46 15.45-14.66 2.99-5.84-5.48-21.18-5.75-45.45-.27-24.27 18.18-24.86 34.47-21.64 13.02 2.57 41.63 18.33 52.56 26.86l18.33-.52Z",fill:"white",stroke:"#515151"}),e.createElement("path",{d:"M141.5 153.87c-3.11 2.55-27.72 5-35.58 3.53l2.75-6.8c20.23 2.85 28.08 3.34 33.46 1.16l-.63 2.11Z",fill:"#515151",className:"__web-inspector-hide-shortcut__"}),e.createElement("path",{d:"M141.5 153.87c-3.11 2.55-27.72 5-35.58 3.53l2.75-6.8c20.23 2.85 28.08 3.34 33.46 1.16l-.63 2.11Z",fill:"#515151"}),e.createElement("path",{d:"M126.02 142.7c-3.1-2.99-4.99-7.5-4.16-12.35",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M130.6 95.65c-9.03-10.98-18.97-19.74-25.5-24.56l1.63-2.22c6.7 4.95 16.81 13.86 26 25.02 9.18 11.16 17.54 24.67 20.59 38.83l-2.7.59c-2.91-13.56-10.97-26.67-20.02-37.66Z",fill:"#515151"}),e.createElement("path",{d:"m149.12 107.09-16.36 13.2 22.27 17.8 8.87-19.19c-.14-3.93-2.34-5.34-5.83-4.66l-3.12-2.5c.08-3.5-2.18-5.64-5.83-4.65Z",fill:"#E6E8EA"}),e.createElement("path",{d:"m148.24 128.62 9.45-14.34-2.91-2.33-10.94 13.07 4.4 3.6Z",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M143.67 127.98a6.93 6.93 0 1 1-10.82-8.65 6.93 6.93 0 0 1 10.82 8.65Zm12.28 9.82a6.93 6.93 0 1 1-10.82-8.66 6.93 6.93 0 0 1 10.82 8.66Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m133.43 123.46 9.21-1.8.32 1.61-9.2 1.81-.33-1.62Z",fill:"white"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m145.5 133.11 9.21-1.8.32 1.62-9.2 1.8-.33-1.62Z",fill:"white"}),e.createElement("defs",null,e.createElement("clipPath",{id:"clip_failure_96_39_65"},e.createElement("rect",{width:44.4004,height:44.4627,transform:"matrix(0.963965 -0.266028 0.266198 0.963918 18.4214 34.6221)",fill:"white"}))))}var N=_;const R=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],P=f("shield-alert",R);const b=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],T=f("wifi-off",b),O="https://bytedance.larkoffice.com/wiki/PeIawT4M4ia9R8kYyLMcjwHknOg",L=({errorMsg:c,errorState:l="unknown"})=>{const t=u(),o=l==="notLoggedIn"||l==="loginExpired",m=l==="noPermission",n=l==="networkProxy",y=o?"projectInfo.error.login.title":m?"projectInfo.error.permission.title":n?"projectInfo.error.network.title":"projectInfo.error.general.title",v=o?"projectInfo.error.login.desc":m?"projectInfo.error.permission.desc":n?"projectInfo.error.network.desc":"projectInfo.error.general.desc",E=o?["projectInfo.error.login.stepLogin","projectInfo.error.login.stepRestart","projectInfo.error.login.stepProxy"]:m?["projectInfo.error.permission.stepCheckAccount","projectInfo.error.permission.stepApply","projectInfo.error.permission.stepRestart"]:n?["projectInfo.error.network.stepCheck","projectInfo.error.network.stepProxy","projectInfo.error.network.stepRestart"]:["projectInfo.error.general.stepCheck","projectInfo.error.general.stepRetry"],p=o?[{label:"projectInfo.error.commandLogin",command:"ttmg login",hint:""},{label:"projectInfo.error.commandRestart",command:"ttmg dev",hint:""},{label:"projectInfo.error.commandProxy",command:"ttmg config set proxy http://127.0.0.1:7890",hint:"projectInfo.error.commandProxyHint"}]:n?[{label:"projectInfo.error.commandProxy",command:"ttmg config set proxy http://127.0.0.1:7890",hint:"projectInfo.error.commandProxyHint"},{label:"projectInfo.error.commandRestart",command:"ttmg dev",hint:""}]:[];return r.jsxs("div",{className:`error-display error-display-${l}`,children:[r.jsx(Z,{className:"error-display-banner",type:m||o||n?"warning":"danger",closeIcon:null,description:r.jsxs("div",{className:"error-display-banner-content",children:[r.jsx(i.Text,{strong:!0,children:a(y)}),r.jsx(i.Text,{children:a(v)})]})}),r.jsxs("div",{className:"error-display-panel",children:[r.jsxs("div",{className:"error-display-hero",children:[r.jsx("div",{className:"error-display-hero-illustration",children:m?r.jsx("div",{className:"error-display-permission-mark",children:r.jsx(P,{size:72,strokeWidth:1.8})}):n?r.jsx("div",{className:"error-display-network-mark",children:r.jsx(T,{size:72,strokeWidth:1.8})}):r.jsx(N,{})}),r.jsxs("div",{className:"error-display-hero-copy",children:[r.jsx(i.Title,{heading:4,children:a("projectInfo.error.guideTitle")}),r.jsx(i.Paragraph,{className:"error-display-main-text",children:c})]})]}),r.jsxs("div",{className:"error-display-guide-grid",children:[r.jsxs("section",{className:"error-display-guide-card",children:[r.jsx(i.Text,{strong:!0,children:a("projectInfo.error.stepTitle")}),r.jsx("div",{className:"error-display-step-list",children:E.map((s,j)=>r.jsxs("div",{className:"error-display-step-item",children:[r.jsx("span",{className:"error-display-step-index",children:j+1}),r.jsx(i.Text,{children:a(s)})]},s))}),p.length>0?r.jsx("div",{className:"error-display-command-list",children:p.map(s=>r.jsxs("div",{className:"error-display-command-item",children:[r.jsx(i.Text,{type:"tertiary",children:a(s.label)}),r.jsx("code",{children:s.command}),s.hint?r.jsx(i.Text,{type:"tertiary",className:"error-display-command-hint",children:a(s.hint)}):null]},s.command))}):null]}),r.jsxs("section",{className:"error-display-guide-card",children:[r.jsx(i.Text,{strong:!0,children:a("projectInfo.error.helpTitle")}),r.jsx(i.Paragraph,{className:"error-display-help-text",children:o?a("projectInfo.error.helpLoginDesc"):m?a("projectInfo.error.helpPermissionDesc"):n?a("projectInfo.error.helpNetworkDesc"):a("projectInfo.error.helpGeneralDesc")}),o||n?r.jsxs("div",{className:"error-display-actions",children:[o?r.jsx(x,{theme:"light",onClick:()=>t("/basic_debug_guide"),children:a("basicDebugGuide.entryAction")}):null,r.jsx(M,{href:O,children:a("projectInfo.error.openProxyDoc")})]}):null]})]})]})]})};export{L as A};
|
|
1
|
+
import{r as e,c as f,h as u,j as r,T as i,i as a,B as x,D as M}from"./index-BegU9LBT.js";import{B as Z}from"./index-CcUgN29Y.js";var g=Object.defineProperty,d=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,h=(c,l,t)=>l in c?g(c,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[l]=t,I=(c,l)=>{for(var t in l||(l={}))k.call(l,t)&&h(c,t,l[t]);if(d)for(var t of d(l))w.call(l,t)&&h(c,t,l[t]);return c};function _(c){return e.createElement("svg",I({width:200,height:200,viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",focusable:!1,"aria-hidden":!0},c),e.createElement("rect",{width:200,height:200,fill:"transparent"}),e.createElement("path",{d:"M74.7 78.6c20.78-6.32 57.55-12.26 71.81-9.86 4.21.7 8.12 1.98 11.36 3.42-.51-1.69-.95-3.5-1.38-5.3l-.04-.18c-1.03-4.27-2.05-8.44-3.95-10.55-4.8-5.32.67-10.12.67-10.12l.93-10.53c13.02 4.82 21.65 14.92 27 25.08 4.57 8.67 6.75 17.37 7.25 22.89 1.06 12-8.18 18.86-19.2 18.86-9.74 0-18.36-1.64-24.81-3.1.64 2.18 5.44 19.18 7.53 32.66l-46.15.58-7.58-14.68-4.66-12.26c-19.46 7.46-50.77 19.02-64.9 18.44-10.35-.42-15.68-15.68-17.44-28.7a71.55 71.55 0 0 1-.67-9.4c0-5.64.3-12.18 2.22-17.89.74-2.21 1.73-4.3 3.04-6.17a18.1 18.1 0 0 1 4.6-4.59c0 4-1.02 13.54 2.8 14.12 5.06.78 10.4-9.08 13.85-7.06 3.87 2.27-1.65 16.34-1.33 17.2.27.7.53 1.4.76 2.07a48.99 48.99 0 0 1 2.25 8.55C46.59 87.56 60 83.06 74.69 78.6Z",fill:"white"}),e.createElement("path",{d:"M181.1 60.56c4.57 8.67 6.75 17.37 7.25 22.89 1.06 12-8.18 18.86-19.2 18.86-9.74 0-18.36-1.64-24.81-3.1m36.77-38.65c-5.36-10.16-13.99-20.26-27-25.08l-.94 10.53s-5.46 4.8-.67 10.12c1.9 2.11 2.92 6.28 3.95 10.55m24.66-6.12c-6-.37-18.32.8-24.66 6.12m0 0c1.57 6.53 3.15 13.3 7.91 13.3 7.2 0-3.6-8.84-17.85-11.24-14.25-2.4-51.03 3.54-71.82 9.86-20.78 6.32-39.04 12.71-42.77 19.1-3.63 6.23 13.24 10.92 4.49-14.17m0 0c-.23-.67-.49-1.36-.76-2.08-.32-.85 5.2-14.92 1.33-17.19-3.45-2.02-8.8 7.84-13.85 7.06-3.82-.58-2.8-10.12-2.8-14.12a18.1 18.1 0 0 0-4.6 4.6M36.4 83.52c-7.27 1.58-21.92 8.1-25.27 11.73m0 0a71.55 71.55 0 0 1-.67-9.41c0-5.64.3-12.18 2.22-17.89m-1.55 27.3c1.76 13 7.09 28.27 17.45 28.7 14.12.57 45.43-10.99 64.89-18.45l4.66 12.26 7.58 14.68 46.15-.58c-2.09-13.48-6.89-30.48-7.53-32.67M15.73 61.8c-.98 3-1.08 5.5.19 7.8m-.2-7.8a24.08 24.08 0 0 0-3.03 6.16m0 0a5.43 5.43 0 0 0 1.25 4.22m130.4 27.02c-.9-3.08-3.12-9.95-4.76-12.76",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m156.89 15.66-2.04 27.96 2.57 28.1c-7.51-3.07-13.32-4.34-27.25-3.36-11.94.83-31.75 3.95-46.23 7.62-16.66 4.27-37.81 11.64-45.21 15.9-.77-4.64-2.92-10.15-2.92-10.15-.07-.7 2.63-8.32 2.73-13.06.08-3.08-.91-4.45-2.33-4.75a3.47 3.47 0 0 0-2.05.35c-.63.32-.86.48-1.38.84-1.34.98-2.38 2.02-3.95 3.34a17.14 17.14 0 0 1-3.04 2.17 4.6 4.6 0 0 1-2.89.63c-.63-.1-1.21-.47-1.71-1.58l-.07-.89c-.5-5.79-2.7-20.12-2.7-34.91 0-7.74 1.61-10.04 2.7-11.59l.13-.18c3.85-5.53 13.67-6.75 23.12-6.96 2.5-.14 5.2-.2 8.1-.17l.11.15H53.15l-.52.07 18.32 25.49-3.62 14.08 10.2 15.98-2.84-16.49 10-11.99-3.5-27.7s8.78-.5 19.47-1.77c10.69-1.28 18.47-1.9 29.42-1.83 1.64.01 3.4.1 5.23.22 9.64.65 18.55 2.56 21.46 4.4l.13.09h-.01Z",fill:"var(--semi-color-primary-light-default)"}),e.createElement("path",{d:"M143 27.91a1.38 1.38 0 0 1 1.77-.85c.5.18.98.41 1.44.71a1.38 1.38 0 0 1-1.53 2.31c-.26-.17-.53-.3-.82-.4a1.38 1.38 0 0 1-.85-1.77Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M140.65 28.12c.21.74-.21 1.5-.95 1.72-.36.1-.73.22-1.11.36a1.38 1.38 0 1 1-.95-2.6c.43-.16.87-.3 1.3-.43.74-.2 1.5.22 1.71.95Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M134.74 30.4c.37.67.14 1.51-.53 1.89l-1.07.62a1.38 1.38 0 1 1-1.41-2.38l1.12-.65a1.38 1.38 0 0 1 1.89.52Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M97.86 31.43h.76a1.38 1.38 0 1 1-.06 2.77h-.52a6.7 6.7 0 0 0-.57.1 1.38 1.38 0 0 1-.64-2.68c.33-.08.64-.14.94-.18l.09-.01Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M147.78 31.75c.73-.23 1.5.19 1.72.92.13.43.25.88.35 1.35a1.38 1.38 0 0 1-2.7.58c-.1-.4-.19-.78-.3-1.13-.22-.73.2-1.5.93-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M102.27 33.13c.19-.75.94-1.2 1.68-1.01.45.11.89.23 1.3.37a1.38 1.38 0 0 1-.84 2.63c-.36-.11-.73-.22-1.13-.32a1.38 1.38 0 0 1-1-1.67Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M129.3 33.68c.42.64.25 1.5-.4 1.92l-.52.34-.53.36a1.38 1.38 0 0 1-1.53-2.31l.32-.21.21-.14.3-.2.23-.15c.64-.42 1.5-.25 1.92.39Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M108.25 35.22c.36-.67 1.2-.92 1.88-.55a246.5 246.5 0 0 1 1.11.61 1.38 1.38 0 0 1-1.33 2.43l-.5-.28h-.01l-.6-.34a1.38 1.38 0 0 1-.55-1.87Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M92.83 35.77c.76-.01 1.4.6 1.4 1.36.01.16.03.34.07.55a1.38 1.38 0 1 1-2.7.58 5.62 5.62 0 0 1-.13-1.08c-.01-.76.6-1.4 1.36-1.4Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M124 37.2c.31.7 0 1.51-.7 1.82a6.07 6.07 0 0 1-1.44.45 1.38 1.38 0 1 1-.67-2.68l.58-.16c.1-.03.24-.07.42-.15.7-.3 1.51.02 1.82.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M113.9 38.14c.15-.75.89-1.22 1.63-1.06.35.07.72.13 1.1.16a1.38 1.38 0 0 1-.26 2.76c-.49-.05-.96-.12-1.41-.22a1.38 1.38 0 0 1-1.07-1.64Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M148.98 37.95c.76-.01 1.4.6 1.4 1.36a38.45 38.45 0 0 1 0 1.42 1.38 1.38 0 0 1-2.77-.08 24.28 24.28 0 0 0 0-1.3c0-.76.6-1.39 1.37-1.4Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M148.6 44.88c.75.16 1.22.9 1.06 1.65-.1.47-.22.94-.34 1.41a1.38 1.38 0 1 1-2.68-.7c.12-.43.22-.87.31-1.3.17-.75.9-1.22 1.65-1.06Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M146.69 51.6c.7.31 1 1.13.7 1.83-.2.44-.41.88-.63 1.31a1.38 1.38 0 0 1-2.48-1.24c.2-.4.4-.8.58-1.2.31-.7 1.13-1.01 1.83-.7Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M41.67 55.45c.07.77-.5 1.44-1.25 1.5-.43.04-.86.1-1.26.19a1.38 1.38 0 1 1-.54-2.72c.5-.1 1.02-.17 1.55-.22.76-.07 1.43.5 1.5 1.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M44.58 55.78c.22-.73 1-1.15 1.72-.93l.74.23a1.38 1.38 0 1 1-.9 2.62l-.62-.2a1.38 1.38 0 0 1-.94-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M91.9 56.9c.05.76-.52 1.42-1.29 1.47-.44.02-.89.06-1.32.11a1.38 1.38 0 0 1-.31-2.75c.48-.05.96-.1 1.45-.13.77-.05 1.42.53 1.47 1.3Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M94.72 56.95c.07-.76.74-1.33 1.5-1.26l1.43.14a1.38 1.38 0 0 1-.32 2.75c-.45-.05-.9-.1-1.35-.13a1.38 1.38 0 0 1-1.26-1.5Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M101.64 57.83c.16-.75.9-1.22 1.64-1.07l1.39.31a1.38 1.38 0 1 1-.62 2.7l-1.34-.3a1.38 1.38 0 0 1-1.07-1.64Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M34.85 57.26c.48.6.39 1.46-.2 1.94-.33.27-.63.55-.9.84a1.38 1.38 0 0 1-2.03-1.89c.36-.39.76-.75 1.18-1.1.6-.48 1.46-.39 1.95.2Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M85 57.9c.29.71-.06 1.51-.78 1.8a15.8 15.8 0 0 0-1.26.54 1.38 1.38 0 1 1-1.15-2.52 71.64 71.64 0 0 1 1.4-.6c.71-.28 1.52.07 1.8.78Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M143.4 57.76c.61.47.72 1.34.26 1.95-.3.39-.62.77-.94 1.14a1.38 1.38 0 0 1-2.09-1.81 24 24 0 0 0 .84-1.03c.47-.6 1.33-.71 1.94-.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M108.43 59.46c.22-.74.99-1.15 1.72-.93l1.35.41a1.38 1.38 0 1 1-.82 2.64l-1.32-.4a1.38 1.38 0 0 1-.93-1.72Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M115.08 61.58a1.38 1.38 0 0 1 1.77-.82l1.32.48a1.38 1.38 0 0 1-.97 2.6c-.43-.17-.87-.33-1.3-.48a1.38 1.38 0 0 1-.82-1.78Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M138.67 62.89c.42.64.25 1.5-.4 1.92-.41.27-.85.54-1.29.78a1.38 1.38 0 0 1-1.32-2.43c.37-.2.73-.43 1.1-.66.63-.42 1.49-.25 1.91.39Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M30.5 62.78c.77.07 1.33.74 1.26 1.5l-.03.59.01.75-1.6 1.4a1.38 1.38 0 0 1-1.16-1.32l-.02-.83c0-.28.02-.56.04-.84.07-.76.75-1.32 1.5-1.25Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M121.6 64.07c.3-.7 1.1-1.04 1.8-.75a146.8 146.8 0 0 1 1.26.52 1.38 1.38 0 1 1-.97 2.59 19.62 19.62 0 0 1-1.35-.55c-.7-.3-1.04-1.1-.74-1.81Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M72.11 64.94c.48.6.4 1.47-.2 1.95-.38.3-.74.62-1.09.92A1.38 1.38 0 1 1 69 65.73c.37-.33.76-.66 1.17-.99.59-.48 1.46-.39 1.94.2Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M132.4 65.92c.09.76-.46 1.44-1.22 1.53-.5.05-1.02.08-1.53.09a1.38 1.38 0 1 1-.02-2.77c.42 0 .84-.03 1.25-.07.76-.09 1.44.46 1.53 1.22Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M66.66 69.9c.57.52.6 1.4.09 1.96l-.73.8-.02.02-.16.18-.08.09a1.38 1.38 0 0 1-2.05-1.86l.25-.28.75-.82c.51-.56 1.39-.6 1.95-.09Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M61.6 75.28c.45.61.31 1.48-.3 1.93-.44.31-.88.61-1.36.89a1.38 1.38 0 1 1-1.4-2.4c.4-.22.77-.46 1.12-.72a1.38 1.38 0 0 1 1.94.3Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M37.67 75.97c.42.19.86.37 1.35.53a1.38 1.38 0 0 1-.89 2.62c-.56-.19-1.1-.4-1.6-.63l.72-2.63c.14.01.28.05.42.11Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M55.05 78.57c.12.75-.4 1.46-1.15 1.58-.5.08-1 .15-1.54.2a1.38 1.38 0 1 1-.28-2.75c.49-.05.95-.11 1.39-.18.75-.12 1.46.4 1.58 1.15Z",fill:"var(--semi-color-primary)"}),e.createElement("path",{d:"M43.4 78.87c.06-.76.73-1.33 1.49-1.27a38.43 38.43 0 0 0 1.5.1 1.38 1.38 0 1 1-.12 2.76 62.94 62.94 0 0 1-1.6-.1 1.38 1.38 0 0 1-1.27-1.49Z",fill:"var(--semi-color-primary)"}),e.createElement("g",{clipPath:"url(#clip_failure_96_39_65)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.9 46.87a13.45 13.45 0 0 1 9.37-16.53 13.46 13.46 0 0 1 16.52 9.39c2.64 9.56-4.76 29.27-5.14 29.9a.75.75 0 0 1-.99.27c-.64-.34-17.11-13.47-19.76-23.03Zm14.36 1.54a6.1 6.1 0 0 1-3.25-11.75 6.1 6.1 0 0 1 3.25 11.75Z",fill:"var(--semi-color-primary)"})),e.createElement("path",{d:"M102.31 100.69c-2.8 1.55-5.63 2.85-9.36 4.58l1.48 3.92c2.14-.96 6.16-6.03 7.88-8.5Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M121 63.04c8.85 2.1 12.43-6.5 13.12-8.77.68-2.27-5.6-11.86-8-11.2l-.42.12-.23.06c-3.1.82-11.15 2.94-12.35 8-1.3 5.46 2.4 10.49 7.88 11.79Z",fill:"#515151"}),e.createElement("path",{d:"M134.5 64.73c-.43.47-1.2.74-2.33.73a12.7 12.7 0 0 1-4.06-.86 31.25 31.25 0 0 1-9.94-6.22c-3.25-2.97-5.97-5.8-7.59-8.42-1.61-2.61-2.05-4.88-.98-6.84a3.7 3.7 0 0 1 2.11-1.86 4.53 4.53 0 0 1 2.9.15c2.16.76 4.57 2.83 6.48 6.02 3.4 5.63 6.89 8.23 9.7 10.33.49.35.95.7 1.38 1.03a7.29 7.29 0 0 1 2.61 3.48c.34 1.1.16 1.97-.28 2.46Z",fill:"white",stroke:"#515151"}),e.createElement("mask",{id:"mask_failure_130_526","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:98,y:44,width:36,height:27},e.createElement("path",{d:"M130.53 62.1c-.5-3.3-9.52-14.75-16.08-15.03l-12.68 4.52 6.47 14.16 17.25 3.07c1.84-1.14 5.43-4.07 5.04-6.72Z",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#mask_failure_130_526)"},e.createElement("path",{d:"M127.2 63.62a9.74 9.74 0 0 1-13.76.5 9.74 9.74 0 0 1-.32-13.77 9.74 9.74 0 0 1 13.77-.5 9.74 9.74 0 0 1 .32 13.77Z",fill:"white",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m116.79 47.35-.02.37c2.86.5 8.57 2.59 8.58 6.87 0 5.36-7.44 9.34-14.47 3.46-.34-.28-.66-.53-.95-.74a10.09 10.09 0 0 0 3.17 7.17 10.24 10.24 0 0 0 14.47-.52 10.24 10.24 0 0 0-.34-14.47 10.16 10.16 0 0 0-10.44-2.14Z",fill:"#515151"}),e.createElement("path",{d:"M119.34 55a.79.79 0 1 0-1.1-1.12.79.79 0 0 0 1.1 1.12Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.98 50.72c.21-.09.45.01.54.22a7.87 7.87 0 0 0 1.84 2.65.41.41 0 1 1-.55.62 8.67 8.67 0 0 1-2.05-2.95.41.41 0 0 1 .22-.54Z",fill:"#515151"}),e.createElement("path",{d:"M114.85 52.4a.79.79 0 1 0-1.1-1.1.79.79 0 0 0 1.1 1.1Z",fill:"#515151"}),e.createElement("mask",{id:"path-18-inside-1",fill:"white"},e.createElement("ellipse",{rx:2.97818,ry:2.97818,transform:"matrix(0.727696 0.6859 -0.685903 0.727693 128.435 60.0508)"})),e.createElement("ellipse",{rx:2.97818,ry:2.97818,transform:"matrix(0.727696 0.6859 -0.685903 0.727693 128.435 60.0508)",fill:"white"}),e.createElement("path",{d:"m128.42 60.04.01-.01a.03.03 0 0 1 .02 0l-4.12 4.37a5.98 5.98 0 0 0 8.45-.25l-4.36-4.11Zm.03 0v.02l-4.37-4.11a5.98 5.98 0 0 0 .25 8.45l4.12-4.37Zm0 .03h-.01a.03.03 0 0 1-.02 0l4.12-4.37a5.98 5.98 0 0 0-8.46.25l4.37 4.12Zm-.03 0v-.03l4.37 4.11a5.98 5.98 0 0 0-.25-8.45l-4.12 4.37Z",fill:"#515151",mask:"url(#path-18-inside-1)"})),e.createElement("path",{d:"M145.63 40.19c1.37-2.75 12.75 2.35 16.14 6.78 3.38 4.43 1.48 10.74-1.9 9.68-6.69-2.12-7.56-6.7-7.94-9.48-1.2-1.85-7.67-4.24-6.3-6.98Z",fill:"white",stroke:"#515151"}),e.createElement("path",{d:"m158.95 41.56 6.64 2.52 1.66 12.47-8.3 1.98-3.47-12.03 3.47-4.94Z",fill:"white"}),e.createElement("path",{d:"M167.3 151.94c5.19 1.66 23.35 35.57 19.05 35.57-13.86 0-34.5.53-71.42.53-15.63 0-17.9-5.16-11.79-22.08a353.23 353.23 0 0 1 6.14-15.76l32.5 1.26c-.43 1.53-.91 3.07-1.38 4.4a26.82 26.82 0 0 1 8.73-1.47c5.27 0 7.04 1.4 11.77 0 2.13-.62 4.8-2.97 6.4-2.45Z",fill:"white",className:""}),e.createElement("path",{d:"M140.4 155.87c.47-1.34.95-2.88 1.38-4.4l-32.5-1.27a353.23 353.23 0 0 0-6.14 15.76c-6.1 16.92-3.84 22.08 11.79 22.08 36.93 0 57.56-.53 71.42-.53 4.3 0-13.86-33.91-19.06-35.57-1.6-.52-4.26 1.83-6.4 2.45-4.72 1.4-6.5 0-11.76 0-3.08 0-6.06.55-8.72 1.48Zm0 0a26.67 26.67 0 0 1-4.44 8.38c-1.7 2.22-3.99 4.43-5.43 4.33-1.44-.1-1.42-3.18 0-5.66 1.97-3.44 6.45-5.87 9.88-7.05Z",stroke:"#1C1F23",className:""}),e.createElement("path",{d:"M149.25 131.7s3.36 19.46-12.34 21.04c-11.53 1.15-40.77-4.55-53.76-7.79 4.72 12.82 9.61 39.86 7 42.16-3.33 2.93-47.55 1.76-55.96 0-8.42-1.75 13.82-11.46 15.45-14.66 2.99-5.84-5.48-21.18-5.75-45.45-.27-24.27 18.18-24.86 34.47-21.64 13.02 2.57 41.63 18.33 52.56 26.86l18.33-.52Z",fill:"white",stroke:"#515151"}),e.createElement("path",{d:"M141.5 153.87c-3.11 2.55-27.72 5-35.58 3.53l2.75-6.8c20.23 2.85 28.08 3.34 33.46 1.16l-.63 2.11Z",fill:"#515151",className:"__web-inspector-hide-shortcut__"}),e.createElement("path",{d:"M141.5 153.87c-3.11 2.55-27.72 5-35.58 3.53l2.75-6.8c20.23 2.85 28.08 3.34 33.46 1.16l-.63 2.11Z",fill:"#515151"}),e.createElement("path",{d:"M126.02 142.7c-3.1-2.99-4.99-7.5-4.16-12.35",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M130.6 95.65c-9.03-10.98-18.97-19.74-25.5-24.56l1.63-2.22c6.7 4.95 16.81 13.86 26 25.02 9.18 11.16 17.54 24.67 20.59 38.83l-2.7.59c-2.91-13.56-10.97-26.67-20.02-37.66Z",fill:"#515151"}),e.createElement("path",{d:"m149.12 107.09-16.36 13.2 22.27 17.8 8.87-19.19c-.14-3.93-2.34-5.34-5.83-4.66l-3.12-2.5c.08-3.5-2.18-5.64-5.83-4.65Z",fill:"#E6E8EA"}),e.createElement("path",{d:"m148.24 128.62 9.45-14.34-2.91-2.33-10.94 13.07 4.4 3.6Z",stroke:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M143.67 127.98a6.93 6.93 0 1 1-10.82-8.65 6.93 6.93 0 0 1 10.82 8.65Zm12.28 9.82a6.93 6.93 0 1 1-10.82-8.66 6.93 6.93 0 0 1 10.82 8.66Z",fill:"#515151"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m133.43 123.46 9.21-1.8.32 1.61-9.2 1.81-.33-1.62Z",fill:"white"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m145.5 133.11 9.21-1.8.32 1.62-9.2 1.8-.33-1.62Z",fill:"white"}),e.createElement("defs",null,e.createElement("clipPath",{id:"clip_failure_96_39_65"},e.createElement("rect",{width:44.4004,height:44.4627,transform:"matrix(0.963965 -0.266028 0.266198 0.963918 18.4214 34.6221)",fill:"white"}))))}var N=_;const R=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],P=f("shield-alert",R);const b=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],T=f("wifi-off",b),O="https://bytedance.larkoffice.com/wiki/PeIawT4M4ia9R8kYyLMcjwHknOg",L=({errorMsg:c,errorState:l="unknown"})=>{const t=u(),o=l==="notLoggedIn"||l==="loginExpired",m=l==="noPermission",n=l==="networkProxy",y=o?"projectInfo.error.login.title":m?"projectInfo.error.permission.title":n?"projectInfo.error.network.title":"projectInfo.error.general.title",v=o?"projectInfo.error.login.desc":m?"projectInfo.error.permission.desc":n?"projectInfo.error.network.desc":"projectInfo.error.general.desc",E=o?["projectInfo.error.login.stepLogin","projectInfo.error.login.stepRestart","projectInfo.error.login.stepProxy"]:m?["projectInfo.error.permission.stepCheckAccount","projectInfo.error.permission.stepApply","projectInfo.error.permission.stepRestart"]:n?["projectInfo.error.network.stepCheck","projectInfo.error.network.stepProxy","projectInfo.error.network.stepRestart"]:["projectInfo.error.general.stepCheck","projectInfo.error.general.stepRetry"],p=o?[{label:"projectInfo.error.commandLogin",command:"ttmg login",hint:""},{label:"projectInfo.error.commandRestart",command:"ttmg dev",hint:""},{label:"projectInfo.error.commandProxy",command:"ttmg config set proxy http://127.0.0.1:7890",hint:"projectInfo.error.commandProxyHint"}]:n?[{label:"projectInfo.error.commandProxy",command:"ttmg config set proxy http://127.0.0.1:7890",hint:"projectInfo.error.commandProxyHint"},{label:"projectInfo.error.commandRestart",command:"ttmg dev",hint:""}]:[];return r.jsxs("div",{className:`error-display error-display-${l}`,children:[r.jsx(Z,{className:"error-display-banner",type:m||o||n?"warning":"danger",closeIcon:null,description:r.jsxs("div",{className:"error-display-banner-content",children:[r.jsx(i.Text,{strong:!0,children:a(y)}),r.jsx(i.Text,{children:a(v)})]})}),r.jsxs("div",{className:"error-display-panel",children:[r.jsxs("div",{className:"error-display-hero",children:[r.jsx("div",{className:"error-display-hero-illustration",children:m?r.jsx("div",{className:"error-display-permission-mark",children:r.jsx(P,{size:72,strokeWidth:1.8})}):n?r.jsx("div",{className:"error-display-network-mark",children:r.jsx(T,{size:72,strokeWidth:1.8})}):r.jsx(N,{})}),r.jsxs("div",{className:"error-display-hero-copy",children:[r.jsx(i.Title,{heading:4,children:a("projectInfo.error.guideTitle")}),r.jsx(i.Paragraph,{className:"error-display-main-text",children:c})]})]}),r.jsxs("div",{className:"error-display-guide-grid",children:[r.jsxs("section",{className:"error-display-guide-card",children:[r.jsx(i.Text,{strong:!0,children:a("projectInfo.error.stepTitle")}),r.jsx("div",{className:"error-display-step-list",children:E.map((s,j)=>r.jsxs("div",{className:"error-display-step-item",children:[r.jsx("span",{className:"error-display-step-index",children:j+1}),r.jsx(i.Text,{children:a(s)})]},s))}),p.length>0?r.jsx("div",{className:"error-display-command-list",children:p.map(s=>r.jsxs("div",{className:"error-display-command-item",children:[r.jsx(i.Text,{type:"tertiary",children:a(s.label)}),r.jsx("code",{children:s.command}),s.hint?r.jsx(i.Text,{type:"tertiary",className:"error-display-command-hint",children:a(s.hint)}):null]},s.command))}):null]}),r.jsxs("section",{className:"error-display-guide-card",children:[r.jsx(i.Text,{strong:!0,children:a("projectInfo.error.helpTitle")}),r.jsx(i.Paragraph,{className:"error-display-help-text",children:o?a("projectInfo.error.helpLoginDesc"):m?a("projectInfo.error.helpPermissionDesc"):n?a("projectInfo.error.helpNetworkDesc"):a("projectInfo.error.helpGeneralDesc")}),o||n?r.jsxs("div",{className:"error-display-actions",children:[o?r.jsx(x,{theme:"light",onClick:()=>t("/basic_debug_guide"),children:a("basicDebugGuide.entryAction")}):null,r.jsx(M,{href:O,children:a("projectInfo.error.openProxyDoc")})]}):null]})]})]})]})};export{L as A};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ag as v,r as m,h as w,u,k as x,g,i as t,j as e,z as b,p as f}from"./index-
|
|
1
|
+
import{ag as v,r as m,h as w,u,k as x,g,i as t,j as e,z as b,p as f}from"./index-BegU9LBT.js";/* empty css */function j(a){return m.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},a),m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Zm0 11c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5ZM15 2a2 2 0 0 0-2 2v5c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-5Zm1 12.5a1.5 1.5 0 0 1 3 0V16h1.5a1.5 1.5 0 0 1 0 3H19v1.5a1.5 1.5 0 0 1-3 0V19h-1.5a1.5 1.5 0 0 1 0-3H16v-1.5Z",fill:"currentColor"}))}const S=v(j,"customize"),N=()=>{const a=w(),{state:{user:i,gameDetail:o}}=u(),n=x(i),r=g({errorCode:o?.has_error?o.error_code:void 0,user:i}),c=r==="noPermission",l=r==="networkProxy",s=!n||c||l,p=n?c?t("wasmSplit.disabled.noPermission"):l?t("wasmSplit.disabled.networkProxy"):"":t("wasmSplit.disabled.notLoggedIn"),h=()=>{s||a("/wasm_split")},d=e.jsxs("div",{className:b("wasm-code-split","tt-wasm-entry","tt-header-chip",{"tt-wasm-entry-disabled":s}),onClick:h,"aria-disabled":s,role:"button",tabIndex:s?-1:0,children:[e.jsx("span",{className:"tt-wasm-entry-icon",children:e.jsx(S,{size:"default"})}),e.jsx("span",{className:"wasm-code-split-text",children:t("wasmSplit")})]});return s?e.jsx(f,{content:()=>e.jsx("div",{className:"wasm-code-split-disabled-tip",children:p}),children:d}):d};export{N as WasmCodeSplit};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as K,z as k,R as l,O as F,m as L,W as B,J as s,r as b,ae as z,c as X,j as O,i as w,a6 as A}from"./index-Bjn0ctEd.js";import{I as G,C as U,R as q}from"./col-VN3Ivd-x.js";const S={PREFIX:`${K}-steps`,ITEM:`${K}-steps-item`};var P;(function(t){t.small="large",t.default="extra-large"})(P||(P={}));const I=t=>{const{prefixCls:e,className:a,size:n,title:r,description:i,status:p,style:o,active:g,done:d,icon:m,stepNumber:v,onClick:$,onChange:f,onKeyDown:h}=t,u=()=>{let c,E;if("icon"in t)l.isValidElement(m)&&(c=m);else if("status"in t)switch(p){case"error":c=l.createElement(B,{size:P[n]});break;case"wait":c=l.createElement("span",{className:`${e}-number-icon`},v);break;case"process":c=l.createElement("span",{className:`${e}-number-icon`},v),E=!0;break;case"finish":c=l.createElement(L,{size:P[n]});break;case"warning":c=l.createElement(F,{size:P[n]});break;default:c=null;break}const W=k({[`${e}-icon`]:!0,[`${e}-custom-icon`]:"icon"in t,[`${e}-icon-process`]:E});return c?l.createElement("span",{className:W},c):null},C=k(e,`${e}-${p}`,{[`${e}-active`]:g,[`${e}-done`]:d,[`${e}-hover`]:f||t.onClick,[`${e}-clickable`]:f||$,[`${e}-${p}-hover`]:f||t.onClick},a),y=c=>{$?.(c),f?.()},N=c=>{c.key==="Enter"&&(h?.(c),f?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],tabIndex:0,"aria-current":"step",className:C,style:o,onClick:c=>y(c),onKeyDown:N},l.createElement("div",{className:`${e}-container`},l.createElement("div",{className:`${e}-left`},u()),l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`},l.createElement("div",{className:`${e}-title-text`},r)),i&&l.createElement("div",{className:`${e}-description`},i))))};I.propTypes={prefixCls:s.string,description:s.node,icon:s.node,status:s.oneOf(["wait","process","finish","error","warning"]),title:s.node,className:s.string,style:s.object,onClick:s.func,active:s.bool,done:s.bool};I.defaultProps={prefixCls:S.ITEM,active:!1,done:!1,status:"wait",className:""};const _=t=>{const{prefixCls:e,className:a,title:n,description:r,status:i,style:p,onClick:o,icon:g,onChange:d,stepNumber:m,onKeyDown:v}=t,$=()=>{let u,C;if("icon"in t)u=g;else if("status"in t)switch(i){case"error":u=l.createElement(B,{size:"extra-large"});break;case"wait":u=m;break;case"process":u=m,C=!0;break;case"finish":u=l.createElement(L,{size:"extra-large"});break;case"warning":u=l.createElement(F,{size:"extra-large"});break;default:u=null;break}const y=k({[`${e}-left`]:!0,[`${e}-icon`]:"icon"in t,[`${e}-plain`]:!("icon"in t),[`${e}-icon-process`]:C,[`${e}-hover`]:d||o});return u?l.createElement("div",{className:y},u):null},f=u=>{o?.(u),d?.()},h=u=>{u.key==="Enter"&&(v?.(u),d?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],"aria-current":"step",tabIndex:0,className:k({[e]:!0,[`${e}-${i}`]:!!i,[`${e}-${i}-hover`]:!!i&&(d||o),[`${e}-${i}-active`]:!!i&&(d||o),[`${e}-clickable`]:d||o},a),style:p,onClick:u=>{f(u)},onKeyDown:h},$(),l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`,title:typeof n=="string"?n:null},l.createElement("span",{className:`${e}-title-text`},n)),l.createElement("div",{className:`${e}-description`,title:typeof r=="string"?r:null},r)))};_.propTypes={prefixCls:s.string,description:s.node,icon:s.node,status:s.oneOf(["wait","process","finish","error","warning"]),title:s.node,className:s.string,style:s.object,onClick:s.func};_.defaultProps={prefixCls:S.ITEM,status:"wait",className:""};const T=t=>{const{prefixCls:e,className:a,title:n,style:r,active:i,index:p,total:o,onClick:g,onKeyDown:d,onChange:m}=t,v=k(e,{[`${e}-active`]:i},a),$=h=>{g?.(h),m?.()},f=h=>{h.key==="Enter"&&(d?.(h),m?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],"aria-current":"step",tabIndex:0,className:v,style:r,onClick:h=>$(h),onKeyDown:f},l.createElement("div",{className:`${e}-container`},l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`},n)),p!==o-1&&l.createElement("div",{className:`${e}-icon`},l.createElement(G,{size:"small"}))))};T.propTypes={prefixCls:s.string,title:s.node,className:s.string,style:s.object,onClick:s.func,active:s.bool};T.defaultProps={prefixCls:S.ITEM,active:!1,className:""};const V=l.createContext(null),H=t=>{const{type:e}=b.useContext(V);return(()=>{switch(e){case"fill":return l.createElement(_,Object.assign({},t));case"basic":return l.createElement(I,Object.assign({},t));case"nav":return l.createElement(T,Object.assign({},t));default:return null}})()};var J=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const R=t=>{const{current:e,status:a,children:n,prefixCls:r,initial:i,direction:p,className:o,style:g,onChange:d}=t,m=J(t,["current","status","children","prefixCls","initial","direction","className","style","onChange"]),v=b.useMemo(()=>{const f=b.Children.toArray(n).filter(C=>b.isValidElement(C)),h=p==="vertical"?null:{width:`${100/f.length}%`};return b.Children.map(f,(C,y)=>{if(!C)return null;const N=i+y,c=Object.assign({stepNumber:`${N+1}`,direction:p},C.props);return a==="error"&&y===e-1&&(c.className=`${r}-next-error`),C.props.status||(N===e?c.status=a:N<e?c.status="finish":c.status="wait"),c.onChange=d?()=>{y!==e&&d(y+i)}:void 0,l.createElement(U,{style:h},b.cloneElement(C,Object.assign({},c)))})},[n,i,r,p,a,e,d]),$=k(o,{[r]:!0,[`${r}-${p}`]:!0});return l.createElement("div",Object.assign({className:$,style:g,"aria-label":t["aria-label"]},z(m)),l.createElement(q,{type:"flex",justify:"start"},v))};R.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,direction:s.oneOf(["horizontal","vertical"]),status:s.oneOf(["wait","process","finish","error","warning"])};R.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",initial:0,status:"process"};var Q=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const D=t=>{const{size:e,current:a,status:n,children:r,prefixCls:i,initial:p,direction:o,className:g,style:d,hasLine:m,onChange:v}=t,$=Q(t,["size","current","status","children","prefixCls","initial","direction","className","style","hasLine","onChange"]),f=b.useMemo(()=>{const u=b.Children.toArray(r).filter(y=>b.isValidElement(y));return b.Children.map(u,(y,N)=>{if(!y)return null;const c=p+N,E=Object.assign({stepNumber:`${c+1}`,size:e},y.props);return n==="error"&&N===a-1&&(E.className=`${i}-next-error`),y.props.status||(c===a?E.status=n:c<a?E.status="finish":E.status="wait"),E.active=c===a,E.done=c<a,E.onChange=v?()=>{N!==a&&v(N+p)}:void 0,b.cloneElement(y,Object.assign({},E))})},[r,p,i,o,n,a,e,v]),h=k(g,{[`${i}-basic`]:!0,[`${i}-${o}`]:!0,[`${i}-${e}`]:e!=="default",[`${i}-hasline`]:m});return l.createElement("div",Object.assign({"aria-label":t["aria-label"],className:h,style:d},z($)),f)};D.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,direction:s.oneOf(["horizontal","vertical"]),status:s.oneOf(["wait","process","finish","error","warning"]),hasLine:s.bool};D.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",size:"",initial:0,hasLine:!0,status:"process"};var Y=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const M=t=>{const{size:e,current:a,initial:n,children:r,prefixCls:i,className:p,style:o,onChange:g}=t,d=Y(t,["size","current","initial","children","prefixCls","className","style","onChange"]),m=b.useMemo(()=>{const $=b.Children.toArray(r).filter(u=>b.isValidElement(u)),f=$.length;return b.Children.map($,(u,C)=>{if(!u)return null;const y=Object.assign({index:C,total:f},u.props);return y.active=C===a,y.onChange=g?()=>{C!==a&&g(C+n)}:void 0,b.cloneElement(u,Object.assign({},y))})},[r,i,a,e,n,g]),v=k(p,{[`${i}-nav`]:!0,[`${i}-${e}`]:e!=="default"});return l.createElement("div",Object.assign({"aria-label":t["aria-label"],className:v,style:o},z(d)),m)};M.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,size:s.oneOf(["small","default"])};M.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",size:"default",initial:0,status:"process"};var Z=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};class j extends b.Component{renderComponent(){const e=this.props,{type:a}=e,n=Z(e,["type"]);switch(a){case"fill":return l.createElement(R,Object.assign({},n));case"basic":return l.createElement(D,Object.assign({},n));case"nav":return l.createElement(M,Object.assign({},n));default:return null}}render(){const{type:e}=this.props;return l.createElement(V.Provider,{value:{type:e}},this.renderComponent())}}j.Step=H;j.propTypes={onChange:s.func,type:s.oneOf(["fill","basic","nav"]),size:s.oneOf(["small","default"])};j.defaultProps={type:"fill",size:"default"};const ee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],se=X("circle-alert",ee);const te=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ae=X("circle-check",te),x={prepare:{number:0,title:w("splitPrepare"),description:w("splitPrepare.desc")},collect:{number:1,title:w("splitCollect"),description:w("splitCollect.desc")},split:{number:2,title:w("splitCode"),description:w("splitCode.desc")},rollback:{number:3,title:w("rollback"),description:""}},le=({stage:t})=>O.jsxs(j,{type:"basic",current:x[t].number,className:"tt-wasm-steps",children:[O.jsx(j.Step,{title:x.prepare.title,description:x.prepare.description}),O.jsx(j.Step,{title:x.collect.title,description:x.collect.description}),O.jsx(j.Step,{title:x.split.title,description:x.split.description})]}),ie=()=>{const[t,e]=b.useState({kind:"idle"}),a=b.useRef(null);if(b.useEffect(()=>{const o=()=>{a.current!==null&&(window.clearTimeout(a.current),a.current=null)},g=({status:d,msg:m,progress:v})=>{switch(d){case"start":o(),e({kind:"uploading",progress:0});break;case"process":o(),e({kind:"uploading",progress:Math.max(0,Math.min(1,v??0))});break;case"success":o(),e({kind:"success"}),a.current=window.setTimeout(()=>{e({kind:"idle"}),a.current=null},2500);break;case"restart":o(),e({kind:"restart"});break;case"error":o(),e({kind:"error",msg:m});break}};return A.on("uploadGame",g),()=>{A.off("uploadGame",g),o()}},[]),t.kind==="idle")return null;let n="",r="",i="0%",p="uploading";switch(t.kind){case"uploading":{const o=Math.round(t.progress*100);n=w("uploadStart"),r=`${o}%`,i=`${o}%`,p="uploading";break}case"success":n=w("uploadSuccess"),r="100%",i="100%",p="success";break;case"restart":n=w("uploadStart"),r="",i="0%",p="uploading";break;case"error":n=w("uploadError"),t.msg&&(n=`${n}: ${t.msg}`),r="",i="100%",p="error";break}return O.jsxs("div",{className:`tt-wasm-upload-progress tt-wasm-upload-progress--${p}`,role:"status","aria-live":"polite",title:n,children:[O.jsxs("div",{className:"tt-wasm-upload-progress-meta",children:[O.jsx("span",{className:"tt-wasm-upload-progress-label",children:n}),r&&O.jsx("span",{className:"tt-wasm-upload-progress-percent",children:r})]}),O.jsx("div",{className:"tt-wasm-upload-progress-track",children:O.jsx("div",{className:"tt-wasm-upload-progress-fill",style:{width:i}})})]})};export{ae as C,ie as U,le as W,se as a};
|
|
1
|
+
import{t as K,z as k,R as l,O as F,m as L,W as B,J as s,r as b,ae as z,c as X,j as O,i as w,a6 as A}from"./index-BegU9LBT.js";import{I as G,C as U,R as q}from"./col-w9Q-2mgM.js";const S={PREFIX:`${K}-steps`,ITEM:`${K}-steps-item`};var P;(function(t){t.small="large",t.default="extra-large"})(P||(P={}));const I=t=>{const{prefixCls:e,className:a,size:n,title:r,description:i,status:p,style:o,active:g,done:d,icon:m,stepNumber:v,onClick:$,onChange:f,onKeyDown:h}=t,u=()=>{let c,E;if("icon"in t)l.isValidElement(m)&&(c=m);else if("status"in t)switch(p){case"error":c=l.createElement(B,{size:P[n]});break;case"wait":c=l.createElement("span",{className:`${e}-number-icon`},v);break;case"process":c=l.createElement("span",{className:`${e}-number-icon`},v),E=!0;break;case"finish":c=l.createElement(L,{size:P[n]});break;case"warning":c=l.createElement(F,{size:P[n]});break;default:c=null;break}const W=k({[`${e}-icon`]:!0,[`${e}-custom-icon`]:"icon"in t,[`${e}-icon-process`]:E});return c?l.createElement("span",{className:W},c):null},C=k(e,`${e}-${p}`,{[`${e}-active`]:g,[`${e}-done`]:d,[`${e}-hover`]:f||t.onClick,[`${e}-clickable`]:f||$,[`${e}-${p}-hover`]:f||t.onClick},a),y=c=>{$?.(c),f?.()},N=c=>{c.key==="Enter"&&(h?.(c),f?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],tabIndex:0,"aria-current":"step",className:C,style:o,onClick:c=>y(c),onKeyDown:N},l.createElement("div",{className:`${e}-container`},l.createElement("div",{className:`${e}-left`},u()),l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`},l.createElement("div",{className:`${e}-title-text`},r)),i&&l.createElement("div",{className:`${e}-description`},i))))};I.propTypes={prefixCls:s.string,description:s.node,icon:s.node,status:s.oneOf(["wait","process","finish","error","warning"]),title:s.node,className:s.string,style:s.object,onClick:s.func,active:s.bool,done:s.bool};I.defaultProps={prefixCls:S.ITEM,active:!1,done:!1,status:"wait",className:""};const _=t=>{const{prefixCls:e,className:a,title:n,description:r,status:i,style:p,onClick:o,icon:g,onChange:d,stepNumber:m,onKeyDown:v}=t,$=()=>{let u,C;if("icon"in t)u=g;else if("status"in t)switch(i){case"error":u=l.createElement(B,{size:"extra-large"});break;case"wait":u=m;break;case"process":u=m,C=!0;break;case"finish":u=l.createElement(L,{size:"extra-large"});break;case"warning":u=l.createElement(F,{size:"extra-large"});break;default:u=null;break}const y=k({[`${e}-left`]:!0,[`${e}-icon`]:"icon"in t,[`${e}-plain`]:!("icon"in t),[`${e}-icon-process`]:C,[`${e}-hover`]:d||o});return u?l.createElement("div",{className:y},u):null},f=u=>{o?.(u),d?.()},h=u=>{u.key==="Enter"&&(v?.(u),d?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],"aria-current":"step",tabIndex:0,className:k({[e]:!0,[`${e}-${i}`]:!!i,[`${e}-${i}-hover`]:!!i&&(d||o),[`${e}-${i}-active`]:!!i&&(d||o),[`${e}-clickable`]:d||o},a),style:p,onClick:u=>{f(u)},onKeyDown:h},$(),l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`,title:typeof n=="string"?n:null},l.createElement("span",{className:`${e}-title-text`},n)),l.createElement("div",{className:`${e}-description`,title:typeof r=="string"?r:null},r)))};_.propTypes={prefixCls:s.string,description:s.node,icon:s.node,status:s.oneOf(["wait","process","finish","error","warning"]),title:s.node,className:s.string,style:s.object,onClick:s.func};_.defaultProps={prefixCls:S.ITEM,status:"wait",className:""};const T=t=>{const{prefixCls:e,className:a,title:n,style:r,active:i,index:p,total:o,onClick:g,onKeyDown:d,onChange:m}=t,v=k(e,{[`${e}-active`]:i},a),$=h=>{g?.(h),m?.()},f=h=>{h.key==="Enter"&&(d?.(h),m?.())};return l.createElement("div",{role:t.role,"aria-label":t["aria-label"],"aria-current":"step",tabIndex:0,className:v,style:r,onClick:h=>$(h),onKeyDown:f},l.createElement("div",{className:`${e}-container`},l.createElement("div",{className:`${e}-content`},l.createElement("div",{className:`${e}-title`},n)),p!==o-1&&l.createElement("div",{className:`${e}-icon`},l.createElement(G,{size:"small"}))))};T.propTypes={prefixCls:s.string,title:s.node,className:s.string,style:s.object,onClick:s.func,active:s.bool};T.defaultProps={prefixCls:S.ITEM,active:!1,className:""};const V=l.createContext(null),H=t=>{const{type:e}=b.useContext(V);return(()=>{switch(e){case"fill":return l.createElement(_,Object.assign({},t));case"basic":return l.createElement(I,Object.assign({},t));case"nav":return l.createElement(T,Object.assign({},t));default:return null}})()};var J=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const R=t=>{const{current:e,status:a,children:n,prefixCls:r,initial:i,direction:p,className:o,style:g,onChange:d}=t,m=J(t,["current","status","children","prefixCls","initial","direction","className","style","onChange"]),v=b.useMemo(()=>{const f=b.Children.toArray(n).filter(C=>b.isValidElement(C)),h=p==="vertical"?null:{width:`${100/f.length}%`};return b.Children.map(f,(C,y)=>{if(!C)return null;const N=i+y,c=Object.assign({stepNumber:`${N+1}`,direction:p},C.props);return a==="error"&&y===e-1&&(c.className=`${r}-next-error`),C.props.status||(N===e?c.status=a:N<e?c.status="finish":c.status="wait"),c.onChange=d?()=>{y!==e&&d(y+i)}:void 0,l.createElement(U,{style:h},b.cloneElement(C,Object.assign({},c)))})},[n,i,r,p,a,e,d]),$=k(o,{[r]:!0,[`${r}-${p}`]:!0});return l.createElement("div",Object.assign({className:$,style:g,"aria-label":t["aria-label"]},z(m)),l.createElement(q,{type:"flex",justify:"start"},v))};R.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,direction:s.oneOf(["horizontal","vertical"]),status:s.oneOf(["wait","process","finish","error","warning"])};R.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",initial:0,status:"process"};var Q=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const D=t=>{const{size:e,current:a,status:n,children:r,prefixCls:i,initial:p,direction:o,className:g,style:d,hasLine:m,onChange:v}=t,$=Q(t,["size","current","status","children","prefixCls","initial","direction","className","style","hasLine","onChange"]),f=b.useMemo(()=>{const u=b.Children.toArray(r).filter(y=>b.isValidElement(y));return b.Children.map(u,(y,N)=>{if(!y)return null;const c=p+N,E=Object.assign({stepNumber:`${c+1}`,size:e},y.props);return n==="error"&&N===a-1&&(E.className=`${i}-next-error`),y.props.status||(c===a?E.status=n:c<a?E.status="finish":E.status="wait"),E.active=c===a,E.done=c<a,E.onChange=v?()=>{N!==a&&v(N+p)}:void 0,b.cloneElement(y,Object.assign({},E))})},[r,p,i,o,n,a,e,v]),h=k(g,{[`${i}-basic`]:!0,[`${i}-${o}`]:!0,[`${i}-${e}`]:e!=="default",[`${i}-hasline`]:m});return l.createElement("div",Object.assign({"aria-label":t["aria-label"],className:h,style:d},z($)),f)};D.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,direction:s.oneOf(["horizontal","vertical"]),status:s.oneOf(["wait","process","finish","error","warning"]),hasLine:s.bool};D.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",size:"",initial:0,hasLine:!0,status:"process"};var Y=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};const M=t=>{const{size:e,current:a,initial:n,children:r,prefixCls:i,className:p,style:o,onChange:g}=t,d=Y(t,["size","current","initial","children","prefixCls","className","style","onChange"]),m=b.useMemo(()=>{const $=b.Children.toArray(r).filter(u=>b.isValidElement(u)),f=$.length;return b.Children.map($,(u,C)=>{if(!u)return null;const y=Object.assign({index:C,total:f},u.props);return y.active=C===a,y.onChange=g?()=>{C!==a&&g(C+n)}:void 0,b.cloneElement(u,Object.assign({},y))})},[r,i,a,e,n,g]),v=k(p,{[`${i}-nav`]:!0,[`${i}-${e}`]:e!=="default"});return l.createElement("div",Object.assign({"aria-label":t["aria-label"],className:v,style:o},z(d)),m)};M.propTypes={prefixCls:s.string,className:s.string,style:s.object,current:s.number,initial:s.number,size:s.oneOf(["small","default"])};M.defaultProps={prefixCls:S.PREFIX,current:0,direction:"horizontal",size:"default",initial:0,status:"process"};var Z=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(a[n[r]]=t[n[r]]);return a};class j extends b.Component{renderComponent(){const e=this.props,{type:a}=e,n=Z(e,["type"]);switch(a){case"fill":return l.createElement(R,Object.assign({},n));case"basic":return l.createElement(D,Object.assign({},n));case"nav":return l.createElement(M,Object.assign({},n));default:return null}}render(){const{type:e}=this.props;return l.createElement(V.Provider,{value:{type:e}},this.renderComponent())}}j.Step=H;j.propTypes={onChange:s.func,type:s.oneOf(["fill","basic","nav"]),size:s.oneOf(["small","default"])};j.defaultProps={type:"fill",size:"default"};const ee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],se=X("circle-alert",ee);const te=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ae=X("circle-check",te),x={prepare:{number:0,title:w("splitPrepare"),description:w("splitPrepare.desc")},collect:{number:1,title:w("splitCollect"),description:w("splitCollect.desc")},split:{number:2,title:w("splitCode"),description:w("splitCode.desc")},rollback:{number:3,title:w("rollback"),description:""}},le=({stage:t})=>O.jsxs(j,{type:"basic",current:x[t].number,className:"tt-wasm-steps",children:[O.jsx(j.Step,{title:x.prepare.title,description:x.prepare.description}),O.jsx(j.Step,{title:x.collect.title,description:x.collect.description}),O.jsx(j.Step,{title:x.split.title,description:x.split.description})]}),ie=()=>{const[t,e]=b.useState({kind:"idle"}),a=b.useRef(null);if(b.useEffect(()=>{const o=()=>{a.current!==null&&(window.clearTimeout(a.current),a.current=null)},g=({status:d,msg:m,progress:v})=>{switch(d){case"start":o(),e({kind:"uploading",progress:0});break;case"process":o(),e({kind:"uploading",progress:Math.max(0,Math.min(1,v??0))});break;case"success":o(),e({kind:"success"}),a.current=window.setTimeout(()=>{e({kind:"idle"}),a.current=null},2500);break;case"restart":o(),e({kind:"restart"});break;case"error":o(),e({kind:"error",msg:m});break}};return A.on("uploadGame",g),()=>{A.off("uploadGame",g),o()}},[]),t.kind==="idle")return null;let n="",r="",i="0%",p="uploading";switch(t.kind){case"uploading":{const o=Math.round(t.progress*100);n=w("uploadStart"),r=`${o}%`,i=`${o}%`,p="uploading";break}case"success":n=w("uploadSuccess"),r="100%",i="100%",p="success";break;case"restart":n=w("uploadStart"),r="",i="0%",p="uploading";break;case"error":n=w("uploadError"),t.msg&&(n=`${n}: ${t.msg}`),r="",i="100%",p="error";break}return O.jsxs("div",{className:`tt-wasm-upload-progress tt-wasm-upload-progress--${p}`,role:"status","aria-live":"polite",title:n,children:[O.jsxs("div",{className:"tt-wasm-upload-progress-meta",children:[O.jsx("span",{className:"tt-wasm-upload-progress-label",children:n}),r&&O.jsx("span",{className:"tt-wasm-upload-progress-percent",children:r})]}),O.jsx("div",{className:"tt-wasm-upload-progress-track",children:O.jsx("div",{className:"tt-wasm-upload-progress-fill",style:{width:i}})})]})};export{ae as C,ie as U,le as W,se as a};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as a,j as e,B as c,i as o,C as r,Z as i}from"./index-
|
|
1
|
+
import{h as t,r as a,j as e,B as c,i as o,C as r,Z as i}from"./index-BegU9LBT.js";const d=()=>{const n=t();return a.useEffect(()=>{const s=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=s}},[]),e.jsxs("div",{className:"manual-connect-container",children:[e.jsx("div",{className:"manual-connect-back",children:e.jsx(c,{className:"devtool-page-back",theme:"borderless",onClick:()=>n("/network_diagnostics"),children:o("back")})}),e.jsx(r,{title:o("netDiagManualBindEntry"),children:e.jsx(i,{onClose:()=>n("/network_diagnostics"),onSuccess:()=>n("/network_diagnostics")})})]})};export{d as ManualConnect};
|