diff --git a/.output/nitro.json b/.output/nitro.json index 4e2fd990446bf183f9dffc63df67dc2d68ad5b6e..aea7e8a5daf450228c7d899fa44861795b993c66 100644 --- a/.output/nitro.json +++ b/.output/nitro.json @@ -1,5 +1,5 @@ { - "date": "2025-03-03T15:28:03.334Z", + "date": "2025-03-03T16:13:41.796Z", "preset": "node-server", "framework": { "name": "nitro", diff --git a/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js new file mode 100644 index 0000000000000000000000000000000000000000..bc074b0faf0935b29b61a34c80c1119c3064691c --- /dev/null +++ b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js @@ -0,0 +1,7409 @@ +var e,t,n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_,T,D,A,E,k,S,C,U,F,M,R,I,O,N,P,L,W,B,j,z,H,V,G,X,q,Y,K,Z,J,Q,ee,te,ne,ie,re,ae,se,oe,ce,le,he,de,ue,fe,pe,ge,me,be,ve,ye,we,xe,_e,Te,De,Ae,Ee,ke,Se,Ce,Ue,Fe,Me,Re,Ie,Oe,Ne,Pe,Le,We,Be,je,ze,He,Ve,Ge,Xe,$e,qe,Ye,Ke,Ze,Je,Qe,et,tt,nt,it,rt,at,st,ot,ct,lt,ht,dt,ut,ft,pt,gt,mt,bt,vt,yt,wt,xt,_t,Tt,Dt,At,Et,kt,St,Ct,Ut,Ft,Mt,Rt,It,Ot,Nt,Pt,Lt,Wt,Bt,jt,zt,Ht,Vt,Gt,Xt,$t,qt,Yt,Kt,Zt,Jt,Qt,en,tn,nn,rn,an,sn,on,cn,ln,hn,dn,un,fn,pn,gn,mn,bn,vn,yn,wn,xn,_n,Tn,Dn,An,En,kn,Sn,Cn,Un,Fn,Mn,Rn,In,On,Nn,Pn,Ln,Wn,Bn,jn,zn,Hn,Vn,Gn,Xn,$n,qn,Yn,Kn,Zn,Jn,Qn,ei,ti,ni,ii,ri,ai,si,oi,ci,li,hi,di,ui,fi,pi,gi,mi,bi,vi,yi,wi,xi,_i,Ti,Di,Ai,Ei,ki,Si,Ci,Ui,Fi,Mi,Ri,Ii,Oi,Ni,Pi,Li,Wi,Bi,ji,zi,Hi,Vi,Gi,Xi,$i,qi,Yi,Ki,Zi,Ji,Qi,er,tr,nr,ir,rr,ar,sr,or,cr,lr,hr,dr,ur,fr,pr,gr,mr,br,vr,yr,wr,xr,_r,Tr,Dr,Ar,Er,kr,Sr,Cr,Ur,Fr,Mr,Rr,Ir,Or,Nr,Pr,Lr,Wr,Br,jr,zr,Hr,Vr,Gr,Xr,$r,qr,Yr,Kr,Zr,Jr,Qr,ea,ta,na,ia,ra,aa,sa,oa,ca,la,ha,da,ua,fa,pa,ga,ma,ba,va,ya,wa,xa,_a,Ta,Da,Aa,Ea,ka,Sa,Ca,Ua,Fa,Ma,Ra,Ia,Oa,Na,Pa,La,Wa,Ba,ja,za,Ha,Va,Ga,Xa,$a,qa,Ya,Ka,Za,Ja,Qa,es,ts,ns,is,rs,as,ss,os,cs,ls,hs,ds,us,fs,ps,gs,ms,bs,vs,ys,ws,xs,_s,Ts,Ds,As,Es,ks,Ss,Cs,Us,Fs,Ms,Rs,Is,Os,Ns,Ps,Ls,Ws,Bs,js,zs,Hs,Vs,Gs,Xs,$s,qs,Ys,Ks,Zs,Js,Qs,eo,to,no,io,ro,ao,so,oo,co,lo,ho,uo,fo,po,go,mo,bo,vo,yo,wo,xo,_o,To,Do,Ao,Eo,ko,So,Co,Uo,Fo,Mo,Ro,Io,Oo,No,Po,Lo,Wo,Bo,jo,zo,Ho,Vo,Go,Xo,$o,qo,Yo,Ko,Zo,Jo,Qo,ec,tc,nc,ic,rc,ac,sc,oc,cc,lc,hc,dc,uc,fc,pc,gc,mc,bc,vc,yc,wc,xc,_c,Tc,Dc,Ac,Ec,kc,Sc,Cc,Uc,Fc,Mc,Rc,Ic,Oc,Nc,Pc,Lc,Wc,Bc,jc,zc,Hc,Vc,Gc,Xc,$c,qc,Yc,Kc,Zc,Jc,Qc,el,tl,nl,il,rl,al,sl,ol,cl,ll,hl,dl,ul,fl,pl,gl,ml,bl,vl,yl,wl,xl,_l,Tl,Dl=Object.defineProperty,Al=e=>{throw TypeError(e)},El=(e,t,n)=>((e,t,n)=>t in e?Dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),kl=(e,t,n)=>t.has(e)||Al("Cannot "+n),Sl=(e,t,n)=>(kl(e,t,"read from private field"),n?n.call(e):t.get(e)),Cl=(e,t,n)=>t.has(e)?Al("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ul=(e,t,n,i)=>(kl(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Fl=(e,t,n)=>(kl(e,t,"access private method"),n),Ml=(e,t,n,i)=>({set _(i){Ul(e,t,i,n)},get _(){return Sl(e,t,i)}});import{d as Rl,b as Il,H as Ol,I as Nl,J as Pl,aw as Ll,w as Wl,j as Bl,c as jl,p as zl,o as Hl,q as Vl,F as Gl,y as Xl,f as $l,s as ql,e as Yl,cp as Kl,t as Zl,B as Jl,aa as Ql,x as eh,a5 as th,cq as nh,c8 as ih,E as rh,n as ah,k as sh,m as oh,a1 as ch,ah as lh,D as hh,a8 as dh}from"./main-B1VD2nmz.js";import{I as uh,u as fh,U as ph}from"./index-B2mXgHAg.js";import{D as gh}from"./index-BedzsCE5.js";import{T as mh}from"./index-DUUaDU4G.js";function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vh(e){for(var t=1;te.size)),{className:r,style:a}=Ol(i),s=Il((()=>["t-icon","t-icon-send",r.value])),o=Il((()=>vh(vh({},a.value),n.style))),c=Il((()=>({class:s.value,style:o.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>Nl(yh,c.value)}});function xh(){const e=window.innerWidth<768,t=navigator.userAgent.toLowerCase(),n=["android","webos","iphone","ipad","ipod","blackberry","windows phone"].some((e=>t.includes(e))),i="ontouchstart"in window||navigator.maxTouchPoints>0,r=void 0!==window.screen.orientation;return e&&(n||i||r)}const _h={key:0,class:"flex gap-2 flex-wrap"},Th=["onClick"],Dh={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Ah={class:"flex gap-2"},Eh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},kh=["onClick"],Sh={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Ch={class:"flex gap-2"},Uh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Fh={class:"whitespace-pre-wrap break-words"},Mh=Rl({__name:"FileList",props:{files:{type:Array},showCloseButton:{type:Boolean,default:!0}},setup(e){const t=e,n=Ll([]);Wl((()=>t.files.length),(()=>{n.length=t.files.length,n.fill(!1)}),{immediate:!0});const i=e=>{t.files.splice(e,1)},r=Bl(!1),a=Bl("");function s(e){if(0===e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["B","KB","MB","GB"][t]}return(t,o)=>{const c=Kl,l=Jl,h=uh,d=gh;return e.files.length>0?(Hl(),jl("div",_h,[(Hl(!0),jl(Gl,null,Xl(e.files,((t,o)=>(Hl(),jl(Gl,null,[t.type.startsWith("image")?(Hl(),$l(h,{key:t.id,visible:n[o],images:[t.content||t.url],"close-on-overlay":"",onClose:e=>(e=>{n[e]=!1})(o)},{trigger:ql((()=>[Yl("div",{class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{n[e]=!0})(o)},[Vl(c,{src:t.content||t.url,style:{width:"40px",height:"40px"}},null,8,["src"]),Yl("div",null,[Yl("div",Dh,Zl(t.name),1),Yl("div",Ah,[Yl("span",Eh,Zl(t.type),1),Yl("span",null,Zl(s(t.size)),1)])]),e.showCloseButton?(Hl(),$l(l,{key:0,theme:"primary",shape:"circle",onClick:Ql((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:ql((()=>[Vl(eh(th),{slot:"icon"})])),_:2},1032,["onClick"])):zl("",!0)],8,Th)])),_:2},1032,["visible","images","onClose"])):(Hl(),jl("div",{key:1,class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{r.value=!0,a.value=e.content})(t)},[Vl(c,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAMAAAC4uKf/AAAA1VBMVEVHcEwgUP8kVP8lVf8oUP8IMKckVP8lU/8NL6kkVP8gUP8QMJ8NL6klVf8jU/8NL6oLMKokVP8OMKglUv8NMKkkVP8kU/8OLqskVP8OL6klU/8kVP8OLqkNL6oNMKkNL6olU/8NMKckVf8MMKckVP////8NL6nI1P8QNLR2lP8/af8yX/8xX/+6yf9Aaf/W3/9bf/+tv/+7yv+Env/x9f/k6v+ftP9oif8YQtQeS+lNdP9piv+En/8XQM/j6v8VPckhT/QSNrqgtP8eS+oTOL+Sqf+Rqf9kuMQUAAAAJHRSTlMAEHBgICDv39/PIBDv35C/ML9wYF9A0H+wz5+Pj59Q76Bgr0CdNRTaAAACCElEQVRo3u3a11ICQRAF0GVFFpAgIIggxt5ZcpJgzvr/n+STVZZMT+zZp7k/cGrSZavoIOClGHaiHKjnvHq5H5hlrwaaYYzlz0yoZgRggDF2pE1lugCGWOlQ08q2wBhjeb1zy0ZggbH8gc4eGlq/GKtqYF2wxNip+pUHa4zVVbGIAGPXrhf2FyupXckCCab2ALJAg7EThQcQUmGsJ8faZBg7dnlk/zF5J+cIMSbrZKDEZFeSFJN1Mi0m6WRiTNzJ1Jiwk8kxdpYmJuhkekzwABxgeCfbYH1M6znAXjAM62Qb7A7FkE4GJ/uIdDI4Whq3Ja0wuMW1Ojkm0Kr0GLxi51ZygAF8PH2+9TlxgmHxmMc8JsYGk2Q3AyfYaBZzs546wBYxkoQem8Zo5uTYA47dkGODNLFhmtsICWZNUrz6s6GbR73cfdPLx7HvRo95zGMe85glNvrmfTcimQyssPtVrJVkbPEpt441szHH3mPtjI2xRB/bGmNLfWxujH3pY0NjbLTStRY2V/85vasPMNyov+lksfXd6DGPecxjHiP+u1+YHOlQjSQFDnbhCmsTD58IExKP1QhT5P01WEvvyKxGoURpUA95CVLGxihTXFgQVOitCj5yWCDfxAz9MCVqFV2MbvLTKkqGNwnPrZKRTx4SLa7cVBt0JLgntYb61G14VTD+fctFnZB/WD8ijwbYDm7GXAAAAABJRU5ErkJggg==",style:{width:"40px",height:"40px"}}),Yl("div",null,[Yl("div",Sh,Zl(t.name),1),Yl("div",Ch,[Yl("span",Uh,Zl(t.type),1),Yl("span",null,Zl(s(t.size)),1)])]),e.showCloseButton?(Hl(),$l(l,{key:0,theme:"primary",shape:"circle",onClick:Ql((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:ql((()=>[Vl(eh(th),{slot:"icon"})])),_:2},1032,["onClick"])):zl("",!0)],8,kh))],64)))),256)),Vl(d,{visible:r.value,"onUpdate:visible":o[0]||(o[0]=e=>r.value=e),attach:"body","on-confirm":()=>r.value=!1},{body:ql((()=>[Yl("div",Fh,Zl(a.value),1)])),_:1},8,["visible","on-confirm"])])):zl("",!0)}}});function Rh(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ih,Oh={exports:{}};const Nh=ih((Ih||(Ih=1,Oh.exports=function e(t,n,i){function r(s,o){if(!n[s]){if(!t[s]){if(!o&&Rh)return Rh(s);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){var n=t[s][1][e];return r(n||e)}),l,l.exports,e,t,n,i)}return n[s].exports}for(var a=Rh,s=0;s0&&(n=s.concat(n),s=[]),y.map(k(t),A(n),(function(e,t){return new a.Paragraph(t,e)})).insertExtra()},"w:r":function(e){return y.map(C(e.firstOrEmpty("w:rPr")),A(e.children),(function(e,t){var n=W();return null!==n&&(t=[new a.Hyperlink(t,n)]),new a.Run(t,e)}))},"w:fldChar":L,"w:instrText":z,"w:t":function(e){return b(new a.Text(e.text()))},"w:tab":function(e){return b(new a.Tab)},"w:noBreakHyphen":function(){return b(new a.Text("‑"))},"w:softHyphen":function(e){return b(new a.Text("­"))},"w:sym":H,"w:hyperlink":function(e){var t=e.attributes["r:id"],n=e.attributes["w:anchor"];return A(e.children).map((function(i){function s(t){var n=e.attributes["w:tgtFrame"]||null;return new a.Hyperlink(i,r.extend({targetFrame:n},t))}if(t){var o=h.findTargetByRelationshipId(t);return n&&(o=l.replaceFragment(o,n)),s({href:o})}return n?s({anchor:n}):i}))},"w:tbl":q,"w:tr":K,"w:tc":Z,"w:footnoteReference":V("footnote"),"w:endnoteReference":V("endnote"),"w:commentReference":G,"w:br":function(e){var t=e.attributes["w:type"];return null==t||"textWrapping"===t?b(a.lineBreak):"page"===t?b(a.pageBreak):"column"===t?b(a.columnBreak):g([o("Unsupported break type: "+t)])},"w:bookmarkStart":function(e){var t=e.attributes["w:name"];return"_GoBack"===t?m():b(new a.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return X(e.first("mc:Fallback"))},"w:sdt":function(e){var t=e.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(t){var n=t.first("wordml:checked"),i=!!n&&M(n.attributes["wordml:val"]);return b(a.checkbox({checked:i}))}return A(e.firstOrEmpty("w:sdtContent").children)},"w:ins":X,"w:object":X,"w:smartTag":X,"w:drawing":X,"w:pict":function(e){return X(e).toExtra()},"v:roundrect":X,"v:shape":X,"v:textbox":X,"w:txbxContent":X,"wp:inline":ee,"wp:anchor":ee,"v:imagedata":re,"v:group":X,"v:rect":X};return{readXmlElement:E,readXmlElements:A};function q(e){var t=Y(e.firstOrEmpty("w:tblPr"));return A(e.children).flatMap(Q).flatMap((function(e){return t.map((function(t){return a.Table(e,t)}))}))}function Y(e){return N(e).map((function(e){return{styleId:e.styleId,styleName:e.name}}))}function K(e){var t=!!e.firstOrEmpty("w:trPr").first("w:tblHeader");return A(e.children).map((function(e){return a.TableRow(e,{isHeader:t})}))}function Z(e){return A(e.children).map((function(t){var n=e.firstOrEmpty("w:tcPr"),i=n.firstOrEmpty("w:gridSpan").attributes["w:val"],r=i?parseInt(i,10):1,s=a.TableCell(t,{colSpan:r});return s._vMerge=J(n),s}))}function J(e){var t=e.first("w:vMerge");if(t){var n=t.attributes["w:val"];return"continue"===n||!n}return null}function Q(e){if(r.any(e,(function(e){return e.type!==a.types.tableRow})))return v(e,[o("unexpected non-row element in table, cell merging may be incorrect")]);if(r.any(e,(function(e){return r.any(e.children,(function(e){return e.type!==a.types.tableCell}))})))return v(e,[o("unexpected non-cell element in table row, cell merging may be incorrect")]);var t={};return e.forEach((function(e){var n=0;e.children.forEach((function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan}))})),e.forEach((function(e){e.children=e.children.filter((function(e){return!e._vMerge})),e.children.forEach((function(e){delete e._vMerge}))})),b(e)}function ee(e){return w(e.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(te.bind(null,e)))}function te(e,t){var n=e.first("wp:docPr").attributes,i=ne(n.descr)?n.title:n.descr,r=ie(t);return null===r?g([o("Could not find image file for a:blip element")]):se(r,i)}function ne(e){return null==e||/^\s*$/.test(e)}function ie(e){var t=e.attributes["r:embed"],n=e.attributes["r:link"];if(t)return ae(t);if(n){var i=h.findTargetByRelationshipId(n);return{path:i,read:_.read.bind(_,i)}}return null}function re(e){var t=e.attributes["r:id"];return t?se(ae(t),e.attributes["o:title"]):g([o("A v:imagedata element without a relationship ID was ignored")])}function ae(e){var t=l.uriToZipEntryName("word",h.findTargetByRelationshipId(e));return{path:t,read:x.read.bind(x,t)}}function se(e,t){var n=d.findContentType(e.path);return v(a.Image({readImage:e.read,altText:t,contentType:n}),f[n]?[]:o("Image of type "+n+" is unlikely to display in web browsers"))}function oe(e,t){return o(e+" style with ID "+t+" was referenced but not defined in the document")}}function u(e,t,n){var i=t.firstOrEmpty("w:ilvl").attributes["w:val"],r=t.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==i&&void 0!==r)return n.findLevel(r,i);if(null!=e){var a=n.findLevelByParagraphStyleId(e);if(null!=a)return a}return null}var f={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},p={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function g(e){return new y(null,null,e)}function m(){return new y(null)}function b(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new s({element:this.value,extra:t},n),this.messages=this._result.messages}function w(e){var t=s.combine(r.pluck(e,"_result"));return new y(r.flatten(r.pluck(t.value,"element")),r.filter(r.flatten(r.pluck(t.value,"extra")),_),t.messages)}function x(e,t){return r.flatten([e,t])}function _(e){return e}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map((function(t){return e(t.element)}));return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap((function(t){return e(t.element)._result}));return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))}},{"../documents":4,"../results":25,"../xml":35,"./uris":16,"dingbat-to-unicode":85,underscore:102}],6:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e){function t(e){return r.combine(e.getElementsByTagName("w:comment").map(n))}function n(t){var n=t.attributes["w:id"];function r(e){return(t.attributes[e]||"").trim()||null}return e.readXmlElements(t.children).map((function(e){return i.comment({commentId:n,body:e,authorName:r("w:author"),authorInitials:r("w:initials")})}))}return t}n.createCommentsReader=a},{"../documents":4,"../results":25}],7:[function(e,t,n){n.readContentTypesFromXml=r;var i={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function r(e){var t={},n={};return e.children.forEach((function(e){if("content-types:Default"===e.name&&(t[e.attributes.Extension]=e.attributes.ContentType),"content-types:Override"===e.name){var i=e.attributes.PartName;"/"===i.charAt(0)&&(i=i.substring(1)),n[i]=e.attributes.ContentType}})),a(n,t)}function a(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;var a=n.split("."),s=a[a.length-1];if(t.hasOwnProperty(s))return t[s];var o=i[s.toLowerCase()];return o?"image/"+o:null}}}n.defaultContentTypes=a({},{})},{}],8:[function(e,t,n){n.DocumentXmlReader=a;var i=e("../documents"),r=e("../results").Result;function a(e){var t=e.bodyReader;function n(n){var a=n.first("w:body");if(null==a)throw new Error("Could not find the body element: are you sure this is a docx file?");var s=t.readXmlElements(a.children).map((function(t){return new i.Document(t,{notes:e.notes,comments:e.comments})}));return new r(s.value,s.messages)}return{convertXmlToDocument:n}}},{"../documents":4,"../results":25}],9:[function(e,t,n){n.read=b,n._findPartPaths=v;var i=e("../promises"),r=e("../documents"),a=e("../results").Result,s=e("../zipfile"),o=e("./office-xml-reader").readXmlFromZipFile,c=e("./body-reader").createBodyReader,l=e("./document-xml-reader").DocumentXmlReader,h=e("./relationships-reader"),d=e("./content-types-reader"),u=e("./numbering-xml"),f=e("./styles-reader"),p=e("./notes-reader"),g=e("./comments-reader"),m=e("./files").Files;function b(e,t){return t=t||{},i.props({contentTypes:D(e),partPaths:v(e),docxFile:e,files:t.path?m.relativeToFile(t.path):new m(null)}).also((function(t){return{styles:E(e,t.partPaths.styles)}})).also((function(t){return{numbering:A(e,t.partPaths.numbering,t.styles)}})).also((function(e){return{footnotes:_(e.partPaths.footnotes,e,(function(e,t){return t?p.createFootnotesReader(e)(t):new a([])})),endnotes:_(e.partPaths.endnotes,e,(function(e,t){return t?p.createEndnotesReader(e)(t):new a([])})),comments:_(e.partPaths.comments,e,(function(e,t){return t?g.createCommentsReader(e)(t):new a([])}))}})).also((function(e){return{notes:e.footnotes.flatMap((function(t){return e.endnotes.map((function(e){return new r.Notes(t.concat(e))}))}))}})).then((function(e){return _(e.partPaths.mainDocument,e,(function(t,n){return e.notes.flatMap((function(i){return e.comments.flatMap((function(e){return new l({bodyReader:t,notes:i,comments:e}).convertXmlToDocument(n)}))}))}))}))}function v(e){return k(e).then((function(t){var n=y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return x({filename:T(n),readElement:h.readRelationships,defaultValue:h.defaultValue})(e).then((function(t){function i(i){return y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+i,basePath:s.splitPath(n).dirname,fallbackPath:"word/"+i+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}}))}))}function y(e){var t=e.docxFile,n=e.relationships,i=e.relationshipType,r=e.basePath,a=e.fallbackPath,o=n.findTargetsByType(i).map((function(e){return w(s.joinPath(r,e),"/")})).filter((function(e){return t.exists(e)}));return 0===o.length?a:o[0]}function w(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function x(e){return function(t){return o(t,e.filename).then((function(t){return t?e.readElement(t):e.defaultValue}))}}function _(e,t,n){return x({filename:T(e),readElement:h.readRelationships,defaultValue:h.defaultValue})(t.docxFile).then((function(i){var r=new c({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return o(t.docxFile,e).then((function(e){return n(r,e)}))}))}function T(e){var t=s.splitPath(e);return s.joinPath(t.dirname,"_rels",t.basename+".rels")}var D=x({filename:"[Content_Types].xml",readElement:d.readContentTypesFromXml,defaultValue:d.defaultContentTypes});function A(e,t,n){return x({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function E(e,t){return x({filename:t,readElement:f.readStylesXml,defaultValue:f.defaultStyles})(e)}var k=x({filename:"_rels/.rels",readElement:h.readRelationships,defaultValue:h.defaultValue})},{"../documents":4,"../promises":23,"../results":25,"../zipfile":40,"./body-reader":5,"./comments-reader":6,"./content-types-reader":7,"./document-xml-reader":8,"./files":1,"./notes-reader":10,"./numbering-xml":11,"./office-xml-reader":12,"./relationships-reader":13,"./styles-reader":15}],10:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e,t){function n(t){return r.combine(t.getElementsByTagName("w:"+e).filter(a).map(s))}function a(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function s(n){var r=n.attributes["w:id"];return t.readXmlElements(n.children).map((function(t){return i.Note({noteType:e,noteId:r,body:t})}))}return n}n.createFootnotesReader=a.bind(this,"footnote"),n.createEndnotesReader=a.bind(this,"endnote")},{"../documents":4,"../results":25}],11:[function(e,t,n){var i=e("underscore");function r(e,t,n){var r=i.flatten(i.values(t).map((function(e){return i.values(e.levels)}))),a=i.indexBy(r.filter((function(e){return null!=e.paragraphStyleId})),"paragraphStyleId");function s(i,r){var a=e[i];if(a){var o=t[a.abstractNumId];return o?null==o.numStyleLink?t[a.abstractNumId].levels[r]:s(n.findNumberingStyleById(o.numStyleLink).numId,r):null}return null}function o(e){return a[e]||null}return{findLevel:s,findLevelByParagraphStyleId:o}}function a(e,t){if(!t||!t.styles)throw new Error("styles is missing");var n=s(e);return new r(c(e),n,t.styles)}function s(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach((function(e){var n=e.attributes["w:abstractNumId"];t[n]=o(e)})),t}function o(e){var t={};e.getElementsByTagName("w:lvl").forEach((function(e){var n=e.attributes["w:ilvl"],i=e.firstOrEmpty("w:numFmt").attributes["w:val"],r=e.firstOrEmpty("w:pStyle").attributes["w:val"];t[n]={isOrdered:"bullet"!==i,level:n,paragraphStyleId:r}}));var n=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:n}}function c(e){var t={};return e.getElementsByTagName("w:num").forEach((function(e){var n=e.attributes["w:numId"],i=e.first("w:abstractNumId").attributes["w:val"];t[n]={abstractNumId:i}})),t}n.readNumberingXml=a,n.Numbering=r,n.defaultNumbering=new r({},{})},{underscore:102}],12:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.read=o,n.readXmlFromZipFile=c;var s={ +// Transitional format +"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic", +// Strict format +"http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic", +// Common +"http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word", +// [MS-DOCX]: Word Extensions to the Office Open XML (.docx) File Format +// https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/b839fe1f-e1ca-4fa6-8c26-5954d0abbccd +"http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function o(e){return a.readString(e,s).then((function(e){return h(e)[0]}))}function c(e,t){return e.exists(t)?e.read(t,"utf-8").then(l).then(o):r.resolve(null)}function l(e){return e.replace(/^\uFEFF/g,"")}function h(e){return"element"===e.type?"mc:AlternateContent"===e.name?e.first("mc:Fallback").children:(e.children=i.flatten(e.children.map(h,!0)),[e]):[e]}},{"../promises":23,"../xml":35,underscore:102}],13:[function(e,t,n){function i(e){var t=[];return e.children.forEach((function(e){if("relationships:Relationship"===e.name){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}})),new r(t)}function r(e){var t={};e.forEach((function(e){t[e.relationshipId]=e.target}));var n={};return e.forEach((function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)})),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}n.readRelationships=i,n.defaultValue=new r([]),n.Relationships=r},{}],14:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.writeStyleMap=l,n.readStyleMap=f;var s="http://schemas.zwobble.org/mammoth/style-map",o="mammoth/style-map",c="/"+o;function l(e,t){return e.write(o,t),h(e).then((function(){return d(e)}))}function h(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",i="{"+n+"}Relationship";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"Id",{Id:"rMammothStyleMap",Type:s,Target:c});var o={"":n};return e.write(t,a.writeString(r,o))}))}function d(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",i="{"+n+"}Override";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"PartName",{PartName:c,ContentType:"text/prs.mammoth.style-map"});var s={"":n};return e.write(t,a.writeString(r,s))}))}function u(e,t,n,r){var s=i.find(e,(function(e){return e.name===t&&e.attributes[n]===r[n]}));s?s.attributes=r:e.push(a.element(t,r))}function f(e){return e.exists(o)?e.read(o,"utf8"):r.resolve(null)}},{"../promises":23,"../xml":35,underscore:102}],15:[function(e,t,n){function i(e,t,n,i){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return i[e]}}}function r(e){var t={},n={},r={},s={},c={paragraph:t,character:n,table:r};return e.getElementsByTagName("w:style").forEach((function(e){var t=a(e);if("numbering"===t.type)s[t.styleId]=o(e);else{var n=c[t.type];n&&(n[t.styleId]=t)}})),new i(t,n,r,s)}function a(e){return{type:e.attributes["w:type"],styleId:e.attributes["w:styleId"],name:s(e)}}function s(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function o(e){return{numId:e.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"]}}n.readStylesXml=r,n.Styles=i,n.defaultStyles=new i({},{}),i.EMPTY=new i({},{},{},{})},{}],16:[function(e,t,n){function i(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t}function r(e,t){var n=e.indexOf("#");return-1!==n&&(e=e.substring(0,n)),e+"#"+t}n.uriToZipEntryName=i,n.replaceFragment=r},{}],17:[function(e,t,n){var i=e("../styles/html-paths");function r(e,t,n){return s(i.element(e,t,{fresh:!1}),n)}function a(e,t,n){return s(i.element(e,t,{fresh:!0}),n)}function s(e,t){return{type:"element",tag:e,children:t||[]}}function o(e){return{type:"text",value:e}}var c={type:"forceWrite"};n.freshElement=a,n.nonFreshElement=r,n.elementWithTag=s,n.text=o,n.forceWrite=c;var l={br:!0,hr:!0,img:!0,input:!0};function h(e){return 0===e.children.length&&l[e.tag.tagName]}n.isVoidElement=h},{"../styles/html-paths":28}],18:[function(e,t,n){var i=e("./ast");function r(e,t){t.forEach((function(t){a(e,t)}))}function a(e,t){s[t.type](e,t)}n.freshElement=i.freshElement,n.nonFreshElement=i.nonFreshElement,n.elementWithTag=i.elementWithTag,n.text=i.text,n.forceWrite=i.forceWrite,n.simplify=e("./simplify");var s={element:o,text:c,forceWrite:function(){}};function o(e,t){i.isVoidElement(t)?e.selfClosing(t.tag.tagName,t.tag.attributes):(e.open(t.tag.tagName,t.tag.attributes),r(e,t.children),e.close(t.tag.tagName))}function c(e,t){e.text(t.value)}n.write=r},{"./ast":17,"./simplify":19}],19:[function(e,t,n){var i=e("underscore"),r=e("./ast");function a(e){return s(u(e))}function s(e){var t=[];return e.map(o).forEach((function(e){d(t,e)})),t}function o(e){return c[e.type](e)}var c={element:l,text:h,forceWrite:h};function l(e){return r.elementWithTag(e.tag,s(e.children))}function h(e){return e}function d(e,t){var n=e[e.length-1];"element"===t.type&&!t.tag.fresh&&n&&"element"===n.type&&t.tag.matchesElement(n.tag)?(t.tag.separator&&d(n.children,r.text(t.tag.separator)),t.children.forEach((function(e){d(n.children,e)}))):e.push(t)}function u(e){return f(e,(function(e){return p[e.type](e)}))}function f(e,t){return i.flatten(i.map(e,t),!0)}var p={element:m,text:b,forceWrite:g};function g(e){return[e]}function m(e){var t=u(e.children);return 0!==t.length||r.isVoidElement(e)?[r.elementWithTag(e.tag,t)]:[]}function b(e){return 0===e.value.length?[]:[e]}t.exports=a},{"./ast":17,underscore:102}],20:[function(e,t,n){var i=e("underscore"),r=e("./promises"),a=e("./html");function s(e){return function(t,n){return r.when(e(t)).then((function(e){var n={};return t.altText&&(n.alt=t.altText),i.extend(n,e),[a.freshElement("img",n)]}))}}n.imgElement=s,n.inline=n.imgElement,n.dataUri=s((function(e){return e.readAsBase64String().then((function(t){return{src:"data:"+e.contentType+";base64,"+t}}))}))},{"./html":18,"./promises":23,underscore:102}],21:[function(e,t,n){(function(t){var i=e("underscore"),r=e("./docx/docx-reader"),a=e("./docx/style-map"),s=e("./document-to-html").DocumentConverter,o=e("./raw-text").convertElementToRawText,c=e("./style-reader").readStyle,l=e("./options-reader").readOptions,h=e("./unzip"),d=e("./results").Result;function u(e,t){return p(e,t)}function f(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",p(e,n)}function p(e,t){return t=l(t),h.openZip(e).tap((function(e){return a.readStyleMap(e).then((function(e){t.embeddedStyleMap=e}))})).then((function(n){return r.read(n,e).then((function(e){return e.map(t.transformDocument)})).then((function(e){return m(e,t)}))}))}function g(e){return h.openZip(e).then(a.readStyleMap)}function m(e,t){var n=b(t.readStyleMap()),r=i.extend({},t,{styleMap:n.value}),a=new s(r);return e.flatMapThen((function(e){return n.flatMapThen((function(t){return a.convertToHtml(e)}))}))}function b(e){return d.combine((e||[]).map(c)).map((function(e){return e.filter((function(e){return!!e}))}))}function v(e){return h.openZip(e).then(r.read).then((function(e){return e.map(o)}))}function y(e,n){return h.openZip(e).tap((function(e){return a.writeStyleMap(e,n)})).then((function(e){return e.toArrayBuffer()})).then((function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return t.from(e)}}}))}n.convertToHtml=u,n.convertToMarkdown=f,n.convert=p,n.extractRawText=v,n.images=e("./images"),n.transforms=e("./transforms"),n.underline=e("./underline"),n.embedStyleMap=y,n.readEmbeddedStyleMap=g,n.styleMapping=function(){throw new Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}}).call(this,e("buffer").Buffer)},{"./document-to-html":3,"./docx/docx-reader":9,"./docx/style-map":14,"./images":20,"./options-reader":22,"./raw-text":24,"./results":25,"./style-reader":26,"./transforms":30,"./underline":31,"./unzip":2,buffer:83,underscore:102}],22:[function(e,t,n){n.readOptions=s;var i=e("underscore"),r=n._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>", +// LibreOffice +"p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],a=n._standardOptions={transformDocument:c,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function s(e){return e=e||{},i.extend({},a,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(r)),e}})}function o(e){return e?i.isString(e)?e.split("\n").map((function(e){return e.trim()})).filter((function(e){return""!==e&&"#"!==e.charAt(0)})):e:[]}function c(e){return e}},{underscore:102}],23:[function(e,t,n){var i=e("underscore"),r=e("bluebird/js/release/promise")();function a(){var e,t,n=new r.Promise((function(n,i){e=n,t=i}));return{resolve:e,reject:t,promise:n}}n.defer=a,n.when=r.resolve,n.resolve=r.resolve,n.all=r.all,n.props=r.props,n.reject=r.reject,n.promisify=r.promisify,n.mapSeries=r.mapSeries,n.attempt=r.attempt,n.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1);return r.promisify(e).apply(null,t)},r.prototype.fail=r.prototype.caught,r.prototype.also=function(e){return this.then((function(t){var n=i.extend({},t,e(t));return r.props(n)}))}},{"bluebird/js/release/promise":68,underscore:102}],24:[function(e,t,n){var i=e("./documents");function r(e){if("text"===e.type)return e.value;if(e.type===i.types.tab)return"\t";var t="paragraph"===e.type?"\n\n":"";return(e.children||[]).map(r).join("")+t}n.convertElementToRawText=r},{"./documents":4}],25:[function(e,t,n){var i=e("underscore");function r(e,t){this.value=e,this.messages=t||[]}function a(e){return new r(e,[])}function s(e){return{type:"warning",message:e}}function o(e){return{type:"error",message:e.message,error:e}}function c(e){var t=[];return i.flatten(i.pluck(e,"messages"),!0).forEach((function(e){l(t,e)||t.push(e)})),t}function l(e,t){return void 0!==i.find(e,h.bind(null,t))}function h(e,t){return e.type===t.type&&e.message===t.message}n.Result=r,n.success=a,n.warning=s,n.error=o,r.prototype.map=function(e){return new r(e(this.value),this.messages)},r.prototype.flatMap=function(e){var t=e(this.value);return new r(t.value,c([this,t]))},r.prototype.flatMapThen=function(e){var t=this;return e(this.value).then((function(e){return new r(e.value,c([t,e]))}))},r.combine=function(e){return new r(i.flatten(i.pluck(e,"value")),c(e))}},{underscore:102}],26:[function(e,t,n){var i=e("underscore"),r=e("lop"),a=e("./styles/document-matchers"),s=e("./styles/html-paths"),o=e("./styles/parser/tokeniser").tokenise,c=e("./results");function l(e){return T(E,e)}function h(){return r.rules.sequence(r.rules.sequence.capture(u()),r.rules.tokenOfType("whitespace"),r.rules.tokenOfType("arrow"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("whitespace"),r.rules.sequence.capture(p())).head())),r.rules.tokenOfType("end")).map((function(e,t){return{from:e,to:t.valueOrElse(s.empty)}}))}function d(e){return T(u(),e)}function u(){var e=r.rules.sequence,t=function(e,t){return r.rules.then(r.rules.token("identifier",e),(function(){return t}))},n=t("p",a.paragraph),s=t("r",a.run),o=r.rules.firstOf("p or r or table",n,s),c=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{styleId:e}})),l=r.rules.firstOf("style name matcher",r.rules.then(r.rules.sequence(r.rules.tokenOfType("equals"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.equalTo(e)}})),r.rules.then(r.rules.sequence(r.rules.tokenOfType("startsWith"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.startsWith(e)}}))),h=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","style-name"),r.rules.sequence.capture(l),r.rules.tokenOfType("close-square-bracket")).head(),d=r.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),u=e(r.rules.tokenOfType("colon"),e.capture(d),e.cut(),r.rules.tokenOfType("open-paren"),e.capture(m),r.rules.tokenOfType("close-paren")).map((function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}}));function f(e){var t=r.rules.firstOf.apply(r.rules.firstOf,["matcher suffix"].concat(e)),n=r.rules.zeroOrMore(t);return r.rules.then(n,(function(e){var t={};return e.forEach((function(e){i.extend(t,e)})),t}))}var p=e(e.capture(o),e.capture(f([c,h,u]))).map((function(e,t){return e(t)})),v=e(r.rules.token("identifier","table"),e.capture(f([c,h]))).map((function(e){return a.table(e)})),y=t("b",a.bold),w=t("i",a.italic),x=t("u",a.underline),_=t("strike",a.strikethrough),T=t("all-caps",a.allCaps),D=t("small-caps",a.smallCaps),A=e(r.rules.token("identifier","highlight"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","color"),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).head()))).map((function(e){return a.highlight({color:e.valueOrElse(void 0)})})),E=t("comment-reference",a.commentReference),k=e(r.rules.token("identifier","br"),e.cut(),r.rules.tokenOfType("open-square-bracket"),r.rules.token("identifier","type"),r.rules.tokenOfType("equals"),e.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e){switch(e){case"line":return a.lineBreak;case"page":return a.pageBreak;case"column":return a.columnBreak}}));return r.rules.firstOf("element type",p,v,y,w,x,_,T,D,A,E,k)}function f(e){return T(p(),e)}function p(){var e=r.rules.sequence.capture,t=r.rules.tokenOfType("whitespace"),n=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","fresh"))),(function(e){return e.map((function(){return!0})).valueOrElse(!1)})),i=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","separator"),r.rules.tokenOfType("open-paren"),e(b),r.rules.tokenOfType("close-paren")).head()),(function(e){return e.valueOrElse("")})),a=r.rules.oneOrMoreWithSeparator(g,r.rules.tokenOfType("choice")),o=r.rules.sequence(e(a),e(r.rules.zeroOrMore(_)),e(n),e(i)).map((function(e,t,n,i){var r={},a={};return t.forEach((function(e){e.append&&r[e.name]?r[e.name]+=" "+e.value:r[e.name]=e.value})),n&&(a.fresh=!0),i&&(a.separator=i),s.element(e,r,a)}));return r.rules.firstOf("html path",r.rules.then(r.rules.tokenOfType("bang"),(function(){return s.ignore})),r.rules.then(r.rules.zeroOrMoreWithSeparator(o,r.rules.sequence(t,r.rules.tokenOfType("gt"),t)),s.elements))}n.readHtmlPath=f,n.readDocumentMatcher=d,n.readStyle=l;var g=r.rules.then(r.rules.tokenOfType("identifier"),y),m=r.rules.tokenOfType("integer"),b=r.rules.then(r.rules.tokenOfType("string"),y),v={n:"\n",r:"\r",t:"\t"};function y(e){return e.replace(/\\(.)/g,(function(e,t){return v[t]||t}))}var w=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.sequence.capture(g),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e,t){return{name:e,value:t,append:!1}})),x=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{name:"class",value:e,append:!0}})),_=r.rules.firstOf("attribute or class",w,x);function T(e,t){var n=o(t),i=r.Parser().parseTokens(e,n);return i.isSuccess()?c.success(i.value()):new c.Result(null,[c.warning(D(t,i))])}function D(e,t){return"Did not understand this style mapping, so ignored it: "+e+"\n"+t.errors().map(A).join("\n")}function A(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var E=h()},{"./results":25,"./styles/document-matchers":27,"./styles/html-paths":28,"./styles/parser/tokeniser":29,lop:89,underscore:102}],27:[function(e,t,n){function i(e){return new o("paragraph",e)}function r(e){return new o("run",e)}function a(e){return new o("table",e)}function s(e){return new c(e)}function o(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function c(e){e=e||{},this._color=e.color}function l(e){e=e||{},this._breakType=e.breakType}function h(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function d(e){return{operator:f,operand:e}}function u(e){return{operator:p,operand:e}}function f(e,t){return e.toUpperCase()===t.toUpperCase()}function p(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}n.paragraph=i,n.run=r,n.table=a,n.bold=new o("bold"),n.italic=new o("italic"),n.underline=new o("underline"),n.strikethrough=new o("strikethrough"),n.allCaps=new o("allCaps"),n.smallCaps=new o("smallCaps"),n.highlight=s,n.commentReference=new o("commentReference"),n.lineBreak=new l({breakType:"line"}),n.pageBreak=new l({breakType:"page"}),n.columnBreak=new l({breakType:"column"}),n.equalTo=d,n.startsWith=u,o.prototype.matches=function(e){return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||h(e,this._listIndex,this._listIsOrdered))&&(void 0===this._breakType||this._breakType===e.breakType)},c.prototype.matches=function(e){return"highlight"===e.type&&(void 0===this._color||e.color===this._color)},l.prototype.matches=function(e){return"break"===e.type&&(void 0===this._breakType||e.breakType===this._breakType)}},{}],28:[function(e,t,n){var i=e("underscore"),r=e("../html");function a(e,t){return s([c(e,t,{fresh:!0})])}function s(e){return new o(e.map((function(e){return i.isString(e)?c(e):e})))}function o(e){this._elements=e}function c(e,t,n){return new l(e,t,n=n||{})}function l(e,t,n){var r={};i.isArray(e)?(e.forEach((function(e){r[e]=!0})),e=e[0]):r[e]=!0,this.tagName=e,this.tagNames=r,this.attributes=t||{},this.fresh=n.fresh,this.separator=n.separator}n.topLevelElement=a,n.elements=s,n.element=c,o.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t},l.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&i.isEqual(this.attributes||{},e.attributes||{})},l.prototype.wrap=function(e){return this.wrapNodes(e())},l.prototype.wrapNodes=function(e){return[r.elementWithTag(this,e)]},n.empty=s([]),n.ignore={wrap:function(){return[]}}},{"../html":18,underscore:102}],29:[function(e,t,n){var i=e("lop").RegexTokeniser;n.tokenise=a;var r="'((?:\\\\.|[^'])*)";function a(e){var t="(?:[a-zA-Z\\-_]|\\\\.)";return new i([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(r+"'")},{name:"unterminated-string",regex:new RegExp(r)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)}},{lop:89}],30:[function(e,t,n){var i=e("underscore");function r(e){return s("paragraph",e)}function a(e){return s("run",e)}function s(e,t){return o((function(n){return n.type===e?t(n):n}))}function o(e){return function t(n){if(n.children){var r=i.map(n.children,t);n=i.extend(n,{children:r})}return e(n)}}function c(e,t){return l(e).filter((function(e){return e.type===t}))}function l(e){var t=[];return h(e,(function(e){t.push(e)})),t}function h(e,t){e.children&&e.children.forEach((function(e){h(e,t),t(e)}))}n.paragraph=r,n.run=a,n._elements=o,n.getDescendantsOfType=c,n.getDescendants=l},{underscore:102}],31:[function(e,t,n){var i=e("./styles/html-paths"),r=e("./html");function a(e){return function(t){return r.elementWithTag(i.element(e),[t])}}n.element=a},{"./html":18,"./styles/html-paths":28}],32:[function(e,t,n){var i=e("underscore");function r(e){return(e=e||{}).prettyPrint?s():o()}n.writer=r;var a={div:!0,p:!0,ul:!0,li:!0};function s(){var e=0,t=" ",n=[],r=!0,s=!1,c=o();function l(t,i){a[t]&&g(),n.push(t),c.open(t,i),a[t]&&e++,r=!1}function h(t){a[t]&&(e--,g()),n.pop(),c.close(t)}function d(e){p();var n=m()?e:e.replace("\n","\n"+t);c.text(n)}function u(e,t){g(),c.selfClosing(e,t)}function f(){return 0===n.length||a[n[n.length-1]]}function p(){s||(g(),s=!0)}function g(){if(s=!1,!r&&f()&&!m()){c._append("\n");for(var n=0;n")}function n(t){e.push("")}function r(t,n){var i=a(n);e.push("<"+t+i+" />")}function a(e){return i.map(e,(function(e,t){return" "+t+'="'+l(e)+'"'})).join("")}function s(t){e.push(c(t))}function o(t){e.push(t)}function h(){return e.join("")}return{asString:h,open:t,close:n,text:s,selfClosing:r,_append:o}}function c(e){return e.replace(/&/g,"&").replace(//g,">")}function l(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}},{underscore:102}],33:[function(e,t,n){var i=e("./html-writer"),r=e("./markdown-writer");function a(e){return"markdown"===(e=e||{}).outputFormat?r.writer():i.writer(e)}n.writer=a},{"./html-writer":32,"./markdown-writer":34}],34:[function(e,t,n){var i=e("underscore");function r(e){return a(e,e)}function a(e,t){return function(){return{start:e,end:t}}}function s(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}}function o(e){var t=e.src||"",n=e.alt||"";return t||n?{start:"!["+n+"]("+t+")"}:{}}function c(e){return function(t,n){return{start:n?"\n":"",end:n?"":"\n",list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function l(e,t,n){(t=t||{indent:0,isOrdered:!1,count:0}).count++,n.hasClosed=!1;var i=t.isOrdered?t.count+".":"-";return{start:d("\t",t.indent)+i+" ",end:function(){if(!n.hasClosed)return n.hasClosed=!0,"\n"}}}var h={p:a("","\n\n"),br:a(""," \n"),ul:c({isOrdered:!1}),ol:c({isOrdered:!0}),li:l,strong:r("__"),em:r("*"),a:s,img:o};function d(e,t){return new Array(t+1).join(e)}function u(){var e=[],t=[],n=null,r={};function a(i,a){a=a||{};var o=(h[i]||function(){return{}})(a,n,r);t.push({end:o.end,list:n}),o.list&&(n=o.list);var c="before"===o.anchorPosition;c&&s(a),e.push(o.start||""),c||s(a)}function s(t){t.id&&e.push('')}function o(r){var a=t.pop();n=a.list;var s=i.isFunction(a.end)?a.end():a.end;e.push(s||"")}function c(e,t){a(e,t),o()}function l(t){e.push(f(t))}function d(){return e.join("")}return{asString:d,open:a,close:o,text:l,selfClosing:c}}function f(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}!function(){for(var e=1;e<=6;e++)h["h"+e]=a(d("#",e)+" ","\n\n")}(),n.writer=u},{underscore:102}],35:[function(e,t,n){var i=e("./nodes");n.Element=i.Element,n.element=i.element,n.emptyElement=i.emptyElement,n.text=i.text,n.readString=e("./reader").readString,n.writeString=e("./writer").writeString},{"./nodes":36,"./reader":37,"./writer":38}],36:[function(e,t,n){var i=e("underscore");n.Element=a,n.element=function(e,t,n){return new a(e,t,n)},n.text=function(e){return{type:"text",value:e}};var r=n.emptyElement={first:function(){return null},firstOrEmpty:function(){return r},attributes:{},children:[]};function a(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}a.prototype.first=function(e){return i.find(this.children,(function(t){return t.name===e}))},a.prototype.firstOrEmpty=function(e){return this.first(e)||r},a.prototype.getElementsByTagName=function(e){return o(i.filter(this.children,(function(t){return t.name===e})))},a.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw new Error("Not implemented");return this.children[0].value};var s={getElementsByTagName:function(e){return o(i.flatten(this.map((function(t){return t.getElementsByTagName(e)}),!0)))}};function o(e){return i.extend(e,s)}},{underscore:102}],37:[function(e,t,n){var i=e("../promises"),r=e("underscore"),a=e("./xmldom"),s=e("./nodes"),o=s.Element;n.readString=l;var c=a.Node;function l(e,t){t=t||{};try{var n=a.parseFromString(e,"text/xml")}catch(u){return i.reject(u)}if("parsererror"===n.documentElement.tagName)return i.resolve(new Error(n.documentElement.textContent));function l(e){switch(e.nodeType){case c.ELEMENT_NODE:return h(e);case c.TEXT_NODE:return s.text(e.nodeValue)}}function h(e){var t=d(e),n=[];r.forEach(e.childNodes,(function(e){var t=l(e);t&&n.push(t)}));var i={};return r.forEach(e.attributes,(function(e){i[d(e)]=e.value})),new o(t,i,n)}function d(e){if(e.namespaceURI){var n=t[e.namespaceURI];return(n?n+":":"{"+e.namespaceURI+"}")+e.localName}return e.localName}return i.resolve(l(n.documentElement))}},{"../promises":23,"./nodes":36,"./xmldom":39,underscore:102}],38:[function(e,t,n){var i=e("underscore"),r=e("xmlbuilder");function a(e,t){var n=i.invert(t),a={element:c,text:s};function o(e,t){return a[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach((function(e){o(n,e)}))}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var i=n[t[1]];return i+(""===i?"":":")+t[2]}return e}function h(e){var n=r.create(l(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return i.forEach(t,(function(e,t){var i="xmlns"+(""===t?"":":"+t);n.attribute(i,e)})),e.children.forEach((function(e){o(n,e)})),n.end()}return h(e)}function s(e,t){e.text(t.value)}n.writeString=a},{underscore:102,xmlbuilder:124}],39:[function(e,t,n){var i=e("@xmldom/xmldom"),r=e("@xmldom/xmldom/lib/dom");function a(e){var t=null,n=new i.DOMParser({errorHandler:function(e,n){t={level:e,message:n}}}).parseFromString(e);if(null===t)return n;throw new Error(t.level+": "+t.message)}n.parseFromString=a,n.Node=r.Node},{"@xmldom/xmldom":45,"@xmldom/xmldom/lib/dom":43}],40:[function(e,t,n){var i=e("base64-js"),r=e("jszip");function a(e){return r.loadAsync(e).then((function(e){function t(t){return null!==e.file(t)}function n(t,n){return e.file(t).async("uint8array").then((function(e){return"base64"===n?i.fromByteArray(e):n?new TextDecoder(n).decode(e):e}))}function r(t,n){e.file(t,n)}function a(){return e.generateAsync({type:"arraybuffer"})}return{exists:t,read:n,write:r,toArrayBuffer:a}}))}function s(e){var t=e.lastIndexOf("/");return-1===t?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function o(){var e=Array.prototype.filter.call(arguments,(function(e){return e})),t=[];return e.forEach((function(e){/^\//.test(e)?t=[e]:t.push(e)})),t.join("/")}n.openArrayBuffer=a,n.splitPath=s,n.joinPath=o},{"base64-js":47,jszip:88}],41:[function(e,t,n){function i(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var i=0;i=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}u.prototype.parseFromString=function(e,t){var n=this.options,i=new h,r=n.domBuilder||new p,s=n.errorHandler,o=n.locator,l=n.xmlns||{},u=/\/x?html?$/.test(t),g=u?a.HTML_ENTITIES:a.XML_ENTITIES;o&&r.setDocumentLocator(o),i.errorHandler=f(s,r,o),i.domBuilder=n.domBuilder||r,u&&(l[""]=c.HTML),l.xml=l.xml||c.XML;var m=n.normalizeLineEndings||d;return e&&"string"==typeof e?i.parse(m(e),l,g):i.errorHandler.error("invalid doc source"),r.doc},p.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,i){var r=this.doc,a=r.createElementNS(e,n||t),s=i.length;v(this,a),this.currentElement=a,this.locator&&g(this.locator,a);for(var o=0;o=0))throw new F(C,new Error(e.tagName+"@"+n));for(var r=t.length-1;i"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function z(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(z(e,t))return!0}while(e=e.nextSibling)}function H(){this.ownerDocument=this}function V(e,t,n){e&&e._inc++,n.namespaceURI===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function G(e,t,n,i){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function X(e,t,n){if(e&&e._inc){e._inc++;var i=t.childNodes;if(n)i[i.length++]=n;else{for(var r=t.firstChild,a=0;r;)i[a++]=r,r=r.nextSibling;i.length=a,delete i[i.length]}}}function $(e,t){var n=t.previousSibling,i=t.nextSibling;return n?n.nextSibling=i:e.firstChild=i,i?i.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,X(e.ownerDocument,e),t}function q(e){return e&&(e.nodeType===B.DOCUMENT_NODE||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.ELEMENT_NODE)}function Y(e){return e&&(Z(e)||J(e)||K(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE)}function K(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===B.ELEMENT_NODE}function J(e){return e&&e.nodeType===B.TEXT_NODE}function Q(e,t){var n=e.childNodes||[];if(r(n,Z)||K(t))return!1;var i=r(n,K);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function ee(e,t){var n=e.childNodes||[];function i(e){return Z(e)&&e!==t}if(r(n,i))return!1;var a=r(n,K);return!(t&&a&&n.indexOf(a)>n.indexOf(t))}function te(e,t,n){if(!q(e))throw new F(S,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new F(C,"child not in parent");if( +// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException. +!Y(t)||// 5. If either `node` is a Text node and `parent` is a document, +// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0 +// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE) +// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException. +K(t)&&e.nodeType!==B.DOCUMENT_NODE)throw new F(S,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function ne(e,t,n){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Z);if(s.length>1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!Q(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!Q(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,K))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!ee(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!ee(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,(function(e){return K(e)&&e!==n})))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)=0;f--)if(""===(y=r[f]).prefix&&y.namespace===e.namespaceURI){d=y.namespace;break}if(d!==e.namespaceURI)for(f=r.length-1;f>=0;f--){var y;if((y=r[f]).namespace===e.namespaceURI){y.prefix&&(h=y.prefix+":"+l);break}}}t.push("<",h);for(var A=0;A"),n&&/^script$/i.test(l))for(;c;)c.data?t.push(c.data):_e(c,t,n,i,r.slice()),c=c.nextSibling;else for(;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;t.push("")}else t.push("/>");return;case _:case D:for(c=e.firstChild;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;return;case g:return xe(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&>]/g,j));case b:return t.push("");case x:return t.push("\x3c!--",e.data,"--\x3e");case T:var C=e.publicId,U=e.systemId;if(t.push("");else if(U&&"."!=U)t.push(" SYSTEM ",U,">");else{var F=e.internalSubset;F&&t.push(" [",F,"]"),t.push(">")}return;case w:return t.push("");case v:return t.push("&",e.nodeName,";"); +//case ENTITY_NODE: +//case NOTATION_NODE: +default:t.push("??",e.nodeName)}}function Te(e,t,n){var i;switch(t.nodeType){case p:(i=t.cloneNode(!1)).ownerDocument=e; +//var attrs = node2.attributes; +//var len = attrs.length; +//for(var i=0;i0}, +/** + * Look up the prefix associated to the given namespace URI, starting from this node. + * **The default namespace declarations are ignored by this method.** + * See Namespace Prefix Lookup for details on the algorithm used by this method. + * + * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._ + * + * @param {string | null} namespaceURI + * @returns {string | null} + * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix + * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo + * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix + * @see https://github.com/xmldom/xmldom/issues/322 + */ +lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&n[i]===e)return i;t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},d(f,B),d(f,B.prototype),H.prototype={ +//implementation : null, +nodeName:"#document",nodeType:_, +/** + * The DocumentType node of the document. + * + * @readonly + * @type DocumentType + */ +doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==D){for(var n=e.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,t),n=i}return e}return re(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),$(this,e)},replaceChild:function(e,t){re(this,e,t,ie),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)}, +// Introduced in DOM Level 2: +importNode:function(e,t){return Te(this,e,t)}, +// Introduced in DOM Level 2: +getElementById:function(e){var t=null;return z(this.documentElement,(function(n){if(n.nodeType==p&&n.getAttribute("id")==e)return t=n,!0})),t}, +/** + * The `getElementsByClassName` method of `Document` interface returns an array-like object + * of all child elements which have **all** of the given class name(s). + * + * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters. + * + * + * Warning: This is a live LiveNodeList. + * Changes in the DOM will reflect in the array as the changes occur. + * If an element selected by this array no longer qualifies for the selector, + * it will automatically be removed. Be aware of this for iteration purposes. + * + * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName + * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname + */ +getElementsByClassName:function(e){var t=l(e);return new R(this,(function(n){var i=[];return t.length>0&&z(n.documentElement,(function(r){if(r!==n&&r.nodeType===p){var a=r.getAttribute("class");if(a){var s=e===a;if(!s){var o=l(a);s=t.every(h(o))}s&&i.push(r)}}})),i}))}, +//document factory method: +createElement:function(e){var t=new se;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new M,(t.attributes=new O)._ownerElement=t,t},createDocumentFragment:function(){var e=new me;return e.ownerDocument=this,e.childNodes=new M,e},createTextNode:function(e){var t=new le;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new he;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new de;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new be;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new oe;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ge;return t.ownerDocument=this,t.nodeName=e,t}, +// Introduced in DOM Level 2: +createElementNS:function(e,t){var n=new se,i=t.split(":"),r=n.attributes=new O;return n.childNodes=new M,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,r._ownerElement=n,n}, +// Introduced in DOM Level 2: +createAttributeNS:function(e,t){var n=new oe,i=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,n}},u(H,B),se.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}, +//four real opeartion method +appendChild:function(e){return e.nodeType===D?this.insertBefore(e,null):ae(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)}, +//get real attribute name,and remove it by removeAttributeNode +removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var i=this.ownerDocument.createAttributeNS(e,t);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,(function(t){var n=[];return z(t,(function(i){i===t||i.nodeType!=p||"*"!==e&&i.tagName!=e||n.push(i)})),n}))},getElementsByTagNameNS:function(e,t){return new R(this,(function(n){var i=[];return z(n,(function(r){r===n||r.nodeType!==p||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||i.push(r)})),i}))}},H.prototype.getElementsByTagName=se.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=se.prototype.getElementsByTagNameNS,u(se,B),oe.prototype.nodeType=g,u(oe,B),ce.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[S])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},u(ce,B),le.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},u(le,ce),he.prototype={nodeName:"#comment",nodeType:x},u(he,ce),de.prototype={nodeName:"#cdata-section",nodeType:b},u(de,ce),ue.prototype.nodeType=T,u(ue,B),fe.prototype.nodeType=A,u(fe,B),pe.prototype.nodeType=y,u(pe,B),ge.prototype.nodeType=v,u(ge,B),me.prototype.nodeName="#document-fragment",me.prototype.nodeType=D,u(me,B),be.prototype.nodeType=w,u(be,B),ve.prototype.serializeToString=function(e,t,n){return ye.call(e,t,n)},B.prototype.toString=ye;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case p:case D:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(R.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case p:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Ae=function(e,t,n){e["$$"+t]=n}}}catch(Ee){}n.DocumentType=ue,n.DOMException=F,n.DOMImplementation=W,n.Element=se,n.Node=B,n.NodeList=M,n.XMLSerializer=ve},{"./conventions":41}],44:[function(e,t,n){var i=e("./conventions").freeze;n.XML_ENTITIES=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n.HTML_ENTITIES=i({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),n.entityMap=n.HTML_ENTITIES},{"./conventions":41}],45:[function(e,t,n){var i=e("./dom");n.DOMImplementation=i.DOMImplementation,n.XMLSerializer=i.XMLSerializer,n.DOMParser=e("./dom-parser").DOMParser},{"./dom":43,"./dom-parser":42}],46:[function(e,t,n){var i=e("./conventions").NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+r.source+a.source+"*(?::"+r.source+a.source+"*)?$"),o=0,c=1,l=2,h=3,d=4,u=5,f=6,p=7;function g(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,g)}function m(){}function b(e,t,n,r,a){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function o(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function c(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,o);f&&l(b),r.characters(n,0,t-b),b=t}}function l(t,n){for(;t>=d&&(n=u.exec(e));)h=n.index,d=h+n[0].length,f.lineNumber++;f.columnNumber=t-h+1}for(var h=0,d=0,u=/.*(?:\r\n?|\n)|.*$/g,f=r.locator,p=[{currentNSMap:t}],m={},b=0;;){try{var T=e.indexOf("<",b);if(T<0){if(!e.substr(b).match(/^\s*$/)){var k=r.doc,S=k.createTextNode(e.substr(b));k.appendChild(S),r.currentElement=S}return}switch(T>b&&c(T),e.charAt(T+1)){case"/":var C=e.indexOf(">",T+3),U=e.substring(T+2,C).replace(/[ \t\n\r]+$/g,""),F=p.pop();C<0?(U=e.substring(T+2).replace(/[\s<].*/,""),a.error("end tag name: "+U+" is not complete:"+F.tagName),C=T+1+U.length):U.match(/\sb?b=C:c(Math.max(T,b)+1)}}function v(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function y(e,t,n,r,a,s){function g(e,t,i){n.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),n.addValue(e, +// @see https://www.w3.org/TR/xml/#AVNormalize +// since the xmldom sax parser does not "interpret" DTD the following is not implemented: +// - recursive replacement of (DTD) entity references +// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA +t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),i)}for(var m,b=++t,v=o;;){var y=e.charAt(b);switch(y){case"=":if(v===c)m=e.slice(t,b),v=h;else{if(v!==l)throw new Error("attribute equal must after attrName");v=h}break;case"'":case'"':if(v===h||v===c){if(v===c&&(s.warning('attribute value must after "="'),m=e.slice(t,b)),t=b+1,!((b=e.indexOf(y,t))>0))throw new Error("attribute value no end '"+y+"' match");g(m,w=e.slice(t,b),t-1),v=u}else{if(v!=d)throw new Error('attribute value must after "="');g(m,w=e.slice(t,b),t),s.warning('attribute "'+m+'" missed start quot('+y+")!!"),t=b+1,v=u}break;case"/":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:v=p,n.closed=!0;case d:case c:case l:break; +//case S_EQ: +default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),v==o&&n.setTagName(e.slice(t,b)),b;case">":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:break; +//normal +case d: +//Compatible state +case c:"/"===(w=e.slice(t,b)).slice(-1)&&(n.closed=!0,w=w.slice(0,-1));case l:v===l&&(w=m),v==d?(s.warning('attribute "'+w+'" missed quot(")!'),g(m,w,t)):(i.isHTML(r[""])&&w.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),g(w,w,t));break;case h:throw new Error("attribute value missed!!")}return b; +/*xml space '\x20' | #x9 | #xD | #xA; */case"€":y=" ";default:if(y<=" ")switch(v){case o:n.setTagName(e.slice(t,b)),v=f;break;case c:m=e.slice(t,b),v=l;break;case d:var w=e.slice(t,b);s.warning('attribute "'+w+'" missed quot(")!!'),g(m,w,t);case u:v=f}else switch(v){ +//case S_TAG:void();break; +//case S_ATTR:void();break; +//case S_ATTR_NOQUOT_VALUE:void();break; +case l:n.tagName,i.isHTML(r[""])&&m.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+m+'" missed value!! "'+m+'" instead2!!'),g(m,m,t),t=b,v=c;break;case u:s.warning('attribute space is required"'+m+'"!!');case f:v=c,t=b;break;case h:v=d,t=b;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}b++}}function w(e,t,n){for(var r=e.tagName,a=null,s=e.length;s--;){var o=e[s],c=o.qName,l=o.value;if((f=c.indexOf(":"))>0)var h=o.prefix=c.slice(0,f),d=c.slice(f+1),u="xmlns"===h&&d;else d=c,h=null,u="xmlns"===c&&"";o.localName=d,!1!==u&&(null==a&&(a={},T(n,n={})),n[u]=a[u]=l,o.uri=i.XMLNS,t.startPrefixMapping(u,l))}for(s=e.length;s--;)(h=(o=e[s]).prefix)&&("xml"===h&&(o.uri=i.XML),"xmlns"!==h&&(o.uri=n[h||""]));var f;(f=r.indexOf(":"))>0?(h=e.prefix=r.slice(0,f),d=e.localName=r.slice(f+1)):(h=null,d=e.localName=r);var p=e.uri=n[h||""];if(t.startElement(p,d,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(p,d,r),a)for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&t.endPrefixMapping(h)}function x(e,t,n,i,r){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("",t),s=e.substring(t+1,a);if(/[&<]/.test(s))return/^script$/i.test(n)?(r.characters(s,0,s.length),a):(s=s.replace(/&#?\w+;/g,i),r.characters(s,0,s.length),a)}return t+1}function _(e,t,n,i){var r=i[n];return null==r&&((r=e.lastIndexOf(""))t?(n.comment(e,t+4,r-t-4),r+3):(i.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,r-t-9),n.endCDATA(),r+3}var a=k(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],c=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var h=a[s-1];return n.startDTD(o,c,l),n.endDTD(),h.index+h[0].length}return-1}function A(e,t,n){var i=e.indexOf("?>",t);if(i){var r=e.substring(t,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return r?(r[0].length,n.processingInstruction(r[1],r[2]),i+2):-1}return-1}function E(){this.attributeNames={}}function k(e,t){var n,i=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(r.lastIndex=t,r.exec(e);n=r.exec(e);)if(i.push(n),n[1])return i}g.prototype=new Error,g.prototype.name=g.name,m.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),T(t,t={}),b(e,t,n,i,this.errorHandler),i.endDocument()}},E.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value} +// ,getIndex:function(uri, localName)){ +// if(localName){ + +// }else{ +// var qName = uri +// } +// }, +// getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))}, +// getType:function(uri,localName){} +// getType:function(i){}, +},n.XMLReader=m,n.ParseError=g},{"./conventions":41}],47:[function(e,t,n){n.byteLength=h,n.toByteArray=u,n.fromByteArray=g;for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=s.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function d(e,t,n){return 3*(t+n)/4-n}function u(e){var t,n,i=l(e),s=i[0],o=i[1],c=new a(d(e,s,o)),h=0,u=o>0?s-4:s;for(n=0;n>16&255,c[h++]=t>>8&255,c[h++]=255&t;return 2===o&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[h++]=255&t),1===o&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[h++]=t>>8&255,c[h++]=255&t),c}function f(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function p(e,t,n){for(var i,r=[],a=t;ac?c:o+s));return 1===r?(t=e[n-1],a.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],48:[function(e,t,n){t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),i=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),i}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],49:[function(e,t,n){(function(n){var i;try{throw new Error}catch(d){i=d}var r=e("./schedule"),a=e("./queue"),s=e("./util");function o(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new a(16),this._normalQueue=new a(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=r}function c(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function l(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function h(e){this._normalQueue._pushOne(e),this._queueTick()}o.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},o.prototype.hasCustomScheduler=function(){return this._customScheduler},o.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},o.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},o.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},o.prototype.fatalError=function(e,t){t?(n.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),n.exit(2)):this.throwLater(e)},o.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(d){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(o.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?c.call(this,e,t,n):this._schedule((function(){setTimeout((function(){e.call(t,n)}),100)}))},o.prototype.invoke=function(e,t,n){this._trampolineEnabled?l.call(this,e,t,n):this._schedule((function(){e.call(t,n)}))},o.prototype.settlePromises=function(e){this._trampolineEnabled?h.call(this,e):this._schedule((function(){e._settlePromises()}))}):(o.prototype.invokeLater=c,o.prototype.invoke=l,o.prototype.settlePromises=h),o.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),i=e.shift();t.call(n,i)}else t._settlePromises()}},o.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},o.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},o.prototype._reset=function(){this._isTickUsed=!1},t.exports=o,t.exports.firstLineError=i}).call(this,e("_process"))},{"./queue":72,"./schedule":75,"./util":82,_process:101}],50:[function(e,t,n){t.exports=function(e,t,n,i){var r=!1,a=function(e,t){this._reject(t)},s=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(a,a,null,this,e)},o=function(e,t){50397184&this._bitField||this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(a){r||(r=!0,e.prototype._propagateFrom=i.propagateFromFunction(),e.prototype._boundValue=i.boundValueFunction());var l=n(a),h=new e(t);h._propagateFrom(this,1);var d=this._target();if(h._setBoundTo(l),l instanceof e){var u={promiseRejectionQueued:!1,promise:h,target:d,bindingPromise:l};d._then(t,s,void 0,h,u),l._then(o,c,void 0,h,u),h._setOnCancel(l)}else h._resolveCallback(d);return h},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return!(2097152&~this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],51:[function(e,t,n){var i=Object.create;if(i){var r=i(null),a=i(null);r[" size"]=a[" size"]=0}t.exports=function(t){var n,i,s=e("./util"),o=s.canEvaluate,c=s.isIdentifier,l=function(e){return new Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(u)},h=function(e){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))},d=function(e,t,n){var i=n[e];if("function"!=typeof i){if(!c(e))return null;if(i=t(e),n[e]=i,n[" size"]++,n[" size"]>512){for(var r=Object.keys(n),a=0;a<256;++a)delete n[r[a]];n[" size"]=r.length-256}}return i};function u(e,n){var i;if(null!=e&&(i=e[n]),"function"!=typeof i){var r="Object "+s.classString(e)+" has no method '"+s.toString(n)+"'";throw new t.TypeError(r)}return i}function f(e){return u(e,this.pop()).apply(e,this)}function p(e){return e[this]}function g(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n=function(e){return d(e,l,r)},i=function(e){return d(e,h,a)},t.prototype.call=function(e){for(var t=arguments.length,i=new Array(Math.max(t-1,0)),r=1;r0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var n=0;n=0)return n[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},i.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},i.prototype._popContext=function(){if(void 0!==this._trace){var e=n.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},i.CapturedTrace=null,i.create=r,i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var n=e.prototype._pushContext,r=e.prototype._popContext,s=e._peekContext,o=e.prototype._peekContext,c=e.prototype._promiseCreated;i.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=r,e._peekContext=s,e.prototype._peekContext=o,e.prototype._promiseCreated=c,t=!1},t=!0,e.prototype._pushContext=i.prototype._pushContext,e.prototype._popContext=i.prototype._popContext,e._peekContext=e.prototype._peekContext=a,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},i}},{}],55:[function(e,t,n){(function(n){t.exports=function(t,i){var r,a,s,o=t._getDomain,c=t._async,l=e("./errors").Warning,h=e("./util"),d=h.canAttachTrace,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,p=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,g=null,m=null,b=!1,v=!(0==h.env("BLUEBIRD_DEBUG")||!h.env("BLUEBIRD_DEBUG")&&"development"!==h.env("NODE_ENV")),y=!(0==h.env("BLUEBIRD_WARNINGS")||!v&&!h.env("BLUEBIRD_WARNINGS")),w=!(0==h.env("BLUEBIRD_LONG_STACK_TRACES")||!v&&!h.env("BLUEBIRD_LONG_STACK_TRACES")),x=0!=h.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(y||!!h.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){524288&this._bitField||(this._setRejectionIsUnhandled(),c.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){K("rejectionHandled",r,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return!!(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),K("unhandledRejection",a,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return z(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=o();a="function"==typeof e?null===t?e:h.domainBind(t,e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r="function"==typeof e?null===t?e:h.domainBind(t,e):void 0};var _=function(){};t.longStackTraces=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!se.longStackTraces&&Q()){var e=t.prototype._captureStackTrace,n=t.prototype._attachExtraTrace;se.longStackTraces=!0,_=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=n,i.deactivateLongStackTraces(),c.enableTrampoline(),se.longStackTraces=!1},t.prototype._captureStackTrace=L,t.prototype._attachExtraTrace=W,i.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return se.longStackTraces&&Q()};var T=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return h.global.dispatchEvent(e),function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!h.global.dispatchEvent(n)}}return"function"==typeof Event?(e=new Event("CustomEvent"),h.global.dispatchEvent(e),function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});return n.detail=t,!h.global.dispatchEvent(n)}):((e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),h.global.dispatchEvent(e),function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!h.global.dispatchEvent(n)})}catch(t){}return function(){return!1}}(),D=h.isNode?function(){return n.emit.apply(n,arguments)}:h.global?function(e){var t="on"+e.toLowerCase(),n=h.global[t];return!!n&&(n.apply(h.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function A(e,t){return{promise:t}}var E={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:A},k=function(e){var t=!1;try{t=D.apply(null,arguments)}catch(i){c.throwLater(i),t=!0}var n=!1;try{n=T(e,E[e].apply(null,arguments))}catch(i){c.throwLater(i),n=!0}return n||t};function S(){return!1}function C(e,t,n){var i=this;try{e(t,n,(function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+h.toString(e));i._attachCancellationCallback(e)}))}catch(r){return r}}function U(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?h.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function F(){return this._onCancelField}function M(e){this._onCancelField=e}function R(){this._cancellationParent=void 0,this._onCancelField=void 0}function I(e,t){if(1&t){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}function O(e,t){2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}t.config=function(e){if("longStackTraces"in(e=Object(e))&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&_()),"warnings"in e){var n=e.warnings;se.warnings=!!n,x=se.warnings,h.isObject(n)&&"wForgottenReturn"in n&&(x=!!n.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!se.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=R,t.prototype._propagateFrom=I,t.prototype._onCancel=F,t.prototype._setOnCancel=M,t.prototype._attachCancellationCallback=U,t.prototype._execute=C,N=I,se.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!se.monitoring?(se.monitoring=!0,t.prototype._fireEvent=k):!e.monitoring&&se.monitoring&&(se.monitoring=!1,t.prototype._fireEvent=S)),t},t.prototype._fireEvent=S,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(i){return i}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var N=O;function P(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function L(){this._trace=new re(this._peekContext())}function W(e,t){if(d(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=q(e);h.notEnumerableProp(e,"stack",i.message+"\n"+i.stack.join("\n")),h.notEnumerableProp(e,"__stackCleaned__",!0)}}}function B(e,t,n,i,r){if(void 0===e&&null!==t&&x){if(void 0!==r&&r._returnedNonUndefined())return;if(!(65535&i._bitField))return;n&&(n+=" ");var a="",s="";if(t._trace){for(var o=t._trace.stack.split("\n"),c=X(o),l=c.length-1;l>=0;--l){var h=c[l];if(!f.test(h)){var d=h.match(p);d&&(a="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(c.length>0){var u=c[0];for(l=0;l0&&(s="\n"+o[l-1]);break}}}var g="a promise was created in a "+n+"handler "+a+"but was not returned from it, see http://goo.gl/rRqMUw"+s;i._warn(g,!0,t)}}function j(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),z(n)}function z(e,n,i){if(se.warnings){var r,a=new l(e);if(n)i._attachExtraTrace(a);else if(se.longStackTraces&&(r=t._peekContext()))r.attachExtraTrace(a);else{var s=q(a);a.stack=s.message+"\n"+s.stack.join("\n")}k("warning",a)||Y(a,"",!0)}}function H(e,t){for(var n=0;n=0;--o)if(i[o]===a){s=o;break}for(o=s;o>=0;--o){var c=i[o];if(t[r]!==c)break;t.pop(),r--}t=i}}function X(e){for(var t=[],n=0;n0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}function q(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?$(e):[" (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:X(t)}}function Y(e,t,n){if("undefined"!=typeof console){var i;if(h.isObject(e)){var r=e.stack;i=t+m(r,e)}else i=t+String(e);"function"==typeof s?s(i,n):"function"==typeof console.log||console.log}}function K(e,t,n,i){var r=!1;try{"function"==typeof t&&(r=!0,"rejectionHandled"===e?t(i):t(n,i))}catch(a){c.throwLater(a)}"unhandledRejection"===e?k(e,n,i)||r||Y(n,"Unhandled rejection "):k(e,i)}function Z(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e&&"function"==typeof e.toString?e.toString():h.toString(e),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(n){}0===t.length&&(t="(empty array)")}return"(<"+J(t)+">, no stack trace)"}function J(e){var t=41;return e.length=o||(ee=function(e){if(u.test(e))return!0;var t=ne(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=o)})}}function re(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ae(this,re),t>32&&this.uncycle()}h.inherits(re,Error),i.CapturedTrace=re,re.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},i=0,r=this;void 0!==r;++i)t.push(r),r=r._parent;for(i=(e=this._length=i)-1;i>=0;--i){var a=t[i].stack;void 0===n[a]&&(n[a]=i)}for(i=0;i0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[i]._parent=void 0,t[i]._length=1;var o=i>0?t[i-1]:this;s=0;--l)t[l]._length=c,c++;return}}}},re.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=q(e),n=t.message,i=[t.stack],r=this;void 0!==r;)i.push(X(r.stack.split("\n"))),r=r._parent;G(i),V(i),h.notEnumerableProp(e,"stack",H(n,i)),h.notEnumerableProp(e,"__stackCleaned__",!0)}};var ae=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():Z(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,g=e,m=t;var n=Error.captureStackTrace;return ee=function(e){return u.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var i,r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return g=/@/,m=t,b=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(a){i="stack"in a}return!("stack"in r)&&i&&"number"==typeof Error.stackTraceLimit?(g=e,m=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(a){e.stack=a.stack}Error.stackTraceLimit-=6}):(m=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?Z(t):t.toString()},null)}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(e){},h.isNode&&n.stderr.isTTY?s=function(e,t){}:h.isNode||"string"!=typeof(new Error).stack||(s=function(e,t){}));var se={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return w&&t.longStackTraces(),{longStackTraces:function(){return se.longStackTraces},warnings:function(){return se.warnings},cancellation:function(){return se.cancellation},monitoring:function(){return se.monitoring},propagateFromFunction:function(){return N},boundValueFunction:function(){return P},checkForgottenReturns:B,setBounds:ie,warn:z,deprecated:j,CapturedTrace:re,fireDomEvent:T,fireGlobalEvent:D}}}).call(this,e("_process"))},{"./errors":58,"./util":82,_process:101}],56:[function(e,t,n){t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],i=function(){throw t};return this.caught(e,i)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var i=arguments[1];i instanceof e&&i.suppressUnhandledRejections();var r=function(){return i};return this.caught(n,r)}}},{}],57:[function(e,t,n){t.exports=function(e,t){var n=e.reduce,i=e.all;function r(){return i(this)}function a(e,i){return n(e,i,t,t)}e.prototype.each=function(e){return n(this,e,t,0)._then(r,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return n(this,e,t,t)},e.each=function(e,i){return n(e,i,t,0)._then(r,void 0,void 0,e,void 0)},e.mapSeries=a}},{}],58:[function(e,t,n){var i,r,a=e("./es5"),s=a.freeze,o=e("./util"),c=o.inherits,l=o.notEnumerableProp;function h(e,t){function n(i){if(!(this instanceof n))return new n(i);l(this,"message","string"==typeof i?i:t),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(n,Error),n}var d=h("Warning","warning"),u=h("CancellationError","cancellation error"),f=h("TimeoutError","timeout error"),p=h("AggregateError","aggregate error");try{i=TypeError,r=RangeError}catch(w){i=h("TypeError","type error"),r=h("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return d.call(this,this.promise._target()._settledValue())}function h(e){if(!c(this,e))return a.e=e,a}function d(e){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var d=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),e);if(void 0!==d){i._setReturnedNonUndefined();var u=n(d,i);if(u instanceof t){if(null!=this.cancelPromise){if(u._isCancelled()){var f=new r("late cancellation observer");return i._attachExtraTrace(f),a.e=f,a}u.isPending()&&u._attachCancellationCallback(new o(this))}return u._then(l,h,void 0,this,void 0)}}}return i.isRejected()?(c(this),a.e=e,a):(c(this),e)}return s.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){c(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return"function"!=typeof e?this.then():this._then(n,i,void 0,new s(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,d,d)},t.prototype.tap=function(e){return this._passThrough(e,1,d)},s}},{"./util":82}],62:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./errors").TypeError,c=e("./util"),l=c.errorObj,h=c.tryCatch,d=[];function u(e,n,i){for(var a=0;a0&&"function"==typeof arguments[a]&&(e=arguments[a],a<=8&&l)){(_=new t(r))._captureStackTrace();for(var h=new(0,g[a-1])(e),d=m,u=0;u=1?s:0,a).promise()}c.inherits(u,n),u.prototype._asyncInit=function(){this._init$(void 0,-2)},u.prototype._init=function(){},u.prototype._promiseFulfilled=function(e,n){var i=this._values,a=this.length(),o=this._preservedValues,c=this._limit;if(n<0){if(i[n=-1*n-1]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return i[n]=e,this._queue.push(n),!1;null!==o&&(o[n]=e);var d=this._promise,u=this._callback,f=d._boundValue();d._pushContext();var p=l(u).call(f,e,n,a),g=d._popContext();if(s.checkForgottenReturns(p,g,null!==o?"Promise.filter":"Promise.map",d),p===h)return this._reject(p.e),!0;var m=r(p,this._promise);if(m instanceof t){var b=(m=m._target())._bitField;if(!(50397184&b))return c>=1&&this._inFlight++,i[n]=m,m._proxy(this,-1*(n+1)),!1;if(!(33554432&b))return 16777216&b?(this._reject(m._reason()),!0):(this._cancel(),!0);p=m._value()}i[n]=p}return++this._totalResolved>=a&&(null!==o?this._filter(i,o):this._resolve(i),!0)},u.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight1){a.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],h=arguments[2];i=s.isArray(l)?o(e).apply(h,l):o(e).call(h,l)}else i=o(e)();var d=c._popContext();return a.checkForgottenReturns(i,d,"Promise.try",c),c._resolveFromSyncValue(i),c},t.prototype._resolveFromSyncValue=function(e){e===s.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":82}],66:[function(e,t,n){var i=e("./util"),r=i.maybeWrapAsError,a=e("./errors").OperationalError,s=e("./es5");function o(e){return e instanceof Error&&s.getPrototypeOf(e)===Error.prototype}var c=/^(?:name|message|stack|cause)$/;function l(e){var t;if(o(e)){(t=new a(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=s.keys(e),r=0;r1){var n,i=new Array(t-1),r=0;for(n=0;n0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+l.classString(e);arguments.length>1&&(n+=", "+l.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},U.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},U.prototype.spread=function(e){return"function"!=typeof e?a("expecting a function but got "+l.classString(e)):this.all()._then(e,void 0,void 0,b,void 0)},U.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},U.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new w(this).promise()},U.prototype.error=function(e){return this.caught(l.originatesFromRejection,e)},U.getNewLibraryCopy=t.exports,U.is=function(e){return e instanceof U},U.fromNode=U.fromCallback=function(e){var t=new U(m);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,i=S(e)(E(t,n));return i===k&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},U.all=function(e){return new w(e).promise()},U.cast=function(e){var t=y(e);return t instanceof U||((t=new U(m))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},U.resolve=U.fulfilled=U.cast,U.reject=U.rejected=function(e){var t=new U(m);return t._captureStackTrace(),t._rejectCallback(e,!0),t},U.setScheduler=function(e){if("function"!=typeof e)throw new p("expecting a function but got "+l.classString(e));return u.setScheduler(e)},U.prototype._then=function(e,t,n,i,r){var a=void 0!==r,s=a?r:new U(m),c=this._target(),h=c._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===i&&2097152&this._bitField&&(i=50397184&h?this._boundValue():c===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var d=o();if(50397184&h){var f,p,b=c._settlePromiseCtx;33554432&h?(p=c._rejectionHandler0,f=e):16777216&h?(p=c._fulfillmentHandler0,f=t,c._unsetRejectionIsUnhandled()):(b=c._settlePromiseLateCancellationObserver,p=new g("late cancellation observer"),c._attachExtraTrace(p),f=t),u.invoke(b,c,{handler:null===d?f:"function"==typeof f&&l.domainBind(d,f),promise:s,receiver:i,value:p})}else c._addCallbacks(e,t,s,i,d);return s},U.prototype._length=function(){return 65535&this._bitField},U.prototype._isFateSealed=function(){return!!(117506048&this._bitField)},U.prototype._isFollowing=function(){return!(67108864&~this._bitField)},U.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},U.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},U.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},U.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},U.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},U.prototype._isFinal=function(){return(4194304&this._bitField)>0},U.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},U.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},U.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},U.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},U.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},U.prototype._promiseAt=function(e){return this[4*e-4+2]},U.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},U.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},U.prototype._boundValue=function(){},U.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,n=e._rejectionHandler0,i=e._promise0,r=e._receiverAt(0);void 0===r&&(r=c),this._addCallbacks(t,n,i,r,null)},U.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),i=e._rejectionHandlerAt(t),r=e._promiseAt(t),a=e._receiverAt(t);void 0===a&&(a=c),this._addCallbacks(n,i,r,a,null)},U.prototype._addCallbacks=function(e,t,n,i,r){var a=this._length();if(a>=65531&&(a=0,this._setLength(0)),0===a)this._promise0=n,this._receiver0=i,"function"==typeof e&&(this._fulfillmentHandler0=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this._rejectionHandler0=null===r?t:l.domainBind(r,t));else{var s=4*a-4;this[s+2]=n,this[s+3]=i,"function"==typeof e&&(this[s+0]=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this[s+1]=null===r?t:l.domainBind(r,t))}return this._setLength(a+1),a},U.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},U.prototype._resolveCallback=function(e,t){if(!(117506048&this._bitField)){if(e===this)return this._rejectCallback(i(),!1);var n=y(e,this);if(!(n instanceof U))return this._fulfill(e);t&&this._propagateFrom(n,2);var r=n._target();if(r!==this){var a=r._bitField;if(50397184&a)if(33554432&a)this._fulfill(r._value());else if(16777216&a)this._reject(r._reason());else{var s=new g("late cancellation observer");r._attachExtraTrace(s),this._reject(s)}else{var o=this._length();o>0&&r._migrateCallback0(this);for(var c=1;c>>16)){if(e===this){var n=i();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(134217728&t?this._settlePromises():u.settlePromises(this))}},U.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return u.fatalError(e,l.isNode);(65535&t)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},U.prototype._fulfillPromises=function(e,t){for(var n=1;n0){if(16842752&e){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var i=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,i,e),this._fulfillPromises(t,i)}this._setLength(0)}this._clearCancellationData()},U.prototype._settledValue=function(){var e=this._bitField;return 33554432&e?this._rejectionHandler0:16777216&e?this._fulfillmentHandler0:void 0},U.defer=U.pending=function(){return T.deprecated("Promise.defer","new Promise"),{promise:new U(m),resolve:F,reject:M}},l.notEnumerableProp(U,"_makeSelfResolutionError",i),e("./method")(U,m,y,a,T),e("./bind")(U,m,y,T),e("./cancel")(U,w,a,T),e("./direct_resolve")(U),e("./synchronous_inspection")(U),e("./join")(U,w,y,m,u,o),U.Promise=U,U.version="3.4.7",e("./map.js")(U,w,a,y,m,T),e("./call_get.js")(U),e("./using.js")(U,a,y,_,m,T),e("./timers.js")(U,m,T),e("./generators.js")(U,a,m,y,s,T),e("./nodeify.js")(U),e("./promisify.js")(U,m),e("./props.js")(U,w,y,a),e("./race.js")(U,m,y,a),e("./reduce.js")(U,w,a,y,m,T),e("./settle.js")(U,w,T),e("./some.js")(U,w,a),e("./filter.js")(U,m),e("./each.js")(U,m),e("./any.js")(U),l.toFastProperties(U),l.toFastProperties(U.prototype),R({a:1}),R({b:2}),R({c:3}),R(1),R((function(){})),R(void 0),R(!1),R(new U(m)),T.setBounds(d.firstLineError,l.lastLineError),U}}).call(this,e("_process"))},{"./any.js":48,"./async":49,"./bind":50,"./call_get.js":51,"./cancel":52,"./catch_filter":53,"./context":54,"./debuggability":55,"./direct_resolve":56,"./each.js":57,"./errors":58,"./es5":59,"./filter.js":60,"./finally":61,"./generators.js":62,"./join":63,"./map.js":64,"./method":65,"./nodeback":66,"./nodeify.js":67,"./promise_array":69,"./promisify.js":70,"./props.js":71,"./race.js":73,"./reduce.js":74,"./settle.js":76,"./some.js":77,"./synchronous_inspection":78,"./thenables":79,"./timers.js":80,"./using.js":81,"./util":82,_process:101}],69:[function(e,t,n){t.exports=function(t,n,i,r,a){var s=e("./util");function o(e){switch(e){case-2:return[];case-3:return{}}}function c(e){var i=this._promise=new t(n);e instanceof t&&i._propagateFrom(e,3),i._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return s.isArray,s.inherits(c,a),c.prototype.length=function(){return this._length},c.prototype.promise=function(){return this._promise},c.prototype._init=function e(n,a){var c=i(this._values,this._promise);if(c instanceof t){var l=(c=c._target())._bitField;if(this._values=c,!(50397184&l))return this._promise._setAsyncGuaranteed(),c._then(e,this._reject,void 0,this,a);if(!(33554432&l))return 16777216&l?this._reject(c._reason()):this._cancel();c=c._value()}if(null!==(c=s.asArray(c)))0!==c.length?this._iterate(c):-5===a?this._resolveEmptyArray():this._resolve(o(a));else{var h=r("expecting an array or an iterable object but got "+s.classString(c)).reason();this._promise._rejectCallback(h,!1)}},c.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var r=this._promise,a=!1,s=null,o=0;o=this._length&&(this._resolve(this._values),!0)},c.prototype._promiseCancelled=function(){return this._cancel(),!0},c.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},c.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n=n;--i)t.push(i);for(i=e+1;i<=3;++i)t.push(i);return t},x=function(e){return r.filledRange(e,"_arg","")},_=function(e){return r.filledRange(Math.max(e,3),"_arg","")},T=function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};function D(e,c,l,h,d,u){var f=function(){return this}(),p=e;function g(){var r=c;c===i&&(r=this);var l=new t(n);l._captureStackTrace();var h="string"==typeof p&&this!==f?this[p]:e,d=a(l,u);try{h.apply(r,s(arguments,d))}catch(g){l._rejectCallback(o(g),!0,!0)}return l._isFateSealed()||l._setAsyncGuaranteed(),l}return"string"==typeof p&&(e=h),r.notEnumerableProp(g,"__isPromisified__",!0),g}var A=c?function(e,c,l,h,d,u){var f=Math.max(0,T(h)-1),p=w(f),g="string"==typeof e||c===i;function m(e){var t=x(e).join(", "),n=e>0?", ":"";return(g?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===c?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",n)}function b(){for(var e="",t=0;t=this._length){var n;if(this._isMap)n=h(this._values);else{n={};for(var i=this.length(),r=0,a=this.length();r>1},t.prototype.props=function(){return u(this)},t.props=function(e){return u(e)}}},{"./es5":59,"./util":82}],72:[function(e,t,n){function i(e,t,n,i,r){for(var a=0;a=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var n=new r;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},a.prototype._promiseRejected=function(e,t){var n=new r;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return i.deprecated(".settle()",".reflect()"),new a(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":82}],77:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=e("./errors").RangeError,s=e("./errors").AggregateError,o=r.isArray,c={};function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function h(e,t){if((0|t)!==t||t<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new l(e),r=n.promise();return n.setHowMany(t),n.init(),r}r.inherits(l,n),l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=o(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},l.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new s,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new a(t)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return h(e,t)},t.prototype.some=function(e){return h(this,e)},t._SomePromiseArray=l}},{"./errors":58,"./util":82}],78:[function(e,t,n){t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.isFulfilled=function(){return!!(33554432&this._bitField)},a=t.prototype.isRejected=function(){return!!(16777216&this._bitField)},s=t.prototype.isPending=function(){return!(50397184&this._bitField)},o=t.prototype.isResolved=function(){return!!(50331648&this._bitField)};t.prototype.isCancelled=function(){return!!(8454144&this._bitField)},e.prototype.__isCancelled=function(){return!(65536&~this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return!!(8454144&this._target()._bitField)},e.prototype.isPending=function(){return s.call(this._target())},e.prototype.isRejected=function(){return a.call(this._target())},e.prototype.isFulfilled=function(){return r.call(this._target())},e.prototype.isResolved=function(){return o.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),i.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],79:[function(e,t,n){t.exports=function(t,n){var i=e("./util"),r=i.errorObj,a=i.isObject;function s(e,i){if(a(e)){if(e instanceof t)return e;var s=c(e);if(s===r){i&&i._pushContext();var o=t.reject(s.e);return i&&i._popContext(),o}if("function"==typeof s)return h(e)?(o=new t(n),e._then(o._fulfill,o._reject,void 0,o,null),o):d(e,s,i)}return e}function o(e){return e.then}function c(e){try{return o(e)}catch(t){return r.e=t,r}}var l={}.hasOwnProperty;function h(e){try{return l.call(e,"_promise0")}catch(t){return!1}}function d(e,a,s){var o=new t(n),c=o;s&&s._pushContext(),o._captureStackTrace(),s&&s._popContext();var l=!0,h=i.tryCatch(a).call(e,d,u);function d(e){o&&(o._resolveCallback(e),o=null)}function u(e){o&&(o._rejectCallback(e,l,!0),o=null)}return l=!1,o&&h===r&&(o._rejectCallback(h.e,!0,!0),o=null),c}return s}},{"./util":82}],80:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=t.TimeoutError;function s(e){this.handle=e}s.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(e){return c(+this).thenReturn(e)},c=t.delay=function(e,r){var a,c;return void 0!==r?(a=t.resolve(r)._then(o,null,null,e,void 0),i.cancellation()&&r instanceof t&&a._setOnCancel(r)):(a=new t(n),c=setTimeout((function(){a._fulfill()}),+e),i.cancellation()&&a._setOnCancel(new s(c)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return c(e,this)};var l=function(e,t,n){var i;i="string"!=typeof t?t instanceof Error?t:new a("operation timed out"):new a(t),r.markAsOriginatingFromRejection(i),e._attachExtraTrace(i),e._reject(i),null!=n&&n.cancel()};function h(e){return clearTimeout(this.handle),e}function d(e){throw clearTimeout(this.handle),e}t.prototype.timeout=function(e,t){var n,r;e=+e;var a=new s(setTimeout((function(){n.isPending()&&l(n,t,r)}),e));return i.cancellation()?(r=this.then(),(n=r._then(h,d,void 0,a,void 0))._setOnCancel(a)):n=this._then(h,d,void 0,a,void 0),n}}},{"./util":82}],81:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./util"),c=e("./errors").TypeError,l=e("./util").inherits,h=o.errorObj,d=o.tryCatch,u={};function f(e){setTimeout((function(){throw e}),0)}function p(e){var t=i(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function g(e,n){var r=0,s=e.length,o=new t(a);function c(){if(r>=s)return o._fulfill();var a=p(e[r++]);if(a instanceof t&&a._isDisposable()){try{a=i(a._getDisposer().tryDispose(n),e.promise)}catch(l){return f(l)}if(a instanceof t)return a._then(c,f,null,null,null)}c()}return c(),o}function m(e,t,n){this._data=e,this._promise=t,this._context=n}function b(e,t,n){this.constructor$(e,t,n)}function v(e){return m.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function y(e){this.length=e,this.promise=null,this[e-1]=null}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():u},m.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var i=t!==u?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,i},m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},l(b,m),b.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},y.prototype._resultCancelled=function(){for(var e=this.length,n=0;n0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new b(e,this,r());throw new c}}},{"./errors":58,"./util":82}],82:[function(e,t,n){(function(n,i){var r,a=e("./es5"),s="undefined"==typeof navigator,o={e:{}},c="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i?i:void 0!==this?this:null;function l(){try{var e=r;return r=null,e.apply(this,arguments)}catch(t){return o.e=t,o}}function h(e){return r=e,l}var d=function(e,t){var n={}.hasOwnProperty;function i(){for(var i in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=t.prototype[i])}return i.prototype=t.prototype,e.prototype=new i,e.prototype};function u(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return"function"==typeof e||"object"==typeof e&&null!==e}function p(e){return u(e)?new Error(E(e)):e}function g(e,t){var n,i=e.length,r=new Array(i+1);for(n=0;n1,i=t.length>0&&!(1===t.length&&"constructor"===t[0]),r=w.test(e+"")&&a.names(e).length>0;if(n||i||r)return!0}return!1}catch(s){return!1}}function _(e){return e}var T=/^[a-z$_][a-z$_0-9]*$/i;function D(e){return T.test(e)}function A(e,t,n){for(var i=new Array(e),r=0;r10||j[0]>0),z.isNode&&z.toFastProperties(n);try{throw new Error}catch(H){z.lastLineError=H}t.exports=z}).call(this,e("_process"),void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./es5":59,_process:101}],83:[function(e,t,n){(function(t){var i=e("base64-js"),r=e("ieee754"),a=e("isarray");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&// typed array instances can be augmented +"function"==typeof e.subarray&&// chrome 9-10 lack `subarray` +0===e.subarray(1,1).byteLength}catch(t){return!1}}function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),l.alloc(+e)}function w(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return K(e).length;t=(""+t).toLowerCase(),i=!0}}function x(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function T(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:D(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):D(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function D(e,t,n,i,r){var a,s=1,o=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,o/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var h=-1;for(a=n;ao&&(n=o-c),a=n;a>=0;a--){for(var d=!0,u=0;ur&&(i=r):i=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var s=0;s239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(h=l);break;case 2:128==(192&(a=e[r+1]))&&(c=(31&l)<<6|63&a)>127&&(h=c);break;case 3:a=e[r+1],s=e[r+2],128==(192&a)&&128==(192&s)&&(c=(15&l)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:a=e[r+1],s=e[r+2],o=e[r+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(c=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&c<1114112&&(h=c)}null===h?(h=65533,d=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),r+=d}return I(i)}n.Buffer=l,n.SlowBuffer=y,n.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return h(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return u(null,e,t,n)},l.allocUnsafe=function(e){return f(null,e)},l.allocUnsafeSlow=function(e){return f(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),o=Math.min(a,s),c=this.slice(i,r),h=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function I(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);for(var n="",i=0;ii)&&(n=i);for(var r="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,n,i,r,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function j(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function z(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function H(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(e,t,n,i,a){return a||H(e,t,n,4),r.write(e,t,n,i,23,4),n+4}function G(e,t,n,i,a){return a||H(e,t,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||W(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||W(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||W(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||W(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||W(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=this[e],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=t,r=1,a=this[e+--i];i>0&&(r*=256);)a+=this[e+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||W(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||W(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||W(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||W(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||W(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||B(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+r]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):z(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}var a=0,s=1,o=0;for(this[t]=255&e;++a=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):z(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Z(e){for(var t=[],n=0;n>8,r=n%256,a.push(r),a.push(i);return a}function Q(e){return i.toByteArray($(e))}function ee(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function te(e){return e!=e}}).call(this,void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":47,ieee754:86,isarray:87}],84:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];n.default=i},{}],85:[function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.hex=n.dec=n.codePoint=void 0;for(var r=i(e("./dingbats")),a={},s=String.fromCodePoint?String.fromCodePoint:g,o=0,c=r.default;o>1,h=-7,d=n?r-1:0,u=n?-1:1,f=e[t+d];for(d+=u,a=f&(1<<-h)-1,f>>=-h,h+=o;h>0;a=256*a+e[t+d],d+=u,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=i;h>0;s=256*s+e[t+d],d+=u,h-=8);if(0===a)a=1-l;else{if(a===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,i),a-=l}return(f?-1:1)*s*Math.pow(2,a-i)},n.write=function(e,t,n,i,r,a){var s,o,c,l=8*a-r-1,h=(1<>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+d>=1?u/c:u*Math.pow(2,1-d))*c>=2&&(s++,c/=2),s+d>=h?(o=0,s=h):s+d>=1?(o=(t*c-1)*Math.pow(2,r),s+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+f]=255&o,f+=p,o/=256,r-=8);for(s=s<0;e[n+f]=255&s,f+=p,s/=256,l-=8);e[n+f-p]|=128*g}},{}],87:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],88:[function(e,t,n){(function(i,r){ +/*! + + JSZip v3.7.1 - A JavaScript class for generating and reading zip files + + + (c) 2009-2016 Stuart Knightley + Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + + JSZip uses the library pako released under the MIT license : + https://github.com/nodeca/pako/blob/master/LICENSE + */ +!function(e){"object"==typeof n&&void 0!==t?t.exports=e():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=e()}((function(){return function t(n,i,r){function a(o,c){if(!i[o]){if(!n[o]){var l="function"==typeof e&&e;if(!c&&l)return l(o,!0);if(s)return s(o,!0);var h=new Error("Cannot find module '"+o+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[o]={exports:{}};n[o][0].call(d.exports,(function(e){return a(n[o][1][e]||e)}),d,d.exports,t,n,i,r)}return i[o].exports}for(var s="function"==typeof e&&e,o=0;o>2,o=(3&t)<<4|n>>4,c=1>6:64,l=2>4,n=(15&s)<<4|(o=a.indexOf(e.charAt(l++)))>>2,i=(3&o)<<6|(c=a.indexOf(e.charAt(l++))),u[h++]=t,64!==o&&(u[h++]=n),64!==c&&(u[h++]=i);return u}},{"./support":30,"./utils":32}],2:[function(e,t,n){var i=e("./external"),r=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function o(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o>>8^a[255&(e^t[o])];return~e}(0|t,e,e.length,0):function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o>>8^a[255&(e^t.charCodeAt(o))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),a=e("./utils"),s=e("./stream/GenericWorker"),o=i?"uint8array":"array";function c(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(c,s),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(o,e.data),!1)},c.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function i(e,t){var n,i="";for(n=0;n>>=8;return i}function r(e,t,n,r,s,h){var d,u,f=e.file,p=e.compression,g=h!==o.utf8encode,m=a.transformTo("string",h(f.name)),b=a.transformTo("string",o.utf8encode(f.name)),v=f.comment,y=a.transformTo("string",h(v)),w=a.transformTo("string",o.utf8encode(v)),x=b.length!==f.name.length,_=w.length!==v.length,T="",D="",A="",E=f.dir,k=f.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),g||!x&&!_||(C|=2048);var U,F,M,R=0,I=0;E&&(R|=16),"UNIX"===s?(I=798,R|=(U=f.unixPermissions,F=E,M=U,U||(M=F?16893:33204),(65535&M)<<16)):(I=20,R|=function(e){return 63&(e||0)}(f.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,u=k.getUTCFullYear()-1980,u<<=4,u|=k.getUTCMonth()+1,u<<=5,u|=k.getUTCDate(),x&&(D=i(1,1)+i(c(m),4)+b,T+="up"+i(D.length,2)+D),_&&(A=i(1,1)+i(c(y),4)+w,T+="uc"+i(A.length,2)+A);var O="";return O+="\n\0",O+=i(C,2),O+=p.magic,O+=i(d,2),O+=i(u,2),O+=i(S.crc32,4),O+=i(S.compressedSize,4),O+=i(S.uncompressedSize,4),O+=i(m.length,2),O+=i(T.length,2),{fileRecord:l.LOCAL_FILE_HEADER+O+m+T,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+O+i(y.length,2)+"\0\0\0\0"+i(R,4)+i(r,4)+m+T+y}}var a=e("../utils"),s=e("../stream/GenericWorker"),o=e("../utf8"),c=e("../crc32"),l=e("../signature");function h(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(h,s),h.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,a=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),n)this.push({data:(t=e,l.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var i=e("../utils"),r=e("../support"),a=e("./ArrayReader"),s=e("./StringReader"),o=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new o(e):r.uint8array?new c(i.transformTo("uint8array",e)):new a(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){var i=e("./GenericWorker"),r=e("../utils");function a(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(a,i),a.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var i=e("./GenericWorker"),r=e("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,i),a.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(a,r),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}i.inherits(a,r),a.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=i},{}],29:[function(e,t,n){var i=e("../utils"),a=e("./ConvertWorker"),s=e("./GenericWorker"),o=e("../base64"),c=e("../support"),l=e("../external"),h=null;if(c.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function d(e,t){return new l.Promise((function(n,a){var s=[],c=e._internalType,l=e._outputType,h=e._mimeType;e.on("data",(function(e,n){s.push(e),t&&t(n)})).on("error",(function(e){s=[],a(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return o.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,a=null,s=0;for(n=0;n>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,a,s=e.length,c=new Array(2*s);for(t=n=0;t>10&1023,c[n++]=56320|1023&r)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),i.applyFromCharCode(c)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(l,s),l.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}(t),c=t;s!==t.length&&(r.uint8array?(c=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(c=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,i.inherits(h,s),h.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var i=e("./support"),r=e("./base64"),a=e("./nodejsUtils"),s=e("set-immediate-shim"),o=e("./external");function c(e){return e}function l(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n>10&1023,l[i++]=56320|1023&r)}return c(l,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e,a=e>>>16&65535,s=0;0!==n;){for(n-=s=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var a=i,s=r+n;e^=-1;for(var o=r;o>>8^a[255&(e^t[o])];return~e}},{}],46:[function(e,t,n){var i,r=e("../utils/common"),a=e("./trees"),s=e("./adler32"),o=e("./crc32"),c=e("./messages"),l=0,h=4,d=0,u=-2,f=-1,p=4,g=2,m=8,b=9,v=286,y=30,w=19,x=2*v+1,_=15,T=3,D=258,A=D+T+1,E=42,k=113,S=1,C=2,U=3,F=4;function M(e,t){return e.msg=c[t],t}function R(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function N(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,O(e.strm)}function P(e,t){e.pending_buf[e.pending++]=t}function L(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function W(e,t){var n,i,r=e.max_chain_length,a=e.strstart,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,l=e.window,h=e.w_mask,d=e.prev,u=e.strstart+D,f=l[a+s-1],p=l[a+s];e.prev_length>=e.good_match&&(r>>=2),o>e.lookahead&&(o=e.lookahead);do{if(l[(n=t)+s]===p&&l[n+s-1]===f&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&ac&&0!=--r);return s<=e.lookahead?s:e.lookahead}function B(e){var t,n,i,a,c,l,h,d,u,f,p=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-A)){for(r.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;i=e.head[--t],e.head[t]=p<=i?i-p:0,--n;);for(t=n=p;i=e.prev[--t],e.prev[t]=p<=i?i-p:0,--n;);a+=p}if(0===e.strm.avail_in)break;if(l=e.strm,h=e.window,d=e.strstart+e.lookahead,f=void 0,(u=a)<(f=l.avail_in)&&(f=u),n=0===f?0:(l.avail_in-=f,r.arraySet(h,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=s(l.adler,h,f,d):2===l.state.wrap&&(l.adler=o(l.adler,h,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=T)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T)if(i=a._tr_tally(e,e.strstart-e.match_start,e.match_length-T),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=T){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-T,i=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-T),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===l)return S;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,N(e,!1),0===e.strm.avail_out))return S;if(e.strstart-e.block_start>=e.w_size-A&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),S)})),new H(4,4,8,4,j),new H(4,5,16,8,j),new H(4,6,32,32,j),new H(4,4,16,16,z),new H(8,16,32,32,z),new H(8,16,128,128,z),new H(8,32,128,256,z),new H(32,128,258,1024,z),new H(32,258,258,4096,z)],n.deflateInit=function(e,t){return $(e,t,m,15,8,0)},n.deflateInit2=$,n.deflateReset=X,n.deflateResetKeep=G,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,d):u},n.deflate=function(e,t){var n,r,s,c;if(!e||!e.state||5>8&255),P(r,r.gzhead.time>>16&255),P(r,r.gzhead.time>>24&255),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(P(r,255&r.gzhead.extra.length),P(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(P(r,0),P(r,0),P(r,0),P(r,0),P(r,0),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,3),r.status=k);else{var f=m+(r.w_bits-8<<4)<<8;f|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(f|=32),f+=31-f%31,r.status=k,L(r,f),0!==r.strstart&&(L(r,e.adler>>>16),L(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending!==r.pending_buf_size));)P(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindexs&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindexs&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&O(e),r.pending+2<=r.pending_buf_size&&(P(r,255&e.adler),P(r,e.adler>>8&255),e.adler=0,r.status=k)):r.status=k),0!==r.pending){if(O(e),0===e.avail_out)return r.last_flush=-1,d}else if(0===e.avail_in&&R(t)<=R(n)&&t!==h)return M(e,-5);if(666===r.status&&0!==e.avail_in)return M(e,-5);if(0!==e.avail_in||0!==r.lookahead||t!==l&&666!==r.status){var p=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===l)return S;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,o=e.window;;){if(e.lookahead<=D){if(B(e),e.lookahead<=D&&t===l)return S;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=T&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=T?(n=a._tr_tally(e,1,e.match_length-T),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):i[r.level].func(r,t);if(p!==U&&p!==F||(r.status=666),p===S||p===U)return 0===e.avail_out&&(r.last_flush=-1),d;if(p===C&&(1===t?a._tr_align(r):5!==t&&(a._tr_stored_block(r,0,0,!1),3===t&&(I(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),O(e),0===e.avail_out))return r.last_flush=-1,d}return t!==h?d:r.wrap<=0?1:(2===r.wrap?(P(r,255&e.adler),P(r,e.adler>>8&255),P(r,e.adler>>16&255),P(r,e.adler>>24&255),P(r,255&e.total_in),P(r,e.total_in>>8&255),P(r,e.total_in>>16&255),P(r,e.total_in>>24&255)):(L(r,e.adler>>>16),L(r,65535&e.adler)),O(e),0=n.w_size&&(0===o&&(I(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new r.Buf8(n.w_size),r.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),c=e.avail_in,l=e.next_in,h=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=T;){for(i=n.strstart,a=n.lookahead-(T-1);n.ins_h=(n.ins_h<>>=w=y>>>24,p-=w,0==(w=y>>>16&255))E[a++]=65535&y;else{if(!(16&w)){if(!(64&w)){y=g[(65535&y)+(f&(1<>>=w,p-=w),p<15&&(f+=A[i++]<>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(!(64&w)){y=m[(65535&y)+(f&(1<>>=w,p-=w,(w=a-s)<_){if(h<(w=_-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(D=u,(T=0)===d){if(T+=l-w,w>3,f&=(1<<(p-=x<<3))-1,e.next_in=i,e.next_out=a,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=u,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(f),t.distcode=t.distdyn=new i.Buf32(p),t.sane=1,t.back=-1,h):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):d}function y(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(a=s.wsize-s.wnext)&&(a=r),i.arraySet(s.window,t,n-r,a,s.wnext),(r-=a)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,n.check=a(n.check,B,2,0),x=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(x-=4,O=8+(15&(w>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=3;case 3:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=a(n.check,B,4,0)),x=w=0,n.mode=4;case 4:for(;x<16;){if(0===v)break e;v--,w+=f[m++]<>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(0===v)break e;v--,w+=f[m++]<>>8&255,n.check=a(n.check,B,2,0)),x=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,f,m,E,O)),512&n.flags&&(n.check=a(n.check,f,E,m)),v-=E,m+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(E=0;O=f[m+E++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O)),O&&E>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(0===v)break e;v--,w+=f[m++]<>>=1)){case 0:n.mode=14;break;case 1:if(D(n),n.mode=20,6!==t)break;w>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,x-=2;break;case 14:for(w>>>=7&x,x-=7&x;x<32;){if(0===v)break e;v--,w+=f[m++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,x=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v>>=5,x-=5,n.ndist=1+(31&w),w>>>=5,x-=5,n.ncode=4+(15&w),w>>>=4,x-=4,286>>=3,x-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},N=o(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=C,x-=C,n.lens[n.have++]=F;else{if(16===F){for(L=C+2;x>>=C,x-=C,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}O=n.lens[n.have-1],E=3+(3&w),w>>>=2,x-=2}else if(17===F){for(L=C+3;x>>=C)),w>>>=3,x-=3}else{for(L=C+7;x>>=C)),w>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=O}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},N=o(c,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},N=o(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,N){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=b,e.avail_out=y,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=x,s(e,T),b=e.next_out,p=e.output,y=e.avail_out,m=e.next_in,f=e.input,v=e.avail_in,w=n.hold,x=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;U=(W=n.lencode[w&(1<>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,n.length=F,0===U){n.mode=26;break}if(32&U){n.back=-1,n.mode=12;break}if(64&U){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&U,n.mode=22;case 22:if(n.extra){for(L=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;U=(W=n.distcode[w&(1<>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,64&U){e.msg="invalid distance code",n.mode=30;break}n.offset=F,n.extra=15&U,n.mode=24;case 24:if(n.extra){for(L=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(E=T-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),S=n.window}else S=p,k=b-n.offset,E=n.length;for(yv?(w=P[L+d[D]],R[I+d[D]]):(w=96,0),f=1<>C)+(p-=f)]=y<<24|w<<16|x,0!==p;);for(f=1<>=1;if(0!==f?(M&=f-1,M+=f):M=0,D++,0==--O[T]){if(T===E)break;T=t[n+d[D]]}if(k>>7)]}function P(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,n){e.bi_valid>g-n?(e.bi_buf|=t<>g-e.bi_valid,e.bi_valid+=n-g):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function j(e,t,n){var i,r,a=new Array(p+1),s=0;for(i=1;i<=p;i++)a[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var o=e[2*r+1];0!==o&&(e[2*r]=B(a[o]++,o))}}function z(e){var t;for(t=0;t>1;1<=n;n--)G(e,a,n);for(r=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,a,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,a[2*r]=a[2*n]+a[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,a[2*n+1]=a[2*i+1]=r,e.heap[1]=r++,G(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,a,s,o,c=t.dyn_tree,l=t.max_code,h=t.stat_desc.static_tree,d=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,m=t.stat_desc.max_length,b=0;for(a=0;a<=p;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;i>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return r;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=s&&(s=o)):s=o=n+5,n+4<=s&&-1!==t?Z(e,t,n,i):4===e.strategy||o===s?(L(e,2+(i?1:0),3),X(e,A,E)):(L(e,4+(i?1:0),3),function(e,t,n,i){var r;for(L(e,t-257,5),L(e,n-1,5),L(e,i-4,4),r=0;r>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(S[n]+l+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;L(e,2,3),W(e,b,A),16===(t=e).bi_valid?(P(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)}))}).call(this,void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{buffer:83}],89:[function(e,t,n){n.Parser=e("./lib/parser").Parser,n.rules=e("./lib/rules"),n.errors=e("./lib/errors"),n.results=e("./lib/parsing-results"),n.StringSource=e("./lib/StringSource"),n.Token=e("./lib/Token"),n.bottomUp=e("./lib/bottom-up"),n.RegexTokeniser=e("./lib/regex-tokeniser").RegexTokeniser,n.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}},{"./lib/StringSource":90,"./lib/Token":91,"./lib/bottom-up":93,"./lib/errors":94,"./lib/parser":96,"./lib/parsing-results":97,"./lib/regex-tokeniser":98,"./lib/rules":99}],90:[function(e,t,n){t.exports=function(e,t){return{asString:function(){return e},range:function(n,r){return new i(e,t,n,r)}}};var i=function(e,t,n,i){this._string=e,this._description=t,this._startIndex=n,this._endIndex=i};i.prototype.to=function(e){return new i(this._string,this._description,this._startIndex,e._endIndex)},i.prototype.describe=function(){var e=this._position();return(this._description?this._description+"\n":"")+"Line number: "+e.lineNumber+"\nCharacter number: "+e.characterNumber},i.prototype.lineNumber=function(){return this._position().lineNumber},i.prototype.characterNumber=function(){return this._position().characterNumber},i.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf("\n",t)},i=1;-1!==n()&&n()n){var l=o[1];return{token:new i(e[a].name,l,r.range(n,c)),endIndex:c}}}}return c=n+1,{token:new i("unrecognisedCharacter",t.substring(n,c),r.range(n,c)),endIndex:c}}function a(e,t){return new i("end",null,t.range(e.length,e.length))}return e=e.map((function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}})),{tokenise:t}}n.RegexTokeniser=a},{"./StringSource":90,"./Token":91}],99:[function(e,t,n){var i=e("underscore"),r=e("option"),a=e("./parsing-results"),s=e("./errors"),o=e("./lazy-iterators");n.token=function(e,t){var n=void 0!==t;return function(i){var r=i.head();return!r||r.name!==e||n&&r.value!==t?f(i,u({name:e,value:t})):a.success(r.value,i.tail(),r.source)}},n.tokenOfType=function(e){return n.token(e)},n.firstOf=function(e,t){return i.isArray(t)||(t=Array.prototype.slice.call(arguments,1)),function(n){return o.fromArray(t).map((function(e){return e(n)})).filter((function(e){return e.isSuccess()||e.isError()})).first()||f(n,e)}},n.then=function(e,t){return function(n){var i=e(n);return i.map,i.map(t)}},n.sequence=function(){var e=Array.prototype.slice.call(arguments,0),t=function(t){var r=i.foldl(e,(function(e,n){var i=e.result,r=e.hasCut;if(!i.isSuccess())return{result:i,hasCut:r};var s=n(i.remaining());if(s.isCut())return{result:i,hasCut:!0};if(s.isSuccess()){var o;o=n.isCaptured?i.value().withValue(n,s.value()):i.value();var c=s.remaining(),l=t.to(c);return{result:a.success(o,c,l),hasCut:r}}return r?{result:a.error(s.errors(),s.remaining()),hasCut:r}:{result:s,hasCut:r}}),{result:a.success(new c,t),hasCut:!1}).result,s=t.to(r.remaining());return r.map((function(e){return e.withValue(n.sequence.source,s)}))};function r(e){return e.isCaptured}return t.head=function(){var a=i.find(e,r);return n.then(t,n.sequence.extract(a))},t.map=function(e){return n.then(t,(function(t){return e.apply(this,t.toArray())}))},t};var c=function(e,t){this._values=e||{},this._valuesArray=t||[]};c.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw new Error('Cannot add second value for capture "'+e.captureName+'"');var n=i.clone(this._values);n[e.captureName]=t;var r=this._valuesArray.concat([t]);return new c(n,r)},c.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw new Error('No value for capture "'+e.captureName+'"')},c.prototype.toArray=function(){return this._valuesArray},n.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},n.sequence.extract=function(e){return function(t){return t.get(e)}},n.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var i=t.map((function(e){return n.get(e)}));return e.apply(this,i)}},n.sequence.source={captureName:"☃source☃"},n.sequence.cut=function(){return function(e){return a.cut(e)}},n.optional=function(e){return function(t){var n=e(t);return n.isSuccess()?n.map(r.some):n.isFailure()?a.success(r.none,t):n}},n.zeroOrMoreWithSeparator=function(e,t){return d(e,t,!1)},n.oneOrMoreWithSeparator=function(e,t){return d(e,t,!0)};var l=n.zeroOrMore=function(e){return function(t){for(var n,i=[];(n=e(t))&&n.isSuccess();)t=n.remaining(),i.push(n.value());return n.isError()?n:a.success(i,t)}};function h(e){return a.success(null,e)}n.oneOrMore=function(e){return n.oneOrMoreWithSeparator(e,h)};var d=function(e,t,i){return function(r){var s=e(r);if(s.isSuccess()){var o=n.sequence.capture(e,"main"),c=l(n.then(n.sequence(t,o),n.sequence.extract(o)))(s.remaining());return a.success([s.value()].concat(c.value()),c.remaining())}return i||s.isError()?s:a.success([],r)}};n.leftAssociative=function(e,t,i){var r;r=(r=i?[{func:i,rule:t}]:t).map((function(e){return n.then(e.rule,(function(t){return function(n,i){return e.func(n,t,i)}}))}));var s=n.firstOf.apply(null,["rules"].concat(r));return function(t){var n=t,i=e(t);if(!i.isSuccess())return i;for(var r=s(i.remaining());r.isSuccess();){var o=r.remaining(),c=n.to(r.remaining()),l=r.value();i=a.success(l(i.value(),c),o,c),r=s(i.remaining())}return r.isError()?r:i}},n.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},n.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var u=function(e){return e.value?e.name+' "'+e.value+'"':e.name};function f(e,t){var n,i=e.head();return n=i?s.error({expected:t,actual:u(i),location:i.source}):s.error({expected:t,actual:"end of tokens"}),a.failure([n],e)}},{"./errors":94,"./lazy-iterators":95,"./parsing-results":97,option:100,underscore:102}],100:[function(e,t,n){function i(e){return"function"==typeof e?e():e}n.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return n.none},flatMap:function(){return n.none},filter:function(){return n.none},toArray:function(){return[]},orElse:i,valueOrElse:i}),n.some=function(e){return new r(e)};var r=function(e){this._value=e};r.prototype.value=function(){return this._value},r.prototype.isNone=function(){return!1},r.prototype.isSome=function(){return!0},r.prototype.map=function(e){return new r(e(this._value))},r.prototype.flatMap=function(e){return e(this._value)},r.prototype.filter=function(e){return e(this._value)?this:n.none},r.prototype.toArray=function(){return[this._value]},r.prototype.orElse=function(e){return this},r.prototype.valueOrElse=function(e){return this._value},n.isOption=function(e){return e===n.none||e instanceof r},n.fromNullable=function(e){return null==e?n.none:new r(e)}},{}],101:[function(e,t,n){var i,r,a=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(n){return i.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var h,d=[],u=!1,f=-1;function p(){u&&h&&(u=!1,h.length?d=h.concat(d):f=-1,d.length&&g())}function g(){if(!u){var e=c(p);u=!0;for(var t=d.length;t;){for(h=d,d=[];++f1)for(var n=1;n=0&&n<=w}}function J(e){return function(t){return null==t?void 0:t[e]}}var Q=J("byteLength"),ee=Z(Q),te=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ne(e){return g?g(e)&&!H(e):ee(e)&&te.test(c.call(e))}var ie=h?ne:K(!1),re=J("length");function ae(e){for(var t={},n=e.length,i=0;i":">",'"':""","'":"'","`":"`"},ct=st(ot),lt=st(Fe(ot)),ht=he.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},dt=/(.)^/,ut={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+ut[e]}var gt=/^\s*(\w|\$)+\s*$/;function mt(e,t,n){!t&&n&&(t=n),t=Ne({},t,he.templateSettings);var i=RegExp([(t.escape||dt).source,(t.interpolate||dt).source,(t.evaluate||dt).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,(function(t,n,i,s,o){return a+=e.slice(r,o).replace(ft,pt),r=o+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),t})),a+="';\n";var s,o=t.variable;if(o){if(!gt.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=new Function(o,"_",a)}catch(l){throw l.source=a,l}var c=function(e){return s.call(this,e,he)};return c.source="function("+o+"){\n"+a+"}",c}function bt(e,t,n){var i=(t=He(t)).length;if(!i)return P(n)?n.call(e):n;for(var r=0;r1)At(o,t-1,n,i),r=i.length;else for(var c=0,l=o.length;ct?(i&&(clearTimeout(i),i=null),o=l,s=e.apply(r,a),i||(r=a=null)):i||!1===n.trailing||(i=setTimeout(c,h)),s};return l.cancel=function(){clearTimeout(i),o=0,i=r=a=null},l}function Ft(e,t,n){var i,r,a,s,o,c=function(){var l=at()-r;t>l?i=setTimeout(c,t-l):(i=null,n||(s=e.apply(o,a)),i||(a=o=null))},l=x((function(l){return o=this,a=l,r=at(),i||(i=setTimeout(c,t),n&&(s=e.apply(o,a))),s}));return l.cancel=function(){clearTimeout(i),i=a=o=null},l}function Mt(e,t){return _t(t,e)}function Rt(e){return function(){return!e.apply(this,arguments)}}function It(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function Ot(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Nt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pt=_t(Nt,2);function Lt(e,t,n){t=Qe(t,n);for(var i,r=oe(e),a=0,s=r.length;a0?0:r-1;a>=0&&a0?s=a>=0?a:Math.max(a+c,s):c=a>=0?Math.min(a+1,c):a+c+1;else if(n&&a&&c)return i[a=n(i,r)]===r?a:-1;if(r!=r)return(a=t(o.call(i,s,c),Y))>=0?a+s:-1;for(a=e>0?s:c-1;a>=0&&a0?0:s-1;for(r||(i=t[a?a[o]:o],o+=e);o>=0&&o=3;return t(e,Ke(n,r,4),i,a)}}var Zt=Kt(1),Jt=Kt(-1);function Qt(e,t,n){var i=[];return t=Qe(t,n),qt(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function en(e,t,n){return Qt(e,Rt(Qe(t)),n)}function tn(e,t,n){t=Qe(t,n);for(var i=!Dt(e)&&oe(e),r=(i||e).length,a=0;a=0}var an=x((function(e,t,n){var i,r;return P(t)?r=t:(t=He(t),i=t.slice(0,-1),t=t[t.length-1]),Yt(e,(function(e){var a=r;if(!a){if(i&&i.length&&(e=Ve(e,i)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function sn(e,t){return Yt(e,Ye(t))}function on(e,t){return Qt(e,qe(t))}function cn(e,t,n){var i,r,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;oa&&(a=i);else t=Qe(t,n),qt(e,(function(e,n,i){((r=t(e,n,i))>s||r===-1/0&&a===-1/0)&&(a=e,s=r)}));return a}function ln(e,t,n){var i,r,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;oi||void 0===n)return 1;if(n1&&(i=Ke(i,t[1])),t=me(e)):(i=xn,t=At(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Yt(At(t,!1,!1),String),i=function(e,n){return!rn(t,n)}),_n(e,i,n)}));function Dn(e,t,n){return o.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function An(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Dn(e,e.length-t)}function En(e,t,n){return o.call(e,null==t||n?1:t)}function kn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:En(e,Math.max(0,e.length-t))}function Sn(e){return Qt(e,Boolean)}function Cn(e,t){return At(e,t,!1)}var Un=x((function(e,t){return t=At(t,!0,!0),Qt(e,(function(e){return!rn(t,e)}))})),Fn=x((function(e,t){return Un(e,t)}));function Mn(e,t,n,i){A(t)||(i=n,n=t,t=!1),null!=n&&(n=Qe(n,i));for(var r=[],a=[],s=0,o=re(e);s":(null!=(n=this.parent)?n.name:void 0)?"attribute: {"+e+"}, parent: <"+this.parent.name+">":"attribute: {"+e+"}":""},e}()}).call(this)},{}],105:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t}(n)}).call(this)},{"./XMLNode":116}],106:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(n)}).call(this)},{"./XMLNode":116}],107:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i,r,a,s){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!r)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(i),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(s),this.defaultValueType=a}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t}(n)}).call(this)},{"./XMLNode":116}],108:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(i)}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t}(n)}).call(this)},{"./XMLNode":116}],109:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD entity name. "+this.debugInfo(r));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(r));if(this.pe=!!n,this.name=this.stringify.eleName(r),i(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(r));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(r));if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(r))}else this.value=this.stringify.dtdEntityValue(a)}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],110:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!i.pubID&&!i.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.eleName(n),null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t}(n)}).call(this)},{"./XMLNode":116}],111:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){var s;t.__super__.constructor.call(this,e),i(n)&&(n=(s=n).version,r=s.encoding,a=s.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=r&&(this.encoding=this.stringify.xmlEncoding(r)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],112:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility").isObject,s=e("./XMLNode"),n=e("./XMLDTDAttList"),r=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),a=e("./XMLDTDNotation"),t.exports=function(e){function t(e,n,i){var r,a;t.__super__.constructor.call(this,e),this.name="!DOCTYPE",this.documentObject=e,o(n)&&(n=(r=n).pubID,i=r.sysID),null==i&&(i=(a=[n,i])[0],n=a[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return c(t,e),t.prototype.element=function(e,t){var n;return n=new i(this,e,t),this.children.push(n),this},t.prototype.attList=function(e,t,i,r,a){var s;return s=new n(this,e,t,i,r,a),this.children.push(s),this},t.prototype.entity=function(e,t){var n;return n=new r(this,!1,e,t),this.children.push(n),this},t.prototype.pEntity=function(e,t){var n;return n=new r(this,!0,e,t),this.children.push(n),this},t.prototype.notation=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},t.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},t.prototype.ele=function(e,t){return this.element(e,t)},t.prototype.att=function(e,t,n,i,r){return this.attList(e,t,n,i,r)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t.prototype.up=function(){return this.root()||this.documentObject},t}(s)}).call(this)},{"./Utility":103,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLNode":116}],113:[function(e,t,n){(function(){var n,i,r,a,s=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},o={}.hasOwnProperty;a=e("./Utility").isPlainObject,n=e("./XMLNode"),r=e("./XMLStringifier"),i=e("./XMLStringWriter"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="?xml",e||(e={}),e.writer||(e.writer=new i),this.options=e,this.stringify=new r(e),this.isDocument=!0}return s(t,e),t.prototype.end=function(e){var t;return e?a(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116,"./XMLStringWriter":120,"./XMLStringifier":121}],114:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_={}.hasOwnProperty;x=e("./Utility"),y=x.isObject,v=x.isFunction,w=x.isPlainObject,b=x.getValue,d=e("./XMLElement"),i=e("./XMLCData"),r=e("./XMLComment"),f=e("./XMLRaw"),m=e("./XMLText"),u=e("./XMLProcessingInstruction"),l=e("./XMLDeclaration"),h=e("./XMLDocType"),a=e("./XMLDTDAttList"),o=e("./XMLDTDEntity"),s=e("./XMLDTDElement"),c=e("./XMLDTDNotation"),n=e("./XMLAttribute"),g=e("./XMLStringifier"),p=e("./XMLStringWriter"),t.exports=function(){function e(e,t,n){var i;this.name="?xml",e||(e={}),e.writer?w(e.writer)&&(i=e.writer,e.writer=new p(i)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new g(e),this.onDataCallback=t||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.node=function(e,t,n){var i;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=b(e),null==t&&(t={}),t=b(t),y(t)||(n=(i=[t,n])[0],t=i[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},e.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof h?this.dtdElement.apply(this,arguments):this.node(e,t,n)},e.prototype.attribute=function(e,t){var i,r;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=b(e)),y(e))for(i in e)_.call(e,i)&&(r=e[i],this.attribute(i,r));else v(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.currentNode.attributes[e]=new n(this,e,t));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new m(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var n,i,r,a,s;if(this.openCurrent(),null!=e&&(e=b(e)),null!=t&&(t=b(t)),Array.isArray(e))for(n=0,a=e.length;n=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof d&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},e.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},{"./Utility":103,"./XMLAttribute":104,"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLStringWriter":120,"./XMLStringifier":121,"./XMLText":122}],115:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility"),s=o.isObject,a=o.isFunction,r=o.getValue,i=e("./XMLNode"),n=e("./XMLAttribute"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(n),this.attributes={},null!=i&&this.attribute(i),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return c(t,e),t.prototype.clone=function(){var e,t,n,i;for(t in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attributes={},i=this.attributes)l.call(i,t)&&(e=i[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach((function(e){var t;return(t=e.clone()).parent=n,n.children.push(t)})),n},t.prototype.attribute=function(e,t){var i,o;if(null!=e&&(e=r(e)),s(e))for(i in e)l.call(e,i)&&(o=e[i],this.attribute(i,o));else a(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new n(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,n,i;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t}()}).call(this)},{"./Utility":103,"./XMLCData":105,"./XMLComment":106,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122}],117:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(n),i&&(this.value=this.stringify.insValue(i))}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t}(n)}).call(this)},{"./XMLNode":116}],118:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t}(n)}).call(this)},{"./XMLNode":116}],119:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e,n){t.__super__.constructor.call(this,n),this.stream=e}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s,o,h,u;for(n=0,a=(o=e.children).length;n"+this.endline(e))},t.prototype.comment=function(e,t){return this.stream.write(this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.endline(e))},t.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write('"),this.stream.write(this.endline(e))},t.prototype.docType=function(e,t){var c,l,h,u;if(t||(t=0),this.stream.write(this.space(t)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(e)),l=0,h=(u=e.children).length;l"),this.stream.write(this.endline(e))},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g;for(c in t||(t=0),g=this.space(t),this.stream.write(g+"<"+e.name),l=e.attributes)m.call(l,c)&&(r=l[c],this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)this.stream.write(">"),this.stream.write(e.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),s=0,o=(p=e.children).length;s")}return this.stream.write(this.endline(e))},t.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+""+this.endline(e))},t.prototype.endline=function(e){return e.isLastRootNode?"":this.newline},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],120:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s;for(this.textispresent=!1,a="",n=0,r=(s=e.children).length;n"+this.newline},t.prototype.comment=function(e,t){return this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.newline},t.prototype.declaration=function(e,t){var n;return n=this.space(t),n+='",n+=this.newline},t.prototype.docType=function(e,t){var c,l,h,u,f;if(t||(t=0),u=this.space(t),u+="0){for(u+=" [",u+=this.newline,l=0,h=(f=e.children).length;l",u+=this.newline},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g,b,v,y,w,x;for(p in t||(t=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),g="",g+=(w=this.space(t))+"<"+e.name,b=e.attributes)m.call(b,p)&&(r=b[p],g+=this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?g+=">"+this.newline:g+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)g+=">",g+=e.children[0].value,g+=""+this.newline;else{if(this.dontprettytextnodes)for(s=0,c=(v=e.children).length;s"+this.newline,o=0,l=(y=e.children).length;o"+this.newline}return g},t.prototype.processingInstruction=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.dtdAttList=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.dtdElement=function(e,t){return this.space(t)+""+this.newline},t.prototype.dtdEntity=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.dtdNotation=function(e,t){var n;return n=this.space(t)+""+this.newline},t.prototype.openNode=function(e,t){var n,i,r,a;if(t||(t=0),e instanceof h){for(i in r=this.space(t)+"<"+e.name,a=e.attributes)m.call(a,i)&&(n=a[i],r+=this.attribute(n));return r+=(e.children?">":"/>")+this.newline}return r=this.space(t)+"")+this.newline},t.prototype.closeNode=function(e,t){switch(t||(t=0),!1){case!(e instanceof h):return this.space(t)+""+this.newline;case!(e instanceof l):return this.space(t)+"]>"+this.newline}},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],121:[function(e,t,n){(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=function(){function t(t){var i,r,a;for(i in this.assertLegalChar=e(this.assertLegalChar,this),t||(t={}),this.noDoubleEncoding=t.noDoubleEncoding,r=t.stringify||{})n.call(r,i)&&(a=r[i],this[i]=a)}return t.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]>"),this.assertLegalChar(e)},t.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return""+e||""},t.prototype.attName=function(e){return""+e||""},t.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},t.prototype.insTarget=function(e){return""+e||""},t.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},t.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return e},t.prototype.xmlStandalone=function(e){return e?"yes":"no"},t.prototype.dtdPubID=function(e){return""+e||""},t.prototype.dtdSysID=function(e){return""+e||""},t.prototype.dtdElementValue=function(e){return""+e||""},t.prototype.dtdAttType=function(e){return""+e||""},t.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},t.prototype.dtdEntityValue=function(e){return""+e||""},t.prototype.dtdNData=function(e){return""+e||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t;if(t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+e+" at index "+t.index);return e},t.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(//g,">").replace(/\r/g," ")},t.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/0?new Array(t).join(this.indent):""},t}()}).call(this)},{}],124:[function(e,t,n){(function(){var n,i,r,a,s,o,c;c=e("./Utility"),s=c.assign,o=c.isFunction,n=e("./XMLDocument"),i=e("./XMLDocumentCB"),a=e("./XMLStringWriter"),r=e("./XMLStreamWriter"),t.exports.create=function(e,t,i,r){var a,o;if(null==e)throw new Error("Root element needs a name.");return r=s({},t,i,r),o=(a=new n(r)).element(e),r.headless||(a.declaration(r),null==r.pubID&&null==r.sysID||a.doctype(r)),o},t.exports.begin=function(e,t,r){var a;return o(e)&&(t=(a=[e,t])[0],r=a[1],e={}),t?new i(e,t,r):new n(e)},t.exports.stringWriter=function(e){return new a(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(this)},{"./Utility":103,"./XMLDocument":113,"./XMLDocumentCB":114,"./XMLStreamWriter":119,"./XMLStringWriter":120}]},{},[21])(21)),Oh.exports)); +/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Ph=1252,Lh=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Wh={ +/*::[*/ +0:1252, +/* ANSI */ +/*::[*/ +1:65001, +/* DEFAULT */ +/*::[*/ +2:65001, +/* SYMBOL */ +/*::[*/ +77:1e4, +/* MAC */ +/*::[*/ +128:932, +/* SHIFTJIS */ +/*::[*/ +129:949, +/* HANGUL */ +/*::[*/ +130:1361, +/* JOHAB */ +/*::[*/ +134:936, +/* GB2312 */ +/*::[*/ +136:950, +/* CHINESEBIG5 */ +/*::[*/ +161:1253, +/* GREEK */ +/*::[*/ +162:1254, +/* TURKISH */ +/*::[*/ +163:1258, +/* VIETNAMESE */ +/*::[*/ +177:1255, +/* HEBREW */ +/*::[*/ +178:1256, +/* ARABIC */ +/*::[*/ +186:1257, +/* BALTIC */ +/*::[*/ +204:1251, +/* RUSSIAN */ +/*::[*/ +222:874, +/* THAI */ +/*::[*/ +238:1250, +/* EASTEUROPE */ +/*::[*/ +255:1252, +/* OEM */ +/*::[*/ +69:6969 +/* MISC */},Bh=function(e){-1!=Lh.indexOf(e)&&(Ph=Wh[0]=e)};var jh=function(e){Bh(e)};function zh(){jh(1200),Bh(1252)}function Hh(e){for(var t=[],n=0,i=e.length;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var Gh,Xh=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?Vh(e.slice(2)):65279==t?e.slice(1):e},$h=function(e){return String.fromCharCode(e)},qh=function(e){return String.fromCharCode(e)},Yh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Kh(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0,c=0,l=0;l>2,s=(3&n)<<4|(i=e.charCodeAt(l++))>>4,o=(15&i)<<2|(r=e.charCodeAt(l++))>>6,c=63&r,isNaN(i)?o=c=64:isNaN(r)&&(c=64),t+=Yh.charAt(a)+Yh.charAt(s)+Yh.charAt(o)+Yh.charAt(c);return t}function Zh(e){var t="",n=0,i=0,r=0,a=0,s=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,t+=String.fromCharCode(n),i=(15&a)<<4|(s=Yh.indexOf(e.charAt(c++)))>>2,64!==s&&(t+=String.fromCharCode(i)),r=(3&s)<<6|(o=Yh.indexOf(e.charAt(c++))),64!==o&&(t+=String.fromCharCode(r));return t}var Jh=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),Qh=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function ed(e){return Jh?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function td(e){return Jh?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var nd=function(e){return Jh?Qh(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function id(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n=0;)t+=e.charAt(n--);return t}function ld(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}function hd(e,t){var n=""+e;return n.length>=t?n:bu(" ",t-n.length)+n}function dd(e,t){var n=""+e;return n.length>=t?n:n+bu(" ",t-n.length)}var ud=Math.pow(2,32);function fd(e,t){return e>ud||e<-ud?function(e,t){var n=""+Math.round(e);return n.length>=t?n:bu("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}(Math.round(e),t)}function pd(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var gd=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],md=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var bd={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},vd={5:37,6:38,7:39,8:40, +// 5 -> 37 ... 8 -> 40 +23:0,24:0,25:0,26:0, +// 23 -> 0 ... 26 -> 0 +27:14,28:14,29:14,30:14,31:14, +// 27 -> 14 ... 31 -> 14 +50:14,51:14,52:14,53:14,54:14, +// 50 -> 14 ... 58 -> 14 +55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4, +// 59 -> 1 ... 62 -> 4 +67:9,68:10, +// 67 -> 9 ... 68 -> 10 +69:12,70:13,71:14, +// 69 -> 12 ... 71 -> 14 +72:14,73:15,74:16,75:17, +// 72 -> 14 ... 75 -> 17 +76:20,77:21,78:22, +// 76 -> 20 ... 78 -> 22 +79:45,80:46,81:47, +// 79 -> 45 ... 81 -> 47 +82:0},yd={ +// 5 -- Currency, 0 decimal, black negative +5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)', +// 6 -- Currency, 0 decimal, red negative +6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)', +// 7 -- Currency, 2 decimal, black negative +7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)', +// 8 -- Currency, 2 decimal, red negative +8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', +// 41 -- Accounting, 0 decimal, No Symbol +41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', +// 42 -- Accounting, 0 decimal, $ Symbol +42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', +// 43 -- Accounting, 2 decimal, No Symbol +43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', +// 44 -- Accounting, 2 decimal, $ Symbol +44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function wd(e,t,n){for(var i=e<0?-1:1,r=e*i,a=0,s=1,o=0,c=1,l=0,h=0,d=Math.floor(r);lt&&(l>t?(h=c,o=a):(h=l,o=s)),!n)return[0,i*o,h];var u=Math.floor(i*o/h);return[u,i*o-u*h,h]}function xd(e,t,n){if(e>2958465||e<0)return null;var i=0|e,r=Math.floor(86400*(e-i)),a=0,s=[],o={D:i,T:r,u:86400*(e-i)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(i+=1462),o.u>.9999&&(o.u=0,86400==++r&&(o.T=r=0,++i,++o.D)),60===i)s=n?[1317,10,29]:[1900,2,29],a=3;else if(0===i)s=n?[1317,8,29]:[1900,1,0],a=6;else{i>60&&--i;var c=new Date(1900,0,1);c.setDate(c.getDate()+i-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),i<60&&(a=(a+6)%7),n&&(a=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(c,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=r%60,r=Math.floor(r/60),o.M=r%60,r=Math.floor(r/60),o.H=r,o.q=a,o}var _d=new Date(1899,11,31,0,0,0),Td=_d.getTime(),Dd=new Date(1900,2,1,0,0,0);function Ad(e,t){var n=e.getTime();return t?n-=1262304e5:e>=Dd&&(n+=864e5),(n-(Td+6e4*(e.getTimezoneOffset()-_d.getTimezoneOffset())))/864e5}function Ed(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function kd(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=Ed(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=Ed(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),Ed(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function Sd(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):kd(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Yd(14,Ad(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Cd(e,t,n,i){var r,a="",s=0,o=0,c=n.y,l=0;switch(e){case 98:c=n.y+543; +/* falls through */case 121:switch(t.length){case 1:case 2:r=c%100,l=2;break;default:r=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:r=n.m,l=t.length;break;case 3:return md[n.m-1][1];case 5:return md[n.m-1][0];default:return md[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:r=n.d,l=t.length;break;case 3:return gd[n.q][0];default:return gd[n.q][1]}break;case 104:switch(t.length){case 1:case 2:r=1+(n.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:r=n.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:r=n.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(o=i>=2?3===i?1e3:100:1===i?10:1,(s=Math.round(o*(n.S+n.u)))>=60*o&&(s=0),"s"===t?0===s?"0":""+s/o:(a=ld(s,2+i),"ss"===t?a.substr(0,2):"."+a.substr(2,t.length-1))):ld(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":r=24*n.D+n.H;break;case"[m]":case"[mm]":r=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":r=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:r=c,l=1}return l>0?ld(r,l):""}function Ud(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var Fd=/%/g;function Md(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Md(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),-1===(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).indexOf("e")){var s=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,r)+"."+n.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var Rd=/# (\?+)( ?)\/( ?)(\d+)/;var Id=/^#*0*\.([0#]+)/,Od=/\).*[0#]/,Nd=/\(###\) ###\\?-####/;function Pd(e){for(var t,n="",i=0;i!=e.length;++i)switch(t=e.charCodeAt(i)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function Ld(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function Wd(e,t){var n=e-Math.floor(e),i=Math.pow(10,t);return t<(""+Math.round(n*i)).length?0:Math.round(n*i)}function Bd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Bd("n",i,n):"("+Bd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return Md(t,n);if(36===t.charCodeAt(0))return"$"+Bd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+fd(c,t.length);if(t.match(/^[#?]+$/))return"0"===(r=fd(n,0))&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){var i=parseInt(e[4],10),r=Math.round(t*i),a=Math.floor(r/i),s=r-a*i,o=i;return n+(0===a?"":""+a)+" "+(0===s?bu(" ",e[1].length+1+e[4].length):hd(s,e[1].length)+e[2]+"/"+e[3]+ld(o,e[4].length))}(a,c,l);if(t.match(/^#+0+$/))return l+fd(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=Ld(n,a[1].length).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd( +/*::(*/ +a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+Ld(c,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(fd(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Bd(e,t,-n):Ud(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,a[1].length)))+"."+ld(Wd(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Bd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(Bd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?ld(0,3-e.length):"")+e}))+"."+ld(s,a[1].length);switch(t){case"###,##0.00":return Bd(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var f=Ud(fd(c,0));return"0"!==f?l+f:"";case"###,###.00":return Bd(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return Bd(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function jd(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+jd(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),!(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function zd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?zd("n",i,n):"("+zd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return jd(t,n);if(36===t.charCodeAt(0))return"$"+zd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+ld(c,t.length);if(t.match(/^[#?]+$/))return r=""+n,0===n&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){return n+(0===t?"":""+t)+bu(" ",e[1].length+2+e[4].length)}(a,c,l);if(t.match(/^#+0+$/))return l+ld(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=(r=(""+n).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd(a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(""+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+zd(e,t,-n):Ud(""+n)+"."+bu("0",a[1].length);if(a=t.match(/^#,#*,#0/))return zd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(zd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;default:++t}return!1}var Xd=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $d(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function qd(e,t){var n=function(e){for(var t=[],n=!1,i=0,r=0;i-1&&--i,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||r>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=r>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=r>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=r>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[i,a];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var s=n[0].match(Xd),o=n[1].match(Xd);return $d(t,s)?[i,n[0]]:$d(t,o)?[i,n[1]]:[i,n[null!=s&&null!=o?2:1]]}return[i,a]}function Yd(e,t,n){null==n&&(n={});var i="";switch(typeof e){case"string":i="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(i=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:bd)[e])&&(i=n.table&&n.table[vd[e]]||bd[vd[e]]),null==i&&(i=yd[e]||"General")}if(pd(i,0))return Sd(t,n);t instanceof Date&&(t=Ad(t,n.date1904));var r=qd(i,t);if(pd(r[1]))return Sd(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,i){for(var r,a,s,o=[],c="",l=0,h="",d="t",u="H";l=12?"P":"A"),g.t="T",u="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"PM":"AM"),g.t="T",l+=5,u="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"下午":"上午"),g.t="T",l+=5,u="h"):(g.t="t",++l),null==r&&"T"===g.t)return"";o[o.length]=g,d=h;break;case"[":for(c=h;"]"!==e.charAt(l++)&&l-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",Gd(e)||(o[o.length]={t:"t",v:c}));break; +/* Numbers */case".":if(null!=r){for(c=h;++l-1;)c+=h;o[o.length]={t:"n",v:c};break;case"?":for(c=h;e.charAt(++l)===h;)c+=h;o[o.length]={t:h,v:c},d=h;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break; +// ** +case"(":case")":o[o.length]={t:1===i?"t":h,v:h},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=h;l-1;)c+=e.charAt(l);o[o.length]={t:"D",v:c};break;case" ":o[o.length]={t:h,v:h},++l;break;case"$":o[o.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"t",v:h},++l}var m,b=0,v=0;for(l=o.length-1,d="t";l>=0;--l)switch(o[l].t){case"h":case"H":o[l].t=u,d="h",b<1&&(b=1);break;case"s":(m=o[l].v.match(/\.0+$/))&&(v=Math.max(v,m[0].length-1)),b<3&&(b=3) +/* falls through */;case"d":case"y":case"M":case"e":d=o[l].t;break;case"m":"s"===d&&(o[l].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&o[l].v.match(/[Hh]/)&&(b=1),b<2&&o[l].v.match(/[Mm]/)&&(b=2),b<3&&o[l].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M),r.M>=60&&(r.M=0,++r.H);break;case 2:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M)}var y,w="";for(l=0;l0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,_=Hd("n",w,x)):(_=Hd("n",w,x=t<0&&i>1?-t:t),x<0&&o[0]&&"t"==o[0].t&&(_=_.substr(1),o[0].v="-"+o[0].v)),y=_.length-1;var D=o.length;for(l=0;l-1){D=l;break}var A=o.length;if(D===o.length&&-1===_.indexOf("E")){for(l=o.length-1;l>=0;--l)null!=o[l]&&-1!=="n?".indexOf(o[l].t)&&(y>=o[l].v.length-1?(y-=o[l].v.length,o[l].v=_.substr(y+1,o[l].v.length)):y<0?o[l].v="":(o[l].v=_.substr(0,y+1),y=-1),o[l].t="t",A=l);y>=0&&A=0;--l)if(null!=o[l]&&-1!=="n?".indexOf(o[l].t)){for(a=o[l].v.indexOf(".")>-1&&l===D?o[l].v.indexOf(".")-1:o[l].v.length-1,T=o[l].v.substr(a+1);a>=0;--a)y>=0&&("0"===o[l].v.charAt(a)||"#"===o[l].v.charAt(a))&&(T=_.charAt(y--)+T);o[l].v=T,o[l].t="t",A=l}for(y>=0&&A-1&&l===D?o[l].v.indexOf(".")+1:0,T=o[l].v.substr(0,a);a-1&&(x=i>1&&t<0&&l>0&&"-"===o[l-1].v?-t:t,o[l].v=Hd(o[l].t,o[l].v,x),o[l].t="t");var E="";for(l=0;l!==o.length;++l)null!=o[l]&&(E+=o[l].v);return E}(r[1],t,n,r[0])}function Kd(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=bd[n]){if(bd[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return bd[t]=e,t}function Zd(){var e;e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',bd=e}var Jd={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Qd=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var eu=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var n=function(e){var t=0,n=0,i=0,r="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(i=0;256!=i;++i)r[i]=e[i];for(i=0;256!=i;++i)for(n=e[i],t=256+i;t<4096;t+=256)n=r[t]=n>>>8^e[255&n];var a=[];for(i=1;16!=i;++i)a[i-1]="undefined"!=typeof Int32Array?r.subarray(256*i,256*i+256):r.slice(256*i,256*i+256);return a}(t),i=n[0],r=n[1],a=n[2],s=n[3],o=n[4],c=n[5],l=n[6],h=n[7],d=n[8],u=n[9],f=n[10],p=n[11],g=n[12],m=n[13],b=n[14];return e.table=t,e.bstr=function(e,n){for(var i=~n,r=0,a=e.length;r>>8^t[255&(i^e.charCodeAt(r++))];return~i},e.buf=function(e,n){for(var v=~n,y=e.length-15,w=0;w>8&255]^g[e[w++]^v>>16&255]^p[e[w++]^v>>>24]^f[e[w++]]^u[e[w++]]^d[e[w++]]^h[e[w++]]^l[e[w++]]^c[e[w++]]^o[e[w++]]^s[e[w++]]^a[e[w++]]^r[e[w++]]^i[e[w++]]^t[e[w++]];for(y+=15;w>>8^t[255&(v^e[w++])];return~v},e.str=function(e,n){for(var i=~n,r=0,a=e.length,s=0,o=0;r>>8^t[255&(i^s)]:s<2048?i=(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:s>=55296&&s<57344?(s=64+(1023&s),o=1023&e.charCodeAt(r++),i=(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|o>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&o))]):i=(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i},e}(),tu=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function i(e){if("/"==e.charAt(e.length-1))return i(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function r(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var i=t.getFullYear()-1980;i=(i=i<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,i)}function a(e){Xf(e,0);for(var t= +/*::(*/{},n=0;e.l<=e.length-4;){var i=e.read_shift(2),r=e.read_shift(2),a=e.l+r,s={};if(21589===i)1&(n=e.read_shift(1))&&(s.mtime=e.read_shift(4)),r>5&&(2&n&&(s.atime=e.read_shift(4)),4&n&&(s.ctime=e.read_shift(4))),s.mtime&&(s.mt=new Date(1e3*s.mtime));e.l=a,t[i]=s}return t}function s(){return e||(e={})}function o(e,t){if(80==e[0]&&75==e[1])return re(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=_(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",i=(Jh&&Buffer.isBuffer(e)?e.toString("binary"):_(e)).split("\r\n"),r=0,a="";for(r=0;r0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),a.slice(0,n.length)!=n););var s=(i[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var o="--"+(s[1]||""),c=[],l=[],h={FileIndex:c,FullPaths:l};u(h);var d,f=0;for(r=0;r=r&&(u-=r),!s[u]){c=[];var p=[];for(d=u;d>=0;){p[d]=!0,s[d]=!0,o[o.length]=d,c.push(e[d]);var g=n[Math.floor(4*d/i)];if(i<4+(f=4*d&l))throw new Error("FAT boundary crossed: "+d+" 4 "+i);if(!e[g])break;if(p[d=Lf(e[g],f)])break}a[u]={nodes:o,data:pf([c])}}return a}(D,a,p,f);A[a].name="!Directory",i>0&&s!==b&&(A[s].name="!MiniFAT"),A[p[0]].name="!FAT",A.fat_addrs=p,A.ssz=f;var E=[],k=[],S=[];!function(e,t,n,i,r,a,s,o){for(var l,u=0,f=i.length?2:0,p=t[e].data,g=0,m=0;g0&&u!==b&&(t[u].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===t[y.start]&&(t[y.start]=h(n,y.start,t.fat_addrs,t.ssz)),t[y.start].name=y.name,y.content=t[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:u!==b&&y.start!==b&&t[u]&&(y.content=c(y,t[u].data,(t[o]||{}).data))),y.content&&Xf(y.content,0),a[l]=y,s.push(y)}}(a,A,D,E,i,{},k,s),function(e,t,n){for(var i=0,r=0,a=0,s=0,o=0,c=n.length,l=[],h=[];i0&&s>=0;)a.push(t.slice(s*m,s*m+m)),r-=m,s=Lf(n,4*s);return 0===a.length?qf(0):ad(a).slice(0,e.size)}function l(e,t,n,i,r){var a=b;if(e===b){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var s=n[e],o=(i>>>2)-1;if(!s)return;for(var c=0;c=0;){r[c]=!0,a[a.length]=c,s.push(e[c]);var h=n[Math.floor(4*c/i)];if(i<4+(l=4*c&o))throw new Error("FAT boundary crossed: "+c+" 4 "+i);if(!e[h])break;c=Lf(e[h],l)}return{nodes:a,data:pf([s])}}function d(e,t){return new Date(1e3*(Pf(e,t+4)/1e7*Math.pow(2,32)+Pf(e,t)/1e7-11644473600))}function u(e,t){var n=t||{},i=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=i+"/",e.FileIndex[0]={name:i,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(tu.find(e,"/"+t))return;var n=qf(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),f(e)}(e)}function f(e,t){u(e);for(var r=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var o=e.FileIndex[s];switch(o.type){case 0:a?r=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(o.R*o.L*o.C)&&(r=!0),o.R>-1&&o.L>-1&&o.R==o.L&&(r=!0);break;default:r=!0}}if(r||t){var c=new Date(1987,1,19),l=0,h=Object.create?Object.create(null):{},d=[];for(s=0;s1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=s+1;l=d.length?-1:l,l=s+1;l=d.length?-1:l,p.type=1}else n(e.FullPaths[s+1]||"")==n(g)&&(p.R=s+1),p.type=2}}}function p(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},i=n.boundary||"SheetJS",r=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(i="------="+i).slice(2)+'"',"","",""],a=e.FullPaths[0],s=a,o=e.FileIndex[0],c=1;c=32&&f<128&&++d;var g=d>=4*u/5;r.push(i),r.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+s),r.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),r.push("Content-Type: "+oe(o,s)),r.push(""),r.push(g?le(h):ce(h))}return r.push(i+"--\r\n"),r.join("\r\n")}(e,n);if(f(e),"zip"===n.fileType)return function(e,t){var n=t||{},i=[],a=[],s=qf(1),o=n.compression?8:0,c=0,l=0,h=0,d=0,u=0,f=e.FullPaths[0],p=f,g=e.FileIndex[0],m=[],b=0;for(l=1;l0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var s=e.FullPaths.length+3>>2,o=t+127>>7,c=(t+7>>3)+n+s+o,l=c+127>>7,h=l<=109?0:Math.ceil((l-109)/127);c+l+h+127>>7>l;)h=++l<=109?0:Math.ceil((l-109)/127);var d=[1,h,l,o,s,n,t,0];return e.FileIndex[0].size=t<<6,d[7]=(e.FileIndex[0].start=d[0]+d[1]+d[2]+d[3]+d[4]+d[5])+(d[6]+7>>3),d}(e),a=qf(i[7]<<9),s=0,o=0;for(s=0;s<8;++s)a.write_shift(1,y[s]);for(s=0;s<8;++s)a.write_shift(2,0);for(a.write_shift(2,62),a.write_shift(2,3),a.write_shift(2,65534),a.write_shift(2,9),a.write_shift(2,6),s=0;s<3;++s)a.write_shift(2,0);for(a.write_shift(4,0),a.write_shift(4,i[2]),a.write_shift(4,i[0]+i[1]+i[2]+i[3]-1),a.write_shift(4,0),a.write_shift(4,4096),a.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:b),a.write_shift(4,i[3]),a.write_shift(-4,i[1]?i[0]-1:b),a.write_shift(4,i[1]),s=0;s<109;++s)a.write_shift(-4,s>9)));for(c(i[6]+7>>3);511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(o=s=0,l=0;l=4096||(d.start=o,c(h+63>>6)));for(;511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(s=0;s=4096)if(a.l=d.start+1<<9,Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+511&-512;else{for(l=0;l0&&d.size<4096)if(Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+63&-64;else{for(l=0;l>16|S>>8|S));function M(e,t){var n=U[255&e];return t<=8?n>>>8-t:(n=n<<8|U[e>>8&255],t<=16?n>>>16-t:(n=n<<8|U[e>>16&255])>>>24-t)}function R(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=6?0:e[i+1]<<8))>>>n&3}function I(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=5?0:e[i+1]<<8))>>>n&7}function O(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=3?0:e[i+1]<<8))>>>n&31}function N(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=1?0:e[i+1]<<8))>>>n&127}function P(e,t,n){var i=7&t,r=t>>>3,a=(1<>>i;return n<8-i?s&a:(s|=e[r+1]<<8-i,n<16-i?s&a:(s|=e[r+2]<<16-i,n<24-i?s&a:(s|=e[r+3]<<24-i)&a))}function L(e,t,n){var i=7&t,r=t>>>3;return i<=5?e[r]|=(7&n)<>8-i),t+3}function W(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function B(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=n,t+8}function j(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=255&n,e[i+2]=n>>>8,t+16}function z(e,t){var n=e.length,i=2*n>t?2*n:t+5,r=0;if(n>=t)return e;if(Jh){var a=td(i);if(e.copy)e.copy(a);else for(;r>i-d,s=(1<=0;--s)t[o|s<0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var r=0,a=0,s=C?new Uint16Array(32768):[];a0;)n[n.l++]=t[a++];r=8*n.l}else{r=L(n,r,+!(a+o!=t.length)+2);for(var c=0;o-- >0;){var l=t[a],h=-1,d=0;if((h=s[c=32767&(c<<5^l)])&&((h|=-32768&a)>a&&(h-=32768),h2){(l=i[d])<=22?r=B(n,r,U[l+1]>>1)-1:(B(n,r,3),B(n,r+=5,U[l-23]>>5),r+=3);var u=l<8?0:l-4>>2;u>0&&(j(n,r,d-A[l]),r+=u),l=e[a-h],r=B(n,r,U[l]>>3),r-=3;var f=l<4?0:l-2>>1;f>0&&(j(n,r,a-h-E[l]),r+=f);for(var p=0;p>>3;return(e[i]|(n<=4?0:e[i+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var a=0,s=C?new Uint8Array(19):H(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=C?new Uint8Array(8):H(8),h=C?new Uint8Array(8):H(8),d=s.length,u=0;u>8-p;for(var g=(1<<7-p)-1;g>=0;--g)J[f|g<>>=3){case 16:for(a=3+R(e,t),t+=2,f=m[m.length-1];a-- >0;)m.push(f);break;case 17:for(a=3+I(e,t),t+=3;a-- >0;)m.push(0);break;case 18:for(a=11+N(e,t),t+=7;a-- >0;)m.push(0);break;default:m.push(f),c>>0,o=0,c=0;!(1&i);)if(i=I(e,n),n+=3,i>>>1!=0)for(i>>1==1?(o=9,c=5):(n=te(e,n),o=Q,c=ee);;){!t&&s>>1==1?G[l]:K[l];if(n+=15&h,(h>>>=4)>>>8&255){if(256==h)break;var d=(h-=257)<8?0:h-4>>2;d>5&&(d=0);var u=a+A[h];d>0&&(u+=P(e,n,d),n+=d),l=P(e,n,c),n+=15&(h=i>>>1==1?X[l]:Z[l]);var f=(h>>>=4)<4?0:h-2>>1,p=E[h];for(f>0&&(p+=P(e,n,f),n+=f),!t&&s>>3]|e[1+(n>>>3)]<<8;if(n+=32,g>0)for(!t&&s0;)r[a++]=e[n>>>3],n+=8}return t?[r,n+7>>>3]:[r.slice(0,a),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function ie(e,t){if(!e)throw new Error(t)}function re(e,t){var n= +/*::(*/e;Xf(n,0);var i={FileIndex:[],FullPaths:[]};u(i,{root:t.root});for(var r=n.length-4;(80!=n[r]||75!=n[r+1]||5!=n[r+2]||6!=n[r+3])&&r>=0;)--r;n.l=r+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var o=n.read_shift(4);for(n.l=o,r=0;r>>=5);n>>>=4,i.setMilliseconds(0),i.setFullYear(n+1980),i.setMonth(a-1),i.setDate(r);var s=31&t,o=63&(t>>>=5);return t>>>=6,i.setHours(t),i.setMinutes(o),i.setSeconds(s<<1),i}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var l=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),u=e.read_shift(2),f="",p=0;p3&&(i=!0),r[a].slice(r[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+r[a].slice(r[a].length-1));case"D":n*=24; +/* falls through */case"H":n*=60; +/* falls through */case"M":if(!i)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(r[a],10)}return t}var du=new Date("2017-02-19T19:06:09.000Z"),uu=isNaN(du.getFullYear())?new Date("2/19/17"):du,fu=2017==uu.getFullYear();function pu(e,t){var n=new Date(e);if(fu)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==uu.getFullYear()&&!isNaN(n.getFullYear())){var i=n.getFullYear();return e.indexOf(""+i)>-1||n.setFullYear(n.getFullYear()+100),n}var r=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+r[0],+r[1]-1,+r[2],+r[3]||0,+r[4]||0,+r[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function gu(e,t){if(Jh&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Qu(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Qu(Vh(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Qu(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Qu(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return n[e]||e}))}catch(a){}for(var i=[],r=0;r!=e.length;++r)i.push(String.fromCharCode(e[r]));return i.join("")}function mu(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=mu(e[n]));return t}function bu(e,t){for(var n="";n.length3&&-1==yu.indexOf(s))return n}else if(s.match(/[a-z]/))return n;return i<0||i>8099?n:(r>0||a>1)&&101!=i?t:e.match(/[^-0-9:,\/\\]/)?n:t}var xu=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,n,i){if(e||"string"==typeof n)return t.split(n);for(var r=t.split(n),a=[r[0]],s=1;s>6&31,r[n++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var o=1023&e.charCodeAt(++a);r[n++]=240|s>>8&7,r[n++]=128|s>>2&63,r[n++]=128|o>>6&15|(3&s)<<4,r[n++]=128|63&o}else r[n++]=224|s>>12&15,r[n++]=128|s>>6&63,r[n++]=128|63&s;n>i&&(t.push(r.slice(0,n)),n=0,r=ed(65535),i=65530)}return t.push(r.slice(0,n)),ad(t)}(n),tu.utils.cfb_add(e,t,i);tu.utils.cfb_add(e,t,n)}else e.file(t,n)}function Uu(e,t){switch(t.type){case"base64":return tu.read(e,{type:"base64"});case"binary":return tu.read(e,{type:"binary"});case"buffer":case"array":return tu.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Fu(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var i=e.split("/");0!==i.length;){var r=i.shift();".."===r?n.pop():"."!==r&&n.push(r)}return n.join("/")}var Mu='\r\n',Ru=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Iu=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Ou=Mu.match(Iu)?Iu:/<[^>]*>/g,Nu=/<\w*:/,Pu=/<(\/?)\w+:/;function Lu(e,t,n){for(var i={},r=0,a=0;r!==e.length&&(32!==(a=e.charCodeAt(r))&&10!==a&&13!==a);++r);if(t||(i[0]=e.slice(0,r)),r===e.length)return i;var s=e.match(Ru),o=0,c="",l=0,h="",d="",u=1;if(s)for(l=0;l!=s.length;++l){for(d=s[l],a=0;a!=d.length&&61!==d.charCodeAt(a);++a);for(h=d.slice(0,a).trim();32==d.charCodeAt(a+1);)++a;for(u=34==(r=d.charCodeAt(a+1))||39==r?1:0,c=d.slice(a+1+u,d.length-u),o=0;o!=h.length&&58!==h.charCodeAt(o);++o);if(o===h.length)h.indexOf("_")>0&&(h=h.slice(0,h.indexOf("_"))),i[h]=c,i[h.toLowerCase()]=c;else{var f=(5===o&&"xmlns"===h.slice(0,5)?"xmlns":"")+h.slice(o+1);if(i[f]&&"ext"==h.slice(o-3,o))continue;i[f]=c,i[f.toLowerCase()]=c}}return i}function Wu(e){return e.replace(Pu,"<$1")}var Bu={""":'"',"'":"'",">":">","<":"<","&":"&"},ju=iu(Bu),zu=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(i){var r=i+"",a=r.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var s=r.indexOf("]]>");return n(r.slice(0,a))+r.slice(a+9,s)+n(r.slice(s+3))}}(),Hu=/[&<>'"]/g,Vu=/[\u0000-\u001f]/g;function Gu(e){return(e+"").replace(Hu,(function(e){return ju[e]})).replace(/\n/g,"
").replace(Vu,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Xu=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}();function $u(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0; +/* case '0': case 'false': case 'FALSE':*/default:return!1}}function qu(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0;n191&&i<224?(s=(31&i)<<6,s|=63&r,t+=String.fromCharCode(s)):(a=e.charCodeAt(n++),i<240?t+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&a):(o=((7&i)<<18|(63&r)<<12|(63&a)<<6|63&(s=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function Yu(e){var t,n,i,r=ed(2*e.length),a=1,s=0,o=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==o&&(r[s++]=255&o,r[s++]=o>>>8,o=0),r[s++]=t%256,r[s++]=t>>>8;return r.slice(0,s).toString("ucs2")}function Ku(e){return Qh(e,"binary").toString("utf8")}var Zu="foo bar baz☃🍣",Ju=Jh&&(Ku(Zu)==qu(Zu)&&Ku||Yu(Zu)==qu(Zu)&&Yu)||qu,Qu=Jh?function(e){return Qh(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,i=0,r=0;n>6))),t.push(String.fromCharCode(128+(63&i)));break;case i>=55296&&i<57344:i-=55296,r=e.charCodeAt(n++)-56320+(i<<10),t.push(String.fromCharCode(240+(r>>18&7))),t.push(String.fromCharCode(144+(r>>12&63))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)));break;default:t.push(String.fromCharCode(224+(i>>12))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)))}return t.join("")},ef=function(){var e={};return function(t,n){var i=t+"|"+(n||"");return e[i]?e[i]:e[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),tf=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),i=0;i([\\s\\S]*?)","g")}}(),rf=/<\/?(?:vt:)?variant>/g,af=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function lf(e){if(Jh&&/*::typeof Buffer !== "undefined" && d != null && d instanceof Buffer &&*/ +Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Ju(id(rd(e)));throw new Error("Bad input format: expected Buffer or string")}var hf=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm,df="http://schemas.openxmlformats.org/package/2006/content-types",uf=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var ff=function(e){for(var t=[],n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:Qh(e)}))):ff(e)}:ff,gf=function(e,t,n){for(var i=[],r=t;r0?wf(e,t+4,t+4+n-1):""},_f=xf,Tf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Df=Tf,Af=function(e,t){var n=2*Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Ef=Af,kf=function(e,t){var n=Pf(e,t);return n>0?mf(e,t+4,t+4+n):""},Sf=kf,Cf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n):""},Uf=Cf,Ff=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),i=((127&e[t+7])<<4)+(e[t+6]>>>4&15),r=15&e[t+6],a=5;a>=0;--a)r=256*r+e[t+a];return 2047==i?0==r?n*(1/0):NaN:(0==i?i=-1022:(i-=1023,r+=Math.pow(2,52)),n*Math.pow(2,i-52)*r)}(e,t)},Mf=Ff,Rf=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};Jh&&(_f=function(e,t){if(!Buffer.isBuffer(e))return xf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Df=function(e,t){if(!Buffer.isBuffer(e))return Tf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Ef=function(e,t){if(!Buffer.isBuffer(e))return Af(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},Sf=function(e,t){if(!Buffer.isBuffer(e))return kf(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Uf=function(e,t){if(!Buffer.isBuffer(e))return Cf(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},Mf=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Ff(e,t)},Rf=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array});var If=function(e,t){return e[t]},Of=function(e,t){return 256*e[t+1]+e[t]},Nf=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Pf=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Lf=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Wf=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Bf(e,t){var n,i,r,a,s,o,c="",l=[];switch(t){case"dbcs":if(o=this.l,Jh&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s0?Lf:Wf)(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return i=8==e?Mf(this,this.l):Mf([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i; +/* falls through */e=8;case 16:c=vf(this,this.l,e)}}return this.l+=e,c}var jf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},zf=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Hf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Vf(e,t,n){var i=0,r=0;if("dbcs"===n){for(r=0;r!=t.length;++r)Hf(this,t.charCodeAt(r),this.l+2*r);i=2*t.length}else if("sbcs"===n){for(t=t.replace(/[^\x00-\x7F]/g,"_"),r=0;r!=t.length;++r)this[this.l+r]=255&t.charCodeAt(r);i=t.length}else{if("hex"===n){for(;r>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:i=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:i=4,jf(this,t,this.l);break;case 8:if(i=8,"f"===n){!function(e,t,n){var i=(t<0||1/t==-1/0?1:0)<<7,r=0,a=0,s=i?-t:t;isFinite(s)?0==s?r=a=0:(r=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-r),r<=-1023&&(!isFinite(a)||a>4|i}(this,t,this.l);break} +/* falls through */case 16:break;case-4:i=4,zf(this,t,this.l)}}return this.l+=i,this}function Gf(e,t){var n=vf(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Xf(e,t){e.l=t,e.read_shift=/*::(*/ +Bf,e.chk=Gf,e.write_shift=Vf}function $f(e,t){e.l+=t}function qf(e){var t=ed(e);return Xf(t,0),t}function Yf(e,t,n){if(e){var i,r,a;Xf(e,e.l||0);for(var s=e.length,o=0,c=0;e.li.l&&((i=i.slice(0,i.l)).l=i.length),i.length>0&&e.push(i),i=null)},a=function(e){return i&&e=256;)i.c-=256;for(;i.r>=65536;)i.r-=65536}return i}function Jf(e,t,n){var i=mu(e);return i.s=Zf(i.s,t.s,n),i.e=Zf(i.e,t.s,n),i}function Qf(e,t){if(e.cRel&&e.c<0)for(e=mu(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=mu(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=sp(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function ep(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Qf(e.s,t.biff)+":"+Qf(e.e,t.biff):(e.s.rRel?"":"$")+np(e.s.r)+":"+(e.e.rRel?"":"$")+np(e.e.r):(e.s.cRel?"":"$")+rp(e.s.c)+":"+(e.e.cRel?"":"$")+rp(e.e.c)}function tp(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function np(e){return""+(e+1)}function ip(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,i=0;i!==t.length;++i)n=26*n+t.charCodeAt(i)-64;return n-1}function rp(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ap(e){for(var t=0,n=0,i=0;i=48&&r<=57?t=10*t+(r-48):r>=65&&r<=90&&(n=26*n+(r-64))}return{c:n-1,r:t-1}}function sp(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function op(e){var t=e.indexOf(":");return-1==t?{s:ap(e),e:ap(e)}:{s:ap(e.slice(0,t)),e:ap(e.slice(t+1))}}function cp(e,t){return void 0===t||"number"==typeof t?cp(e.s,e.e):("string"!=typeof e&&(e=sp(e)),"string"!=typeof t&&(t=sp(t)),e==t?e:e+":"+t)}function lp(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,i=0,r=0,a=e.length;for(n=0;i26);++i)n=26*n+r;for(t.s.c=--n,n=0;i9);++i)n=10*n+r;if(t.s.r=--n,i===a||10!=r)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++i,n=0;i!=a&&!((r=e.charCodeAt(i)-64)<1||r>26);++i)n=26*n+r;for(t.e.c=--n,n=0;i!=a&&!((r=e.charCodeAt(i)-48)<0||r>9);++i)n=10*n+r;return t.e.r=--n,t}function hp(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Yd(e.z,n?au(t):t)}catch(i){}try{return e.w=Yd((e.XF||{}).numFmtId||(n?14:0),n?au(t):t)}catch(i){return""+t}}function dp(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Lp[e.v]||e.v:hp(e,null==t?e.v:t))}function up(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",i={};return i[n]=e,{SheetNames:[n],Sheets:i}}function fp(e,t,n){var i=n||{},r=e?Array.isArray(e):i.dense,a=e||(r?[]:{}),s=0,o=0;if(a&&null!=i.origin){if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?ap(i.origin):i.origin;s=c.r,o=c.c}a["!ref"]||(a["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var h=lp(a["!ref"]);l.s.c=h.s.c,l.s.r=h.s.r,l.e.c=Math.max(l.e.c,h.e.c),l.e.r=Math.max(l.e.r,h.e.r),-1==s&&(l.e.r=s=h.e.r+1)}for(var d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[d].length;++u)if(void 0!==t[d][u]){var f={v:t[d][u]},p=s+d,g=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>g&&(l.s.c=g),l.e.r>2;return n?r/100:r}function Ep(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var kp=Ep;function Sp(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Cp(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Up=80,Fp=[Up,81],Mp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Category",t:Up}, +/*::[*/ +3:{n:"PresentationFormat",t:Up}, +/*::[*/ +4:{n:"ByteCount",t:3}, +/*::[*/ +5:{n:"LineCount",t:3}, +/*::[*/ +6:{n:"ParagraphCount",t:3}, +/*::[*/ +7:{n:"SlideCount",t:3}, +/*::[*/ +8:{n:"NoteCount",t:3}, +/*::[*/ +9:{n:"HiddenCount",t:3}, +/*::[*/ +10:{n:"MultimediaClipCount",t:3}, +/*::[*/ +11:{n:"ScaleCrop",t:11}, +/*::[*/ +12:{n:"HeadingPairs",t:4108 +/* VT_VECTOR | VT_VARIANT */}, +/*::[*/ +13:{n:"TitlesOfParts",t:4126 +/* VT_VECTOR | VT_LPSTR */}, +/*::[*/ +14:{n:"Manager",t:Up}, +/*::[*/ +15:{n:"Company",t:Up}, +/*::[*/ +16:{n:"LinksUpToDate",t:11}, +/*::[*/ +17:{n:"CharacterCount",t:3}, +/*::[*/ +19:{n:"SharedDoc",t:11}, +/*::[*/ +22:{n:"HyperlinksChanged",t:11}, +/*::[*/ +23:{n:"AppVersion",t:3,p:"version"}, +/*::[*/ +24:{n:"DigSig",t:65}, +/*::[*/ +26:{n:"ContentType",t:Up}, +/*::[*/ +27:{n:"ContentStatus",t:Up}, +/*::[*/ +28:{n:"Language",t:Up}, +/*::[*/ +29:{n:"Version",t:Up}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Rp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Title",t:Up}, +/*::[*/ +3:{n:"Subject",t:Up}, +/*::[*/ +4:{n:"Author",t:Up}, +/*::[*/ +5:{n:"Keywords",t:Up}, +/*::[*/ +6:{n:"Comments",t:Up}, +/*::[*/ +7:{n:"Template",t:Up}, +/*::[*/ +8:{n:"LastAuthor",t:Up}, +/*::[*/ +9:{n:"RevNumber",t:Up}, +/*::[*/ +10:{n:"EditTime",t:64}, +/*::[*/ +11:{n:"LastPrinted",t:64}, +/*::[*/ +12:{n:"CreatedDate",t:64}, +/*::[*/ +13:{n:"ModifiedDate",t:64}, +/*::[*/ +14:{n:"PageCount",t:3}, +/*::[*/ +15:{n:"WordCount",t:3}, +/*::[*/ +16:{n:"CharCount",t:3}, +/*::[*/ +17:{n:"Thumbnail",t:71}, +/*::[*/ +18:{n:"Application",t:Up}, +/*::[*/ +19:{n:"DocSecurity",t:3}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Ip={ +/*::[*/ +1:"US", +// United States +/*::[*/ +2:"CA", +// Canada +/*::[*/ +3:"", +// Latin America (except Brazil) +/*::[*/ +7:"RU", +// Russia +/*::[*/ +20:"EG", +// Egypt +/*::[*/ +30:"GR", +// Greece +/*::[*/ +31:"NL", +// Netherlands +/*::[*/ +32:"BE", +// Belgium +/*::[*/ +33:"FR", +// France +/*::[*/ +34:"ES", +// Spain +/*::[*/ +36:"HU", +// Hungary +/*::[*/ +39:"IT", +// Italy +/*::[*/ +41:"CH", +// Switzerland +/*::[*/ +43:"AT", +// Austria +/*::[*/ +44:"GB", +// United Kingdom +/*::[*/ +45:"DK", +// Denmark +/*::[*/ +46:"SE", +// Sweden +/*::[*/ +47:"NO", +// Norway +/*::[*/ +48:"PL", +// Poland +/*::[*/ +49:"DE", +// Germany +/*::[*/ +52:"MX", +// Mexico +/*::[*/ +55:"BR", +// Brazil +/*::[*/ +61:"AU", +// Australia +/*::[*/ +64:"NZ", +// New Zealand +/*::[*/ +66:"TH", +// Thailand +/*::[*/ +81:"JP", +// Japan +/*::[*/ +82:"KR", +// Korea +/*::[*/ +84:"VN", +// Viet Nam +/*::[*/ +86:"CN", +// China +/*::[*/ +90:"TR", +// Turkey +/*::[*/ +105:"JS", +// Ramastan +/*::[*/ +213:"DZ", +// Algeria +/*::[*/ +216:"MA", +// Morocco +/*::[*/ +218:"LY", +// Libya +/*::[*/ +351:"PT", +// Portugal +/*::[*/ +354:"IS", +// Iceland +/*::[*/ +358:"FI", +// Finland +/*::[*/ +420:"CZ", +// Czech Republic +/*::[*/ +886:"TW", +// Taiwan +/*::[*/ +961:"LB", +// Lebanon +/*::[*/ +962:"JO", +// Jordan +/*::[*/ +963:"SY", +// Syria +/*::[*/ +964:"IQ", +// Iraq +/*::[*/ +965:"KW", +// Kuwait +/*::[*/ +966:"SA", +// Saudi Arabia +/*::[*/ +971:"AE", +// United Arab Emirates +/*::[*/ +972:"IL", +// Israel +/*::[*/ +974:"QA", +// Qatar +/*::[*/ +981:"IR", +// Iran +/*::[*/ +65535:"US"},Op=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Np(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Pp=mu(Np([ +/* Color Constants */ +0,16777215,16711680,65280,255,16776960,16711935,65535, +/* Overridable Defaults */ +0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443, +/* Other entries to appease BIFF8/12 */ +16777215, +/* 0x40 icvForeground ?? */ +0, +/* 0x41 icvBackground ?? */ +0, +/* 0x42 icvFrame ?? */ +0, +/* 0x43 icv3D ?? */ +0, +/* 0x44 icv3DText ?? */ +0, +/* 0x45 icv3DHilite ?? */ +0, +/* 0x46 icv3DShadow ?? */ +0, +/* 0x47 icvHilite ?? */ +0, +/* 0x48 icvCtlText ?? */ +0, +/* 0x49 icvCtlScrl ?? */ +0, +/* 0x4A icvCtlInv ?? */ +0, +/* 0x4B icvCtlBody ?? */ +0, +/* 0x4C icvCtlFrame ?? */ +0, +/* 0x4D icvCtlFore ?? */ +0, +/* 0x4E icvCtlBack ?? */ +0, +/* 0x4F icvCtlNeutral */ +0, +/* 0x50 icvInfoBk ?? */ +0 +/* 0x51 icvInfoText ?? */])),Lp={ +/*::[*/ +0:"#NULL!", +/*::[*/ +7:"#DIV/0!", +/*::[*/ +15:"#VALUE!", +/*::[*/ +23:"#REF!", +/*::[*/ +29:"#NAME?", +/*::[*/ +36:"#NUM!", +/*::[*/ +42:"#N/A", +/*::[*/ +43:"#GETTING_DATA", +/*::[*/ +255:"#WTF?"},Wp={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Bp={ +/* Workbook */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks", +/* Worksheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO", +/* Binary Index */ +/* Chartsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts", +/* Macrosheet */ +"application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO", +/* Binary Index */ +/* Dialogsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs", +/* Shared Strings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs", +/* Styles */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles", +/* File Properties */ +"application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops", +/* Custom Data Properties */ +"application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO", +/* Comments */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people", +/* Metadata (Stock/Geography and Dynamic Array) */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata", +/* PivotTable */ +"application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO", +/* Chart Objects */ +"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO", +/* Chart Colors */ +"application/vnd.ms-office.chartcolorstyle+xml":"TODO", +/* Chart Style */ +"application/vnd.ms-office.chartstyle+xml":"TODO", +/* Chart Advanced */ +"application/vnd.ms-office.chartex+xml":"TODO", +/* Calculation Chain */ +"application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains", +/* Printer Settings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO", +/* ActiveX */ +"application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO", +/* Custom Toolbars */ +"application/vnd.ms-excel.attachedToolbars":"TODO", +/* External Data Connections */ +"application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO", +/* External Links */ +"application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links", +/* PivotCache */ +"application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO", +/* Query Table */ +"application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO", +/* Shared Workbook */ +"application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO", +/* Single Cell Table */ +"application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO", +/* Slicer */ +"application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO", +/* Sort Map */ +"application/vnd.ms-excel.wsSortMap":"TODO", +/* Table */ +"application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO", +/* Themes */ +"application/vnd.openxmlformats-officedocument.theme+xml":"themes", +/* Theme Override */ +"application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO", +/* Timeline */ +"application/vnd.ms-excel.Timeline+xml":"TODO", +/* verify */ +"application/vnd.ms-excel.TimelineCache+xml":"TODO", +/* verify */ +/* VBA */ +"application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO", +/* Volatile Dependencies */ +"application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO", +/* Control Properties */ +"application/vnd.ms-excel.controlproperties+xml":"TODO", +/* Data Model */ +"application/vnd.openxmlformats-officedocument.model+data":"TODO", +/* Survey */ +"application/vnd.ms-excel.Survey+xml":"TODO", +/* Drawing */ +"application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO", +/* VML */ +"application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO", +/* Image */ +"image/png":"TODO",sheet:"js"};var jp={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function zp(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Hp(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var i={};return(e.match(Ou)||[]).forEach((function(e){var r=Lu(e);if("]*>([\\s\\S]*?)")}return e}();function Xp(e){var t={};e=Ju(e);for(var n=0;n0&&(t[i[1]]=zu(r[1])),"date"===i[2]&&t[i[1]]&&(t[i[1]]=pu(t[i[1]]))}return t}var $p=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function qp(e,t,n,i){var r=[];if("string"==typeof e)r=sf(e,i);else for(var a=0;a0)for(var l=0;l!==r.length;l+=2){switch(c=+r[l+1].v,r[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=c,n.SheetNames=s.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=c,n.DefinedNames=s.slice(o,o+c);break;case"Charts":case"Diagramme":n.Chartsheets=c,n.ChartNames=s.slice(o,o+c)}o+=c}}var Yp=/<[^>]+>[^<]*/g;var Kp,Zp={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName", +/* TotalTime: 'TotalTime', */ +LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved", +/* Pages */ +/* Words */ +/* Characters */ +Category:"Category", +/* PresentationFormat */ +Manager:"Manager",Company:"Company", +/* Guid */ +/* HyperlinkBase */ +/* Bytes */ +/* Lines */ +/* Paragraphs */ +/* CharactersWithSpaces */ +AppVersion:"Version",ContentStatus:"ContentStatus", +/* NOTE: missing from schema */ +Identifier:"Identifier", +/* NOTE: missing from schema */ +Language:"Language" +/* NOTE: missing from schema */};function Jp(e,t,n){Kp||(Kp=iu(Zp)),e[t=Kp[t]||t]=n}function Qp(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function eg(e,t,n){var i=e.l,r=e.read_shift(0,"lpstr-cp");if(n)for(;e.l-i&3;)++e.l;return r}function tg(e,t,n){return e.read_shift(0,"lpwstr")}function ng(e,t,n){return 31===t?tg(e):eg(e,0,n)}function ig(e,t,n){return ng(e,t,!1===n?0:4)}function rg(e){var t=e.l,n=og(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,og(e,3)]}function ag(e,t){for(var n=e.read_shift(4),i={},r=0;r!=n;++r){var a=e.read_shift(4),s=e.read_shift(4);i[a]=e.read_shift(s,1200===t?"utf16le":"utf8").replace(sd,"").replace(od,"!"),1200===t&&s%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),i}function sg(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function og(e,t,n){var i,r=e.read_shift(2),a=n||{};if(e.l+=2,12!==t&&r!==t&&-1===Fp.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&r)))throw new Error("Expected type "+t+" saw "+r);switch(12===t?r:t){case 2:return i=e.read_shift(2,"i"),a.raw||(e.l+=2),i;case 3:return i=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return i=e.read_shift(4);case 30:return eg(e,0,4).replace(sd,"");case 31:return tg(e);case 64:return Qp(e);case 65:return sg(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return ig(e,r,!a.raw).replace(sd,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ng(e,t,0)}(e,r +/*, 4*/).replace(sd,"");case 4108:return function(e){for(var t=e.read_shift(4),n=[],i=0;i0&&t)switch(t[a[s-1][0]].t){case 2:e.l+2===a[s][1]&&(e.l+=2,f=!1);break;case 80:case 4108:e.l<=a[s][1]&&(e.l=a[s][1],f=!1)}if((!t||0==s)&&e.l<=a[s][1]&&(f=!1,e.l=a[s][1]),f)throw new Error("Read Error: Expected address "+a[s][1]+" at "+e.l+" :"+s)}if(t){var p=t[a[s][0]];if(u[p.n]=og(e,p.t,{raw:!0}),"version"===p.p&&(u[p.n]=String(u[p.n]>>16)+"."+("0000"+String(65535&u[p.n])).slice(-4)),"CodePage"==p.n)switch(u[p.n]){case 0:u[p.n]=1252; +/* falls through */case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:jh(o=u[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+u[p.n])}}else if(1===a[s][0]){if(o=u.CodePage=og(e,2),jh(o),-1!==c){var g=e.l;e.l=a[c][1],l=ag(e,o),e.l=g}}else if(0===a[s][0]){if(0===o){c=s,e.l=a[s+1][1];continue}l=ag(e,o)}else{var m,b=l[a[s][0]];switch(e[e.l]){case 65:e.l+=4,m=sg(e);break;case 30:case 31:e.l+=4,m=ig(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=dg(e,4);break;case 64:e.l+=4,m=pu(Qp(e));break;default:throw new Error("unparsed value: "+e[e.l])}u[b]=m}}return e.l=n+i,u}function lg(e,t,n){var i=e.content;if(!i)return{};Xf(i,0);var r,a,s,o,c=0;i.chk("feff","Byte Order: "),i.read_shift(2);var l=i.read_shift(4),h=i.read_shift(16);if(h!==tu.utils.consts.HEADER_CLSID&&h!==n)throw new Error("Bad PropertySet CLSID "+h);if(1!==(r=i.read_shift(4))&&2!==r)throw new Error("Unrecognized #Sets: "+r);if(a=i.read_shift(16),o=i.read_shift(4),1===r&&o!==i.l)throw new Error("Length mismatch: "+o+" !== "+i.l);2===r&&(s=i.read_shift(16),c=i.read_shift(4));var d,u=cg(i,t),f={SystemIdentifier:l};for(var p in u)f[p]=u[p];if(f.FMTID=a,1===r)return f;if(c-i.l==2&&(i.l+=2),i.l!==c)throw new Error("Length mismatch 2: "+i.l+" !== "+c);try{d=cg(i,null)}catch(g){}for(p in d)f[p]=d[p];return f.FMTID=[a,s],f}function hg(e,t){return e.read_shift(t),null}function dg(e,t){return 1===e.read_shift(t)}function ug(e){return e.read_shift(2,"u")}function fg(e,t){return function(e,t,n){for(var i=[],r=e.l+t;e.l=12?2:1),r="sbcs-cont";(n&&n.biff,n&&8!=n.biff)?12==n.biff&&(r="wstr"):e.read_shift(1)&&(r="dbcs-cont");return n.biff>=2&&n.biff<=5&&(r="cpstr"),i?e.read_shift(i,r):""}function gg(e){var t,n=e.read_shift(2),i=e.read_shift(1),r=4&i,a=8&i,s=1+(1&i),o=0,c={};a&&(o=e.read_shift(2)),r&&(t=e.read_shift(4));var l=2==s?"dbcs-cont":"sbcs-cont",h=0===n?"":e.read_shift(n,l);return a&&(e.l+=4*o),r&&(e.l+=t),c.t=h,a||(c.raw=""+c.t+"",c.r=c.t),c}function mg(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function bg(e,t,n){var i=e.read_shift(n&&2==n.biff?1:2);return 0===i?(e.l++,""):mg(e,i,n)}function vg(e,t,n){if(n.biff>5)return bg(e,0,n);var i=e.read_shift(1);return 0===i?(e.l++,""):e.read_shift(i,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function yg(e,t){var n=e.read_shift(16);switch(n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),n=e.l,i=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(i=!0),e.l=n);var r=e.read_shift((i?t-24:t)>>1,"utf16le").replace(sd,"");return i&&(e.l+=24),r}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),n="";t-- >0;)n+="../";var i=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return n+i.replace(/\\/g,"/");var r=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return n+e.read_shift(r>>1,"utf16le").replace(sd,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function wg(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(sd,""):""}function xg(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function _g(e,t){var n=xg(e);return n[3]=0,n}function Tg(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function Dg(e,t,n){var i=n.biff>8?4:2;return[e.read_shift(i),e.read_shift(i,"i"),e.read_shift(i,"i")]}function Ag(e){return[e.read_shift(2),Ap(e)]}function Eg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function kg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:n}}}var Sg=kg;function Cg(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return e.l+=12,[n,t,i]}function Ug(e){e.l+=2,e.l+=e.read_shift(2)}var Fg={ +/*::[*/ +0:Ug, +/* FtEnd */ +/*::[*/ +4:Ug, +/* FtMacro */ +/*::[*/ +5:Ug, +/* FtButton */ +/*::[*/ +6:Ug, +/* FtGmo */ +/*::[*/ +7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}}, +/* FtCf */ +/*::[*/ +8:Ug, +/* FtPioGrbit */ +/*::[*/ +9:Ug, +/* FtPictFmla */ +/*::[*/ +10:Ug, +/* FtCbls */ +/*::[*/ +11:Ug, +/* FtRbo */ +/*::[*/ +12:Ug, +/* FtSbs */ +/*::[*/ +13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}, +/* FtNts */ +/*::[*/ +14:Ug, +/* FtSbsFmla */ +/*::[*/ +15:Ug, +/* FtGboData */ +/*::[*/ +16:Ug, +/* FtEdoData */ +/*::[*/ +17:Ug, +/* FtRboData */ +/*::[*/ +18:Ug, +/* FtCblsData */ +/*::[*/ +19:Ug, +/* FtLbsData */ +/*::[*/ +20:Ug, +/* FtCblsFmla */ +/*::[*/ +21:Cg};function Mg(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),(t-=2)>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536: +/* BIFF8 */case 1280: +/* BIFF5 */case 1024: +/* BIFF4 */case 768: +/* BIFF3 */case 512: +/* BIFF2 */case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function Rg(e,t,n){var i=0;n&&2==n.biff||(i=e.read_shift(2));var r=e.read_shift(2);return n&&2==n.biff&&(i=1-(r>>15),r&=32767),[{Unsynced:1&i,DyZero:(2&i)>>1,ExAsc:(4&i)>>2,ExDsc:(8&i)>>3},r]}var Ig=vg;function Og(e,t,n){var i=e.l+t,r=8!=n.biff&&n.biff?2:4,a=e.read_shift(r),s=e.read_shift(r),o=e.read_shift(2),c=e.read_shift(2);return e.l=i,{s:{r:a,c:o},e:{r:s,c:c}}}function Ng(e,t,n){var i=Tg(e);2!=n.biff&&9!=t||++e.l;var r=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return i.val=r,i.t=!0===r||!1===r?"b":"e",i}var Pg=function(e,t,n){return 0===t?"":vg(e,0,n)};function Lg(e,t,n){var i,r=e.read_shift(2),a={fBuiltIn:1&r,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return 14849===n.sbcch&&(i=function(e,t,n){e.l+=4,t-=4;var i=e.l+t,r=pg(e,0,n),a=e.read_shift(2);if(a!==(i-=e.l))throw new Error("Malformed AddinUdf: padding = "+i+" != "+a);return e.l+=a,r}(e,t-2,n)),a.body=i||e.read_shift(t-2),"string"==typeof i&&(a.Name=i),a}var Wg=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Bg(e,t,n){var i=e.l+t,r=e.read_shift(2),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(n&&2==n.biff?1:2),c=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),c=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var l=mg(e,s,n);32&r&&(l=Wg[l.charCodeAt(0)]);var h=i-e.l;n&&2==n.biff&&--h;var d=i!=e.l&&0!==o&&h>0?function(e,t,n,i){var r,a=e.l+t,s=kb(e,i,n);a!==e.l&&(r=Eb(e,a-e.l,s,n));return[s,r]}(e,h,n,o):[];return{chKey:a,Name:l,itab:c,rgce:d}}function jg(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var i=pg(e,0,n);return 3==i.charCodeAt(0)?i.slice(1):i}(e,0,n);for(var i=[],r=e.l+t,a=e.read_shift(n.biff>8?4:2);0!=a--;)i.push(Dg(e,n.biff,n));if(e.l!=r)throw new Error("Bad ExternSheet: "+e.l+" != "+r);return i}function zg(e,t,n){var i=Sg(e);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[i,Rb(e,t,n)]}var Hg={8:function(e,t){var n=e.l+t;e.l+=10;var i=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var r=e.read_shift(1);return e.l+=r,e.l=n,{fmt:i}}};function Vg(e,t,n){if(!n.cellStyles)return $f(e,t);var i=n&&n.biff>=12?4:2,r=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(i),o=e.read_shift(i),c=e.read_shift(2);2==i&&(e.l+=2);var l={s:r,e:a,w:s,ixfe:o,flags:c};return(n.biff>=5||!n.biff)&&(l.level=c>>8&7),l}var Gg=Tg,Xg=fg,$g=bg;var qg=[2,3,48,49,131,139,140,245],Yg=function(){var e={ +/* Code Pages Supported by Visual FoxPro */ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/* shapefile DBF extension */ +/*::[*/ +0:20127, +/*::[*/ +8:865, +/*::[*/ +9:437, +/*::[*/ +10:850, +/*::[*/ +11:437, +/*::[*/ +13:437, +/*::[*/ +14:850, +/*::[*/ +15:437, +/*::[*/ +16:850, +/*::[*/ +17:437, +/*::[*/ +18:850, +/*::[*/ +19:932, +/*::[*/ +20:850, +/*::[*/ +21:437, +/*::[*/ +22:850, +/*::[*/ +23:865, +/*::[*/ +24:437, +/*::[*/ +25:437, +/*::[*/ +26:850, +/*::[*/ +27:437, +/*::[*/ +28:863, +/*::[*/ +29:850, +/*::[*/ +31:852, +/*::[*/ +34:852, +/*::[*/ +35:852, +/*::[*/ +36:860, +/*::[*/ +37:850, +/*::[*/ +38:866, +/*::[*/ +55:850, +/*::[*/ +64:852, +/*::[*/ +77:936, +/*::[*/ +78:949, +/*::[*/ +79:950, +/*::[*/ +80:874, +/*::[*/ +87:1252, +/*::[*/ +88:1252, +/*::[*/ +89:1252, +/*::[*/ +108:863, +/*::[*/ +134:737, +/*::[*/ +135:852, +/*::[*/ +136:857, +/*::[*/ +204:1257, +/*::[*/ +255:16969},t=iu({ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/*::[*/ +0:20127});function n(t,n){var i=n||{};i.dateNF||(i.dateNF="yyyymmdd");var r=pp(function(t,n){var i=[],r=ed(1);switch(n.type){case"base64":r=nd(Zh(t));break;case"binary":r=nd(t);break;case"buffer":case"array":r=t}Xf(r,0);var a=r.read_shift(1),s=!!(136&a),o=!1,c=!1;switch(a){case 2: +// dBASE II +case 3: +// dBASE III +// VFP with autoincrement +// 0x43 dBASE IV SQL table files +// 0x63 dBASE IV SQL system files +case 131: +// dBASE III with memo +case 139: +// dBASE IV with memo +// dBASE Level 7 with memo +// case 0xCB dBASE IV SQL table files with memo +case 245:break; +// FoxPro 2.x with memo +// case 0xFB FoxBASE +case 48: +// VFP +case 49:o=!0,s=!0;break;case 140:c=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var l=0,h=521;2==a&&(l=r.read_shift(2)),r.l+=3,2!=a&&(l=r.read_shift(4)),l>1048576&&(l=1e6),2!=a&&(h=r.read_shift(2));var d=r.read_shift(2),u=n.codepage||1252;2!=a&&(r.l+=16,r.read_shift(1),0!==r[r.l]&&(u=e[r[r.l]]),r.l+=1,r.l+=2),c&&(r.l+=36);for(var f=[],p={},g=Math.min(r.length,2==a?521:h-10-(o?264:0)),m=c?32:11;r.l0;)if(42!==r[r.l])for(++r.l,i[++b]=[],v=0,v=0;v!=f.length;++v){var y=r.slice(r.l,r.l+f[v].len);r.l+=f[v].len,Xf(y,0);var w=Gh.utils.decode(u,y);switch(f[v].type){case"C":w.trim().length&&(i[b][v]=w.replace(/\s+$/,""));break;case"D":8===w.length?i[b][v]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):i[b][v]=w;break;case"F":i[b][v]=parseFloat(w.trim());break;case"+":case"I":i[b][v]=c?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":i[b][v]=!0;break;case"N":case"F":i[b][v]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));i[b][v]="##MEMO##"+(c?parseInt(w.trim(),10):y.read_shift(4));break;case"N":(w=w.replace(/\u0000/g,"").trim())&&"."!=w&&(i[b][v]=+w||0);break;case"@":i[b][v]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":i[b][v]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":i[b][v]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":i[b][v]=-y.read_shift(-8,"f");break;case"B":if(o&&8==f[v].len){i[b][v]=y.read_shift(8,"f");break} +/* falls through */case"G":case"P":y.l+=f[v].len;break;case"0":if("_NullFlags"===f[v].name)break; +/* falls through */default:throw new Error("DBF Unsupported data type "+f[v].type)}}else r.l+=d;if(2!=a&&r.l=0&&jh(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var a=Kf(),s=By(e,{header:1,raw:!0,cellDates:!0}),o=s[0],c=s.slice(1),l=e["!cols"]||[],h=0,d=0,u=0,f=1;for(h=0;h250&&(w=250),"C"==(y=((l[h]||{}).DBF||{}).type)&&l[h].DBF.len>w&&(w=l[h].DBF.len),"B"==v&&"N"==y&&(v="N",b[h]=l[h].DBF.dec,w=l[h].DBF.len),m[h]="C"==v||"N"==y?w:i[v]||0,f+=m[h],g[h]=v}else g[h]="?"}var _=a.next(32);for(_.write_shift(4,318902576),_.write_shift(4,c.length),_.write_shift(2,296+32*u),_.write_shift(2,f),h=0;h<4;++h)_.write_shift(4,0);for(_.write_shift(4,(+t[ +/*::String(*/ +Ph +/*::)*/]||3)<<8),h=0,d=0;h":190,"?":191,"{":223},t=new RegExp("N("+nu(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var i=e[n];return"number"==typeof i?qh(i):i},i=function(e,t,n){var i=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==i?e:qh(i)};function r(e,r){var a,s=e.split(/[\n\r]+/),o=-1,c=-1,l=0,h=0,d=[],u=[],f=null,p={},g=[],m=[],b=[],v=0;for(+r.codepage>=0&&jh(+r.codepage);l!==s.length;++l){v=0;var y,w=s[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(t,n),x=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),_=x[0];if(w.length>0)switch(_){case"ID": +/* header */case"E": +/* EOF */case"B": +/* dimensions */case"O": +/* options? */case"W":break; +/* window? */case"P":"P"==x[1].charAt(0)&&u.push(w.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,D=!1,A=!1,E=!1,k=-1,S=-1;for(h=1;h-1&&d[k][S];if(!U||!U[1])throw new Error("SYLK shared formula cannot find base");d[o][c][1]=rb(U[1],{r:o-k,c:c-S})}break;case"F":var F=0;for(h=1;h0?(g[o].hpt=v,g[o].hpx=Om(v)):0===v&&(g[o].hidden=!0);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}F<1&&(f=null);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(p["!rows"]=g),m.length>0&&(p["!cols"]=m),r&&r.sheetRows&&(d=d.slice(0,r.sheetRows)),[d,p]}function a(e,t){var n=function(e,t){switch(t.type){case"base64":return r(Zh(e),t);case"binary":return r(e,t);case"buffer":return r(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),t);case"array":return r(gu(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),i=n[0],a=n[1],s=pp(i,t);return nu(a).forEach((function(e){s[e]=a[e]})),s}function s(e,t,n,i){var r="C;Y"+(n+1)+";X"+(i+1)+";K";switch(e.t){case"n":r+=e.v||0,e.f&&!e.F&&(r+=";E"+ib(e.f,{r:n,c:i}));break;case"b":r+=e.v?"TRUE":"FALSE";break;case"e":r+=e.w||e.v;break;case"d":r+='"'+(e.w||e.v)+'"';break;case"s":r+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return r}return e["|"]=254,{to_workbook:function(e,t){return up(a(e,t),t)},to_sheet:a,from_sheet:function(e,t){var n,i,r=["ID;PWXL;N;E"],a=[],o=lp(e["!ref"]),c=Array.isArray(e),l="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&(i=r,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=km(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=Sm(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&i.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var i="F;";t.hidden?i+="M0;":t.hpt?i+="M"+20*t.hpt+";":t.hpx&&(i+="M"+20*Im(t.hpx)+";"),i.length>2&&e.push(i+"R"+(n+1))}))}(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var h=o.s.r;h<=o.e.r;++h)for(var d=o.s.c;d<=o.e.c;++d){var u=sp({r:h,c:d});(n=c?(e[h]||[])[d]:e[u])&&(null!=n.v||n.f&&!n.F)&&a.push(s(n,0,h,d))}return r.join(l)+l+a.join(l)+l+"E"+l}}}(),Zg=function(){function e(e,t){for(var n=e.split("\n"),i=-1,r=-1,a=0,s=[];a!==n.length;++a)if("BOT"!==n[a].trim()){if(!(i<0)){for(var o=n[a].trim().split(","),c=o[0],l=o[1],h=n[++a]||"";1&(h.match(/["]/g)||[]).length&&a=0?o=l:r=l}})),c>=0&&-1==o&&r>=0&&(o=r,r=-1);var l=(""+(i>=0?i:(new Date).getFullYear())).slice(-4)+"-"+("00"+(r>=1?r:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var h=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==s&&-1==o&&-1==c?l:-1==i&&-1==r&&-1==a?h:l+"T"+h}(0,n.dateNF,t.match(v)||[]),r=1),n.cellDates?(i.t="d",i.v=pu(t,r)):(i.t="n",i.v=au(pu(t,r))),!1!==n.cellText&&(i.w=Yd(i.z,i.v instanceof Date?au(i.v):i.v)),n.cellNF||delete i.z}else i.t="s",i.v=t;else i.t="n",!1!==n.cellText&&(i.w=t),i.v=l;if("z"==i.t||(n.dense?(a[o]||(a[o]=[]),a[o][c]=i):a[sp({c:c,r:o})]=i),h=d+1,g=e.charCodeAt(h),s.e.c0&&y(),a["!ref"]=cp(s),a}function a(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?r(t,n):pp(function(t,n){var i=n||{},r=[];if(!t||0===t.length)return r;for(var a=t.split(/[\r\n]/),s=a.length-1;s>=0&&0===a[s].length;)--s;for(var o=10,c=0,l=0;l<=s;++l)-1==(c=a[l].indexOf(" "))?c=a[l].length:c++,o=Math.max(o,c);for(l=0;l<=s;++l){r[l]=[];var h=0;for(e(a[l].slice(0,o).trim(),r,l,h,i),h=1;h<=(a[l].length-o)/10+1;++h)e(a[l].slice(o+10*(h-1),o+10*h).trim(),r,l,h,i)}return i.sheetRows&&(r=r.slice(0,i.sheetRows)),r}(t,n),n):r(t,n)}function s(e,t){var n="",i="string"==t.type?[0,0,0,0]:Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":case"string":n=e;break;case"buffer":65001==t.codepage?n=e.toString("utf8"):(t.codepage,n=Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e));break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]?n=Ju(n.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?n=Ju(n):t.type,"socialcalc:version:"==n.slice(0,19)?Jg.to_sheet("string"==t.type?n:Ju(n),t):a(n,t)}return{to_workbook:function(e,t){return up(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){for(var s=[],o=i.s.c;o<=i.e.c;++o){var c=sp({r:a,c:o});if((t=r?(e[a]||[])[o]:e[c])&&null!=t.v){for(var l=(t.w||(dp(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";s.push(l+(0===o?" ":""))}else s.push(" ")}n.push(s.join(""))}return n.join("\n")}}}();var em=function(){function e(e,t,n){if(e){Xf(e,e.l||0);for(var i=n.Enum||b;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])i.Enum=b,e(t,(function(e,t,n){switch(n){case 0:i.vers=e,e>=4096&&(i.qpro=!0);break;case 6:d=e;break; +/* RANGE */case 204:e&&(s=e);break; +/* SHEETNAMECS */case 222:s=e;break; +/* SHEETNAMELP */case 15: +/* LABEL */case 51:i.qpro||(e[1].v=e[1].v.slice(1)) +/* falls through */;case 13: +/* INTEGER */case 14: +/* NUMBER */case 16:14==n&&!(112&~e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=i.dateNF||bd[14],i.cellDates&&(e[1].t="d",e[1].v=lu(e[1].v))),i.qpro&&e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a=s||"Sheet"+(o+1),s="");var h=i.dense?(r[e[0].r]||[])[e[0].c]:r[sp(e[0])];if(h){h.t=e[1].t,h.v=e[1].v,null!=e[1].z&&(h.z=e[1].z),null!=e[1].f&&(h.f=e[1].f);break}i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1]}}),i);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);i.Enum=v,14==t[2]&&(i.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:a=e;break; +/* SHEETNAMECS */case 22:e[1].v=e[1].v.slice(1); +/* falls through */case 23: +/* NUMBER17 */case 24: +/* NUMBER18 */case 25: +/* FORMULA19 */case 37: +/* NUMBER25 */case 39: +/* NUMBER27 */case 40:if(e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a="Sheet"+(o+1)),u>0&&e[0].r>=u)break;i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1],d.e.c=128?95:a)}return i.write_shift(1,0),i}function a(e,t,n){var i=qf(7);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(2,n,"i"),i}function s(e,t,n){var i=qf(13);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(8,n,"f"),i}function o(e,t,n){var i=32768&t;return t=(i?e:0)+((t&=-32769)>=8192?t-16384:t),(i?"":"$")+(n?rp(t):np(t))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"","+","-","*","/","^","=","<>", +// eslint-disable-line no-mixed-spaces-and-tabs +"<=",">=","<",">","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"&","","","","","","",""];function h(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function d(e,t,n,i){var r=qf(6+i.length);r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),r.write_shift(1,39);for(var a=0;a=128?95:s)}return r.write_shift(1,0),r}function u(e,t){var n=h(e),i=e.read_shift(4),r=e.read_shift(4),a=e.read_shift(2);if(65535==a)return 0===i&&3221225472===r?(n[1].t="e",n[1].v=15):0===i&&3489660928===r?(n[1].t="e",n[1].v=42):n[1].v=0,n;var s=32768&a;return a=(32767&a)-16446,n[1].v=(1-2*s)*(r*Math.pow(2,a+32)+i*Math.pow(2,a)),n}function f(e,t,n,i){var r=qf(14);if(r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),0==i)return r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,65535),r;var a,s=0,o=0,c=0;return i<0&&(s=1,i=-i),o=0|Math.log2(i),2147483648&(c=(i/=Math.pow(2,o-31))>>>0)||(++o,c=(i/=2)>>>0),i-=c,c|=2147483648,c>>>=0,a=(i*=Math.pow(2,32))>>>0,r.write_shift(4,a),r.write_shift(4,c),o+=16383+(s?32768:0),r.write_shift(2,o),r}function p(e,t){var n=h(e),i=e.read_shift(8,"f");return n[1].v=i,n}function g(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function m(e,t){var n=qf(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var i=0;i127?95:r}return n[n.l++]=0,n}var b={ +/*::[*/ +0:{n:"BOF",f:ug}, +/*::[*/ +1:{n:"EOF"}, +/*::[*/ +2:{n:"CALCMODE"}, +/*::[*/ +3:{n:"CALCORDER"}, +/*::[*/ +4:{n:"SPLIT"}, +/*::[*/ +5:{n:"SYNC"}, +/*::[*/ +6:{n:"RANGE",f:function(e,t,n){var i={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(i.s.c=e.read_shift(1),e.l++,i.s.r=e.read_shift(2),i.e.c=e.read_shift(1),e.l++,i.e.r=e.read_shift(2),i):(i.s.c=e.read_shift(2),i.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),i.e.c=e.read_shift(2),i.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==i.s.c&&(i.s.c=i.e.c=i.s.r=i.e.r=0),i)}}, +/*::[*/ +7:{n:"WINDOW1"}, +/*::[*/ +8:{n:"COLW1"}, +/*::[*/ +9:{n:"WINTWO"}, +/*::[*/ +10:{n:"COLW2"}, +/*::[*/ +11:{n:"NAME"}, +/*::[*/ +12:{n:"BLANK"}, +/*::[*/ +13:{n:"INTEGER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(2,"i"),r}}, +/*::[*/ +14:{n:"NUMBER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(8,"f"),r}}, +/*::[*/ +15:{n:"LABEL",f:i}, +/*::[*/ +16:{n:"FORMULA",f:function(e,t,i){var r=e.l+t,a=n(e,0,i);if(a[1].v=e.read_shift(8,"f"),i.qpro)e.l=r;else{var s=e.read_shift(2);!function(e,t){Xf(e,0);var n=[],i=0,r="",a="",s="",h="";for(;e.ln.length)return;var g=n.slice(-i);n.length-=i,n.push(c[d][0]+"("+g.join(",")+")")}}}1==n.length&&(t[1].f=""+n[0])}(e.slice(e.l,e.l+s),a),e.l+=s}return a}}, +/*::[*/ +24:{n:"TABLE"}, +/*::[*/ +25:{n:"ORANGE"}, +/*::[*/ +26:{n:"PRANGE"}, +/*::[*/ +27:{n:"SRANGE"}, +/*::[*/ +28:{n:"FRANGE"}, +/*::[*/ +29:{n:"KRANGE1"}, +/*::[*/ +32:{n:"HRANGE"}, +/*::[*/ +35:{n:"KRANGE2"}, +/*::[*/ +36:{n:"PROTEC"}, +/*::[*/ +37:{n:"FOOTER"}, +/*::[*/ +38:{n:"HEADER"}, +/*::[*/ +39:{n:"SETUP"}, +/*::[*/ +40:{n:"MARGINS"}, +/*::[*/ +41:{n:"LABELFMT"}, +/*::[*/ +42:{n:"TITLES"}, +/*::[*/ +43:{n:"SHEETJS"}, +/*::[*/ +45:{n:"GRAPH"}, +/*::[*/ +46:{n:"NGRAPH"}, +/*::[*/ +47:{n:"CALCCOUNT"}, +/*::[*/ +48:{n:"UNFORMATTED"}, +/*::[*/ +49:{n:"CURSORW12"}, +/*::[*/ +50:{n:"WINDOW"}, +/*::[*/ +51:{n:"STRING",f:i}, +/*::[*/ +55:{n:"PASSWORD"}, +/*::[*/ +56:{n:"LOCKED"}, +/*::[*/ +60:{n:"QUERY"}, +/*::[*/ +61:{n:"QUERYNAME"}, +/*::[*/ +62:{n:"PRINT"}, +/*::[*/ +63:{n:"PRINTNAME"}, +/*::[*/ +64:{n:"GRAPH2"}, +/*::[*/ +65:{n:"GRAPHNAME"}, +/*::[*/ +66:{n:"ZOOM"}, +/*::[*/ +67:{n:"SYMSPLIT"}, +/*::[*/ +68:{n:"NSROWS"}, +/*::[*/ +69:{n:"NSCOLS"}, +/*::[*/ +70:{n:"RULER"}, +/*::[*/ +71:{n:"NNAME"}, +/*::[*/ +72:{n:"ACOMM"}, +/*::[*/ +73:{n:"AMACRO"}, +/*::[*/ +74:{n:"PARSE"}, +/*::[*/ +102:{n:"PRANGES??"}, +/*::[*/ +103:{n:"RRANGES??"}, +/*::[*/ +104:{n:"FNAME??"}, +/*::[*/ +105:{n:"MRANGES??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var i="";i.length>1;if(1&n[1].v)switch(7&i){case 0:i=5e3*(i>>3);break;case 1:i=500*(i>>3);break;case 2:i=(i>>3)/20;break;case 3:i=(i>>3)/200;break;case 4:i=(i>>3)/2e3;break;case 5:i=(i>>3)/2e4;break;case 6:i=(i>>3)/16;break;case 7:i=(i>>3)/64}return n[1].v=i,n}}, +/*::[*/ +25:{n:"FORMULA19",f:function(e,t){var n=u(e);return e.l+=t-14,n}}, +/*::[*/ +26:{n:"FORMULA1A"}, +/*::[*/ +27:{n:"XFORMAT",f:function(e,t){for(var n={},i=e.l+t;e.l>6,n}}, +/*::[*/ +38:{n:"??"}, +/*::[*/ +39:{n:"NUMBER27",f:p}, +/*::[*/ +40:{n:"FORMULA28",f:function(e,t){var n=p(e);return e.l+=t-10,n}}, +/*::[*/ +142:{n:"??"}, +/*::[*/ +147:{n:"??"}, +/*::[*/ +150:{n:"??"}, +/*::[*/ +151:{n:"??"}, +/*::[*/ +152:{n:"??"}, +/*::[*/ +153:{n:"??"}, +/*::[*/ +154:{n:"??"}, +/*::[*/ +155:{n:"??"}, +/*::[*/ +156:{n:"??"}, +/*::[*/ +163:{n:"??"}, +/*::[*/ +174:{n:"??"}, +/*::[*/ +175:{n:"??"}, +/*::[*/ +176:{n:"??"}, +/*::[*/ +177:{n:"??"}, +/*::[*/ +184:{n:"??"}, +/*::[*/ +185:{n:"??"}, +/*::[*/ +186:{n:"??"}, +/*::[*/ +187:{n:"??"}, +/*::[*/ +188:{n:"??"}, +/*::[*/ +195:{n:"??"}, +/*::[*/ +201:{n:"??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +205:{n:"??"}, +/*::[*/ +206:{n:"??"}, +/*::[*/ +207:{n:"??"}, +/*::[*/ +208:{n:"??"}, +/*::[*/ +256:{n:"??"}, +/*::[*/ +259:{n:"??"}, +/*::[*/ +260:{n:"??"}, +/*::[*/ +261:{n:"??"}, +/*::[*/ +262:{n:"??"}, +/*::[*/ +263:{n:"??"}, +/*::[*/ +265:{n:"??"}, +/*::[*/ +266:{n:"??"}, +/*::[*/ +267:{n:"??"}, +/*::[*/ +268:{n:"??"}, +/*::[*/ +270:{n:"??"}, +/*::[*/ +271:{n:"??"}, +/*::[*/ +384:{n:"??"}, +/*::[*/ +389:{n:"??"}, +/*::[*/ +390:{n:"??"}, +/*::[*/ +393:{n:"??"}, +/*::[*/ +396:{n:"??"}, +/*::[*/ +512:{n:"??"}, +/*::[*/ +514:{n:"??"}, +/*::[*/ +513:{n:"??"}, +/*::[*/ +516:{n:"??"}, +/*::[*/ +517:{n:"??"}, +/*::[*/ +640:{n:"??"}, +/*::[*/ +641:{n:"??"}, +/*::[*/ +642:{n:"??"}, +/*::[*/ +643:{n:"??"}, +/*::[*/ +644:{n:"??"}, +/*::[*/ +645:{n:"??"}, +/*::[*/ +646:{n:"??"}, +/*::[*/ +647:{n:"??"}, +/*::[*/ +648:{n:"??"}, +/*::[*/ +658:{n:"??"}, +/*::[*/ +659:{n:"??"}, +/*::[*/ +660:{n:"??"}, +/*::[*/ +661:{n:"??"}, +/*::[*/ +662:{n:"??"}, +/*::[*/ +665:{n:"??"}, +/*::[*/ +666:{n:"??"}, +/*::[*/ +768:{n:"??"}, +/*::[*/ +772:{n:"??"}, +/*::[*/ +1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var i=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[i,e.read_shift(t-21,"cstr")]}}}, +/*::[*/ +1600:{n:"??"}, +/*::[*/ +1602:{n:"??"}, +/*::[*/ +1793:{n:"??"}, +/*::[*/ +1794:{n:"??"}, +/*::[*/ +1795:{n:"??"}, +/*::[*/ +1796:{n:"??"}, +/*::[*/ +1920:{n:"??"}, +/*::[*/ +2048:{n:"??"}, +/*::[*/ +2049:{n:"??"}, +/*::[*/ +2052:{n:"??"}, +/*::[*/ +2688:{n:"??"}, +/*::[*/ +10998:{n:"??"}, +/*::[*/ +12849:{n:"??"}, +/*::[*/ +28233:{n:"??"}, +/*::[*/ +28484:{n:"??"}, +/*::[*/ +65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var i,o,c=Kf(),l=lp(e["!ref"]),h=Array.isArray(e),d=[];iy(c,0,(i=1030,(o=qf(2)).write_shift(2,i),o)),iy(c,6,function(e){var t=qf(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(l));for(var u=Math.min(l.e.r,8191),f=l.s.r;f<=u;++f)for(var p=np(f),g=l.s.c;g<=l.e.c;++g){f===l.s.r&&(d[g]=rp(g));var m=d[g]+p,b=h?(e[f]||[])[g]:e[m];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?iy(c,13,a(f,g,b.v)):iy(c,14,s(f,g,b.v));else iy(c,15,r(f,g,dp(b).slice(0,239)))}return iy(c,1),c.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var i=Kf();iy(i,0,function(e){var t=qf(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,i=0,r=0,a=0;a8191&&(n=8191);return t.write_shift(2,n),t.write_shift(1,r),t.write_shift(1,i),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var r=0,a=0;r":case"":t.shadow=1;break;case"":break; +/* 18.4.1 charset CT_IntProperty TODO */case"":case"":t.outline=1;break;case"":break; +/* 18.4.5 rFont CT_FontName */case"":case"":t.strike=1;break;case"":break; +/* 18.4.13 u CT_UnderlineProperty */case"":case"":t.u=1;break;case"":break; +/* 18.8.2 b */case"":case"":t.b=1;break;case"":break; +/* 18.8.26 i */case"":case"":t.i=1;break;case"":break; +/* 18.3.1.15 color CT_Color TODO: tint, theme, auto, indexed */case"":case"":case"":break; +/* 18.8.18 family ST_FontFamily */case"":case"":case"":break; +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty TODO */case"":case"":case"": +/* 18.8.35 scheme CT_FontScheme TODO */case"":case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":r=!1;break;default:if(47!==a[0].charCodeAt(1)&&!r)throw new Error("Unrecognized rich format "+a[0])}}return t}(a[1])),r}var i=/<(?:\w+:)?r>/g,r=/<\/(?:\w+:)?r>/;return function(e){return e.replace(i,"").split(r).map(n).filter((function(e){return e.v}))}}(),nm=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var i=[];e.u&&i.push("text-decoration: underline;"),e.uval&&i.push("text-underline-style:"+e.uval+";"),e.sz&&i.push("font-size:"+e.sz+"pt;"),e.outline&&i.push("text-effect: outline;"),e.shadow&&i.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),n.push("")),e.i&&(t.push(""),n.push("")),e.strike&&(t.push(""),n.push(""));var r=e.valign||"";"superscript"==r||"super"==r?r="sup":"subscript"==r&&(r="sub"),""!=r&&(t.push("<"+r+">"),n.push("")),n.push("")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"
")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),im=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,rm=/<(?:\w+:)?r>/,am=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function sm(e,t){var n=!t||t.cellHTML,i={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(i.t=zu(Ju(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),i.r=Ju(e),n&&(i.h=Gu(i.t))): +/*y = */ +e.match(rm)&&(i.r=Ju(e),i.t=zu(Ju((e.replace(am,"").match(im)||[]).join("").replace(Ou,""))),n&&(i.h=nm(tm(i.r)))),i):{t:""}}var om=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,cm=/<(?:\w+:)?(?:si|sstItem)>/g,lm=/<\/(?:\w+:)?(?:si|sstItem)>/;function hm(e){for(var t=[],n=e.split(""),i=0;i=4&&(e.l+=t-4),n}function um(e){for(var t=e.read_shift(4),n=e.l+t-4,i={},r=e.read_shift(4),a=[];r-- >0;)a.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(i.name=e.read_shift(0,"lpp4"),i.comps=a,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return i}function fm(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=dm(e,4),t.U=dm(e,4),t.W=dm(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function pm(e,t){var n=e.l+t,i={};i.Flags=63&e.read_shift(4),e.l+=4,i.AlgID=e.read_shift(4);var r=!1;switch(i.AlgID){case 26126:case 26127:case 26128:r=36==i.Flags;break;case 26625:r=4==i.Flags;break;case 0:r=16==i.Flags||4==i.Flags||36==i.Flags;break;default:throw"Unrecognized encryption algorithm: "+i.AlgID}if(!r)throw new Error("Encryption Flags/AlgID mismatch");return i.AlgIDHash=e.read_shift(4),i.KeySize=e.read_shift(4),i.ProviderType=e.read_shift(4),e.l+=8,i.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,i}function gm(e,t){var n={},i=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,i),e.l=i,n}function mm(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:pm(e,t),v:gm(e,e.length-e.l)}}function bm(){throw new Error("File is password-protected: ECMA-376 Extensible")}function vm(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),i={};return n.replace(Ou,(function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"":case"":break;case"":case"=0;--a)for(var s=e[a],o=0;7!=o;++o)64&s&&(i^=n[r]),s*=2,--r;return i}(c),h=c.length,d=ed(16),u=0;16!=u;++u)d[u]=0;for(1&~h||(a=l>>8,d[h]=i(e[0],a),--h,a=255&l,s=c[c.length-1],d[h]=i(s,a));h>0;)a=l>>8,d[--h]=i(c[h],a),a=255&l,d[--h]=i(c[h],a);for(h=15,o=15-c.length;o>0;)a=l>>8,d[h]=i(e[o],a),--o,a=255&l,d[--h]=i(c[h],a),--h,--o;return d}}(),wm=function(e){var t=0,n=ym(e);return function(e){var i=function(e,t,n,i,r){var a,s;for(r||(r=t),i||(i=ym(e)),a=0;a!=t.length;++a)s=t[a],s=255&((s^=i[n])>>5|s<<3),r[a]=s,++n;return[r,n,i]}("",e,t,n);return t=i[1],i[0]}};function xm(e,t,n,i){var r={key:ug(e),verificationBytes:ug(e)};return n.password&&(r.verifier=function(e){var t,n,i=0,r=hm(e),a=r.length+1;for((t=ed(a))[0]=r.length,n=1;n!=a;++n)t[n]=r[n-1];for(n=a-1;n>=0;--n)i=((16384&i?1:0)|i<<1&32767)^t[n];return 52811^i}(n.password)),i.valid=r.verificationBytes===r.verifier,i.valid&&(i.insitu=wm(n.password)),r}function _m(e,t,n){var i=n||{};return i.Info=e.read_shift(2),e.l-=2,1===i.Info?i.Data=function(e){var t={},n=t.EncryptionVersionInfo=dm(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):i.Data=function(e,t){var n={},i=n.EncryptionVersionInfo=dm(e,4);if(t-=4,2!=i.Minor)throw new Error("unrecognized minor version code: "+i.Minor);if(i.Major>4||i.Major<2)throw new Error("unrecognized major version code: "+i.Major);n.Flags=e.read_shift(4),t-=4;var r=e.read_shift(4);return t-=4,n.EncryptionHeader=pm(e,r),t-=r,n.EncryptionVerifier=gm(e,t),n}(e,t),i}var Tm=function(){function e(e,n){switch(n.type){case"base64":return t(Zh(e),n);case"binary":return t(e,n);case"buffer":return t(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),n);case"array":return t(gu(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var r={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var i,a=/\\\w+\b/g,s=0,o=-1;i=a.exec(e);){if("\\cell"===i[0]){var c=e.slice(s,a.lastIndex-i[0].length);if(" "==c[0]&&(c=c.slice(1)),++o,c.length){var l={v:c,t:"s"};Array.isArray(n)?n[t][o]=l:n[sp({r:t,c:o})]=l}}s=a.lastIndex}o>r.e.c&&(r.e.c=o)})),n["!ref"]=cp(r),n}return{to_workbook:function(t,n){return up(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){n.push("\\trowd\\trautofit1");for(var s=i.s.c;s<=i.e.c;++s)n.push("\\cellx"+(s+1));for(n.push("\\pard\\intbl"),s=i.s.c;s<=i.e.c;++s){var o=sp({r:a,c:s});(t=r?(e[a]||[])[s]:e[o])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(dp(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function Dm(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Am(e,t){if(0===t)return e;var n,i,r=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(t,n,i),a=Math.min(t,n,i),s=r-a;if(0===s)return[0,0,t];var o,c=0,l=r+a;switch(o=s/(l>1?2-l:l),r){case t:c=((n-i)/s+6)%6;break;case n:c=(i-t)/s+2;break;case i:c=(t-n)/s+4}return[c/6,o,l/2]}((i=(n=e).slice("#"===n[0]?1:0).slice(0,6),[parseInt(i.slice(0,2),16),parseInt(i.slice(2,4),16),parseInt(i.slice(4,6),16)]));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),Dm(function(e){var t,n=e[0],i=e[1],r=e[2],a=2*i*(r<.5?r:1-r),s=r-a/2,o=[s,s,s],c=6*n;if(0!==i)switch(0|c){case 0:case 6:t=a*c,o[0]+=a,o[1]+=t;break;case 1:t=a*(2-c),o[0]+=t,o[1]+=a;break;case 2:t=a*(c-2),o[1]+=a,o[2]+=t;break;case 3:t=a*(4-c),o[1]+=t,o[2]+=a;break;case 4:t=a*(c-4),o[2]+=a,o[0]+=t;break;case 5:t=a*(6-c),o[2]+=t,o[0]+=a}for(var l=0;3!=l;++l)o[l]=Math.round(255*o[l]);return o}(r))}var Em=6;function km(e){return Math.floor((e+Math.round(128/Em)/256)*Em)}function Sm(e){return Math.floor((e-5)/Em*100+.5)/100}function Cm(e){return Math.round((e*Em+5)/Em*256)/256}function Um(e){return Cm(Sm(km(e)))}function Fm(e){var t=Math.abs(e-Um(e)),n=Em;if(t>.005)for(Em=1;Em<15;++Em)Math.abs(e-Um(e))<=t&&(t=Math.abs(e-Um(e)),n=Em);Em=n}function Mm(e){e.width?(e.wpx=km(e.width),e.wch=Sm(e.wpx),e.MDW=Em):e.wpx?(e.wch=Sm(e.wpx),e.width=Cm(e.wch),e.MDW=Em):"number"==typeof e.wch&&(e.width=Cm(e.wch),e.wpx=km(e.width),e.MDW=Em),e.customWidth&&delete e.customWidth}var Rm=96;function Im(e){return 96*e/Rm}function Om(e){return e*Rm/96}var Nm={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var Pm=["numFmtId","fillId","fontId","borderId","xfId"],Lm=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Wm=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,i=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,r=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,s,o){var c,l={};return a?((c=(a=a.replace(//gm,"").replace(//gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var i=nu(bd),r=0;r":case"":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}Kd(o,c)}break;default:if(n.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}(c,l,o),(c=a.match(i))&&function(e,t,n,i){t.Fonts=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var s=Lu(e);switch(Wu(s[0])){case"":case"": +/* 18.8.22 font CT_Font */case"":case"":case"": +/* 18.8.2 b CT_BooleanProperty */case"":case"": +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty */case"":case"": +/* 18.8.18 family CT_FontFamily */case"":case"": +/* 18.8.35 scheme CT_FontScheme */case"":case"": +/* 18.4.1 charset CT_IntProperty */case"":case"": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":break;case"":case"":t.Fonts.push(r),r={};break; +/* 18.8.29 name CT_FontName */case"":r.bold=1;break; +/* 18.8.26 i CT_BooleanProperty */case"":r.italic=1;break; +/* 18.4.13 u CT_UnderlineProperty */case"":r.underline=1;break; +/* 18.4.10 strike CT_BooleanProperty */case"":r.strike=1;break; +/* 18.4.2 outline CT_BooleanProperty */case"":r.outline=1;break; +/* 18.8.36 shadow CT_BooleanProperty */case"":r.shadow=1;break; +/* 18.8.12 condense CT_BooleanProperty */case"":r.condense=1;break; +/* 18.8.17 extend CT_BooleanProperty */case"":r.extend=1;break; +/* 18.4.11 sz CT_FontSize */case"":case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fonts")}}))}(c,l,s,o),(c=a.match(n))&&function(e,t,n,i){t.Fills=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"": +/* 18.8.20 fill CT_Fill */case"": +/* 18.8.24 gradientFill CT_GradientFill */case"":case"":case"": +/* 18.8.3 bgColor CT_Color */case"":case"": +/* 18.8.19 fgColor CT_Color */case"":case"": +/* 18.8.38 stop CT_GradientStop */case"":case"": +/* 18.8.? color CT_Color */case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":case"":r={},t.Fills.push(r);break;case"":t.Fills.push(r),r={};break; +/* 18.8.32 patternFill CT_PatternFill */case"":n.patternType&&(r.patternType=n.patternType);break;case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in fills")}}))}(c,l,0,o),(c=a.match(r))&&function(e,t,n,i){t.Borders=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"":case"": +/* 18.8.4 border CT_Border */case"": +/* note: not in spec, appears to be CT_BorderPr */case"":case"":case"": +/* note: not in spec, appears to be CT_BorderPr */case"":case"":case"": +/* 18.8.43 top CT_BorderPr */case"":case"":case"": +/* 18.8.6 bottom CT_BorderPr */case"":case"":case"": +/* 18.8.13 diagonal CT_BorderPr */case"":case"":case"": +/* 18.8.25 horizontal CT_BorderPr */case"":case"":case"": +/* 18.8.44 vertical CT_BorderPr */case"":case"":case"": +/* 18.8.37 start CT_BorderPr */case"":case"":case"": +/* 18.8.16 end CT_BorderPr */case"":case"":case"": +/* 18.8.? color CT_Color */case"":case"":case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":break;case"":case"":r=/*::(*/ +{},n.diagonalUp&&(r.diagonalUp=$u(n.diagonalUp)),n.diagonalDown&&(r.diagonalDown=$u(n.diagonalDown)),t.Borders.push(r);break;case"":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in borders")}}))}(c,l,0,o),(c=a.match(t))&&function(e,t,n){var i;t.CellXf=[];var r=!1;(e[0].match(Ou)||[]).forEach((function(e){var a=Lu(e),s=0;switch(Wu(a[0])){case"":case"":case"": +/* 18.8.45 xf CT_Xf */case"": +/* 18.8.1 alignment CT_CellAlignment */case"": +/* 18.8.33 protection CT_CellProtection */case"":case"": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":break;case"":for(delete(i=a)[0],s=0;s392)for(s=392;s>60;--s)if(t.NumberFmt[i.numFmtId]==t.NumberFmt[s]){i.numFmtId=s;break}t.CellXf.push(i);break;case"":var o={};a.vertical&&(o.vertical=a.vertical),a.horizontal&&(o.horizontal=a.horizontal),null!=a.textRotation&&(o.textRotation=a.textRotation),a.indent&&(o.indent=a.indent),a.wrapText&&(o.wrapText=$u(a.wrapText)),i.alignment=o;break;case"":case"":r=!1;break;default:if(n&&n.WTF&&!r)throw new Error("unrecognized "+a[0]+" in cellXfs")}}))}(c,l,o),l):l}}();var Bm=$f;var jm=$f;var zm=["","","","","","","","","","","",""];function Hm(e,t,n){t.themeElements.clrScheme=[];var i={};(e[0].match(Ou)||[]).forEach((function(e){var r=Lu(e);switch(r[0]){ +/* 20.1.6.2 clrScheme (Color Scheme) CT_ColorScheme */ +case"":break; +/* 20.1.2.3.32 srgbClr CT_SRgbColor */case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===r[0].charAt(1)?(t.themeElements.clrScheme[zm.indexOf(r[0])]=i,i={}):i.name=r[0].slice(3,r[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+r[0]+" in clrScheme")}}))}function Vm(){}function Gm(){}var Xm=/]*)>[\s\S]*<\/a:clrScheme>/,$m=/]*)>[\s\S]*<\/a:fontScheme>/,qm=/]*)>[\s\S]*<\/a:fmtScheme>/;var Ym=/]*)>[\s\S]*<\/a:themeElements>/;function Km(e,t){var n,i;e&&0!==e.length||((n=[Mu])[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",e=n.join(""));var r={};if(!(i=e.match(Ym)))throw new Error("themeElements not found in theme");return function(e,t,n){var i;t.themeElements={},[ +/* clrScheme CT_ColorScheme */ +["clrScheme",Xm,Hm], +/* fontScheme CT_FontScheme */ +["fontScheme",$m,Vm], +/* fmtScheme CT_StyleMatrix */ +["fmtScheme",qm,Gm]].forEach((function(r){if(!(i=e.match(r[1])))throw new Error(r[0]+" not found in themeElements");r[2](i,t,n)}))}(i[0],r,t),r.raw=e,r}function Zm(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return $f(e,t)}(e,4);break;case 2:t.xclrValue=xg(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e)}return e.l+=8,t}function Jm(e){var t=e.read_shift(2),n=e.read_shift(2)-4,i=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:i[1]=Zm(e);break;case 6:i[1]=function(e,t){return $f(e,t)}(e,n);break;case 14:case 15:i[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return i}function Qm(e,t,n,i){var r,a=Array.isArray(e);t.forEach((function(t){var s=ap(t.ref);if(a?(e[s.r]||(e[s.r]=[]),r=e[s.r][s.c]):r=e[t.ref],!r){r={t:"z"},a?e[s.r][s.c]=r:e[t.ref]=r;var o=lp(e["!ref"]||"BDWGO1000001:A1");o.s.r>s.r&&(o.s.r=s.r),o.e.rs.c&&(o.s.c=s.c),o.e.c=0;--h){if(!n&&r.c[h].T)return;n&&!r.c[h].T&&r.c.splice(h,1)}if(n&&i)for(h=0;h0?0|parseInt(i,10):0,c=r.length>0?0|parseInt(r,10):0;return a?c+=t.c:--c,s?o+=t.r:--o,n+(a?"":"$")+rp(c)+(s?"":"$")+np(o)}return function(i,r){return t=r,i.replace(e,n)}}(),nb=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ib=function(){return function(e,t){return e.replace(nb,(function(e,n,i,r,a,s){var o=ip(r)-(i?0:t.c),c=tp(s)-(a?0:t.r);return n+"R"+(0==c?"":a?c+1:"["+c+"]")+"C"+(0==o?"":i?o+1:"["+o+"]")}))}}();function rb(e,t){return e.replace(nb,(function(e,n,i,r,a,s){return n+("$"==i?i+r:rp(ip(r)+t.c))+("$"==a?a+s:np(tp(s)+t.r))}))}function ab(e,t,n){var i=op(t).s,r=ap(n);return rb(e,{r:r.r-i.r,c:r.c-i.c})}function sb(e){return e.replace(/_xlfn\./g,"")}function ob(e){e.l+=1}function cb(e,t){var n=e.read_shift(2);return[16383&n,n>>14&1,n>>15&1]}function lb(e,t,n){var i=2;if(n){if(n.biff>=2&&n.biff<=5)return hb(e);12==n.biff&&(i=4)}var r=e.read_shift(i),a=e.read_shift(i),s=cb(e),o=cb(e);return{s:{r:r,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function hb(e){var t=cb(e),n=cb(e),i=e.read_shift(1),r=e.read_shift(1);return{s:{r:t[0],c:i,cRel:t[1],rRel:t[2]},e:{r:n[0],c:r,cRel:n[1],rRel:n[2]}}}function db(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=cb(e),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var i=e.read_shift(n&&12==n.biff?4:2),r=cb(e);return{r:i,c:r[0],cRel:r[1],rRel:r[2]}}function ub(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function fb(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function pb(e){return[e.read_shift(1),e.read_shift(1)]}function gb(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break; +/* SerBool */case 4:n[0]=16;break; +/* SerErr */case 0:n[0]=1;break; +/* SerNum */case 1:n[0]=2}switch(n[0]){case 4:n[1]=dg(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37: +/* appears to be an alias */case 16:n[1]=Lp[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Sp(e);break;case 2:n[1]=vg(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function mb(e,t,n){for(var i=e.read_shift(12==n.biff?4:2),r=[],a=0;a!=i;++a)r.push((12==n.biff?kp:Eg)(e));return r}function bb(e,t,n){var i=0,r=0;12==n.biff?(i=e.read_shift(4),r=e.read_shift(4)):(r=1+e.read_shift(1),i=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--i,0==--r&&(r=256));for(var a=0,s=[];a!=i&&(s[a]=[]);++a)for(var o=0;o!=r;++o)s[a][o]=gb(e,n.biff);return s}function vb(e,t,n){return e.l+=2,[ub(e)]}function yb(e){return e.l+=6,[]}function wb(e){return e.l+=2,[ug(e),1&e.read_shift(2)]}var xb=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var _b={ +/*::[*/ +1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +2:{n:"PtgTbl",f:$f}, +/*::[*/ +3:{n:"PtgAdd",f:ob}, +/*::[*/ +4:{n:"PtgSub",f:ob}, +/*::[*/ +5:{n:"PtgMul",f:ob}, +/*::[*/ +6:{n:"PtgDiv",f:ob}, +/*::[*/ +7:{n:"PtgPower",f:ob}, +/*::[*/ +8:{n:"PtgConcat",f:ob}, +/*::[*/ +9:{n:"PtgLt",f:ob}, +/*::[*/ +10:{n:"PtgLe",f:ob}, +/*::[*/ +11:{n:"PtgEq",f:ob}, +/*::[*/ +12:{n:"PtgGe",f:ob}, +/*::[*/ +13:{n:"PtgGt",f:ob}, +/*::[*/ +14:{n:"PtgNe",f:ob}, +/*::[*/ +15:{n:"PtgIsect",f:ob}, +/*::[*/ +16:{n:"PtgUnion",f:ob}, +/*::[*/ +17:{n:"PtgRange",f:ob}, +/*::[*/ +18:{n:"PtgUplus",f:ob}, +/*::[*/ +19:{n:"PtgUminus",f:ob}, +/*::[*/ +20:{n:"PtgPercent",f:ob}, +/*::[*/ +21:{n:"PtgParen",f:ob}, +/*::[*/ +22:{n:"PtgMissArg",f:ob}, +/*::[*/ +23:{n:"PtgStr",f:function(e,t,n){return e.l++,pg(e,0,n)}}, +/*::[*/ +26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}}, +/*::[*/ +27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}}, +/*::[*/ +28:{n:"PtgErr",f:function(e){return e.l++,Lp[e.read_shift(1)]}}, +/*::[*/ +29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}}, +/*::[*/ +30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}}, +/*::[*/ +31:{n:"PtgNum",f:function(e){return e.l++,Sp(e)}}, +/*::[*/ +32:{n:"PtgArray",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[i]}}, +/*::[*/ +33:{n:"PtgFunc",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(n&&n.biff<=3?1:2);return[Hb[r],zb[r],i]}}, +/*::[*/ +34:{n:"PtgFuncVar",f:function(e,t,n){var i=e[e.l++],r=e.read_shift(1),a=n&&n.biff<=3?[88==i?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[r,(0===a[0]?zb:jb)[a[1]]]}}, +/*::[*/ +35:{n:"PtgName",f:function(e,t,n){var i=e.read_shift(1)>>>5&3,r=!n||n.biff>=8?4:2,a=e.read_shift(r);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[i,0,a]}}, +/*::[*/ +36:{n:"PtgRef",f:function(e,t,n){var i=(96&e[e.l])>>5;return e.l+=1,[i,db(e,0,n)]}}, +/*::[*/ +37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,lb(e,n.biff>=2&&n.biff,n)]}}, +/*::[*/ +38:{n:"PtgMemArea",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +39:{n:"PtgMemErr",f:$f}, +/*::[*/ +40:{n:"PtgMemNoMem",f:$f}, +/*::[*/ +41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +42:{n:"PtgRefErr",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[i]}}, +/*::[*/ +43:{n:"PtgAreaErr",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[i]}}, +/*::[*/ +44:{n:"PtgRefN",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=function(e,t,n){var i=n&&n.biff?n.biff:8;if(i>=2&&i<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),i=(32768&t)>>15,r=(16384&t)>>14;return t&=16383,1==i&&t>=8192&&(t-=16384),1==r&&n>=128&&(n-=256),{r:t,c:n,cRel:r,rRel:i}}(e);var r=e.read_shift(i>=12?4:2),a=e.read_shift(2),s=(16384&a)>>14,o=(32768&a)>>15;if(a&=16383,1==o)for(;r>524287;)r-=1048576;if(1==s)for(;a>8191;)a-=16384;return{r:r,c:a,cRel:s,rRel:o}}(e,0,n);return[i,r]}}, +/*::[*/ +45:{n:"PtgAreaN",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=function(e,t,n){if(n.biff<8)return hb(e);var i=e.read_shift(12==n.biff?4:2),r=e.read_shift(12==n.biff?4:2),a=cb(e),s=cb(e);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:r,c:s[0],cRel:s[1],rRel:s[2]}}}(e,0,n);return[i,r]}}, +/*::[*/ +46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var i=e.read_shift(2);return e.l+=12,[t,n,i]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}}, +/*::[*/ +58:{n:"PtgRef3d",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[i,r,db(e,0,n)]}}, +/*::[*/ +59:{n:"PtgArea3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12;break;case 12:0}return[i,r,lb(e,0,n)]}}, +/*::[*/ +60:{n:"PtgRefErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[i,r]}}, +/*::[*/ +61:{n:"PtgAreaErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[i,r]}}, +/*::[*/ +255:{}},Tb={ +/*::[*/ +64:32, +/*::[*/ +96:32, +/*::[*/ +65:33, +/*::[*/ +97:33, +/*::[*/ +66:34, +/*::[*/ +98:34, +/*::[*/ +67:35, +/*::[*/ +99:35, +/*::[*/ +68:36, +/*::[*/ +100:36, +/*::[*/ +69:37, +/*::[*/ +101:37, +/*::[*/ +70:38, +/*::[*/ +102:38, +/*::[*/ +71:39, +/*::[*/ +103:39, +/*::[*/ +72:40, +/*::[*/ +104:40, +/*::[*/ +73:41, +/*::[*/ +105:41, +/*::[*/ +74:42, +/*::[*/ +106:42, +/*::[*/ +75:43, +/*::[*/ +107:43, +/*::[*/ +76:44, +/*::[*/ +108:44, +/*::[*/ +77:45, +/*::[*/ +109:45, +/*::[*/ +78:46, +/*::[*/ +110:46, +/*::[*/ +79:47, +/*::[*/ +111:47, +/*::[*/ +88:34, +/*::[*/ +120:34, +/*::[*/ +89:57, +/*::[*/ +121:57, +/*::[*/ +90:58, +/*::[*/ +122:58, +/*::[*/ +91:59, +/*::[*/ +123:59, +/*::[*/ +92:60, +/*::[*/ +124:60, +/*::[*/ +93:61, +/*::[*/ +125:61},Db={ +/*::[*/ +1:{n:"PtgElfLel",f:wb}, +/*::[*/ +2:{n:"PtgElfRw",f:vb}, +/*::[*/ +3:{n:"PtgElfCol",f:vb}, +/*::[*/ +6:{n:"PtgElfRwV",f:vb}, +/*::[*/ +7:{n:"PtgElfColV",f:vb}, +/*::[*/ +10:{n:"PtgElfRadical",f:vb}, +/*::[*/ +11:{n:"PtgElfRadicalS",f:yb}, +/*::[*/ +13:{n:"PtgElfColS",f:yb}, +/*::[*/ +15:{n:"PtgElfColSV",f:yb}, +/*::[*/ +16:{n:"PtgElfRadicalLel",f:wb}, +/*::[*/ +25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r=e.read_shift(2),a=e.read_shift(2);return{ixti:t,coltype:3&n,rt:xb[n>>2&31],idx:i,c:r,C:a}}}, +/*::[*/ +29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}}, +/*::[*/ +255:{}},Ab={ +/*::[*/ +0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}}, +/*::[*/ +1:{n:"PtgAttrSemi",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[i]}}, +/*::[*/ +2:{n:"PtgAttrIf",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var i=e.read_shift(n&&2==n.biff?1:2),r=[],a=0;a<=i;++a)r.push(e.read_shift(n&&2==n.biff?1:2));return r}}, +/*::[*/ +8:{n:"PtgAttrGoto",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}}, +/*::[*/ +32:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +33:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}}, +/*::[*/ +255:{}};function Eb(e,t,n,i){if(i.biff<8)return $f(e,t);for(var r=e.l+t,a=[],s=0;s!==n.length;++s)switch(n[s][0]){case"PtgArray":n[s][1]=bb(e,0,i),a.push(n[s][1]);break;case"PtgMemArea":n[s][2]=mb(e,n[s][1],i),a.push(n[s][2]);break;case"PtgExp":i&&12==i.biff&&(n[s][1][1]=e.read_shift(4),a.push(n[s][1]));break;case"PtgList": +/* TODO: PtgList -> PtgExtraList */case"PtgElfRadicalS": +/* TODO: PtgElfRadicalS -> PtgExtraElf */case"PtgElfColS": +/* TODO: PtgElfColS -> PtgExtraElf */case"PtgElfColSV":throw"Unsupported "+n[s][0]}return 0!==(t=r-e.l)&&a.push($f(e,t)),a}function kb(e,t,n){for(var i,r,a=e.l+t,s=[];a!=e.l;)t=a-e.l,r=e[e.l],i=_b[r]||_b[Tb[r]],24!==r&&25!==r||(i=(24===r?Db:Ab)[e[e.l+1]]),i&&i.f?s.push([i.n,i.f(e,t,n)]):$f(e,t);return s}function Sb(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ub(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var i=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!i)return"SH33TJSERR1";var r="";if(n.biff>8)switch(e[i[0]][0]){case 357:return r=-1==i[1]?"#REF":e.SheetNames[i[1]],i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[i[0]][0]; +/* 'BrtSupBookSrc' */ +/* falls through */ +default:return"SH33TJSSRC"+e[i[0]][0]}switch(e[i[0]][0][0]){case 1025:return r=-1==i[1]?"#REF":e.SheetNames[i[1]]||"SH33TJSERR3",i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 14849:return e[i[0]].slice(1).map((function(e){return e.Name})).join(";;"); +//return "SH33TJSERR8"; +default:return e[i[0]][0][3]?(r=-1==i[1]?"#REF":e[i[0]][0][3][i[1]]||"SH33TJSERR4",i[1]==i[2]?r:r+":"+e[i[0]][0][3][i[2]]):"SH33TJSERR2"}}function Fb(e,t,n){var i=Ub(e,t,n);return"#REF"==i?i:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(i,n)}function Mb(e,t,n,i,r){var a,s,o,c,l=r&&r.biff||8,h= +/*range != null ? range :*/{s:{c:0,r:0}},d=[],u=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",b=0,v=e[0].length;b=0){switch(e[0][g][1][0]){case 0:m=bu(" ",e[0][g][1][1]);break;case 1:m=bu("\r",e[0][g][1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}s+=m,g=-1}d.push(s+Cb[y[0]]+a);break;case"PtgIsect":a=d.pop(),s=d.pop(),d.push(s+" "+a);break;case"PtgUnion":a=d.pop(),s=d.pop(),d.push(s+","+a);break;case"PtgRange":a=d.pop(),s=d.pop(),d.push(s+":"+a);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel": +/* [MS-XLS] 2.5.198.33 */case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":o=Zf(y[1][1],h,r),d.push(Qf(o,l));break;case"PtgRefN":o=n?Zf(y[1][1],n,r):y[1][1],d.push(Qf(o,l));break;case"PtgRef3d":u=/*::Number(*/ +y[1][1],o=Zf(y[1][2],h,r),p=Fb(i,u,r),d.push(p+"!"+Qf(o,l));break;case"PtgFunc": +/* [MS-XLS] 2.5.198.62 */case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var _=0==(w&=127)?[]:d.slice(-w);d.length-=w,"User"===x&&(x=_.shift()),d.push(x+"("+_.join(",")+")");break;case"PtgBool":d.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":d.push( +/*::String(*/ +y[1] +/*::)*/);break;case"PtgNum":d.push(String(y[1]));break;case"PtgStr":d.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Jf(y[1][1],n?{s:n}:h,r),d.push(ep(c,r));break;case"PtgArea":c=Jf(y[1][1],h,r),d.push(ep(c,r));break;case"PtgArea3d":u=/*::Number(*/ +y[1][1],c=y[1][2],p=Fb(i,u,r),d.push(p+"!"+ep(c,r));break;case"PtgAttrSum":d.push("SUM("+d.pop()+")");break;case"PtgName":f=y[1][2];var T=(i.names||[])[f-1]||(i[0]||[])[f],D=T?T.Name:"SH33TJSNAME"+String(f);D&&"_xlfn."==D.slice(0,6)&&!r.xlfn&&(D=D.slice(6)),d.push(D);break;case"PtgNameX":var A,E=y[1][1];if(f=y[1][2],!(r.biff<=5)){var k="";if(14849==((i[E]||[])[0]||[])[0]||(1025==((i[E]||[])[0]||[])[0]?i[E][f]&&i[E][f].itab>0&&(k=i.SheetNames[i[E][f].itab-1]+"!"):k=i.SheetNames[f-1]+"!"),i[E]&&i[E][f])k+=i[E][f].Name;else if(i[0]&&i[0][f])k+=i[0][f].Name;else{var S=(Ub(i,E,r)||"").split(";;");S[f-1]?k=S[f-1]:k+="SH33TJSERRX"}d.push(k);break}E<0&&(E=-E),i[E]&&(A=i[E][f]),A||(A={Name:"SH33TJSERRY"}),d.push(A.Name);break;case"PtgParen":var C="(",U=")";if(g>=0){switch(m="",e[0][g][1][0]){ +// $FlowIgnore +case 2:C=bu(" ",e[0][g][1][1])+C;break; +// $FlowIgnore +case 3:C=bu("\r",e[0][g][1][1])+C;break; +// $FlowIgnore +case 4:U=bu(" ",e[0][g][1][1])+U;break; +// $FlowIgnore +case 5:U=bu("\r",e[0][g][1][1])+U;break;default:if(r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}d.push(C+d.pop()+U);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":d.push("#REF!");break;case"PtgExp":o={c:y[1][1],r:y[1][0]};var F={c:n.c,r:n.r};if(i.sharedf[sp(o)]){var M=i.sharedf[sp(o)];d.push(Mb(M,h,F,i,r))}else{var R=!1;for(a=0;a!=i.arrayf.length;++a)if(s=i.arrayf[a],!(o.cs[0].e.c||o.rs[0].e.r)){d.push(Mb(s[1],h,F,i,r)),R=!0;break}R||d.push( +/*::String(*/ +y[1] +/*::)*/)}break;case"PtgArray":d.push("{"+Sb( +/*::(*/ +y[1] +/*:: :any)*/)+"}");break;case"PtgAttrSpace": +/* [MS-XLS] 2.5.198.38 */case"PtgAttrSpaceSemi":g=b;break;case"PtgMissArg":d.push("");break;case"PtgList":d.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol": +/* [MS-XLS] 2.5.198.46 */case"PtgElfColS": +/* [MS-XLS] 2.5.198.47 */case"PtgElfColSV": +/* [MS-XLS] 2.5.198.48 */case"PtgElfColV": +/* [MS-XLS] 2.5.198.49 */case"PtgElfLel": +/* [MS-XLS] 2.5.198.50 */case"PtgElfRadical": +/* [MS-XLS] 2.5.198.51 */case"PtgElfRadicalLel": +/* [MS-XLS] 2.5.198.52 */case"PtgElfRadicalS": +/* [MS-XLS] 2.5.198.53 */case"PtgElfRw": +/* [MS-XLS] 2.5.198.54 */case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=r.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][b][0])){var I=!0;switch((y=e[0][g])[1][0]){ +/* note: some bad XLSB files omit the PtgParen */ +case 4:I=!1; +/* falls through */case 0:m=bu(" ",y[1][1]);break;case 5:I=!1; +/* falls through */case 1:m=bu("\r",y[1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}d.push((I?m:"")+d.pop()+(I?"":m)),g=-1}}if(d.length>1&&r.WTF)throw new Error("bad formula stack");return d[0]}function Rb(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}function Ib(e,t,n){var i,r=e.l+t,a=e.read_shift(2),s=kb(e,a,n);return 65535==a?[[],$f(e,t-2)]:(t!==a+2&&(i=Eb(e,r-a-2,s,n)),[s,i])}function Ob(e,t,n){var i=e.l+t,r=Tg(e);2==n.biff&&++e.l;var a=function(e){var t;if(65535!==Of(e,e.l+6))return[Sp(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),s=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var o=function(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}(e,i-e.l,n);return{cell:r,val:a[0],formula:o,shared:s>>3&1,tt:a[1]}}function Nb(e,t,n){var i=e.read_shift(4),r=kb(e,i,n),a=e.read_shift(4);return[r,a>0?Eb(e,a,r,n):null]}var Pb=Nb,Lb=Nb,Wb=Nb,Bb=Nb,jb={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},zb={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Hb={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Vb(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function Gb(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var Xb={},$b={};function qb(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Yb(e,t,n,i,r,a){try{i.cellNF&&(e.z=bd[t])}catch(o){if(i.WTF)throw o}if("z"!==e.t||i.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=pu(e.v)),(!i||!1!==i.cellText)&&"z"!==e.t)try{if(null==bd[t]&&Kd(Jd[t]||"General",t),"e"===e.t)e.w=e.w||Lp[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=kd(e.v);else if("d"===e.t){var s=au(e.v);e.w=(0|s)===s?s.toString(10):kd(s)}else{if(void 0===e.v)return"";e.w=Sd(e.v,$b)}else"d"===e.t?e.w=Yd(t,au(e.v),$b):e.w=Yd(t,e.v,$b)}catch(o){if(i.WTF)throw o}if(i.cellStyles&&null!=n)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Am(r.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),i.WTF&&(e.s.fgColor.raw_rgb=r.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Am(r.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),i.WTF&&(e.s.bgColor.raw_rgb=r.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(i.WTF&&a.Fills)throw o}}}var Kb=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Zb=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Jb=/<(?:\w:)?hyperlink [^>]*>/gm,Qb=/"(\w*:\w*)"/,ev=/<(?:\w:)?col\b[^>]*[\/]?>/g,tv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,nv=/<(?:\w:)?pageMargins[^>]*\/>/g,iv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,rv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,av=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function sv(e,t,n,i,r,a,s){if(!e)return e;i||(i={"!id":{}});var o=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",h="",d=e.match(Zb);d?(l=e.slice(0,d.index),h=e.slice(d.index+d[0].length)):l=h=e;var u=l.match(iv);u?ov(u[0],o,r,n):(u=l.match(rv))&&function(e,t,n,i,r){ov(e.slice(0,e.indexOf(">")),n,i,r)}(u[0],u[1],o,r,n);var f=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=l.slice(f,f+50).match(Qb);p&&function(e,t){var n=lp(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=cp(n))}(o,p[1])}var g=l.match(av);g&&g[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(cv)||[]).forEach((function(e,n){var i=Lu(e);t.Views[n]||(t.Views[n]={}),+i.zoomScale&&(t.Views[n].zoom=+i.zoomScale),$u(i.rightToLeft)&&(t.Views[n].RTL=!0)}))}(g[1],r);var m=[];if(t.cellStyles){var b=l.match(ev);b&&function(e,t){for(var n=!1,i=0;i!=t.length;++i){var r=Lu(t[i],!0);r.hidden&&(r.hidden=$u(r.hidden));var a=parseInt(r.min,10)-1,s=parseInt(r.max,10)-1;for(r.outlineLevel&&(r.level=+r.outlineLevel||0),delete r.min,delete r.max,r.width=+r.width,!n&&r.width&&(n=!0,Fm(r.width)),Mm(r);a<=s;)e[a++]=mu(r)}}(m,b)}d&&lv(d[1],o,t,c,a,s);var v=h.match(tv);v&&(o["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(v[0]));var y=[],w=h.match(Kb);if(w)for(f=0;f!=w.length;++f)y[f]=lp(w[f].slice(w[f].indexOf('"')+1));var x=h.match(Jb);x&&function(e,t,n){for(var i=Array.isArray(e),r=0;r!=t.length;++r){var a=Lu(Ju(t[r]),!0);if(!a.ref)return;var s=((n||{})["!id"]||[])[a.id];s?(a.Target=s.Target,a.location&&(a.Target+="#"+zu(a.location))):(a.Target="#"+zu(a.location),s={Target:a.Target,TargetMode:"Internal"}),a.Rel=s,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var o=lp(a.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var h=sp({c:l,r:c});i?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=a):(e[h]||(e[h]={t:"z",v:void 0}),e[h].l=a)}}}(o,x,i);var _,T,D=h.match(nv);if(D&&(o["!margins"]=(_=Lu(D[0]),T={},["left","right","top","bottom","header","footer"].forEach((function(e){_[e]&&(T[e]=parseFloat(_[e]))})),T)),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=cp(c)),t.sheetRows>0&&o["!ref"]){var A=lp(o["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>c.e.r&&(A.e.r=c.e.r),A.e.rc.e.c&&(A.e.c=c.e.c),A.e.c0&&(o["!cols"]=m),y.length>0&&(o["!merges"]=y),o}function ov(e,t,n,i){var r=Lu(e);n.Sheets[i]||(n.Sheets[i]={}),r.codeName&&(n.Sheets[i].CodeName=zu(Ju(r.codeName)))}var cv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;var lv=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,i=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,r=/ref=["']([^"']*)["']/,a=ef("v"),s=ef("f");return function(o,c,l,h,d,u){for(var f,p,g,m,b,v=0,y="",w=[],x=[],_=0,T=0,D=0,A="",E=0,k=0,S=0,C=0,U=Array.isArray(u.CellXf),F=[],M=[],R=Array.isArray(c),I=[],O={},N=!1,P=!!l.sheetStubs,L=o.split(t),W=0,B=L.length;W!=B;++W){var j=(y=L[W].trim()).length;if(0!==j){var z=0;e:for(v=0;v":if( +/*x.charCodeAt(ri-1) != 47*/ +"/"!=y[v-1]){++v;break e}if(l&&l.cellStyles){if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,l.sheetRows&&l.sheetRows=v)break;if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,!(l.sheetRows&&l.sheetRowsE-1&&(h.s.r=E-1),h.e.r":"")+y,null!=x&&2===x.length){for(_=0,A=x[1],T=0;T!=A.length&&!((D=A.charCodeAt(T)-64)<1||D>26);++T)_=26*_+D;k=--_}else++k;for(T=0;T!=y.length&&62!==y.charCodeAt(T);++T);if(++T,(p=Lu(y.slice(0,T),!0)).r||(p.r=sp({r:E-1,c:k})),f={t:""},null!=(x=(A=y.slice(T)).match(a))&&/*::cref != null && */ +""!==x[1]&&(f.v=zu(x[1])),l.cellFormula){if(null!=(x=A.match(s))&&/*::cref != null && */ +""!==x[1]){if(f.f=zu(Ju(x[1])).replace(/\r\n/g,"\n"),l.xlfn||(f.f=sb(f.f)), +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="array"')>-1)f.F=(A.match(r)||[])[1],f.F.indexOf(":")>-1&&F.push([lp(f.F),f.F]);else if( +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="shared"')>-1){m=Lu(x[0]);var V=zu(Ju(x[1]));l.xlfn||(V=sb(V)),M[parseInt(m.si,10)]=[m,V,p.r]}}else(x=A.match(/]*\/>/))&&M[(m=Lu(x[0])).si]&&(f.f=ab(M[m.si][1],M[m.si][2],p.r));var G=ap(p.r);for(T=0;T=F[T][0].s.r&&G.r<=F[T][0].e.r&&G.c>=F[T][0].s.c&&G.c<=F[T][0].e.c&&(f.F=F[T][1])}if(null==p.t&&void 0===f.v)if(f.f||f.F)f.v=0,f.t="n";else{if(!P)continue;f.t="z"}else f.t=p.t||"n";switch(h.s.c>k&&(h.s.c=k),h.e.c0&&(c["!rows"]=I)}}();var hv=kp;function dv(e){return[wp(e),Sp(e),"n"]}var uv=kp;var fv=["left","right","top","bottom","header","footer"];function pv(e,t,n,i,r,a){var s=a||{"!type":"chart"};if(!e)return a;var o=0,c=0,l="A",h={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,n=[],i=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=i?+t[2]:t[2])}));var r=zu((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,r,t]}(e);h.s.r=h.s.c=0,h.e.c=o,l=rp(o),t[0].forEach((function(e,n){s[l+np(n)]={t:"n",v:e,z:t[1]},c=n})),h.e.r0&&(s["!ref"]=cp(h)),s}var gv=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],mv=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],bv=[],vv=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function yv(e,t){for(var n=0;n!=e.length;++n)for(var i=e[n],r=0;r!=t.length;++r){var a=t[r];if(null==i[a[0]])i[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof i[a[0]]&&(i[a[0]]=$u(i[a[0]]));break;case"int":"string"==typeof i[a[0]]&&(i[a[0]]=parseInt(i[a[0]],10))}}}function wv(e,t){for(var n=0;n!=t.length;++n){var i=t[n];if(null==e[i[0]])e[i[0]]=i[1];else switch(i[2]){case"bool":"string"==typeof e[i[0]]&&(e[i[0]]=$u(e[i[0]]));break;case"int":"string"==typeof e[i[0]]&&(e[i[0]]=parseInt(e[i[0]],10))}}}function xv(e){wv(e.WBProps,gv),wv(e.CalcPr,vv),yv(e.WBView,mv),yv(e.Sheets,bv),$b.date1904=$u(e.WBProps.date1904)}var _v="][*?/\\".split("");var Tv=/<\w+:workbook/;function Dv(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function Av(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},i=[],r=!1;t||(t={}),t.biff=12;var a=[],s=[[]];return s.SheetNames=[],s.XTI=[],ty[16]={n:"BrtFRTArchID$",f:Dv},Yf(e,(function(e,o,c){switch(c){case 156:s.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Mb(e.Ptg,0,null,s,t),delete t.SID,delete e.Ptg,a.push(e);break;case 1036:case 361:case 2071: +/* 'BrtAbsPath15' */case 158: +/* 'BrtBookView' */case 143: +/* 'BrtBeginBundleShs' */case 664: +/* 'BrtBeginFnGroup' */case 353: +/* case 'BrtModelTimeGroupingCalcCol' */case 3072: +/* 'BrtUid' */case 3073: +/* 'BrtRevisionPtr' */case 534: +/* 'BrtBookProtection' */case 677: +/* 'BrtBookProtectionIso' */case 157: +/* 'BrtCalcProp' */case 610: +/* 'BrtCrashRecErr' */case 2050: +/* 'BrtDecoupledPivotCacheID' */case 155: +/* 'BrtFileRecover' */case 548: +/* 'BrtFileSharing' */case 676: +/* 'BrtFileSharingIso' */case 128: +/* 'BrtFileVersion' */case 665: +/* 'BrtFnGroup' */case 2128: +/* 'BrtModelRelationship' */case 2125: +/* 'BrtModelTable' */case 549: +/* 'BrtOleSize' */case 2053: +/* 'BrtPivotTableRef' */case 596: +/* 'BrtSmartTagType' */case 2076: +/* 'BrtTableSlicerCacheID' */case 2075: +/* 'BrtTableSlicerCacheIDs' */case 2082: +/* 'BrtTimelineCachePivotCacheID' */case 397: +/* 'BrtUserBookView' */case 154: +/* 'BrtWbFactoid' */case 1117: +/* 'BrtWbProp14' */case 553: +/* 'BrtWebOpt' */case 2091:case 16:break;case 357: +/* 'BrtSupSelf' */case 358: +/* 'BrtSupSame' */case 355: +/* 'BrtSupBookSrc' */case 667:s[0].length?s.push([c,e]):s[0]=[c,e],s[s.length-1].XTI=[];break;case 362:0===s.length&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(e),s.XTI=s.XTI.concat(e);break;case 35:case 37:i.push(c),r=!0;break;case 36:case 38:i.pop(),r=!1;break;default:if(o.T);else if(!r||t.WTF&&37!=i[i.length-1]&&35!=i[i.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),xv(n),n.Names=a,n.supbooks=s,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n= +/*::(*/{AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},i=!1,r="xmlns",a={},s=0;if(e.replace(Ou,(function(o,c){var l=Lu(o);switch(Wu(l[0])){case"": +/* 18.2.13 fileVersion CT_FileVersion ? */case"":case"": +/* 18.2.12 fileSharing CT_FileSharing ? */case"": +/* 18.2.28 workbookPr CT_WorkbookPr ? */case"": +/* 18.2.29 workbookProtection CT_WorkbookProtection ? */case"": +/* 18.2.1 bookViews CT_BookViews ? */case"":case"": +/* 18.2.30 workbookView CT_BookView + */case"": +/* 18.2.20 sheets CT_Sheets 1 */case"":case"": +// aggregate sheet +/* 18.2.19 sheet CT_Sheet + */case"": +/* 18.2.15 functionGroups CT_FunctionGroups ? */case"": +/* 18.2.14 functionGroup CT_FunctionGroup + */case"":case"": +/* 18.2.8 externalReference CT_ExternalReference + */case"":case"": +/* 18.2.2 calcPr CT_CalcPr ? */case"": +/* 18.2.16 oleSize CT_OleSize ? (ref required) */case"":case"":case"": +/* 18.2.18 pivotCaches CT_PivotCaches ? */case"":case"":case"": +/* 18.2.23 smartTagTypes CT_SmartTagTypes ? */case"":case"": +/* 18.2.22 smartTagType CT_SmartTagType ? */case"": +/* 18.2.11 fileRecoveryPr CT_FileRecoveryPr ? */case"": +/* 18.2.26 webPublishObjects CT_WebPublishObjects ? */case"":case"": +/* 18.2.25 webPublishObject CT_WebPublishObject ? */case"":case"":case"": +/* 18.2.7 ext CT_Extension + */ +/* Others */ +case"":gv.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=$u(l[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:n.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(n.WBProps.CodeName=Ju(l.codeName));break;case"":delete l[0],n.WBView.push(l);break;case"":case"":i=!0;break;case"": +/* 18.2.5 definedName CT_DefinedName + */case"":case"":i=!1;break;case"":a.Ref=zu(Ju(e.slice(s,c))),n.Names.push(a);break;case"":delete l[0],n.CalcPr=l;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return o})),-1===uf.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return xv(n),n}(e,n)}function Ev(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r,a,s){if(!e)return e;var o=t||{};i||(i={"!id":{}});var c,l,h,d,u,f,p,g,m,b,v=o.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=!1,x=!1,_=[];o.biff=12,o["!row"]=0;var T=0,D=!1,A=[],E={},k=o.supbooks||/*::(*/ +r.supbooks||[[]];if(k.sharedf=E,k.arrayf=A,k.SheetNames=r.SheetNames||r.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=k,r.Names))for(var S=0;S=R[0].s.r&&l.r<=R[0].e.r&&f>=R[0].s.c&&f<=R[0].e.c&&(h.F=cp(R[0]),D=!0)}!D&&e.length>3&&(h.f=e[3])}if(y.s.r>l.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.rl.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.r=e.s;)U[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},M||(M=!0,Fm(e.w/256)),Mm(U[e.e+1]);break;case 161:v["!autofilter"]={ref:cp(e)};break;case 476:v["!margins"]=e;break;case 147:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name),(e.above||e.left)&&(v["!outline"]={above:e.above,left:e.left});break;case 137:r.Views||(r.Views=[{}]),r.Views[0]||(r.Views[0]={}),e.RTL&&(r.Views[0].RTL=!0);break;case 485:case 64: +/* 'BrtDVal' */case 1053:case 151:case 152: +/* 'BrtSel' */case 175: +/* 'BrtAFilterDateGroupItem' */case 644: +/* 'BrtActiveX' */case 625: +/* 'BrtBigName' */case 562: +/* 'BrtBkHim' */case 396: +/* 'BrtBrk' */case 1112: +/* 'BrtCFIcon' */case 1146: +/* 'BrtCFRuleExt' */case 471: +/* 'BrtCFVO' */case 1050: +/* 'BrtCFVO14' */case 649: +/* 'BrtCellIgnoreEC' */case 1105: +/* 'BrtCellIgnoreEC14' */case 589: +/* 'BrtCellSmartTagProperty' */case 607: +/* 'BrtCellWatch' */case 564: +/* 'BrtColor' */case 1055: +/* 'BrtColor14' */case 168: +/* 'BrtColorFilter' */case 174: +/* 'BrtCustomFilter' */case 1180: +/* 'BrtCustomFilter14' */case 499: +/* 'BrtDRef' */case 507: +/* 'BrtDXF' */case 550: +/* 'BrtDrawing' */case 171: +/* 'BrtDynamicFilter' */case 167: +/* 'BrtFilter' */case 1177: +/* 'BrtFilter14' */case 169: +/* 'BrtIconFilter' */case 1181: +/* 'BrtIconFilter14' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 661: +/* 'BrtListPart' */case 639: +/* 'BrtOleObject' */case 478: +/* 'BrtPageSetup' */case 537: +/* 'BrtPhoneticInfo' */case 477: +/* 'BrtPrintOptions' */case 536: +/* 'BrtRangeProtection' */case 1103: +/* 'BrtRangeProtection14' */case 680: +/* 'BrtRangeProtectionIso' */case 1104: +/* 'BrtRangeProtectionIso14' */case 1024: +/* 'BrtRwDescent' */case 663: +/* 'BrtSheetCalcProp' */case 535: +/* 'BrtSheetProtection' */case 678: +/* 'BrtSheetProtectionIso' */case 504: +/* 'BrtSlc' */case 1043: +/* 'BrtSparkline' */case 428: +/* 'BrtTable' */case 170: +/* 'BrtTop10Filter' */case 3072: +/* 'BrtUid' */case 50: +/* 'BrtValueMeta' */case 2070: +/* 'BrtWebExtension' */case 1045:break;case 35:case 37:w=!0;break;case 36:case 38:w=!1;break;default:if(t.T);else if(!w||o.WTF)throw new Error("Unexpected record 0x"+S.toString(16))}}),o),delete o.supbooks,delete o["!row"],!v["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(v["!ref"]=cp(c||y)),o.sheetRows&&v["!ref"]){var R=lp(v["!ref"]);o.sheetRows<=+R.e.r&&(R.e.r=o.sheetRows-1,R.e.r>y.e.r&&(R.e.r=y.e.r),R.e.ry.e.c&&(R.e.c=y.e.c),R.e.c0&&(v["!merges"]=_),U.length>0&&(v["!cols"]=U),F.length>0&&(v["!rows"]=F),v}(e,i,n,r,a,s,o):sv(e,i,n,r,a,s,o)}function kv(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},s=!1;return Yf(e,(function(e,i,o){switch(o){case 550:a["!rel"]=e;break;case 651:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name);break;case 562: +/* 'BrtBkHim' */case 652: +/* 'BrtCsPageSetup' */case 669: +/* 'BrtCsProtection' */case 679: +/* 'BrtCsProtectionIso' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 476: +/* 'BrtMargins' */case 3072:case 37:case 38:break;case 35:s=!0;break;case 36:s=!1;break;default:if(i.T>0);else if(i.T<0);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),t),i["!id"][a["!rel"]]&&(a["!drawel"]=i["!id"][a["!rel"]]),a}(e,i,n,r,a):function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a,s={"!type":"chart","!drawel":null,"!rel":""},o=e.match(iv);return o&&ov(o[0],0,r,n),(a=e.match(/drawing r:id="(.*?)"/))&&(s["!rel"]=a[1]),i["!id"][s["!rel"]]&&(s["!drawel"]=i["!id"][s["!rel"]]),s}(e,0,n,r,a)}function Sv(e,t,n,i){return".bin"===t.slice(-4)?function(e,t,n){var i={NumberFmt:[]};for(var r in bd)i.NumberFmt[r]=bd[r];i.CellXf=[],i.Fonts=[];var a=[],s=!1;return Yf(e,(function(e,r,o){switch(o){case 44:i.NumberFmt[e[0]]=e[1],Kd(e[1],e[0]);break;case 43:i.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Am(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48: +/* BrtStyle */case 507: +/* BrtDXF */case 572: +/* BrtMRUColor */case 475:case 1171: +/* BrtDXF14 */case 2102: +/* BrtDXF15 */case 1130: +/* BrtSlicerStyleElement */case 512: +/* BrtTableStyleElement */case 2095: +/* BrtTimelineStyleElement */case 3072:break;case 47:617==a[a.length-1]&&i.CellXf.push(e);break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(o),s=!0;break;case 38:a.pop(),s=!1;break;default:if(r.T>0)a.push(o);else if(r.T<0)a.pop();else if(!s||n.WTF&&37!=a[a.length-1])throw new Error("Unexpected record 0x"+o.toString(16))}})),i}(e,n,i):Wm(e,n,i)}function Cv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=!1;return Yf(e,(function(e,r,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:i=!0;break;case 36:i=!1;break;default:if(r.T,!i||t.WTF)throw new Error("Unexpected record 0x"+a.toString(16))}})),n}(e,n):function(e,t){var n=[],i="";if(!e)return n;var r=e.match(om);if(r){i=r[2].replace(cm,"").split(lm);for(var a=0;a!=i.length;++a){var s=sm(i[a].trim(),t);null!=s&&(n[n.length]=s)}r=Lu(r[1]),n.Count=r.count,n.Unique=r.uniqueCount}return n}(e,n)}function Uv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=[],r={},a=!1;return Yf(e,(function(e,s,o){switch(o){case 632:i.push(e);break;case 635:r=e;break;case 637:r.t=e.t,r.h=e.h,r.r=e.r;break;case 636:if(r.author=i[r.iauthor],delete r.iauthor,t.sheetRows&&r.rfx&&t.sheetRows<=r.rfx.r)break;r.t||(r.t=""),delete r.rfx,n.push(r);break;case 3072:case 37:case 38:break;case 35:a=!0;break;case 36:a=!1;break;default:if(s.T);else if(!a||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],i=[],r=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);r&&r[1]&&r[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var r=e.match(/<(?:\w+:)?comment[^>]*>/);if(r){var a=Lu(r[0]),s={author:a.authorId&&n[a.authorId]||"sheetjsghost",ref:a.ref,guid:a.guid},o=ap(a.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&sm(c[1])||{r:"",t:"",h:""};s.r=l.r,""==l.r&&(l.t=l.h=""),s.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(s.h=l.h),i.push(s)}}}})),i}(e,n)}function Fv(e,t,n){return".bin"===t.slice(-4)?function(e){var t=[];return Yf(e,(function(e,n,i){if(63===i)t.push(e);else if(!n.T)throw new Error("Unexpected record 0x"+i.toString(16))})),t}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0]){case"":case"":break; +/* 18.6.1 c CT_CalcCell 1 */case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":break;case"":case"":s=2;break;case"":a=!1;break;case"-1?zu(t||e).replace(/<.*?>/g,""):i.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),i.v=(pu(e)-new Date(Date.UTC(1899,11,30)))/864e5,i.v!=i.v?i.v=zu(e):i.v<60&&(i.v=i.v-1),h&&"General"!=h||(h="yyyy-mm-dd") +/* falls through */;case"Number":void 0===i.v&&(i.v=+e),i.t||(i.t="n");break;case"Error":i.t="e",i.v=Wp[e],!1!==l.cellText&&(i.w=e);break;default:""==e&&""==t?i.t="z":(i.t="s",i.v=Xu(t||e))}if(Bv(i,h,l),!1!==l.cellFormula)if(i.Formula){var g=zu(i.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),i.f=tb(g,r),delete i.Formula,"RC"==i.ArrayRange?i.F=tb("RC:RC",r):i.ArrayRange&&(i.F=tb(i.ArrayRange,r),c.push([lp(i.F),i.F]))}else for(p=0;p=c[p][0].s.r&&r.r<=c[p][0].e.r&&r.c>=c[p][0].s.c&&r.c<=c[p][0].e.c&&(i.F=c[p][1]);l.cellStyles&&(f.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),i.s=u),void 0!==i.StyleID&&(i.ixfe=i.StyleID)}function Hv(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vv(e,t){var n=t||{};Zd();var i=Xh(lf(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(i=Ju(i));var r,a=i.slice(0,1024).toLowerCase(),s=!1;if((1023&(a=a.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&a.indexOf(","),1023&a.indexOf(";"))){var o=mu(n);return o.type="string",Qg.to_workbook(i,o)}if(-1==a.indexOf("=0&&(s=!0)})),s)return function(e,t){var n=e.match(/[\s\S]*?<\/table>/gi);if(!n||0==n.length)throw new Error("Invalid HTML: could not find ");if(1==n.length)return up(ry(n[0],t),t);var i={SheetNames:[],Sheets:{}};return n.forEach((function(e,n){$y(i,ry(e,t),"Sheet"+(n+1))})),i}(i,n);Iv={"General Number":"General","General Date":bd[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":bd[15],"Short Date":bd[14],"Long Time":bd[19],"Medium Time":bd[18],"Short Time":bd[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:bd[2],Standard:bd[4],Percent:bd[10],Scientific:bd[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,l,h=[],d={},u=[],f=n.dense?[]:{},p="",g={},m={},b=Pv(''),v=0,y=0,w=0,x={s:{r:2e6,c:2e6},e:{r:0,c:0}},_={},T={},D="",A=0,E=[],k={},S={},C=0,U=[],F=[],M={},R=[],I=!1,O=[],N=[],P={},L=0,W=0,B={Sheets:[],WBProps:{date1904:!1}},j={};hf.lastIndex=0,i=i.replace(//gm,"");for(var z="";r=hf.exec(i);)switch(r[3]=(z=r[3]).toLowerCase()){case"data":if("data"==z){if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break}if(h[h.length-1][1])break;"/"===r[1]?zv(i.slice(v,r.index),D,b,/*"Comment"*/ +"comment"==h[h.length-1][0]?M:g,{c:y,r:w},_,R[y],m,O,n):(D="",b=Pv(r[0]),v=r.index+r[0].length);break;case"cell":if("/"===r[1])if(F.length>0&&(g.c=F),(!n.sheetRows||n.sheetRows>w)&&void 0!==g.v&&(n.dense?(f[w]||(f[w]=[]),f[w][y]=g):f[rp(y)+np(w)]=g),g.HRef&&(g.l={Target:zu(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(L=y+(0|parseInt(g.MergeAcross,10)),W=w+(0|parseInt(g.MergeDown,10)),E.push({s:{c:y,r:w},e:{c:L,r:W}})),n.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var H=y;H<=L;++H)for(var V=w;V<=W;++V)(H>y||V>w)&&(n.dense?(f[V]||(f[V]=[]),f[V][H]={t:"z"}):f[rp(H)+np(V)]={t:"z"});y=L+1}else++y;else g.MergeAcross?y=L+1:++y;else(g=Lv(r[0])).Index&&(y=+g.Index-1),yx.e.c&&(x.e.c=y),"/>"===r[0].slice(-2)&&++y,F=[];break;case"row":"/"===r[1]||"/>"===r[0].slice(-2)?(wx.e.r&&(x.e.r=w),"/>"===r[0].slice(-2)&&(m=Pv(r[0])).Index&&(w=+m.Index-1),y=0,++w):((m=Pv(r[0])).Index&&(w=+m.Index-1),P={},("0"==m.AutoFitHeight||m.Height)&&(P.hpx=parseInt(m.Height,10),P.hpt=Im(P.hpx),N[w]=P),"1"==m.Hidden&&(P.hidden=!0,N[w]=P));break;case"worksheet":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));u.push(p),x.s.r<=x.e.r&&x.s.c<=x.e.c&&(f["!ref"]=cp(x),n.sheetRows&&n.sheetRows<=x.e.r&&(f["!fullref"]=f["!ref"],x.e.r=n.sheetRows-1,f["!ref"]=cp(x))),E.length&&(f["!merges"]=E),R.length>0&&(f["!cols"]=R),N.length>0&&(f["!rows"]=N),d[p]=f}else x={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=y=0,h.push([r[3],!1]),c=Pv(r[0]),p=zu(c.Name),f=n.dense?[]:{},E=[],O=[],N=[],j={name:p,Hidden:0},B.Sheets.push(j);break;case"table":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==r[0].slice(-2))break;h.push([r[3],!1]),R=[],I=!1}break;case"style":"/"===r[1]?jv(_,T,n):T=Pv(r[0]);break;case"numberformat":T.nf=zu(Pv(r[0]).Format||"General"),Iv[T.nf]&&(T.nf=Iv[T.nf]);for(var G=0;392!=G&&bd[G]!=T.nf;++G);if(392==G)for(G=57;392!=G;++G)if(null==bd[G]){Kd(T.nf,G);break}break;case"column":if(/*'Table'*/ +"table"!==h[h.length-1][0])break;if((l=Pv(r[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!I&&l.wpx>10){I=!0,Em=6;for(var X=0;X0&&(Y.Sheet=B.Sheets.length-1),B.Names.push(Y);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===r[0].slice(-2))break;"/"===r[1]?D+=i.slice(A,r.index):A=r.index+r[0].length;break;case"interior":if(!n.cellStyles)break;T.Interior=Pv(r[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===r[0].slice(-2))break;"/"===r[1]?Jp(k,z,i.slice(C,r.index)):C=r.index+r[0].length;break;case"styles":case"workbook":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else h.push([r[3],!1]);break;case"comment":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));Hv(M),F.push(M)}else h.push([r[3],!1]),M={a:(c=Pv(r[0])).Author};break;case"autofilter":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==r[0].charAt(r[0].length-2)){var K=Pv(r[0]);f["!autofilter"]={ref:tb(K.Range).replace(/\$/g,"")},h.push([r[3],!0])}break;case"datavalidation":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema": +//case 'data' /*case 'data'*/: +case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;default:if(0==h.length&&"document"==r[3])return uy(i,n);if(0==h.length&&"uof"==r[3])return uy(i,n);var Z=!0;switch(h[h.length-1][0]){ +/* OfficeDocumentSettings */ +case"officedocumentsettings":switch(r[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Z=!1}break; +/* ComponentOptions */case"componentoptions":switch(r[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Z=!1}break; +/* ExcelWorkbook */case"excelworkbook":switch(r[3]){case"date1904":B.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Z=!1}break; +/* WorkbookOptions */case"workbookoptions":switch(r[3]){case"owcversion":case"height":case"width":break;default:Z=!1}break; +/* WorksheetOptions */case"worksheetoptions":switch(r[3]){case"visible":if("/>"===r[0].slice(-2));else if("/"===r[1])switch(i.slice(C,r.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2}else C=r.index+r[0].length;break;case"header":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].header=+Lu(r[0]).Margin);break;case"footer":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].footer=+Lu(r[0]).Margin);break;case"pagemargins":var J=Lu(r[0]);f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+J.Top)||(f["!margins"].top=+J.Top),isNaN(+J.Left)||(f["!margins"].left=+J.Left),isNaN(+J.Right)||(f["!margins"].right=+J.Right),isNaN(+J.Bottom)||(f["!margins"].bottom=+J.Bottom);break;case"displayrighttoleft":B.Views||(B.Views=[]),B.Views[0]||(B.Views[0]={}),B.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].left=!0;break;default:Z=!1}break; +/* PivotTable */case"pivottable":case"pivotcache":switch(r[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Z=!1}break; +/* PageBreaks */case"pagebreaks":switch(r[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Z=!1}break; +/* AutoFilter */case"autofilter":switch(r[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Z=!1}break; +/* QueryTable */case"querytable":switch(r[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Z=!1}break;case"datavalidation":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Z=!1}break;case"sorting":case"conditionalformatting":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Z=!1}break; +/* MapInfo (schema) */case"mapinfo":case"schema":case"data":switch(r[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype": +/* These are from xsd (XML Schema Definition) */case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Z=!1}break; +/* SmartTags (can be anything) */case"smarttags":break;default:Z=!1}if(Z)break;if(r[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+r[3]+"|"+h.join("|");if(/*'CustomDocumentProperties'*/ +"customdocumentproperties"===h[h.length-1][0]){if("/>"===r[0].slice(-2))break;"/"===r[1]?Wv(S,z,U,i.slice(C,r.index)):(U=r,C=r.index+r[0].length);break}if(n.WTF)throw"Unrecognized tag: "+r[3]+"|"+h.join("|")}var Q={};return n.bookSheets||n.bookProps||(Q.Sheets=d),Q.SheetNames=u,Q.Workbook=B,Q.SSF=mu(bd),Q.Props=k,Q.Custprops=S,Q}function Gv(e,t){switch(Uy(t=t||{}),t.type||"base64"){case"base64":return Vv(Zh(e),t);case"binary":case"buffer":case"file":return Vv(e,t);case"array":return Vv(id(e),t)}}function Xv(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Cp(e,1)}(n),n.length-n.l<=4)return t;var i=n.read_shift(4);return 0==i||i>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4||1907505652!==(i=n.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Cp(e,2)}(n),0==(i=n.read_shift(4))||i>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr")))))}var $v=[60,1084,2066,2165,2175];function qv(e,t,n,i,r){var a=i,s=[],o=n.slice(n.l,n.l+a);if(r&&r.enc&&r.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:r.enc.insitu(o)}s.push(o),n.l+=a;for(var c=Of(n,n.l),l=ny[c],h=0;null!=l&&$v.indexOf(c)>-1;)a=Of(n,n.l+2),h=n.l+4,2066==c?h+=4:2165!=c&&2175!=c||(h+=12),o=n.slice(h,n.l+4+a),s.push(o),n.l+=4+a,l=ny[c=Of(n,n.l)];var d=ad(s);Xf(d,0);var u=0;d.lens=[];for(var f=0;f1||i.sheetRows&&e.r>=i.sheetRows)){if(i.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var i,r=t.XF.data;r&&r.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=r.patternType,(i=Dm(E(r.icvFore)))&&(t.s.fgColor={rgb:i}),(i=Dm(E(r.icvBack)))&&(t.s.bgColor={rgb:i}))}(0,t,i),delete t.ixfe,delete t.XF,n=e,y=sp(e),p&&p.s&&p.e||(p={s:{r:0,c:0},e:{r:0,c:0}}),e.rp.e.r&&(p.e.r=e.r+1),e.c+1>p.e.c&&(p.e.c=e.c+1),i.cellFormula&&t.f)for(var r=0;re.c||x[r][0].s.r>e.r||x[r][0].e.c>8)!==H)throw new Error("rt mismatch: "+X+"!="+H);12==G.r&&(e.l+=10,V-=10)}var $={};if($=10===H?/*::(*/ +G.f(e,V,S):/*::(*/ +qv(H,G,e,V,S),0==P&&-1===[9,521,1033,2057].indexOf(N))continue;switch(H){case 34:h.opts.Date1904=D.WBProps.date1904=$;break;case 134:h.opts.WriteProtect=!0;break;case 47:if(S.enc||(e.l=0),S.enc=$,!t.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case 92:S.lastuser=$;break;case 66:var q=Number($);switch(q){case 21010:q=1200;break;case 32768:q=1e4;break;case 32769:q=1252}jh(S.codepage=q),j=!0;break;case 317:S.rrtabid=$;break;case 25:S.winlocked=$;break;case 439:h.opts.RefreshAll=$;break;case 12:h.opts.CalcCount=$;break;case 16:h.opts.CalcDelta=$;break;case 17:h.opts.CalcIter=$;break;case 13:h.opts.CalcMode=$;break;case 14:h.opts.CalcPrecision=$;break;case 95:h.opts.CalcSaveRecalc=$;break;case 15:S.CalcRefMode=$;break; +// TODO: implement R1C1 +case 2211:h.opts.FullCalc=$;break;case 129:$.fDialog&&(u["!type"]="dialog"),$.fBelow||((u["!outline"]||(u["!outline"]={})).above=!0),$.fRight||((u["!outline"]||(u["!outline"]={})).left=!0);break; +// TODO +case 224:_.push($);break;case 430:I.push([$]),I[I.length-1].XTI=[];break;case 35:case 547:I[I.length-1].push($);break;case 24:case 536:O={Name:$.Name,Ref:Mb($.rgce,0,null,I,S)},$.itab>0&&(O.Sheet=$.itab-1),I.names.push(O),I[0]||(I[0]=[],I[0].XTI=[]),I[I.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(B[$.itab-1]={ref:cp($.rgce[0][0][1][2])});break;case 22:S.ExternCount=$;break;case 23:0==I.length&&(I[0]=[],I[0].XTI=[]),I[I.length-1].XTI=I[I.length-1].XTI.concat($),I.XTI=I.XTI.concat($);break;case 2196:if(S.biff<8)break;null!=O&&(O.Comment=$[1]);break;case 18:u["!protect"]=$;break; +/* for sheet or book */case 19:0!==$&&S.WTF;break;case 133:f[$.pos]=$,S.snames.push($.name);break;case 10:if(--P)break;if(p.e){if(p.e.r>0&&p.e.c>0){if(p.e.r--,p.e.c--,u["!ref"]=cp(p),t.sheetRows&&t.sheetRows<=p.e.r){var Y=p.e.r;p.e.r=t.sheetRows-1,u["!fullref"]=u["!ref"],u["!ref"]=cp(p),p.e.r=Y}p.e.r++,p.e.c++}C.length>0&&(u["!merges"]=C),U.length>0&&(u["!objects"]=U),F.length>0&&(u["!cols"]=F),M.length>0&&(u["!rows"]=M),D.Sheets.push(A)}""===b?v=u:d[b]=u,u=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===S.biff&&(S.biff={ +/*::[*/ +9:2, +/*::[*/ +521:3, +/*::[*/ +1033:4}[H]||{ +/*::[*/ +512:2, +/*::[*/ +768:3, +/*::[*/ +1024:4, +/*::[*/ +1280:5, +/*::[*/ +1536:8, +/*::[*/ +2:2, +/*::[*/ +7:2}[$.BIFFVer]||8),S.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(S.biff=5,j=!0,jh(S.codepage=28591)),8==S.biff&&0==$.BIFFVer&&16==$.dt&&(S.biff=2),P++)break;if(u=t.dense?[]:{},S.biff<8&&!j&&(j=!0,jh(S.codepage=t.codepage||1252)),S.biff<5||0==$.BIFFVer&&4096==$.dt){""===b&&(b="Sheet1"),p={s:{r:0,c:0},e:{r:0,c:0}};var K={pos:e.l-V,name:b};f[K.pos]=K,S.snames.push(b)}else b=(f[z]||{name:""}).name;32==$.dt&&(u["!type"]="chart"),64==$.dt&&(u["!type"]="macro"),C=[],U=[],S.arrayf=x=[],F=[],M=[],R=!1,A={Hidden:(f[z]||{hs:0}).hs,name:b};break;case 515:case 3:case 2:"chart"==u["!type"]&&(t.dense?(u[$.r]||[])[$.c]:u[sp({c:$.c,r:$.r})])&&++$.c,o={ixfe:$.ixfe,XF:_[$.ixfe]||{},v:$.val,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 5:case 517:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.val,t:$.t},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 638:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.rknum,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 189:for(var Z=$.c;Z<=$.C;++Z){var J=$.rkrec[Z-$.c][0];o={ixfe:J,XF:_[J],v:$.rkrec[Z-$.c][1],t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:Z,r:$.r},o,t)}break;case 6:case 518:case 1030:if("String"==$.val){g=$;break}if((o=Kv($.val,$.cell.ixfe,$.tt)).XF=_[o.ixfe],t.cellFormula){var Q=$.formula;if(Q&&Q[0]&&Q[0][0]&&"PtgExp"==Q[0][0][0]){var ee=Q[0][0][1][0],te=Q[0][0][1][1],ne=sp({r:ee,c:te});w[ne]?o.f=""+Mb($.formula,0,$.cell,I,S):o.F=((t.dense?(u[ee]||[])[te]:u[ne])||{}).F}else o.f=""+Mb($.formula,0,$.cell,I,S)}L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k($.cell,o,t),g=$;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=$,(o=Kv($,g.cell.ixfe,"s")).XF=_[o.ixfe],t.cellFormula&&(o.f=""+Mb(g.formula,0,g.cell,I,S)),L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k(g.cell,o,t),g=null;break;case 33:case 545:x.push($);var ie=sp($[0].s);if(i=t.dense?(u[$[0].s.r]||[])[$[0].s.c]:u[ie],t.cellFormula&&i){if(!g)break;if(!ie||!i)break;i.f=""+Mb($[1],0,$[0],I,S),i.F=cp($[0])}break;case 1212:if(!t.cellFormula)break;if(y){if(!g)break;w[sp(g.cell)]=$[0],((i=t.dense?(u[g.cell.r]||[])[g.cell.c]:u[sp(g.cell)])||{}).f=""+Mb($[0],0,n,I,S)}break;case 253:o=Kv(m[$.isst].t,$.ixfe,"s"),m[$.isst].h&&(o.h=m[$.isst].h),o.XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 513:t.sheetStubs&&(o={ixfe:$.ixfe,XF:_[$.ixfe],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t));break;case 190:if(t.sheetStubs)for(var re=$.c;re<=$.C;++re){var ae=$.ixfe[re-$.c];o={ixfe:ae,XF:_[ae],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:re,r:$.r},o,t)}break;case 214:case 516:case 4:(o=Kv($.val,$.ixfe,"s")).XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 0:case 512:1===P&&(p=$);break;case 252:m=$;break;case 1054:if(4==S.biff){W[L++]=$[1];for(var se=0;se=163&&Kd($[1],L+163)}else Kd($[1],$[0]);break;case 30:W[L++]=$;for(var oe=0;oe=163&&Kd($,L+163);break;case 229:C=C.concat($);break;case 93:U[$.cmo[0]]=S.lastobj=$;break;case 438:S.lastobj.TxO=$;break;case 127:S.lastobj.ImData=$;break;case 440:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&(i.l=$[1]);break;case 2048:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&i.l&&(i.l.Tooltip=$[1]);break;case 28:if(S.biff<=5&&S.biff>=2)break;i=t.dense?(u[$[0].r]||[])[$[0].c]:u[sp($[0])];var ce=U[$[2]];i||(t.dense?(u[$[0].r]||(u[$[0].r]=[]),i=u[$[0].r][$[0].c]={t:"z"}):i=u[sp($[0])]={t:"z"},p.e.r=Math.max(p.e.r,$[0].r),p.s.r=Math.min(p.s.r,$[0].r),p.e.c=Math.max(p.e.c,$[0].c),p.s.c=Math.min(p.s.c,$[0].c)),i.c||(i.c=[]),r={a:$[1],t:ce.TxO.t},i.c.push(r);break;case 2173:_[$.ixfe],$.ext.forEach((function(e){e[0]}));break;case 125:if(!S.cellStyles)break;for(;$.e>=$.s;)F[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Fm($.w/256)),Mm(F[$.e+1]);break;case 520:var le={};null!=$.level&&(M[$.r]=le,le.level=$.level),$.hidden&&(M[$.r]=le,le.hidden=!0),$.hpt&&(M[$.r]=le,le.hpt=$.hpt,le.hpx=Om($.hpt));break;case 38:case 39:case 40:case 41:u["!margins"]||qb(u["!margins"]={}),u["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[H]]=$;break;case 161:u["!margins"]||qb(u["!margins"]={}),u["!margins"].header=$.header,u["!margins"].footer=$.footer;break;case 574:$.RTL&&(D.Views[0].RTL=!0);break;case 146:T=$;break;case 2198:l=$;break;case 140:c=$;break;case 442:b?A.CodeName=$||A.name:D.WBProps.CodeName=$||"ThisWorkbook"}}else e.l+=V}return h.SheetNames=nu(f).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return f[e].name})),t.bookSheets||(h.Sheets=d),!h.SheetNames.length&&v["!ref"]?(h.SheetNames.push("Sheet1"),h.Sheets&&(h.Sheets.Sheet1=v)):h.Preamble=v,h.Sheets&&B.forEach((function(e,t){h.Sheets[h.SheetNames[t]]["!autofilter"]=e})),h.Strings=m,h.SSF=mu(bd),S.enc&&(h.Encryption=S.enc),l&&(h.Themes=l),h.Metadata={},void 0!==c&&(h.Metadata.Country=c),I.names.length>0&&(D.Names=I.names),h.Workbook=D,h}var Jv="e0859ff2f94f6810ab9108002b27b3d9",Qv="02d5cdd59c2e1b10939708002b2cf9ae";function ey(e,t){var n,i,r,a;if(t||(t={}),Uy(t),zh(),t.codepage&&Bh(t.codepage),e.FullPaths){if(tu.find(e,"/encryption"))throw new Error("File is password-protected");n=tu.find(e,"!CompObj"),i=tu.find(e,"/Workbook")||tu.find(e,"/Book")}else{switch(t.type){case"base64":e=nd(Zh(e));break;case"binary":e=nd(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Xf(e,0),i={content:e}}if(n&&Xv(n),t.bookProps&&!t.bookSheets)r={};else{var s=Jh?"buffer":"array";if(i&&i.content)r=Zv(i.content,t);else if((a=tu.find(e,"PerfectOffice_MAIN"))&&a.content)r=em.to_workbook(a.content,(t.type=s,t));else{if(!(a=tu.find(e,"NativeContent_MAIN"))||!a.content)throw(a=tu.find(e,"MN0"))&&a.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");r=em.to_workbook(a.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&tu.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(r.vbaraw=function(e){var t=tu.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,i){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var r=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");tu.utils.cfb_add(t,r,e.FileIndex[i].content)}})),tu.write(t)}(e))}var o={};return e.FullPaths&&function(e,t,n){var i=tu.find(e,"/!DocumentSummaryInformation");if(i&&i.size>0)try{var r=lg(i,Mp,Qv);for(var a in r)t[a]=r[a]}catch(l){if(n.WTF)throw l}var s=tu.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var o=lg(s,Rp,Jv);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(l){if(n.WTF)throw l}t.HeadingPairs&&t.TitlesOfParts&&(qp(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}( +/*::((*/ +e,o,t),r.Props=r.Custprops=o,t.bookFiles&&(r.cfb=e),r}var ty={ +/*::[*/ +0:{ +/* n:"BrtRowHdr", */ +f:function(e,t){var n={},i=e.l+t;n.r=e.read_shift(4),e.l+=4;var r=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=i,7&a&&(n.level=7&a),16&a&&(n.hidden=!0),32&a&&(n.hpt=r/20),n}}, +/*::[*/ +1:{ +/* n:"BrtCellBlank", */ +f:function(e){return[yp(e)]}}, +/*::[*/ +2:{ +/* n:"BrtCellRk", */ +f:function(e){return[yp(e),Ap(e),"n"]}}, +/*::[*/ +3:{ +/* n:"BrtCellError", */ +f:function(e){return[yp(e),e.read_shift(1),"e"]}}, +/*::[*/ +4:{ +/* n:"BrtCellBool", */ +f:function(e){return[yp(e),e.read_shift(1),"b"]}}, +/*::[*/ +5:{ +/* n:"BrtCellReal", */ +f:function(e){return[yp(e),Sp(e),"n"]}}, +/*::[*/ +6:{ +/* n:"BrtCellSt", */ +f:function(e){return[yp(e),gp(e),"str"]}}, +/*::[*/ +7:{ +/* n:"BrtCellIsst", */ +f:function(e){return[yp(e),e.read_shift(4),"s"]}}, +/*::[*/ +8:{ +/* n:"BrtFmlaString", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,gp(e),"str"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +9:{ +/* n:"BrtFmlaNum", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,Sp(e),"n"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +10:{ +/* n:"BrtFmlaBool", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +11:{ +/* n:"BrtFmlaError", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +12:{ +/* n:"BrtShortBlank", */ +f:function(e){return[wp(e)]}}, +/*::[*/ +13:{ +/* n:"BrtShortRk", */ +f:function(e){return[wp(e),Ap(e),"n"]}}, +/*::[*/ +14:{ +/* n:"BrtShortError", */ +f:function(e){return[wp(e),e.read_shift(1),"e"]}}, +/*::[*/ +15:{ +/* n:"BrtShortBool", */ +f:function(e){return[wp(e),e.read_shift(1),"b"]}}, +/*::[*/ +16:{ +/* n:"BrtShortReal", */ +f:dv}, +/*::[*/ +17:{ +/* n:"BrtShortSt", */ +f:function(e){return[wp(e),gp(e),"str"]}}, +/*::[*/ +18:{ +/* n:"BrtShortIsst", */ +f:function(e){return[wp(e),e.read_shift(4),"s"]}}, +/*::[*/ +19:{ +/* n:"BrtSSTItem", */ +f:bp}, +/*::[*/ +20:{ +/* n:"BrtPCDIMissing" */}, +/*::[*/ +21:{ +/* n:"BrtPCDINumber" */}, +/*::[*/ +22:{ +/* n:"BrtPCDIBoolean" */}, +/*::[*/ +23:{ +/* n:"BrtPCDIError" */}, +/*::[*/ +24:{ +/* n:"BrtPCDIString" */}, +/*::[*/ +25:{ +/* n:"BrtPCDIDatetime" */}, +/*::[*/ +26:{ +/* n:"BrtPCDIIndex" */}, +/*::[*/ +27:{ +/* n:"BrtPCDIAMissing" */}, +/*::[*/ +28:{ +/* n:"BrtPCDIANumber" */}, +/*::[*/ +29:{ +/* n:"BrtPCDIABoolean" */}, +/*::[*/ +30:{ +/* n:"BrtPCDIAError" */}, +/*::[*/ +31:{ +/* n:"BrtPCDIAString" */}, +/*::[*/ +32:{ +/* n:"BrtPCDIADatetime" */}, +/*::[*/ +33:{ +/* n:"BrtPCRRecord" */}, +/*::[*/ +34:{ +/* n:"BrtPCRRecordDt" */}, +/*::[*/ +35:{ +/* n:"BrtFRTBegin", */ +T:1}, +/*::[*/ +36:{ +/* n:"BrtFRTEnd", */ +T:-1}, +/*::[*/ +37:{ +/* n:"BrtACBegin", */ +T:1}, +/*::[*/ +38:{ +/* n:"BrtACEnd", */ +T:-1}, +/*::[*/ +39:{ +/* n:"BrtName", */ +f:function(e,t,n){var i=e.l+t;e.l+=4,e.l+=1;var r=e.read_shift(4),a=Tp(e),s=Wb(e,0,n),o=_p(e);e.l=i;var c={Name:a,Ptg:s};return r<268435455&&(c.Sheet=r),o&&(c.Comment=o),c}}, +/*::[*/ +40:{ +/* n:"BrtIndexRowBlock" */}, +/*::[*/ +42:{ +/* n:"BrtIndexBlock" */}, +/*::[*/ +43:{ +/* n:"BrtFont", */ +f:function(e,t,n){var i={};i.sz=e.read_shift(2)/20;var r=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(r.fItalic&&(i.italic=1),r.fCondense&&(i.condense=1),r.fExtend&&(i.extend=1),r.fShadow&&(i.shadow=1),r.fOutline&&(i.outline=1),r.fStrikeout&&(i.strike=1),700===e.read_shift(2)&&(i.bold=1),e.read_shift(2)){ +/* case 0: out.vertAlign = "baseline"; break; */ +case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript"}var a=e.read_shift(1);0!=a&&(i.underline=a);var s=e.read_shift(1);s>0&&(i.family=s);var o=e.read_shift(1);switch(o>0&&(i.charset=o),e.l++,i.color=function(e){var t={},n=e.read_shift(1)>>>1,i=e.read_shift(1),r=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=i;var c=Pp[i];c&&(t.rgb=Dm(c));break;case 2:t.rgb=Dm([a,s,o]);break;case 3:t.theme=i}return 0!=r&&(t.tint=r>0?r/32767:r/32768),t}(e),e.read_shift(1)){ +/* case 0: out.scheme = "none": break; */ +case 1:i.scheme="major";break;case 2:i.scheme="minor"}return i.name=gp(e),i}}, +/*::[*/ +44:{ +/* n:"BrtFmt", */ +f:function(e,t){return[e.read_shift(2),gp(e)]}}, +/*::[*/ +45:{ +/* n:"BrtFill", */ +f:Bm}, +/*::[*/ +46:{ +/* n:"BrtBorder", */ +f:jm}, +/*::[*/ +47:{ +/* n:"BrtXF", */ +f:function(e,t){var n=e.l+t,i=e.read_shift(2),r=e.read_shift(2);return e.l=n,{ixfe:i,numFmtId:r}}}, +/*::[*/ +48:{ +/* n:"BrtStyle" */}, +/*::[*/ +49:{ +/* n:"BrtCellMeta", */ +f:function(e){return e.read_shift(4,"i")}}, +/*::[*/ +50:{ +/* n:"BrtValueMeta" */}, +/*::[*/ +51:{ +/* n:"BrtMdb" */ +f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}}, +/*::[*/ +52:{ +/* n:"BrtBeginFmd", */ +T:1}, +/*::[*/ +53:{ +/* n:"BrtEndFmd", */ +T:-1}, +/*::[*/ +54:{ +/* n:"BrtBeginMdx", */ +T:1}, +/*::[*/ +55:{ +/* n:"BrtEndMdx", */ +T:-1}, +/*::[*/ +56:{ +/* n:"BrtBeginMdxTuple", */ +T:1}, +/*::[*/ +57:{ +/* n:"BrtEndMdxTuple", */ +T:-1}, +/*::[*/ +58:{ +/* n:"BrtMdxMbrIstr" */}, +/*::[*/ +59:{ +/* n:"BrtStr" */}, +/*::[*/ +60:{ +/* n:"BrtColInfo", */ +f:Vg}, +/*::[*/ +62:{ +/* n:"BrtCellRString", */ +f:function(e){return[yp(e),bp(e),"is"]}}, +/*::[*/ +63:{ +/* n:"BrtCalcChainItem$", */ +f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=sp(n);var i=e.read_shift(1);return 2&i&&(t.l="1"),8&i&&(t.a="1"),t}}, +/*::[*/ +64:{ +/* n:"BrtDVal", */ +f:function(){}}, +/*::[*/ +65:{ +/* n:"BrtSxvcellNum" */}, +/*::[*/ +66:{ +/* n:"BrtSxvcellStr" */}, +/*::[*/ +67:{ +/* n:"BrtSxvcellBool" */}, +/*::[*/ +68:{ +/* n:"BrtSxvcellErr" */}, +/*::[*/ +69:{ +/* n:"BrtSxvcellDate" */}, +/*::[*/ +70:{ +/* n:"BrtSxvcellNil" */}, +/*::[*/ +128:{ +/* n:"BrtFileVersion" */}, +/*::[*/ +129:{ +/* n:"BrtBeginSheet", */ +T:1}, +/*::[*/ +130:{ +/* n:"BrtEndSheet", */ +T:-1}, +/*::[*/ +131:{ +/* n:"BrtBeginBook", */ +T:1,f:$f,p:0}, +/*::[*/ +132:{ +/* n:"BrtEndBook", */ +T:-1}, +/*::[*/ +133:{ +/* n:"BrtBeginWsViews", */ +T:1}, +/*::[*/ +134:{ +/* n:"BrtEndWsViews", */ +T:-1}, +/*::[*/ +135:{ +/* n:"BrtBeginBookViews", */ +T:1}, +/*::[*/ +136:{ +/* n:"BrtEndBookViews", */ +T:-1}, +/*::[*/ +137:{ +/* n:"BrtBeginWsView", */ +T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}}, +/*::[*/ +138:{ +/* n:"BrtEndWsView", */ +T:-1}, +/*::[*/ +139:{ +/* n:"BrtBeginCsViews", */ +T:1}, +/*::[*/ +140:{ +/* n:"BrtEndCsViews", */ +T:-1}, +/*::[*/ +141:{ +/* n:"BrtBeginCsView", */ +T:1}, +/*::[*/ +142:{ +/* n:"BrtEndCsView", */ +T:-1}, +/*::[*/ +143:{ +/* n:"BrtBeginBundleShs", */ +T:1}, +/*::[*/ +144:{ +/* n:"BrtEndBundleShs", */ +T:-1}, +/*::[*/ +145:{ +/* n:"BrtBeginSheetData", */ +T:1}, +/*::[*/ +146:{ +/* n:"BrtEndSheetData", */ +T:-1}, +/*::[*/ +147:{ +/* n:"BrtWsProp", */ +f:function(e,t){var n={},i=e[e.l];return++e.l,n.above=!(64&i),n.left=!(128&i),e.l+=18,n.name=xp(e),n}}, +/*::[*/ +148:{ +/* n:"BrtWsDim", */ +f:hv,p:16}, +/*::[*/ +151:{ +/* n:"BrtPane", */ +f:function(){}}, +/*::[*/ +152:{ +/* n:"BrtSel" */}, +/*::[*/ +153:{ +/* n:"BrtWbProp", */ +f:function(e,t){var n={},i=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var r=t>8?gp(e):"";return r.length>0&&(n.CodeName=r),n.autoCompressPictures=!!(65536&i),n.backupFile=!!(64&i),n.checkCompatibility=!!(4096&i),n.date1904=!!(1&i),n.filterPrivacy=!!(8&i),n.hidePivotFieldList=!!(1024&i),n.promptedSolutions=!!(16&i),n.publishItems=!!(2048&i),n.refreshAllConnections=!!(262144&i),n.saveExternalLinkValues=!!(128&i),n.showBorderUnselectedTables=!!(4&i),n.showInkAnnotation=!!(32&i),n.showObjects=["all","placeholders","none"][i>>13&3],n.showPivotChartFilter=!!(32768&i),n.updateLinks=["userSet","never","always"][i>>8&3],n}}, +/*::[*/ +154:{ +/* n:"BrtWbFactoid" */}, +/*::[*/ +155:{ +/* n:"BrtFileRecover" */}, +/*::[*/ +156:{ +/* n:"BrtBundleSh", */ +f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Dp(e),n.name=gp(e),n}}, +/*::[*/ +157:{ +/* n:"BrtCalcProp" */}, +/*::[*/ +158:{ +/* n:"BrtBookView" */}, +/*::[*/ +159:{ +/* n:"BrtBeginSst", */ +T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}}, +/*::[*/ +160:{ +/* n:"BrtEndSst", */ +T:-1}, +/*::[*/ +161:{ +/* n:"BrtBeginAFilter", */ +T:1,f:kp}, +/*::[*/ +162:{ +/* n:"BrtEndAFilter", */ +T:-1}, +/*::[*/ +163:{ +/* n:"BrtBeginFilterColumn", */ +T:1}, +/*::[*/ +164:{ +/* n:"BrtEndFilterColumn", */ +T:-1}, +/*::[*/ +165:{ +/* n:"BrtBeginFilters", */ +T:1}, +/*::[*/ +166:{ +/* n:"BrtEndFilters", */ +T:-1}, +/*::[*/ +167:{ +/* n:"BrtFilter" */}, +/*::[*/ +168:{ +/* n:"BrtColorFilter" */}, +/*::[*/ +169:{ +/* n:"BrtIconFilter" */}, +/*::[*/ +170:{ +/* n:"BrtTop10Filter" */}, +/*::[*/ +171:{ +/* n:"BrtDynamicFilter" */}, +/*::[*/ +172:{ +/* n:"BrtBeginCustomFilters", */ +T:1}, +/*::[*/ +173:{ +/* n:"BrtEndCustomFilters", */ +T:-1}, +/*::[*/ +174:{ +/* n:"BrtCustomFilter" */}, +/*::[*/ +175:{ +/* n:"BrtAFilterDateGroupItem" */}, +/*::[*/ +176:{ +/* n:"BrtMergeCell", */ +f:uv}, +/*::[*/ +177:{ +/* n:"BrtBeginMergeCells", */ +T:1}, +/*::[*/ +178:{ +/* n:"BrtEndMergeCells", */ +T:-1}, +/*::[*/ +179:{ +/* n:"BrtBeginPivotCacheDef", */ +T:1}, +/*::[*/ +180:{ +/* n:"BrtEndPivotCacheDef", */ +T:-1}, +/*::[*/ +181:{ +/* n:"BrtBeginPCDFields", */ +T:1}, +/*::[*/ +182:{ +/* n:"BrtEndPCDFields", */ +T:-1}, +/*::[*/ +183:{ +/* n:"BrtBeginPCDField", */ +T:1}, +/*::[*/ +184:{ +/* n:"BrtEndPCDField", */ +T:-1}, +/*::[*/ +185:{ +/* n:"BrtBeginPCDSource", */ +T:1}, +/*::[*/ +186:{ +/* n:"BrtEndPCDSource", */ +T:-1}, +/*::[*/ +187:{ +/* n:"BrtBeginPCDSRange", */ +T:1}, +/*::[*/ +188:{ +/* n:"BrtEndPCDSRange", */ +T:-1}, +/*::[*/ +189:{ +/* n:"BrtBeginPCDFAtbl", */ +T:1}, +/*::[*/ +190:{ +/* n:"BrtEndPCDFAtbl", */ +T:-1}, +/*::[*/ +191:{ +/* n:"BrtBeginPCDIRun", */ +T:1}, +/*::[*/ +192:{ +/* n:"BrtEndPCDIRun", */ +T:-1}, +/*::[*/ +193:{ +/* n:"BrtBeginPivotCacheRecords", */ +T:1}, +/*::[*/ +194:{ +/* n:"BrtEndPivotCacheRecords", */ +T:-1}, +/*::[*/ +195:{ +/* n:"BrtBeginPCDHierarchies", */ +T:1}, +/*::[*/ +196:{ +/* n:"BrtEndPCDHierarchies", */ +T:-1}, +/*::[*/ +197:{ +/* n:"BrtBeginPCDHierarchy", */ +T:1}, +/*::[*/ +198:{ +/* n:"BrtEndPCDHierarchy", */ +T:-1}, +/*::[*/ +199:{ +/* n:"BrtBeginPCDHFieldsUsage", */ +T:1}, +/*::[*/ +200:{ +/* n:"BrtEndPCDHFieldsUsage", */ +T:-1}, +/*::[*/ +201:{ +/* n:"BrtBeginExtConnection", */ +T:1}, +/*::[*/ +202:{ +/* n:"BrtEndExtConnection", */ +T:-1}, +/*::[*/ +203:{ +/* n:"BrtBeginECDbProps", */ +T:1}, +/*::[*/ +204:{ +/* n:"BrtEndECDbProps", */ +T:-1}, +/*::[*/ +205:{ +/* n:"BrtBeginECOlapProps", */ +T:1}, +/*::[*/ +206:{ +/* n:"BrtEndECOlapProps", */ +T:-1}, +/*::[*/ +207:{ +/* n:"BrtBeginPCDSConsol", */ +T:1}, +/*::[*/ +208:{ +/* n:"BrtEndPCDSConsol", */ +T:-1}, +/*::[*/ +209:{ +/* n:"BrtBeginPCDSCPages", */ +T:1}, +/*::[*/ +210:{ +/* n:"BrtEndPCDSCPages", */ +T:-1}, +/*::[*/ +211:{ +/* n:"BrtBeginPCDSCPage", */ +T:1}, +/*::[*/ +212:{ +/* n:"BrtEndPCDSCPage", */ +T:-1}, +/*::[*/ +213:{ +/* n:"BrtBeginPCDSCPItem", */ +T:1}, +/*::[*/ +214:{ +/* n:"BrtEndPCDSCPItem", */ +T:-1}, +/*::[*/ +215:{ +/* n:"BrtBeginPCDSCSets", */ +T:1}, +/*::[*/ +216:{ +/* n:"BrtEndPCDSCSets", */ +T:-1}, +/*::[*/ +217:{ +/* n:"BrtBeginPCDSCSet", */ +T:1}, +/*::[*/ +218:{ +/* n:"BrtEndPCDSCSet", */ +T:-1}, +/*::[*/ +219:{ +/* n:"BrtBeginPCDFGroup", */ +T:1}, +/*::[*/ +220:{ +/* n:"BrtEndPCDFGroup", */ +T:-1}, +/*::[*/ +221:{ +/* n:"BrtBeginPCDFGItems", */ +T:1}, +/*::[*/ +222:{ +/* n:"BrtEndPCDFGItems", */ +T:-1}, +/*::[*/ +223:{ +/* n:"BrtBeginPCDFGRange", */ +T:1}, +/*::[*/ +224:{ +/* n:"BrtEndPCDFGRange", */ +T:-1}, +/*::[*/ +225:{ +/* n:"BrtBeginPCDFGDiscrete", */ +T:1}, +/*::[*/ +226:{ +/* n:"BrtEndPCDFGDiscrete", */ +T:-1}, +/*::[*/ +227:{ +/* n:"BrtBeginPCDSDTupleCache", */ +T:1}, +/*::[*/ +228:{ +/* n:"BrtEndPCDSDTupleCache", */ +T:-1}, +/*::[*/ +229:{ +/* n:"BrtBeginPCDSDTCEntries", */ +T:1}, +/*::[*/ +230:{ +/* n:"BrtEndPCDSDTCEntries", */ +T:-1}, +/*::[*/ +231:{ +/* n:"BrtBeginPCDSDTCEMembers", */ +T:1}, +/*::[*/ +232:{ +/* n:"BrtEndPCDSDTCEMembers", */ +T:-1}, +/*::[*/ +233:{ +/* n:"BrtBeginPCDSDTCEMember", */ +T:1}, +/*::[*/ +234:{ +/* n:"BrtEndPCDSDTCEMember", */ +T:-1}, +/*::[*/ +235:{ +/* n:"BrtBeginPCDSDTCQueries", */ +T:1}, +/*::[*/ +236:{ +/* n:"BrtEndPCDSDTCQueries", */ +T:-1}, +/*::[*/ +237:{ +/* n:"BrtBeginPCDSDTCQuery", */ +T:1}, +/*::[*/ +238:{ +/* n:"BrtEndPCDSDTCQuery", */ +T:-1}, +/*::[*/ +239:{ +/* n:"BrtBeginPCDSDTCSets", */ +T:1}, +/*::[*/ +240:{ +/* n:"BrtEndPCDSDTCSets", */ +T:-1}, +/*::[*/ +241:{ +/* n:"BrtBeginPCDSDTCSet", */ +T:1}, +/*::[*/ +242:{ +/* n:"BrtEndPCDSDTCSet", */ +T:-1}, +/*::[*/ +243:{ +/* n:"BrtBeginPCDCalcItems", */ +T:1}, +/*::[*/ +244:{ +/* n:"BrtEndPCDCalcItems", */ +T:-1}, +/*::[*/ +245:{ +/* n:"BrtBeginPCDCalcItem", */ +T:1}, +/*::[*/ +246:{ +/* n:"BrtEndPCDCalcItem", */ +T:-1}, +/*::[*/ +247:{ +/* n:"BrtBeginPRule", */ +T:1}, +/*::[*/ +248:{ +/* n:"BrtEndPRule", */ +T:-1}, +/*::[*/ +249:{ +/* n:"BrtBeginPRFilters", */ +T:1}, +/*::[*/ +250:{ +/* n:"BrtEndPRFilters", */ +T:-1}, +/*::[*/ +251:{ +/* n:"BrtBeginPRFilter", */ +T:1}, +/*::[*/ +252:{ +/* n:"BrtEndPRFilter", */ +T:-1}, +/*::[*/ +253:{ +/* n:"BrtBeginPNames", */ +T:1}, +/*::[*/ +254:{ +/* n:"BrtEndPNames", */ +T:-1}, +/*::[*/ +255:{ +/* n:"BrtBeginPName", */ +T:1}, +/*::[*/ +256:{ +/* n:"BrtEndPName", */ +T:-1}, +/*::[*/ +257:{ +/* n:"BrtBeginPNPairs", */ +T:1}, +/*::[*/ +258:{ +/* n:"BrtEndPNPairs", */ +T:-1}, +/*::[*/ +259:{ +/* n:"BrtBeginPNPair", */ +T:1}, +/*::[*/ +260:{ +/* n:"BrtEndPNPair", */ +T:-1}, +/*::[*/ +261:{ +/* n:"BrtBeginECWebProps", */ +T:1}, +/*::[*/ +262:{ +/* n:"BrtEndECWebProps", */ +T:-1}, +/*::[*/ +263:{ +/* n:"BrtBeginEcWpTables", */ +T:1}, +/*::[*/ +264:{ +/* n:"BrtEndECWPTables", */ +T:-1}, +/*::[*/ +265:{ +/* n:"BrtBeginECParams", */ +T:1}, +/*::[*/ +266:{ +/* n:"BrtEndECParams", */ +T:-1}, +/*::[*/ +267:{ +/* n:"BrtBeginECParam", */ +T:1}, +/*::[*/ +268:{ +/* n:"BrtEndECParam", */ +T:-1}, +/*::[*/ +269:{ +/* n:"BrtBeginPCDKPIs", */ +T:1}, +/*::[*/ +270:{ +/* n:"BrtEndPCDKPIs", */ +T:-1}, +/*::[*/ +271:{ +/* n:"BrtBeginPCDKPI", */ +T:1}, +/*::[*/ +272:{ +/* n:"BrtEndPCDKPI", */ +T:-1}, +/*::[*/ +273:{ +/* n:"BrtBeginDims", */ +T:1}, +/*::[*/ +274:{ +/* n:"BrtEndDims", */ +T:-1}, +/*::[*/ +275:{ +/* n:"BrtBeginDim", */ +T:1}, +/*::[*/ +276:{ +/* n:"BrtEndDim", */ +T:-1}, +/*::[*/ +277:{ +/* n:"BrtIndexPartEnd" */}, +/*::[*/ +278:{ +/* n:"BrtBeginStyleSheet", */ +T:1}, +/*::[*/ +279:{ +/* n:"BrtEndStyleSheet", */ +T:-1}, +/*::[*/ +280:{ +/* n:"BrtBeginSXView", */ +T:1}, +/*::[*/ +281:{ +/* n:"BrtEndSXVI", */ +T:-1}, +/*::[*/ +282:{ +/* n:"BrtBeginSXVI", */ +T:1}, +/*::[*/ +283:{ +/* n:"BrtBeginSXVIs", */ +T:1}, +/*::[*/ +284:{ +/* n:"BrtEndSXVIs", */ +T:-1}, +/*::[*/ +285:{ +/* n:"BrtBeginSXVD", */ +T:1}, +/*::[*/ +286:{ +/* n:"BrtEndSXVD", */ +T:-1}, +/*::[*/ +287:{ +/* n:"BrtBeginSXVDs", */ +T:1}, +/*::[*/ +288:{ +/* n:"BrtEndSXVDs", */ +T:-1}, +/*::[*/ +289:{ +/* n:"BrtBeginSXPI", */ +T:1}, +/*::[*/ +290:{ +/* n:"BrtEndSXPI", */ +T:-1}, +/*::[*/ +291:{ +/* n:"BrtBeginSXPIs", */ +T:1}, +/*::[*/ +292:{ +/* n:"BrtEndSXPIs", */ +T:-1}, +/*::[*/ +293:{ +/* n:"BrtBeginSXDI", */ +T:1}, +/*::[*/ +294:{ +/* n:"BrtEndSXDI", */ +T:-1}, +/*::[*/ +295:{ +/* n:"BrtBeginSXDIs", */ +T:1}, +/*::[*/ +296:{ +/* n:"BrtEndSXDIs", */ +T:-1}, +/*::[*/ +297:{ +/* n:"BrtBeginSXLI", */ +T:1}, +/*::[*/ +298:{ +/* n:"BrtEndSXLI", */ +T:-1}, +/*::[*/ +299:{ +/* n:"BrtBeginSXLIRws", */ +T:1}, +/*::[*/ +300:{ +/* n:"BrtEndSXLIRws", */ +T:-1}, +/*::[*/ +301:{ +/* n:"BrtBeginSXLICols", */ +T:1}, +/*::[*/ +302:{ +/* n:"BrtEndSXLICols", */ +T:-1}, +/*::[*/ +303:{ +/* n:"BrtBeginSXFormat", */ +T:1}, +/*::[*/ +304:{ +/* n:"BrtEndSXFormat", */ +T:-1}, +/*::[*/ +305:{ +/* n:"BrtBeginSXFormats", */ +T:1}, +/*::[*/ +306:{ +/* n:"BrtEndSxFormats", */ +T:-1}, +/*::[*/ +307:{ +/* n:"BrtBeginSxSelect", */ +T:1}, +/*::[*/ +308:{ +/* n:"BrtEndSxSelect", */ +T:-1}, +/*::[*/ +309:{ +/* n:"BrtBeginISXVDRws", */ +T:1}, +/*::[*/ +310:{ +/* n:"BrtEndISXVDRws", */ +T:-1}, +/*::[*/ +311:{ +/* n:"BrtBeginISXVDCols", */ +T:1}, +/*::[*/ +312:{ +/* n:"BrtEndISXVDCols", */ +T:-1}, +/*::[*/ +313:{ +/* n:"BrtEndSXLocation", */ +T:-1}, +/*::[*/ +314:{ +/* n:"BrtBeginSXLocation", */ +T:1}, +/*::[*/ +315:{ +/* n:"BrtEndSXView", */ +T:-1}, +/*::[*/ +316:{ +/* n:"BrtBeginSXTHs", */ +T:1}, +/*::[*/ +317:{ +/* n:"BrtEndSXTHs", */ +T:-1}, +/*::[*/ +318:{ +/* n:"BrtBeginSXTH", */ +T:1}, +/*::[*/ +319:{ +/* n:"BrtEndSXTH", */ +T:-1}, +/*::[*/ +320:{ +/* n:"BrtBeginISXTHRws", */ +T:1}, +/*::[*/ +321:{ +/* n:"BrtEndISXTHRws", */ +T:-1}, +/*::[*/ +322:{ +/* n:"BrtBeginISXTHCols", */ +T:1}, +/*::[*/ +323:{ +/* n:"BrtEndISXTHCols", */ +T:-1}, +/*::[*/ +324:{ +/* n:"BrtBeginSXTDMPS", */ +T:1}, +/*::[*/ +325:{ +/* n:"BrtEndSXTDMPs", */ +T:-1}, +/*::[*/ +326:{ +/* n:"BrtBeginSXTDMP", */ +T:1}, +/*::[*/ +327:{ +/* n:"BrtEndSXTDMP", */ +T:-1}, +/*::[*/ +328:{ +/* n:"BrtBeginSXTHItems", */ +T:1}, +/*::[*/ +329:{ +/* n:"BrtEndSXTHItems", */ +T:-1}, +/*::[*/ +330:{ +/* n:"BrtBeginSXTHItem", */ +T:1}, +/*::[*/ +331:{ +/* n:"BrtEndSXTHItem", */ +T:-1}, +/*::[*/ +332:{ +/* n:"BrtBeginMetadata", */ +T:1}, +/*::[*/ +333:{ +/* n:"BrtEndMetadata", */ +T:-1}, +/*::[*/ +334:{ +/* n:"BrtBeginEsmdtinfo", */ +T:1}, +/*::[*/ +335:{ +/* n:"BrtMdtinfo", */ +f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:gp(e)}}}, +/*::[*/ +336:{ +/* n:"BrtEndEsmdtinfo", */ +T:-1}, +/*::[*/ +337:{ +/* n:"BrtBeginEsmdb", */ +f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1}, +/*::[*/ +338:{ +/* n:"BrtEndEsmdb", */ +T:-1}, +/*::[*/ +339:{ +/* n:"BrtBeginEsfmd", */ +T:1}, +/*::[*/ +340:{ +/* n:"BrtEndEsfmd", */ +T:-1}, +/*::[*/ +341:{ +/* n:"BrtBeginSingleCells", */ +T:1}, +/*::[*/ +342:{ +/* n:"BrtEndSingleCells", */ +T:-1}, +/*::[*/ +343:{ +/* n:"BrtBeginList", */ +T:1}, +/*::[*/ +344:{ +/* n:"BrtEndList", */ +T:-1}, +/*::[*/ +345:{ +/* n:"BrtBeginListCols", */ +T:1}, +/*::[*/ +346:{ +/* n:"BrtEndListCols", */ +T:-1}, +/*::[*/ +347:{ +/* n:"BrtBeginListCol", */ +T:1}, +/*::[*/ +348:{ +/* n:"BrtEndListCol", */ +T:-1}, +/*::[*/ +349:{ +/* n:"BrtBeginListXmlCPr", */ +T:1}, +/*::[*/ +350:{ +/* n:"BrtEndListXmlCPr", */ +T:-1}, +/*::[*/ +351:{ +/* n:"BrtListCCFmla" */}, +/*::[*/ +352:{ +/* n:"BrtListTrFmla" */}, +/*::[*/ +353:{ +/* n:"BrtBeginExternals", */ +T:1}, +/*::[*/ +354:{ +/* n:"BrtEndExternals", */ +T:-1}, +/*::[*/ +355:{ +/* n:"BrtSupBookSrc", */ +f:Dp}, +/*::[*/ +357:{ +/* n:"BrtSupSelf" */}, +/*::[*/ +358:{ +/* n:"BrtSupSame" */}, +/*::[*/ +359:{ +/* n:"BrtSupTabs" */}, +/*::[*/ +360:{ +/* n:"BrtBeginSupBook", */ +T:1}, +/*::[*/ +361:{ +/* n:"BrtPlaceholderName" */}, +/*::[*/ +362:{ +/* n:"BrtExternSheet", */ +f:jg}, +/*::[*/ +363:{ +/* n:"BrtExternTableStart" */}, +/*::[*/ +364:{ +/* n:"BrtExternTableEnd" */}, +/*::[*/ +366:{ +/* n:"BrtExternRowHdr" */}, +/*::[*/ +367:{ +/* n:"BrtExternCellBlank" */}, +/*::[*/ +368:{ +/* n:"BrtExternCellReal" */}, +/*::[*/ +369:{ +/* n:"BrtExternCellBool" */}, +/*::[*/ +370:{ +/* n:"BrtExternCellError" */}, +/*::[*/ +371:{ +/* n:"BrtExternCellString" */}, +/*::[*/ +372:{ +/* n:"BrtBeginEsmdx", */ +T:1}, +/*::[*/ +373:{ +/* n:"BrtEndEsmdx", */ +T:-1}, +/*::[*/ +374:{ +/* n:"BrtBeginMdxSet", */ +T:1}, +/*::[*/ +375:{ +/* n:"BrtEndMdxSet", */ +T:-1}, +/*::[*/ +376:{ +/* n:"BrtBeginMdxMbrProp", */ +T:1}, +/*::[*/ +377:{ +/* n:"BrtEndMdxMbrProp", */ +T:-1}, +/*::[*/ +378:{ +/* n:"BrtBeginMdxKPI", */ +T:1}, +/*::[*/ +379:{ +/* n:"BrtEndMdxKPI", */ +T:-1}, +/*::[*/ +380:{ +/* n:"BrtBeginEsstr", */ +T:1}, +/*::[*/ +381:{ +/* n:"BrtEndEsstr", */ +T:-1}, +/*::[*/ +382:{ +/* n:"BrtBeginPRFItem", */ +T:1}, +/*::[*/ +383:{ +/* n:"BrtEndPRFItem", */ +T:-1}, +/*::[*/ +384:{ +/* n:"BrtBeginPivotCacheIDs", */ +T:1}, +/*::[*/ +385:{ +/* n:"BrtEndPivotCacheIDs", */ +T:-1}, +/*::[*/ +386:{ +/* n:"BrtBeginPivotCacheID", */ +T:1}, +/*::[*/ +387:{ +/* n:"BrtEndPivotCacheID", */ +T:-1}, +/*::[*/ +388:{ +/* n:"BrtBeginISXVIs", */ +T:1}, +/*::[*/ +389:{ +/* n:"BrtEndISXVIs", */ +T:-1}, +/*::[*/ +390:{ +/* n:"BrtBeginColInfos", */ +T:1}, +/*::[*/ +391:{ +/* n:"BrtEndColInfos", */ +T:-1}, +/*::[*/ +392:{ +/* n:"BrtBeginRwBrk", */ +T:1}, +/*::[*/ +393:{ +/* n:"BrtEndRwBrk", */ +T:-1}, +/*::[*/ +394:{ +/* n:"BrtBeginColBrk", */ +T:1}, +/*::[*/ +395:{ +/* n:"BrtEndColBrk", */ +T:-1}, +/*::[*/ +396:{ +/* n:"BrtBrk" */}, +/*::[*/ +397:{ +/* n:"BrtUserBookView" */}, +/*::[*/ +398:{ +/* n:"BrtInfo" */}, +/*::[*/ +399:{ +/* n:"BrtCUsr" */}, +/*::[*/ +400:{ +/* n:"BrtUsr" */}, +/*::[*/ +401:{ +/* n:"BrtBeginUsers", */ +T:1}, +/*::[*/ +403:{ +/* n:"BrtEOF" */}, +/*::[*/ +404:{ +/* n:"BrtUCR" */}, +/*::[*/ +405:{ +/* n:"BrtRRInsDel" */}, +/*::[*/ +406:{ +/* n:"BrtRREndInsDel" */}, +/*::[*/ +407:{ +/* n:"BrtRRMove" */}, +/*::[*/ +408:{ +/* n:"BrtRREndMove" */}, +/*::[*/ +409:{ +/* n:"BrtRRChgCell" */}, +/*::[*/ +410:{ +/* n:"BrtRREndChgCell" */}, +/*::[*/ +411:{ +/* n:"BrtRRHeader" */}, +/*::[*/ +412:{ +/* n:"BrtRRUserView" */}, +/*::[*/ +413:{ +/* n:"BrtRRRenSheet" */}, +/*::[*/ +414:{ +/* n:"BrtRRInsertSh" */}, +/*::[*/ +415:{ +/* n:"BrtRRDefName" */}, +/*::[*/ +416:{ +/* n:"BrtRRNote" */}, +/*::[*/ +417:{ +/* n:"BrtRRConflict" */}, +/*::[*/ +418:{ +/* n:"BrtRRTQSIF" */}, +/*::[*/ +419:{ +/* n:"BrtRRFormat" */}, +/*::[*/ +420:{ +/* n:"BrtRREndFormat" */}, +/*::[*/ +421:{ +/* n:"BrtRRAutoFmt" */}, +/*::[*/ +422:{ +/* n:"BrtBeginUserShViews", */ +T:1}, +/*::[*/ +423:{ +/* n:"BrtBeginUserShView", */ +T:1}, +/*::[*/ +424:{ +/* n:"BrtEndUserShView", */ +T:-1}, +/*::[*/ +425:{ +/* n:"BrtEndUserShViews", */ +T:-1}, +/*::[*/ +426:{ +/* n:"BrtArrFmla", */ +f:function(e,t,n){var i=e.l+t,r=Ep(e),a=e.read_shift(1),s=[r];if(s[2]=a,n.cellFormula){var o=Pb(e,i-e.l,n);s[1]=o}else e.l=i;return s}}, +/*::[*/ +427:{ +/* n:"BrtShrFmla", */ +f:function(e,t,n){var i=e.l+t,r=[kp(e)];if(n.cellFormula){var a=Bb(e,i-e.l,n);r[1]=a,e.l=i}else e.l=i;return r}}, +/*::[*/ +428:{ +/* n:"BrtTable" */}, +/*::[*/ +429:{ +/* n:"BrtBeginExtConnections", */ +T:1}, +/*::[*/ +430:{ +/* n:"BrtEndExtConnections", */ +T:-1}, +/*::[*/ +431:{ +/* n:"BrtBeginPCDCalcMems", */ +T:1}, +/*::[*/ +432:{ +/* n:"BrtEndPCDCalcMems", */ +T:-1}, +/*::[*/ +433:{ +/* n:"BrtBeginPCDCalcMem", */ +T:1}, +/*::[*/ +434:{ +/* n:"BrtEndPCDCalcMem", */ +T:-1}, +/*::[*/ +435:{ +/* n:"BrtBeginPCDHGLevels", */ +T:1}, +/*::[*/ +436:{ +/* n:"BrtEndPCDHGLevels", */ +T:-1}, +/*::[*/ +437:{ +/* n:"BrtBeginPCDHGLevel", */ +T:1}, +/*::[*/ +438:{ +/* n:"BrtEndPCDHGLevel", */ +T:-1}, +/*::[*/ +439:{ +/* n:"BrtBeginPCDHGLGroups", */ +T:1}, +/*::[*/ +440:{ +/* n:"BrtEndPCDHGLGroups", */ +T:-1}, +/*::[*/ +441:{ +/* n:"BrtBeginPCDHGLGroup", */ +T:1}, +/*::[*/ +442:{ +/* n:"BrtEndPCDHGLGroup", */ +T:-1}, +/*::[*/ +443:{ +/* n:"BrtBeginPCDHGLGMembers", */ +T:1}, +/*::[*/ +444:{ +/* n:"BrtEndPCDHGLGMembers", */ +T:-1}, +/*::[*/ +445:{ +/* n:"BrtBeginPCDHGLGMember", */ +T:1}, +/*::[*/ +446:{ +/* n:"BrtEndPCDHGLGMember", */ +T:-1}, +/*::[*/ +447:{ +/* n:"BrtBeginQSI", */ +T:1}, +/*::[*/ +448:{ +/* n:"BrtEndQSI", */ +T:-1}, +/*::[*/ +449:{ +/* n:"BrtBeginQSIR", */ +T:1}, +/*::[*/ +450:{ +/* n:"BrtEndQSIR", */ +T:-1}, +/*::[*/ +451:{ +/* n:"BrtBeginDeletedNames", */ +T:1}, +/*::[*/ +452:{ +/* n:"BrtEndDeletedNames", */ +T:-1}, +/*::[*/ +453:{ +/* n:"BrtBeginDeletedName", */ +T:1}, +/*::[*/ +454:{ +/* n:"BrtEndDeletedName", */ +T:-1}, +/*::[*/ +455:{ +/* n:"BrtBeginQSIFs", */ +T:1}, +/*::[*/ +456:{ +/* n:"BrtEndQSIFs", */ +T:-1}, +/*::[*/ +457:{ +/* n:"BrtBeginQSIF", */ +T:1}, +/*::[*/ +458:{ +/* n:"BrtEndQSIF", */ +T:-1}, +/*::[*/ +459:{ +/* n:"BrtBeginAutoSortScope", */ +T:1}, +/*::[*/ +460:{ +/* n:"BrtEndAutoSortScope", */ +T:-1}, +/*::[*/ +461:{ +/* n:"BrtBeginConditionalFormatting", */ +T:1}, +/*::[*/ +462:{ +/* n:"BrtEndConditionalFormatting", */ +T:-1}, +/*::[*/ +463:{ +/* n:"BrtBeginCFRule", */ +T:1}, +/*::[*/ +464:{ +/* n:"BrtEndCFRule", */ +T:-1}, +/*::[*/ +465:{ +/* n:"BrtBeginIconSet", */ +T:1}, +/*::[*/ +466:{ +/* n:"BrtEndIconSet", */ +T:-1}, +/*::[*/ +467:{ +/* n:"BrtBeginDatabar", */ +T:1}, +/*::[*/ +468:{ +/* n:"BrtEndDatabar", */ +T:-1}, +/*::[*/ +469:{ +/* n:"BrtBeginColorScale", */ +T:1}, +/*::[*/ +470:{ +/* n:"BrtEndColorScale", */ +T:-1}, +/*::[*/ +471:{ +/* n:"BrtCFVO" */}, +/*::[*/ +472:{ +/* n:"BrtExternValueMeta" */}, +/*::[*/ +473:{ +/* n:"BrtBeginColorPalette", */ +T:1}, +/*::[*/ +474:{ +/* n:"BrtEndColorPalette", */ +T:-1}, +/*::[*/ +475:{ +/* n:"BrtIndexedColor" */}, +/*::[*/ +476:{ +/* n:"BrtMargins", */ +f:function(e){var t={};return fv.forEach((function(n){t[n]=Sp(e)})),t}}, +/*::[*/ +477:{ +/* n:"BrtPrintOptions" */}, +/*::[*/ +478:{ +/* n:"BrtPageSetup" */}, +/*::[*/ +479:{ +/* n:"BrtBeginHeaderFooter", */ +T:1}, +/*::[*/ +480:{ +/* n:"BrtEndHeaderFooter", */ +T:-1}, +/*::[*/ +481:{ +/* n:"BrtBeginSXCrtFormat", */ +T:1}, +/*::[*/ +482:{ +/* n:"BrtEndSXCrtFormat", */ +T:-1}, +/*::[*/ +483:{ +/* n:"BrtBeginSXCrtFormats", */ +T:1}, +/*::[*/ +484:{ +/* n:"BrtEndSXCrtFormats", */ +T:-1}, +/*::[*/ +485:{ +/* n:"BrtWsFmtInfo", */ +f:function(){}}, +/*::[*/ +486:{ +/* n:"BrtBeginMgs", */ +T:1}, +/*::[*/ +487:{ +/* n:"BrtEndMGs", */ +T:-1}, +/*::[*/ +488:{ +/* n:"BrtBeginMGMaps", */ +T:1}, +/*::[*/ +489:{ +/* n:"BrtEndMGMaps", */ +T:-1}, +/*::[*/ +490:{ +/* n:"BrtBeginMG", */ +T:1}, +/*::[*/ +491:{ +/* n:"BrtEndMG", */ +T:-1}, +/*::[*/ +492:{ +/* n:"BrtBeginMap", */ +T:1}, +/*::[*/ +493:{ +/* n:"BrtEndMap", */ +T:-1}, +/*::[*/ +494:{ +/* n:"BrtHLink", */ +f:function(e,t){var n=e.l+t,i=kp(e),r=_p(e),a=gp(e),s=gp(e),o=gp(e);e.l=n;var c={rfx:i,relId:r,loc:a,display:o};return s&&(c.Tooltip=s),c}}, +/*::[*/ +495:{ +/* n:"BrtBeginDCon", */ +T:1}, +/*::[*/ +496:{ +/* n:"BrtEndDCon", */ +T:-1}, +/*::[*/ +497:{ +/* n:"BrtBeginDRefs", */ +T:1}, +/*::[*/ +498:{ +/* n:"BrtEndDRefs", */ +T:-1}, +/*::[*/ +499:{ +/* n:"BrtDRef" */}, +/*::[*/ +500:{ +/* n:"BrtBeginScenMan", */ +T:1}, +/*::[*/ +501:{ +/* n:"BrtEndScenMan", */ +T:-1}, +/*::[*/ +502:{ +/* n:"BrtBeginSct", */ +T:1}, +/*::[*/ +503:{ +/* n:"BrtEndSct", */ +T:-1}, +/*::[*/ +504:{ +/* n:"BrtSlc" */}, +/*::[*/ +505:{ +/* n:"BrtBeginDXFs", */ +T:1}, +/*::[*/ +506:{ +/* n:"BrtEndDXFs", */ +T:-1}, +/*::[*/ +507:{ +/* n:"BrtDXF" */}, +/*::[*/ +508:{ +/* n:"BrtBeginTableStyles", */ +T:1}, +/*::[*/ +509:{ +/* n:"BrtEndTableStyles", */ +T:-1}, +/*::[*/ +510:{ +/* n:"BrtBeginTableStyle", */ +T:1}, +/*::[*/ +511:{ +/* n:"BrtEndTableStyle", */ +T:-1}, +/*::[*/ +512:{ +/* n:"BrtTableStyleElement" */}, +/*::[*/ +513:{ +/* n:"BrtTableStyleClient" */}, +/*::[*/ +514:{ +/* n:"BrtBeginVolDeps", */ +T:1}, +/*::[*/ +515:{ +/* n:"BrtEndVolDeps", */ +T:-1}, +/*::[*/ +516:{ +/* n:"BrtBeginVolType", */ +T:1}, +/*::[*/ +517:{ +/* n:"BrtEndVolType", */ +T:-1}, +/*::[*/ +518:{ +/* n:"BrtBeginVolMain", */ +T:1}, +/*::[*/ +519:{ +/* n:"BrtEndVolMain", */ +T:-1}, +/*::[*/ +520:{ +/* n:"BrtBeginVolTopic", */ +T:1}, +/*::[*/ +521:{ +/* n:"BrtEndVolTopic", */ +T:-1}, +/*::[*/ +522:{ +/* n:"BrtVolSubtopic" */}, +/*::[*/ +523:{ +/* n:"BrtVolRef" */}, +/*::[*/ +524:{ +/* n:"BrtVolNum" */}, +/*::[*/ +525:{ +/* n:"BrtVolErr" */}, +/*::[*/ +526:{ +/* n:"BrtVolStr" */}, +/*::[*/ +527:{ +/* n:"BrtVolBool" */}, +/*::[*/ +528:{ +/* n:"BrtBeginCalcChain$", */ +T:1}, +/*::[*/ +529:{ +/* n:"BrtEndCalcChain$", */ +T:-1}, +/*::[*/ +530:{ +/* n:"BrtBeginSortState", */ +T:1}, +/*::[*/ +531:{ +/* n:"BrtEndSortState", */ +T:-1}, +/*::[*/ +532:{ +/* n:"BrtBeginSortCond", */ +T:1}, +/*::[*/ +533:{ +/* n:"BrtEndSortCond", */ +T:-1}, +/*::[*/ +534:{ +/* n:"BrtBookProtection" */}, +/*::[*/ +535:{ +/* n:"BrtSheetProtection" */}, +/*::[*/ +536:{ +/* n:"BrtRangeProtection" */}, +/*::[*/ +537:{ +/* n:"BrtPhoneticInfo" */}, +/*::[*/ +538:{ +/* n:"BrtBeginECTxtWiz", */ +T:1}, +/*::[*/ +539:{ +/* n:"BrtEndECTxtWiz", */ +T:-1}, +/*::[*/ +540:{ +/* n:"BrtBeginECTWFldInfoLst", */ +T:1}, +/*::[*/ +541:{ +/* n:"BrtEndECTWFldInfoLst", */ +T:-1}, +/*::[*/ +542:{ +/* n:"BrtBeginECTwFldInfo", */ +T:1}, +/*::[*/ +548:{ +/* n:"BrtFileSharing" */}, +/*::[*/ +549:{ +/* n:"BrtOleSize" */}, +/*::[*/ +550:{ +/* n:"BrtDrawing", */ +f:Dp}, +/*::[*/ +551:{ +/* n:"BrtLegacyDrawing" */}, +/*::[*/ +552:{ +/* n:"BrtLegacyDrawingHF" */}, +/*::[*/ +553:{ +/* n:"BrtWebOpt" */}, +/*::[*/ +554:{ +/* n:"BrtBeginWebPubItems", */ +T:1}, +/*::[*/ +555:{ +/* n:"BrtEndWebPubItems", */ +T:-1}, +/*::[*/ +556:{ +/* n:"BrtBeginWebPubItem", */ +T:1}, +/*::[*/ +557:{ +/* n:"BrtEndWebPubItem", */ +T:-1}, +/*::[*/ +558:{ +/* n:"BrtBeginSXCondFmt", */ +T:1}, +/*::[*/ +559:{ +/* n:"BrtEndSXCondFmt", */ +T:-1}, +/*::[*/ +560:{ +/* n:"BrtBeginSXCondFmts", */ +T:1}, +/*::[*/ +561:{ +/* n:"BrtEndSXCondFmts", */ +T:-1}, +/*::[*/ +562:{ +/* n:"BrtBkHim" */}, +/*::[*/ +564:{ +/* n:"BrtColor" */}, +/*::[*/ +565:{ +/* n:"BrtBeginIndexedColors", */ +T:1}, +/*::[*/ +566:{ +/* n:"BrtEndIndexedColors", */ +T:-1}, +/*::[*/ +569:{ +/* n:"BrtBeginMRUColors", */ +T:1}, +/*::[*/ +570:{ +/* n:"BrtEndMRUColors", */ +T:-1}, +/*::[*/ +572:{ +/* n:"BrtMRUColor" */}, +/*::[*/ +573:{ +/* n:"BrtBeginDVals", */ +T:1}, +/*::[*/ +574:{ +/* n:"BrtEndDVals", */ +T:-1}, +/*::[*/ +577:{ +/* n:"BrtSupNameStart" */}, +/*::[*/ +578:{ +/* n:"BrtSupNameValueStart" */}, +/*::[*/ +579:{ +/* n:"BrtSupNameValueEnd" */}, +/*::[*/ +580:{ +/* n:"BrtSupNameNum" */}, +/*::[*/ +581:{ +/* n:"BrtSupNameErr" */}, +/*::[*/ +582:{ +/* n:"BrtSupNameSt" */}, +/*::[*/ +583:{ +/* n:"BrtSupNameNil" */}, +/*::[*/ +584:{ +/* n:"BrtSupNameBool" */}, +/*::[*/ +585:{ +/* n:"BrtSupNameFmla" */}, +/*::[*/ +586:{ +/* n:"BrtSupNameBits" */}, +/*::[*/ +587:{ +/* n:"BrtSupNameEnd" */}, +/*::[*/ +588:{ +/* n:"BrtEndSupBook", */ +T:-1}, +/*::[*/ +589:{ +/* n:"BrtCellSmartTagProperty" */}, +/*::[*/ +590:{ +/* n:"BrtBeginCellSmartTag", */ +T:1}, +/*::[*/ +591:{ +/* n:"BrtEndCellSmartTag", */ +T:-1}, +/*::[*/ +592:{ +/* n:"BrtBeginCellSmartTags", */ +T:1}, +/*::[*/ +593:{ +/* n:"BrtEndCellSmartTags", */ +T:-1}, +/*::[*/ +594:{ +/* n:"BrtBeginSmartTags", */ +T:1}, +/*::[*/ +595:{ +/* n:"BrtEndSmartTags", */ +T:-1}, +/*::[*/ +596:{ +/* n:"BrtSmartTagType" */}, +/*::[*/ +597:{ +/* n:"BrtBeginSmartTagTypes", */ +T:1}, +/*::[*/ +598:{ +/* n:"BrtEndSmartTagTypes", */ +T:-1}, +/*::[*/ +599:{ +/* n:"BrtBeginSXFilters", */ +T:1}, +/*::[*/ +600:{ +/* n:"BrtEndSXFilters", */ +T:-1}, +/*::[*/ +601:{ +/* n:"BrtBeginSXFILTER", */ +T:1}, +/*::[*/ +602:{ +/* n:"BrtEndSXFilter", */ +T:-1}, +/*::[*/ +603:{ +/* n:"BrtBeginFills", */ +T:1}, +/*::[*/ +604:{ +/* n:"BrtEndFills", */ +T:-1}, +/*::[*/ +605:{ +/* n:"BrtBeginCellWatches", */ +T:1}, +/*::[*/ +606:{ +/* n:"BrtEndCellWatches", */ +T:-1}, +/*::[*/ +607:{ +/* n:"BrtCellWatch" */}, +/*::[*/ +608:{ +/* n:"BrtBeginCRErrs", */ +T:1}, +/*::[*/ +609:{ +/* n:"BrtEndCRErrs", */ +T:-1}, +/*::[*/ +610:{ +/* n:"BrtCrashRecErr" */}, +/*::[*/ +611:{ +/* n:"BrtBeginFonts", */ +T:1}, +/*::[*/ +612:{ +/* n:"BrtEndFonts", */ +T:-1}, +/*::[*/ +613:{ +/* n:"BrtBeginBorders", */ +T:1}, +/*::[*/ +614:{ +/* n:"BrtEndBorders", */ +T:-1}, +/*::[*/ +615:{ +/* n:"BrtBeginFmts", */ +T:1}, +/*::[*/ +616:{ +/* n:"BrtEndFmts", */ +T:-1}, +/*::[*/ +617:{ +/* n:"BrtBeginCellXFs", */ +T:1}, +/*::[*/ +618:{ +/* n:"BrtEndCellXFs", */ +T:-1}, +/*::[*/ +619:{ +/* n:"BrtBeginStyles", */ +T:1}, +/*::[*/ +620:{ +/* n:"BrtEndStyles", */ +T:-1}, +/*::[*/ +625:{ +/* n:"BrtBigName" */}, +/*::[*/ +626:{ +/* n:"BrtBeginCellStyleXFs", */ +T:1}, +/*::[*/ +627:{ +/* n:"BrtEndCellStyleXFs", */ +T:-1}, +/*::[*/ +628:{ +/* n:"BrtBeginComments", */ +T:1}, +/*::[*/ +629:{ +/* n:"BrtEndComments", */ +T:-1}, +/*::[*/ +630:{ +/* n:"BrtBeginCommentAuthors", */ +T:1}, +/*::[*/ +631:{ +/* n:"BrtEndCommentAuthors", */ +T:-1}, +/*::[*/ +632:{ +/* n:"BrtCommentAuthor", */ +f:eb}, +/*::[*/ +633:{ +/* n:"BrtBeginCommentList", */ +T:1}, +/*::[*/ +634:{ +/* n:"BrtEndCommentList", */ +T:-1}, +/*::[*/ +635:{ +/* n:"BrtBeginComment", */ +T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=kp(e);return t.rfx=n.s,t.ref=sp(n.s),e.l+=16,t}}, +/*::[*/ +636:{ +/* n:"BrtEndComment", */ +T:-1}, +/*::[*/ +637:{ +/* n:"BrtCommentText", */ +f:vp}, +/*::[*/ +638:{ +/* n:"BrtBeginOleObjects", */ +T:1}, +/*::[*/ +639:{ +/* n:"BrtOleObject" */}, +/*::[*/ +640:{ +/* n:"BrtEndOleObjects", */ +T:-1}, +/*::[*/ +641:{ +/* n:"BrtBeginSxrules", */ +T:1}, +/*::[*/ +642:{ +/* n:"BrtEndSxRules", */ +T:-1}, +/*::[*/ +643:{ +/* n:"BrtBeginActiveXControls", */ +T:1}, +/*::[*/ +644:{ +/* n:"BrtActiveX" */}, +/*::[*/ +645:{ +/* n:"BrtEndActiveXControls", */ +T:-1}, +/*::[*/ +646:{ +/* n:"BrtBeginPCDSDTCEMembersSortBy", */ +T:1}, +/*::[*/ +648:{ +/* n:"BrtBeginCellIgnoreECs", */ +T:1}, +/*::[*/ +649:{ +/* n:"BrtCellIgnoreEC" */}, +/*::[*/ +650:{ +/* n:"BrtEndCellIgnoreECs", */ +T:-1}, +/*::[*/ +651:{ +/* n:"BrtCsProp", */ +f:function(e,t){return e.l+=10,{name:gp(e)}}}, +/*::[*/ +652:{ +/* n:"BrtCsPageSetup" */}, +/*::[*/ +653:{ +/* n:"BrtBeginUserCsViews", */ +T:1}, +/*::[*/ +654:{ +/* n:"BrtEndUserCsViews", */ +T:-1}, +/*::[*/ +655:{ +/* n:"BrtBeginUserCsView", */ +T:1}, +/*::[*/ +656:{ +/* n:"BrtEndUserCsView", */ +T:-1}, +/*::[*/ +657:{ +/* n:"BrtBeginPcdSFCIEntries", */ +T:1}, +/*::[*/ +658:{ +/* n:"BrtEndPCDSFCIEntries", */ +T:-1}, +/*::[*/ +659:{ +/* n:"BrtPCDSFCIEntry" */}, +/*::[*/ +660:{ +/* n:"BrtBeginListParts", */ +T:1}, +/*::[*/ +661:{ +/* n:"BrtListPart" */}, +/*::[*/ +662:{ +/* n:"BrtEndListParts", */ +T:-1}, +/*::[*/ +663:{ +/* n:"BrtSheetCalcProp" */}, +/*::[*/ +664:{ +/* n:"BrtBeginFnGroup", */ +T:1}, +/*::[*/ +665:{ +/* n:"BrtFnGroup" */}, +/*::[*/ +666:{ +/* n:"BrtEndFnGroup", */ +T:-1}, +/*::[*/ +667:{ +/* n:"BrtSupAddin" */}, +/*::[*/ +668:{ +/* n:"BrtSXTDMPOrder" */}, +/*::[*/ +669:{ +/* n:"BrtCsProtection" */}, +/*::[*/ +671:{ +/* n:"BrtBeginWsSortMap", */ +T:1}, +/*::[*/ +672:{ +/* n:"BrtEndWsSortMap", */ +T:-1}, +/*::[*/ +673:{ +/* n:"BrtBeginRRSort", */ +T:1}, +/*::[*/ +674:{ +/* n:"BrtEndRRSort", */ +T:-1}, +/*::[*/ +675:{ +/* n:"BrtRRSortItem" */}, +/*::[*/ +676:{ +/* n:"BrtFileSharingIso" */}, +/*::[*/ +677:{ +/* n:"BrtBookProtectionIso" */}, +/*::[*/ +678:{ +/* n:"BrtSheetProtectionIso" */}, +/*::[*/ +679:{ +/* n:"BrtCsProtectionIso" */}, +/*::[*/ +680:{ +/* n:"BrtRangeProtectionIso" */}, +/*::[*/ +681:{ +/* n:"BrtDValList" */}, +/*::[*/ +1024:{ +/* n:"BrtRwDescent" */}, +/*::[*/ +1025:{ +/* n:"BrtKnownFonts" */}, +/*::[*/ +1026:{ +/* n:"BrtBeginSXTupleSet", */ +T:1}, +/*::[*/ +1027:{ +/* n:"BrtEndSXTupleSet", */ +T:-1}, +/*::[*/ +1028:{ +/* n:"BrtBeginSXTupleSetHeader", */ +T:1}, +/*::[*/ +1029:{ +/* n:"BrtEndSXTupleSetHeader", */ +T:-1}, +/*::[*/ +1030:{ +/* n:"BrtSXTupleSetHeaderItem" */}, +/*::[*/ +1031:{ +/* n:"BrtBeginSXTupleSetData", */ +T:1}, +/*::[*/ +1032:{ +/* n:"BrtEndSXTupleSetData", */ +T:-1}, +/*::[*/ +1033:{ +/* n:"BrtBeginSXTupleSetRow", */ +T:1}, +/*::[*/ +1034:{ +/* n:"BrtEndSXTupleSetRow", */ +T:-1}, +/*::[*/ +1035:{ +/* n:"BrtSXTupleSetRowItem" */}, +/*::[*/ +1036:{ +/* n:"BrtNameExt" */}, +/*::[*/ +1037:{ +/* n:"BrtPCDH14" */}, +/*::[*/ +1038:{ +/* n:"BrtBeginPCDCalcMem14", */ +T:1}, +/*::[*/ +1039:{ +/* n:"BrtEndPCDCalcMem14", */ +T:-1}, +/*::[*/ +1040:{ +/* n:"BrtSXTH14" */}, +/*::[*/ +1041:{ +/* n:"BrtBeginSparklineGroup", */ +T:1}, +/*::[*/ +1042:{ +/* n:"BrtEndSparklineGroup", */ +T:-1}, +/*::[*/ +1043:{ +/* n:"BrtSparkline" */}, +/*::[*/ +1044:{ +/* n:"BrtSXDI14" */}, +/*::[*/ +1045:{ +/* n:"BrtWsFmtInfoEx14" */}, +/*::[*/ +1046:{ +/* n:"BrtBeginConditionalFormatting14", */ +T:1}, +/*::[*/ +1047:{ +/* n:"BrtEndConditionalFormatting14", */ +T:-1}, +/*::[*/ +1048:{ +/* n:"BrtBeginCFRule14", */ +T:1}, +/*::[*/ +1049:{ +/* n:"BrtEndCFRule14", */ +T:-1}, +/*::[*/ +1050:{ +/* n:"BrtCFVO14" */}, +/*::[*/ +1051:{ +/* n:"BrtBeginDatabar14", */ +T:1}, +/*::[*/ +1052:{ +/* n:"BrtBeginIconSet14", */ +T:1}, +/*::[*/ +1053:{ +/* n:"BrtDVal14", */ +f:function(){}}, +/*::[*/ +1054:{ +/* n:"BrtBeginDVals14", */ +T:1}, +/*::[*/ +1055:{ +/* n:"BrtColor14" */}, +/*::[*/ +1056:{ +/* n:"BrtBeginSparklines", */ +T:1}, +/*::[*/ +1057:{ +/* n:"BrtEndSparklines", */ +T:-1}, +/*::[*/ +1058:{ +/* n:"BrtBeginSparklineGroups", */ +T:1}, +/*::[*/ +1059:{ +/* n:"BrtEndSparklineGroups", */ +T:-1}, +/*::[*/ +1061:{ +/* n:"BrtSXVD14" */}, +/*::[*/ +1062:{ +/* n:"BrtBeginSXView14", */ +T:1}, +/*::[*/ +1063:{ +/* n:"BrtEndSXView14", */ +T:-1}, +/*::[*/ +1064:{ +/* n:"BrtBeginSXView16", */ +T:1}, +/*::[*/ +1065:{ +/* n:"BrtEndSXView16", */ +T:-1}, +/*::[*/ +1066:{ +/* n:"BrtBeginPCD14", */ +T:1}, +/*::[*/ +1067:{ +/* n:"BrtEndPCD14", */ +T:-1}, +/*::[*/ +1068:{ +/* n:"BrtBeginExtConn14", */ +T:1}, +/*::[*/ +1069:{ +/* n:"BrtEndExtConn14", */ +T:-1}, +/*::[*/ +1070:{ +/* n:"BrtBeginSlicerCacheIDs", */ +T:1}, +/*::[*/ +1071:{ +/* n:"BrtEndSlicerCacheIDs", */ +T:-1}, +/*::[*/ +1072:{ +/* n:"BrtBeginSlicerCacheID", */ +T:1}, +/*::[*/ +1073:{ +/* n:"BrtEndSlicerCacheID", */ +T:-1}, +/*::[*/ +1075:{ +/* n:"BrtBeginSlicerCache", */ +T:1}, +/*::[*/ +1076:{ +/* n:"BrtEndSlicerCache", */ +T:-1}, +/*::[*/ +1077:{ +/* n:"BrtBeginSlicerCacheDef", */ +T:1}, +/*::[*/ +1078:{ +/* n:"BrtEndSlicerCacheDef", */ +T:-1}, +/*::[*/ +1079:{ +/* n:"BrtBeginSlicersEx", */ +T:1}, +/*::[*/ +1080:{ +/* n:"BrtEndSlicersEx", */ +T:-1}, +/*::[*/ +1081:{ +/* n:"BrtBeginSlicerEx", */ +T:1}, +/*::[*/ +1082:{ +/* n:"BrtEndSlicerEx", */ +T:-1}, +/*::[*/ +1083:{ +/* n:"BrtBeginSlicer", */ +T:1}, +/*::[*/ +1084:{ +/* n:"BrtEndSlicer", */ +T:-1}, +/*::[*/ +1085:{ +/* n:"BrtSlicerCachePivotTables" */}, +/*::[*/ +1086:{ +/* n:"BrtBeginSlicerCacheOlapImpl", */ +T:1}, +/*::[*/ +1087:{ +/* n:"BrtEndSlicerCacheOlapImpl", */ +T:-1}, +/*::[*/ +1088:{ +/* n:"BrtBeginSlicerCacheLevelsData", */ +T:1}, +/*::[*/ +1089:{ +/* n:"BrtEndSlicerCacheLevelsData", */ +T:-1}, +/*::[*/ +1090:{ +/* n:"BrtBeginSlicerCacheLevelData", */ +T:1}, +/*::[*/ +1091:{ +/* n:"BrtEndSlicerCacheLevelData", */ +T:-1}, +/*::[*/ +1092:{ +/* n:"BrtBeginSlicerCacheSiRanges", */ +T:1}, +/*::[*/ +1093:{ +/* n:"BrtEndSlicerCacheSiRanges", */ +T:-1}, +/*::[*/ +1094:{ +/* n:"BrtBeginSlicerCacheSiRange", */ +T:1}, +/*::[*/ +1095:{ +/* n:"BrtEndSlicerCacheSiRange", */ +T:-1}, +/*::[*/ +1096:{ +/* n:"BrtSlicerCacheOlapItem" */}, +/*::[*/ +1097:{ +/* n:"BrtBeginSlicerCacheSelections", */ +T:1}, +/*::[*/ +1098:{ +/* n:"BrtSlicerCacheSelection" */}, +/*::[*/ +1099:{ +/* n:"BrtEndSlicerCacheSelections", */ +T:-1}, +/*::[*/ +1100:{ +/* n:"BrtBeginSlicerCacheNative", */ +T:1}, +/*::[*/ +1101:{ +/* n:"BrtEndSlicerCacheNative", */ +T:-1}, +/*::[*/ +1102:{ +/* n:"BrtSlicerCacheNativeItem" */}, +/*::[*/ +1103:{ +/* n:"BrtRangeProtection14" */}, +/*::[*/ +1104:{ +/* n:"BrtRangeProtectionIso14" */}, +/*::[*/ +1105:{ +/* n:"BrtCellIgnoreEC14" */}, +/*::[*/ +1111:{ +/* n:"BrtList14" */}, +/*::[*/ +1112:{ +/* n:"BrtCFIcon" */}, +/*::[*/ +1113:{ +/* n:"BrtBeginSlicerCachesPivotCacheIDs", */ +T:1}, +/*::[*/ +1114:{ +/* n:"BrtEndSlicerCachesPivotCacheIDs", */ +T:-1}, +/*::[*/ +1115:{ +/* n:"BrtBeginSlicers", */ +T:1}, +/*::[*/ +1116:{ +/* n:"BrtEndSlicers", */ +T:-1}, +/*::[*/ +1117:{ +/* n:"BrtWbProp14" */}, +/*::[*/ +1118:{ +/* n:"BrtBeginSXEdit", */ +T:1}, +/*::[*/ +1119:{ +/* n:"BrtEndSXEdit", */ +T:-1}, +/*::[*/ +1120:{ +/* n:"BrtBeginSXEdits", */ +T:1}, +/*::[*/ +1121:{ +/* n:"BrtEndSXEdits", */ +T:-1}, +/*::[*/ +1122:{ +/* n:"BrtBeginSXChange", */ +T:1}, +/*::[*/ +1123:{ +/* n:"BrtEndSXChange", */ +T:-1}, +/*::[*/ +1124:{ +/* n:"BrtBeginSXChanges", */ +T:1}, +/*::[*/ +1125:{ +/* n:"BrtEndSXChanges", */ +T:-1}, +/*::[*/ +1126:{ +/* n:"BrtSXTupleItems" */}, +/*::[*/ +1128:{ +/* n:"BrtBeginSlicerStyle", */ +T:1}, +/*::[*/ +1129:{ +/* n:"BrtEndSlicerStyle", */ +T:-1}, +/*::[*/ +1130:{ +/* n:"BrtSlicerStyleElement" */}, +/*::[*/ +1131:{ +/* n:"BrtBeginStyleSheetExt14", */ +T:1}, +/*::[*/ +1132:{ +/* n:"BrtEndStyleSheetExt14", */ +T:-1}, +/*::[*/ +1133:{ +/* n:"BrtBeginSlicerCachesPivotCacheID", */ +T:1}, +/*::[*/ +1134:{ +/* n:"BrtEndSlicerCachesPivotCacheID", */ +T:-1}, +/*::[*/ +1135:{ +/* n:"BrtBeginConditionalFormattings", */ +T:1}, +/*::[*/ +1136:{ +/* n:"BrtEndConditionalFormattings", */ +T:-1}, +/*::[*/ +1137:{ +/* n:"BrtBeginPCDCalcMemExt", */ +T:1}, +/*::[*/ +1138:{ +/* n:"BrtEndPCDCalcMemExt", */ +T:-1}, +/*::[*/ +1139:{ +/* n:"BrtBeginPCDCalcMemsExt", */ +T:1}, +/*::[*/ +1140:{ +/* n:"BrtEndPCDCalcMemsExt", */ +T:-1}, +/*::[*/ +1141:{ +/* n:"BrtPCDField14" */}, +/*::[*/ +1142:{ +/* n:"BrtBeginSlicerStyles", */ +T:1}, +/*::[*/ +1143:{ +/* n:"BrtEndSlicerStyles", */ +T:-1}, +/*::[*/ +1144:{ +/* n:"BrtBeginSlicerStyleElements", */ +T:1}, +/*::[*/ +1145:{ +/* n:"BrtEndSlicerStyleElements", */ +T:-1}, +/*::[*/ +1146:{ +/* n:"BrtCFRuleExt" */}, +/*::[*/ +1147:{ +/* n:"BrtBeginSXCondFmt14", */ +T:1}, +/*::[*/ +1148:{ +/* n:"BrtEndSXCondFmt14", */ +T:-1}, +/*::[*/ +1149:{ +/* n:"BrtBeginSXCondFmts14", */ +T:1}, +/*::[*/ +1150:{ +/* n:"BrtEndSXCondFmts14", */ +T:-1}, +/*::[*/ +1152:{ +/* n:"BrtBeginSortCond14", */ +T:1}, +/*::[*/ +1153:{ +/* n:"BrtEndSortCond14", */ +T:-1}, +/*::[*/ +1154:{ +/* n:"BrtEndDVals14", */ +T:-1}, +/*::[*/ +1155:{ +/* n:"BrtEndIconSet14", */ +T:-1}, +/*::[*/ +1156:{ +/* n:"BrtEndDatabar14", */ +T:-1}, +/*::[*/ +1157:{ +/* n:"BrtBeginColorScale14", */ +T:1}, +/*::[*/ +1158:{ +/* n:"BrtEndColorScale14", */ +T:-1}, +/*::[*/ +1159:{ +/* n:"BrtBeginSxrules14", */ +T:1}, +/*::[*/ +1160:{ +/* n:"BrtEndSxrules14", */ +T:-1}, +/*::[*/ +1161:{ +/* n:"BrtBeginPRule14", */ +T:1}, +/*::[*/ +1162:{ +/* n:"BrtEndPRule14", */ +T:-1}, +/*::[*/ +1163:{ +/* n:"BrtBeginPRFilters14", */ +T:1}, +/*::[*/ +1164:{ +/* n:"BrtEndPRFilters14", */ +T:-1}, +/*::[*/ +1165:{ +/* n:"BrtBeginPRFilter14", */ +T:1}, +/*::[*/ +1166:{ +/* n:"BrtEndPRFilter14", */ +T:-1}, +/*::[*/ +1167:{ +/* n:"BrtBeginPRFItem14", */ +T:1}, +/*::[*/ +1168:{ +/* n:"BrtEndPRFItem14", */ +T:-1}, +/*::[*/ +1169:{ +/* n:"BrtBeginCellIgnoreECs14", */ +T:1}, +/*::[*/ +1170:{ +/* n:"BrtEndCellIgnoreECs14", */ +T:-1}, +/*::[*/ +1171:{ +/* n:"BrtDxf14" */}, +/*::[*/ +1172:{ +/* n:"BrtBeginDxF14s", */ +T:1}, +/*::[*/ +1173:{ +/* n:"BrtEndDxf14s", */ +T:-1}, +/*::[*/ +1177:{ +/* n:"BrtFilter14" */}, +/*::[*/ +1178:{ +/* n:"BrtBeginCustomFilters14", */ +T:1}, +/*::[*/ +1180:{ +/* n:"BrtCustomFilter14" */}, +/*::[*/ +1181:{ +/* n:"BrtIconFilter14" */}, +/*::[*/ +1182:{ +/* n:"BrtPivotCacheConnectionName" */}, +/*::[*/ +2048:{ +/* n:"BrtBeginDecoupledPivotCacheIDs", */ +T:1}, +/*::[*/ +2049:{ +/* n:"BrtEndDecoupledPivotCacheIDs", */ +T:-1}, +/*::[*/ +2050:{ +/* n:"BrtDecoupledPivotCacheID" */}, +/*::[*/ +2051:{ +/* n:"BrtBeginPivotTableRefs", */ +T:1}, +/*::[*/ +2052:{ +/* n:"BrtEndPivotTableRefs", */ +T:-1}, +/*::[*/ +2053:{ +/* n:"BrtPivotTableRef" */}, +/*::[*/ +2054:{ +/* n:"BrtSlicerCacheBookPivotTables" */}, +/*::[*/ +2055:{ +/* n:"BrtBeginSxvcells", */ +T:1}, +/*::[*/ +2056:{ +/* n:"BrtEndSxvcells", */ +T:-1}, +/*::[*/ +2057:{ +/* n:"BrtBeginSxRow", */ +T:1}, +/*::[*/ +2058:{ +/* n:"BrtEndSxRow", */ +T:-1}, +/*::[*/ +2060:{ +/* n:"BrtPcdCalcMem15" */}, +/*::[*/ +2067:{ +/* n:"BrtQsi15" */}, +/*::[*/ +2068:{ +/* n:"BrtBeginWebExtensions", */ +T:1}, +/*::[*/ +2069:{ +/* n:"BrtEndWebExtensions", */ +T:-1}, +/*::[*/ +2070:{ +/* n:"BrtWebExtension" */}, +/*::[*/ +2071:{ +/* n:"BrtAbsPath15" */}, +/*::[*/ +2072:{ +/* n:"BrtBeginPivotTableUISettings", */ +T:1}, +/*::[*/ +2073:{ +/* n:"BrtEndPivotTableUISettings", */ +T:-1}, +/*::[*/ +2075:{ +/* n:"BrtTableSlicerCacheIDs" */}, +/*::[*/ +2076:{ +/* n:"BrtTableSlicerCacheID" */}, +/*::[*/ +2077:{ +/* n:"BrtBeginTableSlicerCache", */ +T:1}, +/*::[*/ +2078:{ +/* n:"BrtEndTableSlicerCache", */ +T:-1}, +/*::[*/ +2079:{ +/* n:"BrtSxFilter15" */}, +/*::[*/ +2080:{ +/* n:"BrtBeginTimelineCachePivotCacheIDs", */ +T:1}, +/*::[*/ +2081:{ +/* n:"BrtEndTimelineCachePivotCacheIDs", */ +T:-1}, +/*::[*/ +2082:{ +/* n:"BrtTimelineCachePivotCacheID" */}, +/*::[*/ +2083:{ +/* n:"BrtBeginTimelineCacheIDs", */ +T:1}, +/*::[*/ +2084:{ +/* n:"BrtEndTimelineCacheIDs", */ +T:-1}, +/*::[*/ +2085:{ +/* n:"BrtBeginTimelineCacheID", */ +T:1}, +/*::[*/ +2086:{ +/* n:"BrtEndTimelineCacheID", */ +T:-1}, +/*::[*/ +2087:{ +/* n:"BrtBeginTimelinesEx", */ +T:1}, +/*::[*/ +2088:{ +/* n:"BrtEndTimelinesEx", */ +T:-1}, +/*::[*/ +2089:{ +/* n:"BrtBeginTimelineEx", */ +T:1}, +/*::[*/ +2090:{ +/* n:"BrtEndTimelineEx", */ +T:-1}, +/*::[*/ +2091:{ +/* n:"BrtWorkBookPr15" */}, +/*::[*/ +2092:{ +/* n:"BrtPCDH15" */}, +/*::[*/ +2093:{ +/* n:"BrtBeginTimelineStyle", */ +T:1}, +/*::[*/ +2094:{ +/* n:"BrtEndTimelineStyle", */ +T:-1}, +/*::[*/ +2095:{ +/* n:"BrtTimelineStyleElement" */}, +/*::[*/ +2096:{ +/* n:"BrtBeginTimelineStylesheetExt15", */ +T:1}, +/*::[*/ +2097:{ +/* n:"BrtEndTimelineStylesheetExt15", */ +T:-1}, +/*::[*/ +2098:{ +/* n:"BrtBeginTimelineStyles", */ +T:1}, +/*::[*/ +2099:{ +/* n:"BrtEndTimelineStyles", */ +T:-1}, +/*::[*/ +2100:{ +/* n:"BrtBeginTimelineStyleElements", */ +T:1}, +/*::[*/ +2101:{ +/* n:"BrtEndTimelineStyleElements", */ +T:-1}, +/*::[*/ +2102:{ +/* n:"BrtDxf15" */}, +/*::[*/ +2103:{ +/* n:"BrtBeginDxfs15", */ +T:1}, +/*::[*/ +2104:{ +/* n:"BrtEndDxfs15", */ +T:-1}, +/*::[*/ +2105:{ +/* n:"BrtSlicerCacheHideItemsWithNoData" */}, +/*::[*/ +2106:{ +/* n:"BrtBeginItemUniqueNames", */ +T:1}, +/*::[*/ +2107:{ +/* n:"BrtEndItemUniqueNames", */ +T:-1}, +/*::[*/ +2108:{ +/* n:"BrtItemUniqueName" */}, +/*::[*/ +2109:{ +/* n:"BrtBeginExtConn15", */ +T:1}, +/*::[*/ +2110:{ +/* n:"BrtEndExtConn15", */ +T:-1}, +/*::[*/ +2111:{ +/* n:"BrtBeginOledbPr15", */ +T:1}, +/*::[*/ +2112:{ +/* n:"BrtEndOledbPr15", */ +T:-1}, +/*::[*/ +2113:{ +/* n:"BrtBeginDataFeedPr15", */ +T:1}, +/*::[*/ +2114:{ +/* n:"BrtEndDataFeedPr15", */ +T:-1}, +/*::[*/ +2115:{ +/* n:"BrtTextPr15" */}, +/*::[*/ +2116:{ +/* n:"BrtRangePr15" */}, +/*::[*/ +2117:{ +/* n:"BrtDbCommand15" */}, +/*::[*/ +2118:{ +/* n:"BrtBeginDbTables15", */ +T:1}, +/*::[*/ +2119:{ +/* n:"BrtEndDbTables15", */ +T:-1}, +/*::[*/ +2120:{ +/* n:"BrtDbTable15" */}, +/*::[*/ +2121:{ +/* n:"BrtBeginDataModel", */ +T:1}, +/*::[*/ +2122:{ +/* n:"BrtEndDataModel", */ +T:-1}, +/*::[*/ +2123:{ +/* n:"BrtBeginModelTables", */ +T:1}, +/*::[*/ +2124:{ +/* n:"BrtEndModelTables", */ +T:-1}, +/*::[*/ +2125:{ +/* n:"BrtModelTable" */}, +/*::[*/ +2126:{ +/* n:"BrtBeginModelRelationships", */ +T:1}, +/*::[*/ +2127:{ +/* n:"BrtEndModelRelationships", */ +T:-1}, +/*::[*/ +2128:{ +/* n:"BrtModelRelationship" */}, +/*::[*/ +2129:{ +/* n:"BrtBeginECTxtWiz15", */ +T:1}, +/*::[*/ +2130:{ +/* n:"BrtEndECTxtWiz15", */ +T:-1}, +/*::[*/ +2131:{ +/* n:"BrtBeginECTWFldInfoLst15", */ +T:1}, +/*::[*/ +2132:{ +/* n:"BrtEndECTWFldInfoLst15", */ +T:-1}, +/*::[*/ +2133:{ +/* n:"BrtBeginECTWFldInfo15", */ +T:1}, +/*::[*/ +2134:{ +/* n:"BrtFieldListActiveItem" */}, +/*::[*/ +2135:{ +/* n:"BrtPivotCacheIdVersion" */}, +/*::[*/ +2136:{ +/* n:"BrtSXDI15" */}, +/*::[*/ +2137:{ +/* n:"BrtBeginModelTimeGroupings", */ +T:1}, +/*::[*/ +2138:{ +/* n:"BrtEndModelTimeGroupings", */ +T:-1}, +/*::[*/ +2139:{ +/* n:"BrtBeginModelTimeGrouping", */ +T:1}, +/*::[*/ +2140:{ +/* n:"BrtEndModelTimeGrouping", */ +T:-1}, +/*::[*/ +2141:{ +/* n:"BrtModelTimeGroupingCalcCol" */}, +/*::[*/ +3072:{ +/* n:"BrtUid" */}, +/*::[*/ +3073:{ +/* n:"BrtRevisionPtr" */}, +/*::[*/ +4096:{ +/* n:"BrtBeginDynamicArrayPr", */ +T:1}, +/*::[*/ +4097:{ +/* n:"BrtEndDynamicArrayPr", */ +T:-1}, +/*::[*/ +5002:{ +/* n:"BrtBeginRichValueBlock", */ +T:1}, +/*::[*/ +5003:{ +/* n:"BrtEndRichValueBlock", */ +T:-1}, +/*::[*/ +5081:{ +/* n:"BrtBeginRichFilters", */ +T:1}, +/*::[*/ +5082:{ +/* n:"BrtEndRichFilters", */ +T:-1}, +/*::[*/ +5083:{ +/* n:"BrtRichFilter" */}, +/*::[*/ +5084:{ +/* n:"BrtBeginRichFilterColumn", */ +T:1}, +/*::[*/ +5085:{ +/* n:"BrtEndRichFilterColumn", */ +T:-1}, +/*::[*/ +5086:{ +/* n:"BrtBeginCustomRichFilters", */ +T:1}, +/*::[*/ +5087:{ +/* n:"BrtEndCustomRichFilters", */ +T:-1}, +/*::[*/ +5088:{ +/* n:"BrtCustomRichFilter" */}, +/*::[*/ +5089:{ +/* n:"BrtTop10RichFilter" */}, +/*::[*/ +5090:{ +/* n:"BrtDynamicRichFilter" */}, +/*::[*/ +5092:{ +/* n:"BrtBeginRichSortCondition", */ +T:1}, +/*::[*/ +5093:{ +/* n:"BrtEndRichSortCondition", */ +T:-1}, +/*::[*/ +5094:{ +/* n:"BrtRichFilterDateGroupItem" */}, +/*::[*/ +5095:{ +/* n:"BrtBeginCalcFeatures", */ +T:1}, +/*::[*/ +5096:{ +/* n:"BrtEndCalcFeatures", */ +T:-1}, +/*::[*/ +5097:{ +/* n:"BrtCalcFeature" */}, +/*::[*/ +5099:{ +/* n:"BrtExternalLinksPr" */}, +/*::[*/ +65535:{n:""}},ny={ +/* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ +/*::[*/ +6:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +10:{ +/* n:"EOF", */ +f:hg}, +/*::[*/ +12:{ +/* n:"CalcCount", */ +f:ug}, +/*::[*/ +13:{ +/* n:"CalcMode", */ +f:ug}, +/*::[*/ +14:{ +/* n:"CalcPrecision", */ +f:dg}, +/*::[*/ +15:{ +/* n:"CalcRefMode", */ +f:dg}, +/*::[*/ +16:{ +/* n:"CalcDelta", */ +f:Sp}, +/*::[*/ +17:{ +/* n:"CalcIter", */ +f:dg}, +/*::[*/ +18:{ +/* n:"Protect", */ +f:dg}, +/*::[*/ +19:{ +/* n:"Password", */ +f:ug}, +/*::[*/ +20:{ +/* n:"Header", */ +f:Pg}, +/*::[*/ +21:{ +/* n:"Footer", */ +f:Pg}, +/*::[*/ +23:{ +/* n:"ExternSheet", */ +f:jg}, +/*::[*/ +24:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +25:{ +/* n:"WinProtect", */ +f:dg}, +/*::[*/ +26:{ +/* n:"VerticalPageBreaks", */}, +/*::[*/ +27:{ +/* n:"HorizontalPageBreaks", */}, +/*::[*/ +28:{ +/* n:"Note", */ +f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),o=vg(e,0,n);return n.biff<8&&e.read_shift(1),[{r:i,c:r},o,s,a]}}(e,0,n)}}, +/*::[*/ +29:{ +/* n:"Selection", */}, +/*::[*/ +34:{ +/* n:"Date1904", */ +f:dg}, +/*::[*/ +35:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +38:{ +/* n:"LeftMargin", */ +f:Sp}, +// * +/*::[*/ +39:{ +/* n:"RightMargin", */ +f:Sp}, +// * +/*::[*/ +40:{ +/* n:"TopMargin", */ +f:Sp}, +// * +/*::[*/ +41:{ +/* n:"BottomMargin", */ +f:Sp}, +// * +/*::[*/ +42:{ +/* n:"PrintRowCol", */ +f:dg}, +/*::[*/ +43:{ +/* n:"PrintGrid", */ +f:dg}, +/*::[*/ +47:{ +/* n:"FilePass", */ +f:function(e,t,n){var i={Type:n.biff>=8?e.read_shift(2):0};return i.Type?_m(e,t-2,i):xm(e,n.biff,n,i),i}}, +/*::[*/ +49:{ +/* n:"Font", */ +f:function(e,t,n){var i={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return i.name=pg(e,0,n),i}}, +/*::[*/ +51:{ +/* n:"PrintSize", */ +f:ug}, +/*::[*/ +60:{ +/* n:"Continue", */}, +/*::[*/ +61:{ +/* n:"Window1", */ +f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}}, +/*::[*/ +64:{ +/* n:"Backup", */ +f:dg}, +/*::[*/ +65:{ +/* n:"Pane", */ +f:function(){}}, +/*::[*/ +66:{ +/* n:"CodePage", */ +f:ug}, +/*::[*/ +77:{ +/* n:"Pls", */}, +/*::[*/ +80:{ +/* n:"DCon", */}, +/*::[*/ +81:{ +/* n:"DConRef", */}, +/*::[*/ +82:{ +/* n:"DConName", */}, +/*::[*/ +85:{ +/* n:"DefColWidth", */ +f:ug}, +/*::[*/ +89:{ +/* n:"XCT", */}, +/*::[*/ +90:{ +/* n:"CRN", */}, +/*::[*/ +91:{ +/* n:"FileSharing", */}, +/*::[*/ +92:{ +/* n:"WriteAccess", */ +f:function(e,t,n){if(n.enc)return e.l+=t,"";var i=e.l,r=vg(e,0,n);return e.read_shift(t+i-e.l),r}}, +/*::[*/ +93:{ +/* n:"Obj", */ +f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var s=[];return s.push((Hg[i]||$f)(e,t,n)),{cmo:[r,i,a],ft:s}}(e,t,n);var i=Cg(e),r=function(e,t){for(var n=e.l+t,i=[];e.l7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}}, +/*::[*/ +129:{ +/* n:"WsBool", */ +f:function(e,t,n){var i=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&i,fBelow:64&i,fRight:128&i}}}, +/*::[*/ +130:{ +/* n:"GridSet", */ +f:ug}, +/*::[*/ +131:{ +/* n:"HCenter", */ +f:dg}, +/*::[*/ +132:{ +/* n:"VCenter", */ +f:dg}, +/*::[*/ +133:{ +/* n:"BoundSheet8", */ +f:function(e,t,n){var i=e.read_shift(4),r=3&e.read_shift(1),a=e.read_shift(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var s=pg(e,0,n);return 0===s.length&&(s="Sheet1"),{pos:i,hs:r,dt:a,name:s}}}, +/*::[*/ +134:{ +/* n:"WriteProtect", */}, +/*::[*/ +140:{ +/* n:"Country", */ +f:function(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Ip[t]||t,t=e.read_shift(2),n[1]=Ip[t]||t,n}}, +/*::[*/ +141:{ +/* n:"HideObj", */ +f:ug}, +/*::[*/ +144:{ +/* n:"Sort", */}, +/*::[*/ +146:{ +/* n:"Palette", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +151:{ +/* n:"Sync", */}, +/*::[*/ +152:{ +/* n:"LPr", */}, +/*::[*/ +153:{ +/* n:"DxGCol", */}, +/*::[*/ +154:{ +/* n:"FnGroupName", */}, +/*::[*/ +155:{ +/* n:"FilterMode", */}, +/*::[*/ +156:{ +/* n:"BuiltInFnGroupCount", */ +f:ug}, +/*::[*/ +157:{ +/* n:"AutoFilterInfo", */}, +/*::[*/ +158:{ +/* n:"AutoFilter", */}, +/*::[*/ +160:{ +/* n:"Scl", */ +f:Xg}, +/*::[*/ +161:{ +/* n:"Setup", */ +f:function(e,t){var n={};return t<32||(e.l+=16,n.header=Sp(e),n.footer=Sp(e),e.l+=2),n}}, +/*::[*/ +174:{ +/* n:"ScenMan", */}, +/*::[*/ +175:{ +/* n:"SCENARIO", */}, +/*::[*/ +176:{ +/* n:"SxView", */}, +/*::[*/ +177:{ +/* n:"Sxvd", */}, +/*::[*/ +178:{ +/* n:"SXVI", */}, +/*::[*/ +180:{ +/* n:"SxIvd", */}, +/*::[*/ +181:{ +/* n:"SXLI", */}, +/*::[*/ +182:{ +/* n:"SXPI", */}, +/*::[*/ +184:{ +/* n:"DocRoute", */}, +/*::[*/ +185:{ +/* n:"RecipName", */}, +/*::[*/ +189:{ +/* n:"MulRk", */ +f:function(e,t){for(var n=e.l+t-2,i=e.read_shift(2),r=e.read_shift(2),a=[];e.l>2&1,i.data=function(e,t,n,i){var r={},a=e.read_shift(4),s=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return r.patternType=Op[o>>26],i.cellStyles?(r.alc=7&a,r.fWrap=a>>3&1,r.alcV=a>>4&7,r.fJustLast=a>>7&1,r.trot=a>>8&255,r.cIndent=a>>16&15,r.fShrinkToFit=a>>20&1,r.iReadOrder=a>>22&2,r.fAtrNum=a>>26&1,r.fAtrFnt=a>>27&1,r.fAtrAlc=a>>28&1,r.fAtrBdr=a>>29&1,r.fAtrPat=a>>30&1,r.fAtrProt=a>>31&1,r.dgLeft=15&s,r.dgRight=s>>4&15,r.dgTop=s>>8&15,r.dgBottom=s>>12&15,r.icvLeft=s>>16&127,r.icvRight=s>>23&127,r.grbitDiag=s>>30&3,r.icvTop=127&o,r.icvBottom=o>>7&127,r.icvDiag=o>>14&127,r.dgDiag=o>>21&15,r.icvFore=127&c,r.icvBack=c>>7&127,r.fsxButton=c>>14&1,r):r}(e,0,i.fStyle,n),i}}, +/*::[*/ +225:{ +/* n:"InterfaceHdr", */ +f:function(e,t){return 0===t||e.read_shift(2),1200}}, +/*::[*/ +226:{ +/* n:"InterfaceEnd", */ +f:hg}, +/*::[*/ +227:{ +/* n:"SXVS", */}, +/*::[*/ +229:{ +/* n:"MergeCells", */ +f:function(e,t){for(var n=[],i=e.read_shift(2);i--;)n.push(Eg(e));return n}}, +/*::[*/ +233:{ +/* n:"BkHim", */}, +/*::[*/ +235:{ +/* n:"MsoDrawingGroup", */}, +/*::[*/ +236:{ +/* n:"MsoDrawing", */}, +/*::[*/ +237:{ +/* n:"MsoDrawingSelection", */}, +/*::[*/ +239:{ +/* n:"PhoneticInfo", */}, +/*::[*/ +240:{ +/* n:"SxRule", */}, +/*::[*/ +241:{ +/* n:"SXEx", */}, +/*::[*/ +242:{ +/* n:"SxFilt", */}, +/*::[*/ +244:{ +/* n:"SxDXF", */}, +/*::[*/ +245:{ +/* n:"SxItm", */}, +/*::[*/ +246:{ +/* n:"SxName", */}, +/*::[*/ +247:{ +/* n:"SxSelect", */}, +/*::[*/ +248:{ +/* n:"SXPair", */}, +/*::[*/ +249:{ +/* n:"SxFmla", */}, +/*::[*/ +251:{ +/* n:"SxFormat", */}, +/*::[*/ +252:{ +/* n:"SST", */ +f:function(e,t){for(var n=e.l+t,i=e.read_shift(4),r=e.read_shift(4),a=[],s=0;s!=r&&e.l255)throw new Error("Unexpected SupBook type: "+a);for(var s=mg(e,a),o=[];i>e.l;)o.push(bg(e));return[a,r,s,o]}}, +/*::[*/ +431:{ +/* n:"Prot4Rev", */ +f:dg}, +/*::[*/ +432:{ +/* n:"CondFmt", */}, +/*::[*/ +433:{ +/* n:"CF", */}, +/*::[*/ +434:{ +/* n:"DVal", */}, +/*::[*/ +437:{ +/* n:"DConBin", */}, +/*::[*/ +438:{ +/* n:"TxO", */ +f:function(e,t,n){var i=e.l,r="";try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(a)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}(e);var s=e.read_shift(2);e.read_shift(2),ug(e);var o=e.read_shift(2);e.l+=o;for(var c=1;c=(l?s:2*s))break}if(r.length!==s&&r.length!==2*s)throw new Error("cchText: "+s+" != "+r.length);return e.l=i+t,{t:r}}catch(h){return e.l=i+t,{t:r}}}}, +/*::[*/ +439:{ +/* n:"RefreshAll", */ +f:dg}, +/*::[*/ +440:{ +/* n:"HLink", */ +f:function(e,t){var n=Eg(e);e.l+=16;var i=function(e,t){var n=e.l+t,i=e.read_shift(4);if(2!==i)throw new Error("Unrecognized streamVersion: "+i);var r=e.read_shift(2);e.l+=2;var a,s,o,c,l,h,d="";16&r&&(a=wg(e,e.l)),128&r&&(s=wg(e,e.l)),257&~r||(o=wg(e,e.l)),1==(257&r)&&(c=yg(e,e.l)),8&r&&(d=wg(e,e.l)),32&r&&(l=e.read_shift(16)),64&r&&(h=Qp(e +/*, 8*/)),e.l=n;var u=s||o||c||"";u&&d&&(u+="#"+d),u||(u="#"+d),2&r&&"/"==u.charAt(0)&&"/"!=u.charAt(1)&&(u="file://"+u);var f={Target:u};return l&&(f.guid=l),h&&(f.time=h),a&&(f.Tooltip=a),f}(e,t-24);return[n,i]}}, +/*::[*/ +441:{ +/* n:"Lel", */}, +/*::[*/ +442:{ +/* n:"CodeName", */ +f:bg}, +/*::[*/ +443:{ +/* n:"SXFDBType", */}, +/*::[*/ +444:{ +/* n:"Prot4RevPass", */ +f:ug}, +/*::[*/ +445:{ +/* n:"ObNoMacros", */}, +/*::[*/ +446:{ +/* n:"Dv", */}, +/*::[*/ +448:{ +/* n:"Excel9File", */ +f:hg}, +/*::[*/ +449:{ +/* n:"RecalcId", */ +f:function(e){return e.read_shift(2),e.read_shift(4)},r:2}, +/*::[*/ +450:{ +/* n:"EntExU2", */ +f:hg}, +/*::[*/ +512:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +513:{ +/* n:"Blank", */ +f:Gg}, +/*::[*/ +515:{ +/* n:"Number", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var i=Tg(e),r=Sp(e);return i.val=r,i}}, +/*::[*/ +516:{ +/* n:"Label", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var i=Tg(e);2==n.biff&&e.l++;var r=bg(e,e.l,n);return i.val=r,i}}, +/*::[*/ +517:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +519:{ +/* n:"String", */ +f:$g}, +/*::[*/ +520:{ +/* n:"Row", */ +f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var i=e.read_shift(1);return e.l+=3,7&i&&(t.level=7&i),32&i&&(t.hidden=!0),64&i&&(t.hpt=n/20),t}}, +/*::[*/ +523:{ +/* n:"Index", */}, +/*::[*/ +545:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +549:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +/*::[*/ +566:{ +/* n:"Table", */}, +/*::[*/ +574:{ +/* n:"Window2", */ +f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e.read_shift(2)}}}, +/*::[*/ +638:{ +/* n:"RK", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=Ag(e);return{r:t,c:n,ixfe:i[0],rknum:i[1]}}}, +/*::[*/ +659:{ +/* n:"Style", */}, +/*::[*/ +1048:{ +/* n:"BigName", */}, +/*::[*/ +1054:{ +/* n:"Format", */ +f:function(e,t,n){return[e.read_shift(2),vg(e,0,n)]}}, +/*::[*/ +1084:{ +/* n:"ContinueBigName", */}, +/*::[*/ +1212:{ +/* n:"ShrFmla", */ +f:function(e,t,n){var i=kg(e);e.l++;var r=e.read_shift(1);return[Ib(e,t-=8,n),r,i]}}, +/*::[*/ +2048:{ +/* n:"HLinkTooltip", */ +f:function(e,t){e.read_shift(2);var n=Eg(e),i=e.read_shift((t-10)/2,"dbcs-cont");return[n,i=i.replace(sd,"")]}}, +/*::[*/ +2049:{ +/* n:"WebPub", */}, +/*::[*/ +2050:{ +/* n:"QsiSXTag", */}, +/*::[*/ +2051:{ +/* n:"DBQueryExt", */}, +/*::[*/ +2052:{ +/* n:"ExtString", */}, +/*::[*/ +2053:{ +/* n:"TxtQry", */}, +/*::[*/ +2054:{ +/* n:"Qsir", */}, +/*::[*/ +2055:{ +/* n:"Qsif", */}, +/*::[*/ +2056:{ +/* n:"RRDTQSIF", */}, +/*::[*/ +2057:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +2058:{ +/* n:"OleDbConn", */}, +/*::[*/ +2059:{ +/* n:"WOpt", */}, +/*::[*/ +2060:{ +/* n:"SXViewEx", */}, +/*::[*/ +2061:{ +/* n:"SXTH", */}, +/*::[*/ +2062:{ +/* n:"SXPIEx", */}, +/*::[*/ +2063:{ +/* n:"SXVDTEx", */}, +/*::[*/ +2064:{ +/* n:"SXViewEx9", */}, +/*::[*/ +2066:{ +/* n:"ContinueFrt", */}, +/*::[*/ +2067:{ +/* n:"RealTimeData", */}, +/*::[*/ +2128:{ +/* n:"ChartFrtInfo", */}, +/*::[*/ +2129:{ +/* n:"FrtWrapper", */}, +/*::[*/ +2130:{ +/* n:"StartBlock", */}, +/*::[*/ +2131:{ +/* n:"EndBlock", */}, +/*::[*/ +2132:{ +/* n:"StartObject", */}, +/*::[*/ +2133:{ +/* n:"EndObject", */}, +/*::[*/ +2134:{ +/* n:"CatLab", */}, +/*::[*/ +2135:{ +/* n:"YMult", */}, +/*::[*/ +2136:{ +/* n:"SXViewLink", */}, +/*::[*/ +2137:{ +/* n:"PivotChartBits", */}, +/*::[*/ +2138:{ +/* n:"FrtFontList", */}, +/*::[*/ +2146:{ +/* n:"SheetExt", */}, +/*::[*/ +2147:{ +/* n:"BookExt", */ +r:12}, +/*::[*/ +2148:{ +/* n:"SXAddl", */}, +/*::[*/ +2149:{ +/* n:"CrErr", */}, +/*::[*/ +2150:{ +/* n:"HFPicture", */}, +/*::[*/ +2151:{ +/* n:"FeatHdr", */ +f:hg}, +/*::[*/ +2152:{ +/* n:"Feat", */}, +/*::[*/ +2154:{ +/* n:"DataLabExt", */}, +/*::[*/ +2155:{ +/* n:"DataLabExtContents", */}, +/*::[*/ +2156:{ +/* n:"CellWatch", */}, +/*::[*/ +2161:{ +/* n:"FeatHdr11", */}, +/*::[*/ +2162:{ +/* n:"Feature11", */}, +/*::[*/ +2164:{ +/* n:"DropDownObjIds", */}, +/*::[*/ +2165:{ +/* n:"ContinueFrt11", */}, +/*::[*/ +2166:{ +/* n:"DConn", */}, +/*::[*/ +2167:{ +/* n:"List12", */}, +/*::[*/ +2168:{ +/* n:"Feature12", */}, +/*::[*/ +2169:{ +/* n:"CondFmt12", */}, +/*::[*/ +2170:{ +/* n:"CF12", */}, +/*::[*/ +2171:{ +/* n:"CFEx", */}, +/*::[*/ +2172:{ +/* n:"XFCRC", */ +f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12}, +/*::[*/ +2173:{ +/* n:"XFExt", */ +f:function(e,t){e.l,e.l+=2;var n=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),r=[];i-- >0;)r.push(Jm(e,e.l));return{ixfe:n,ext:r}},r:12}, +/*::[*/ +2174:{ +/* n:"AutoFilter12", */}, +/*::[*/ +2175:{ +/* n:"ContinueFrt12", */}, +/*::[*/ +2180:{ +/* n:"MDTInfo", */}, +/*::[*/ +2181:{ +/* n:"MDXStr", */}, +/*::[*/ +2182:{ +/* n:"MDXTuple", */}, +/*::[*/ +2183:{ +/* n:"MDXSet", */}, +/*::[*/ +2184:{ +/* n:"MDXProp", */}, +/*::[*/ +2185:{ +/* n:"MDXKPI", */}, +/*::[*/ +2186:{ +/* n:"MDB", */}, +/*::[*/ +2187:{ +/* n:"PLV", */}, +/*::[*/ +2188:{ +/* n:"Compat12", */ +f:dg,r:12}, +/*::[*/ +2189:{ +/* n:"DXF", */}, +/*::[*/ +2190:{ +/* n:"TableStyles", */ +r:12}, +/*::[*/ +2191:{ +/* n:"TableStyle", */}, +/*::[*/ +2192:{ +/* n:"TableStyleElement", */}, +/*::[*/ +2194:{ +/* n:"StyleExt", */}, +/*::[*/ +2195:{ +/* n:"NamePublish", */}, +/*::[*/ +2196:{ +/* n:"NameCmt", */ +f:function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2);return[mg(e,i,n),mg(e,r,n)]}e.l+=t},r:12}, +/*::[*/ +2197:{ +/* n:"SortData", */}, +/*::[*/ +2198:{ +/* n:"Theme", */ +f:function(e,t,n){var i=e.l+t;if(124226!==e.read_shift(4))if(n.cellStyles){var r,a=e.slice(e.l);e.l=i;try{r=Uu(a,{type:"array"})}catch(o){return}var s=ku(r,"theme/theme/theme1.xml",!0);if(s)return Km(s,n)}else e.l=i},r:12}, +/*::[*/ +2199:{ +/* n:"GUIDTypeLib", */}, +/*::[*/ +2200:{ +/* n:"FnGrp12", */}, +/*::[*/ +2201:{ +/* n:"NameFnGrp12", */}, +/*::[*/ +2202:{ +/* n:"MTRSettings", */ +f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12}, +/*::[*/ +2203:{ +/* n:"CompressPictures", */ +f:hg}, +/*::[*/ +2204:{ +/* n:"HeaderFooter", */}, +/*::[*/ +2205:{ +/* n:"CrtLayout12", */}, +/*::[*/ +2206:{ +/* n:"CrtMlFrt", */}, +/*::[*/ +2207:{ +/* n:"CrtMlFrtContinue", */}, +/*::[*/ +2211:{ +/* n:"ForceFullCalculation", */ +f:function(e){var t=function(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}}, +/*::[*/ +2212:{ +/* n:"ShapePropsStream", */}, +/*::[*/ +2213:{ +/* n:"TextPropsStream", */}, +/*::[*/ +2214:{ +/* n:"RichTextStream", */}, +/*::[*/ +2215:{ +/* n:"CrtLayout12A", */}, +/*::[*/ +4097:{ +/* n:"Units", */}, +/*::[*/ +4098:{ +/* n:"Chart", */}, +/*::[*/ +4099:{ +/* n:"Series", */}, +/*::[*/ +4102:{ +/* n:"DataFormat", */}, +/*::[*/ +4103:{ +/* n:"LineFormat", */}, +/*::[*/ +4105:{ +/* n:"MarkerFormat", */}, +/*::[*/ +4106:{ +/* n:"AreaFormat", */}, +/*::[*/ +4107:{ +/* n:"PieFormat", */}, +/*::[*/ +4108:{ +/* n:"AttachedLabel", */}, +/*::[*/ +4109:{ +/* n:"SeriesText", */}, +/*::[*/ +4116:{ +/* n:"ChartFormat", */}, +/*::[*/ +4117:{ +/* n:"Legend", */}, +/*::[*/ +4118:{ +/* n:"SeriesList", */}, +/*::[*/ +4119:{ +/* n:"Bar", */}, +/*::[*/ +4120:{ +/* n:"Line", */}, +/*::[*/ +4121:{ +/* n:"Pie", */}, +/*::[*/ +4122:{ +/* n:"Area", */}, +/*::[*/ +4123:{ +/* n:"Scatter", */}, +/*::[*/ +4124:{ +/* n:"CrtLine", */}, +/*::[*/ +4125:{ +/* n:"Axis", */}, +/*::[*/ +4126:{ +/* n:"Tick", */}, +/*::[*/ +4127:{ +/* n:"ValueRange", */}, +/*::[*/ +4128:{ +/* n:"CatSerRange", */}, +/*::[*/ +4129:{ +/* n:"AxisLine", */}, +/*::[*/ +4130:{ +/* n:"CrtLink", */}, +/*::[*/ +4132:{ +/* n:"DefaultText", */}, +/*::[*/ +4133:{ +/* n:"Text", */}, +/*::[*/ +4134:{ +/* n:"FontX", */ +f:ug}, +/*::[*/ +4135:{ +/* n:"ObjectLink", */}, +/*::[*/ +4146:{ +/* n:"Frame", */}, +/*::[*/ +4147:{ +/* n:"Begin", */}, +/*::[*/ +4148:{ +/* n:"End", */}, +/*::[*/ +4149:{ +/* n:"PlotArea", */}, +/*::[*/ +4154:{ +/* n:"Chart3d", */}, +/*::[*/ +4156:{ +/* n:"PicF", */}, +/*::[*/ +4157:{ +/* n:"DropBar", */}, +/*::[*/ +4158:{ +/* n:"Radar", */}, +/*::[*/ +4159:{ +/* n:"Surf", */}, +/*::[*/ +4160:{ +/* n:"RadarArea", */}, +/*::[*/ +4161:{ +/* n:"AxisParent", */}, +/*::[*/ +4163:{ +/* n:"LegendException", */}, +/*::[*/ +4164:{ +/* n:"ShtProps", */ +f:function(e,t,n){var i={area:!1};if(5!=n.biff)return e.l+=t,i;var r=e.read_shift(1);return e.l+=3,16&r&&(i.area=!0),i}}, +/*::[*/ +4165:{ +/* n:"SerToCrt", */}, +/*::[*/ +4166:{ +/* n:"AxesUsed", */}, +/*::[*/ +4168:{ +/* n:"SBaseRef", */}, +/*::[*/ +4170:{ +/* n:"SerParent", */}, +/*::[*/ +4171:{ +/* n:"SerAuxTrend", */}, +/*::[*/ +4174:{ +/* n:"IFmtRecord", */}, +/*::[*/ +4175:{ +/* n:"Pos", */}, +/*::[*/ +4176:{ +/* n:"AlRuns", */}, +/*::[*/ +4177:{ +/* n:"BRAI", */}, +/*::[*/ +4187:{ +/* n:"SerAuxErrBar", */}, +/*::[*/ +4188:{ +/* n:"ClrtClient", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +4189:{ +/* n:"SerFmt", */}, +/*::[*/ +4191:{ +/* n:"Chart3DBarShape", */}, +/*::[*/ +4192:{ +/* n:"Fbi", */}, +/*::[*/ +4193:{ +/* n:"BopPop", */}, +/*::[*/ +4194:{ +/* n:"AxcExt", */}, +/*::[*/ +4195:{ +/* n:"Dat", */}, +/*::[*/ +4196:{ +/* n:"PlotGrowth", */}, +/*::[*/ +4197:{ +/* n:"SIIndex", */}, +/*::[*/ +4198:{ +/* n:"GelFrame", */}, +/*::[*/ +4199:{ +/* n:"BopPopCustom", */}, +/*::[*/ +4200:{ +/* n:"Fbi2", */}, +/*::[*/ +0:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +1:{ +/* n:"BIFF2BLANK", */}, +/*::[*/ +2:{ +/* n:"BIFF2INT", */ +f:function(e){var t=Tg(e);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}}, +/*::[*/ +3:{ +/* n:"BIFF2NUM", */ +f:function(e){var t=Tg(e);++e.l;var n=Sp(e);return t.t="n",t.val=n,t}}, +/*::[*/ +4:{ +/* n:"BIFF2STR", */ +f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var i=Tg(e);++e.l;var r=vg(e,0,n);return i.t="str",i.val=r,i}}, +/*::[*/ +5:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +7:{ +/* n:"String", */ +f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}}, +/*::[*/ +8:{ +/* n:"BIFF2ROW", */}, +/*::[*/ +9:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +11:{ +/* n:"Index", */}, +/*::[*/ +22:{ +/* n:"ExternCount", */ +f:ug}, +/*::[*/ +30:{ +/* n:"BIFF2FORMAT", */ +f:Ig}, +/*::[*/ +31:{ +/* n:"BIFF2FMTCNT", */}, +/* 16-bit cnt of BIFF2FORMAT records */ +/*::[*/ +32:{ +/* n:"BIFF2COLINFO", */}, +/*::[*/ +33:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +36:{ +/* n:"COLWIDTH", */}, +/*::[*/ +37:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +// 0x2c ?? +// 0x2d ?? +// 0x2e ?? +// 0x30 FONTCOUNT: number of fonts +/*::[*/ +50:{ +/* n:"BIFF2FONTXTRA", */ +f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}}, +// 0x35: INFOOPTS +// 0x36: TABLE (BIFF2 only) +// 0x37: TABLE2 (BIFF2 only) +// 0x38: WNDESK +// 0x39 ?? +// 0x3a: BEGINPREF +// 0x3b: ENDPREF +/*::[*/ +62:{ +/* n:"BIFF2WINDOW2", */}, +// 0x3f ?? +// 0x46: SHOWSCROLL +// 0x47: SHOWFORMULA +// 0x48: STATUSBAR +// 0x49: SHORTMENUS +// 0x4A: +// 0x4B: +// 0x4C: +// 0x4E: +// 0x4F: +// 0x58: TOOLBAR (BIFF3) +/* - - - */ +/*::[*/ +52:{ +/* n:"DDEObjName", */}, +/*::[*/ +67:{ +/* n:"BIFF2XF", */}, +/*::[*/ +68:{ +/* n:"BIFF2XFINDEX", */ +f:ug}, +/*::[*/ +69:{ +/* n:"BIFF2FONTCLR", */}, +/*::[*/ +86:{ +/* n:"BIFF4FMTCNT", */}, +/* 16-bit cnt, similar to BIFF2 */ +/*::[*/ +126:{ +/* n:"RK", */}, +/* Not necessarily same as 0x027e */ +/*::[*/ +127:{ +/* n:"ImData", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r={fmt:t,env:n,len:i,data:e.slice(e.l,e.l+i)};return e.l+=i,r}}, +/*::[*/ +135:{ +/* n:"Addin", */}, +/*::[*/ +136:{ +/* n:"Edg", */}, +/*::[*/ +137:{ +/* n:"Pub", */}, +// 0x8A +// 0x8B LH: alternate menu key flag (BIFF3/4) +// 0x8E +// 0x8F +/*::[*/ +145:{ +/* n:"Sub", */}, +// 0x93 STYLE +/*::[*/ +148:{ +/* n:"LHRecord", */}, +/*::[*/ +149:{ +/* n:"LHNGraph", */}, +/*::[*/ +150:{ +/* n:"Sound", */}, +// 0xA2 FNPROTO: function prototypes (BIFF4) +// 0xA3 +// 0xA8 +/*::[*/ +169:{ +/* n:"CoordList", */}, +/*::[*/ +171:{ +/* n:"GCW", */}, +/*::[*/ +188:{ +/* n:"ShrFmla", */}, +/* Not necessarily same as 0x04bc */ +/*::[*/ +191:{ +/* n:"ToolbarHdr", */}, +/*::[*/ +192:{ +/* n:"ToolbarEnd", */}, +/*::[*/ +194:{ +/* n:"AddMenu", */}, +/*::[*/ +195:{ +/* n:"DelMenu", */}, +/*::[*/ +214:{ +/* n:"RString", */ +f:function(e,t,n){var i=e.l+t,r=Tg(e),a=e.read_shift(2),s=mg(e,a,n);return e.l=i,r.t="str",r.val=s,r}}, +/*::[*/ +223:{ +/* n:"UDDesc", */}, +/*::[*/ +234:{ +/* n:"TabIdConf", */}, +/*::[*/ +354:{ +/* n:"XL5Modify", */}, +/*::[*/ +421:{ +/* n:"FileSharing2", */}, +/*::[*/ +518:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +521:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +536:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +547:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +561:{ +/* n:"Font", */}, +/*::[*/ +579:{ +/* n:"BIFF3XF", */}, +/*::[*/ +1030:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +1033:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +1091:{ +/* n:"BIFF4XF", */}, +/*::[*/ +2157:{ +/* n:"FeatInfo", */}, +/*::[*/ +2163:{ +/* n:"FeatInfo11", */}, +/*::[*/ +2177:{ +/* n:"SXAddl12", */}, +/*::[*/ +2240:{ +/* n:"AutoWebPub", */}, +/*::[*/ +2241:{ +/* n:"ListObj", */}, +/*::[*/ +2242:{ +/* n:"ListField", */}, +/*::[*/ +2243:{ +/* n:"ListDV", */}, +/*::[*/ +2244:{ +/* n:"ListCondFmt", */}, +/*::[*/ +2245:{ +/* n:"ListCF", */}, +/*::[*/ +2246:{ +/* n:"FMQry", */}, +/*::[*/ +2247:{ +/* n:"FMSQry", */}, +/*::[*/ +2248:{ +/* n:"PLV", */}, +/*::[*/ +2249:{ +/* n:"LnExt", */}, +/*::[*/ +2250:{ +/* n:"MkrExt", */}, +/*::[*/ +2251:{ +/* n:"CrtCoopt", */}, +/*::[*/ +2262:{ +/* n:"FRTArchId$", */ +r:12}, +/*::[*/ +29282:{}};function iy(e,t,n,i){var r=t;if(!isNaN(r)){var a=(n||[]).length||0,s=e.next(4);s.write_shift(2,r),s.write_shift(2,a), +/*:: len != null &&*/ +a>0&&Rf(n)&&e.push(n)}}function ry(e,t){var n=t||{},i=n.dense?[]:{},r=(e=e.replace(//g,"")).match(/
");var a=e.match(/<\/table/i),s=r.index,o=a&&a.index||e.length,c=xu(e.slice(s,o),/(:?]*>)/i,""),l=-1,h=0,d=0,u=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(s=0;s/i);for(o=0;o"))>-1;)y=y.slice(w+1);for(var x=0;x")));u=T.colspan?+T.colspan:1,((d=+T.rowspan)>1||u>1)&&p.push({s:{r:l,c:h},e:{r:l+(d||1)-1,c:h+u-1}});var D=T.t||T["data-t"]||"";if(y.length)if(y=tf(y),f.s.r>l&&(f.s.r=l),f.e.rh&&(f.s.c=h),f.e.cn||r[l].s.c>s||r[l].e.r1&&(f.rowspan=o),c>1&&(f.colspan=c),i.editable?u=''+u+"":d&&(f["data-t"]=d&&d.t||"z",null!=d.v&&(f["data-v"]=d.v),null!=d.z&&(f["data-z"]=d.z),d.l&&"#"!=(d.l.Target||"#").charAt(0)&&(u=''+u+"")),f.id=(i.id||"sjs")+"-"+h,a.push(cf("td",u,f))}}return""+a.join("")+""}function sy(e,t,n){var i=n||{},r=0,a=0;if(null!=i.origin)if("number"==typeof i.origin)r=i.origin;else{var s="string"==typeof i.origin?ap(i.origin):i.origin;r=s.r,a=s.c}var o=t.getElementsByTagName("tr"),c=Math.min(i.sheetRows||1e7,o.length),l={s:{r:0,c:0},e:{r:r,c:a}};if(e["!ref"]){var h=op(e["!ref"]);l.s.r=Math.min(l.s.r,h.s.r),l.s.c=Math.min(l.s.c,h.s.c),l.e.r=Math.max(l.e.r,h.e.r),l.e.c=Math.max(l.e.c,h.e.c),-1==r&&(l.e.r=r=h.e.r+1)}var d=[],u=0,f=e["!rows"]||(e["!rows"]=[]),p=0,g=0,m=0,b=0,v=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&d.push({s:{r:g+r,c:b+a},e:{r:g+r+(v||1)-1,c:b+a+(y||1)-1}});var E={t:"s",v:T},k=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=T&&(0==T.length?E.t=k||"z":i.raw||0==T.trim().length||"s"==k||("TRUE"===T?E={t:"b",v:!0}:"FALSE"===T?E={t:"b",v:!1}:isNaN(vu(T))?isNaN(wu(T).getDate())||(E={t:"d",v:pu(T)},i.cellDates||(E={t:"n",v:au(E.v)}),E.z=i.dateNF||bd[14]):E={t:"n",v:vu(T)})),void 0===E.z&&null!=D&&(E.z=D);var S="",C=_.getElementsByTagName("A");if(C&&C.length)for(var U=0;U=c&&(e["!fullref"]=cp((l.e.r=o.length-p+g-1+r,l))),e}function oy(e,t){return sy((t||{}).dense?[]:{},e,t)}function cy(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var ly={ +/* ods name: [short ssf fmt, long ssf fmt] */ +day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"], +/* there is no native representation of LO "Q" format */ +quarter:["\\Qm",'m\\"th quarter"']};function hy(e,t){var n,i,r,a,s,o,c,l,h=t||{},d=lf(e),u=[],f={name:""},p="",g=0,m={},b=[],v=h.dense?[]:{},y={value:""},w="",x=0,_=[],T=-1,D=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},E=0,k={},S=[],C={},U=[],F=1,M=1,R=[],I={Names:[]},O={},N=["",""],P=[],L={},W="",B=0,j=!1,z=!1,H=0;for(hf.lastIndex=0,d=d.replace(//gm,"").replace(//gm,"");s=hf.exec(d);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?v["!ref"]=cp(A):v["!ref"]="A1:A1",h.sheetRows>0&&h.sheetRows<=A.e.r&&(v["!fullref"]=v["!ref"],A.e.r=h.sheetRows-1,v["!ref"]=cp(A)),S.length&&(v["!merges"]=S),U.length&&(v["!rows"]=U),r.name=r["名称"]||r.name,"undefined"!=typeof JSON&&JSON.stringify(r),b.push(r.name),m[r.name]=v,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(r=Lu(s[0],!1),T=D=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,v=h.dense?[]:{},S=[],U=[],z=!0);break;case"table-row-group":"/"===s[1]?--E:++E;break;case"table-row":case"行":if("/"===s[1]){T+=F,F=1;break}if((a=Lu(s[0],!1))["行号"]?T=a["行号"]-1:-1==T&&(T=0),(F=+a["number-rows-repeated"]||1)<10)for(H=0;H0&&(U[T+H]={level:E});D=-1;break;case"covered-table-cell":"/"!==s[1]&&++D,h.sheetStubs&&(h.dense?(v[T]||(v[T]=[]),v[T][D]={t:"z"}):v[sp({r:T,c:D})]={t:"z"}),w="",_=[];break; +/* stub */case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++D,y=Lu(s[0],!1),M=parseInt(y["number-columns-repeated"]||"1",10),o={t:"z",v:null +/*:: , z:null, w:"",c:[]*/},y.formula&&0!=h.cellFormula&&(o.f=Vb(zu(y.formula))),"string"==(y["数据类型"]||y["value-type"])&&(o.t="s",o.v=zu(y["string-value"]||""),h.dense?(v[T]||(v[T]=[]),v[T][D]=o):v[sp({r:T,c:D})]=o),D+=M-1;else if("/"!==s[1]){w="",x=0,_=[],M=1;var V=F?T+F-1:T;if(++D>A.e.c&&(A.e.c=D),DA.e.r&&(A.e.r=V),P=[],L={},o={t:(y=Lu(s[0],!1))["数据类型"]||y["value-type"],v:null +/*:: , z:null, w:"",c:[]*/},h.cellFormula)if(y.formula&&(y.formula=zu(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},o.F=cp(C),R.push([C,o.F])),y.formula)o.f=Vb(y.formula);else for(H=0;H=R[H][0].s.r&&T<=R[H][0].e.r&&D>=R[H][0].s.c&&D<=R[H][0].e.c&&(o.F=R[H][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-columns-spanned"],10)||0)-1}},S.push(C)),y["number-columns-repeated"]&&(M=parseInt(y["number-columns-repeated"],10)),o.t){case"boolean":o.t="b",o.v=$u(y["boolean-value"]);break;case"float":case"percentage":case"currency":o.t="n",o.v=parseFloat(y.value);break;case"date":o.t="d",o.v=pu(y["date-value"]),h.cellDates||(o.t="n",o.v=au(o.v)),o.z="m/d/yy";break;case"time":o.t="n",o.v=hu(y["time-value"])/86400,h.cellDates&&(o.t="d",o.v=lu(o.v)),o.z="HH:MM:SS";break;case"number":o.t="n",o.v=parseFloat(y["数据数值"]);break;default:if("string"!==o.t&&"text"!==o.t&&o.t)throw new Error("Unsupported value type "+o.t);o.t="s",null!=y["string-value"]&&(w=zu(y["string-value"]),_=[])}}else{if(j=!1,"s"===o.t&&(o.v=w||"",_.length&&(o.R=_),j=0==x),O.Target&&(o.l=O),P.length>0&&(o.c=P,P=[]),w&&!1!==h.cellText&&(o.w=w),j&&(o.t="z",delete o.v),(!j||h.sheetStubs)&&!(h.sheetRows&&h.sheetRows<=T))for(var G=0;G0;)v[T+G][D+M]=mu(o);else for(v[sp({r:T+G,c:D})]=o;--M>0;)v[sp({r:T+G,c:D+M})]=mu(o);A.e.c<=D&&(A.e.c=D)}D+=(M=parseInt(y["number-columns-repeated"]||"1",10))-1,M=0,o={ +/*:: t:"", v:null, z:null, w:"",c:[]*/},w="",_=[]}O={};break; +// 9.1.4 +/* pure state */case"document": +// TODO: is the root for FODS +case"document-content":case"电子表格文档": +// 3.1.3.2 +case"spreadsheet":case"主体": +// 3.7 +case"scripts": +// 3.12 +case"styles": +// TODO +case"font-face-decls": +// 3.14 +case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;L.t=w,_.length&&(L.R=_),L.a=W,P.push(L)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);W="",B=0,w="",x=0,_=[];break;case"creator":"/"===s[1]?W=d.slice(B,s.index):B=s.index+s[0].length;break; +/* ignore state */case"meta":case"元数据": +// TODO: FODS/UOF +case"settings": +// TODO: +case"config-item-set": +// TODO: +case"config-item-map-indexed": +// TODO: +case"config-item-map-entry": +// TODO: +case"config-item-map-named": +// TODO: +case"shapes": +// 9.2.8 +case"frame": +// 10.4.2 +case"text-box": +// 10.4.3 +case"image": +// 10.4.4 +case"data-pilot-tables": +// 9.6.2 +case"list-style": +// 16.30 +case"form": +// 13.13 +case"dde-links": +// 9.8 +case"event-listeners": +// TODO +case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);w="",x=0,_=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script": +// 3.13 +case"libraries": +// TODO: +case"automatic-styles": +// 3.15.3 +case"default-style": +// TODO: +case"page-layout": +// TODO: +case"style":case"map": +// 16.3 +case"font-face": +// 16.21 +case"paragraph-properties": +// 17.6 +case"table-properties": +// 17.15 +case"table-column-properties": +// 17.16 +case"table-row-properties": +// 17.17 +case"table-cell-properties": +// 17.18 +case"fraction": +// TODO 16.27.6 +case"boolean-style": +// 16.27.23 +case"boolean": +// 16.27.24 +case"text-style": +// 16.27.25 +case"text-content": +// 16.27.27 +case"text-properties": +// 16.27.27 +case"embedded-text": +// 16.27.4 +case"body":case"电子表格": +// 3.3 16.9.6 19.726.3 +case"forms": +// 12.25.2 13.2 +case"table-column": +// 9.1.6 +case"table-header-rows": +// 9.1.7 +case"table-rows": +// 9.1.12 +/* TODO: outline levels */case"table-column-group": +// 9.1.10 +case"table-header-columns": +// 9.1.11 +case"table-columns": +// 9.1.12 +case"null-date": +// 9.4.2 TODO: date1904 +case"graphic-properties": +// 17.21 +case"calculation-settings": +// 9.4.1 +case"named-expressions": +// 9.4.11 +case"label-range": +// 9.4.9 +case"label-ranges": +// 9.4.10 +case"named-expression": +// 9.4.13 +case"sort": +// 9.4.19 +case"sort-by": +// 9.4.20 +case"sort-groups": +// 9.4.22 +case"tab": +// 6.1.4 +case"line-break": +// 6.1.5 +case"span": +// 6.1.7 +// +case"s": +// +case"date": +// <*:date> +case"object": +// 10.4.6.2 +case"title":case"标题": +// <*:title> OR +case"desc": +// <*:desc> +case"binary-data": +// 10.4.5 TODO: b64 blob +/* 9.2 Advanced Tables */case"table-source": +// 9.2.6 +case"scenario": +// 9.2.6 +case"iteration": +// 9.4.3 +case"content-validations": +// 9.4.4 +case"filter": +// 9.5.2 +case"filter-and": +// 9.5.3 +case"filter-or": +// 9.5.4 +case"filter-condition": +// 9.5.5 +case"list-level-style-bullet": +// 16.31 +case"page-count": +// TODO +case"time": +// TODO +/* 9.3 Advanced Table Cells */case"cell-range-source": +// 9.3.1 +case"property": +// 13.8 +/* non-standard */ +case"table-protection":case"data-pilot-grand-total": +// +case"percentage-style": +// 16.27.9 +case"date-style": +// 16.27.10 +case"time-style":if("/"===s[1]){if(k[f.name]=p,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(p="",f=Lu(s[0],!1),u.push([s[3],!0]));break;case"number":case"day": +// 16.27.11 +case"month": +// 16.27.12 +case"year": +// 16.27.13 +case"era": +// 16.27.14 +case"day-of-week": +// 16.27.15 +case"week-of-year": +// 16.27.16 +case"quarter": +// 16.27.17 +case"hours": +// 16.27.19 +case"minutes": +// 16.27.20 +case"seconds": +// 16.27.21 +case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":i=Lu(s[0],!1),p+=ly[s[3]]["long"===i.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":p+=d.slice(g,s.index)}else g=s.index+s[0].length;break;case"named-range":N=Gb((i=Lu(s[0],!1))["cell-range-address"]);var X={Name:i.name,Ref:N[0]+"!"+N[1]};z&&(X.Sheet=b.length),I.Names.push(X);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||y&&y["string-value"])Lu(s[0],!1),x=s.index+s[0].length;else{var $=(c=d.slice(x,s.index),l=void 0,l=c.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n"),[zu(l.replace(/<[^>]*>/g,""))]);w=(w.length>0?w+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{m[(N=Gb(Lu(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:N[1]}}catch(Y){}break;case"a":if("/"!==s[1]){if(!(O=Lu(s[0],!1)).href)break;O.Target=zu(O.href),delete O.href,"#"==O.Target.charAt(0)&&O.Target.indexOf(".")>-1?(N=Gb(O.Target.slice(1)),O.Target="#"+N[0]+"!"+N[1]):O.Target.match(/^\.\.[\\\/]/)&&(O.Target=O.Target.slice(3))}break;default:switch(s[2]){case"dc:": +// TODO: properties +case"calcext:": +// ignore undocumented extensions +case"loext:": +// ignore undocumented extensions +case"ooo:": +// ignore undocumented extensions +case"chartooo:": +// ignore undocumented extensions +case"draw:": +// TODO: drawing +case"style:": +// TODO: styles +case"chart:": +// TODO: charts +case"form:": +// TODO: forms +case"uof:": +// TODO: uof +case"表:": +// TODO: uof +case"字:":break;default:if(h.WTF)throw new Error(s)}}var q={Sheets:m,SheetNames:b,Workbook:I};return h.bookSheets&&delete/*::(*/ +q.Sheets,q}function dy(e,t){t=t||{},Du(e,"META-INF/manifest.xml")&&function(e,t){for(var n,i,r=lf(e);n=hf.exec(r);)switch(n[3]){case"manifest":break; +// 4.2 +case"file-entry":if("/"==(i=Lu(n[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==i.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data": +// 4.4 +case"algorithm": +// 4.5 +case"start-key-generation": +// 4.6 +case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(Eu(e,"META-INF/manifest.xml"),t);var n=ku(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=hy(Ju(n),t);return Du(e,"meta.xml")&&(i.Props=Xp(Eu(e,"meta.xml"))),i}function uy(e,t){return hy(e,t)} +/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function fy(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function py(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Ju(id(e))}function gy(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),i=0;return e.forEach((function(e){n.set(e,i),i+=e.length})),n}function my(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function by(e,t){var n=t?t[0]:0,i=127&e[n];e:if(e[n++]>=128){if(i|=(127&e[n])<<7,e[n++]<128)break e;if(i|=(127&e[n])<<14,e[n++]<128)break e;if(i|=(127&e[n])<<21,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),i}function vy(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function yy(e){for(var t=[],n=[0];n[0]=128;);i=e.slice(c,n[0]);break;case 5:o=4,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 1:o=8,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 2:o=by(e,n),i=e.slice(n[0],n[0]+o),n[0]+=o;break;default:throw new Error("PB Type ".concat(s," for Field ").concat(a," at offset ").concat(r))}var l={data:i,type:s};null==t[a]?t[a]=[l]:t[a].push(l)}return t}function wy(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function xy(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],i=by(t,n),r=[];n[0]>2&7),s=(224&t[n[0]++])<<3,s|=t[n[0]++]):(o=1+(t[n[0]++]>>2),2==a?(s=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(s=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),r=[gy(r)],0==s)throw new Error("Invalid offset 0");if(s>r[0].length)throw new Error("Invalid offset beyond length");if(o>=s)for(r.push(r[0].slice(-s)),o-=s;o>=r[r.length-1].length;)r.push(r[r.length-1]),o-=r[r.length-1].length;r.push(r[0].slice(-s,-s+o))}else{var c=t[n[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[n[0]],l>1&&(c|=t[n[0]+1]<<8),l>2&&(c|=t[n[0]+2]<<16),l>3&&(c|=t[n[0]+3]<<24),c>>>=0,c++,n[0]+=l}r.push(t.slice(n[0],n[0]+c)),n[0]+=c}}var h=gy(r);if(h.length!=i)throw new Error("Unexpected length: ".concat(h.length," != ").concat(i));return h}function _y(e,t,n){var i,r=fy(e),a=r.getUint32(8,!0),s=12,o=-1,c=-1,l=NaN,h=NaN,d=new Date(2001,0,1);switch(1&a&&(l=function(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,i=1&e[t+14],r=t+13;r>=t;--r)i=256*i+e[r];return(128&e[t+15]?-i:i)*Math.pow(10,n-6176)}(e,s),s+=16),2&a&&(h=r.getFloat64(s,!0),s+=8),4&a&&(d.setTime(d.getTime()+1e3*r.getFloat64(s,!0)),s+=8),8&a&&(c=r.getUint32(s,!0),s+=4),16&a&&(o=r.getUint32(s,!0),s+=4),e[1]){case 0:break;case 2:case 10:i={t:"n",v:l};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:d};break;case 6:i={t:"b",v:h>0};break;case 7:i={t:"n",v:h/86400};break;case 8:i={t:"e",v:0};break;case 9:if(!(o>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)));i={t:"s",v:n[o]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)))}return i}function Ty(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,n,i){var r,a=fy(e),s=a.getUint32(4,!0),o=(i>1?12:8)+4*my(s&(i>1?3470:398)),c=-1,l=-1,h=NaN,d=new Date(2001,0,1);switch(512&s&&(c=a.getUint32(o,!0),o+=4),o+=4*my(s&(i>1?12288:4096)),16&s&&(l=a.getUint32(o,!0),o+=4),32&s&&(h=a.getFloat64(o,!0),o+=8),64&s&&(d.setTime(d.getTime()+1e3*a.getFloat64(o,!0)),o+=8),e[2]){case 0:break;case 2:r={t:"n",v:h};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:d};break;case 6:r={t:"b",v:h>0};break;case 7:r={t:"n",v:h/86400};break;case 8:r={t:"e",v:0};break;case 9:if(c>-1)r={t:"s",v:n[c]};else if(l>-1)r={t:"s",v:t[l]};else{if(isNaN(h))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));r={t:"n",v:h}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return r}(e,t,n,e[0]);case 5:return _y(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Dy(e){return by(yy(e)[1][0].data)}function Ay(e,t){var n=yy(t.data),i=vy(n[1][0].data),r=n[3],a=[];return(r||[]).forEach((function(t){var n=yy(t.data),r=vy(n[1][0].data)>>>0;switch(i){case 1:a[r]=py(n[3][0].data);break;case 8:var s=yy(e[Dy(n[9][0].data)][0].data),o=e[Dy(s[1][0].data)][0],c=vy(o.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=yy(o.data);a[r]=l[3].map((function(e){return py(e.data)})).join("")}})),a}function Ey(e,t){var n,i=yy(t.data),r=(null==(n=null==i?void 0:i[7])?void 0:n[0])?vy(i[7][0].data)>>>0>0?1:0:-1,a=wy(i[5],(function(e){return function(e,t){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v=yy(e),y=vy(v[1][0].data)>>>0,w=vy(v[2][0].data)>>>0,x=(null==(i=null==(n=v[8])?void 0:n[0])?void 0:i.data)&&vy(v[8][0].data)>0||!1;if((null==(a=null==(r=v[7])?void 0:r[0])?void 0:a.data)&&0!=t)m=null==(o=null==(s=v[7])?void 0:s[0])?void 0:o.data,b=null==(l=null==(c=v[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(d=null==(h=v[4])?void 0:h[0])?void 0:d.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(f=null==(u=v[4])?void 0:u[0])?void 0:f.data,b=null==(g=null==(p=v[3])?void 0:p[0])?void 0:g.data}for(var _=x?4:1,T=fy(m),D=[],A=0;A=1&&(k[D[D.length-1][0]]=b.subarray(D[D.length-1][1]*_)),{R:y,cells:k}}(e,r)}));return{nrows:vy(i[4][0].data)>>>0,data:a.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,i){if(e[t.R][i])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(i));e[t.R][i]=n})),e}),[])}}function ky(e,t){var n={"!ref":"A1"},i=e[Dy(yy(t.data)[2][0].data)],r=vy(i[0].meta[1][0].data);if(6001!=r)throw new Error("6000 unexpected reference to ".concat(r));return function(e,t,n){var i,r=yy(t.data),a={s:{r:0,c:0},e:{r:0,c:0}};if(a.e.r=(vy(r[6][0].data)>>>0)-1,a.e.r<0)throw new Error("Invalid row varint ".concat(r[6][0].data));if(a.e.c=(vy(r[7][0].data)>>>0)-1,a.e.c<0)throw new Error("Invalid col varint ".concat(r[7][0].data));n["!ref"]=cp(a);var s=yy(r[4][0].data),o=Ay(e,e[Dy(s[4][0].data)][0]),c=(null==(i=s[17])?void 0:i[0])?Ay(e,e[Dy(s[17][0].data)][0]):[],l=yy(s[3][0].data),h=0;l[1].forEach((function(t){var i=yy(t.data),r=e[Dy(i[2][0].data)][0],a=vy(r.meta[1][0].data);if(6002!=a)throw new Error("6001 unexpected reference to ".concat(a));var s=Ey(0,r);s.data.forEach((function(e,t){e.forEach((function(e,i){var r=sp({r:h+t,c:i}),a=Ty(e,o,c);a&&(n[r]=a)}))})),h+=s.nrows}))}(e,i[0],n),n}function Sy(e,t){var n={SheetNames:[],Sheets:{}};if(wy(yy(t.data)[1],Dy).forEach((function(t){e[t].forEach((function(t){if(2==vy(t.meta[1][0].data)){var i=function(e,t){var n,i=yy(t.data),r={name:(null==(n=i[1])?void 0:n[0])?py(i[1][0].data):"",sheets:[]};return wy(i[2],Dy).forEach((function(t){e[t].forEach((function(t){6e3==vy(t.meta[1][0].data)&&r.sheets.push(ky(e,t))}))})),r}(e,t);i.sheets.forEach((function(e,t){$y(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Cy(e){var t,n,i,r,a={},s=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=function(e){for(var t=[],n=0;n>>0>0),n.push(s)}return n}(t)}catch(i){return}n.forEach((function(e){a[e.id]=e.messages,s.push(e.id)}))}})),!s.length)throw new Error("File has no messages");var o=(null==(r=null==(i=null==(n=null==(t=null==a?void 0:a[1])?void 0:t[0])?void 0:n.meta)?void 0:i[1])?void 0:r[0].data)&&1==vy(a[1][0].meta[1][0].data)&&a[1][0];if(o||s.forEach((function(e){a[e].forEach((function(e){if(1==vy(e.meta[1][0].data)>>>0){if(o)throw new Error("Document has multiple roots");o=e}}))})),!o)throw new Error("Cannot find Document root");return Sy(a,o)}function Uy(e){var t;(t=[["cellNF",!1], +/* emit cell number format string as .z */ +["cellHTML",!0], +/* emit html string as .h */ +["cellFormula",!0], +/* emit formulae as .f */ +["cellStyles",!1], +/* emits style/theme as .s */ +["cellText",!0], +/* emit formatted text as .w */ +["cellDates",!1], +/* emit date cells with type `d` */ +["sheetStubs",!1], +/* emit empty cells */ +["sheetRows",0,"n"], +/* read n rows (0 = read all rows) */ +["bookDeps",!1], +/* parse calculation chains */ +["bookSheets",!1], +/* only try to get sheet names (no Sheets) */ +["bookProps",!1], +/* only try to get properties (no Sheets) */ +["bookFiles",!1], +/* include raw file structure (keys, files, cfb) */ +["bookVBA",!1], +/* include vba raw data (vbaraw) */ +["password",""], +/* password */ +["WTF",!1] +/* WTF mode (throws errors) */],function(e){for(var n=0;n!=t.length;++n){var i=t[n];void 0===e[i[0]]&&(e[i[0]]=i[1]),"n"===i[2]&&(e[i[0]]=Number(e[i[0]]))}})(e)}function Fy(e,t,n,i,r,a,s,o,c,l,h,d){try{a[i]=Hp(ku(e,n,!0),t);var u,f=Eu(e,t);switch(o){case"sheet":u=Ev(f,t,r,c,a[i],l,h,d);break;case"chart":if(!(u=kv(f,t,r,c,a[i],l))||!u["!drawel"])break;var p=Fu(u["!drawel"].Target,t),g=zp(p),m=function(e,t){if(!e)return"??";var n=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(ku(e,p,!0),Hp(ku(e,g,!0),p)),b=Fu(m,p),v=zp(b);u=pv(ku(e,b,!0),0,0,Hp(ku(e,v,!0),b),0,u);break;case"macro":w=t,a[i],w.slice(-4),u={"!type":"macro"};break;case"dialog":u=function(e,t){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,a[i]);break;default:throw new Error("Unrecognized sheet type "+o)}s[i]=u;var y=[];a&&a[i]&&nu(a[i]).forEach((function(n){var r="";if(a[i][n].Type==jp.CMNT){r=Fu(a[i][n].Target,t);var s=Uv(Eu(e,r,!0),r,c);if(!s||!s.length)return;Qm(u,s,!1)}a[i][n].Type==jp.TCMNT&&(r=Fu(a[i][n].Target,t),y=y.concat(function(e,t){var n=[],i=!1,r={},a=0;return e.replace(Ou,(function(s,o){var c=Lu(s);switch(Wu(c[0])){case"": +/* 2.6.205 threadedComment CT_ThreadedComment */ +/* 2.6.202 mention CT_Mention TODO */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"":case"":case"":break; +/* 18.2.7 ext CT_Extension + */case"":null!=r.t&&n.push(r);break;case"":case"":r.t=e.slice(a,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break; +/* 2.6.206 mentions CT_ThreadedCommentMentions TODO */case"":case"":case"":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return s})),n}(Eu(e,r,!0),c)))})),y&&y.length&&Qm(u,y,!0,c.people||[])}catch(x){if(c.WTF)throw x}var w}function My(e){return"/"==e.charAt(0)?e.slice(1):e}function Ry(e,t){if(Zd(),Uy(t=t||{}),Du(e,"META-INF/manifest.xml"))return dy(e,t);if(Du(e,"objectdata.xml"))return dy(e,t);if(Du(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Cy){if(e.FileIndex)return Cy(e);var n=tu.utils.cfb_new();return Su(e).forEach((function(t){Cu(n,t,function(e,t){return Tu(Au(e,t))}(e,t))})),Cy(n)}throw new Error("Unsupported NUMBERS file")}if(!Du(e,"[Content_Types].xml")){if(Du(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Du(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var i,r,a=Su(e),s=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0].replace(Nu,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(ku(e,"[Content_Types].xml")),o=!1;if(0===s.workbooks.length&&Eu(e,r="xl/workbook.xml",!0)&&s.workbooks.push(r),0===s.workbooks.length){if(!Eu(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");s.workbooks.push(r),o=!0}"bin"==s.workbooks[0].slice(-3)&&(o=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(Xb=[],s.sst)try{Xb=Cv(Eu(e,My(s.sst)),s.sst,t)}catch(U){if(t.WTF)throw U}t.cellStyles&&s.themes.length&&(c=function(e,t,n){return Km(e,n)}(ku(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(l=Sv(Eu(e,My(s.style)),s.style,c,t))}s.links.map((function(n){try{Hp(ku(e,zp(My(n))),n);return Mv(Eu(e,My(n)),0,n,t)}catch(U){}}));var h=Av(Eu(e,My(s.workbooks[0])),s.workbooks[0],t),d={},u="";s.coreprops.length&&((u=Eu(e,My(s.coreprops[0]),!0))&&(d=Xp(u)),0!==s.extprops.length&&(u=Eu(e,My(s.extprops[0]),!0))&&function(e,t,n){var i={};t||(t={}),e=Ju(e),$p.forEach((function(n){var r=(e.match(ef(n[0]))||[])[1];switch(n[2]){case"string":r&&(t[n[1]]=zu(r));break;case"bool":t[n[1]]="true"===r;break;case"raw":var a=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));a&&a.length>0&&(i[n[1]]=a[1])}})),i.HeadingPairs&&i.TitlesOfParts&&qp(i.HeadingPairs,i.TitlesOfParts,t,n)}(u,d,t));var f={};t.bookSheets&&!t.bookProps||0!==s.custprops.length&&(u=ku(e,My(s.custprops[0]),!0))&&(f=function(e,t){var n={},i="",r=e.match(Yp);if(r)for(var a=0;a!=r.length;++a){var s=r[a],o=Lu(s);switch(o[0]){case"":i=null;break;default:if(0===s.indexOf(""),l=c[0].slice(4),h=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":n[i]=zu(h);break;case"bool":n[i]=$u(h);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[i]=parseInt(h,10);break;case"r4":case"r8":case"decimal":n[i]=parseFloat(h);break;case"filetime":case"date":n[i]=pu(h);break;default:if("/"==l.slice(-1))break;t.WTF}}else if("0&&(i=d.SheetNames),t.bookProps&&(p.Props=d,p.Custprops=f),t.bookSheets&&void 0!==i&&(p.SheetNames=i),t.bookSheets?p.SheetNames:t.bookProps))return p;i={};var g={};t.bookDeps&&s.calcchain&&(g=Fv(Eu(e,My(s.calcchain)),s.calcchain));var m,b,v=0,y={},w=h.Sheets;d.Worksheets=w.length,d.SheetNames=[];for(var x=0;x!=w.length;++x)d.SheetNames[x]=w[x].name;var _=o?"bin":"xml",T=s.workbooks[0].lastIndexOf("/"),D=(s.workbooks[0].slice(0,T+1)+"_rels/"+s.workbooks[0].slice(T+1)+".rels").replace(/^\//,"");Du(e,D)||(D="xl/_rels/workbook."+_+".rels");var A=Hp(ku(e,D,!0),D.replace(/_rels.*/,"s5s"));(s.metadata||[]).length>=1&&(t.xlmeta=Rv(Eu(e,My(s.metadata[0])),s.metadata[0],t)),(s.people||[]).length>=1&&(t.people=function(e,t){var n=[],i=!1;return e.replace(Ou,(function(e){var r=Lu(e);switch(Wu(r[0])){case"": +/* 2.6.203 person CT_Person TODO: providers */case"": +/* 18.2.10 extLst CT_ExtensionList ? */case"":case"":case"":break; +/* 18.2.7 ext CT_Extension + */case"":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+r[0]+" in threaded comments")}return e})),n}(Eu(e,My(s.people[0])),t)),A&&(A=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(n=e["!id"][t.id].Type,jp.WS.indexOf(n)>-1?"sheet":n==jp.CS?"chart":n==jp.DS?"dialog":n==jp.MS?"macro":n&&n.length?n:"sheet")];var n}))}catch(U){return null}return e&&0!==e.length?e:null}(A,h.Sheets));var E=Eu(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=d.Worksheets;++v){var k="sheet";if(A&&A[v]?(m="xl/"+A[v][1].replace(/[\/]?xl\//,""),Du(e,m)||(m=A[v][1]),Du(e,m)||(m=D.replace(/_rels\/.*$/,"")+A[v][1]),k=A[v][2]):m=(m="xl/worksheets/sheet"+(v+1-E)+"."+_).replace(/sheet0\./,"sheet."),b=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(d.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var S=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==v&&(S=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==d.SheetNames[v].toLowerCase()&&(S=1);if(!S)continue e}}Fy(e,m,b,d.SheetNames[v],v,y,i,k,t,h,c,l)}return p={Directory:s,Workbook:h,Props:d,Custprops:f,Deps:g,Sheets:i,SheetNames:d.SheetNames,Strings:Xb,Styles:l,Themes:c,SSF:mu(bd)},t&&t.bookFiles&&(e.files?(p.keys=a,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(s.vba.length>0?p.vbaraw=Eu(e,My(s.vba[0]),!0):s.defaults&&"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(p.vbaraw=Eu(e,"xl/vbaProject.bin",!0))),p}function Iy(e,t){var n,i,r=t||{},a="Workbook",s=tu.find(e,a);try{if(a="/!DataSpaces/Version",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(n=s.content,(i={}).id=n.read_shift(0,"lpp4"),i.R=dm(n,4),i.U=dm(n,4),i.W=dm(n,4),a="/!DataSpaces/DataSpaceMap",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(um(e));return t}(s.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var c=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(s.content);if(1!=c.length||"StrongEncryptionTransform"!=c[0])throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);fm(s.content)}catch(h){}if(a="/EncryptionInfo",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=function(e){var t=dm(e);switch(t.Minor){case 2:return[t.Minor,mm(e)];case 3:return[t.Minor,bm()];case 4:return[t.Minor,vm(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(s.content);if(a="/EncryptedPackage",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(4==l[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(l[1],s.content,r.password||"",r);if(2==l[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(l[1],s.content,r.password||"",r);throw new Error("File is password-protected")}function Oy(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=Zh(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function Ny(e,t){var n=0;e:for(;n=2&&0===i[3])return em.to_workbook(r,n);if(0===i[2]&&(8===i[3]||9===i[3]))return em.to_workbook(r,n)}break;case 3:case 131:case 139:case 140:return Yg.to_workbook(r,n);case 123:if(92===i[1]&&114===i[2]&&116===i[3])return Tm.to_workbook(r,n);break;case 10:case 13:case 32:return function(e,t){var n="",i=Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]&&(n=Ju(n)),t.type="binary",Ny(n,t)}(r,n);case 137:if(80===i[1]&&78===i[2]&&71===i[3])throw new Error("PNG Image File is not a spreadsheet")}return qg.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?Yg.to_workbook(r,n):Py(e,r,n,a)}function Wy(e,t,n,i,r,a,s,o){var c=np(n),l=o.defval,h=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),d=!0,u=1===r?[]:{};if(1!==r)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:n,enumerable:!1})}catch(m){u.__rowNum__=n}else u.__rowNum__=n;if(!s||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=s?e[n][f]:e[i[f]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[f]){if(null==g)if("e"==p.t&&null===g)u[a[f]]=null;else if(void 0!==l)u[a[f]]=l;else{if(!h||null!==g)continue;u[a[f]]=null}else u[a[f]]=h&&("n"!==p.t||"n"===p.t&&!1!==o.rawNumbers)?g:dp(p,g,o);null!=g&&(d=!1)}}else{if(void 0===l)continue;null!=a[f]&&(u[a[f]]=l)}}return{row:u,isempty:d}}function By(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},i=0,r=1,a=[],s=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},h=null!=l.range?l.range:e["!ref"];switch(1===l.header?i=1:"A"===l.header?i=2:Array.isArray(l.header)?i=3:null==l.header&&(i=0),typeof h){case"string":c=lp(h);break;case"number":(c=lp(e["!ref"])).s.r=h;break;default:c=h}i>0&&(r=0);var d=np(c.s.r),u=[],f=[],p=0,g=0,m=Array.isArray(e),b=c.s.r,v=0,y={};m&&!e[b]&&(e[b]=[]);var w=l.skipHidden&&e["!cols"]||[],x=l.skipHidden&&e["!rows"]||[];for(v=c.s.c;v<=c.e.c;++v)if(!(w[v]||{}).hidden)switch(u[v]=rp(v),n=m?e[b][v]:e[u[v]+d],i){case 1:a[v]=v-c.s.c;break;case 2:a[v]=u[v];break;case 3:a[v]=l.header[v-c.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),o=s=dp(n,null,l),g=y[s]||0){do{o=s+"_"+g++}while(y[o]);y[s]=g,y[o]=1}else y[s]=1;a[v]=o}for(b=c.s.r+r;b<=c.e.r;++b)if(!(x[b]||{}).hidden){var _=Wy(e,c,b,u,i,a,m,l);(!1===_.isempty||(1===i?!1!==l.blankrows:l.blankrows))&&(f[p++]=_.row)}return f.length=p,f}var jy=/"/g;function zy(e,t,n,i,r,a,s,o){for(var c=!0,l=[],h="",d=np(n),u=t.s.c;u<=t.e.c;++u)if(i[u]){var f=o.dense?(e[n]||[])[u]:e[i[u]+d];if(null==f)h="";else if(null!=f.v){c=!1,h=""+(o.rawNumbers&&"n"==f.t?f.v:dp(f,null,o));for(var p=0,g=0;p!==h.length;++p)if((g=h.charCodeAt(p))===r||g===a||34===g||o.forceQuotes){h='"'+h.replace(jy,'""')+'"';break}"ID"==h&&(h='"ID"')}else null==f.f||f.F?h="":(c=!1,(h="="+f.f).indexOf(",")>=0&&(h='"'+h.replace(jy,'""')+'"'));l.push(h)}return!1===o.blankrows&&c?null:l.join(s)}function Hy(e,t){var n=[],i=null==t?{}:t;if(null==e||null==e["!ref"])return"";var r=lp(e["!ref"]),a=void 0!==i.FS?i.FS:",",s=a.charCodeAt(0),o=void 0!==i.RS?i.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==a?"\\|":a)+"+$"),h="",d=[];i.dense=Array.isArray(e);for(var u=i.skipHidden&&e["!cols"]||[],f=i.skipHidden&&e["!rows"]||[],p=r.s.c;p<=r.e.c;++p)(u[p]||{}).hidden||(d[p]=rp(p));for(var g=0,m=r.s.r;m<=r.e.r;++m)(f[m]||{}).hidden||null!=(h=zy(e,r,m,d,s,c,a,i))&&(i.strip&&(h=h.replace(l,"")),(h||!1!==i.blankrows)&&n.push((g++?o:"")+h));return delete i.dense,n.join("")}function Vy(e,t,n){var i,r=n||{},a=+!r.skipHeader,s=e||{},o=0,c=0;if(s&&null!=r.origin)if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?ap(r.origin):r.origin;o=l.r,c=l.c}var h={s:{c:0,r:0},e:{c:c,r:o+t.length-1+a}};if(s["!ref"]){var d=lp(s["!ref"]);h.e.c=Math.max(h.e.c,d.e.c),h.e.r=Math.max(h.e.r,d.e.r),-1==o&&(o=d.e.r+1,h.e.r=o+t.length-1+a)}else-1==o&&(o=0,h.e.r=t.length-1+a);var u=r.header||[],f=0;t.forEach((function(e,t){nu(e).forEach((function(n){-1==(f=u.indexOf(n))&&(u[f=u.length]=n);var l=e[n],h="z",d="",p=sp({c:c+f,r:o+t+a});i=Gy(s,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?h="n":"boolean"==typeof l?h="b":"string"==typeof l?h="s":l instanceof Date?(h="d",r.cellDates||(h="n",l=au(l)),d=r.dateNF||bd[14]):null===l&&r.nullError&&(h="e",l=0),i?(i.t=h,i.v=l,delete i.w,delete i.R,d&&(i.z=d)):s[p]=i={t:h,v:l},d&&(i.z=d)):s[p]=l}))})),h.e.c=Math.max(h.e.c,c+u.length-1);var p=np(o);if(a)for(f=0;f=65535)throw new Error("Too many worksheets");if(i&&e.SheetNames.indexOf(n)>=0){var a=n.match(/(^.*?)(\d+)$/);r=a&&+a[2]||0;var s=a&&a[1]||n;for(++r;r<=65535&&-1!=e.SheetNames.indexOf(n=s+r);++r);}if(function(e){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");_v.forEach((function(t){if(-1!=e.indexOf(t))throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}))}(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function qy(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}var Yy={encode_col:rp,encode_row:np,encode_cell:sp,encode_range:cp,decode_col:ip,decode_row:tp,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:ap,decode_range:op,format_cell:dp,sheet_add_aoa:fp,sheet_add_json:Vy,sheet_add_dom:sy,aoa_to_sheet:pp,json_to_sheet:function(e,t){return Vy(null,e,t)},table_to_sheet:oy,table_to_book:function(e,t){return up(oy(e,t),t)},sheet_to_csv:Hy,sheet_to_txt:function(e,t){return t||(t={}),t.FS="\t",t.RS="\n",Hy(e,t)},sheet_to_json:By,sheet_to_html:function(e,t){var n=t||{},i=null!=n.header?n.header:'SheetJS Table Export',r=null!=n.footer?n.footer:"",a=[i],s=op(e["!ref"]);n.dense=Array.isArray(e),a.push(function(e,t,n){return[].join("")+""}(0,0,n));for(var o=s.s.r;o<=s.e.r;++o)a.push(ay(e,s,o,n));return a.push("
"+r),a.join("")},sheet_to_formulae:function(e){var t,n="",i="";if(null==e||null==e["!ref"])return[];var r,a=lp(e["!ref"]),s="",o=[],c=[],l=Array.isArray(e);for(r=a.s.c;r<=a.e.c;++r)o[r]=rp(r);for(var h=a.s.r;h<=a.e.r;++h)for(s=np(h),r=a.s.c;r<=a.e.c;++r)if(n=o[r]+s,i="",void 0!==(t=l?(e[h]||[])[r]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;i=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)i=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)i=""+t.v;else if("b"==t.t)i=t.v?"TRUE":"FALSE";else if(void 0!==t.w)i="'"+t.w;else{if(void 0===t.v)continue;i="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=n+"="+i}return c},sheet_to_row_object_array:By,sheet_get_cell:Gy,book_new:Xy,book_append_sheet:$y,book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var i=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[i]||(e.Workbook.Sheets[i]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[i].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:qy,cell_set_internal_link:function(e,t,n){return qy(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,i){for(var r="string"!=typeof t?t:lp(t),a="string"==typeof t?t:cp(t),s=r.s.r;s<=r.e.r;++s)for(var o=r.s.c;o<=r.e.c;++o){var c=Gy(e,s,o);c.t="n",c.F=a,delete c.v,s==r.s.r&&o==r.s.c&&(c.f=n,i&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},Ky={d:(e,t)=>{for(var n in t)Ky.o(t,n)&&!Ky.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},Zy=globalThis.pdfjsLib={};Ky.d(Zy,{AbortException:()=> +/* reexport */cx,AnnotationEditorLayer:()=> +/* reexport */yA,AnnotationEditorParamsType:()=> +/* reexport */uw,AnnotationEditorType:()=> +/* reexport */dw,AnnotationEditorUIManager:()=> +/* reexport */Jx,AnnotationLayer:()=> +/* reexport */XD,AnnotationMode:()=> +/* reexport */hw,ColorPicker:()=> +/* reexport */aA,DOMSVGFactory:()=> +/* reexport */pD,DrawLayer:()=> +/* reexport */xA,FeatureTest:()=> +/* reexport */ux,GlobalWorkerOptions:()=> +/* reexport */hT,ImageKind:()=> +/* reexport */ww,InvalidPDFException:()=> +/* reexport */rx,MissingPDFException:()=> +/* reexport */ax,OPS:()=> +/* reexport */Gw,OutputScale:()=> +/* reexport */Wx,PDFDataRangeTransport:()=> +/* reexport */KT,PDFDateString:()=> +/* reexport */Rx,PDFWorker:()=> +/* reexport */tD,PasswordResponses:()=> +/* reexport */Xw,PermissionFlag:()=> +/* reexport */fw,PixelsPerInch:()=> +/* reexport */xx,RenderingCancelledException:()=> +/* reexport */Dx,TextLayer:()=> +/* reexport */WT,TouchManager:()=> +/* reexport */n_,UnexpectedResponseException:()=> +/* reexport */sx,Util:()=> +/* reexport */px,VerbosityLevel:()=> +/* reexport */Vw,XfaLayer:()=> +/* reexport */gD,build:()=> +/* reexport */lD,createValidAbsoluteUrl:()=> +/* reexport */Qw,fetchData:()=> +/* reexport */_x,getDocument:()=> +/* reexport */XT,getFilenameFromUrl:()=> +/* reexport */kx,getPdfFilenameFromUrl:()=> +/* reexport */Sx,getXfaPageViewport:()=> +/* reexport */Ix,isDataScheme:()=> +/* reexport */Ax,isPdfFile:()=> +/* reexport */Ex,noContextMenu:()=> +/* reexport */Fx,normalizeUnicode:()=> +/* reexport */bx,setLayerDimensions:()=> +/* reexport */Lx,shadow:()=> +/* reexport */ex,stopEvent:()=> +/* reexport */Mx,version:()=> +/* reexport */cD});const Jy=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),Qy=[1,0,0,1,0,0],ew=[.001,0,0,.001,0,0],tw=1.35,nw=1,iw=2,rw=4,aw=16,sw=32,ow=64,cw=128,lw=256,hw={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},dw={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},uw={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},fw={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},pw=0,gw=1,mw=2,bw=3,vw=3,yw=4,ww={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},xw=1,_w=2,Tw=3,Dw=4,Aw=5,Ew=6,kw=7,Sw=8,Cw=9,Uw=10,Fw=11,Mw=12,Rw=13,Iw=14,Ow=15,Nw=16,Pw=17,Lw=20,Ww=1,Bw=2,jw=3,zw=4,Hw=5,Vw={ERRORS:0,WARNINGS:1,INFOS:5},Gw={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},Xw={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let $w=Vw.WARNINGS;function qw(){return $w}function Yw(e){Vw.INFOS}function Kw(e){Vw.WARNINGS}function Zw(e){throw new Error(e)}function Jw(e,t){e||Zw(t)}function Qw(e,t=null,n=null){if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);(null==t?void 0:t.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=decodeURIComponent(escape(e))}catch{}}const i=t?new URL(e,t):new URL(e);if(function(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch{}return null}function ex(e,t,n,i=!1){return Object.defineProperty(e,t,{value:n,enumerable:!i,configurable:!0,writable:!1}),n}const tx=function(){function e(e,t){this.message=e,this.name=t}return e.prototype=new Error,e.constructor=e,e}();class nx extends tx{constructor(e,t){super(e,"PasswordException"),this.code=t}}class ix extends tx{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}}class rx extends tx{constructor(e){super(e,"InvalidPDFException")}}class ax extends tx{constructor(e){super(e,"MissingPDFException")}}class sx extends tx{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}}class ox extends tx{constructor(e){super(e,"FormatError")}}class cx extends tx{constructor(e){super(e,"AbortException")}}function lx(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||Zw("Invalid argument for bytesToString");const t=e.length,n=8192;if(te.toString(16).padStart(2,"0")));class px{static makeHexColor(e,t,n){return`#${fx[e]}${fx[t]}${fx[n]}`}static scaleMinMax(e,t){let n;e[0]?(e[0]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[3],t[3]*=e[3]):(n=t[0],t[0]=t[1],t[1]=n,n=t[2],t[2]=t[3],t[3]=n,e[1]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=this.applyTransform(e,t),i=this.applyTransform(e.slice(2,4),t),r=this.applyTransform([e[0],e[3]],t),a=this.applyTransform([e[2],e[1]],t);return[Math.min(n[0],i[0],r[0],a[0]),Math.min(n[1],i[1],r[1],a[1]),Math.max(n[0],i[0],r[0],a[0]),Math.max(n[1],i[1],r[1],a[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],i=e[0]*t[1]+e[1]*t[3],r=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],s=(n+a)/2,o=Math.sqrt((n+a)**2-4*(n*a-r*i))/2,c=s+o||1,l=s-o||1;return[Math.sqrt(c),Math.sqrt(l)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){const n=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(n>i)return null;const r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[n,r,i,a]}static bezierBoundingBox(t,i,r,a,s,o,c,l,h){return h?(h[0]=Math.min(h[0],t,c),h[1]=Math.min(h[1],i,l),h[2]=Math.max(h[2],t,c),h[3]=Math.max(h[3],i,l)):h=[Math.min(t,c),Math.min(i,l),Math.max(t,c),Math.max(i,l)],Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(r-s)-t+c),6*(t-2*r+s),3*(r-t),h),Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(a-o)-i+l),6*(i-2*a+o),3*(a-i),h),h}}e=new WeakSet,t=function(e,t,n,i,r,a,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,d=c*c,u=d*c,f=h*(h*(h*e+3*c*t)+3*d*n)+u*i,p=h*(h*(h*r+3*c*a)+3*d*s)+u*o;l[0]=Math.min(l[0],f),l[1]=Math.min(l[1],p),l[2]=Math.max(l[2],f),l[3]=Math.max(l[3],p)},n=function(n,i,r,a,s,o,c,l,h,d,u,f){if(Math.abs(h)<1e-12)return void(Math.abs(d)>=1e-12&&Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,-u/d,f));const p=d**2-4*u*h;if(p<0)return;const g=Math.sqrt(p),m=2*h;Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d+g)/m,f),Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d-g)/m,f)},Cl(px,e);let gx=null,mx=null;function bx(e){return gx||(gx=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,mx=new Map([["ſt","ſt"]])),e.replaceAll(gx,((e,t,n)=>t?t.normalize("NFKC"):mx.get(n)))}const vx="pdfjs_internal_id_";"function"!=typeof Promise.try&&(Promise.try=function(e,...t){return new Promise((n=>{n(e(...t))}))});const yx="http://www.w3.org/2000/svg",wx=class{};El(wx,"CSS",96),El(wx,"PDF",72),El(wx,"PDF_TO_CSS_UNITS",wx.CSS/wx.PDF);let xx=wx;async function _x(e,t="text"){if(Ux(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise(((n,i)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType=t,r.onreadystatechange=()=>{if(r.readyState===XMLHttpRequest.DONE)if(200!==r.status&&0!==r.status)i(new Error(r.statusText));else{switch(t){case"arraybuffer":case"blob":case"json":return void n(r.response)}n(r.responseText)}},r.send(null)}))}class Tx{constructor({viewBox:e,userUnit:t,scale:n,rotation:i,offsetX:r=0,offsetY:a=0,dontFlip:s=!1}){this.viewBox=e,this.userUnit=t,this.scale=n,this.rotation=i,this.offsetX=r,this.offsetY=a,n*=t;const o=(e[2]+e[0])/2,c=(e[3]+e[1])/2;let l,h,d,u,f,p,g,m;switch((i%=360)<0&&(i+=360),i){case 180:l=-1,h=0,d=0,u=1;break;case 90:l=0,h=1,d=1,u=0;break;case 270:l=0,h=-1,d=-1,u=0;break;case 0:l=1,h=0,d=0,u=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}s&&(d=-d,u=-u),0===l?(f=Math.abs(c-e[1])*n+r,p=Math.abs(o-e[0])*n+a,g=(e[3]-e[1])*n,m=(e[2]-e[0])*n):(f=Math.abs(o-e[0])*n+r,p=Math.abs(c-e[1])*n+a,g=(e[2]-e[0])*n,m=(e[3]-e[1])*n),this.transform=[l*n,h*n,d*n,u*n,f-l*n*o-d*n*c,p-h*n*o-u*n*c],this.width=g,this.height=m}get rawDims(){const{userUnit:e,viewBox:t}=this,n=t.map((t=>t*e));return ex(this,"rawDims",{pageWidth:n[2]-n[0],pageHeight:n[3]-n[1],pageX:n[0],pageY:n[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:i=this.offsetY,dontFlip:r=!1}={}){return new Tx({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}convertToViewportPoint(e,t){return px.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=px.applyTransform([e[0],e[1]],this.transform),n=px.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return px.applyInverseTransform([e,t],this.transform)}}class Dx extends tx{constructor(e,t=0){super(e,"RenderingCancelledException"),this.extraDelay=t}}function Ax(e){const t=e.length;let n=0;for(;n=1&&r<=12?r-1:0;let a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;let s=parseInt(t[4],10);s=s>=0&&s<=23?s:0;let o=parseInt(t[5],10);o=o>=0&&o<=59?o:0;let c=parseInt(t[6],10);c=c>=0&&c<=59?c:0;const l=t[7]||"Z";let h=parseInt(t[8],10);h=h>=0&&h<=23?h:0;let d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===l?(s+=h,o+=d):"+"===l&&(s-=h,o-=d),new Date(Date.UTC(n,r,a,s,o,c))}}function Ix(e,{scale:t=1,rotation:n=0}){const{width:i,height:r}=e.attributes.style,a=[0,0,parseInt(i),parseInt(r)];return new Tx({viewBox:a,userUnit:1,scale:t,rotation:n})}function Ox(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map((e=>parseInt(e))):e.startsWith("rgba(")?e.slice(5,-1).split(",").map((e=>parseInt(e))).slice(0,3):(Kw(),[0,0,0])}function Nx(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform();return[t,n,i,r,a,s]}function Px(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform().invertSelf();return[t,n,i,r,a,s]}function Lx(e,t,n=!1,i=!0){if(t instanceof Tx){const{pageWidth:i,pageHeight:r}=t.rawDims,{style:a}=e,s=ux.isCSSRoundSupported,o=`var(--scale-factor) * ${i}px`,c=`var(--scale-factor) * ${r}px`,l=s?`round(down, ${o}, var(--scale-round-x, 1px))`:`calc(${o})`,h=s?`round(down, ${c}, var(--scale-round-y, 1px))`:`calc(${c})`;n&&t.rotation%180!=0?(a.width=h,a.height=l):(a.width=l,a.height=h)}i&&e.setAttribute("data-main-rotation",t.rotation)}i=new WeakMap,Cl(Rx,i);class Wx{constructor(){const e=window.devicePixelRatio||1;this.sx=e,this.sy=e}get scaled(){return 1!==this.sx||1!==this.sy}get symmetric(){return this.sx===this.sy}}const Bx=class e{constructor(t){Cl(this,u),Cl(this,r,null),Cl(this,a,null),Cl(this,s),Cl(this,o,null),Cl(this,c,null),Ul(this,s,t),Sl(e,l)||Ul(e,l,Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}render(){const t=Ul(this,r,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const n=Sl(this,s)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:n}),t.addEventListener("pointerdown",Fl(e,h,d),{signal:n});const i=Ul(this,o,document.createElement("div"));i.className="buttons",t.append(i);const a=Sl(this,s).toolbarPosition;if(a){const{style:e}=t,n="ltr"===Sl(this,s)._uiManager.direction?1-a[0]:a[0];e.insetInlineEnd=100*n+"%",e.top=`calc(${100*a[1]}% + var(--editor-toolbar-vert-offset))`}return Fl(this,u,m).call(this),t}get div(){return Sl(this,r)}hide(){var e;Sl(this,r).classList.add("hidden"),null==(e=Sl(this,a))||e.hideDropdown()}show(){var e;Sl(this,r).classList.remove("hidden"),null==(e=Sl(this,c))||e.shown()}async addAltText(e){const t=await e.render();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b)),Ul(this,c,e)}addColorPicker(e){Ul(this,a,e);const t=e.renderButton();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b))}remove(){var e;Sl(this,r).remove(),null==(e=Sl(this,a))||e.destroy(),Ul(this,a,null)}};r=new WeakMap,a=new WeakMap,s=new WeakMap,o=new WeakMap,c=new WeakMap,l=new WeakMap,h=new WeakSet,d=function(e){e.stopPropagation()},u=new WeakSet,f=function(e){Sl(this,s)._focusEventsAllowed=!1,Mx(e)},p=function(e){Sl(this,s)._focusEventsAllowed=!0,Mx(e)},g=function(e){const t=Sl(this,s)._uiManager._signal;e.addEventListener("focusin",Fl(this,u,f).bind(this),{capture:!0,signal:t}),e.addEventListener("focusout",Fl(this,u,p).bind(this),{capture:!0,signal:t}),e.addEventListener("contextmenu",Fx,{signal:t})},m=function(){const{editorType:e,_uiManager:t}=Sl(this,s),n=document.createElement("button");n.className="delete",n.tabIndex=0,n.setAttribute("data-l10n-id",Sl(Bx,l)[e]),Fl(this,u,g).call(this,n),n.addEventListener("click",(e=>{t.delete()}),{signal:t._signal}),Sl(this,o).append(n)},b=function(){const e=document.createElement("div");return e.className="divider",e},Cl(Bx,h),Cl(Bx,l,null);let jx=Bx;class zx{constructor(e){Cl(this,x),Cl(this,v,null),Cl(this,y,null),Cl(this,w),Ul(this,w,e)}show(e,t,n){const[i,r]=Fl(this,x,T).call(this,t,n),{style:a}=Sl(this,y)||Ul(this,y,Fl(this,x,_).call(this));e.append(Sl(this,y)),a.insetInlineEnd=100*i+"%",a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){Sl(this,y).remove()}}function Hx(e,t,n){for(const i of n)t.addEventListener(i,e[i].bind(e))}v=new WeakMap,y=new WeakMap,w=new WeakMap,x=new WeakSet,_=function(){const e=Ul(this,y,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar"),e.addEventListener("contextmenu",Fx,{signal:Sl(this,w)._signal});const t=Ul(this,v,document.createElement("div"));return t.className="buttons",e.append(t),Fl(this,x,D).call(this),e},T=function(e,t){let n=0,i=0;for(const r of e){const e=r.y+r.height;if(en?(i=a,n=e):t?a>i&&(i=a):a{Sl(this,w).highlightSelection("floating_button")}),{signal:n}),Sl(this,v).append(e)};class Vx{constructor(){Cl(this,A,0)}get id(){return"pdfjs_internal_editor_"+Ml(this,A)._++}}A=new WeakMap;const Gx=class{constructor(){Cl(this,C),Cl(this,E,function(){if("function"==typeof crypto.randomUUID)return crypto.randomUUID();const e=new Uint8Array(32);return crypto.getRandomValues(e),lx(e)}()),Cl(this,k,0),Cl(this,S,null)}static get _isSVGFittingCanvas(){const e=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),t=new Image;t.src='data:image/svg+xml;charset=UTF-8,';return ex(this,"_isSVGFittingCanvas",t.decode().then((()=>(e.drawImage(t,0,0,1,1,0,0,1,3),0===new Uint32Array(e.getImageData(0,0,1,1).data.buffer)[0]))))}async getFromFile(e){const{lastModified:t,name:n,size:i,type:r}=e;return Fl(this,C,U).call(this,`${t}_${n}_${i}_${r}`,e)}async getFromUrl(e){return Fl(this,C,U).call(this,e,e)}async getFromBlob(e,t){const n=await t;return Fl(this,C,U).call(this,e,n)}async getFromId(e){Sl(this,S)||Ul(this,S,new Map);const t=Sl(this,S).get(e);if(!t)return null;if(t.bitmap)return t.refCounter+=1,t;if(t.file)return this.getFromFile(t.file);if(t.blobPromise){const{blobPromise:e}=t;return delete t.blobPromise,this.getFromBlob(t.id,e)}return this.getFromUrl(t.url)}getFromCanvas(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;const i=new OffscreenCanvas(t.width,t.height);return i.getContext("2d").drawImage(t,0,0),n={bitmap:i.transferToImageBitmap(),id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:1,isSvg:!1},Sl(this,S).set(e,n),Sl(this,S).set(n.id,n),n}getSvgUrl(e){const t=Sl(this,S).get(e);return(null==t?void 0:t.isSvg)?t.svgUrl:null}deleteId(e){var t;Sl(this,S)||Ul(this,S,new Map);const n=Sl(this,S).get(e);if(!n)return;if(n.refCounter-=1,0!==n.refCounter)return;const{bitmap:i}=n;if(!n.url&&!n.file){const e=new OffscreenCanvas(i.width,i.height);e.getContext("bitmaprenderer").transferFromImageBitmap(i),n.blobPromise=e.convertToBlob()}null==(t=i.close)||t.call(i),n.bitmap=null}isValidId(e){return e.startsWith(`image_${Sl(this,E)}_`)}};E=new WeakMap,k=new WeakMap,S=new WeakMap,C=new WeakSet,U=async function(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null===n)return null;if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;try{let e;if(n||(n={bitmap:null,id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:0,isSvg:!1}),"string"==typeof t?(n.url=t,e=await _x(t,"blob")):t instanceof File?e=n.file=t:t instanceof Blob&&(e=t),"image/svg+xml"===e.type){const t=Gx._isSVGFittingCanvas,i=new FileReader,r=new Image,a=new Promise(((e,a)=>{r.onload=()=>{n.bitmap=r,n.isSvg=!0,e()},i.onload=async()=>{const e=n.svgUrl=i.result;r.src=await t?`${e}#svgView(preserveAspectRatio(none))`:e},r.onerror=i.onerror=a}));i.readAsDataURL(e),await a}else n.bitmap=await createImageBitmap(e);n.refCounter=1}catch(i){Kw(),n=null}return Sl(this,S).set(e,n),n&&Sl(this,S).set(n.id,n),n};let Xx=Gx;class $x{constructor(e=128){Cl(this,F,[]),Cl(this,M,!1),Cl(this,R),Cl(this,I,-1),Ul(this,R,e)}add({cmd:e,undo:t,post:n,mustExec:i,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:s=!1}){if(i&&e(),Sl(this,M))return;const o={cmd:e,undo:t,post:n,type:r};if(-1===Sl(this,I))return Sl(this,F).length>0&&(Sl(this,F).length=0),Ul(this,I,0),void Sl(this,F).push(o);if(a&&Sl(this,F)[Sl(this,I)].type===r)return s&&(o.undo=Sl(this,F)[Sl(this,I)].undo),void(Sl(this,F)[Sl(this,I)]=o);const c=Sl(this,I)+1;c===Sl(this,R)?Sl(this,F).splice(0,1):(Ul(this,I,c),c=0;t--)if(Sl(this,F)[t].type!==e)return Sl(this,F).splice(t+1,Sl(this,I)-t),void Ul(this,I,t);Sl(this,F).length=0,Ul(this,I,-1)}}destroy(){Ul(this,F,null)}}F=new WeakMap,M=new WeakMap,R=new WeakMap,I=new WeakMap;class qx{constructor(e){Cl(this,O),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:t}=ux.platform;for(const[n,i,r={}]of e)for(const e of n){const n=e.startsWith("mac+");t&&n?(this.callbacks.set(e.slice(4),{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1))):t||n||(this.callbacks.set(e,{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1)))}}exec(e,t){if(!this.allKeys.has(t.key))return;const n=this.callbacks.get(Fl(this,O,N).call(this,t));if(!n)return;const{callback:i,options:{bubbles:r=!1,args:a=[],checker:s=null}}=n;s&&!s(e,t)||(i.bind(e,...a,t)(),r||Mx(t))}}O=new WeakSet,N=function(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);const t=this.buffer.join("+");return this.buffer.length=0,t};const Yx=class e{get _colors(){const e=new Map([["CanvasText",null],["Canvas",null]]);return function(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const i=window.getComputedStyle(t).color;e.set(n,Ox(i))}t.remove()}(e),ex(this,"_colors",e)}convert(t){const n=Ox(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(const[i,r]of this._colors)if(r.every(((e,t)=>e===n[t])))return e._colorsMapping.get(i);return n}getHexCode(e){const t=this._colors.get(e);return t?px.makeHexColor(...t):e}};El(Yx,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let Kx=Yx;const Zx=class e{constructor(e,t,n,i,r,a,s,o,c,l,h,d,u){Cl(this,Ee),Cl(this,P,new AbortController),Cl(this,L,null),Cl(this,W,new Map),Cl(this,B,new Map),Cl(this,j,null),Cl(this,z,null),Cl(this,H,null),Cl(this,V,new $x),Cl(this,G,null),Cl(this,X,null),Cl(this,q,0),Cl(this,Y,new Set),Cl(this,K,null),Cl(this,Z,null),Cl(this,J,new Set),El(this,"_editorUndoBar",null),Cl(this,Q,!1),Cl(this,ee,!1),Cl(this,te,!1),Cl(this,ne,null),Cl(this,ie,null),Cl(this,re,null),Cl(this,ae,null),Cl(this,se,!1),Cl(this,oe,null),Cl(this,ce,new Vx),Cl(this,le,!1),Cl(this,he,!1),Cl(this,de,null),Cl(this,ue,null),Cl(this,fe,null),Cl(this,pe,null),Cl(this,ge,dw.NONE),Cl(this,me,new Set),Cl(this,be,null),Cl(this,ve,null),Cl(this,ye,null),Cl(this,we,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),Cl(this,xe,[0,0]),Cl(this,_e,null),Cl(this,Te,null),Cl(this,De,null),Cl(this,Ae,null);const f=this._signal=Sl(this,P).signal;Ul(this,Te,e),Ul(this,De,t),Ul(this,j,n),this._eventBus=i,i._on("editingaction",this.onEditingAction.bind(this),{signal:f}),i._on("pagechanging",this.onPageChanging.bind(this),{signal:f}),i._on("scalechanging",this.onScaleChanging.bind(this),{signal:f}),i._on("rotationchanging",this.onRotationChanging.bind(this),{signal:f}),i._on("setpreference",this.onSetPreference.bind(this),{signal:f}),i._on("switchannotationeditorparams",(e=>this.updateParams(e.type,e.value)),{signal:f}),Fl(this,Ee,Me).call(this),Fl(this,Ee,We).call(this),Fl(this,Ee,Oe).call(this),Ul(this,z,r.annotationStorage),Ul(this,ne,r.filterFactory),Ul(this,ve,a),Ul(this,ae,s||null),Ul(this,Q,o),Ul(this,ee,c),Ul(this,te,l),Ul(this,pe,h||null),this.viewParameters={realScale:xx.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=d||null,this._supportsPinchToZoom=!1!==u}static get _keyboardManager(){const t=e.prototype,n=e=>Sl(e,Te).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&e.hasSomethingToControl(),i=(e,{target:t})=>{if(t instanceof HTMLInputElement){const{type:e}=t;return"text"!==e&&"number"!==e}return!0},r=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(t)&&!e.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:n}]]))}destroy(){var e,t,n,i,r;null==(e=Sl(this,Ae))||e.resolve(),Ul(this,Ae,null),null==(t=Sl(this,P))||t.abort(),Ul(this,P,null),this._signal=null;for(const a of Sl(this,B).values())a.destroy();Sl(this,B).clear(),Sl(this,W).clear(),Sl(this,J).clear(),Ul(this,L,null),Sl(this,me).clear(),Sl(this,V).destroy(),null==(n=Sl(this,j))||n.destroy(),null==(i=Sl(this,oe))||i.hide(),Ul(this,oe,null),Sl(this,ie)&&(clearTimeout(Sl(this,ie)),Ul(this,ie,null)),Sl(this,_e)&&(clearTimeout(Sl(this,_e)),Ul(this,_e,null)),null==(r=this._editorUndoBar)||r.destroy()}combinedSignal(e){return AbortSignal.any([this._signal,e.signal])}get mlManager(){return Sl(this,pe)}get useNewAltTextFlow(){return Sl(this,ee)}get useNewAltTextWhenAddingImage(){return Sl(this,te)}get hcmFilter(){return ex(this,"hcmFilter",Sl(this,ve)?Sl(this,ne).addHCMFilter(Sl(this,ve).foreground,Sl(this,ve).background):"none")}get direction(){return ex(this,"direction",getComputedStyle(Sl(this,Te)).direction)}get highlightColors(){return ex(this,"highlightColors",Sl(this,ae)?new Map(Sl(this,ae).split(",").map((e=>e.split("=").map((e=>e.trim()))))):null)}get highlightColorNames(){return ex(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,(e=>e.reverse()))):null)}setCurrentDrawingSession(e){e?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),Ul(this,X,e)}setMainHighlightColorPicker(e){Ul(this,fe,e)}editAltText(e,t=!1){var n;null==(n=Sl(this,j))||n.editAltText(this,e,t)}switchToMode(e,t){this._eventBus.on("annotationeditormodechanged",t,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:e})}setPreference(e,t){this._eventBus.dispatch("setpreference",{source:this,name:e,value:t})}onSetPreference({name:e,value:t}){if("enableNewAltTextWhenAddingImage"===e)Ul(this,te,t)}onPageChanging({pageNumber:e}){Ul(this,q,e-1)}focusMainContainer(){Sl(this,Te).focus()}findParent(e,t){for(const n of Sl(this,B).values()){const{x:i,y:r,width:a,height:s}=n.div.getBoundingClientRect();if(e>=i&&e<=i+a&&t>=r&&t<=r+s)return n}return null}disableUserSelect(e=!1){Sl(this,De).classList.toggle("noUserSelect",e)}addShouldRescale(e){Sl(this,J).add(e)}removeShouldRescale(e){Sl(this,J).delete(e)}onScaleChanging({scale:e}){var t;this.commitOrRemove(),this.viewParameters.realScale=e*xx.PDF_TO_CSS_UNITS;for(const n of Sl(this,J))n.onScaleChanging();null==(t=Sl(this,X))||t.onScaleChanging()}onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}highlightSelection(e=""){const t=document.getSelection();if(!t||t.isCollapsed)return;const{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a}=t,s=t.toString(),o=Fl(this,Ee,ke).call(this,t).closest(".textLayer"),c=this.getSelectionBoxes(o);if(!c)return;t.empty();const l=Fl(this,Ee,Se).call(this,o),h=Sl(this,ge)===dw.NONE,d=()=>{null==l||l.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:c,anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a,text:s}),h&&this.showAllEditors("highlight",!0,!0)};h?this.switchToMode(dw.HIGHLIGHT,d):d()}addToAnnotationStorage(e){e.isEmpty()||!Sl(this,z)||Sl(this,z).has(e.id)||Sl(this,z).setValue(e.id,e)}blur(){if(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:e}=document;for(const t of Sl(this,me))if(t.div.contains(e)){Ul(this,ue,[t,e]),t._focusEventsAllowed=!1;break}}focus(){if(!Sl(this,ue))return;const[e,t]=Sl(this,ue);Ul(this,ue,null),t.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:this._signal}),t.focus()}addEditListeners(){Fl(this,Ee,Oe).call(this),Fl(this,Ee,Pe).call(this)}removeEditListeners(){Fl(this,Ee,Ne).call(this),Fl(this,Ee,Le).call(this)}dragOver(e){for(const{type:t}of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t))return e.dataTransfer.dropEffect="copy",void e.preventDefault()}drop(e){for(const t of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t.type))return n.paste(t,this.currentLayer),void e.preventDefault()}copy(e){var t;if(e.preventDefault(),null==(t=Sl(this,L))||t.commitOrRemove(),!this.hasSelection)return;const n=[];for(const i of Sl(this,me)){const e=i.serialize(!0);e&&n.push(e)}0!==n.length&&e.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(e){this.copy(e),this.delete()}async paste(e){e.preventDefault();const{clipboardData:t}=e;for(const a of t.items)for(const e of Sl(this,Z))if(e.isHandlingMimeForPasting(a.type))return void e.paste(a,this.currentLayer);let n=t.getData("application/pdfjs");if(!n)return;try{n=JSON.parse(n)}catch(r){return void Kw(r.message)}if(!Array.isArray(n))return;this.unselectAll();const i=this.currentLayer;try{const e=[];for(const a of n){const t=await i.deserialize(a);if(!t)return;e.push(t)}const t=()=>{for(const t of e)Fl(this,Ee,Ve).call(this,t);Fl(this,Ee,$e).call(this,e)},r=()=>{for(const t of e)t.remove()};this.addCommands({cmd:t,undo:r,mustExec:!0})}catch(r){Kw(r.message)}}keydown(t){this.isShiftKeyDown||"Shift"!==t.key||(this.isShiftKeyDown=!0),Sl(this,ge)===dw.NONE||this.isEditorHandlingKeyboard||e._keyboardManager.exec(this,t)}keyup(e){this.isShiftKeyDown&&"Shift"===e.key&&(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")))}onEditingAction({name:e}){switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}setEditingState(e){e?(Fl(this,Ee,Re).call(this),Fl(this,Ee,Pe).call(this),Fl(this,Ee,Be).call(this,{isEditing:Sl(this,ge)!==dw.NONE,isEmpty:Fl(this,Ee,Xe).call(this),hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),hasSelectedEditor:!1})):(Fl(this,Ee,Ie).call(this),Fl(this,Ee,Le).call(this),Fl(this,Ee,Be).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!Sl(this,Z)){Ul(this,Z,e);for(const e of Sl(this,Z))Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}}getId(){return Sl(this,ce).id}get currentLayer(){return Sl(this,B).get(Sl(this,q))}getLayer(e){return Sl(this,B).get(e)}get currentPageIndex(){return Sl(this,q)}addLayer(e){Sl(this,B).set(e.pageIndex,e),Sl(this,le)?e.enable():e.disable()}removeLayer(e){Sl(this,B).delete(e.pageIndex)}async updateMode(e,t=null,n=!1){var i;if(Sl(this,ge)!==e&&(!Sl(this,Ae)||(await Sl(this,Ae).promise,Sl(this,Ae)))){if(Ul(this,Ae,Promise.withResolvers()),Ul(this,ge,e),e===dw.NONE)return this.setEditingState(!1),Fl(this,Ee,He).call(this),null==(i=this._editorUndoBar)||i.hide(),void Sl(this,Ae).resolve();this.setEditingState(!0),await Fl(this,Ee,ze).call(this),this.unselectAll();for(const t of Sl(this,B).values())t.updateMode(e);if(!t)return n&&this.addNewEditorFromKeyboard(),void Sl(this,Ae).resolve();for(const e of Sl(this,W).values())e.annotationElementId===t?(this.setSelected(e),e.enterInEditMode()):e.unselect();Sl(this,Ae).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(e){e!==Sl(this,ge)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:e})}updateParams(e,t){var n;if(Sl(this,Z)){switch(e){case uw.CREATE:return void this.currentLayer.addNewEditor();case uw.HIGHLIGHT_DEFAULT_COLOR:null==(n=Sl(this,fe))||n.updateColor(t);break;case uw.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(Sl(this,ye)||Ul(this,ye,new Map)).set(e,t),this.showAllEditors("highlight",t)}for(const n of Sl(this,me))n.updateParams(e,t);for(const n of Sl(this,Z))n.updateDefaultParams(e,t)}}showAllEditors(e,t,n=!1){var i;for(const r of Sl(this,W).values())r.editorType===e&&r.show(t);((null==(i=Sl(this,ye))?void 0:i.get(uw.HIGHLIGHT_SHOW_ALL))??!0)!==t&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_SHOW_ALL,t]])}enableWaiting(e=!1){if(Sl(this,he)!==e){Ul(this,he,e);for(const t of Sl(this,B).values())e?t.disableClick():t.enableClick(),t.div.classList.toggle("waiting",e)}}getEditors(e){const t=[];for(const n of Sl(this,W).values())n.pageIndex===e&&t.push(n);return t}getEditor(e){return Sl(this,W).get(e)}addEditor(e){Sl(this,W).set(e.id,e)}removeEditor(e){var t;e.div.contains(document.activeElement)&&(Sl(this,ie)&&clearTimeout(Sl(this,ie)),Ul(this,ie,setTimeout((()=>{this.focusMainContainer(),Ul(this,ie,null)}),0))),Sl(this,W).delete(e.id),this.unselect(e),e.annotationElementId&&Sl(this,Y).has(e.annotationElementId)||null==(t=Sl(this,z))||t.remove(e.id)}addDeletedAnnotationElement(e){Sl(this,Y).add(e.annotationElementId),this.addChangedExistingAnnotation(e),e.deleted=!0}isDeletedAnnotationElement(e){return Sl(this,Y).has(e)}removeDeletedAnnotationElement(e){Sl(this,Y).delete(e.annotationElementId),this.removeChangedExistingAnnotation(e),e.deleted=!1}setActiveEditor(e){Sl(this,L)!==e&&(Ul(this,L,e),e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate))}updateUI(e){Sl(this,Ee,Ge)===e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate)}updateUIForDefaultProperties(e){Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}toggleSelected(e){if(Sl(this,me).has(e))return Sl(this,me).delete(e),e.unselect(),void Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection});Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}setSelected(e){var t;null==(t=Sl(this,X))||t.commitOrRemove();for(const n of Sl(this,me))n!==e&&n.unselect();Sl(this,me).clear(),Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}isSelected(e){return Sl(this,me).has(e)}get firstSelectedEditor(){return Sl(this,me).values().next().value}unselect(e){e.unselect(),Sl(this,me).delete(e),Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==Sl(this,me).size}get isEnterHandled(){return 1===Sl(this,me).size&&this.firstSelectedEditor.isEnterHandled}undo(){var e;Sl(this,V).undo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:Fl(this,Ee,Xe).call(this)}),null==(e=this._editorUndoBar)||e.hide()}redo(){Sl(this,V).redo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),isEmpty:Fl(this,Ee,Xe).call(this)})}addCommands(e){Sl(this,V).add(e),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:Fl(this,Ee,Xe).call(this)})}cleanUndoStack(e){Sl(this,V).cleanType(e)}delete(){var e;this.commitOrRemove();const t=null==(e=this.currentLayer)?void 0:e.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const n=t?[t]:[...Sl(this,me)],i=()=>{for(const e of n)Fl(this,Ee,Ve).call(this,e)};this.addCommands({cmd:()=>{var e;null==(e=this._editorUndoBar)||e.show(i,1===n.length?n[0].editorType:n.length);for(const t of n)t.remove()},undo:i,mustExec:!0})}commitOrRemove(){var e;null==(e=Sl(this,L))||e.commitOrRemove()}hasSomethingToControl(){return Sl(this,L)||this.hasSelection}selectAll(){for(const e of Sl(this,me))e.commit();Fl(this,Ee,$e).call(this,Sl(this,W).values())}unselectAll(){var e;if((!Sl(this,L)||(Sl(this,L).commitOrRemove(),Sl(this,ge)===dw.NONE))&&!(null==(e=Sl(this,X))?void 0:e.commitOrRemove())&&this.hasSelection){for(const e of Sl(this,me))e.unselect();Sl(this,me).clear(),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(e,t,n=!1){if(n||this.commitOrRemove(),!this.hasSelection)return;Sl(this,xe)[0]+=e,Sl(this,xe)[1]+=t;const[i,r]=Sl(this,xe),a=[...Sl(this,me)];Sl(this,_e)&&clearTimeout(Sl(this,_e)),Ul(this,_e,setTimeout((()=>{Ul(this,_e,null),Sl(this,xe)[0]=Sl(this,xe)[1]=0,this.addCommands({cmd:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(i,r)},undo:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(-i,-r)},mustExec:!1})}),1e3));for(const s of a)s.translateInPage(e,t)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),Ul(this,K,new Map);for(const e of Sl(this,me))Sl(this,K).set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!Sl(this,K))return!1;this.disableUserSelect(!1);const e=Sl(this,K);Ul(this,K,null);let t=!1;for(const[{x:i,y:r,pageIndex:a},s]of e)s.newX=i,s.newY=r,s.newPageIndex=a,t||(t=i!==s.savedX||r!==s.savedY||a!==s.savedPageIndex);if(!t)return!1;const n=(e,t,n,i)=>{if(Sl(this,W).has(e.id)){const r=Sl(this,B).get(i);r?e._setParentAndPosition(r,t,n):(e.pageIndex=i,e.x=t,e.y=n)}};return this.addCommands({cmd:()=>{for(const[t,{newX:i,newY:r,newPageIndex:a}]of e)n(t,i,r,a)},undo:()=>{for(const[t,{savedX:i,savedY:r,savedPageIndex:a}]of e)n(t,i,r,a)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(Sl(this,K))for(const n of Sl(this,K).keys())n.drag(e,t)}rebuild(e){if(null===e.parent){const t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}get isEditorHandlingKeyboard(){var e;return(null==(e=this.getActive())?void 0:e.shouldGetKeyboardEvents())||1===Sl(this,me).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(e){return Sl(this,L)===e}getActive(){return Sl(this,L)}getMode(){return Sl(this,ge)}get imageManager(){return ex(this,"imageManager",new Xx)}getSelectionBoxes(e){if(!e)return null;const t=document.getSelection();for(let c=0,l=t.rangeCount;c({x:(t-i)/a,y:1-(e+s-n)/r,width:o/a,height:s/r});break;case"180":s=(e,t,s,o)=>({x:1-(e+s-n)/r,y:1-(t+o-i)/a,width:s/r,height:o/a});break;case"270":s=(e,t,s,o)=>({x:1-(t+o-i)/a,y:(e-n)/r,width:o/a,height:s/r});break;default:s=(e,t,s,o)=>({x:(e-n)/r,y:(t-i)/a,width:s/r,height:o/a})}const o=[];for(let c=0,l=t.rangeCount;c{"pointerup"===n.type&&0!==n.button||(t.abort(),null==e||e.toggleDrawing(!0),"pointerup"===n.type&&Fl(this,Ee,Fe).call(this,"main_toolbar"))};window.addEventListener("pointerup",i,{signal:n}),window.addEventListener("blur",i,{signal:n})}}else Sl(this,be)&&(null==(t=Sl(this,oe))||t.hide(),Ul(this,be,null),Fl(this,Ee,Be).call(this,{hasSelectedText:!1}))},Fe=function(e=""){Sl(this,ge)===dw.HIGHLIGHT?this.highlightSelection(e):Sl(this,Q)&&Fl(this,Ee,Ce).call(this)},Me=function(){document.addEventListener("selectionchange",Fl(this,Ee,Ue).bind(this),{signal:this._signal})},Re=function(){if(Sl(this,re))return;Ul(this,re,new AbortController);const e=this.combinedSignal(Sl(this,re));window.addEventListener("focus",this.focus.bind(this),{signal:e}),window.addEventListener("blur",this.blur.bind(this),{signal:e})},Ie=function(){var e;null==(e=Sl(this,re))||e.abort(),Ul(this,re,null)},Oe=function(){if(Sl(this,de))return;Ul(this,de,new AbortController);const e=this.combinedSignal(Sl(this,de));window.addEventListener("keydown",this.keydown.bind(this),{signal:e}),window.addEventListener("keyup",this.keyup.bind(this),{signal:e})},Ne=function(){var e;null==(e=Sl(this,de))||e.abort(),Ul(this,de,null)},Pe=function(){if(Sl(this,G))return;Ul(this,G,new AbortController);const e=this.combinedSignal(Sl(this,G));document.addEventListener("copy",this.copy.bind(this),{signal:e}),document.addEventListener("cut",this.cut.bind(this),{signal:e}),document.addEventListener("paste",this.paste.bind(this),{signal:e})},Le=function(){var e;null==(e=Sl(this,G))||e.abort(),Ul(this,G,null)},We=function(){const e=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:e}),document.addEventListener("drop",this.drop.bind(this),{signal:e})},Be=function(e){Object.entries(e).some((([e,t])=>Sl(this,we)[e]!==t))&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(Sl(this,we),e)}),Sl(this,ge)===dw.HIGHLIGHT&&!1===e.hasSelectedEditor&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_FREE,!0]]))},je=function(e){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:e})},ze=async function(){if(!Sl(this,le)){Ul(this,le,!0);const e=[];for(const t of Sl(this,B).values())e.push(t.enable());await Promise.all(e);for(const t of Sl(this,W).values())t.enable()}},He=function(){if(this.unselectAll(),Sl(this,le)){Ul(this,le,!1);for(const e of Sl(this,B).values())e.disable();for(const e of Sl(this,W).values())e.disable()}},Ve=function(e){const t=Sl(this,B).get(e.pageIndex);t?t.addOrRebuild(e):(this.addEditor(e),this.addToAnnotationStorage(e))},Ge=function(){let e=null;for(e of Sl(this,me));return e},Xe=function(){if(0===Sl(this,W).size)return!0;if(1===Sl(this,W).size)for(const e of Sl(this,W).values())return e.isEmpty();return!1},$e=function(e){for(const t of Sl(this,me))t.unselect();Sl(this,me).clear();for(const t of e)t.isEmpty()||(Sl(this,me).add(t),t.select());Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})},El(Zx,"TRANSLATE_SMALL",1),El(Zx,"TRANSLATE_BIG",10);let Jx=Zx;const Qx=class e{constructor(t){Cl(this,ot),Cl(this,qe,null),Cl(this,Ye,!1),Cl(this,Ke,null),Cl(this,Ze,null),Cl(this,Je,null),Cl(this,Qe,null),Cl(this,et,!1),Cl(this,tt,null),Cl(this,nt,null),Cl(this,it,null),Cl(this,rt,null),Cl(this,at,!1),Ul(this,nt,t),Ul(this,at,t._uiManager.useNewAltTextFlow),Sl(e,st)||Ul(e,st,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){e._l10n??(e._l10n=t)}async render(){const t=Ul(this,Ke,document.createElement("button"));t.className="altText",t.tabIndex="0";const n=Ul(this,Ze,document.createElement("span"));t.append(n),Sl(this,at)?(t.classList.add("new"),t.setAttribute("data-l10n-id",Sl(e,st).missing),n.setAttribute("data-l10n-id",Sl(e,st)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=Sl(this,nt)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:i}),t.addEventListener("pointerdown",(e=>e.stopPropagation()),{signal:i});const r=e=>{e.preventDefault(),Sl(this,nt)._uiManager.editAltText(Sl(this,nt)),Sl(this,at)&&Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:Sl(this,ot,ct)}})};return t.addEventListener("click",r,{capture:!0,signal:i}),t.addEventListener("keydown",(e=>{e.target===t&&"Enter"===e.key&&(Ul(this,et,!0),r(e))}),{signal:i}),await Fl(this,ot,lt).call(this),t}finish(){Sl(this,Ke)&&(Sl(this,Ke).focus({focusVisible:Sl(this,et)}),Ul(this,et,!1))}isEmpty(){return Sl(this,at)?null===Sl(this,qe):!Sl(this,qe)&&!Sl(this,Ye)}hasData(){return Sl(this,at)?null!==Sl(this,qe)||!!Sl(this,it):this.isEmpty()}get guessedText(){return Sl(this,it)}async setGuessedText(t){null===Sl(this,qe)&&(Ul(this,it,t),Ul(this,rt,await e._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),Fl(this,ot,lt).call(this))}toggleAltTextBadge(e=!1){var t;if(!Sl(this,at)||Sl(this,qe))return null==(t=Sl(this,tt))||t.remove(),void Ul(this,tt,null);if(!Sl(this,tt)){const e=Ul(this,tt,document.createElement("div"));e.className="noAltTextBadge",Sl(this,nt).div.append(e)}Sl(this,tt).classList.toggle("hidden",!e)}serialize(e){let t=Sl(this,qe);return e||Sl(this,it)!==t||(t=Sl(this,rt)),{altText:t,decorative:Sl(this,Ye),guessedText:Sl(this,it),textWithDisclaimer:Sl(this,rt)}}get data(){return{altText:Sl(this,qe),decorative:Sl(this,Ye)}}set data({altText:e,decorative:t,guessedText:n,textWithDisclaimer:i,cancel:r=!1}){n&&(Ul(this,it,n),Ul(this,rt,i)),Sl(this,qe)===e&&Sl(this,Ye)===t||(r||(Ul(this,qe,e),Ul(this,Ye,t)),Fl(this,ot,lt).call(this))}toggle(e=!1){Sl(this,Ke)&&(!e&&Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),Sl(this,Ke).disabled=!e)}shown(){Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:Sl(this,ot,ct)}})}destroy(){var e,t;null==(e=Sl(this,Ke))||e.remove(),Ul(this,Ke,null),Ul(this,Ze,null),Ul(this,Je,null),null==(t=Sl(this,tt))||t.remove(),Ul(this,tt,null)}};qe=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap,it=new WeakMap,rt=new WeakMap,at=new WeakMap,st=new WeakMap,ot=new WeakSet,ct=function(){return(Sl(this,qe)?"added":null===Sl(this,qe)&&this.guessedText&&"review")||"missing"},lt=async function(){var e,t,n;const i=Sl(this,Ke);if(!i)return;if(Sl(this,at)){if(i.classList.toggle("done",!!Sl(this,qe)),i.setAttribute("data-l10n-id",Sl(Qx,st)[Sl(this,ot,ct)]),null==(e=Sl(this,Ze))||e.setAttribute("data-l10n-id",Sl(Qx,st)[`${Sl(this,ot,ct)}-label`]),!Sl(this,qe))return void(null==(t=Sl(this,Je))||t.remove())}else{if(!Sl(this,qe)&&!Sl(this,Ye))return i.classList.remove("done"),void(null==(n=Sl(this,Je))||n.remove());i.classList.add("done"),i.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let r=Sl(this,Je);if(!r){Ul(this,Je,r=document.createElement("span")),r.className="tooltip",r.setAttribute("role","tooltip"),r.id=`alt-text-tooltip-${Sl(this,nt).id}`;const e=100,t=Sl(this,nt)._uiManager._signal;t.addEventListener("abort",(()=>{clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)}),{once:!0}),i.addEventListener("mouseenter",(()=>{Ul(this,Qe,setTimeout((()=>{Ul(this,Qe,null),Sl(this,Je).classList.add("show"),Sl(this,nt)._reportTelemetry({action:"alt_text_tooltip"})}),e))}),{signal:t}),i.addEventListener("mouseleave",(()=>{var e;Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),null==(e=Sl(this,Je))||e.classList.remove("show")}),{signal:t})}Sl(this,Ye)?r.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(r.removeAttribute("data-l10n-id"),r.textContent=Sl(this,qe)),r.parentNode||i.append(r);const a=Sl(this,nt).getImageForAltText();null==a||a.setAttribute("aria-describedby",r.id)},Cl(Qx,st,null),El(Qx,"_l10n",null);let e_=Qx;const t_=class{constructor({container:e,isPinchingDisabled:t=null,isPinchingStopped:n=null,onPinchStart:i=null,onPinching:r=null,onPinchEnd:a=null,signal:s}){Cl(this,xt),Cl(this,ht),Cl(this,dt,!1),Cl(this,ut,null),Cl(this,ft),Cl(this,pt),Cl(this,gt),Cl(this,mt),Cl(this,bt),Cl(this,vt,null),Cl(this,yt),Cl(this,wt,null),Ul(this,ht,e),Ul(this,ut,n),Ul(this,ft,t),Ul(this,pt,i),Ul(this,gt,r),Ul(this,mt,a),Ul(this,yt,new AbortController),Ul(this,bt,AbortSignal.any([s,Sl(this,yt).signal])),e.addEventListener("touchstart",Fl(this,xt,_t).bind(this),{passive:!1,signal:Sl(this,bt)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return ex(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}destroy(){var e;null==(e=Sl(this,yt))||e.abort(),Ul(this,yt,null)}};ht=new WeakMap,dt=new WeakMap,ut=new WeakMap,ft=new WeakMap,pt=new WeakMap,gt=new WeakMap,mt=new WeakMap,bt=new WeakMap,vt=new WeakMap,yt=new WeakMap,wt=new WeakMap,xt=new WeakSet,_t=function(e){var t,n,i;if((null==(t=Sl(this,ft))?void 0:t.call(this))||e.touches.length<2)return;if(!Sl(this,wt)){Ul(this,wt,new AbortController);const e=AbortSignal.any([Sl(this,bt),Sl(this,wt).signal]),t=Sl(this,ht),i={signal:e,passive:!1};t.addEventListener("touchmove",Fl(this,xt,Tt).bind(this),i),t.addEventListener("touchend",Fl(this,xt,Dt).bind(this),i),t.addEventListener("touchcancel",Fl(this,xt,Dt).bind(this),i),null==(n=Sl(this,pt))||n.call(this)}if(Mx(e),2!==e.touches.length||(null==(i=Sl(this,ut))?void 0:i.call(this)))return void Ul(this,vt,null);let[r,a]=e.touches;r.identifier>a.identifier&&([r,a]=[a,r]),Ul(this,vt,{touch0X:r.screenX,touch0Y:r.screenY,touch1X:a.screenX,touch1Y:a.screenY})},Tt=function(e){var t;if(!Sl(this,vt)||2!==e.touches.length)return;let[n,i]=e.touches;n.identifier>i.identifier&&([n,i]=[i,n]);const{screenX:r,screenY:a}=n,{screenX:s,screenY:o}=i,c=Sl(this,vt),{touch0X:l,touch0Y:h,touch1X:d,touch1Y:u}=c,f=d-l,p=u-h,g=s-r,m=o-a,b=Math.hypot(g,m)||1,v=Math.hypot(f,p)||1;if(!Sl(this,dt)&&Math.abs(v-b)<=t_.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(c.touch0X=r,c.touch0Y=a,c.touch1X=s,c.touch1Y=o,e.preventDefault(),!Sl(this,dt))return void Ul(this,dt,!0);const y=[(r+s)/2,(a+o)/2];null==(t=Sl(this,gt))||t.call(this,y,v,b)},Dt=function(e){var t;Sl(this,wt).abort(),Ul(this,wt,null),null==(t=Sl(this,mt))||t.call(this),Sl(this,vt)&&(e.preventDefault(),Ul(this,vt,null),Ul(this,dt,!1))};let n_=t_;const i_=class e{constructor(t){Cl(this,Yt),Cl(this,At,null),Cl(this,Et,null),Cl(this,kt,null),Cl(this,St,!1),Cl(this,Ct,null),Cl(this,Ut,""),Cl(this,Ft,!1),Cl(this,Mt,null),Cl(this,Rt,null),Cl(this,It,null),Cl(this,Ot,null),Cl(this,Nt,""),Cl(this,Pt,!1),Cl(this,Lt,null),Cl(this,Wt,!1),Cl(this,Bt,!1),Cl(this,jt,!1),Cl(this,zt,null),Cl(this,Ht,0),Cl(this,Vt,0),Cl(this,Gt,null),Cl(this,Xt,null),El(this,"_editToolbar",null),El(this,"_initialOptions",Object.create(null)),El(this,"_initialData",null),El(this,"_isVisible",!0),El(this,"_uiManager",null),El(this,"_focusEventsAllowed",!0),Cl(this,$t,!1),Cl(this,qt,e._zIndex++),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:n,rawDims:{pageWidth:i,pageHeight:r,pageX:a,pageY:s}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,r],this.pageTranslation=[a,s];const[o,c]=this.parentDimensions;this.x=t.x/o,this.y=t.y/c,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=e.prototype._resizeWithKeyboard,n=Jx.TRANSLATE_SMALL,i=Jx.TRANSLATE_BIG;return ex(this,"_resizerKeyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],e.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return ex(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(e){const t=new a_({id:e.parent.getNextId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}static initialize(t,n){if(e._l10n??(e._l10n=t),e._l10nResizer||(e._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),-1!==e._borderLineWidth)return;const i=getComputedStyle(document.documentElement);e._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){Zw("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return Sl(this,$t)}set _isDraggable(e){var t;Ul(this,$t,e),null==(t=this.div)||t.classList.toggle("draggable",e)}get isEnterHandled(){return!0}center(){const[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(2*e),this.y+=this.width*e/(2*t);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(2*e),this.y-=this.width*e/(2*t);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=Sl(this,qt)}setParent(e){null!==e?(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions):Fl(this,Yt,mn).call(this),this.parent=e}focusin(e){this._focusEventsAllowed&&(Sl(this,Pt)?Ul(this,Pt,!1):this.parent.setSelected(this))}focusout(e){var t;if(!this._focusEventsAllowed)return;if(!this.isAttachedToDOM)return;const n=e.relatedTarget;(null==n?void 0:n.closest(`#${this.id}`))||(e.preventDefault(),(null==(t=this.parent)?void 0:t.isMultipleSelection)||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,n,i){const[r,a]=this.parentDimensions;[n,i]=this.screenToPageTranslation(n,i),this.x=(e+n)/r,this.y=(t+i)/a,this.fixAndSetPosition()}translate(e,t){Fl(this,Yt,Kt).call(this,this.parentDimensions,e,t)}translateInPage(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),Fl(this,Yt,Kt).call(this,this.pageDimensions,e,t),this.div.scrollIntoView({block:"nearest"})}drag(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]);const{div:n,parentDimensions:[i,r]}=this;if(this.x+=e/i,this.y+=t/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:e,y:t}=this.div.getBoundingClientRect();this.parent.findNewParent(this,e,t)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:s}=this;const[o,c]=this.getBaseTranslation();a+=o,s+=c;const{style:l}=n;l.left=`${(100*a).toFixed(2)}%`,l.top=`${(100*s).toFixed(2)}%`,this._onTranslating(a,s),n.scrollIntoView({block:"nearest"})}_onTranslating(e,t){}_onTranslated(e,t){}get _hasBeenMoved(){return!!Sl(this,Lt)&&(Sl(this,Lt)[0]!==this.x||Sl(this,Lt)[1]!==this.y)}get _hasBeenResized(){return!!Sl(this,Lt)&&(Sl(this,Lt)[2]!==this.width||Sl(this,Lt)[3]!==this.height)}getBaseTranslation(){const[t,n]=this.parentDimensions,{_borderLineWidth:i}=e,r=i/t,a=i/n;switch(this.rotation){case 90:return[-r,a];case 180:return[r,a];case 270:return[r,-a];default:return[-r,-a]}}get _mustFixPosition(){return!0}fixAndSetPosition(e=this.rotation){const{div:{style:t},pageDimensions:[n,i]}=this;let{x:r,y:a,width:s,height:o}=this;if(s*=n,o*=i,r*=n,a*=i,this._mustFixPosition)switch(e){case 0:r=Math.max(0,Math.min(n-s,r)),a=Math.max(0,Math.min(i-o,a));break;case 90:r=Math.max(0,Math.min(n-o,r)),a=Math.min(i,Math.max(s,a));break;case 180:r=Math.min(n,Math.max(s,r)),a=Math.min(i,Math.max(o,a));break;case 270:r=Math.min(n,Math.max(o,r)),a=Math.max(0,Math.min(i-s,a))}this.x=r/=n,this.y=a/=i;const[c,l]=this.getBaseTranslation();r+=c,a+=l,t.left=`${(100*r).toFixed(2)}%`,t.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,this.parentRotation)}pageTranslationToScreen(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:e,pageDimensions:[t,n]}=this;return[t*e,n*e]}setDims(e,t){const[n,i]=this.parentDimensions,{style:r}=this.div;r.width=`${(100*e/n).toFixed(2)}%`,Sl(this,Ft)||(r.height=`${(100*t/i).toFixed(2)}%`)}fixDims(){const{style:e}=this.div,{height:t,width:n}=e,i=n.endsWith("%"),r=!Sl(this,Ft)&&t.endsWith("%");if(i&&r)return;const[a,s]=this.parentDimensions;i||(e.width=`${(100*parseFloat(n)/a).toFixed(2)}%`),Sl(this,Ft)||r||(e.height=`${(100*parseFloat(t)/s).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}_onResized(){}static _round(e){return Math.round(1e4*e)/1e4}_onResizing(){}altTextFinish(){var e;null==(e=Sl(this,kt))||e.finish()}async addEditToolbar(){return this._editToolbar||Sl(this,Bt)||(this._editToolbar=new jx(this),this.div.append(this._editToolbar.render()),Sl(this,kt)&&await this._editToolbar.addAltText(Sl(this,kt))),this._editToolbar}removeEditToolbar(){var e;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null==(e=Sl(this,kt))||e.destroy())}addContainer(e){var t;const n=null==(t=this._editToolbar)?void 0:t.div;n?n.before(e):this.div.append(e)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){Sl(this,kt)||(e_.initialize(e._l10n),Ul(this,kt,new e_(this)),Sl(this,At)&&(Sl(this,kt).data=Sl(this,At),Ul(this,At,null)),await this.addEditToolbar())}get altTextData(){var e;return null==(e=Sl(this,kt))?void 0:e.data}set altTextData(e){Sl(this,kt)&&(Sl(this,kt).data=e)}get guessedAltText(){var e;return null==(e=Sl(this,kt))?void 0:e.guessedText}async setGuessedAltText(e){var t;await(null==(t=Sl(this,kt))?void 0:t.setGuessedText(e))}serializeAltText(e){var t;return null==(t=Sl(this,kt))?void 0:t.serialize(e)}hasAltText(){return!!Sl(this,kt)&&!Sl(this,kt).isEmpty()}hasAltTextData(){var e;return(null==(e=Sl(this,kt))?void 0:e.hasData())??!1}render(){var e;this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=Sl(this,St)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),Fl(this,Yt,dn).call(this);const[t,n]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);const[i,r]=this.getInitialTranslation();return this.translate(i,r),Hx(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(Sl(this,Xt)||Ul(this,Xt,new n_({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:Fl(this,Yt,sn).bind(this),onPinching:Fl(this,Yt,on).bind(this),onPinchEnd:Fl(this,Yt,cn).bind(this),signal:this._uiManager._signal}))),null==(e=this._uiManager._editorUndoBar)||e.hide(),this.div}pointerdown(e){const{isMac:t}=ux.platform;0!==e.button||e.ctrlKey&&t?e.preventDefault():(Ul(this,Pt,!0),this._isDraggable?Fl(this,Yt,hn).call(this,e):Fl(this,Yt,ln).call(this,e))}get isSelected(){return this._uiManager.isSelected(this)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){Sl(this,zt)&&clearTimeout(Sl(this,zt)),Ul(this,zt,setTimeout((()=>{var e;Ul(this,zt,null),null==(e=this.parent)||e.moveEditorInDOM(this)}),0))}_setParentAndPosition(e,t,n){e.changeParent(this),this.x=t,this.y=n,this.fixAndSetPosition(),this._onTranslated()}getRect(e,t,n=this.rotation){const i=this.parentScale,[r,a]=this.pageDimensions,[s,o]=this.pageTranslation,c=e/i,l=t/i,h=this.x*r,d=this.y*a,u=this.width*r,f=this.height*a;switch(n){case 0:return[h+c+s,a-d-l-f+o,h+c+u+s,a-d-l+o];case 90:return[h+l+s,a-d+c+o,h+l+f+s,a-d+c+u+o];case 180:return[h-c-u+s,a-d+l+o,h-c+s,a-d+l+f+o];case 270:return[h-l-f+s,a-d-c-u+o,h-l+s,a-d-c+o];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(e,t){const[n,i,r,a]=e,s=r-n,o=a-i;switch(this.rotation){case 0:return[n,t-a,s,o];case 90:return[n,t-i,o,s];case 180:return[r,t-i,s,o];case 270:return[r,t-a,o,s];default:throw new Error("Invalid rotation")}}onceAdded(e){}isEmpty(){return!1}enableEditMode(){Ul(this,Bt,!0)}disableEditMode(){Ul(this,Bt,!1)}isInEditMode(){return Sl(this,Bt)}shouldGetKeyboardEvents(){return Sl(this,jt)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:e,left:t,bottom:n,right:i}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return t0&&e0}rebuild(){Fl(this,Yt,dn).call(this)}rotate(e){}resize(){}serializeDeleted(){var e;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null==(e=this._initialData)?void 0:e.popupRef)||""}}serialize(e=!1,t=null){Zw("An editor must be serializable")}static async deserialize(e,t,n){const i=new this.prototype.constructor({parent:t,id:t.getNextId(),uiManager:n});i.rotation=e.rotation,Ul(i,At,e.accessibilityData);const[r,a]=i.pageDimensions,[s,o,c,l]=i.getRectInCurrentCoords(e.rect,a);return i.x=s/r,i.y=o/a,i.width=c/r,i.height=l/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){var e,t;if(null==(e=Sl(this,Ot))||e.abort(),Ul(this,Ot,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),Sl(this,zt)&&(clearTimeout(Sl(this,zt)),Ul(this,zt,null)),Fl(this,Yt,mn).call(this),this.removeEditToolbar(),Sl(this,Gt)){for(const e of Sl(this,Gt).values())clearTimeout(e);Ul(this,Gt,null)}this.parent=null,null==(t=Sl(this,Xt))||t.destroy(),Ul(this,Xt,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(Fl(this,Yt,en).call(this),Sl(this,Mt).classList.remove("hidden"),Hx(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||"Enter"!==t.key)return;this._uiManager.setSelected(this),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const n=Sl(this,Mt).children;if(!Sl(this,Et)){Ul(this,Et,Array.from(n));const t=Fl(this,Yt,un).bind(this),i=Fl(this,Yt,fn).bind(this),r=this._uiManager._signal;for(const n of Sl(this,Et)){const a=n.getAttribute("data-resizer-name");n.setAttribute("role","spinbutton"),n.addEventListener("keydown",t,{signal:r}),n.addEventListener("blur",i,{signal:r}),n.addEventListener("focus",Fl(this,Yt,pn).bind(this,a),{signal:r}),n.setAttribute("data-l10n-id",e._l10nResizer[a])}}const i=Sl(this,Et)[0];let r=0;for(const e of n){if(e===i)break;r++}const a=(360-this.rotation+this.parentRotation)%360/90*(Sl(this,Et).length/4);if(a!==r){if(ar)for(let e=0;e{var e,t;(null==(e=this.div)?void 0:e.classList.contains("selectedEditor"))&&(null==(t=this._editToolbar)||t.show())}))}unselect(){var e,t,n,i,r;null==(e=Sl(this,Mt))||e.classList.add("hidden"),null==(t=this.div)||t.classList.remove("selectedEditor"),(null==(n=this.div)?void 0:n.contains(document.activeElement))&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null==(i=this._editToolbar)||i.hide(),null==(r=Sl(this,kt))||r.toggleAltTextBadge(!0)}updateParams(e,t){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return Sl(this,Wt)}set isEditing(e){Ul(this,Wt,e),this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(e,t){Ul(this,Ft,!0);const n=e/t,{style:i}=this.div;i.aspectRatio=n,i.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){Sl(this,Gt)||Ul(this,Gt,new Map);const{action:n}=t;let i=Sl(this,Gt).get(n);return i&&clearTimeout(i),i=setTimeout((()=>{this._reportTelemetry(t),Sl(this,Gt).delete(n),0===Sl(this,Gt).size&&Ul(this,Gt,null)}),e._telemetryTimeout),void Sl(this,Gt).set(n,i)}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(e=this._isVisible){this.div.classList.toggle("hidden",!e),this._isVisible=e}enable(){this.div&&(this.div.tabIndex=0),Ul(this,St,!1)}disable(){this.div&&(this.div.tabIndex=-1),Ul(this,St,!0)}renderAnnotationElement(e){let t=e.container.querySelector(".annotationContent");if(t){if("CANVAS"===t.nodeName){const e=t;t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.before(t)}}else t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.container.prepend(t);return t}resetAnnotationElement(e){const{firstChild:t}=e.container;"DIV"===(null==t?void 0:t.nodeName)&&t.classList.contains("annotationContent")&&t.remove()}};At=new WeakMap,Et=new WeakMap,kt=new WeakMap,St=new WeakMap,Ct=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,Mt=new WeakMap,Rt=new WeakMap,It=new WeakMap,Ot=new WeakMap,Nt=new WeakMap,Pt=new WeakMap,Lt=new WeakMap,Wt=new WeakMap,Bt=new WeakMap,jt=new WeakMap,zt=new WeakMap,Ht=new WeakMap,Vt=new WeakMap,Gt=new WeakMap,Xt=new WeakMap,$t=new WeakMap,qt=new WeakMap,Yt=new WeakSet,Kt=function([e,t],n,i){[n,i]=this.screenToPageTranslation(n,i),this.x+=n/e,this.y+=i/t,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},Zt=new WeakSet,Jt=function(e,t,n){switch(n){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}},Qt=function(e){switch(e){case 90:{const[e,t]=this.pageDimensions;return[0,-e/t,t/e,0]}case 180:return[-1,0,0,-1];case 270:{const[e,t]=this.pageDimensions;return[0,e/t,-t/e,0]}default:return[1,0,0,1]}},en=function(){if(Sl(this,Mt))return;Ul(this,Mt,document.createElement("div")),Sl(this,Mt).classList.add("resizers");const e=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],t=this._uiManager._signal;for(const n of e){const e=document.createElement("div");Sl(this,Mt).append(e),e.classList.add("resizer",n),e.setAttribute("data-resizer-name",n),e.addEventListener("pointerdown",Fl(this,Yt,tn).bind(this,n),{signal:t}),e.addEventListener("contextmenu",Fx,{signal:t}),e.tabIndex=-1}this.div.prepend(Sl(this,Mt))},tn=function(e,t){var n;t.preventDefault();const{isMac:i}=ux.platform;if(0!==t.button||t.ctrlKey&&i)return;null==(n=Sl(this,kt))||n.toggle(!1);const r=this._isDraggable;this._isDraggable=!1,Ul(this,Rt,[t.screenX,t.screenY]);const a=new AbortController,s=this._uiManager.combinedSignal(a);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",Fl(this,Yt,an).bind(this,e),{passive:!0,capture:!0,signal:s}),window.addEventListener("touchmove",Mx,{passive:!1,signal:s}),window.addEventListener("contextmenu",Fx,{signal:s}),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,c=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;const l=()=>{var e;a.abort(),this.parent.togglePointerEvents(!0),null==(e=Sl(this,kt))||e.toggle(!0),this._isDraggable=r,this.parent.div.style.cursor=o,this.div.style.cursor=c,Fl(this,Yt,rn).call(this)};window.addEventListener("pointerup",l,{signal:s}),window.addEventListener("blur",l,{signal:s})},nn=function(e,t,n,i){this.width=n,this.height=i,this.x=e,this.y=t;const[r,a]=this.parentDimensions;this.setDims(r*n,a*i),this.fixAndSetPosition(),this._onResized()},rn=function(){if(!Sl(this,It))return;const{savedX:e,savedY:t,savedWidth:n,savedHeight:i}=Sl(this,It);Ul(this,It,null);const r=this.x,a=this.y,s=this.width,o=this.height;r===e&&a===t&&s===n&&o===i||this.addCommands({cmd:Fl(this,Yt,nn).bind(this,r,a,s,o),undo:Fl(this,Yt,nn).bind(this,e,t,n,i),mustExec:!0})},an=function(e,t){const[n,i]=this.parentDimensions,r=this.x,a=this.y,s=this.width,o=this.height,c=i_.MIN_SIZE/n,l=i_.MIN_SIZE/i,h=Fl(this,Yt,Qt).call(this,this.rotation),d=(e,t)=>[h[0]*e+h[2]*t,h[1]*e+h[3]*t],u=Fl(this,Yt,Qt).call(this,360-this.rotation);let f,p,g=!1,m=!1;switch(e){case"topLeft":g=!0,f=(e,t)=>[0,0],p=(e,t)=>[e,t];break;case"topMiddle":f=(e,t)=>[e/2,0],p=(e,t)=>[e/2,t];break;case"topRight":g=!0,f=(e,t)=>[e,0],p=(e,t)=>[0,t];break;case"middleRight":m=!0,f=(e,t)=>[e,t/2],p=(e,t)=>[0,t/2];break;case"bottomRight":g=!0,f=(e,t)=>[e,t],p=(e,t)=>[0,0];break;case"bottomMiddle":f=(e,t)=>[e/2,t],p=(e,t)=>[e/2,0];break;case"bottomLeft":g=!0,f=(e,t)=>[0,t],p=(e,t)=>[e,0];break;case"middleLeft":m=!0,f=(e,t)=>[0,t/2],p=(e,t)=>[e,t/2]}const b=f(s,o),v=p(s,o);let y=d(...v);const w=i_._round(r+y[0]),x=i_._round(a+y[1]);let _,T,D=1,A=1;if(t.fromKeyboard)({deltaX:_,deltaY:T}=t);else{const{screenX:e,screenY:n}=t,[i,r]=Sl(this,Rt);[_,T]=this.screenToPageTranslation(e-i,n-r),Sl(this,Rt)[0]=e,Sl(this,Rt)[1]=n}var E,k;if([_,T]=(E=_/n,k=T/i,[u[0]*E+u[2]*k,u[1]*E+u[3]*k]),g){const e=Math.hypot(s,o);D=A=Math.max(Math.min(Math.hypot(v[0]-b[0]-_,v[1]-b[1]-T)/e,1/s,1/o),c/s,l/o)}else m?D=Math.max(c,Math.min(1,Math.abs(v[0]-b[0]-_)))/s:A=Math.max(l,Math.min(1,Math.abs(v[1]-b[1]-T)))/o;const S=i_._round(s*D),C=i_._round(o*A);y=d(...p(S,C));const U=w-y[0],F=x-y[1];Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),this.width=S,this.height=C,this.x=U,this.y=F,this.setDims(n*S,i*C),this.fixAndSetPosition(),this._onResizing()},sn=function(){var e;Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),null==(e=Sl(this,kt))||e.toggle(!1),this.parent.togglePointerEvents(!1)},on=function(e,t,n){let i=n/t*.7+1-.7;if(1===i)return;const r=Fl(this,Yt,Qt).call(this,this.rotation),a=(e,t)=>[r[0]*e+r[2]*t,r[1]*e+r[3]*t],[s,o]=this.parentDimensions,c=this.x,l=this.y,h=this.width,d=this.height,u=i_.MIN_SIZE/s,f=i_.MIN_SIZE/o;i=Math.max(Math.min(i,1/h,1/d),u/h,f/d);const p=i_._round(h*i),g=i_._round(d*i);if(p===h&&g===d)return;Sl(this,Lt)||Ul(this,Lt,[c,l,h,d]);const m=a(h/2,d/2),b=i_._round(c+m[0]),v=i_._round(l+m[1]),y=a(p/2,g/2);this.x=b-y[0],this.y=v-y[1],this.width=p,this.height=g,this.setDims(s*p,o*g),this.fixAndSetPosition(),this._onResizing()},cn=function(){var e;null==(e=Sl(this,kt))||e.toggle(!0),this.parent.togglePointerEvents(!0),Fl(this,Yt,rn).call(this)},ln=function(e){const{isMac:t}=ux.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)},hn=function(e){const{isSelected:t}=this;this._uiManager.setUpDragSession();let n=!1;const i=new AbortController,r=this._uiManager.combinedSignal(i),a={capture:!0,passive:!1,signal:r},s=e=>{i.abort(),Ul(this,Ct,null),Ul(this,Pt,!1),this._uiManager.endDragSession()||Fl(this,Yt,ln).call(this,e),n&&this._onStopDragging()};t&&(Ul(this,Ht,e.clientX),Ul(this,Vt,e.clientY),Ul(this,Ct,e.pointerId),Ul(this,Ut,e.pointerType),window.addEventListener("pointermove",(e=>{n||(n=!0,this._onStartDragging());const{clientX:t,clientY:i,pointerId:r}=e;if(r!==Sl(this,Ct))return void Mx(e);const[a,s]=this.screenToPageTranslation(t-Sl(this,Ht),i-Sl(this,Vt));Ul(this,Ht,t),Ul(this,Vt,i),this._uiManager.dragSelectedEditors(a,s)}),a),window.addEventListener("touchmove",Mx,a),window.addEventListener("pointerdown",(e=>{e.pointerType===Sl(this,Ut)&&(Sl(this,Xt)||e.isPrimary)&&s(e),Mx(e)}),a));const o=e=>{Sl(this,Ct)&&Sl(this,Ct)!==e.pointerId?Mx(e):s(e)};window.addEventListener("pointerup",o,{signal:r}),window.addEventListener("blur",o,{signal:r})},dn=function(){if(Sl(this,Ot)||!this.div)return;Ul(this,Ot,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,Ot));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:e}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:e})},un=function(e){i_._resizerKeyboardManager.exec(this,e)},fn=function(e){var t;Sl(this,jt)&&(null==(t=e.relatedTarget)?void 0:t.parentNode)!==Sl(this,Mt)&&Fl(this,Yt,mn).call(this)},pn=function(e){Ul(this,Nt,Sl(this,jt)?e:"")},gn=function(e){if(Sl(this,Et))for(const t of Sl(this,Et))t.tabIndex=e},mn=function(){Ul(this,jt,!1),Fl(this,Yt,gn).call(this,-1),Fl(this,Yt,rn).call(this)},Cl(i_,Zt),El(i_,"_l10n",null),El(i_,"_l10nResizer",null),El(i_,"_borderLineWidth",-1),El(i_,"_colorManager",new Kx),El(i_,"_zIndex",1),El(i_,"_telemetryTimeout",1e3);let r_=i_;class a_ extends r_{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const s_=3285377520,o_=4294901760,c_=65535;class l_{constructor(e){this.h1=e?4294967295&e:s_,this.h2=e?4294967295&e:s_}update(e){let t,n;if("string"==typeof e){t=new Uint8Array(2*e.length),n=0;for(let i=0,r=e.length;i>>8,t[n++]=255&r)}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice(),n=t.byteLength}const i=n>>2,r=n-4*i,a=new Uint32Array(t.buffer,0,i);let s=0,o=0,c=this.h1,l=this.h2;const h=3432918353,d=461845907,u=11601,f=13715;for(let p=0;p>>17,s=s*d&o_|s*f&c_,c^=s,c=c<<13|c>>>19,c=5*c+3864292196):(o=a[p],o=o*h&o_|o*u&c_,o=o<<15|o>>>17,o=o*d&o_|o*f&c_,l^=o,l=l<<13|l>>>19,l=5*l+3864292196);switch(s=0,r){case 3:s^=t[4*i+2]<<16;case 2:s^=t[4*i+1]<<8;case 1:s^=t[4*i],s=s*h&o_|s*u&c_,s=s<<15|s>>>17,s=s*d&o_|s*f&c_,1&i?c^=s:l^=s}this.h1=c,this.h2=l}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=3981806797*e&o_|36045*e&c_,t=4283543511*t&o_|(2950163797*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,e=444984403*e&o_|60499*e&c_,t=3301882366*t&o_|(3120437893*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}const h_=Object.freeze({map:null,hash:"",transfer:void 0});class d_{constructor(){Cl(this,wn),Cl(this,bn,!1),Cl(this,vn,null),Cl(this,yn,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){const n=Sl(this,yn).get(e);return void 0===n?t:Object.assign(t,n)}getRawValue(e){return Sl(this,yn).get(e)}remove(e){if(Sl(this,yn).delete(e),0===Sl(this,yn).size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const e of Sl(this,yn).values())if(e instanceof r_)return;this.onAnnotationEditor(null)}}setValue(e,t){const n=Sl(this,yn).get(e);let i=!1;if(void 0!==n)for(const[r,a]of Object.entries(t))n[r]!==a&&(i=!0,n[r]=a);else i=!0,Sl(this,yn).set(e,t);i&&Fl(this,wn,xn).call(this),t instanceof r_&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(t.constructor._type)}has(e){return Sl(this,yn).has(e)}getAll(){return Sl(this,yn).size>0?dx(Sl(this,yn)):null}setAll(e){for(const[t,n]of Object.entries(e))this.setValue(t,n)}get size(){return Sl(this,yn).size}resetModified(){Sl(this,bn)&&(Ul(this,bn,!1),"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new u_(this)}get serializable(){if(0===Sl(this,yn).size)return h_;const e=new Map,t=new l_,n=[],i=Object.create(null);let r=!1;for(const[a,s]of Sl(this,yn)){const n=s instanceof r_?s.serialize(!1,i):s;n&&(e.set(a,n),t.update(`${a}:${JSON.stringify(n)}`),r||(r=!!n.bitmap))}if(r)for(const a of e.values())a.bitmap&&n.push(a.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfer:n}:h_}get editorStats(){let e=null;const t=new Map;for(const n of Sl(this,yn).values()){if(!(n instanceof r_))continue;const i=n.telemetryFinalData;if(!i)continue;const{type:r}=i;t.has(r)||t.set(r,Object.getPrototypeOf(n).constructor),e||(e=Object.create(null));const a=e[r]||(e[r]=new Map);for(const[e,t]of Object.entries(i)){if("type"===e)continue;let n=a.get(e);n||(n=new Map,a.set(e,n));const i=n.get(t)??0;n.set(t,i+1)}}for(const[n,i]of t)e[n]=i.computeTelemetryFinalData(e[n]);return e}resetModifiedIds(){Ul(this,vn,null)}get modifiedIds(){if(Sl(this,vn))return Sl(this,vn);const e=[];for(const t of Sl(this,yn).values())t instanceof r_&&t.annotationElementId&&t.serialize()&&e.push(t.annotationElementId);return Ul(this,vn,{ids:new Set(e),hash:e.join(",")})}}bn=new WeakMap,vn=new WeakMap,yn=new WeakMap,wn=new WeakSet,xn=function(){Sl(this,bn)||(Ul(this,bn,!0),"function"==typeof this.onSetModified&&this.onSetModified())};class u_ extends d_{constructor(e){super(),Cl(this,_n);const{map:t,hash:n,transfer:i}=e.serializable,r=structuredClone(t,i?{transfer:i}:null);Ul(this,_n,{map:r,hash:n,transfer:i})}get print(){Zw("Should not call PrintAnnotationStorage.print")}get serializable(){return Sl(this,_n)}get modifiedIds(){return ex(this,"modifiedIds",{ids:new Set,hash:""})}}_n=new WeakMap;class f_{constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){Cl(this,Tn,new Set),this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.nativeFontFaces.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.nativeFontFaces.delete(e),this._document.fonts.delete(e)}insertRule(e){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const t=this.styleElement.sheet;t.insertRule(e,t.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.clear(),Sl(this,Tn).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:e,_inspectFont:t}){if(e&&!Sl(this,Tn).has(e.loadedName))if(Jw(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:i,style:r}=e,a=new FontFace(n,i,r);this.addNativeFontFace(a);try{await a.load(),Sl(this,Tn).add(n),null==t||t(e)}catch{Kw(e.baseFontName),this.removeNativeFontFace(a)}}else Zw("Not implemented: loadSystemFont without the Font Loading API.")}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo)return void(await this.loadSystemFont(e));if(this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw Kw(t.family),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((t=>{const n=this._queueLoadingCallback(t);this._prepareFontLoadEvent(e,n)}))}}get isFontLoadingAPISupported(){var e;return ex(this,"isFontLoadingAPISupported",!!(null==(e=this._document)?void 0:e.fonts))}get isSyncFontLoadingSupported(){let e=!1;return(Jy||"undefined"!=typeof navigator&&"string"==typeof(null==navigator?void 0:navigator.userAgent)&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(e=!0),ex(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const{loadingRequests:t}=this,n={done:!1,complete:function(){for(Jw(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.length>0&&t[0].done;){const e=t.shift();setTimeout(e.callback,0)}},callback:e};return t.push(n),n}get _loadTestFont(){return ex(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,i){return e.substring(0,t)+i+e.substring(t+n)}let r,a;const s=this._document.createElement("canvas");s.width=1,s.height=1;const o=s.getContext("2d");let c=0;const l=`lt${Date.now()}${this.loadTestFontId++}`;let h=this._loadTestFont;h=i(h,976,l.length,l);const d=1482184792;let u=n(h,16);for(r=0,a=l.length-3;r>24&255,f>>16&255,f>>8&255,255&f)));const p=`@font-face {font-family:"${l}";src:${`url(data:font/opentype;base64,${btoa(h)});`}}`;this.insertRule(p);const g=this._document.createElement("div");g.style.visibility="hidden",g.style.width=g.style.height="10px",g.style.position="absolute",g.style.top=g.style.left="0px";for(const m of[e.loadedName,l]){const e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=m,g.append(e)}this._document.body.append(g),function e(t,n){if(++c>30)return Kw(),void n();o.font="30px "+t,o.fillText(".",0,20),o.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(l,(()=>{g.remove(),t.complete()}))}}Tn=new WeakMap;class p_{constructor(e,{disableFontFace:t=!1,fontExtraProperties:n=!1,inspectFont:i=null}){this.compiledGlyphs=Object.create(null);for(const r in e)this[r]=e[r];this.disableFontFace=!0===t,this.fontExtraProperties=!0===n,this._inspectFont=i}createNativeFontFace(){var e;if(!this.data||this.disableFontFace)return null;let t;if(this.cssFontInfo){const e={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(e.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,e)}else t=new FontFace(this.loadedName,this.data,{});return null==(e=this._inspectFont)||e.call(this,this),t}createFontFaceRule(){var e;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${n=this.data,Uint8Array.prototype.toBase64?n.toBase64():btoa(lx(n))});`;var n;let i;if(this.cssFontInfo){let e=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(e+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),i=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${e}src:${t}}`}else i=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return null==(e=this._inspectFont)||e.call(this,this,t),i}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];const n=this.loadedName+"_path_"+t;let i;try{i=e.get(n)}catch(a){Kw()}const r=new Path2D(i||"");return this.fontExtraProperties||e.delete(n),this.compiledGlyphs[t]=r}}const g_=1,m_=2,b_=1,v_=2,y_=3,w_=4,x_=5,__=6,T_=7,D_=8;function A_(){}function E_(e){if(e instanceof cx||e instanceof rx||e instanceof ax||e instanceof nx||e instanceof sx||e instanceof ix)return e;switch(e instanceof Error||"object"==typeof e&&null!==e||Zw('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new cx(e.message);case"InvalidPDFException":return new rx(e.message);case"MissingPDFException":return new ax(e.message);case"PasswordException":return new nx(e.message,e.code);case"UnexpectedResponseException":return new sx(e.message,e.status);case"UnknownErrorException":return new ix(e.message,e.details)}return new ix(e.message,e.toString())}class k_{constructor(e,t,n){Cl(this,An),Cl(this,Dn,new AbortController),this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),n.addEventListener("message",Fl(this,An,En).bind(this),{signal:Sl(this,Dn).signal})}on(e,t){const n=this.actionHandler;if(n[e])throw new Error(`There is already an actionName called "${e}"`);n[e]=t}send(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const i=this.callbackId++,r=Promise.withResolvers();this.callbackCapabilities[i]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},n)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,n,i){const r=this.streamId++,a=this.sourceName,s=this.targetName,o=this.comObj;return new ReadableStream({start:n=>{const c=Promise.withResolvers();return this.streamControllers[r]={controller:n,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},o.postMessage({sourceName:a,targetName:s,action:e,streamId:r,data:t,desiredSize:n.desiredSize},i),c.promise},pull:e=>{const t=Promise.withResolvers();return this.streamControllers[r].pullCall=t,o.postMessage({sourceName:a,targetName:s,stream:__,streamId:r,desiredSize:e.desiredSize}),t.promise},cancel:e=>{Jw(e instanceof Error,"cancel must have a valid reason");const t=Promise.withResolvers();return this.streamControllers[r].cancelCall=t,this.streamControllers[r].isClosed=!0,o.postMessage({sourceName:a,targetName:s,stream:b_,streamId:r,reason:E_(e)}),t.promise}},n)}destroy(){var e;null==(e=Sl(this,Dn))||e.abort(),Ul(this,Dn,null)}}Dn=new WeakMap,An=new WeakSet,En=function({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream)return void Fl(this,An,Sn).call(this,e);if(e.callback){const t=e.callbackId,n=this.callbackCapabilities[t];if(!n)throw new Error(`Cannot resolve callback ${t}`);if(delete this.callbackCapabilities[t],e.callback===g_)n.resolve(e.data);else{if(e.callback!==m_)throw new Error("Unexpected callback case");n.reject(E_(e.reason))}return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const n=this.sourceName,i=e.sourceName,r=this.comObj;Promise.try(t,e.data).then((function(t){r.postMessage({sourceName:n,targetName:i,callback:g_,callbackId:e.callbackId,data:t})}),(function(t){r.postMessage({sourceName:n,targetName:i,callback:m_,callbackId:e.callbackId,reason:E_(t)})}))}else e.streamId?Fl(this,An,kn).call(this,e):t(e.data)},kn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this,s=this.actionHandler[e.action],o={enqueue(e,a=1,s){if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=a,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:n,targetName:i,stream:w_,streamId:t,chunk:e},s)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:y_,streamId:t}),delete a.streamSinks[t])},error(e){Jw(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:x_,streamId:t,reason:E_(e)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve(),o.ready=o.sinkCapability.promise,this.streamSinks[t]=o,Promise.try(s,e.data,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,reason:E_(e)})}))},Sn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case D_:e.success?a.startCall.resolve():a.startCall.reject(E_(e.reason));break;case T_:e.success?a.pullCall.resolve():a.pullCall.reject(E_(e.reason));break;case __:if(!s){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve(),s.desiredSize=e.desiredSize,Promise.try(s.onPull||A_).then((function(){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,reason:E_(e)})}));break;case w_:if(Jw(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case y_:if(Jw(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),Fl(this,An,Cn).call(this,a,t);break;case x_:Jw(a,"error should have stream controller"),a.controller.error(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case v_:e.success?a.cancelCall.resolve():a.cancelCall.reject(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case b_:if(!s)break;const o=E_(e.reason);Promise.try(s.onCancel||A_,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,reason:E_(e)})})),s.sinkCapability.reject(o),s.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}},Cn=async function(e,t){var n,i,r;await Promise.allSettled([null==(n=e.startCall)?void 0:n.promise,null==(i=e.pullCall)?void 0:i.promise,null==(r=e.cancelCall)?void 0:r.promise]),delete this.streamControllers[t]};class S_{constructor({enableHWA:e=!1}){Cl(this,Un,!1),Ul(this,Un,e)}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d",{willReadFrequently:!Sl(this,Un)})}}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){Zw("Abstract method `_createCanvas` called.")}}Un=new WeakMap;class C_{constructor({baseUrl:e=null,isCompressed:t=!0}){this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":"");return this._fetch(t).then((e=>({cMapData:e,isCompressed:this.isCompressed}))).catch((e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class U_ extends C_{async _fetch(e){const t=await _x(e,this.isCompressed?"arraybuffer":"text");return t instanceof ArrayBuffer?new Uint8Array(t):hx(t)}}class F_{addFilter(e){return"none"}addHCMFilter(e,t){return"none"}addAlphaFilter(e){return"none"}addLuminosityFilter(e){return"none"}addHighlightHCMFilter(e,t,n,i,r){return"none"}destroy(e=!1){}}Fn=new WeakMap,Mn=new WeakMap,Rn=new WeakMap,In=new WeakMap,On=new WeakMap,Nn=new WeakMap,Pn=new WeakMap,Ln=new WeakSet,Wn=function(){return Sl(this,Mn)||Ul(this,Mn,new Map)},Bn=function(){return Sl(this,Nn)||Ul(this,Nn,new Map)},jn=function(){if(!Sl(this,Rn)){const e=Sl(this,On).createElement("div"),{style:t}=e;t.visibility="hidden",t.contain="strict",t.width=t.height=0,t.position="absolute",t.top=t.left=0,t.zIndex=-1;const n=Sl(this,On).createElementNS(yx,"svg");n.setAttribute("width",0),n.setAttribute("height",0),Ul(this,Rn,Sl(this,On).createElementNS(yx,"defs")),e.append(n),n.append(Sl(this,Rn)),Sl(this,On).body.append(e)}return Sl(this,Rn)},zn=function(e){if(1===e.length){const t=e[0],n=new Array(256);for(let e=0;e<256;e++)n[e]=t[e]/255;const i=n.join(",");return[i,i,i]}const[t,n,i]=e,r=new Array(256),a=new Array(256),s=new Array(256);for(let o=0;o<256;o++)r[o]=t[o]/255,a[o]=n[o]/255,s[o]=i[o]/255;return[r.join(","),a.join(","),s.join(",")]},Hn=function(e){if(void 0===Sl(this,Fn)){Ul(this,Fn,"");const e=Sl(this,On).URL;e!==Sl(this,On).baseURI&&(Ax(e)?Kw():Ul(this,Fn,e.split("#",1)[0]))}return`url(${Sl(this,Fn)}#${e})`},Vn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),e.append(t)},Gn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(t)},Xn=function(e){const t=Sl(this,On).createElementNS(yx,"filter");return t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("id",e),Sl(this,Ln,jn).append(t),t},$n=function(e,t,n){const i=Sl(this,On).createElementNS(yx,t);i.setAttribute("type","discrete"),i.setAttribute("tableValues",n),e.append(i)},qn=function(e,t,n,i){const r=Sl(this,On).createElementNS(yx,"feComponentTransfer");i.append(r),Fl(this,Ln,$n).call(this,r,"feFuncR",e),Fl(this,Ln,$n).call(this,r,"feFuncG",t),Fl(this,Ln,$n).call(this,r,"feFuncB",n)},Yn=function(e,t){const n=Sl(this,On).createElementNS(yx,"feComponentTransfer");t.append(n),Fl(this,Ln,$n).call(this,n,"feFuncA",e)},Kn=function(e){return Sl(this,Ln,jn).style.color=e,Ox(getComputedStyle(Sl(this,Ln,jn)).getPropertyValue("color"))};class M_{constructor({baseUrl:e=null}){this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!e)throw new Error("Font filename must be specified.");const t=`${this.baseUrl}${e}`;return this._fetch(t).catch((e=>{throw new Error(`Unable to load font data at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class R_ extends M_{async _fetch(e){const t=await _x(e,"arraybuffer");return new Uint8Array(t)}}async function I_(e){const t=process.getBuiltinModule("fs"),n=await t.promises.readFile(e);return new Uint8Array(n)}Jy&&Kw();const O_="Fill",N_="Stroke",P_="Shading";function L_(e,t){if(!t)return;const n=t[2]-t[0],i=t[3]-t[1],r=new Path2D;r.rect(t[0],t[1],n,i),e.clip(r)}class W_{getPattern(){Zw("Abstract method `getPattern` called.")}}class B_ extends W_{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)t.addColorStop(n[0],n[1]);return t}getPattern(e,t,n,i){let r;if(i===N_||i===O_){const a=t.current.getClippedPathBoundingBox(i,Nx(e))||[0,0,0,0],s=Math.ceil(a[2]-a[0])||1,o=Math.ceil(a[3]-a[1])||1,c=t.cachedCanvases.getCanvas("pattern",s,o),l=c.context;l.clearRect(0,0,l.canvas.width,l.canvas.height),l.beginPath(),l.rect(0,0,l.canvas.width,l.canvas.height),l.translate(-a[0],-a[1]),n=px.transform(n,[1,0,0,1,a[0],a[1]]),l.transform(...t.baseTransform),this.matrix&&l.transform(...this.matrix),L_(l,this._bbox),l.fillStyle=this._createGradient(l),l.fill(),r=e.createPattern(c.canvas,"no-repeat");const h=new DOMMatrix(n);r.setTransform(h)}else L_(e,this._bbox),r=this._createGradient(e);return r}}function j_(e,t,n,i,r,a,s,o){const c=t.coords,l=t.colors,h=e.data,d=4*e.width;let u;c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u),c[i+1]>c[r+1]&&(u=i,i=r,r=u,u=s,s=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u);const f=(c[n]+t.offsetX)*t.scaleX,p=(c[n+1]+t.offsetY)*t.scaleY,g=(c[i]+t.offsetX)*t.scaleX,m=(c[i+1]+t.offsetY)*t.scaleY,b=(c[r]+t.offsetX)*t.scaleX,v=(c[r+1]+t.offsetY)*t.scaleY;if(p>=v)return;const y=l[a],w=l[a+1],x=l[a+2],_=l[s],T=l[s+1],D=l[s+2],A=l[o],E=l[o+1],k=l[o+2],S=Math.round(p),C=Math.round(v);let U,F,M,R,I,O,N,P;for(let L=S;L<=C;L++){if(Lv?1:m===v?0:(m-L)/(m-v),U=g-(g-b)*e,F=_-(_-A)*e,M=T-(T-E)*e,R=D-(D-k)*e}let e;e=Lv?1:(p-L)/(p-v),I=f-(f-b)*e,O=y-(y-A)*e,N=w-(w-E)*e,P=x-(x-k)*e;const t=Math.round(Math.min(U,I)),n=Math.round(Math.max(U,I));let i=d*L+4*t;for(let r=t;r<=n;r++)e=(U-r)/(U-I),e<0?e=0:e>1&&(e=1),h[i++]=F-(F-O)*e|0,h[i++]=M-(M-N)*e|0,h[i++]=R-(R-P)*e|0,h[i++]=255}}function z_(e,t,n){const i=t.coords,r=t.colors;let a,s;switch(t.type){case"lattice":const o=t.verticesPerRow,c=Math.floor(i.length/o)-1,l=o-1;for(a=0;a=Math.ceil(f*b)?y=o:x=!0,D>=Math.ceil(p*v)?w=c:_=!0;const A=this.getSizeAndScale(y,this.ctx.canvas.width,b),E=this.getSizeAndScale(w,this.ctx.canvas.height,v),k=e.cachedCanvases.getCanvas("pattern",A.size,E.size),S=k.context,C=s.createCanvasGraphics(S);if(C.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(C,i,a),S.translate(-A.scale*l,-E.scale*h),C.transform(A.scale,0,0,E.scale,0,0),S.save(),this.clipBbox(C,l,h,d,u),C.baseTransform=Nx(C.ctx),C.executeOperatorList(n),C.endDrawing(),S.restore(),x||_){const t=k.canvas;x&&(y=o),_&&(w=c);const n=this.getSizeAndScale(y,this.ctx.canvas.width,b),i=this.getSizeAndScale(w,this.ctx.canvas.height,v),r=n.size,a=i.size,s=e.cachedCanvases.getCanvas("pattern-workaround",r,a),d=s.context,u=x?Math.floor(f/o):0,g=_?Math.floor(p/c):0;for(let e=0;e<=u;e++)for(let n=0;n<=g;n++)d.drawImage(t,r*e,a*n,r,a,0,0,r,a);return{canvas:s.canvas,scaleX:n.scale,scaleY:i.scale,offsetX:l,offsetY:h}}return{canvas:k.canvas,scaleX:A.scale,scaleY:E.scale,offsetX:l,offsetY:h}}getSizeAndScale(t,n,i){const r=Math.max(e.MAX_PATTERN_SIZE,n);let a=Math.ceil(t*i);return a>=r?a=r:i=a/t,{scale:i,size:a}}clipBbox(e,t,n,i,r){const a=i-t,s=r-n;e.ctx.rect(t,n,a,s),e.current.updateRectMinMax(Nx(e.ctx),[t,n,i,r]),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,n){const i=e.ctx,r=e.current;switch(t){case G_:const e=this.ctx;i.fillStyle=e.fillStyle,i.strokeStyle=e.strokeStyle,r.fillColor=e.fillStyle,r.strokeColor=e.strokeStyle;break;case X_:const a=px.makeHexColor(n[0],n[1],n[2]);i.fillStyle=a,i.strokeStyle=a,r.fillColor=a,r.strokeColor=a;break;default:throw new ox(`Unsupported paint type: ${t}`)}}getPattern(e,t,n,i){let r=n;i!==P_&&(r=px.transform(r,t.baseTransform),this.matrix&&(r=px.transform(r,this.matrix)));const a=this.createPatternCanvas(t);let s=new DOMMatrix(r);s=s.translate(a.offsetX,a.offsetY),s=s.scale(1/a.scaleX,1/a.scaleY);const o=e.createPattern(a.canvas,"repeat");return o.setTransform(s),o}};El($_,"MAX_PATTERN_SIZE",3e3);let q_=$_;function Y_({src:e,srcPos:t=0,dest:n,width:i,height:r,nonBlackColor:a=4294967295,inverseDecode:s=!1}){const o=ux.isLittleEndian?4278190080:255,[c,l]=s?[a,o]:[o,a],h=i>>3,d=7&i,u=e.length;n=new Uint32Array(n.buffer);let f=0;for(let p=0;p>2),g=n.length,m=i+7>>3,b=4294967295,v=ux.isLittleEndian?4278190080:255;for(u=0;um?i:8*e-7,s=-8&a;let o=0,d=0;for(;r>=1}for(;c=a&&(p=r,g=i*p),c=0,f=g;f--;)d[c++]=h[l++],d[c++]=h[l++],d[c++]=h[l++],d[c++]=255;e.putImageData(o,0,u*K_)}}}function tT(e,t){if(t.bitmap)return void e.drawImage(t.bitmap,0,0);const n=t.height,i=t.width,r=n%K_,a=(n-r)/K_,s=0===r?a:a+1,o=e.createImageData(i,K_);let c=0;const l=t.data,h=o.data;for(let d=0;d10&&"function"==typeof n,l=c?Date.now()+15:0;let h=0;const d=this.commonObjs,u=this.objs;let f;for(;;){if(void 0!==i&&s===i.nextBreakPoint)return i.breakIt(s,n),s;if(f=a[s],f!==Gw.dependency)this[f].apply(this,r[s]);else for(const e of r[s]){const t=e.startsWith("g_")?d:u;if(!t.has(e))return t.get(e,n),s}if(s++,s===o)return s;if(c&&++h>10){if(Date.now()>l)return n(),s;h=0}}}endDrawing(){Fl(this,Zn,Jn).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const e of this._cachedBitmapsMap.values()){for(const t of e.values())"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),Fl(this,Zn,Qn).call(this)}_scaleImage(e,t){const n=e.width??e.displayWidth,i=e.height??e.displayHeight;let r,a,s=Math.max(Math.hypot(t[0],t[1]),1),o=Math.max(Math.hypot(t[2],t[3]),1),c=n,l=i,h="prescale1";for(;s>2&&c>1||o>2&&l>1;){let t=c,n=l;s>2&&c>1&&(t=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c/2),s/=c/t),o>2&&l>1&&(n=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,o/=l/n),r=this.cachedCanvases.getCanvas(h,t,n),a=r.context,a.clearRect(0,0,t,n),a.drawImage(e,0,0,c,l,0,0,t,n),e=r.canvas,c=t,l=n,h="prescale1"===h?"prescale2":"prescale1"}return{img:e,paintWidth:c,paintHeight:l}}_createMaskCanvas(e){const t=this.ctx,{width:n,height:i}=e,r=this.current.fillColor,a=this.current.patternFill,s=Nx(t);let o,c,l,h;if((e.bitmap||e.data)&&e.count>1){const t=e.bitmap||e.data.buffer;c=JSON.stringify(a?s:[s.slice(0,4),r]),o=this._cachedBitmapsMap.get(t),o||(o=new Map,this._cachedBitmapsMap.set(t,o));const n=o.get(c);if(n&&!a){return{canvas:n,offsetX:Math.round(Math.min(s[0],s[2])+s[4]),offsetY:Math.round(Math.min(s[1],s[3])+s[5])}}l=n}l||(h=this.cachedCanvases.getCanvas("maskCanvas",n,i),tT(h.context,e));let d=px.transform(s,[1/n,0,0,-1/i,0,0]);d=px.transform(d,[1,0,0,1,0,-i]);const[u,f,p,g]=px.getAxialAlignedBoundingBox([0,0,n,i],d),m=Math.round(p-u)||1,b=Math.round(g-f)||1,v=this.cachedCanvases.getCanvas("fillCanvas",m,b),y=v.context,w=u,x=f;y.translate(-w,-x),y.transform(...d),l||(l=this._scaleImage(h.canvas,Px(y)),l=l.img,o&&a&&o.set(c,l)),y.imageSmoothingEnabled=rT(Nx(y),e.interpolate),J_(y,l,0,0,l.width,l.height,0,0,n,i),y.globalCompositeOperation="source-in";const _=px.transform(Px(y),[1,0,0,1,-w,-x]);return y.fillStyle=a?r.getPattern(t,this,_,O_):r,y.fillRect(0,0,n,i),o&&!a&&(this.cachedCanvases.delete("fillCanvas"),o.set(c,v.canvas)),{canvas:v.canvas,offsetX:Math.round(w),offsetY:Math.round(x)}}setLineWidth(e){e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=aT[e]}setLineJoin(e){this.ctx.lineJoin=sT[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n[0],n[1]);break;case"CA":this.current.strokeAlpha=n;break;case"ca":this.current.fillAlpha=n,this.ctx.globalAlpha=n;break;case"BM":this.ctx.globalCompositeOperation=n;break;case"SMask":this.current.activeSMask=n?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(n)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,e,t);this.suspendedCtx=this.ctx,this.ctx=i.context;const r=this.ctx;r.setTransform(...Nx(this.suspendedCtx)),nT(this.suspendedCtx,r),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,i,r,a,s){t.transform(e,n,i,r,a,s),this.__originalTransform(e,n,i,r,a,s)},e.setTransform=function(e,n,i,r,a,s){t.setTransform(e,n,i,r,a,s),this.__originalSetTransform(e,n,i,r,a,s)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,i,r,a,s){t.bezierCurveTo(e,n,i,r,a,s),this.__originalBezierCurveTo(e,n,i,r,a,s)},e.rect=function(e,n,i,r){t.rect(e,n,i,r),this.__originalRect(e,n,i,r)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(r,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),nT(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask,n=this.suspendedCtx;this.composeSMask(n,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(e,t,n,i){const r=i[0],a=i[1],s=i[2]-r,o=i[3]-a;0!==s&&0!==o&&(this.genericComposeSMask(t.context,n,s,o,t.subtype,t.backdrop,t.transferMap,r,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}genericComposeSMask(e,t,n,i,r,a,s,o,c,l,h){let d=e.canvas,u=o-l,f=c-h;if(a){const t=px.makeHexColor(...a);if(u<0||f<0||u+n>d.width||f+i>d.height){const e=this.cachedCanvases.getCanvas("maskExtension",n,i),r=e.context;r.drawImage(d,-u,-f),r.globalCompositeOperation="destination-atop",r.fillStyle=t,r.fillRect(0,0,n,i),r.globalCompositeOperation="source-over",d=e.canvas,u=f=0}else{e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0);const r=new Path2D;r.rect(u,f,n,i),e.clip(r),e.globalCompositeOperation="destination-atop",e.fillStyle=t,e.fillRect(u,f,n,i),e.restore()}}t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0),"Alpha"===r&&s?t.filter=this.filterFactory.addAlphaFilter(s):"Luminosity"===r&&(t.filter=this.filterFactory.addLuminosityFilter(s));const p=new Path2D;p.rect(o,c,n,i),t.clip(p),t.globalCompositeOperation="destination-in",t.drawImage(d,u,f,n,i,o,c,n,i),t.restore()}save(){this.inSMaskMode?(nT(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),nT(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(e,t,n,i,r,a){this.ctx.transform(e,t,n,i,r,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(e,t,n){const i=this.ctx,r=this.current;let a,s,o=r.x,c=r.y;const l=Nx(i),h=0===l[0]&&0===l[3]||0===l[1]&&0===l[2],d=h?n.slice(0):null;for(let u=0,f=0,p=e.length;u100&&(l=100),this.current.fontSizeScale=t/l,this.ctx.font=`${c} ${o} ${l}px ${s}`}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,n,i,r,a){this.current.textMatrix=[e,t,n,i,r,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,n,i,r){const a=this.ctx,s=this.current,o=s.font,c=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,h=c&vw,d=!!(c&yw),u=s.patternFill&&!o.missingFile,f=s.patternStroke&&!o.missingFile;let p;if((o.disableFontFace||d||u||f)&&(p=o.getPathGenerator(this.commonObjs,e)),o.disableFontFace||u||f){if(a.save(),a.translate(t,n),a.scale(l,-l),h===pw||h===mw)if(i){const e=a.getTransform();a.setTransform(...i),a.fill(Fl(this,Zn,ei).call(this,p,e,i))}else a.fill(p);if(h===gw||h===mw)if(r){const e=a.getTransform();a.setTransform(...r),a.stroke(Fl(this,Zn,ei).call(this,p,e,r))}else a.lineWidth/=l,a.stroke(p);a.restore()}else h!==pw&&h!==mw||a.fillText(e,t,n),h!==gw&&h!==mw||a.strokeText(e,t,n);if(d){(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Nx(a),x:t,y:n,fontSize:l,path:p})}}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let i=3;i0&&t[i]<255){n=!0;break}return ex(this,"isFontSubpixelAAEnabled",n)}showText(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const i=t.fontSize;if(0===i)return;const r=this.ctx,a=t.fontSizeScale,s=t.charSpacing,o=t.wordSpacing,c=t.fontDirection,l=t.textHScale*c,h=e.length,d=n.vertical,u=d?1:-1,f=n.defaultVMetrics,p=i*t.fontMatrix[0],g=t.textRenderingMode===pw&&!n.disableFontFace&&!t.patternFill;let m,b;if(r.save(),r.transform(...t.textMatrix),r.translate(t.x,t.y+t.textRise),c>0?r.scale(l,-1):r.scale(l,1),t.patternFill){r.save();const e=t.fillColor.getPattern(r,this,Px(r),O_);m=Nx(r),r.restore(),r.fillStyle=e}if(t.patternStroke){r.save();const e=t.strokeColor.getPattern(r,this,Px(r),N_);b=Nx(r),r.restore(),r.strokeStyle=e}let v=t.lineWidth;const y=t.textMatrixScale;if(0===y||0===v){const e=t.textRenderingMode&vw;e!==gw&&e!==mw||(v=this.getSinglePixelWidth())}else v/=y;if(1!==a&&(r.scale(a,a),v/=a),r.lineWidth=v,n.isInvalidPDFjsFont){const n=[];let i=0;for(const t of e)n.push(t.unicode),i+=t.width;return r.fillText(n.join(""),0,0),t.x+=i*p*l,r.restore(),void this.compose()}let w,x=0;for(w=0;w0){const e=1e3*r.measureText(v).width/i*a;if(Dnew e(t,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new q_(t,i,this.ctx,a,r)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,n){this.ctx.strokeStyle=this.current.strokeColor=px.makeHexColor(e,t,n),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(e,t,n){this.ctx.fillStyle=this.current.fillColor=px.makeHexColor(e,t,n),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(e,t=null){let n;return this.cachedPatterns.has(e)?n=this.cachedPatterns.get(e):(n=function(e){switch(e[0]){case"RadialAxial":return new B_(e);case"Mesh":return new H_(e);case"Dummy":return new V_}throw new Error(`Unknown IR type: ${e[0]}`)}(this.getObject(e)),this.cachedPatterns.set(e,n)),t&&(n.matrix=t),n}shadingFill(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,Px(t),P_);const i=Px(t);if(i){const{width:e,height:n}=t.canvas,[r,a,s,o]=px.getAxialAlignedBoundingBox([0,0,e,n],i);this.ctx.fillRect(r,a,s-r,o-a)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Zw("Should not call beginInlineImage")}beginImageData(){Zw("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),e&&this.transform(...e),this.baseTransform=Nx(this.ctx),t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.current.updateRectMinMax(Nx(this.ctx),t),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const t=this.ctx;e.isolated||Yw(),e.knockout&&Kw();const n=Nx(t);if(e.matrix&&t.transform(...e.matrix),!e.bbox)throw new Error("Bounding box is required.");let i=px.getAxialAlignedBoundingBox(e.bbox,Nx(t));const r=[0,0,t.canvas.width,t.canvas.height];i=px.intersect(i,r)||[0,0,0,0];const a=Math.floor(i[0]),s=Math.floor(i[1]),o=Math.max(Math.ceil(i[2])-a,1),c=Math.max(Math.ceil(i[3])-s,1);this.current.startNewPathAndClipBox([0,0,o,c]);let l="groupAt"+this.groupLevel;e.smask&&(l+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(l,o,c),d=h.context;d.translate(-a,-s),d.transform(...n),e.smask?this.smaskStack.push({canvas:h.canvas,context:d,offsetX:a,offsetY:s,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(a,s),t.save()),nT(t,d),this.ctx=d,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const e=Nx(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...e);const n=px.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(n)}}beginAnnotation(e,t,n,i,r){if(Fl(this,Zn,Jn).call(this),iT(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),t){const i=t[2]-t[0],a=t[3]-t[1];if(r&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=i,t[3]=a;const[r,s]=px.singularValueDecompose2dScale(Nx(this.ctx)),{viewportScale:o}=this,c=Math.ceil(i*this.outputScaleX*o),l=Math.ceil(a*this.outputScaleY*o);this.annotationCanvas=this.canvasFactory.create(c,l);const{canvas:h,context:d}=this.annotationCanvas;this.annotationCanvasMap.set(e,h),this.annotationCanvas.savedCtx=this.ctx,this.ctx=d,this.ctx.save(),this.ctx.setTransform(r,0,0,-s,0,a*s),iT(this.ctx)}else iT(this.ctx),this.endPath(),this.ctx.rect(t[0],t[1],i,a),this.ctx.clip(),this.ctx.beginPath()}this.current=new Q_(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...i)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),Fl(this,Zn,Qn).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e){if(!this.contentVisible)return;const t=e.count;(e=this.getObject(e.data,e)).count=t;const n=this.ctx,i=this.processingType3;if(i&&(void 0===i.compiled&&(i.compiled=function(e){const{width:t,height:n}=e;if(t>1e3||n>1e3)return null;const i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),r=t+1;let a,s,o,c=new Uint8Array(r*(n+1));const l=t+7&-8;let h=new Uint8Array(l*n),d=0;for(const g of e.data){let e=128;for(;e>0;)h[d++]=g&e?0:255,e>>=1}let u=0;for(d=0,0!==h[d]&&(c[0]=1,++u),s=1;s>2)+(h[d+1]?4:0)+(h[d-l+1]?8:0),i[e]&&(c[o+s]=i[e],++u),d++;if(h[d-l]!==h[d]&&(c[o+s]=h[d]?2:4,++u),u>1e3)return null}for(d=l*(n-1),o=a*r,0!==h[d]&&(c[o]=8,++u),s=1;s1e3)return null;const f=new Int32Array([0,r,-1,0,-r,0,0,0,1]),p=new Path2D;for(a=0;u&&a<=n;a++){let e=a*r;const n=e+t;for(;e>4,c[e]&=s>>2|s<<2),p.lineTo(e%r,e/r|0),c[e]||--u}while(i!==e);--a}return h=null,c=null,function(e){e.save(),e.scale(1/t,-1/n),e.translate(0,-n),e.fill(p),e.beginPath(),e.restore()}}(e)),i.compiled))return void i.compiled(n);const r=this._createMaskCanvas(e),a=r.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(a,r.offsetX,r.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,n=0,i=0,r,a){if(!this.contentVisible)return;e=this.getObject(e.data,e);const s=this.ctx;s.save();const o=Nx(s);s.transform(t,n,i,r,0,0);const c=this._createMaskCanvas(e);s.setTransform(1,0,0,1,c.offsetX-o[4],c.offsetY-o[5]);for(let l=0,h=a.length;lt?l/t:1,s=c>t?c/t:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=s}return this._cachedScaleForStroking}rescaleAndStroke(e){const{ctx:t}=this,{lineWidth:n}=this.current,[i,r]=this.getScaleForStroking();if(t.lineWidth=n||1,1===i&&1===r)return void t.stroke();const a=t.getLineDash();if(e&&t.save(),t.scale(i,r),a.length>0){const e=Math.max(i,r);t.setLineDash(a.map((t=>t/e))),t.lineDashOffset/=e}t.stroke(),e&&t.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};for(const $ in Gw)void 0!==lT.prototype[$]&&(lT.prototype[Gw[$]]=lT.prototype[$]);class hT{static get workerPort(){return Sl(this,ti)}static set workerPort(e){if(!("undefined"!=typeof Worker&&e instanceof Worker)&&null!==e)throw new Error("Invalid `workerPort` type.");Ul(this,ti,e)}static get workerSrc(){return Sl(this,ni)}static set workerSrc(e){if("string"!=typeof e)throw new Error("Invalid `workerSrc` type.");Ul(this,ni,e)}}ti=new WeakMap,ni=new WeakMap,Cl(hT,ti,null),Cl(hT,ni,"");class dT{constructor({parsedData:e,rawData:t}){Cl(this,ii),Cl(this,ri),Ul(this,ii,e),Ul(this,ri,t)}getRaw(){return Sl(this,ri)}get(e){return Sl(this,ii).get(e)??null}getAll(){return dx(Sl(this,ii))}has(e){return Sl(this,ii).has(e)}}ii=new WeakMap,ri=new WeakMap;const uT=Symbol("INTERNAL");class fT{constructor(e,{name:t,intent:n,usage:i,rbGroups:r}){Cl(this,ai,!1),Cl(this,si,!1),Cl(this,oi,!1),Cl(this,ci,!0),Ul(this,ai,!!(e&iw)),Ul(this,si,!!(e&rw)),this.name=t,this.intent=n,this.usage=i,this.rbGroups=r}get visible(){if(Sl(this,oi))return Sl(this,ci);if(!Sl(this,ci))return!1;const{print:e,view:t}=this.usage;return Sl(this,ai)?"OFF"!==(null==t?void 0:t.viewState):!Sl(this,si)||"OFF"!==(null==e?void 0:e.printState)}_setVisible(e,t,n=!1){e!==uT&&Zw("Internal method `_setVisible` called."),Ul(this,oi,n),Ul(this,ci,t)}}ai=new WeakMap,si=new WeakMap,oi=new WeakMap,ci=new WeakMap;class pT{constructor(e,t=iw){if(Cl(this,fi),Cl(this,li,null),Cl(this,hi,new Map),Cl(this,di,null),Cl(this,ui,null),this.renderingIntent=t,this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,Ul(this,ui,e.order);for(const n of e.groups)Sl(this,hi).set(n.id,new fT(t,n));if("OFF"===e.baseState)for(const e of Sl(this,hi).values())e._setVisible(uT,!1);for(const t of e.on)Sl(this,hi).get(t)._setVisible(uT,!0);for(const t of e.off)Sl(this,hi).get(t)._setVisible(uT,!1);Ul(this,di,this.getHash())}}isVisible(e){if(0===Sl(this,hi).size)return!0;if(!e)return Yw(),!0;if("OCG"===e.type)return Sl(this,hi).has(e.id)?Sl(this,hi).get(e.id).visible:(Kw(e.id),!0);if("OCMD"===e.type){if(e.expression)return Fl(this,fi,pi).call(this,e.expression);if(!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!1}return!0}return Kw(e.policy),!0}return Kw(e.type),!0}setVisibility(e,t=!0,n=!0){var i;const r=Sl(this,hi).get(e);if(r){if(n&&t&&r.rbGroups.length)for(const t of r.rbGroups)for(const n of t)n!==e&&(null==(i=Sl(this,hi).get(n))||i._setVisible(uT,!1,!0));r._setVisible(uT,!!t,!0),Ul(this,li,null)}else Kw()}setOCGState({state:e,preserveRB:t}){let n;for(const i of e){switch(i){case"ON":case"OFF":case"Toggle":n=i;continue}const e=Sl(this,hi).get(i);if(e)switch(n){case"ON":this.setVisibility(i,!0,t);break;case"OFF":this.setVisibility(i,!1,t);break;case"Toggle":this.setVisibility(i,!e.visible,t)}}Ul(this,li,null)}get hasInitialVisibility(){return null===Sl(this,di)||this.getHash()===Sl(this,di)}getOrder(){return Sl(this,hi).size?Sl(this,ui)?Sl(this,ui).slice():[...Sl(this,hi).keys()]:null}getGroups(){return Sl(this,hi).size>0?dx(Sl(this,hi)):null}getGroup(e){return Sl(this,hi).get(e)||null}getHash(){if(null!==Sl(this,li))return Sl(this,li);const e=new l_;for(const[t,n]of Sl(this,hi))e.update(`${t}:${n.visible}`);return Ul(this,li,e.hexdigest())}}li=new WeakMap,hi=new WeakMap,di=new WeakMap,ui=new WeakMap,fi=new WeakSet,pi=function(e){const t=e.length;if(t<2)return!0;const n=e[0];for(let i=1;i0){const e=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!n,this._isRangeSupported=!t,this._contentLength=i,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),e.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),e.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),e.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),e.transportReady()}_onReceiveData({begin:e,chunk:t}){const n=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;if(void 0===e)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{Jw(this._rangeReaders.some((function(t){return t._begin===e&&(t._enqueue(n),!0)})),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}_onProgress(e){var t,n,i,r;void 0===e.total?null==(n=null==(t=this._rangeReaders[0])?void 0:t.onProgress)||n.call(t,{loaded:e.loaded}):null==(r=null==(i=this._fullRequestReader)?void 0:i.onProgress)||r.call(i,{loaded:e.loaded,total:e.total})}_onProgressiveDone(){var e;null==(e=this._fullRequestReader)||e.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){Jw(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new mT(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new bT(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeReaders.slice(0))n.cancel(e);this._pdfDataRangeTransport.abort()}}class mT{constructor(e,t,n=!1,i=null){this._stream=e,this._done=n||!1,this._filename=Ex(i)?i:null,this._queuedChunks=t||[],this._loaded=0;for(const r of this._queuedChunks)this._loaded+=r.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0){return{value:this._queuedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class bT{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function vT(e,t){const n=new Headers;if(!e||!t||"object"!=typeof t)return n;for(const i in t){const e=t[i];void 0!==e&&n.append(i,e)}return n}function yT(e){try{return new URL(e).origin}catch{}return null}function wT({responseHeaders:e,isHttp:t,rangeChunkSize:n,disableRange:i}){const r={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(e.get("Content-Length"),10);if(!Number.isInteger(a))return r;if(r.suggestedLength=a,a<=2*n)return r;if(i||!t)return r;if("bytes"!==e.get("Accept-Ranges"))return r;return"identity"!==(e.get("Content-Encoding")||"identity")||(r.allowRangeRequests=!0),r}function xT(e){const t=e.get("Content-Disposition");if(t){let e=function(e){let t=!0,n=i("filename\\*","i").exec(e);if(n){n=n[1];let e=s(n);return e=unescape(e),e=o(e),e=c(e),a(e)}if(n=function(e){const t=[];let n;const r=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=r.exec(e));){let[,e,i,r]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[i,r]}const a=[];for(let i=0;i{if(e._responseOrigin=yT(t.url),!TT(t.status))throw _T(t.status,i);this._reader=t.body.getReader(),this._headersCapability.resolve();const n=t.headers,{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=r,this._contentLength=a||this._contentLength,this._filename=xT(n),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new cx("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._headersCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class ST{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const i=e.source;this._withCredentials=i.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!i.disableStream,this._abortController=new AbortController;const r=new Headers(e.headers);r.append("Range",`bytes=${t}-${n-1}`);const a=i.url;fetch(a,DT(r,this._withCredentials,this._abortController)).then((t=>{const n=yT(t.url);if(n!==e._responseOrigin)throw new Error(`Expected range response-origin "${n}" to match "${e._responseOrigin}".`);if(!TT(t.status))throw _T(t.status,a);this._readCapability.resolve(),this._reader=t.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._readCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class CT{constructor({url:e,httpHeaders:t,withCredentials:n}){El(this,"_responseOrigin",null),this.url=e,this.isHttp=/^https?:/i.test(e),this.headers=vT(this.isHttp,t),this.withCredentials=n||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(e){const t=new XMLHttpRequest,n=this.currXhrId++,i=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const[r,a]of this.headers)t.setRequestHeader(r,a);return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),i.expectedStatus=206):i.expectedStatus=200,t.responseType="arraybuffer",Jw(e.onError,"Expected `onError` callback to be provided."),t.onerror=()=>{e.onError(t.status)},t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),i.onHeadersReceived=e.onHeadersReceived,i.onDone=e.onDone,i.onError=e.onError,i.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){var n;const i=this.pendingRequests[e];i&&(null==(n=i.onProgress)||n.call(i,t))}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==i.readyState)return;if(!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===i.status&&this.isHttp)return void n.onError(i.status);const r=i.status||200;if(!(200===r&&206===n.expectedStatus)&&r!==n.expectedStatus)return void n.onError(i.status);const a=function(e){const t=e.response;return"string"!=typeof t?t:hx(t).buffer}(i);if(206===r){const e=i.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);t?n.onDone({begin:parseInt(t[1],10),chunk:a}):(Kw(),n.onError(0))}else a?n.onDone({begin:0,chunk:a}):n.onError(i.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}class UT{constructor(e){this._source=e,this._manager=new CT(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return Jw(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new FT(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new MT(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class FT{constructor(e,t){this._manager=e,this._url=t.url,this._fullRequestId=e.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e);this._manager._responseOrigin=yT(t.responseURL);const n=t.getAllResponseHeaders(),i=new Headers(n?n.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map((e=>{const[t,...n]=e.split(": ");return[t,n.join(": ")]})):[]),{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:i,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=xT(i),this._isRangeSupported&&this._manager.abortRequest(e),this._headersCapability.resolve()}_onDone(e){if(e)if(this._requests.length>0){this._requests.shift().resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);if(this._done=!0,!(this._cachedChunks.length>0)){for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=_T(e,this._url),this._headersCapability.reject(this._storedError);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var t;null==(t=this.onProgress)||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0){return{value:this._cachedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e);for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class MT{constructor(e,t,n){this._manager=e,this._url=e.url,this._requestId=e.request({begin:t,end:n,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var e;const t=yT(null==(e=this._manager.getRequestXhr(this._requestId))?void 0:e.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var e;null==(e=this.onClosed)||e.call(this,this)}_onDone(e){const t=e.chunk;if(this._requests.length>0){this._requests.shift().resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError??(this._storedError=_T(e,this._url));for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){var t;this.isStreamingSupported||null==(t=this.onProgress)||t.call(this,{loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const RT=/^[a-z][a-z0-9\-+.]+:/i;class IT{constructor(e){this.source=e,this.url=function(e){if(RT.test(e))return new URL(e);const t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}(e.url),Jw("file:"===this.url.protocol,"PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}getFullReader(){return Jw(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new OT(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new NT(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class OT{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const n=process.getBuiltinModule("fs");n.promises.lstat(this._url).then((e=>{this._contentLength=e.size,this._setReadableStream(n.createReadStream(this._url)),this._headersCapability.resolve()}),(e=>{"ENOENT"===e.code&&(e=new ax(`Missing PDF "${this._url}".`)),this._storedError=e,this._headersCapability.reject(e)}))}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new cx("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class NT{constructor(e,t,n){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const i=e.source;this._isStreamingSupported=!i.disableStream;const r=process.getBuiltinModule("fs");this._setReadableStream(r.createReadStream(this._url,{start:t,end:n-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}const PT=30,LT=class e{constructor({textContentSource:t,container:n,viewport:i}){var r;if(Cl(this,Wi),Cl(this,mi,Promise.withResolvers()),Cl(this,bi,null),Cl(this,vi,!1),Cl(this,yi,!!(null==(gi=globalThis.FontInspector)?void 0:gi.enabled)),Cl(this,wi,null),Cl(this,xi,null),Cl(this,_i,0),Cl(this,Ti,0),Cl(this,Di,null),Cl(this,Ai,null),Cl(this,Ei,0),Cl(this,ki,0),Cl(this,Si,Object.create(null)),Cl(this,Ci,[]),Cl(this,Ui,null),Cl(this,Fi,[]),Cl(this,Mi,new WeakMap),Cl(this,Ri,null),t instanceof ReadableStream)Ul(this,Ui,t);else{if("object"!=typeof t)throw new Error('No "textContentSource" parameter specified.');Ul(this,Ui,new ReadableStream({start(e){e.enqueue(t),e.close()}}))}Ul(this,bi,Ul(this,Ai,n)),Ul(this,ki,i.scale*(globalThis.devicePixelRatio||1)),Ul(this,Ei,i.rotation),Ul(this,xi,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:s,pageX:o,pageY:c}=i.rawDims;Ul(this,Ri,[1,0,0,-1,-o,c+s]),Ul(this,Ti,a),Ul(this,_i,s),Fl(r=e,Hi,Xi).call(r),Lx(n,i),Sl(this,mi).promise.finally((()=>{Sl(e,Li).delete(this),Ul(this,xi,null),Ul(this,Si,null)})).catch((()=>{}))}static get fontFamilyMap(){const{isWindows:e,isFirefox:t}=ux.platform;return ex(this,"fontFamilyMap",new Map([["sans-serif",(e&&t?"Calibri, ":"")+"sans-serif"],["monospace",(e&&t?"Lucida Console, ":"")+"monospace"]]))}render(){const t=()=>{Sl(this,Di).read().then((({value:e,done:n})=>{n?Sl(this,mi).resolve():(Sl(this,wi)??Ul(this,wi,e.lang),Object.assign(Sl(this,Si),e.styles),Fl(this,Wi,Bi).call(this,e.items),t())}),Sl(this,mi).reject)};return Ul(this,Di,Sl(this,Ui).getReader()),Sl(e,Li).add(this),t(),Sl(this,mi).promise}update({viewport:t,onBefore:n=null}){var i;const r=t.scale*(globalThis.devicePixelRatio||1),a=t.rotation;if(a!==Sl(this,Ei)&&(null==n||n(),Ul(this,Ei,a),Lx(Sl(this,Ai),{rotation:a})),r!==Sl(this,ki)){null==n||n(),Ul(this,ki,r);const t={div:null,properties:null,ctx:Fl(i=e,Hi,Vi).call(i,Sl(this,wi))};for(const e of Sl(this,Fi))t.properties=Sl(this,Mi).get(e),t.div=e,Fl(this,Wi,zi).call(this,t)}}cancel(){var e;const t=new cx("TextLayer task cancelled.");null==(e=Sl(this,Di))||e.cancel(t).catch((()=>{})),Ul(this,Di,null),Sl(this,mi).reject(t)}get textDivs(){return Sl(this,Fi)}get textContentItemsStr(){return Sl(this,Ci)}static cleanup(){if(!(Sl(this,Li).size>0)){Sl(this,Ii).clear();for(const{canvas:e}of Sl(this,Oi).values())e.remove();Sl(this,Oi).clear()}}};mi=new WeakMap,bi=new WeakMap,vi=new WeakMap,yi=new WeakMap,wi=new WeakMap,xi=new WeakMap,_i=new WeakMap,Ti=new WeakMap,Di=new WeakMap,Ai=new WeakMap,Ei=new WeakMap,ki=new WeakMap,Si=new WeakMap,Ci=new WeakMap,Ui=new WeakMap,Fi=new WeakMap,Mi=new WeakMap,Ri=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,Ni=new WeakMap,Pi=new WeakMap,Li=new WeakMap,Wi=new WeakSet,Bi=function(e){var t,n;if(Sl(this,vi))return;(n=Sl(this,xi)).ctx??(n.ctx=Fl(t=LT,Hi,Vi).call(t,Sl(this,wi)));const i=Sl(this,Fi),r=Sl(this,Ci);for(const a of e){if(i.length>1e5)return Kw(),void Ul(this,vi,!0);if(void 0!==a.str)r.push(a.str),Fl(this,Wi,ji).call(this,a);else if("beginMarkedContentProps"===a.type||"beginMarkedContent"===a.type){const e=Sl(this,bi);Ul(this,bi,document.createElement("span")),Sl(this,bi).classList.add("markedContent"),null!==a.id&&Sl(this,bi).setAttribute("id",`${a.id}`),e.append(Sl(this,bi))}else"endMarkedContent"===a.type&&Ul(this,bi,Sl(this,bi).parentNode)}},ji=function(e){var t;const n=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:""!==e.str,hasEOL:e.hasEOL,fontSize:0};Sl(this,Fi).push(n);const r=px.transform(Sl(this,Ri),e.transform);let a=Math.atan2(r[1],r[0]);const s=Sl(this,Si)[e.fontName];s.vertical&&(a+=Math.PI/2);let o=Sl(this,yi)&&s.fontSubstitution||s.fontFamily;o=LT.fontFamilyMap.get(o)||o;const c=Math.hypot(r[2],r[3]),l=c*Fl(t=LT,Hi,$i).call(t,o,Sl(this,wi));let h,d;0===a?(h=r[4],d=r[5]-l):(h=r[4]+l*Math.sin(a),d=r[5]-l*Math.cos(a));const u="calc(var(--scale-factor)*",f=n.style;Sl(this,bi)===Sl(this,Ai)?(f.left=`${(100*h/Sl(this,Ti)).toFixed(2)}%`,f.top=`${(100*d/Sl(this,_i)).toFixed(2)}%`):(f.left=`${u}${h.toFixed(2)}px)`,f.top=`${u}${d.toFixed(2)}px)`),f.fontSize=`${u}${(Sl(LT,Pi)*c).toFixed(2)}px)`,f.fontFamily=o,i.fontSize=c,n.setAttribute("role","presentation"),n.textContent=e.str,n.dir=e.dir,Sl(this,yi)&&(n.dataset.fontName=s.fontSubstitutionLoadedName||e.fontName),0!==a&&(i.angle=a*(180/Math.PI));let p=!1;if(e.str.length>1)p=!0;else if(" "!==e.str&&e.transform[0]!==e.transform[3]){const t=Math.abs(e.transform[0]),n=Math.abs(e.transform[3]);t!==n&&Math.max(t,n)/Math.min(t,n)>1.5&&(p=!0)}if(p&&(i.canvasWidth=s.vertical?e.height:e.width),Sl(this,Mi).set(n,i),Sl(this,xi).div=n,Sl(this,xi).properties=i,Fl(this,Wi,zi).call(this,Sl(this,xi)),i.hasText&&Sl(this,bi).append(n),i.hasEOL){const e=document.createElement("br");e.setAttribute("role","presentation"),Sl(this,bi).append(e)}},zi=function(e){var t;const{div:n,properties:i,ctx:r}=e,{style:a}=n;let s="";if(Sl(LT,Pi)>1&&(s=`scale(${1/Sl(LT,Pi)})`),0!==i.canvasWidth&&i.hasText){const{fontFamily:e}=a,{canvasWidth:o,fontSize:c}=i;Fl(t=LT,Hi,Gi).call(t,r,c*Sl(this,ki),e);const{width:l}=r.measureText(n.textContent);l>0&&(s=`scaleX(${o*Sl(this,ki)/l}) ${s}`)}0!==i.angle&&(s=`rotate(${i.angle}deg) ${s}`),s.length>0&&(a.transform=s)},Hi=new WeakSet,Vi=function(e=null){let t=Sl(this,Oi).get(e||(e=""));if(!t){const n=document.createElement("canvas");n.className="hiddenCanvasElement",n.lang=e,document.body.append(n),t=n.getContext("2d",{alpha:!1,willReadFrequently:!0}),Sl(this,Oi).set(e,t),Sl(this,Ni).set(t,{size:0,family:""})}return t},Gi=function(e,t,n){const i=Sl(this,Ni).get(e);t===i.size&&n===i.family||(e.font=`${t}px ${n}`,i.size=t,i.family=n)},Xi=function(){if(null!==Sl(this,Pi))return;const e=document.createElement("div");e.style.opacity=0,e.style.lineHeight=1,e.style.fontSize="1px",e.style.position="absolute",e.textContent="X",document.body.append(e),Ul(this,Pi,e.getBoundingClientRect().height),e.remove()},$i=function(e,t){const n=Sl(this,Ii).get(e);if(n)return n;const i=Fl(this,Hi,Vi).call(this,t);i.canvas.width=i.canvas.height=PT,Fl(this,Hi,Gi).call(this,i,PT,e);const r=i.measureText("");let a=r.fontBoundingBoxAscent,s=Math.abs(r.fontBoundingBoxDescent);if(a){const t=a/(a+s);return Sl(this,Ii).set(e,t),i.canvas.width=i.canvas.height=0,t}i.strokeStyle="red",i.clearRect(0,0,PT,PT),i.strokeText("g",0,0);let o=i.getImageData(0,0,PT,PT).data;s=0;for(let l=o.length-1-3;l>=0;l-=4)if(o[l]>0){s=Math.ceil(l/4/PT);break}i.clearRect(0,0,PT,PT),i.strokeText("A",0,PT),o=i.getImageData(0,0,PT,PT).data,a=0;for(let l=0,h=o.length;l0){a=PT-Math.floor(l/4/PT);break}i.canvas.width=i.canvas.height=0;const c=a?a/(a+s):.8;return Sl(this,Ii).set(e,c),c},Cl(LT,Hi),Cl(LT,Ii,new Map),Cl(LT,Oi,new Map),Cl(LT,Ni,new WeakMap),Cl(LT,Pi,null),Cl(LT,Li,new Set);let WT=LT;class BT{static textContent(e){const t=[],n={items:t,styles:Object.create(null)};return function e(n){var i;if(!n)return;let r=null;const a=n.name;if("#text"===a)r=n.value;else{if(!BT.shouldBuildText(a))return;(null==(i=null==n?void 0:n.attributes)?void 0:i.textContent)?r=n.attributes.textContent:n.value&&(r=n.value)}if(null!==r&&t.push({str:r}),n.children)for(const t of n.children)e(t)}(e),n}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}const jT=65536,zT=Jy?class extends S_{_createCanvas(e,t){return process.getBuiltinModule("module").createRequire(import.meta.url)("@napi-rs/canvas").createCanvas(e,t)}}:class extends S_{constructor({ownerDocument:e=globalThis.document,enableHWA:t=!1}){super({enableHWA:t}),this._document=e}_createCanvas(e,t){const n=this._document.createElement("canvas");return n.width=e,n.height=t,n}},HT=Jy?class extends C_{async _fetch(e){return I_(e)}}:U_,VT=Jy?class extends F_{}:class extends F_{constructor({docId:e,ownerDocument:t=globalThis.document}){super(),Cl(this,Ln),Cl(this,Fn),Cl(this,Mn),Cl(this,Rn),Cl(this,In),Cl(this,On),Cl(this,Nn),Cl(this,Pn,0),Ul(this,In,e),Ul(this,On,t)}addFilter(e){if(!e)return"none";let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n,i,r]=Fl(this,Ln,zn).call(this,e),a=1===e.length?n:`${n}${i}${r}`;if(t=Sl(this,Ln,Wn).get(a),t)return Sl(this,Ln,Wn).set(e,t),t;const s=`g_${Sl(this,In)}_transfer_map_${Ml(this,Pn)._++}`,o=Fl(this,Ln,Hn).call(this,s);Sl(this,Ln,Wn).set(e,o),Sl(this,Ln,Wn).set(a,o);const c=Fl(this,Ln,Xn).call(this,s);return Fl(this,Ln,qn).call(this,n,i,r,c),o}addHCMFilter(e,t){var n;const i=`${e}-${t}`,r="base";let a=Sl(this,Ln,Bn).get(r);if((null==a?void 0:a.key)===i)return a.url;if(a?(null==(n=a.filter)||n.remove(),a.key=i,a.url="none",a.filter=null):(a={key:i,url:"none",filter:null},Sl(this,Ln,Bn).set(r,a)),!e||!t)return a.url;const s=Fl(this,Ln,Kn).call(this,e);e=px.makeHexColor(...s);const o=Fl(this,Ln,Kn).call(this,t);if(t=px.makeHexColor(...o),Sl(this,Ln,jn).style.color="","#000000"===e&&"#ffffff"===t||e===t)return a.url;const c=new Array(256);for(let f=0;f<=255;f++){const e=f/255;c[f]=e<=.03928?e/12.92:((e+.055)/1.055)**2.4}const l=c.join(","),h=`g_${Sl(this,In)}_hcm_filter`,d=a.filter=Fl(this,Ln,Xn).call(this,h);Fl(this,Ln,qn).call(this,l,l,l,d),Fl(this,Ln,Gn).call(this,d);const u=(e,t)=>{const n=s[e]/255,i=o[e]/255,r=new Array(t+1);for(let a=0;a<=t;a++)r[a]=n+a/t*(i-n);return r.join(",")};return Fl(this,Ln,qn).call(this,u(0,5),u(1,5),u(2,5),d),a.url=Fl(this,Ln,Hn).call(this,h),a.url}addAlphaFilter(e){let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n]=Fl(this,Ln,zn).call(this,[e]),i=`alpha_${n}`;if(t=Sl(this,Ln,Wn).get(i),t)return Sl(this,Ln,Wn).set(e,t),t;const r=`g_${Sl(this,In)}_alpha_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(i,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Yn).call(this,n,s),a}addLuminosityFilter(e){let t,n,i=Sl(this,Ln,Wn).get(e||"luminosity");if(i)return i;if(e?([t]=Fl(this,Ln,zn).call(this,[e]),n=`luminosity_${t}`):n="luminosity",i=Sl(this,Ln,Wn).get(n),i)return Sl(this,Ln,Wn).set(e,i),i;const r=`g_${Sl(this,In)}_luminosity_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(n,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Vn).call(this,s),e&&Fl(this,Ln,Yn).call(this,t,s),a}addHighlightHCMFilter(e,t,n,i,r){var a;const s=`${t}-${n}-${i}-${r}`;let o=Sl(this,Ln,Bn).get(e);if((null==o?void 0:o.key)===s)return o.url;if(o?(null==(a=o.filter)||a.remove(),o.key=s,o.url="none",o.filter=null):(o={key:s,url:"none",filter:null},Sl(this,Ln,Bn).set(e,o)),!t||!n)return o.url;const[c,l]=[t,n].map(Fl(this,Ln,Kn).bind(this));let h=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),d=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),[u,f]=[i,r].map(Fl(this,Ln,Kn).bind(this));d{const i=new Array(256),r=(d-h)/n,a=e/255,s=(t-e)/(255*n);let o=0;for(let c=0;c<=n;c++){const e=Math.round(h+c*r),t=a+c*s;for(let n=o;n<=e;n++)i[n]=t;o=e+1}for(let c=o;c<256;c++)i[c]=i[o-1];return i.join(",")},g=`g_${Sl(this,In)}_hcm_${e}_filter`,m=o.filter=Fl(this,Ln,Xn).call(this,g);return Fl(this,Ln,Gn).call(this,m),Fl(this,Ln,qn).call(this,p(u[0],f[0],5),p(u[1],f[1],5),p(u[2],f[2],5),m),o.url=Fl(this,Ln,Hn).call(this,g),o.url}destroy(e=!1){var t,n,i,r;e&&(null==(t=Sl(this,Nn))?void 0:t.size)||(null==(n=Sl(this,Rn))||n.parentNode.parentNode.remove(),Ul(this,Rn,null),null==(i=Sl(this,Mn))||i.clear(),Ul(this,Mn,null),null==(r=Sl(this,Nn))||r.clear(),Ul(this,Nn,null),Ul(this,Pn,0))}},GT=Jy?class extends M_{async _fetch(e){return I_(e)}}:R_;function XT(e={}){"string"==typeof e||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new YT,{docId:n}=t,i=e.url?function(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Jy&&"string"==typeof e)return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(e.url):null,r=e.data?function(e){if(Jy&&"undefined"!=typeof Buffer&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if("string"==typeof e)return hx(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||"object"==typeof e&&!isNaN(null==e?void 0:e.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(e.data):null,a=e.httpHeaders||null,s=!0===e.withCredentials,o=e.password??null,c=e.range instanceof KT?e.range:null,l=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:jT;let h=e.worker instanceof tD?e.worker:null;const d=e.verbosity,u="string"!=typeof e.docBaseUrl||Ax(e.docBaseUrl)?null:e.docBaseUrl,f="string"==typeof e.cMapUrl?e.cMapUrl:null,p=!1!==e.cMapPacked,g=e.CMapReaderFactory||HT,m="string"==typeof e.standardFontDataUrl?e.standardFontDataUrl:null,b=e.StandardFontDataFactory||GT,v=!0!==e.stopAtErrors,y=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,w=!1!==e.isEvalSupported,x="boolean"==typeof e.isOffscreenCanvasSupported?e.isOffscreenCanvasSupported:!Jy,_="boolean"==typeof e.isImageDecoderSupported?e.isImageDecoderSupported:!Jy&&(ux.platform.isFirefox||!globalThis.chrome),T=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,D="boolean"==typeof e.disableFontFace?e.disableFontFace:Jy,A=!0===e.fontExtraProperties,E=!0===e.enableXfa,k=e.ownerDocument||globalThis.document,S=!0===e.disableRange,C=!0===e.disableStream,U=!0===e.disableAutoFetch,F=!0===e.pdfBug,M=e.CanvasFactory||zT,R=e.FilterFactory||VT,I=!0===e.enableHWA,O=c?c.length:e.length??NaN,N="boolean"==typeof e.useSystemFonts?e.useSystemFonts:!Jy&&!D,P="boolean"==typeof e.useWorkerFetch?e.useWorkerFetch:g===U_&&b===R_&&f&&m&&Ux(f,document.baseURI)&&Ux(m,document.baseURI);var L;L=d,Number.isInteger(L)&&($w=L);const W={canvasFactory:new M({ownerDocument:k,enableHWA:I}),filterFactory:new R({docId:n,ownerDocument:k}),cMapReaderFactory:P?null:new g({baseUrl:f,isCompressed:p}),standardFontDataFactory:P?null:new b({baseUrl:m})};if(!h){const e={verbosity:d,port:hT.workerPort};h=e.port?tD.fromPort(e):new tD(e),t._worker=h}const B={docId:n,apiVersion:"4.10.38",data:r,password:o,disableAutoFetch:U,rangeChunkSize:l,length:O,docBaseUrl:u,enableXfa:E,evaluatorOptions:{maxImageSize:y,disableFontFace:D,ignoreErrors:v,isEvalSupported:w,isOffscreenCanvasSupported:x,isImageDecoderSupported:_,canvasMaxAreaInBytes:T,fontExtraProperties:A,useSystemFonts:N,cMapUrl:P?f:null,standardFontDataUrl:P?m:null}},j={disableFontFace:D,fontExtraProperties:A,ownerDocument:k,pdfBug:F,styleElement:null,loadingParams:{disableAutoFetch:U,enableXfa:E}};return h.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const e=h.messageHandler.sendWithPromise("GetDocRequest",B,r?[r.buffer]:null);let o;if(c)o=new gT(c,{disableRange:S,disableStream:C});else if(!r){if(!i)throw new Error("getDocument - no `url` parameter provided.");let e;if(Jy)if(Ux(i)){if("undefined"==typeof fetch||"undefined"==typeof Response||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");e=ET}else e=IT;else e=Ux(i)?ET:UT;o=new e({url:i,length:O,httpHeaders:a,withCredentials:s,rangeChunkSize:l,disableRange:S,disableStream:C})}return e.then((e=>{if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const i=new k_(n,e,h.port),r=new nD(i,t,o,j,W);t._transport=r,i.send("Ready",null)}))})).catch(t._capability.reject),t}function $T(e){return"object"==typeof e&&Number.isInteger(null==e?void 0:e.num)&&e.num>=0&&Number.isInteger(null==e?void 0:e.gen)&&e.gen>=0}const qT=class e{constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d"+Ml(e,qi)._++,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){var e,t,n,i;this.destroyed=!0;try{(null==(e=this._worker)?void 0:e.port)&&(this._worker._pendingDestroy=!0),await(null==(t=this._transport)?void 0:t.destroy())}catch(r){throw(null==(n=this._worker)?void 0:n.port)&&delete this._worker._pendingDestroy,r}this._transport=null,null==(i=this._worker)||i.destroy(),this._worker=null}};qi=new WeakMap,Cl(qT,qi,0);let YT=qT;class KT{constructor(e,t,n=!1,i=null){this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){Zw("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class ZT{constructor(e,t){this._pdfInfo=e,this._transport=t}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getOptionalContentConfig(t)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(e){return this._transport.cachedPageNumber(e)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class JT{constructor(e,t,n,i=!1){Cl(this,Zi),Cl(this,Yi,null),Cl(this,Ki,!1),this._pageIndex=e,this._pageInfo=t,this._transport=n,this._stats=i?new Cx:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new rD,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:r=!1}={}){return new Tx({viewBox:this.view,userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}getAnnotations({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var e;return(null==(e=this._transport._htmlForXfa)?void 0:e.children[this._pageIndex])||null}render({canvasContext:e,viewport:t,intent:n="display",annotationMode:i=hw.ENABLE,transform:r=null,background:a=null,optionalContentConfigPromise:s=null,annotationCanvasMap:o=null,pageColors:c=null,printAnnotationStorage:l=null,isEditing:h=!1}){var d,u;null==(d=this._stats)||d.time("Overall");const f=this._transport.getRenderingIntent(n,i,l,h),{renderingIntent:p,cacheKey:g}=f;Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),s||(s=this._transport.getOptionalContentConfig(p));let m=this._intentStates.get(g);m||(m=Object.create(null),this._intentStates.set(g,m)),m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);const b=!!(p&rw);m.displayReadyCapability||(m.displayReadyCapability=Promise.withResolvers(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(u=this._stats)||u.time("Page Request"),this._pumpOperatorList(f));const v=e=>{var t;m.renderTasks.delete(y),(this._maybeCleanupAfterRender||b)&&Ul(this,Ki,!0),Fl(this,Zi,Ji).call(this,!b),e?(y.capability.reject(e),this._abortOperatorList({intentState:m,reason:e instanceof Error?e:new Error(e)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(null==(t=globalThis.Stats)?void 0:t.enabled)&&globalThis.Stats.add(this.pageNumber,this._stats))},y=new oD({callback:v,params:{canvasContext:e,viewport:t,transform:r,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:o,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!b,pdfBug:this._pdfBug,pageColors:c});(m.renderTasks||(m.renderTasks=new Set)).add(y);const w=y.task;return Promise.all([m.displayReadyCapability.promise,s]).then((([e,t])=>{var n;if(this.destroyed)v();else{if(null==(n=this._stats)||n.time("Rendering"),!(t.renderingIntent&p))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");y.initializeGraphics({transparency:e,optionalContentConfig:t}),y.operatorListChanged()}})).catch(v),w}getOperatorList({intent:e="display",annotationMode:t=hw.ENABLE,printAnnotationStorage:n=null,isEditing:i=!1}={}){var r;const a=this._transport.getRenderingIntent(e,t,n,i,!0);let s,o=this._intentStates.get(a.cacheKey);return o||(o=Object.create(null),this._intentStates.set(a.cacheKey,o)),o.opListReadCapability||(s=Object.create(null),s.operatorListChanged=function(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(s))},o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(s),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(r=this._stats)||r.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===e,disableNormalization:!0===t},{highWaterMark:100,size:e=>e.items.length})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then((e=>BT.textContent(e)));const t=this.streamTextContent(e);return new Promise((function(e,n){const i=t.getReader(),r={items:[],styles:Object.create(null),lang:null};!function t(){i.read().then((function({value:n,done:i}){i?e(r):(r.lang??(r.lang=n.lang),Object.assign(r.styles,n.styles),r.items.push(...n.items),t())}),n)}()}))}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const n of t.renderTasks)e.push(n.completed),n.cancel();return this.objs.clear(),Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),Promise.all(e)}cleanup(e=!1){Ul(this,Ki,!0);const t=Fl(this,Zi,Ji).call(this,!1);return e&&t&&this._stats&&(this._stats=new Cx),t}_startRenderPage(e,t){var n,i;const r=this._intentStates.get(t);r&&(null==(n=this._stats)||n.timeEnd("Page Request"),null==(i=r.displayReadyCapability)||i.resolve(e))}_renderPageChunk(e,t){for(let n=0,i=e.length;n{s.read().then((({value:e,done:t})=>{t?o.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,o),c())}),(e=>{if(o.streamReader=null,!this._transport.destroyed){if(o.operatorList){o.operatorList.lastChunk=!0;for(const e of o.renderTasks)e.operatorListChanged();Fl(this,Zi,Ji).call(this,!0)}if(o.displayReadyCapability)o.displayReadyCapability.reject(e);else{if(!o.opListReadCapability)throw e;o.opListReadCapability.reject(e)}}}))};c()}_abortOperatorList({intentState:e,reason:t,force:n=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!n){if(e.renderTasks.size>0)return;if(t instanceof Dx){let n=100;return t.extraDelay>0&&t.extraDelay<1e3&&(n+=t.extraDelay),void(e.streamReaderCancelTimeout=setTimeout((()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})}),n))}}if(e.streamReader.cancel(new cx(t.message)).catch((()=>{})),e.streamReader=null,!this._transport.destroyed){for(const[t,n]of this._intentStates)if(n===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}Yi=new WeakMap,Ki=new WeakMap,Zi=new WeakSet,Ji=function(e=!1){if(Fl(this,Zi,Qi).call(this),!Sl(this,Ki)||this.destroyed)return!1;if(e)return Ul(this,Yi,setTimeout((()=>{Ul(this,Yi,null),Fl(this,Zi,Ji).call(this,!1)}),5e3)),!1;for(const{renderTasks:t,operatorList:n}of this._intentStates.values())if(t.size>0||!n.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),Ul(this,Ki,!1),!0},Qi=function(){Sl(this,Yi)&&(clearTimeout(Sl(this,Yi)),Ul(this,Yi,null))};class QT{constructor(){Cl(this,er,new Map),Cl(this,tr,Promise.resolve())}postMessage(e,t){const n={data:structuredClone(e,t?{transfer:t}:null)};Sl(this,tr).then((()=>{for(const[e]of Sl(this,er))e.call(this,n)}))}addEventListener(e,t,n=null){let i=null;if((null==n?void 0:n.signal)instanceof AbortSignal){const{signal:r}=n;if(r.aborted)return void Kw();const a=()=>this.removeEventListener(e,t);i=()=>r.removeEventListener("abort",a),r.addEventListener("abort",a)}Sl(this,er).set(t,i)}removeEventListener(e,t){const n=Sl(this,er).get(t);null==n||n(),Sl(this,er).delete(t)}terminate(){for(const[,e]of Sl(this,er))null==e||e();Sl(this,er).clear()}}er=new WeakMap,tr=new WeakMap;const eD=class e{constructor({name:t=null,port:n=null,verbosity:i=qw()}={}){var r;if(Cl(this,ar),this.name=t,this.destroyed=!1,this.verbosity=i,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if(null==(r=Sl(e,rr))?void 0:r.has(n))throw new Error("Cannot use more than one PDFWorker per port.");return(Sl(e,rr)||Ul(e,rr,new WeakMap)).set(n,this),void this._initializeFromPort(n)}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new k_("main","worker",e),this._messageHandler.on("ready",(function(){})),Fl(this,ar,sr).call(this)}_initialize(){if(Sl(e,ir)||Sl(e,or,cr))return void this._setupFakeWorker();let{workerSrc:t}=e;try{e._isSameOrigin(window.location.href,t)||(t=e._createCDNWrapper(new URL(t,window.location).href));const n=new Worker(t,{type:"module"}),i=new k_("main","worker",n),r=()=>{a.abort(),i.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},a=new AbortController;n.addEventListener("error",(()=>{this._webWorker||r()}),{signal:a.signal}),i.on("test",(e=>{a.abort(),!this.destroyed&&e?(this._messageHandler=i,this._port=n,this._webWorker=n,Fl(this,ar,sr).call(this)):r()})),i.on("ready",(e=>{if(a.abort(),this.destroyed)r();else try{s()}catch{this._setupFakeWorker()}}));const s=()=>{const e=new Uint8Array;i.send("test",e,[e.buffer])};return void s()}catch{Yw()}this._setupFakeWorker()}_setupFakeWorker(){Sl(e,ir)||(Kw(),Ul(e,ir,!0)),e._setupFakeWorkerGlobal.then((t=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const n=new QT;this._port=n;const i="fake"+Ml(e,nr)._++,r=new k_(i+"_worker",i,n);t.setup(r,n),this._messageHandler=new k_(i,i+"_worker",n),Fl(this,ar,sr).call(this)})).catch((e=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${e.message}".`))}))}destroy(){var t,n,i;this.destroyed=!0,null==(t=this._webWorker)||t.terminate(),this._webWorker=null,null==(n=Sl(e,rr))||n.delete(this._port),this._port=null,null==(i=this._messageHandler)||i.destroy(),this._messageHandler=null}static fromPort(t){var n;if(!(null==t?void 0:t.port))throw new Error("PDFWorker.fromPort - invalid method signature.");const i=null==(n=Sl(this,rr))?void 0:n.get(t.port);if(i){if(i._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return i}return new e(t)}static get workerSrc(){if(hT.workerSrc)return hT.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return ex(this,"_setupFakeWorkerGlobal",(async()=>{if(Sl(this,or,cr))return Sl(this,or,cr);return(await import( +/*webpackIgnore: true*/ +this.workerSrc)).WorkerMessageHandler})())}};nr=new WeakMap,ir=new WeakMap,rr=new WeakMap,ar=new WeakSet,sr=function(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})},or=new WeakSet,cr=function(){var e;try{return(null==(e=globalThis.pdfjsWorker)?void 0:e.WorkerMessageHandler)||null}catch{return null}},Cl(eD,or),Cl(eD,nr,0),Cl(eD,ir,!1),Cl(eD,rr),Jy&&(Ul(eD,ir,!0),hT.workerSrc||(hT.workerSrc="./pdf.worker.mjs")),eD._isSameOrigin=(e,t)=>{let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch{return!1}const i=new URL(t,n);return n.origin===i.origin},eD._createCDNWrapper=e=>{const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))};let tD=eD;class nD{constructor(e,t,n,i,r){Cl(this,pr),Cl(this,lr,new Map),Cl(this,hr,new Map),Cl(this,dr,new Map),Cl(this,ur,new Map),Cl(this,fr,null),this.messageHandler=e,this.loadingTask=t,this.commonObjs=new rD,this.fontLoader=new f_({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.cMapReaderFactory=r.cMapReaderFactory,this.standardFontDataFactory=r.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return ex(this,"annotationStorage",new d_)}getRenderingIntent(e,t=hw.ENABLE,n=null,i=!1,r=!1){let a=iw,s=h_;switch(e){case"any":a=nw;break;case"display":break;case"print":a=rw;break;default:Kw()}const o=a&rw&&n instanceof u_?n:this.annotationStorage;switch(t){case hw.DISABLE:a+=ow;break;case hw.ENABLE:break;case hw.ENABLE_FORMS:a+=aw;break;case hw.ENABLE_STORAGE:a+=sw,s=o.serializable;break;default:Kw()}i&&(a+=cw),r&&(a+=lw);const{ids:c,hash:l}=o.modifiedIds;return{renderingIntent:a,cacheKey:[a,s.hash,l].join("_"),annotationStorageSerializable:s,modifiedIds:c}}destroy(){var e;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null==(e=Sl(this,fr))||e.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const i of Sl(this,hr).values())t.push(i._destroy());Sl(this,hr).clear(),Sl(this,dr).clear(),Sl(this,ur).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then((()=>{var e,t;this.commonObjs.clear(),this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(),WT.cleanup(),null==(e=this._networkStream)||e.cancelAllRequests(new cx("Worker was terminated.")),null==(t=this.messageHandler)||t.destroy(),this.messageHandler=null,this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{Jw(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(async e=>{var n;await this._fullReader.headersReady;const{isStreamingSupported:i,isRangeSupported:r,contentLength:a}=this._fullReader;return i&&r||(this._lastProgress&&(null==(n=t.onProgress)||n.call(t,this._lastProgress)),this._fullReader.onProgress=e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})}),{isStreamingSupported:i,isRangeSupported:r,contentLength:a}})),e.on("GetRangeReader",((e,t)=>{Jw(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(({pdfInfo:e})=>{this._numPages=e.numPages,this._htmlForXfa=e.htmlForXfa,delete e.htmlForXfa,t._capability.resolve(new ZT(e,this))})),e.on("DocException",(e=>{t._capability.reject(E_(e))})),e.on("PasswordRequest",(e=>{Ul(this,fr,Promise.withResolvers());try{if(!t.onPassword)throw E_(e);const n=e=>{e instanceof Error?Sl(this,fr).reject(e):Sl(this,fr).resolve({password:e})};t.onPassword(n,e.code)}catch(n){Sl(this,fr).reject(n)}return Sl(this,fr).promise})),e.on("DataLoaded",(e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{if(this.destroyed)return;Sl(this,hr).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(([t,n,i])=>{var r;if(this.destroyed)return null;if(this.commonObjs.has(t))return null;switch(n){case"Font":const{disableFontFace:a,fontExtraProperties:s,pdfBug:o}=this._params;if("error"in i){const e=i.error;Kw(),this.commonObjs.resolve(t,e);break}const c=o&&(null==(r=globalThis.FontInspector)?void 0:r.enabled)?(e,t)=>globalThis.FontInspector.fontAdded(e,t):null,l=new p_(i,{disableFontFace:a,fontExtraProperties:s,inspectFont:c});this.fontLoader.bind(l).catch((()=>e.sendWithPromise("FontFallback",{id:t}))).finally((()=>{!s&&l.data&&(l.data=null),this.commonObjs.resolve(t,l)}));break;case"CopyLocalImage":const{imageRef:h}=i;Jw(h,"The imageRef must be defined.");for(const e of Sl(this,hr).values())for(const[,n]of e.objs)if((null==n?void 0:n.ref)===h)return n.dataLen?(this.commonObjs.resolve(t,structuredClone(n)),n.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(t,i);break;default:throw new Error(`Got unknown common object type ${n}`)}return null})),e.on("obj",(([e,t,n,i])=>{var r;if(this.destroyed)return;const a=Sl(this,hr).get(t);if(!a.objs.has(e))if(0!==a._intentStates.size)switch(n){case"Image":a.objs.resolve(e,i),(null==i?void 0:i.dataLen)>1e7&&(a._maybeCleanupAfterRender=!0);break;case"Pattern":a.objs.resolve(e,i);break;default:throw new Error(`Got unknown object type ${n}`)}else null==(r=null==i?void 0:i.bitmap)||r.close()})),e.on("DocProgress",(e=>{var n;this.destroyed||null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})})),e.on("FetchBuiltInCMap",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(e)})),e.on("FetchStandardFontData",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(e)}))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var e;this.annotationStorage.size<=0&&Kw();const{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:(null==(e=this._fullReader)?void 0:e.filename)??null},n).finally((()=>{this.annotationStorage.resetModified()}))}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request."));const t=e-1,n=Sl(this,dr).get(t);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((n=>{if(this.destroyed)throw new Error("Transport destroyed");n.refStr&&Sl(this,ur).set(n.refStr,e);const i=new JT(t,n,this,this._params.pdfBug);return Sl(this,hr).set(t,i),i}));return Sl(this,dr).set(t,i),i}getPageIndex(e){return $T(e)?this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}getFieldObjects(){return Fl(this,pr,gr).call(this,"GetFieldObjects")}hasJSActions(){return Fl(this,pr,gr).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return Fl(this,pr,gr).call(this,"GetDocJSActions")}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(e){return Fl(this,pr,gr).call(this,"GetOptionalContentConfig").then((t=>new pT(t,e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const e="GetMetadata",t=Sl(this,lr).get(e);if(t)return t;const n=this.messageHandler.sendWithPromise(e,null).then((e=>{var t,n;return{info:e[0],metadata:e[1]?new dT(e[1]):null,contentDispositionFilename:(null==(t=this._fullReader)?void 0:t.filename)??null,contentLength:(null==(n=this._fullReader)?void 0:n.contentLength)??null}}));return Sl(this,lr).set(e,n),n}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const e of Sl(this,hr).values()){if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`)}this.commonObjs.clear(),e||this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(!0),WT.cleanup()}}cachedPageNumber(e){if(!$T(e))return null;const t=0===e.gen?`${e.num}R`:`${e.num}R${e.gen}`;return Sl(this,ur).get(t)??null}}lr=new WeakMap,hr=new WeakMap,dr=new WeakMap,ur=new WeakMap,fr=new WeakMap,pr=new WeakSet,gr=function(e,t=null){const n=Sl(this,lr).get(e);if(n)return n;const i=this.messageHandler.sendWithPromise(e,t);return Sl(this,lr).set(e,i),i};const iD=Symbol("INITIAL_DATA");class rD{constructor(){Cl(this,br),Cl(this,mr,Object.create(null))}get(e,t=null){if(t){const n=Fl(this,br,vr).call(this,e);return n.promise.then((()=>t(n.data))),null}const n=Sl(this,mr)[e];if(!n||n.data===iD)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return n.data}has(e){const t=Sl(this,mr)[e];return!!t&&t.data!==iD}delete(e){const t=Sl(this,mr)[e];return!(!t||t.data===iD)&&(delete Sl(this,mr)[e],!0)}resolve(e,t=null){const n=Fl(this,br,vr).call(this,e);n.data=t,n.resolve()}clear(){var e;for(const t in Sl(this,mr)){const{data:n}=Sl(this,mr)[t];null==(e=null==n?void 0:n.bitmap)||e.close()}Ul(this,mr,Object.create(null))}*[Symbol.iterator](){for(const e in Sl(this,mr)){const{data:t}=Sl(this,mr)[e];t!==iD&&(yield[e,t])}}}mr=new WeakMap,br=new WeakSet,vr=function(e){var t;return(t=Sl(this,mr))[e]||(t[e]={...Promise.withResolvers(),data:iD})};class aD{constructor(e){Cl(this,yr,null),Ul(this,yr,e),this.onContinue=null}get promise(){return Sl(this,yr).capability.promise}cancel(e=0){Sl(this,yr).cancel(null,e)}get separateAnnots(){const{separateAnnots:e}=Sl(this,yr).operatorList;if(!e)return!1;const{annotationCanvasMap:t}=Sl(this,yr);return e.form||e.canvas&&(null==t?void 0:t.size)>0}}yr=new WeakMap;const sD=class e{constructor({callback:e,params:t,objs:n,commonObjs:i,annotationCanvasMap:r,operatorList:a,pageIndex:s,canvasFactory:o,filterFactory:c,useRequestAnimationFrame:l=!1,pdfBug:h=!1,pageColors:d=null}){Cl(this,wr,null),this.callback=e,this.params=t,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=o,this.filterFactory=c,this._pdfBug=h,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new aD(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){var i,r;if(this.cancelled)return;if(this._canvas){if(Sl(e,xr).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Sl(e,xr).add(this._canvas)}this._pdfBug&&(null==(i=globalThis.StepperManager)?void 0:i.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:a,viewport:s,transform:o,background:c}=this.params;this.gfx=new lT(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:s,transparency:t,background:c}),this.operatorListIdx=0,this.graphicsReady=!0,null==(r=this.graphicsReadyCallback)||r.call(this)}cancel(t=null,n=0){var i;this.running=!1,this.cancelled=!0,null==(i=this.gfx)||i.endDrawing(),Sl(this,wr)&&(window.cancelAnimationFrame(Sl(this,wr)),Ul(this,wr,null)),Sl(e,xr).delete(this._canvas),this.callback(t||new Dx(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){var e;this.graphicsReady?(null==(e=this.stepper)||e.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?Ul(this,wr,window.requestAnimationFrame((()=>{Ul(this,wr,null),this._nextBound().catch(this._cancelBound)}))):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),Sl(e,xr).delete(this._canvas),this.callback())))}};wr=new WeakMap,xr=new WeakMap,Cl(sD,xr,new WeakSet);let oD=sD;const cD="4.10.38",lD="f9bea397f";function hD(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}function dD(e){return Math.max(0,Math.min(255,255*e))}class uD{static CMYK_G([e,t,n,i]){return["G",1-Math.min(1,.3*e+.59*n+.11*t+i)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_rgb([e]){return[e=dD(e),e,e]}static G_HTML([e]){const t=hD(e);return`#${t}${t}${t}`}static RGB_G([e,t,n]){return["G",.3*e+.59*t+.11*n]}static RGB_rgb(e){return e.map(dD)}static RGB_HTML(e){return`#${e.map(hD).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([e,t,n,i]){return["RGB",1-Math.min(1,e+i),1-Math.min(1,n+i),1-Math.min(1,t+i)]}static CMYK_rgb([e,t,n,i]){return[dD(1-Math.min(1,e+i)),dD(1-Math.min(1,n+i)),dD(1-Math.min(1,t+i))]}static CMYK_HTML(e){const t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,n]){const i=1-e,r=1-t,a=1-n;return["CMYK",i,r,a,Math.min(i,r,a)]}}class fD{create(e,t,n=!1){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),n||(i.setAttribute("width",`${e}px`),i.setAttribute("height",`${t}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${e} ${t}`),i}createElement(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){Zw("Abstract method `_createSVG` called.")}}class pD extends fD{_createSVG(e){return document.createElementNS(yx,e)}}class gD{static setupStorage(e,t,n,i,r){const a=i.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==a.value&&(e.textContent=a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(a.value===n.attributes.xfaOn?e.setAttribute("checked",!0):a.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===r)break;e.addEventListener("change",(e=>{i.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&e.setAttribute("value",a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==a.value){e.setAttribute("value",a.value);for(const e of n.children)e.attributes.value===a.value?e.attributes.selected=!0:e.attributes.hasOwnProperty("selected")&&delete e.attributes.selected}e.addEventListener("input",(e=>{const n=e.target.options,r=-1===n.selectedIndex?"":n[n.selectedIndex].value;i.setValue(t,{value:r})}))}}static setAttributes({html:e,element:t,storage:n=null,intent:i,linkService:r}){const{attributes:a}=t,s=e instanceof HTMLAnchorElement;"radio"===a.type&&(a.name=`${a.name}-${i}`);for(const[o,c]of Object.entries(a))if(null!=c)switch(o){case"class":c.length&&e.setAttribute(o,c.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",c);break;case"style":Object.assign(e.style,c);break;case"textContent":e.textContent=c;break;default:(!s||"href"!==o&&"newWindow"!==o)&&e.setAttribute(o,c)}s&&r.addLinkAttributes(e,a.href,a.newWindow),n&&a.dataId&&this.setupStorage(e,a.dataId,t,n)}static render(e){var t,n;const i=e.annotationStorage,r=e.linkService,a=e.xfaHtml,s=e.intent||"display",o=document.createElement(a.name);a.attributes&&this.setAttributes({html:o,element:a,intent:s,linkService:r});const c="richText"!==s,l=e.div;if(l.append(o),e.viewport){const t=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=t}c&&l.setAttribute("class","xfaLayer xfaFont");const h=[];if(0===a.children.length){if(a.value){const e=document.createTextNode(a.value);o.append(e),c&&BT.shouldBuildText(a.name)&&h.push(e)}return{textDivs:h}}const d=[[a,-1,o]];for(;d.length>0;){const[e,a,o]=d.at(-1);if(a+1===e.children.length){d.pop();continue}const l=e.children[++d.at(-1)[1]];if(null===l)continue;const{name:u}=l;if("#text"===u){const e=document.createTextNode(l.value);h.push(e),o.append(e);continue}const f=(null==(t=null==l?void 0:l.attributes)?void 0:t.xmlns)?document.createElementNS(l.attributes.xmlns,u):document.createElement(u);if(o.append(f),l.attributes&&this.setAttributes({html:f,element:l,storage:i,intent:s,linkService:r}),(null==(n=l.children)?void 0:n.length)>0)d.push([l,-1,f]);else if(l.value){const e=document.createTextNode(l.value);c&&BT.shouldBuildText(u)&&h.push(e),f.append(e)}}for(const u of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))u.setAttribute("readOnly",!0);return{textDivs:h}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}const mD=1e3,bD=new WeakSet;function vD(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class yD{static create(e){switch(e.data.annotationType){case _w:return new xD(e);case xw:return new _D(e);case Lw:switch(e.data.fieldType){case"Tx":return new DD(e);case"Btn":return e.data.radioButton?new kD(e):e.data.checkBox?new ED(e):new SD(e);case"Ch":return new CD(e);case"Sig":return new AD(e)}return new TD(e);case Nw:return new UD(e);case Tw:return new MD(e);case Dw:return new RD(e);case Aw:return new ID(e);case Ew:return new OD(e);case Sw:return new ND(e);case Iw:return new LD(e);case Ow:return new WD(e);case kw:return new PD(e);case Cw:return new BD(e);case Uw:return new jD(e);case Fw:return new zD(e);case Mw:return new HD(e);case Rw:return new VD(e);case Pw:return new GD(e);default:return new wD(e)}}}_r=new WeakMap,Tr=new WeakMap,Dr=new WeakMap,Ar=new WeakSet,Er=function(e){const{container:{style:t},data:{rect:n,rotation:i},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:s,pageY:o}}}}=this;null==n||n.splice(0,4,...e);const{width:c,height:l}=vD(e);t.left=100*(e[0]-s)/r+"%",t.top=100*(a-e[3]+o)/a+"%",0===i?(t.width=100*c/r+"%",t.height=100*l/a+"%"):this.setRotation(i)};let wD=class e{constructor(e,{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:i=!1}={}){Cl(this,Ar),Cl(this,_r,null),Cl(this,Tr,!1),Cl(this,Dr,null),this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,t&&(this.container=this._createContainer(n)),i&&this._createQuadrilaterals()}static _hasPopupData({titleObj:e,contentsObj:t,richText:n}){return!!((null==e?void 0:e.str)||(null==t?void 0:t.str)||(null==n?void 0:n.str))}get _isEditable(){return this.data.isEditable}get hasPopupData(){return e._hasPopupData(this.data)}updateEdited(e){var t;if(!this.container)return;Sl(this,_r)||Ul(this,_r,{rect:this.data.rect.slice(0)});const{rect:n}=e;n&&Fl(this,Ar,Er).call(this,n),null==(t=Sl(this,Dr))||t.popup.updateEdited(e)}resetEdited(){var e;Sl(this,_r)&&(Fl(this,Ar,Er).call(this,Sl(this,_r).rect),null==(e=Sl(this,Dr))||e.popup.resetEdited(),Ul(this,_r,null))}_createContainer(e){const{data:t,parent:{page:n,viewport:i}}=this,r=document.createElement("section");r.setAttribute("data-annotation-id",t.id),this instanceof TD||(r.tabIndex=mD);const{style:a}=r;if(a.zIndex=this.parent.zIndex++,t.alternativeText&&(r.title=t.alternativeText),t.noRotate&&r.classList.add("norotate"),!t.rect||this instanceof UD){const{rotation:e}=t;return t.hasOwnCanvas||0===e||this.setRotation(e,r),r}const{width:s,height:o}=vD(t.rect);if(!e&&t.borderStyle.width>0){a.borderWidth=`${t.borderStyle.width}px`;const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t=`calc(${e}px * var(--scale-factor)) / calc(${n}px * var(--scale-factor))`;a.borderRadius=t}else if(this instanceof kD){const e=`calc(${s}px * var(--scale-factor)) / calc(${o}px * var(--scale-factor))`;a.borderRadius=e}switch(t.borderStyle.style){case Ww:a.borderStyle="solid";break;case Bw:a.borderStyle="dashed";break;case jw:case zw:Kw();break;case Hw:a.borderBottomStyle="solid"}const i=t.borderColor||null;i?(Ul(this,Tr,!0),a.borderColor=px.makeHexColor(0|i[0],0|i[1],0|i[2])):a.borderWidth=0}const c=px.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]),{pageWidth:l,pageHeight:h,pageX:d,pageY:u}=i.rawDims;a.left=100*(c[0]-d)/l+"%",a.top=100*(c[1]-u)/h+"%";const{rotation:f}=t;return t.hasOwnCanvas||0===f?(a.width=100*s/l+"%",a.height=100*o/h+"%"):this.setRotation(f,r),r}setRotation(e,t=this.container){if(!this.data.rect)return;const{pageWidth:n,pageHeight:i}=this.parent.viewport.rawDims,{width:r,height:a}=vD(this.data.rect);let s,o;e%180==0?(s=100*r/n,o=100*a/i):(s=100*a/n,o=100*r/i),t.style.width=`${s}%`,t.style.height=`${o}%`,t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){const e=(e,t,n)=>{const i=n.detail[e],r=i[0],a=i.slice(1);n.target.style[t]=uD[`${r}_HTML`](a),this.annotationStorage.setValue(this.data.id,{[t]:uD[`${r}_rgb`](a)})};return ex(this,"_commonActions",{display:e=>{const{display:t}=e.detail,n=t%2==1;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:n,noPrint:1===t||2===t})},print:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{const{hidden:t}=e.detail;this.container.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:t,noView:t})},focus:e=>{setTimeout((()=>e.target.focus({preventScroll:!1})),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:e=>{const t=e.detail.rotation;this.setRotation(t),this.annotationStorage.setValue(this.data.id,{rotation:t})}})}_dispatchEventFromSandbox(e,t){const n=this._commonActions;for(const i of Object.keys(t.detail)){const r=e[i]||n[i];null==r||r(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;const t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;const n=this._commonActions;for(const[i,r]of Object.entries(t)){const a=n[i];if(a){a({detail:{[i]:r},target:e}),delete t[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:e}=this.data;if(!e)return;const[t,n,i,r]=this.data.rect.map((e=>Math.fround(e)));if(8===e.length){const[a,s,o,c]=e.subarray(2,6);if(i===a&&r===s&&t===o&&n===c)return}const{style:a}=this.container;let s;if(Sl(this,Tr)){const{borderColor:e,borderWidth:t}=a;a.borderWidth=0,s=["url('data:image/svg+xml;utf8,",'',``],this.container.classList.add("hasBorder")}const o=i-t,c=r-n,{svgFactory:l}=this,h=l.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0);const d=l.createElement("defs");h.append(d);const u=l.createElement("clipPath"),f=`clippath_${this.data.id}`;u.setAttribute("id",f),u.setAttribute("clipPathUnits","objectBoundingBox"),d.append(u);for(let p=2,g=e.length;p`)}Sl(this,Tr)&&(s.push("')"),a.backgroundImage=s.join("")),this.container.append(h),this.container.style.clipPath=`url(#${f})`}_createPopup(){const{data:e}=this,t=Ul(this,Dr,new UD({data:{color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,parentRect:e.rect,borderStyle:0,id:`popup_${e.id}`,rotation:e.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(t.render())}render(){Zw("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){const n=[];if(this._fieldObjects){const i=this._fieldObjects[e];if(i)for(const{page:e,id:r,exportValues:a}of i){if(-1===e)continue;if(r===t)continue;const i="string"==typeof a?a:null,s=document.querySelector(`[data-element-id="${r}"]`);!s||bD.has(s)?n.push({id:r,exportValue:i,domElement:s}):Kw()}return n}for(const i of document.getElementsByName(e)){const{exportValue:e}=i,r=i.getAttribute("data-element-id");r!==t&&(bD.has(i)&&n.push({id:r,exportValue:e,domElement:i}))}return n}show(){var e;this.container&&(this.container.hidden=!1),null==(e=this.popup)||e.maybeShow()}hide(){var e;this.container&&(this.container.hidden=!0),null==(e=this.popup)||e.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(const t of e)t.classList.add("highlightArea");else e.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener("dblclick",(()=>{var n;null==(n=this.linkService.eventBus)||n.dispatch("switchannotationeditormode",{source:this,mode:e,editId:t})}))}};class xD extends wD{constructor(e,t=null){super(e,{isRenderable:!0,ignoreBorder:!!(null==t?void 0:t.ignoreBorder),createQuadrilaterals:!0}),Cl(this,kr),this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:t}=this,n=document.createElement("a");n.setAttribute("data-element-id",e.id);let i=!1;return e.url?(t.addLinkAttributes(n,e.url,e.newWindow),i=!0):e.action?(this._bindNamedAction(n,e.action),i=!0):e.attachment?(Fl(this,kr,Cr).call(this,n,e.attachment,e.attachmentDest),i=!0):e.setOCGState?(Fl(this,kr,Ur).call(this,n,e.setOCGState),i=!0):e.dest?(this._bindLink(n,e.dest),i=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,e),i=!0),e.resetForm?(this._bindResetFormAction(n,e.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(n,""),i=!0)),this.container.classList.add("linkAnnotation"),i&&this.container.append(n),this.container}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&Fl(this,kr,Sr).call(this)}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),Fl(this,kr,Sr).call(this)}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(t.actions)){const r=n.get(i);r&&(e[r]=()=>{var e;return null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:i}}),!1})}e.onclick||(e.onclick=()=>!1),Fl(this,kr,Sr).call(this)}_bindResetFormAction(e,t){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),Fl(this,kr,Sr).call(this),!this._fieldObjects)return Kw(),void(n||(e.onclick=()=>!1));e.onclick=()=>{var e;null==n||n();const{fields:i,refs:r,include:a}=t,s=[];if(0!==i.length||0!==r.length){const e=new Set(r);for(const t of i){const n=this._fieldObjects[t]||[];for(const{id:t}of n)e.add(t)}for(const t of Object.values(this._fieldObjects))for(const n of t)e.has(n.id)===a&&s.push(n)}else for(const t of Object.values(this._fieldObjects))s.push(...t);const o=this.annotationStorage,c=[];for(const t of s){const{id:e}=t;switch(c.push(e),t.type){case"text":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}case"checkbox":case"radiobutton":{const n=t.defaultValue===t.exportValues;o.setValue(e,{value:n});break}case"combobox":case"listbox":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}default:continue}const n=document.querySelector(`[data-element-id="${e}"]`);n&&(bD.has(n)?n.dispatchEvent(new Event("resetform")):Kw())}return this.enableScripting&&(null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:c,name:"ResetForm"}})),!1}}}kr=new WeakSet,Sr=function(){this.container.setAttribute("data-internal-link","")},Cr=function(e,t,n=null){e.href=this.linkService.getAnchorUrl(""),t.description&&(e.title=t.description),e.onclick=()=>{var e;return null==(e=this.downloadManager)||e.openOrDownloadData(t.content,t.filename,n),!1},Fl(this,kr,Sr).call(this)},Ur=function(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(t),!1),Fl(this,kr,Sr).call(this)};class _D extends wD{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),e.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(e),this.container}}class TD extends wD{render(){return this.container}showElementAndHideCanvas(e){var t;this.data.hasOwnCanvas&&("CANVAS"===(null==(t=e.previousSibling)?void 0:t.nodeName)&&(e.previousSibling.hidden=!0),e.hidden=!1)}_getKeyModifier(e){return ux.platform.isMac?e.metaKey:e.ctrlKey}_setEventListener(e,t,n,i,r){n.includes("mouse")?e.addEventListener(n,(e=>{var t;null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(n,(e=>{var a;if("blur"===n){if(!t.focused||!e.relatedTarget)return;t.focused=!1}else if("focus"===n){if(t.focused)return;t.focused=!0}r&&(null==(a=this.linkService.eventBus)||a.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e)}}))}))}_setEventListeners(e,t,n,i){var r,a,s;for(const[o,c]of n)("Action"===c||(null==(r=this.data.actions)?void 0:r[c]))&&("Focus"!==c&&"Blur"!==c||t||(t={focused:!1}),this._setEventListener(e,t,o,c,i),"Focus"!==c||(null==(a=this.data.actions)?void 0:a.Blur)?"Blur"!==c||(null==(s=this.data.actions)?void 0:s.Focus)||this._setEventListener(e,t,"focus","Focus",null):this._setEventListener(e,t,"blur","Blur",null))}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":px.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){const t=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||9,r=e.style;let a;const s=e=>Math.round(10*e)/10;if(this.data.multiLine){const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2),t=e/(Math.round(e/(tw*i))||1);a=Math.min(i,s(t/tw))}else{const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2);a=Math.min(i,s(e/tw))}r.fontSize=`calc(${a}px * var(--scale-factor))`,r.color=px.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(r.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class DD extends TD{constructor(e){super(e,{isRenderable:e.renderForms||e.data.hasOwnCanvas||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,n,i){const r=this.annotationStorage;for(const a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=n),r.setValue(a.id,{[i]:n})}render(){var e,t;const n=this.annotationStorage,i=this.data.id;this.container.classList.add("textWidgetAnnotation");let r=null;if(this.renderForms){const a=n.getValue(i,{value:this.data.fieldValue});let s=a.value||"";const o=n.getValue(i,{charLimit:this.data.maxLen}).charLimit;o&&s.length>o&&(s=s.slice(0,o));let c=a.formattedValue||(null==(e=this.data.textContent)?void 0:e.join("\n"))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const l={userValue:s,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=c??s,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",c??s),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),bD.add(r),r.setAttribute("data-element-id",i),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=mD,this._setRequired(r,this.data.required),o&&(r.maxLength=o),r.addEventListener("input",(e=>{n.setValue(i,{value:e.target.value}),this.setPropertyOnSiblings(r,"value",e.target.value,"value"),l.formattedValue=null})),r.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue??"";r.value=l.userValue=t,l.formattedValue=null}));let h=e=>{const{formattedValue:t}=l;null!=t&&(e.target.value=t),e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",(e=>{var t;if(l.focused)return;const{target:n}=e;l.userValue&&(n.value=l.userValue),l.lastCommittedValue=n.value,l.commitKey=1,(null==(t=this.data.actions)?void 0:t.Focus)||(l.focused=!0)})),r.addEventListener("updatefromsandbox",(e=>{this.showElementAndHideCanvas(e.target);const t={value(e){l.userValue=e.detail.value??"",n.setValue(i,{value:l.userValue.toString()}),e.target.value=l.userValue},formattedValue(e){const{formattedValue:t}=e.detail;l.formattedValue=t,null!=t&&e.target!==document.activeElement&&(e.target.value=t),n.setValue(i,{formattedValue:t})},selRange(e){e.target.setSelectionRange(...e.detail.selRange)},charLimit:e=>{var t;const{charLimit:r}=e.detail,{target:a}=e;if(0===r)return void a.removeAttribute("maxLength");a.setAttribute("maxLength",r);let s=l.userValue;!s||s.length<=r||(s=s.slice(0,r),a.value=l.userValue=s,n.setValue(i,{value:s}),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:a.selectionStart,selEnd:a.selectionEnd}}))}};this._dispatchEventFromSandbox(t,e)})),r.addEventListener("keydown",(e=>{var t;l.commitKey=1;let n=-1;if("Escape"===e.key?n=0:"Enter"!==e.key||this.data.multiLine?"Tab"===e.key&&(l.commitKey=3):n=2,-1===n)return;const{value:r}=e.target;l.lastCommittedValue!==r&&(l.lastCommittedValue=r,l.userValue=r,null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:r,willCommit:!0,commitKey:n,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const e=h;h=null,r.addEventListener("blur",(t=>{var n,r;if(!l.focused||!t.relatedTarget)return;(null==(n=this.data.actions)?void 0:n.Blur)||(l.focused=!1);const{value:a}=t.target;l.userValue=a,l.lastCommittedValue!==a&&(null==(r=this.linkService.eventBus)||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,willCommit:!0,commitKey:l.commitKey,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),e(t)})),(null==(t=this.data.actions)?void 0:t.Keystroke)&&r.addEventListener("beforeinput",(e=>{var t;l.lastCommittedValue=null;const{data:n,target:r}=e,{value:a,selectionStart:s,selectionEnd:o}=r;let c=s,h=o;switch(e.inputType){case"deleteWordBackward":{const e=a.substring(0,s).match(/\w*[^\w]*$/);e&&(c-=e[0].length);break}case"deleteWordForward":{const e=a.substring(s).match(/^[^\w]*\w*/);e&&(h+=e[0].length);break}case"deleteContentBackward":s===o&&(c-=1);break;case"deleteContentForward":s===o&&(h+=1)}e.preventDefault(),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,change:n||"",willCommit:!1,selStart:c,selEnd:h}})})),this._setEventListeners(r,l,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(h&&r.addEventListener("blur",h),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/o;r.classList.add("comb"),r.style.letterSpacing=`calc(${e}px * var(--scale-factor) - 1ch)`}}else r=document.createElement("div"),r.textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell",this.data.hasOwnCanvas&&(r.hidden=!0);return this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class AD extends TD{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}}class ED extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.exportValue===t.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,e.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const r=document.createElement("input");return bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="checkbox",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.setAttribute("exportValue",t.exportValue),r.tabIndex=mD,r.addEventListener("change",(i=>{const{name:r,checked:a}=i.target;for(const s of this._getElementsByName(r,n)){const n=a&&s.exportValue===t.exportValue;s.domElement&&(s.domElement.checked=n),e.setValue(s.id,{value:n})}e.setValue(n,{value:a})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue||"Off";e.target.checked=n===t.exportValue})),this.enableScripting&&this.hasJSActions&&(r.addEventListener("updatefromsandbox",(t=>{const i={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};this._dispatchEventFromSandbox(i,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class kD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value;if("string"==typeof i&&(i=i!==t.buttonValue,e.setValue(n,{value:i})),i)for(const a of this._getElementsByName(t.fieldName,n))e.setValue(a.id,{value:!1});const r=document.createElement("input");if(bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="radio",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.tabIndex=mD,r.addEventListener("change",(t=>{const{name:i,checked:r}=t.target;for(const a of this._getElementsByName(i,n))e.setValue(a.id,{value:!1});e.setValue(n,{value:r})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue;e.target.checked=null!=n&&n===t.buttonValue})),this.enableScripting&&this.hasJSActions){const i=t.buttonValue;r.addEventListener("updatefromsandbox",(t=>{const r={value:t=>{const r=i===t.detail.value;for(const i of this._getElementsByName(t.target.name)){const t=r&&i.id===n;i.domElement&&(i.domElement.checked=t),e.setValue(i.id,{value:t})}}};this._dispatchEventFromSandbox(r,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class SD extends xD{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();e.classList.add("buttonWidgetAnnotation","pushButton");const t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",(e=>{this._dispatchEventFromSandbox({},e)}))),e}}class CD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const e=this.annotationStorage,t=this.data.id,n=e.getValue(t,{value:this.data.fieldValue}),i=document.createElement("select");bD.add(i),i.setAttribute("data-element-id",t),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=mD;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue;for(const n of i.options)n.selected=n.value===t}));for(const l of this.data.options){const e=document.createElement("option");e.textContent=l.displayValue,e.value=l.exportValue,n.value.includes(l.exportValue)&&(e.setAttribute("selected",!0),r=!1),i.append(e)}let a=null;if(r){const e=document.createElement("option");e.value=" ",e.setAttribute("hidden",!0),e.setAttribute("selected",!0),i.prepend(e),a=()=>{e.remove(),i.removeEventListener("input",a),a=null},i.addEventListener("input",a)}const s=e=>{const t=e?"value":"textContent",{options:n,multiple:r}=i;return r?Array.prototype.filter.call(n,(e=>e.selected)).map((e=>e[t])):-1===n.selectedIndex?null:n[n.selectedIndex][t]};let o=s(!1);const c=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(n=>{const r={value(n){null==a||a();const r=n.detail.value,c=new Set(Array.isArray(r)?r:[r]);for(const e of i.options)e.selected=c.has(e.value);e.setValue(t,{value:s(!0)}),o=s(!1)},multipleSelection(e){i.multiple=!0},remove(n){const r=i.options,a=n.detail.remove;if(r[a].selected=!1,i.remove(a),r.length>0){-1===Array.prototype.findIndex.call(r,(e=>e.selected))&&(r[0].selected=!0)}e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},clear(n){for(;0!==i.length;)i.remove(0);e.setValue(t,{value:null,items:[]}),o=s(!1)},insert(n){const{index:r,displayValue:a,exportValue:l}=n.detail.insert,h=i.children[r],d=document.createElement("option");d.textContent=a,d.value=l,h?h.before(d):i.append(d),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},items(n){const{items:r}=n.detail;for(;0!==i.length;)i.remove(0);for(const e of r){const{displayValue:t,exportValue:n}=e,r=document.createElement("option");r.textContent=t,r.value=n,i.append(r)}i.options.length>0&&(i.options[0].selected=!0),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},indices(n){const i=new Set(n.detail.indices);for(const e of n.target.options)e.selected=i.has(e.index);e.setValue(t,{value:s(!0)}),o=s(!1)},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(r,n)})),i.addEventListener("input",(n=>{var i;const r=s(!0),a=s(!1);e.setValue(t,{value:r}),n.preventDefault(),null==(i=this.linkService.eventBus)||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,change:a,changeEx:r,willCommit:!1,commitKey:1,keyDown:!1}})})),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],(e=>e.target.value))):i.addEventListener("input",(function(n){e.setValue(t,{value:s(!0)})})),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class UD extends wD{constructor(e){const{data:t,elements:n}=e;super(e,{isRenderable:wD._hasPopupData(t)}),this.elements=n,this.popup=null}render(){this.container.classList.add("popupAnnotation");const e=this.popup=new FD({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),t=[];for(const n of this.elements)n.popup=e,n.container.ariaHasPopup="dialog",t.push(n.data.id),n.addHighlightArea();return this.container.setAttribute("aria-controls",t.map((e=>`${vx}${e}`)).join(",")),this.container}}class FD{constructor({container:e,color:t,elements:n,titleObj:i,modificationDate:r,contentsObj:a,richText:s,parent:o,rect:c,parentRect:l,open:h}){var d;Cl(this,Kr),Cl(this,Fr,Fl(this,Kr,ta).bind(this)),Cl(this,Mr,Fl(this,Kr,aa).bind(this)),Cl(this,Rr,Fl(this,Kr,ra).bind(this)),Cl(this,Ir,Fl(this,Kr,ia).bind(this)),Cl(this,Or,null),Cl(this,Nr,null),Cl(this,Pr,null),Cl(this,Lr,null),Cl(this,Wr,null),Cl(this,Br,null),Cl(this,jr,null),Cl(this,zr,!1),Cl(this,Hr,null),Cl(this,Vr,null),Cl(this,Gr,null),Cl(this,Xr,null),Cl(this,$r,null),Cl(this,qr,null),Cl(this,Yr,!1),Ul(this,Nr,e),Ul(this,$r,i),Ul(this,Pr,a),Ul(this,Xr,s),Ul(this,Br,o),Ul(this,Or,t),Ul(this,Gr,c),Ul(this,jr,l),Ul(this,Wr,n),Ul(this,Lr,Rx.toDateObject(r)),this.trigger=n.flatMap((e=>e.getElementsToTriggerPopup()));for(const u of this.trigger)u.addEventListener("click",Sl(this,Ir)),u.addEventListener("mouseenter",Sl(this,Rr)),u.addEventListener("mouseleave",Sl(this,Mr)),u.classList.add("popupTriggerArea");for(const u of n)null==(d=u.container)||d.addEventListener("keydown",Sl(this,Fr));Sl(this,Nr).hidden=!0,h&&Fl(this,Kr,ia).call(this)}render(){if(Sl(this,Hr))return;const e=Ul(this,Hr,document.createElement("div"));if(e.className="popup",Sl(this,Or)){const t=e.style.outlineColor=px.makeHexColor(...Sl(this,Or));if(CSS.supports("background-color","color-mix(in srgb, red 30%, white)"))e.style.backgroundColor=`color-mix(in srgb, ${t} 30%, white)`;else{const t=.7;e.style.backgroundColor=px.makeHexColor(...Sl(this,Or).map((e=>Math.floor(t*(255-e)+e))))}}const t=document.createElement("span");t.className="header";const n=document.createElement("h1");if(t.append(n),({dir:n.dir,str:n.textContent}=Sl(this,$r)),e.append(t),Sl(this,Lr)){const e=document.createElement("span");e.classList.add("popupDate"),e.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),e.setAttribute("data-l10n-args",JSON.stringify({dateObj:Sl(this,Lr).valueOf()})),t.append(e)}const i=Sl(this,Kr,Zr);if(i)gD.render({xfaHtml:i,intent:"richText",div:e}),e.lastChild.classList.add("richText","popupContent");else{const t=this._formatContents(Sl(this,Pr));e.append(t)}Sl(this,Nr).append(e)}_formatContents({str:e,dir:t}){const n=document.createElement("p");n.classList.add("popupContent"),n.dir=t;const i=e.split(/(?:\r\n?|\n)/);for(let r=0,a=i.length;r=0&&r.setAttribute("stroke-width",t||1),n)for(let a=0,s=Sl(this,da).length;a{"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&Fl(this,ga,ma).call(this)})),!t.popupRef&&this.hasPopupData?this._createPopup():n.classList.add("popupTriggerArea"),e.append(n),e}getElementsToTriggerPopup(){return Sl(this,pa)}addHighlightArea(){this.container.classList.add("highlightArea")}}pa=new WeakMap,ga=new WeakSet,ma=function(){var e;null==(e=this.downloadManager)||e.openOrDownloadData(this.content,this.filename)};class XD{constructor({div:e,accessibilityManager:t,annotationCanvasMap:n,annotationEditorUIManager:i,page:r,viewport:a,structTreeLayer:s}){Cl(this,xa),Cl(this,ba,null),Cl(this,va,null),Cl(this,ya,new Map),Cl(this,wa,null),this.div=e,Ul(this,ba,t),Ul(this,va,n),Ul(this,wa,s||null),this.page=r,this.viewport=a,this.zIndex=0,this._annotationEditorUIManager=i}hasEditableAnnotations(){return Sl(this,ya).size>0}async render(e){var t;const{annotations:n}=e,i=this.div;Lx(i,this.viewport);const r=new Map,a={data:null,layer:i,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new pD,annotationStorage:e.annotationStorage||new d_,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(const s of n){if(s.noHTML)continue;const e=s.annotationType===Nw;if(e){const e=r.get(s.id);if(!e)continue;a.elements=e}else{const{width:e,height:t}=vD(s.rect);if(e<=0||t<=0)continue}a.data=s;const n=yD.create(a);if(!n.isRenderable)continue;if(!e&&s.popupRef){const e=r.get(s.popupRef);e?e.push(n):r.set(s.popupRef,[n])}const i=n.render();s.hidden&&(i.style.visibility="hidden"),await Fl(this,xa,_a).call(this,i,s.id),n._isEditable&&(Sl(this,ya).set(n.data.id,n),null==(t=this._annotationEditorUIManager)||t.renderAnnotationElement(n))}Fl(this,xa,Ta).call(this)}update({viewport:e}){const t=this.div;this.viewport=e,Lx(t,{rotation:e.rotation}),Fl(this,xa,Ta).call(this),t.hidden=!1}getEditableAnnotations(){return Array.from(Sl(this,ya).values())}getEditableAnnotation(e){return Sl(this,ya).get(e)}}ba=new WeakMap,va=new WeakMap,ya=new WeakMap,wa=new WeakMap,xa=new WeakSet,_a=async function(e,t){var n,i;const r=e.firstChild||e,a=r.id=`${vx}${t}`,s=await(null==(n=Sl(this,wa))?void 0:n.getAriaAttributes(a));if(s)for(const[o,c]of s)r.setAttribute(o,c);this.div.append(e),null==(i=Sl(this,ba))||i.moveElementInDOM(this.div,e,r,!1)},Ta=function(){if(!Sl(this,va))return;const e=this.div;for(const[t,n]of Sl(this,va)){const i=e.querySelector(`[data-annotation-id="${t}"]`);if(!i)continue;n.className="annotationContent";const{firstChild:r}=i;r?"CANVAS"===r.nodeName?r.replaceWith(n):r.classList.contains("annotationContent")?r.after(n):r.before(n):i.append(n)}Sl(this,va).clear()};const $D=/\r\n?|\n/g,qD=class e extends r_{constructor(t){super({...t,name:"freeTextEditor"}),Cl(this,Ca),Cl(this,Da),Cl(this,Aa,""),Cl(this,Ea,`${this.id}-editor`),Cl(this,ka,null),Cl(this,Sa),Ul(this,Da,t.color||e._defaultColor||r_._defaultLineColor),Ul(this,Sa,t.fontSize||e._defaultFontSize)}static get _keyboardManager(){const t=e.prototype,n=e=>e.isEmpty(),i=Jx.TRANSLATE_SMALL,r=Jx.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:n}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:n}]]))}static initialize(e,t){r_.initialize(e,t);const n=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(n.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,n){switch(t){case uw.FREETEXT_SIZE:e._defaultFontSize=n;break;case uw.FREETEXT_COLOR:e._defaultColor=n}}updateParams(e,t){switch(e){case uw.FREETEXT_SIZE:Fl(this,Ca,Ua).call(this,t);break;case uw.FREETEXT_COLOR:Fl(this,Ca,Fa).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.FREETEXT_SIZE,e._defaultFontSize],[uw.FREETEXT_COLOR,e._defaultColor||r_._defaultLineColor]]}get propertiesToUpdate(){return[[uw.FREETEXT_SIZE,Sl(this,Sa)],[uw.FREETEXT_COLOR,Sl(this,Da)]]}_translateEmpty(e,t){this._uiManager.translateSelectedEditors(e,t,!0)}getInitialTranslation(){const t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+Sl(this,Sa))*t]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(dw.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),Ul(this,ka,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,ka));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:e})}disableEditMode(){var e;this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",Sl(this,Ea)),this._isDraggable=!0,null==(e=Sl(this,ka))||e.abort(),Ul(this,ka,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){var t;this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),(null==(t=this._initialOptions)?void 0:t.isCentered)&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const e=Sl(this,Aa),t=Ul(this,Aa,Fl(this,Ca,Ma).call(this).trimEnd());if(e===t)return;const n=e=>{Ul(this,Aa,e),e?(Fl(this,Ca,Na).call(this),this._uiManager.rebuild(this),Fl(this,Ca,Ra).call(this)):this.remove()};this.addCommands({cmd:()=>{n(t)},undo:()=>{n(e)},mustExec:!1}),Fl(this,Ca,Ra).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(e){this.enterInEditMode()}keydown(e){e.target===this.div&&"Enter"===e.key&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(t){e._keyboardManager.exec(this,t)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let e,t;this.width&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",Sl(this,Ea)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,n.color=Sl(this,Da),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Hx(this,this.div,["dblclick","keydown"]),this.width){const[n,i]=this.parentDimensions;if(this.annotationElementId){const{position:r}=this._initialData;let[a,s]=this.getInitialTranslation();[a,s]=this.pageTranslationToScreen(a,s);const[o,c]=this.pageDimensions,[l,h]=this.pageTranslation;let d,u;switch(this.rotation){case 0:d=e+(r[0]-l)/o,u=t+this.height-(r[1]-h)/c;break;case 90:d=e+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[s,-a];break;case 180:d=e-this.width+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[-a,-s];break;case 270:d=e+(r[0]-l-this.height*c)/o,u=t+(r[1]-h-this.width*o)/c,[a,s]=[-s,a]}this.setAt(d*n,u*i,a,s)}else this.setAt(e*n,t*i,this.width*n,this.height*i);Fl(this,Ca,Na).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(t){var n,i,r;const a=t.clipboardData||window.clipboardData,{types:s}=a;if(1===s.length&&"text/plain"===s[0])return;t.preventDefault();const o=Fl(n=e,Ia,La).call(n,a.getData("text")||"").replaceAll($D,"\n");if(!o)return;const c=window.getSelection();if(!c.rangeCount)return;this.editorDiv.normalize(),c.deleteFromDocument();const l=c.getRangeAt(0);if(!o.includes("\n"))return l.insertNode(document.createTextNode(o)),this.editorDiv.normalize(),void c.collapseToStart();const{startContainer:h,startOffset:d}=l,u=[],f=[];if(h.nodeType===Node.TEXT_NODE){const t=h.parentElement;if(f.push(h.nodeValue.slice(d).replaceAll($D,"")),t!==this.editorDiv){let n=u;for(const r of this.editorDiv.childNodes)r!==t?n.push(Fl(i=e,Ia,Oa).call(i,r)):n=f}u.push(h.nodeValue.slice(0,d).replaceAll($D,""))}else if(h===this.editorDiv){let t=u,n=0;for(const i of this.editorDiv.childNodes)n++===d&&(t=f),t.push(Fl(r=e,Ia,Oa).call(r,i))}Ul(this,Aa,`${u.join("\n")}${o}${f.join("\n")}`),Fl(this,Ca,Na).call(this);const p=new Range;let g=u.reduce(((e,t)=>e+t.length),0);for(const{firstChild:e}of this.editorDiv.childNodes)if(e.nodeType===Node.TEXT_NODE){const t=e.nodeValue.length;if(g<=t){p.setStart(e,g),p.setEnd(e,g);break}g-=t}c.removeAllRanges(),c.addRange(p)}get contentDiv(){return this.editorDiv}static async deserialize(t,n,i){var r;let a=null;if(t instanceof MD){const{data:{defaultAppearanceData:{fontSize:e,fontColor:n},rect:i,rotation:r,id:s,popupRef:o},textContent:c,textPosition:l,parent:{page:{pageNumber:h}}}=t;if(!c||0===c.length)return null;a=t={annotationType:dw.FREETEXT,color:Array.from(n),fontSize:e,value:c.join("\n"),position:l,pageIndex:h-1,rect:i.slice(0),rotation:r,id:s,deleted:!1,popupRef:o}}const s=await super.deserialize(t,n,i);return Ul(s,Sa,t.fontSize),Ul(s,Da,px.makeHexColor(...t.color)),Ul(s,Aa,Fl(r=e,Ia,La).call(r,t.value)),s.annotationElementId=t.id||null,s._initialData=a,s}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n=e._internalPadding*this.parentScale,i=this.getRect(n,n),r=r_._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:Sl(this,Da)),a={annotationType:dw.FREETEXT,color:r,fontSize:Sl(this,Sa),value:Fl(this,Ca,Pa).call(this),pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?a:this.annotationElementId&&!Fl(this,Ca,Wa).call(this,a)?null:(a.id=this.annotationElementId,a)}renderAnnotationElement(t){const n=super.renderAnnotationElement(t);if(this.deleted)return n;const{style:i}=n;i.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,i.color=Sl(this,Da),n.replaceChildren();for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),n.append(t)}const r=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(r,r),popupContent:Sl(this,Aa)}),n}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}};Da=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,ka=new WeakMap,Sa=new WeakMap,Ca=new WeakSet,Ua=function(e){const t=e=>{this.editorDiv.style.fontSize=`calc(${e}px * var(--scale-factor))`,this.translate(0,-(e-Sl(this,Sa))*this.parentScale),Ul(this,Sa,e),Fl(this,Ca,Ra).call(this)},n=Sl(this,Sa);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},Fa=function(e){const t=e=>{Ul(this,Da,this.editorDiv.style.color=e)},n=Sl(this,Da);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Ma=function(){var e;const t=[];this.editorDiv.normalize();let n=null;for(const i of this.editorDiv.childNodes)(null==n?void 0:n.nodeType)===Node.TEXT_NODE&&"BR"===i.nodeName||(t.push(Fl(e=qD,Ia,Oa).call(e,i)),n=i);return t.join("\n")},Ra=function(){const[e,t]=this.parentDimensions;let n;if(this.isAttachedToDOM)n=this.div.getBoundingClientRect();else{const{currentLayer:e,div:t}=this,i=t.style.display,r=t.classList.contains("hidden");t.classList.remove("hidden"),t.style.display="hidden",e.div.append(this.div),n=t.getBoundingClientRect(),t.remove(),t.style.display=i,t.classList.toggle("hidden",r)}this.rotation%180==this.parentRotation%180?(this.width=n.width/e,this.height=n.height/t):(this.width=n.height/e,this.height=n.width/t),this.fixAndSetPosition()},Ia=new WeakSet,Oa=function(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll($D,"")},Na=function(){if(this.editorDiv.replaceChildren(),Sl(this,Aa))for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(t)}},Pa=function(){return Sl(this,Aa).replaceAll(" "," ")},La=function(e){return e.replaceAll(" "," ")},Wa=function(e){const{value:t,fontSize:n,color:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||e.value!==t||e.fontSize!==n||e.color.some(((e,t)=>e!==i[t]))||e.pageIndex!==r},Cl(qD,Ia),El(qD,"_freeTextDefaultContent",""),El(qD,"_internalPadding",0),El(qD,"_defaultColor",null),El(qD,"_defaultFontSize",10),El(qD,"_type","freetext"),El(qD,"_editorType",dw.FREETEXT);let YD=qD;class KD{toSVGPath(){Zw("Abstract method `toSVGPath` must be implemented.")}get box(){Zw("Abstract getter `box` must be implemented.")}serialize(e,t){Zw("Abstract method `serialize` must be implemented.")}static _rescale(e,t,n,i,r,a){a||(a=new Float32Array(e.length));for(let s=0,o=e.length;s=6;i-=6)isNaN(t[i])?n.push(`L${t[i+4]} ${t[i+5]}`):n.push(`C${t[i]} ${t[i+1]} ${t[i+2]} ${t[i+3]} ${t[i+4]} ${t[i+5]}`);return Fl(this,ns,as).call(this,n),n.join(" ")}newFreeDrawOutline(e,t,n,i,r,a){return new QD(e,t,n,i,r,a)}getOutlines(){var e;const t=Sl(this,Va),n=Sl(this,ja),i=Sl(this,Ga),[r,a,s,o]=Sl(this,Ba),c=new Float32Array(((null==(e=Sl(this,Ja))?void 0:e.length)??0)+2);for(let d=0,u=c.length-2;d=6;d-=6)for(let e=0;e<6;e+=2)isNaN(n[d+e])?(l[h]=l[h+1]=NaN,h+=2):(l[h]=n[d+e],l[h+1]=n[d+e+1],h+=2);return Fl(this,ns,cs).call(this,l,h),this.newFreeDrawOutline(l,c,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))}};Ba=new WeakMap,ja=new WeakMap,za=new WeakMap,Ha=new WeakMap,Va=new WeakMap,Ga=new WeakMap,Xa=new WeakMap,$a=new WeakMap,qa=new WeakMap,Ya=new WeakMap,Ka=new WeakMap,Za=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakSet,is=function(){const e=Sl(this,Ga).subarray(4,6),t=Sl(this,Ga).subarray(16,18),[n,i,r,a]=Sl(this,Ba);return[(Sl(this,Xa)+(e[0]-t[0])/2-n)/r,(Sl(this,$a)+(e[1]-t[1])/2-i)/a,(Sl(this,Xa)+(t[0]-e[0])/2-n)/r,(Sl(this,$a)+(t[1]-e[1])/2-i)/a]},rs=function(){const[e,t,n,i]=Sl(this,Ba),[r,a,s,o]=Fl(this,ns,is).call(this);return`M${(Sl(this,Ga)[2]-e)/n} ${(Sl(this,Ga)[3]-t)/i} L${(Sl(this,Ga)[4]-e)/n} ${(Sl(this,Ga)[5]-t)/i} L${r} ${a} L${s} ${o} L${(Sl(this,Ga)[16]-e)/n} ${(Sl(this,Ga)[17]-t)/i} L${(Sl(this,Ga)[14]-e)/n} ${(Sl(this,Ga)[15]-t)/i} Z`},as=function(e){const t=Sl(this,ja);e.push(`L${t[4]} ${t[5]} Z`)},ss=function(e){const[t,n,i,r]=Sl(this,Ba),a=Sl(this,Ga).subarray(4,6),s=Sl(this,Ga).subarray(16,18),[o,c,l,h]=Fl(this,ns,is).call(this);e.push(`L${(a[0]-t)/i} ${(a[1]-n)/r} L${o} ${c} L${l} ${h} L${(s[0]-t)/i} ${(s[1]-n)/r}`)},os=function(e){const t=Sl(this,Ga),[n,i,r,a]=Sl(this,Ba),[s,o,c,l]=Fl(this,ns,is).call(this),h=new Float32Array(36);return h.set([NaN,NaN,NaN,NaN,(t[2]-n)/r,(t[3]-i)/a,NaN,NaN,NaN,NaN,(t[4]-n)/r,(t[5]-i)/a,NaN,NaN,NaN,NaN,s,o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,(t[16]-n)/r,(t[17]-i)/a,NaN,NaN,NaN,NaN,(t[14]-n)/r,(t[15]-i)/a],0),this.newFreeDrawOutline(h,e,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))},cs=function(e,t){const n=Sl(this,ja);return e.set([NaN,NaN,NaN,NaN,n[4],n[5]],t),t+6},ls=function(e,t){const n=Sl(this,Ga).subarray(4,6),i=Sl(this,Ga).subarray(16,18),[r,a,s,o]=Sl(this,Ba),[c,l,h,d]=Fl(this,ns,is).call(this);return e.set([NaN,NaN,NaN,NaN,(n[0]-r)/s,(n[1]-a)/o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,h,d,NaN,NaN,NaN,NaN,(i[0]-r)/s,(i[1]-a)/o],t),t+24},Cl(ZD,Qa,8),Cl(ZD,es,2),Cl(ZD,ts,Sl(ZD,Qa)+Sl(ZD,es));let JD=ZD;class QD extends KD{constructor(e,t,n,i,r,a){super(),Cl(this,bs),Cl(this,hs),Cl(this,ds,new Float32Array(4)),Cl(this,us),Cl(this,fs),Cl(this,ps),Cl(this,gs),Cl(this,ms),Ul(this,ms,e),Ul(this,ps,t),Ul(this,hs,n),Ul(this,gs,i),Ul(this,us,r),Ul(this,fs,a),this.lastPoint=[NaN,NaN],Fl(this,bs,vs).call(this,a);const[s,o,c,l]=Sl(this,ds);for(let h=0,d=e.length;he[0]-t[0]||e[1]-t[1]||e[2]-t[2]));const e=[];for(const t of Sl(this,xs))t[3]?(e.push(...Fl(this,Ts,Ss).call(this,t)),Fl(this,Ts,Es).call(this,t)):(Fl(this,Ts,ks).call(this,t),e.push(...Fl(this,Ts,Ss).call(this,t)));return Fl(this,Ts,Ds).call(this,e)}}ys=new WeakMap,ws=new WeakMap,xs=new WeakMap,_s=new WeakMap,Ts=new WeakSet,Ds=function(e){const t=[],n=new Set;for(const a of e){const[e,n,i]=a;t.push([e,n,a],[e,i,a])}t.sort(((e,t)=>e[1]-t[1]||e[0]-t[0]));for(let a=0,s=t.length;a0;){const e=n.values().next().value;let[t,a,s,o,c]=e;n.delete(e);let l=t,h=a;for(r=[t,s],i.push(r);;){let e;if(n.has(o))e=o;else{if(!n.has(c))break;e=c}n.delete(e),[t,a,s,o,c]=e,l!==t&&(r.push(l,h,t,h===a?a:s),l=t),h=h===a?s:a}r.push(l,h)}return new tA(i,Sl(this,ys),Sl(this,ws))},As=function(e){const t=Sl(this,_s);let n=0,i=t.length-1;for(;n<=i;){const r=n+i>>1,a=t[r][0];if(a===e)return r;a=0;i--){const[n,r]=Sl(this,_s)[i];if(n!==e)break;if(n===e&&r===t)return void Sl(this,_s).splice(i,1)}},Ss=function(e){const[t,n,i]=e,r=[[t,n,i]],a=Fl(this,Ts,As).call(this,i);for(let s=0;s=e)if(o>n)r[i][1]=n;else{if(1===a)return[];r.splice(i,1),i--,a--}else r[i][2]=e,o>n&&r.push([t,n,o])}}return r};class tA extends KD{constructor(e,t,n){super(),Cl(this,Cs),Cl(this,Us),Ul(this,Us,e),Ul(this,Cs,t),this.lastPoint=n}toSVGPath(){const e=[];for(const t of Sl(this,Us)){let[n,i]=t;e.push(`M${n} ${i}`);for(let r=2;r-1?(Ul(this,oo,!0),Fl(this,go,bo).call(this,t),Fl(this,go,_o).call(this)):Sl(this,Js)&&(Ul(this,Ks,t.anchorNode),Ul(this,Zs,t.anchorOffset),Ul(this,no,t.focusNode),Ul(this,io,t.focusOffset),Fl(this,go,mo).call(this),Fl(this,go,_o).call(this),this.rotate(this.rotation))}static get _keyboardManager(){const t=e.prototype;return ex(this,"_keyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:Sl(this,oo)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:Sl(this,fo),methodOfCreation:Sl(this,po)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get("color").size}}static initialize(t,n){var i;r_.initialize(t,n),e._defaultColor||(e._defaultColor=(null==(i=n.highlightColors)?void 0:i.values().next().value)||"#fff066")}static updateDefaultParams(t,n){switch(t){case uw.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=n;break;case uw.HIGHLIGHT_THICKNESS:e._defaultThickness=n}}translateInPage(e,t){}get toolbarPosition(){return Sl(this,co)}updateParams(e,t){switch(e){case uw.HIGHLIGHT_COLOR:Fl(this,go,vo).call(this,t);break;case uw.HIGHLIGHT_THICKNESS:Fl(this,go,yo).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[uw.HIGHLIGHT_THICKNESS,e._defaultThickness]]}get propertiesToUpdate(){return[[uw.HIGHLIGHT_COLOR,this.color||e._defaultColor],[uw.HIGHLIGHT_THICKNESS,Sl(this,fo)||e._defaultThickness],[uw.HIGHLIGHT_FREE,Sl(this,oo)]]}async addEditToolbar(){const e=await super.addEditToolbar();return e?(this._uiManager.highlightColors&&(Ul(this,eo,new aA({editor:this})),e.addColorPicker(Sl(this,eo))),e):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(Fl(this,go,ko).call(this))}getBaseTranslation(){return[0,0]}getRect(e,t){return super.getRect(e,t,Fl(this,go,ko).call(this))}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){Fl(this,go,xo).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,go,_o).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?Fl(this,go,xo).call(this):e&&(Fl(this,go,_o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),this.show(this._isVisible),n&&this.select()}rotate(t){var n,i,r;const{drawLayer:a}=this.parent;let s;Sl(this,oo)?(t=(t-this.rotation+360)%360,s=Fl(n=e,To,Do).call(n,Sl(this,ao).box,t)):s=Fl(i=e,To,Do).call(i,[this.x,this.y,this.width,this.height],t),a.updateProperties(Sl(this,so),{bbox:s,root:{"data-main-rotation":t}}),a.updateProperties(Sl(this,ho),{bbox:Fl(r=e,To,Do).call(r,Sl(this,to).box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;const e=super.render();Sl(this,uo)&&(e.setAttribute("aria-label",Sl(this,uo)),e.setAttribute("role","mark")),Sl(this,oo)?e.classList.add("free"):this.div.addEventListener("keydown",Fl(this,go,Ao).bind(this),{signal:this._uiManager._signal});const t=Ul(this,ro,document.createElement("div"));e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal",t.style.clipPath=Sl(this,Qs);const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),Hx(this,Sl(this,ro),["pointerover","pointerleave"]),this.enableEditing(),e}pointerover(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!0}})}pointerleave(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1}})}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:Fl(this,go,Eo).call(this,!0);break;case 1:case 3:Fl(this,go,Eo).call(this,!1)}}select(){var e;super.select(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var e;super.unselect(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{selected:!1}}),Sl(this,oo)||Fl(this,go,Eo).call(this,!1))}get _mustFixPosition(){return!Sl(this,oo)}show(e=this._isVisible){super.show(e),this.parent&&(this.parent.drawLayer.updateProperties(Sl(this,so),{rootClass:{hidden:!e}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hidden:!e}}))}static startHighlighting(e,t,{target:n,x:i,y:r}){const{x:a,y:s,width:o,height:c}=n.getBoundingClientRect(),l=new AbortController,h=e.combinedSignal(l),d=t=>{l.abort(),Fl(this,To,Fo).call(this,e,t)};window.addEventListener("blur",d,{signal:h}),window.addEventListener("pointerup",d,{signal:h}),window.addEventListener("pointerdown",Mx,{capture:!0,passive:!1,signal:h}),window.addEventListener("contextmenu",Fx,{signal:h}),n.addEventListener("pointermove",Fl(this,To,Uo).bind(this,e),{signal:h}),this._freeHighlight=new nA({x:i,y:r},[a,s,o,c],e.scale,this._defaultThickness/2,t,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0))}static async deserialize(e,t,n){var i,r,a,s;let o=null;if(e instanceof BD){const{data:{quadPoints:t,rect:n,rotation:i,id:r,color:a,opacity:s,popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),opacity:s,quadPoints:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}else if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:i,id:r,color:a,borderStyle:{rawWidth:s},popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),thickness:s,inkLists:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}const{color:c,quadPoints:l,inkLists:h,opacity:d}=e,u=await super.deserialize(e,t,n);u.color=px.makeHexColor(...c),Ul(u,lo,d||1),h&&Ul(u,fo,e.thickness),u.annotationElementId=e.id||null,u._initialData=o;const[f,p]=u.pageDimensions,[g,m]=u.pageTranslation;if(l){const e=Ul(u,Js,[]);for(let t=0;t=0)Ul(this,so,t),Ul(this,Qs,n),this.parent.drawLayer.finalizeDraw(t,{bbox:e.box,path:{d:e.toSVGPath()}}),Ul(this,ho,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},!0));else if(this.parent){const t=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(Sl(this,so),{bbox:Fl(i=sA,To,Do).call(i,Sl(this,ao).box,(t-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{bbox:Fl(r=sA,To,Do).call(r,Sl(this,to).box,t),path:{d:Sl(this,to).toSVGPath()}})}const[a,s,o,c]=e.box;switch(this.rotation){case 0:this.x=a,this.y=s,this.width=o,this.height=c;break;case 90:{const[e,t]=this.parentDimensions;this.x=s,this.y=1-a,this.width=o*t/e,this.height=c*e/t;break}case 180:this.x=1-a,this.y=1-s,this.width=o,this.height=c;break;case 270:{const[e,t]=this.parentDimensions;this.x=1-s,this.y=a,this.width=o*t/e,this.height=c*e/t;break}}const{lastPoint:l}=Sl(this,to);Ul(this,co,[(l[0]-a)/o,(l[1]-s)/c])},vo=function(e){const t=(e,t)=>{var n,i;this.color=e,Ul(this,lo,t),null==(n=this.parent)||n.drawLayer.updateProperties(Sl(this,so),{root:{fill:e,"fill-opacity":t}}),null==(i=Sl(this,eo))||i.updateColor(e)},n=this.color,i=Sl(this,lo);this.addCommands({cmd:t.bind(this,e,sA._defaultOpacity),undo:t.bind(this,n,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(e)},!0)},yo=function(e){const t=Sl(this,fo),n=e=>{Ul(this,fo,e),Fl(this,go,wo).call(this,e)};this.addCommands({cmd:n.bind(this,e),undo:n.bind(this,t),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:e},!0)},wo=function(e){if(!Sl(this,oo))return;Fl(this,go,bo).call(this,{highlightOutlines:Sl(this,ao).getNewOutline(e/2)}),this.fixAndSetPosition();const[t,n]=this.parentDimensions;this.setDims(this.width*t,this.height*n)},xo=function(){null!==Sl(this,so)&&this.parent&&(this.parent.drawLayer.remove(Sl(this,so)),Ul(this,so,null),this.parent.drawLayer.remove(Sl(this,ho)),Ul(this,ho,null))},_o=function(e=this.parent){null===Sl(this,so)&&(({id:Ml(this,so)._,clipPathId:Ml(this,Qs)._}=e.drawLayer.draw({bbox:Sl(this,ao).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":Sl(this,lo)},rootClass:{highlight:!0,free:Sl(this,oo)},path:{d:Sl(this,ao).toSVGPath()}},!1,!0)),Ul(this,ho,e.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:Sl(this,oo)},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},Sl(this,oo))),Sl(this,ro)&&(Sl(this,ro).style.clipPath=Sl(this,Qs)))},To=new WeakSet,Do=function([e,t,n,i],r){switch(r){case 90:return[1-t-i,e,i,n];case 180:return[1-e-n,1-t-i,n,i];case 270:return[t,1-e-n,i,n]}return[e,t,n,i]},Ao=function(e){sA._keyboardManager.exec(this,e)},Eo=function(e){if(!Sl(this,Ks))return;const t=window.getSelection();e?t.setPosition(Sl(this,Ks),Sl(this,Zs)):t.setPosition(Sl(this,no),Sl(this,io))},ko=function(){return Sl(this,oo)?this.rotation:0},So=function(){if(Sl(this,oo))return null;const[e,t]=this.pageDimensions,[n,i]=this.pageTranslation,r=Sl(this,Js),a=new Float32Array(8*r.length);let s=0;for(const{x:o,y:c,width:l,height:h}of r){const r=o*e+n,d=(1-c)*t+i;a[s]=a[s+4]=r,a[s+1]=a[s+3]=d,a[s+2]=a[s+6]=r+l*e,a[s+5]=a[s+7]=d-h*t,s+=8}return a},Co=function(e){return Sl(this,ao).serialize(e,Fl(this,go,ko).call(this))},Uo=function(e,t){this._freeHighlight.add(t)&&e.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},Fo=function(e,t){this._freeHighlight.isEmpty()?e.drawLayer.remove(this._freeHighlightId):e.createAndAddNewEditor(t,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},Mo=function(e){const{color:t}=this._initialData;return e.color.some(((e,n)=>e!==t[n]))},Cl(sA,To),El(sA,"_defaultColor",null),El(sA,"_defaultOpacity",1),El(sA,"_defaultThickness",12),El(sA,"_type","highlight"),El(sA,"_editorType",dw.HIGHLIGHT),El(sA,"_freeHighlightId",-1),El(sA,"_freeHighlight",null),El(sA,"_freeHighlightClipId","");let oA=sA;class cA{constructor(){Cl(this,Ro,Object.create(null))}updateProperty(e,t){this[e]=t,this.updateSVGProperty(e,t)}updateProperties(e){if(e)for(const[t,n]of Object.entries(e))this.updateProperty(t,n)}updateSVGProperty(e,t){Sl(this,Ro)[e]=t}toSVGProperties(){const e=Sl(this,Ro);return Ul(this,Ro,Object.create(null)),{root:e}}reset(){Ul(this,Ro,Object.create(null))}updateAll(e=this){this.updateProperties(e)}clone(){Zw("Not implemented")}}Ro=new WeakMap;const lA=class e extends r_{constructor(e){super(e),Cl(this,Ho),Cl(this,Io,null),Cl(this,Oo),El(this,"_drawId",null),Ul(this,Oo,e.mustBeCommitted||!1),e.drawOutlines&&(Fl(this,Ho,Vo).call(this,e),Fl(this,Ho,$o).call(this))}static _mergeSVGProperties(e,t){const n=new Set(Object.keys(e));for(const[i,r]of Object.entries(t))n.has(i)?Object.assign(e[i],r):e[i]=r;return e}static getDefaultDrawingOptions(e){Zw("Not implemented")}static get typesMap(){Zw("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,n){const i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,n),this._currentParent&&(Sl(e,No).updateProperty(i,n),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,t){const n=this.constructor.typesMap.get(e);n&&this._updateProperty(e,n,t)}static get defaultPropertiesToUpdate(){const e=[],t=this._defaultDrawingOptions;for(const[n,i]of this.typesMap)e.push([n,t[i]]);return e}get propertiesToUpdate(){const e=[],{_drawingOptions:t}=this;for(const[n,i]of this.constructor.typesMap)e.push([n,t[i]]);return e}_updateProperty(e,t,n){const i=this._drawingOptions,r=i[t],a=e=>{var n;i.updateProperty(t,e);const r=Sl(this,Io).updateProperty(t,e);r&&Fl(this,Ho,Ko).call(this,r),null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,i.toSVGProperties())};this.addCommands({cmd:a.bind(this,n),undo:a.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizingSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onResized(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizedSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onTranslating(e,t){var n;null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,{bbox:Fl(this,Ho,Zo).call(this,e,t)})}_onTranslated(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathTranslatedSVGProperties(Fl(this,Ho,Yo).call(this),this.parentDimensions),{bbox:Fl(this,Ho,Zo).call(this)}))}_onStartDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,Sl(this,Oo)&&(Ul(this,Oo,!1),this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){Fl(this,Ho,Xo).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,Ho,$o).call(this),Fl(this,Ho,Ko).call(this,Sl(this,Io).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),Fl(this,Ho,Xo).call(this)):e&&(this._uiManager.addShouldRescale(this),Fl(this,Ho,$o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),n&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties({bbox:Fl(this,Ho,Zo).call(this)},Sl(this,Io).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&Fl(this,Ho,Ko).call(this,Sl(this,Io).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;const e=super.render();e.classList.add("draw");const t=document.createElement("div");e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal";const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),this._uiManager.addShouldRescale(this),this.disableEditing(),e}static createDrawerInstance(e,t,n,i,r){Zw("Not implemented")}static startDrawing(t,n,i,r){var a;const{target:s,offsetX:o,offsetY:c,pointerId:l,pointerType:h}=r;if(Sl(e,Bo)&&Sl(e,Bo)!==h)return;const{viewport:{rotation:d}}=t,{width:u,height:f}=s.getBoundingClientRect(),p=Ul(e,Po,new AbortController),g=t.combinedSignal(p);Sl(e,Wo)||Ul(e,Wo,l),Sl(e,Bo)??Ul(e,Bo,h),window.addEventListener("pointerup",(t=>{var n;Sl(e,Wo)===t.pointerId?this._endDraw(t):null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointercancel",(t=>{var n;Sl(e,Wo)===t.pointerId?this._currentParent.endDrawingSession():null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointerdown",(t=>{Sl(e,Bo)===t.pointerType&&((Sl(e,jo)||Ul(e,jo,new Set)).add(t.pointerId),Sl(e,No).isCancellable()&&(Sl(e,No).removeLastElement(),Sl(e,No).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))}),{capture:!0,passive:!1,signal:g}),window.addEventListener("contextmenu",Fx,{signal:g}),s.addEventListener("pointermove",this._drawMove.bind(this),{signal:g}),s.addEventListener("touchmove",(t=>{t.timeStamp===Sl(e,zo)&&Mx(t)}),{signal:g}),t.toggleDrawing(),null==(a=n._editorUndoBar)||a.hide(),Sl(e,No)?t.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).startNew(o,c,u,f,d)):(n.updateUIForDefaultProperties(this),Ul(e,No,this.createDrawerInstance(o,c,u,f,d)),Ul(e,Lo,this.getDefaultDrawingOptions()),this._currentParent=t,({id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(Sl(e,Lo).toSVGProperties(),Sl(e,No).defaultSVGProperties),!0,!1)))}static _drawMove(t){var n;if(Ul(e,zo,-1),!Sl(e,No))return;const{offsetX:i,offsetY:r,pointerId:a}=t;Sl(e,Wo)===a&&((null==(n=Sl(e,jo))?void 0:n.size)>=1?this._endDraw(t):(this._currentParent.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).add(i,r)),Ul(e,zo,t.timeStamp),Mx(t)))}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,Ul(e,No,null),Ul(e,Lo,null),Ul(e,Bo,null),Ul(e,zo,NaN)),Sl(e,Po)&&(Sl(e,Po).abort(),Ul(e,Po,null),Ul(e,Wo,NaN),Ul(e,jo,null))}static _endDraw(t){const n=this._currentParent;if(n)if(n.toggleDrawing(!0),this._cleanup(!1),t&&n.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){const t=Sl(e,No),i=this._currentDrawId,r=t.getLastElement();n.addCommands({cmd:()=>{n.drawLayer.updateProperties(i,t.setLastElement(r))},undo:()=>{n.drawLayer.updateProperties(i,t.removeLastElement())},mustExec:!1,type:uw.DRAW_STEP})}else this.endDrawing(!1)}static endDrawing(t){const n=this._currentParent;if(!n)return null;if(n.toggleDrawing(!0),n.cleanUndoStack(uw.DRAW_STEP),!Sl(e,No).isEmpty()){const{pageDimensions:[i,r],scale:a}=n,s=n.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:Sl(e,No).getOutlines(i*a,r*a,a,this._INNER_MARGIN),drawingOptions:Sl(e,Lo),mustBeCommitted:!t});return this._cleanup(!0),s}return n.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,t,n,i,r,a){Zw("Not implemented")}static async deserialize(e,t,n){var i,r;const{rawDims:{pageWidth:a,pageHeight:s,pageX:o,pageY:c}}=t.viewport,l=this.deserializeDraw(o,c,a,s,this._INNER_MARGIN,e),h=await super.deserialize(e,t,n);return h.createDrawingOptions(e),Fl(i=h,Ho,Vo).call(i,{drawOutlines:l}),Fl(r=h,Ho,$o).call(r),h.onScaleChanging(),h.rotate(),h}serializeDraw(e){const[t,n]=this.pageTranslation,[i,r]=this.pageDimensions;return Sl(this,Io).serialize([t,n,i,r],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Io=new WeakMap,Oo=new WeakMap,No=new WeakMap,Po=new WeakMap,Lo=new WeakMap,Wo=new WeakMap,Bo=new WeakMap,jo=new WeakMap,zo=new WeakMap,Ho=new WeakSet,Vo=function({drawOutlines:e,drawId:t,drawingOptions:n}){Ul(this,Io,e),this._drawingOptions||(this._drawingOptions=n),t>=0?(this._drawId=t,this.parent.drawLayer.finalizeDraw(t,e.defaultProperties)):this._drawId=Fl(this,Ho,Go).call(this,e,this.parent),Fl(this,Ho,Ko).call(this,e.box)},Go=function(e,t){const{id:n}=t.drawLayer.draw(lA._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,!1);return n},Xo=function(){null!==this._drawId&&this.parent&&(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},$o=function(e=this.parent){null!==this._drawId&&this.parent===e||(null===this._drawId?(this._drawingOptions.updateAll(),this._drawId=Fl(this,Ho,Go).call(this,Sl(this,Io),e)):this.parent.drawLayer.updateParent(this._drawId,e.drawLayer))},qo=function([e,t,n,i]){const{parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[t,1-e,n*(a/r),i*(r/a)];case 180:return[1-e,1-t,n,i];case 270:return[1-t,e,n*(a/r),i*(r/a)];default:return[e,t,n,i]}},Yo=function(){const{x:e,y:t,width:n,height:i,parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[1-t,e,n*(r/a),i*(a/r)];case 180:return[1-e,1-t,n,i];case 270:return[t,1-e,n*(r/a),i*(a/r)];default:return[e,t,n,i]}},Ko=function(e){if([this.x,this.y,this.width,this.height]=Fl(this,Ho,qo).call(this,e),this.div){this.fixAndSetPosition();const[e,t]=this.parentDimensions;this.setDims(this.width*e,this.height*t)}this._onResized()},Zo=function(){const{x:e,y:t,width:n,height:i,rotation:r,parentRotation:a,parentDimensions:[s,o]}=this;switch((4*r+a)/90){case 1:return[1-t-i,e,i,n];case 2:return[1-e-n,1-t-i,n,i];case 3:return[t,1-e-n,i,n];case 4:return[e,t-n*(s/o),i*(o/s),n*(s/o)];case 5:return[1-t,e,n*(s/o),i*(o/s)];case 6:return[1-e-i*(o/s),1-t,i*(o/s),n*(s/o)];case 7:return[t-n*(s/o),1-e-i*(o/s),n*(s/o),i*(o/s)];case 8:return[e-n,t-i,n,i];case 9:return[1-t,e-n,i,n];case 10:return[1-e,1-t,n,i];case 11:return[t-i,1-e,i,n];case 12:return[e-i*(o/s),t,i*(o/s),n*(s/o)];case 13:return[1-t-n*(s/o),e-i*(o/s),n*(s/o),i*(o/s)];case 14:return[1-e,1-t-n*(s/o),i*(o/s),n*(s/o)];case 15:return[t,1-e,n*(s/o),i*(o/s)];default:return[e,t,n,i]}},El(lA,"_currentDrawId",-1),El(lA,"_currentParent",null),Cl(lA,No,null),Cl(lA,Po,null),Cl(lA,Lo,null),Cl(lA,Wo,NaN),Cl(lA,Bo,null),Cl(lA,jo,null),Cl(lA,zo,NaN),El(lA,"_INNER_MARGIN",3);let hA=lA;class dA{constructor(e,t,n,i,r,a){Cl(this,lc),Cl(this,Jo,new Float64Array(6)),Cl(this,Qo),Cl(this,ec),Cl(this,tc),Cl(this,nc),Cl(this,ic),Cl(this,rc,""),Cl(this,ac,0),Cl(this,sc,new uA),Cl(this,oc),Cl(this,cc),Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),Ul(this,nc,a),[e,t]=Fl(this,lc,hc).call(this,e,t);const s=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]),Ul(this,ec,[{line:s,points:Sl(this,ic)}]),Sl(this,Jo).set(s,0)}updateProperty(e,t){"stroke-width"===e&&Ul(this,nc,t)}isEmpty(){return!Sl(this,ec)||0===Sl(this,ec).length}isCancellable(){return Sl(this,ic).length<=10}add(e,t){[e,t]=Fl(this,lc,hc).call(this,e,t);const[n,i,r,a]=Sl(this,Jo).subarray(2,6),s=e-r,o=t-a;return Math.hypot(Sl(this,oc)*s,Sl(this,cc)*o)<=2?null:(Sl(this,ic).push(e,t),isNaN(n)?(Sl(this,Jo).set([r,a,e,t],2),Sl(this,Qo).push(NaN,NaN,NaN,NaN,e,t),{path:{d:this.toSVGPath()}}):(isNaN(Sl(this,Jo)[0])&&Sl(this,Qo).splice(6,6),Sl(this,Jo).set([n,i,r,a,e,t],0),Sl(this,Qo).push(...KD.createBezierPoints(n,i,r,a,e,t)),{path:{d:this.toSVGPath()}}))}end(e,t){const n=this.add(e,t);return n||(2===Sl(this,ic).length?{path:{d:this.toSVGPath()}}:null)}startNew(e,t,n,i,r){Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),[e,t]=Fl(this,lc,hc).call(this,e,t);const a=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]);const s=Sl(this,ec).at(-1);return s&&(s.line=new Float32Array(s.line),s.points=new Float32Array(s.points)),Sl(this,ec).push({line:a,points:Sl(this,ic)}),Sl(this,Jo).set(a,0),Ul(this,ac,0),this.toSVGPath(),null}getLastElement(){return Sl(this,ec).at(-1)}setLastElement(e){return Sl(this,ec)?(Sl(this,ec).push(e),Ul(this,Qo,e.line),Ul(this,ic,e.points),Ul(this,ac,0),{path:{d:this.toSVGPath()}}):Sl(this,sc).setLastElement(e)}removeLastElement(){if(!Sl(this,ec))return Sl(this,sc).removeLastElement();Sl(this,ec).pop(),Ul(this,rc,"");for(let e=0,t=Sl(this,ec).length;ee??NaN)),d,u,f,p),points:g(o[e].map((e=>e??NaN)),d,u,f,p)});const m=new e;return m.build(h,i,r,1,c,l,a),m}get box(){return Sl(this,dc)}updateProperty(e,t){return"stroke-width"===e?Fl(this,wc,Dc).call(this,t):null}updateParentDimensions([e,t],n){const[i,r]=Fl(this,wc,xc).call(this);Ul(this,gc,e),Ul(this,mc,t),Ul(this,bc,n);const[a,s]=Fl(this,wc,xc).call(this),o=a-i,c=s-r,l=Sl(this,dc);return l[0]-=o,l[1]-=c,l[2]+=2*o,l[3]+=2*c,l}updateRotation(e){return Ul(this,uc,e),{path:{transform:this.rotationTransform}}}get viewBox(){return Sl(this,dc).map(KD.svgRound).join(" ")}get defaultProperties(){const[e,t]=Sl(this,dc);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get rotationTransform(){const[,,e,t]=Sl(this,dc);let n=0,i=0,r=0,a=0,s=0,o=0;switch(Sl(this,uc)){case 90:i=t/e,r=-e/t,s=e;break;case 180:n=-1,a=-1,s=e,o=t;break;case 270:i=-t/e,r=e/t,o=t;break;default:return""}return`matrix(${n} ${i} ${r} ${a} ${KD.svgRound(s)} ${KD.svgRound(o)})`}getPathResizingSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),[s,o,c,l]=Sl(this,dc);if(Math.abs(c-r)<=KD.PRECISION||Math.abs(l-a)<=KD.PRECISION){const r=e+n/2-(s+c/2),a=t+i/2-(o+l/2);return{path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:`${this.rotationTransform} translate(${r} ${a})`}}}const h=(n-2*r)/(c-2*r),d=(i-2*a)/(l-2*a),u=c/n,f=l/i;return{path:{"transform-origin":`${KD.svgRound(s)} ${KD.svgRound(o)}`,transform:`${this.rotationTransform} scale(${u} ${f}) translate(${KD.svgRound(r)} ${KD.svgRound(a)}) scale(${h} ${d}) translate(${KD.svgRound(-r)} ${KD.svgRound(-a)})`}}}getPathResizedSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),s=Sl(this,dc),[o,c,l,h]=s;if(s[0]=e,s[1]=t,s[2]=n,s[3]=i,Math.abs(l-r)<=KD.PRECISION||Math.abs(h-a)<=KD.PRECISION){const r=e+n/2-(o+l/2),a=t+i/2-(c+h/2);for(const{line:e,points:t}of Sl(this,pc))KD._translate(e,r,a,e),KD._translate(t,r,a,t);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const d=(n-2*r)/(l-2*r),u=(i-2*a)/(h-2*a),f=-d*(o+r)+e+r,p=-u*(c+a)+t+a;if(1!==d||1!==u||0!==f||0!==p)for(const{line:g,points:m}of Sl(this,pc))KD._rescale(g,f,p,d,u,g),KD._rescale(m,f,p,d,u,m);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,t],n){const[i,r]=n,a=Sl(this,dc),s=e-a[0],o=t-a[1];if(Sl(this,gc)===i&&Sl(this,mc)===r)for(const{line:c,points:l}of Sl(this,pc))KD._translate(c,s,o,c),KD._translate(l,s,o,l);else{const e=Sl(this,gc)/i,t=Sl(this,mc)/r;Ul(this,gc,i),Ul(this,mc,r);for(const{line:n,points:i}of Sl(this,pc))KD._rescale(n,s,o,e,t,n),KD._rescale(i,s,o,e,t,i);a[2]*=e,a[3]*=t}return a[0]=e,a[1]=t,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get defaultSVGProperties(){const e=Sl(this,dc);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e[0])} ${KD.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}};Ac=new WeakMap;let fA=class e extends cA{constructor(e){super(),Cl(this,Ac),Ul(this,Ac,e),super.updateProperties({fill:"none",stroke:r_._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(e,t){"stroke-width"===e&&(t??(t=this["stroke-width"]),t*=Sl(this,Ac).realScale),super.updateSVGProperty(e,t)}clone(){const t=new e(Sl(this,Ac));return t.updateAll(this),t}};const pA=class e extends hA{constructor(e){super({...e,name:"inkEditor"}),Cl(this,Ec),this._willKeepAspectRatio=!0}static initialize(e,t){r_.initialize(e,t),this._defaultDrawingOptions=new fA(t.viewParameters)}static getDefaultDrawingOptions(e){const t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get supportMultipleDrawings(){return!0}static get typesMap(){return ex(this,"typesMap",new Map([[uw.INK_THICKNESS,"stroke-width"],[uw.INK_COLOR,"stroke"],[uw.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(e,t,n,i,r){return new dA(e,t,n,i,r,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(e,t,n,i,r,a){return uA.deserialize(e,t,n,i,r,a)}static async deserialize(e,t,n){let i=null;if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:r,id:a,color:s,opacity:o,borderStyle:{rawWidth:c},popupRef:l},parent:{page:{pageNumber:h}}}=e;i=e={annotationType:dw.INK,color:Array.from(s),thickness:c,opacity:o,paths:{points:t},boxes:null,pageIndex:h-1,rect:n.slice(0),rotation:r,id:a,deleted:!1,popupRef:l}}const r=await super.deserialize(e,t,n);return r.annotationElementId=e.id||null,r._initialData=i,r}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();const{_drawId:e,_drawingOptions:t,parent:n}=this;t.updateSVGProperty("stroke-width"),n.drawLayer.updateProperties(e,t.toSVGProperties())}static onScaleChangingWhenDrawing(){const e=this._currentParent;e&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty("stroke-width"),e.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:t,thickness:n,opacity:i}){this._drawingOptions=e.getDefaultDrawingOptions({stroke:px.makeHexColor(...t),"stroke-width":n,"stroke-opacity":i})}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const{lines:t,points:n,rect:i}=this.serializeDraw(e),{_drawingOptions:{stroke:r,"stroke-opacity":a,"stroke-width":s}}=this,o={annotationType:dw.INK,color:r_._colorManager.convert(r),opacity:a,thickness:s,paths:{lines:t,points:n},pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return e?o:this.annotationElementId&&!Fl(this,Ec,kc).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(e){const{points:t,rect:n}=this.serializeDraw(!1);return e.updateEdited({rect:n,thickness:this._drawingOptions["stroke-width"],points:t}),null}};Ec=new WeakSet,kc=function(e){const{color:t,thickness:n,opacity:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||e.color.some(((e,n)=>e!==t[n]))||e.thickness!==n||e.opacity!==i||e.pageIndex!==r},El(pA,"_type","ink"),El(pA,"_editorType",dw.INK),El(pA,"_defaultDrawingOptions",null);let gA=pA;const mA=class extends r_{constructor(e){super({...e,name:"stampEditor"}),Cl(this,Lc),Cl(this,Sc,null),Cl(this,Cc,null),Cl(this,Uc,null),Cl(this,Fc,null),Cl(this,Mc,null),Cl(this,Rc,""),Cl(this,Ic,null),Cl(this,Oc,null),Cl(this,Nc,!1),Cl(this,Pc,!1),Ul(this,Fc,e.bitmapUrl),Ul(this,Mc,e.bitmapFile)}static initialize(e,t){r_.initialize(e,t)}static get supportedTypes(){return ex(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map((e=>`image/${e}`)))}static get supportedTypesStr(){return ex(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(e){return this.supportedTypes.includes(e)}static paste(e,t){t.pasteEditor(dw.STAMP,{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var e;return{type:"stamp",hasAltText:!!(null==(e=this.altTextData)?void 0:e.altText)}}static computeTelemetryFinalData(e){const t=e.get("hasAltText");return{hasAltText:t.get(!0)??0,hasNoAltText:t.get(!1)??0}}async mlGuessAltText(e=null,t=!0){if(this.hasAltTextData())return null;const{mlManager:n}=this._uiManager;if(!n)throw new Error("No ML.");if(!(await n.isEnabledFor("altText")))throw new Error("ML isn't enabled for alt text.");const{data:i,width:r,height:a}=e||this.copyCanvas(null,null,!0).imageData,s=await n.guess({name:"altText",request:{data:i,width:r,height:a,channels:i.length/(r*a)}});if(!s)throw new Error("No response from the AI service.");if(s.error)throw new Error("Error from the AI service.");if(s.cancel)return null;if(!s.output)throw new Error("No valid response from the AI service.");const o=s.output;return await this.setGuessedAltText(o),t&&!this.hasAltTextData()&&(this.altTextData={alt:o,decorative:!1}),o}remove(){var e;Sl(this,Cc)&&(Ul(this,Sc,null),this._uiManager.imageManager.deleteId(Sl(this,Cc)),null==(e=Sl(this,Ic))||e.remove(),Ul(this,Ic,null),Sl(this,Oc)&&(clearTimeout(Sl(this,Oc)),Ul(this,Oc,null))),super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(Sl(this,Cc)&&null===Sl(this,Ic)&&Fl(this,Lc,jc).call(this),this.isAttachedToDOM||this.parent.add(this))):Sl(this,Cc)&&Fl(this,Lc,jc).call(this)}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(Sl(this,Uc)||Sl(this,Sc)||Sl(this,Fc)||Sl(this,Mc)||Sl(this,Cc))}get isResizable(){return!0}render(){if(this.div)return this.div;let e,t;if(this.width&&(e=this.x,t=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),Sl(this,Sc)?Fl(this,Lc,zc).call(this):Fl(this,Lc,jc).call(this),this.width&&!this.annotationElementId){const[n,i]=this.parentDimensions;this.setAt(e*n,t*i,this.width*n,this.height*i)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;null!==Sl(this,Oc)&&clearTimeout(Sl(this,Oc));Ul(this,Oc,setTimeout((()=>{Ul(this,Oc,null),Fl(this,Lc,Vc).call(this)}),200))}copyCanvas(e,t,n=!1){var i;e||(e=224);const{width:r,height:a}=Sl(this,Sc),s=new Wx;let o=Sl(this,Sc),c=r,l=a,h=null;if(t){if(r>t||a>t){const e=Math.min(t/r,t/a);c=Math.floor(r*e),l=Math.floor(a*e)}h=document.createElement("canvas");const e=h.width=Math.ceil(c*s.sx),n=h.height=Math.ceil(l*s.sy);Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,e,n));const d=h.getContext("2d");d.filter=this._uiManager.hcmFilter;let u="white",f="#cfcfd8";"none"!==this._uiManager.hcmFilter?f="black":(null==(i=window.matchMedia)?void 0:i.call(window,"(prefers-color-scheme: dark)").matches)&&(u="#8f8f9d",f="#42414d");const p=15,g=p*s.sx,m=p*s.sy,b=new OffscreenCanvas(2*g,2*m),v=b.getContext("2d");v.fillStyle=u,v.fillRect(0,0,2*g,2*m),v.fillStyle=f,v.fillRect(0,0,g,m),v.fillRect(g,m,g,m),d.fillStyle=d.createPattern(b,"repeat"),d.fillRect(0,0,e,n),d.drawImage(o,0,0,o.width,o.height,0,0,e,n)}let d=null;if(n){let t,n;if(s.symmetric&&o.widthe||a>e){const i=Math.min(e/r,e/a);t=Math.floor(r*i),n=Math.floor(a*i),Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,t,n))}const i=new OffscreenCanvas(t,n).getContext("2d",{willReadFrequently:!0});i.drawImage(o,0,0,o.width,o.height,0,0,t,n),d={width:t,height:n,data:i.getImageData(0,0,t,n).data}}return{canvas:h,width:c,height:l,imageData:d}}getImageForAltText(){return Sl(this,Ic)}static async deserialize(e,t,n){var i;let r=null;if(e instanceof VD){const{data:{rect:a,rotation:s,id:o,structParent:c,popupRef:l},container:h,parent:{page:{pageNumber:d}}}=e,u=h.querySelector("canvas"),f=n.imageManager.getFromCanvas(h.id,u);u.remove();const p=(null==(i=await t._structTree.getAriaAttributes(`${vx}${o}`))?void 0:i.get("aria-label"))||"";r=e={annotationType:dw.STAMP,bitmapId:f.id,bitmap:f.bitmap,pageIndex:d-1,rect:a.slice(0),rotation:s,id:o,deleted:!1,accessibilityData:{decorative:!1,altText:p},isSvg:!1,structParent:c,popupRef:l}}const a=await super.deserialize(e,t,n),{rect:s,bitmap:o,bitmapUrl:c,bitmapId:l,isSvg:h,accessibilityData:d}=e;l&&n.imageManager.isValidId(l)?(Ul(a,Cc,l),o&&Ul(a,Sc,o)):Ul(a,Fc,c),Ul(a,Nc,h);const[u,f]=a.pageDimensions;return a.width=(s[2]-s[0])/u,a.height=(s[3]-s[1])/f,a.annotationElementId=e.id||null,d&&(a.altTextData=d),a._initialData=r,Ul(a,Pc,!!r),a}serialize(e=!1,t=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n={annotationType:dw.STAMP,bitmapId:Sl(this,Cc),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:Sl(this,Nc),structTreeParentId:this._structTreeParentId};if(e)return n.bitmapUrl=Fl(this,Lc,Gc).call(this,!0),n.accessibilityData=this.serializeAltText(!0),n;const{decorative:i,altText:r}=this.serializeAltText(!1);if(!i&&r&&(n.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const e=Fl(this,Lc,Xc).call(this,n);if(e.isSame)return null;e.isSameAltText?delete n.accessibilityData:n.accessibilityData.structParent=this._initialData.structParent??-1}if(n.id=this.annotationElementId,null===t)return n;t.stamps||(t.stamps=new Map);const a=Sl(this,Nc)?(n.rect[2]-n.rect[0])*(n.rect[3]-n.rect[1]):null;if(t.stamps.has(Sl(this,Cc))){if(Sl(this,Nc)){const e=t.stamps.get(Sl(this,Cc));a>e.area&&(e.area=a,e.serialized.bitmap.close(),e.serialized.bitmap=Fl(this,Lc,Gc).call(this,!1))}}else t.stamps.set(Sl(this,Cc),{area:a,serialized:n}),n.bitmap=Fl(this,Lc,Gc).call(this,!1);return n}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}};Sc=new WeakMap,Cc=new WeakMap,Uc=new WeakMap,Fc=new WeakMap,Mc=new WeakMap,Rc=new WeakMap,Ic=new WeakMap,Oc=new WeakMap,Nc=new WeakMap,Pc=new WeakMap,Lc=new WeakSet,Wc=function(e,t=!1){e?(Ul(this,Sc,e.bitmap),t||(Ul(this,Cc,e.id),Ul(this,Nc,e.isSvg)),e.file&&Ul(this,Rc,e.file.name),Fl(this,Lc,zc).call(this)):this.remove()},Bc=function(){if(Ul(this,Uc,null),this._uiManager.enableWaiting(!1),Sl(this,Ic)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},jc=function(){if(Sl(this,Cc))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(Sl(this,Cc)).then((e=>Fl(this,Lc,Wc).call(this,e,!0))).finally((()=>Fl(this,Lc,Bc).call(this)));if(Sl(this,Fc)){const e=Sl(this,Fc);return Ul(this,Fc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromUrl(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}if(Sl(this,Mc)){const e=Sl(this,Mc);return Ul(this,Mc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromFile(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}const e=document.createElement("input");e.type="file",e.accept=mA.supportedTypesStr;const t=this._uiManager._signal;Ul(this,Uc,new Promise((n=>{e.addEventListener("change",(async()=>{if(e.files&&0!==e.files.length){this._uiManager.enableWaiting(!0);const t=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),Fl(this,Lc,Wc).call(this,t)}else this.remove();n()}),{signal:t}),e.addEventListener("cancel",(()=>{this.remove(),n()}),{signal:t})})).finally((()=>Fl(this,Lc,Bc).call(this)))),e.click()},zc=function(){var e;const{div:t}=this;let{width:n,height:i}=Sl(this,Sc);const[r,a]=this.pageDimensions,s=.75;if(this.width)n=this.width*r,i=this.height*a;else if(n>s*r||i>s*a){const e=Math.min(s*r/n,s*a/i);n*=e,i*=e}const[o,c]=this.parentDimensions;this.setDims(n*o/r,i*c/a),this._uiManager.enableWaiting(!1);const l=Ul(this,Ic,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=n/r,this.height=i/a,(null==(e=this._initialOptions)?void 0:e.isCentered)?this.center():this.fixAndSetPosition(),this._initialOptions=null,this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(t.hidden=!1),Fl(this,Lc,Vc).call(this),Sl(this,Pc)||(this.parent.addUndoableEditor(this),Ul(this,Pc,!0)),this._reportTelemetry({action:"inserted_image"}),Sl(this,Rc)&&l.setAttribute("aria-label",Sl(this,Rc))},Hc=function(e,t){const{width:n,height:i}=Sl(this,Sc);let r=n,a=i,s=Sl(this,Sc);for(;r>2*e||a>2*t;){const n=r,i=a;r>2*e&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),a>2*t&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2));const o=new OffscreenCanvas(r,a);o.getContext("2d").drawImage(s,0,0,n,i,0,0,r,a),s=o.transferToImageBitmap()}return s},Vc=function(){const[e,t]=this.parentDimensions,{width:n,height:i}=this,r=new Wx,a=Math.ceil(n*e*r.sx),s=Math.ceil(i*t*r.sy),o=Sl(this,Ic);if(!o||o.width===a&&o.height===s)return;o.width=a,o.height=s;const c=Sl(this,Nc)?Sl(this,Sc):Fl(this,Lc,Hc).call(this,a,s),l=o.getContext("2d");l.filter=this._uiManager.hcmFilter,l.drawImage(c,0,0,c.width,c.height,0,0,a,s)},Gc=function(e){if(e){if(Sl(this,Nc)){const e=this._uiManager.imageManager.getSvgUrl(Sl(this,Cc));if(e)return e}const e=document.createElement("canvas");({width:e.width,height:e.height}=Sl(this,Sc));return e.getContext("2d").drawImage(Sl(this,Sc),0,0),e.toDataURL()}if(Sl(this,Nc)){const[e,t]=this.pageDimensions,n=Math.round(this.width*e*xx.PDF_TO_CSS_UNITS),i=Math.round(this.height*t*xx.PDF_TO_CSS_UNITS),r=new OffscreenCanvas(n,i);return r.getContext("2d").drawImage(Sl(this,Sc),0,0,Sl(this,Sc).width,Sl(this,Sc).height,0,0,n,i),r.transferToImageBitmap()}return structuredClone(Sl(this,Sc))},Xc=function(e){var t;const{pageIndex:n,accessibilityData:{altText:i}}=this._initialData,r=e.pageIndex===n,a=((null==(t=e.accessibilityData)?void 0:t.alt)||"")===i;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&r&&a,isSameAltText:a}},El(mA,"_type","stamp"),El(mA,"_editorType",dw.STAMP);let bA=mA;const vA=class e{constructor({uiManager:t,pageIndex:n,div:i,structTreeLayer:r,accessibilityManager:a,annotationLayer:s,drawLayer:o,textLayer:c,viewport:l,l10n:h}){Cl(this,cl),Cl(this,$c),Cl(this,qc,!1),Cl(this,Yc,null),Cl(this,Kc,null),Cl(this,Zc,null),Cl(this,Jc,new Map),Cl(this,Qc,!1),Cl(this,el,!1),Cl(this,tl,!1),Cl(this,nl,null),Cl(this,il,null),Cl(this,rl,null),Cl(this,al,null),Cl(this,sl);const d=[...Sl(e,ol).values()];if(!e._initialized){e._initialized=!0;for(const e of d)e.initialize(h,t)}t.registerEditorTypes(d),Ul(this,sl,t),this.pageIndex=n,this.div=i,Ul(this,$c,a),Ul(this,Yc,s),this.viewport=l,Ul(this,rl,c),this.drawLayer=o,this._structTree=r,Sl(this,sl).addLayer(this)}get isEmpty(){return 0===Sl(this,Jc).size}get isInvisible(){return this.isEmpty&&Sl(this,sl).getMode()===dw.NONE}updateToolbar(e){Sl(this,sl).updateToolbar(e)}updateMode(t=Sl(this,sl).getMode()){switch(Fl(this,cl,fl).call(this),t){case dw.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case dw.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case dw.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:n}=this.div;for(const i of Sl(e,ol).values())n.toggle(`${i._type}Editing`,t===i._editorType);this.div.hidden=!1}hasTextLayer(e){var t;return e===(null==(t=Sl(this,rl))?void 0:t.div)}setEditingState(e){Sl(this,sl).setEditingState(e)}addCommands(e){Sl(this,sl).addCommands(e)}cleanUndoStack(e){Sl(this,sl).cleanUndoStack(e)}toggleDrawing(e=!1){this.div.classList.toggle("drawing",!e)}togglePointerEvents(e=!1){this.div.classList.toggle("disabled",!e)}toggleAnnotationLayerPointerEvents(e=!1){var t;null==(t=Sl(this,Yc))||t.div.classList.toggle("disabled",!e)}async enable(){Ul(this,tl,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const e=new Set;for(const n of Sl(this,Jc).values())n.enableEditing(),n.show(!0),n.annotationElementId&&(Sl(this,sl).removeChangedExistingAnnotation(n),e.add(n.annotationElementId));if(!Sl(this,Yc))return void Ul(this,tl,!1);const t=Sl(this,Yc).getEditableAnnotations();for(const n of t){if(n.hide(),Sl(this,sl).isDeletedAnnotationElement(n.data.id))continue;if(e.has(n.data.id))continue;const t=await this.deserialize(n);t&&(this.addOrRebuild(t),t.enableEditing())}Ul(this,tl,!1)}disable(){var t;Ul(this,el,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const n=new Map,i=new Map;for(const e of Sl(this,Jc).values())e.disableEditing(),e.annotationElementId&&(null===e.serialize()?(i.set(e.annotationElementId,e),null==(t=this.getEditableAnnotation(e.annotationElementId))||t.show(),e.remove()):n.set(e.annotationElementId,e));if(Sl(this,Yc)){const e=Sl(this,Yc).getEditableAnnotations();for(const t of e){const{id:e}=t.data;if(Sl(this,sl).isDeletedAnnotationElement(e))continue;let r=i.get(e);r?(r.resetAnnotationElement(t),r.show(!1),t.show()):(r=n.get(e),r&&(Sl(this,sl).addChangedExistingAnnotation(r),r.renderAnnotationElement(t)&&r.show(!1)),t.show())}}Fl(this,cl,fl).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:r}=this.div;for(const a of Sl(e,ol).values())r.remove(`${a._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),Ul(this,el,!1)}getEditableAnnotation(e){var t;return(null==(t=Sl(this,Yc))?void 0:t.getEditableAnnotation(e))||null}setActiveEditor(e){Sl(this,sl).getActive()!==e&&Sl(this,sl).setActiveEditor(e)}enableTextSelection(){var e;if(this.div.tabIndex=-1,(null==(e=Sl(this,rl))?void 0:e.div)&&!Sl(this,al)){Ul(this,al,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,al));Sl(this,rl).div.addEventListener("pointerdown",Fl(this,cl,ll).bind(this),{signal:e}),Sl(this,rl).div.classList.add("highlighting")}}disableTextSelection(){var e;this.div.tabIndex=0,(null==(e=Sl(this,rl))?void 0:e.div)&&Sl(this,al)&&(Sl(this,al).abort(),Ul(this,al,null),Sl(this,rl).div.classList.remove("highlighting"))}enableClick(){if(Sl(this,Kc))return;Ul(this,Kc,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,Kc));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:e});const t=this.pointerup.bind(this);this.div.addEventListener("pointerup",t,{signal:e}),this.div.addEventListener("pointercancel",t,{signal:e})}disableClick(){var e;null==(e=Sl(this,Kc))||e.abort(),Ul(this,Kc,null)}attach(e){Sl(this,Jc).set(e.id,e);const{annotationElementId:t}=e;t&&Sl(this,sl).isDeletedAnnotationElement(t)&&Sl(this,sl).removeDeletedAnnotationElement(e)}detach(e){var t;Sl(this,Jc).delete(e.id),null==(t=Sl(this,$c))||t.removePointerInTextLayer(e.contentDiv),!Sl(this,el)&&e.annotationElementId&&Sl(this,sl).addDeletedAnnotationElement(e)}remove(e){this.detach(e),Sl(this,sl).removeEditor(e),e.div.remove(),e.isAttachedToDOM=!1}changeParent(e){var t;e.parent!==this&&(e.parent&&e.annotationElementId&&(Sl(this,sl).addDeletedAnnotationElement(e.annotationElementId),r_.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),null==(t=e.parent)||t.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(e.parent!==this||!e.isAttachedToDOM){if(this.changeParent(e),Sl(this,sl).addEditor(e),this.attach(e),!e.isAttachedToDOM){const t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(!Sl(this,tl)),Sl(this,sl).addToAnnotationStorage(e),e._reportTelemetry(e.telemetryInitialData)}}moveEditorInDOM(e){var t;if(!e.isAttachedToDOM)return;const{activeElement:n}=document;e.div.contains(n)&&!Sl(this,Zc)&&(e._focusEventsAllowed=!1,Ul(this,Zc,setTimeout((()=>{Ul(this,Zc,null),e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:Sl(this,sl)._signal}),n.focus())}),0))),e._structTreeParentId=null==(t=Sl(this,$c))?void 0:t.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?(e.parent||(e.parent=this),e.rebuild(),e.show()):this.add(e)}addUndoableEditor(e){this.addCommands({cmd:()=>e._uiManager.rebuild(e),undo:()=>{e.remove()},mustExec:!1})}getNextId(){return Sl(this,sl).getId()}combinedSignal(e){return Sl(this,sl).combinedSignal(e)}canCreateNewEmptyEditor(){var e;return null==(e=Sl(this,cl,hl))?void 0:e.canCreateNewEmptyEditor()}pasteEditor(e,t){Sl(this,sl).updateToolbar(e),Sl(this,sl).updateMode(e);const{offsetX:n,offsetY:i}=Fl(this,cl,ul).call(this),r=this.getNextId(),a=Fl(this,cl,dl).call(this,{parent:this,id:r,x:n,y:i,uiManager:Sl(this,sl),isCentered:!0,...t});a&&this.add(a)}async deserialize(t){var n;return await(null==(n=Sl(e,ol).get(t.annotationType??t.annotationEditorType))?void 0:n.deserialize(t,this,Sl(this,sl)))||null}createAndAddNewEditor(e,t,n={}){const i=this.getNextId(),r=Fl(this,cl,dl).call(this,{parent:this,id:i,x:e.offsetX,y:e.offsetY,uiManager:Sl(this,sl),isCentered:t,...n});return r&&this.add(r),r}addNewEditor(){this.createAndAddNewEditor(Fl(this,cl,ul).call(this),!0)}setSelected(e){Sl(this,sl).setSelected(e)}toggleSelected(e){Sl(this,sl).toggleSelected(e)}unselect(e){Sl(this,sl).unselect(e)}pointerup(e){var t;const{isMac:n}=ux.platform;0!==e.button||e.ctrlKey&&n||e.target===this.div&&Sl(this,Qc)&&(Ul(this,Qc,!1),(null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)&&Sl(this,cl,hl).supportMultipleDrawings||(Sl(this,qc)?Sl(this,sl).getMode()!==dw.STAMP?this.createAndAddNewEditor(e,!1):Sl(this,sl).unselectAll():Ul(this,qc,!0)))}pointerdown(e){var t;if(Sl(this,sl).getMode()===dw.HIGHLIGHT&&this.enableTextSelection(),Sl(this,Qc))return void Ul(this,Qc,!1);const{isMac:n}=ux.platform;if(0!==e.button||e.ctrlKey&&n)return;if(e.target!==this.div)return;if(Ul(this,Qc,!0),null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)return void this.startDrawingSession(e);const i=Sl(this,sl).getActive();Ul(this,qc,!i||i.isEmpty())}startDrawingSession(e){if(this.div.focus(),Sl(this,nl))return void Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e);Sl(this,sl).setCurrentDrawingSession(this),Ul(this,nl,new AbortController);const t=Sl(this,sl).combinedSignal(Sl(this,nl));this.div.addEventListener("blur",(({relatedTarget:e})=>{e&&!this.div.contains(e)&&(Ul(this,il,null),this.commitOrRemove())}),{signal:t}),Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e)}pause(e){if(e){const{activeElement:e}=document;this.div.contains(e)&&Ul(this,il,e)}else Sl(this,il)&&setTimeout((()=>{var e;null==(e=Sl(this,il))||e.focus(),Ul(this,il,null)}),0)}endDrawingSession(e=!1){return Sl(this,nl)?(Sl(this,sl).setCurrentDrawingSession(null),Sl(this,nl).abort(),Ul(this,nl,null),Ul(this,il,null),Sl(this,cl,hl).endDrawing(e)):null}findNewParent(e,t,n){const i=Sl(this,sl).findParent(t,n);return null!==i&&i!==this&&(i.changeParent(e),!0)}commitOrRemove(){return!!Sl(this,nl)&&(this.endDrawingSession(),!0)}onScaleChanging(){Sl(this,nl)&&Sl(this,cl,hl).onScaleChangingWhenDrawing(this)}destroy(){var e,t;this.commitOrRemove(),(null==(e=Sl(this,sl).getActive())?void 0:e.parent)===this&&(Sl(this,sl).commitOrRemove(),Sl(this,sl).setActiveEditor(null)),Sl(this,Zc)&&(clearTimeout(Sl(this,Zc)),Ul(this,Zc,null));for(const n of Sl(this,Jc).values())null==(t=Sl(this,$c))||t.removePointerInTextLayer(n.contentDiv),n.setParent(null),n.isAttachedToDOM=!1,n.div.remove();this.div=null,Sl(this,Jc).clear(),Sl(this,sl).removeLayer(this)}render({viewport:e}){this.viewport=e,Lx(this.div,e);for(const t of Sl(this,sl).getEditors(this.pageIndex))this.add(t),t.rebuild();this.updateMode()}update({viewport:e}){Sl(this,sl).commitOrRemove(),Fl(this,cl,fl).call(this);const t=this.viewport.rotation,n=e.rotation;if(this.viewport=e,Lx(this.div,{rotation:n}),t!==n)for(const i of Sl(this,Jc).values())i.rotate(n)}get pageDimensions(){const{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}get scale(){return Sl(this,sl).viewParameters.realScale}};$c=new WeakMap,qc=new WeakMap,Yc=new WeakMap,Kc=new WeakMap,Zc=new WeakMap,Jc=new WeakMap,Qc=new WeakMap,el=new WeakMap,tl=new WeakMap,nl=new WeakMap,il=new WeakMap,rl=new WeakMap,al=new WeakMap,sl=new WeakMap,ol=new WeakMap,cl=new WeakSet,ll=function(e){Sl(this,sl).unselectAll();const{target:t}=e;if(t===Sl(this,rl).div||("img"===t.getAttribute("role")||t.classList.contains("endOfContent"))&&Sl(this,rl).div.contains(t)){const{isMac:t}=ux.platform;if(0!==e.button||e.ctrlKey&&t)return;Sl(this,sl).showAllEditors("highlight",!0,!0),Sl(this,rl).div.classList.add("free"),this.toggleDrawing(),oA.startHighlighting(this,"ltr"===Sl(this,sl).direction,{target:Sl(this,rl).div,x:e.x,y:e.y}),Sl(this,rl).div.addEventListener("pointerup",(()=>{Sl(this,rl).div.classList.remove("free"),this.toggleDrawing(!0)}),{once:!0,signal:Sl(this,sl)._signal}),e.preventDefault()}},hl=function(){return Sl(vA,ol).get(Sl(this,sl).getMode())},dl=function(e){const t=Sl(this,cl,hl);return t?new t.prototype.constructor(e):null},ul=function(){const{x:e,y:t,width:n,height:i}=this.div.getBoundingClientRect(),r=Math.max(0,e),a=Math.max(0,t),s=(r+Math.min(window.innerWidth,e+n))/2-e,o=(a+Math.min(window.innerHeight,t+i))/2-t,[c,l]=this.viewport.rotation%180==0?[s,o]:[o,s];return{offsetX:c,offsetY:l}},fl=function(){for(const e of Sl(this,Jc).values())e.isEmpty()&&e.remove()},El(vA,"_initialized",!1),Cl(vA,ol,new Map([YD,gA,bA,oA].map((e=>[e._editorType,e]))));let yA=vA;const wA=class e{constructor({pageIndex:e}){Cl(this,wl),Cl(this,pl,null),Cl(this,gl,0),Cl(this,ml,new Map),Cl(this,bl,new Map),this.pageIndex=e}setParent(e){if(Sl(this,pl)){if(Sl(this,pl)!==e){if(Sl(this,ml).size>0)for(const t of Sl(this,ml).values())t.remove(),e.append(t);Ul(this,pl,e)}}else Ul(this,pl,e)}static get _svgFactory(){return ex(this,"_svgFactory",new pD)}draw(t,n=!1,i=!1){const r=Ml(this,gl)._++,a=Fl(this,wl,xl).call(this),s=e._svgFactory.createElement("defs");a.append(s);const o=e._svgFactory.createElement("path");s.append(o);const c=`path_p${this.pageIndex}_${r}`;o.setAttribute("id",c),o.setAttribute("vector-effect","non-scaling-stroke"),n&&Sl(this,bl).set(r,o);const l=i?Fl(this,wl,_l).call(this,s,c):null,h=e._svgFactory.createElement("use");return a.append(h),h.setAttribute("href",`#${c}`),this.updateProperties(a,t),Sl(this,ml).set(r,a),{id:r,clipPathId:`url(#${l})`}}drawOutline(t,n){const i=Ml(this,gl)._++,r=Fl(this,wl,xl).call(this),a=e._svgFactory.createElement("defs");r.append(a);const s=e._svgFactory.createElement("path");a.append(s);const o=`path_p${this.pageIndex}_${i}`;let c;if(s.setAttribute("id",o),s.setAttribute("vector-effect","non-scaling-stroke"),n){const t=e._svgFactory.createElement("mask");a.append(t),c=`mask_p${this.pageIndex}_${i}`,t.setAttribute("id",c),t.setAttribute("maskUnits","objectBoundingBox");const n=e._svgFactory.createElement("rect");t.append(n),n.setAttribute("width","1"),n.setAttribute("height","1"),n.setAttribute("fill","white");const r=e._svgFactory.createElement("use");t.append(r),r.setAttribute("href",`#${o}`),r.setAttribute("stroke","none"),r.setAttribute("fill","black"),r.setAttribute("fill-rule","nonzero"),r.classList.add("mask")}const l=e._svgFactory.createElement("use");r.append(l),l.setAttribute("href",`#${o}`),c&&l.setAttribute("mask",`url(#${c})`);const h=l.cloneNode();return r.append(h),l.classList.add("mainOutline"),h.classList.add("secondaryOutline"),this.updateProperties(r,t),Sl(this,ml).set(i,r),i}finalizeDraw(e,t){Sl(this,bl).delete(e),this.updateProperties(e,t)}updateProperties(t,n){var i;if(!n)return;const{root:r,bbox:a,rootClass:s,path:o}=n,c="number"==typeof t?Sl(this,ml).get(t):t;if(c){if(r&&Fl(this,wl,Tl).call(this,c,r),a&&Fl(i=e,vl,yl).call(i,c,a),s){const{classList:e}=c;for(const[t,n]of Object.entries(s))e.toggle(t,n)}if(o){const e=c.firstChild.firstChild;Fl(this,wl,Tl).call(this,e,o)}}}updateParent(e,t){if(t===this)return;const n=Sl(this,ml).get(e);n&&(Sl(t,pl).append(n),Sl(this,ml).delete(e),Sl(t,ml).set(e,n))}remove(e){Sl(this,bl).delete(e),null!==Sl(this,pl)&&(Sl(this,ml).get(e).remove(),Sl(this,ml).delete(e))}destroy(){Ul(this,pl,null);for(const e of Sl(this,ml).values())e.remove();Sl(this,ml).clear(),Sl(this,bl).clear()}};pl=new WeakMap,gl=new WeakMap,ml=new WeakMap,bl=new WeakMap,vl=new WeakSet,yl=function(e,[t,n,i,r]){const{style:a}=e;a.top=100*n+"%",a.left=100*t+"%",a.width=100*i+"%",a.height=100*r+"%"},wl=new WeakSet,xl=function(){const e=wA._svgFactory.create(1,1,!0);return Sl(this,pl).append(e),e.setAttribute("aria-hidden",!0),e},_l=function(e,t){const n=wA._svgFactory.createElement("clipPath");e.append(n);const i=`clip_${t}`;n.setAttribute("id",i),n.setAttribute("clipPathUnits","objectBoundingBox");const r=wA._svgFactory.createElement("use");return n.append(r),r.setAttribute("href",`#${t}`),r.classList.add("clip"),i},Tl=function(e,t){for(const[n,i]of Object.entries(t))null===i?e.removeAttribute(n):e.setAttribute(n,i)},Cl(wA,vl);let xA=wA;globalThis.pdfjsTestingUtils={HighlightOutliner:eA};var _A=Zy.GlobalWorkerOptions,TA=Zy.getDocument;const DA={class:"relative"},AA=["onClick"],EA={class:"flex align-middle justify-center items-center gap-2"},kA=Rl({__name:"ChatInput",props:{disabled:{type:Boolean,default:!1},minRows:{type:Number,default:2},maxRows:{type:Number,default:8},showUpload:{type:Boolean,default:!0},placeholder:{type:String,default:rh("components.chatInput.placeholder")},autoCompleteEnabled:{type:Boolean,default:!1},tips:{type:String,default:""}},emits:["input"],setup(e,{emit:t}){_A.workerSrc=new URL(""+new URL("pdf.worker.min-yatZIOMy.mjs",import.meta.url).href,import.meta.url).toString();const n=Bl(null),i=ah();Wl((()=>i.isSidebarCompact),(e=>{e&&dh((()=>{if(n.value){const e=n.value.$el.querySelector("textarea");e&&(e.focus(),e.blur())}}))}));const r=e,a=Bl(""),s=Bl([]),o=Bl(-1),c=Bl(""),l=t,h=()=>{const e=a.value.trim();e&&(s.value.push(e),s.value.length>50&&s.value.shift(),localStorage.setItem("chatHistory",JSON.stringify(s.value)),l("input",{content:e,files:d.value.map((e=>({content:e.content,url:e.url,id:e.raw.path,name:e.name,type:e.type,size:e.size})))}),a.value="",d.value=[],o.value=-1)},d=Bl([]),u=async e=>{try{for(const t of e){const e=await p(t.raw);t.content=e,d.value.push(t)}return{status:"success",error:"",response:{url:" "}}}catch{return{status:"fail",error:"",response:{}}}};async function f(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=e=>t(e.target.result),i.onerror=e=>n(e),i.readAsArrayBuffer(e)}))}async function p(e){var t;switch(null==(t=e.name.split(".").pop())?void 0:t.toLowerCase()){case"docx":return await async function(e){const t=await f(e);return(await Nh.extractRawText({arrayBuffer:t})).value}(e);case"pdf":return await async function(e){const t=await f(e),n=await TA(t).promise;let i="";for(let r=1;r<=n.numPages;r++){const e=await n.getPage(r);i+=(await e.getTextContent()).items.map((e=>e.str)).join(" ")+"\n"}return i}(e);case"xlsx":case"xls":return await async function(e){const t=await f(e),n=Ly(new Uint8Array(t),{type:"array"});let i="";return n.SheetNames.forEach((e=>{const t=n.Sheets[e],r=Yy.sheet_to_json(t,{header:1});i+=`Sheet: ${e}\n`,r.forEach((e=>{i+=e.join(", ")+"\n"})),i+="\n"})),i}(e);case"png":case"jpg":case"jpeg":case"gif":case"bmp":case"webp":return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=e=>n(e)}))}(e);default:return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e)},i.readAsText(e)}))}(e)}}const g=sh(),m=Bl(!1),b=Bl(0),v=Bl(0),y=Bl(""),w=Bl(null),x=Bl(null),_=Bl(null),T=Bl("-150px"),D=Il((()=>["@ai",...g.enableModels.map((e=>`@${oh.getModelItemTitle(e)}`))])),A=Bl(!1),E=(e,t)=>{const{e:n}=t;if(m.value)switch(n.key){case"ArrowDown":n.preventDefault(),b.value=(b.value+1)%k.value.length;break;case"ArrowUp":n.preventDefault(),b.value=(b.value-1+k.value.length)%k.value.length;break;case"Enter":n.preventDefault(),k.value.length>0&&C(k.value[b.value]);break;case"Escape":m.value=!1}else if("Enter"===n.key){if(n.shiftKey||A.value)return;const e=a.value.trim();if(r.autoCompleteEnabled&&e.startsWith("@")&&(D.value.includes(e)||"@"===e))return void n.preventDefault();n.preventDefault(),h()}else if("ArrowUp"===n.key||"ArrowDown"===n.key){if(n.preventDefault(),"ArrowUp"===n.key){if(0===s.value.length)return;o.value-1&&o.value--;-1===o.value?a.value=c.value:a.value=s.value[s.value.length-1-o.value]}},k=Il((()=>{if(!y.value)return D.value;const e=y.value.toLowerCase();return D.value.filter((t=>t.toLowerCase().includes(e)))}));Wl((()=>k),(async()=>{if(m.value&&x.value){await dh();const e=w.value.offsetHeight;T.value=`-${e}px`}}));const S=(e,t)=>{const{e:n}=t,i=e;if(c.value=a.value,!r.autoCompleteEnabled)return;const s=n.target.selectionStart;if(v.value=i.lastIndexOf("@",s-1),-1!==v.value&&v.value=s?(y.value=i.slice(v.value+1,s),m.value=!0,b.value=0):m.value=!1}else m.value=!1},C=e=>{const t=a.value.slice(0,v.value),n=a.value.slice(a.value.indexOf(" ",v.value)+1||a.value.length);a.value=t+e+" "+n,m.value=!1,y.value=""},U=()=>{if(_.value&&w.value){const e=w.value,t=_.value,n=e.scrollTop,i=n+e.clientHeight,r=t.offsetTop,a=r+t.offsetHeight;ri&&(e.scrollTop=a-e.clientHeight)}};Wl(b,(()=>{dh(U)})),ch((()=>{A.value=xh();const e=localStorage.getItem("chatHistory");e&&(s.value=JSON.parse(e))}));const F=async e=>{var t;const n=null==(t=e.clipboardData)?void 0:t.items;if(n)for(let i=0;i{var t;const n=null==(t=e.dataTransfer)?void 0:t.files;if(n)for(let i=0;i{const r=Jl,s=ph,o=mh;return Hl(),jl("div",DA,[m.value?(Hl(),jl("div",{key:0,class:"autocomplete left-0 absolute z-50 w-full bg-color-container bordered p-2",ref_key:"autocompleteContainer",ref:w,style:lh({top:T.value})},[Yl("ul",{ref_key:"suggestionList",ref:x},[(Hl(!0),jl(Gl,null,Xl(k.value,((e,t)=>(Hl(),jl("li",{key:e,onClick:t=>C(e),class:hh({selected:t===b.value}),ref_for:!0,ref:e=>{t===b.value&&(_.value=e)}},Zl(e),11,AA)))),128))],512)],4)):zl("",!0),Yl("div",{class:"flex flex-col chat-input bg-color-container bordered rounded-lg px-1",onDragover:i[1]||(i[1]=Ql((()=>{}),["prevent"])),onDrop:Ql(M,["prevent"])},[Vl(Mh,{files:d.value,class:hh(["py-2"])},null,8,["files"]),Yl("div",EA,[e.showUpload?(Hl(),$l(s,{key:0,theme:"custom","request-method":u,multiple:!0,allowUploadDuplicateFile:!0},{default:ql((()=>[Vl(r,{theme:"primary",shape:"circle",size:"large",variant:"base"},{default:ql((()=>[Vl(eh(fh),{slot:"icon"})])),_:1})])),_:1})):zl("",!0),Vl(o,{ref_key:"textareaRef",ref:n,class:"flex-1",onKeydown:E,onChange:S,onPaste:F,disabled:e.disabled,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=e=>a.value=e),placeholder:e.placeholder,name:"description",tips:e.tips,autosize:{minRows:e.minRows,maxRows:e.maxRows}},null,8,["disabled","modelValue","placeholder","tips","autosize"]),Vl(r,{theme:"primary",shape:"circle",onClick:h,size:"large",variant:"base"},{default:ql((()=>[Vl(eh(wh),{slot:"icon"})])),_:1})])],32)])}}});export{kA as _,Mh as a,Rh as b,xh as c,wh as s}; diff --git a/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-9tJ0id2x.js b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-9tJ0id2x.js new file mode 100644 index 0000000000000000000000000000000000000000..8018db7a795cba1993f3eb3abb54c26fba34af0f --- /dev/null +++ b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-9tJ0id2x.js @@ -0,0 +1,6097 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./flowchart-elk-definition-170a3958-B0ZB_oCt.js","./main-B1VD2nmz.js","./main-CowyuxuO.css","./ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js","./index-B2mXgHAg.js","./index-Byyp9n_m.js","./index-dIOYMMBF.css","./index-BedzsCE5.js","./dep-ce162557-CrA2Ivhk.js","./index-BZuyLcM6.css","./index-DUUaDU4G.js","./index-CIhn6Q_x.css","./ChatInput-BMuO6hgs.css","./fetch-Bo-JsCCZ.js","./debounce-WA10vVqG.js","./refresh-D9v5zr8e.js","./copy-9EUn_k9V.js","./v4-_R2nDvl_.js","./_baseUniq-BzSlISym.js","./index-CJnl5QSY.js","./index-DTZnpgd-.css","./timeline-definition-8e5a9bc6-FFyHfRDF.js","./is_dark-CqRHLrEG.js","./mindmap-definition-44684416-B2WUz8vp.js","./index-CCre7QV5.js","./prism-BU-d67Cy.js"])))=>i.map(i=>d[i]); +import{bS as e,bT as t,bU as n,bV as i,b7 as r,bW as a,bX as o,bY as s,bH as l,bZ as u,O as d,b9 as h,ao as p,b_ as g,am as m,b$ as _,c0 as b,c1 as f,c2 as y,c3 as E,c4 as v,c5 as S,b6 as T,ba as C,c6 as x,c7 as k,d as A,b as w,H as N,I as O,J as R,K as I,X as D,P as M,q as L,Y as P,c8 as j,c9 as F,aL as B,bd as U,b1 as G,ca as z,b8 as $,ax as Y,cb as q,cc as H,cd as V,ce as W,M as Q,ab as K,ac as X,j as Z,cf as J,cg as ee,c as te,o as ne,aa as ie,ah as re,e as ae,p as oe,F as se,y as le,B as ce,s as ue,v as de,t as he,x as pe,a5 as ge,aj as me,R as _e,f as be,ak as fe,C as ye,a8 as Ee,E as ve,aw as Se,w as Te,ch as Ce,ci as xe,_ as ke,a1 as Ae,cj as we,ck as Ne,aS as Oe,aB as Re,cl as Ie,r as De,cm as Me,a7 as Le,D as Pe,cn as je,co as Fe}from"./main-B1VD2nmz.js";import{d as Be,f as Ue}from"./fetch-Bo-JsCCZ.js";import{r as Ge}from"./refresh-D9v5zr8e.js";import{c as ze}from"./copy-9EUn_k9V.js";import{T as $e}from"./index-DUUaDU4G.js";import{s as Ye,a as qe}from"./ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js";import{v as He}from"./v4-_R2nDvl_.js";import{d as Ve,e as We,b as Qe,c as Ke,m as Xe}from"./_baseUniq-BzSlISym.js";import{q as Ze,r as Je}from"./index-BedzsCE5.js";import{p as et}from"./index-CJnl5QSY.js";import{I as tt}from"./index-B2mXgHAg.js";var nt=1/0;function it(t){return t?(t=e(t))===nt||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}var rt,at=(rt=i,function(e,t){if(null==e)return e;if(!n(e))return rt(e,t);for(var i=e.length,r=-1,a=Object(e);++r2?t[2]:void 0;for(r&&a(t[0],t[1],r)&&(i=1);++n-1?r[a?e[o]:o]:void 0});function _t(e,t){var i=-1,r=n(e)?Array(e.length):[];return at(e,(function(e,n,a){r[++i]=t(e,n,a)})),r}function bt(e,t){return(d(e)?m:_t)(e,p(t))}var ft=Object.prototype.hasOwnProperty;function yt(e,t){return null!=e&&ft.call(e,t)}function Et(e,t){return null!=e&&b(e,t,yt)}function vt(e){return null==e?[]:function(e,t){return m(t,(function(t){return e[t]}))}(e,g(e))}function St(e,t){var n={};return t=p(t),i(e,(function(e,i,r){f(n,i,t(e,i,r))})),n}function Tt(e,t){return e&&e.length?Ve(e,p(t),We):void 0}function Ct(e,t){if(e!==t){var n=void 0!==e,i=null===e,r=e==e,a=y(e),o=void 0!==t,s=null===t,l=t==t,c=y(t);if(!s&&!c&&!a&&e>t||a&&o&&l&&!s&&!c||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!c&&e=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}var kt=Math.ceil,At=Math.max;var wt=function(e,t,n){return n&&"number"!=typeof n&&a(e,t,n)&&(t=n=void 0),e=it(e),void 0===t?(t=e,e=0):t=it(t),function(e,t,n){for(var i=-1,r=At(kt((t-e)/(n||1)),0),a=Array(r);r--;)a[++i]=e,e+=n;return a}(e,t,n=void 0===n?e1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),xt(e,T(t),[])})),It=r((function(e){return Qe(T(e,1,C,!0))})),Dt=0;function Mt(e){var t=++Dt;return x(e)+t}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Pt(e){for(var t=1;te.size)),{className:r,style:a}=N(i),o=w((()=>["t-icon","t-icon-check",r.value])),s=w((()=>Pt(Pt({},a.value),n.style))),l=w((()=>({class:o.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>O(jt,l.value)}});function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ut(e){for(var t=1;te.size)),{className:r,style:a}=N(i),o=w((()=>["t-icon","t-icon-edit-2",r.value])),s=w((()=>Ut(Ut({},a.value),n.style))),l=w((()=>({class:o.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>O(Gt,l.value)}});function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Yt(e){for(var t=1;te.size)),{className:r,style:a}=N(i),o=w((()=>["t-icon","t-icon-system-code",r.value])),s=w((()=>Yt(Yt({},a.value),n.style))),l=w((()=>({class:o.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>O(Vt,l.value)}}),Qt=P(A({name:"TDivider",props:{align:{type:String,default:"center",validator:function(e){return!e||["left","right","center"].includes(e)}},content:{type:[String,Function]},dashed:Boolean,default:{type:[String,Function]},layout:{type:String,default:"horizontal",validator:function(e){return!e||["horizontal","vertical"].includes(e)}},theme:{type:String,validator:function(e){return!e||["horizontal","vertical"].includes(e)}}},setup:function(e){var t=I("divider"),n=D();return function(){var i=e.layout,r=e.dashed,a=e.align,o=n("default","content"),s=["".concat(t.value),["".concat(t.value,"--").concat(i)],M(M(M({},"".concat(t.value,"--dashed"),!!r),"".concat(t.value,"--with-text"),!!o),"".concat(t.value,"--with-text-").concat(a),!!o)];return L("div",{class:s},[o&&L("span",{class:"".concat(t.value,"__inner-text")},[o])])}}}));var Kt=function(){if(Ht)return qt;function e(e,t){t=t?Array.isArray(t)?t:[t]:[],Object.freeze(t);var n=e.renderer.rules.link_open||this.defaultRender;e.renderer.rules.link_open=function(e,i,r,a,o){var s=function(e,t){var n,i,r=e.attrs[e.attrIndex("href")][1];for(n=0;n=55296&&e<=57343?"���":String.fromCharCode(e),i+=6;continue}}if(240==(248&a)&&i+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),i+=9;continue}}t+="�"}}return t}))}Jt.defaultChars=";/?:@&=+$,#",Jt.componentChars="";const en={};function tn(e,t,n){"string"!=typeof t&&(n=t,t=tn.defaultChars),void 0===n&&(n=!0);const i=function(e){let t=en[e];if(t)return t;t=en[e]=[];for(let n=0;n<128;n++){const e=String.fromCharCode(n);/^[0-9a-z]$/i.test(e)?t.push(e):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&t<=57343){if(t>=55296&&t<=56319&&a+1=56320&&t<=57343){r+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[a])}return r}function nn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function rn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}tn.defaultChars=";/?:@&=+$,-_.!~*'()#",tn.componentChars="-_.!~*'()";const an=/^([a-z0-9.+-]+:)/i,on=/:[0-9]*$/,sn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ln=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),cn=["'"].concat(ln),un=["%","/","?",";","#"].concat(cn),dn=["/","?","#"],hn=/^[+a-z0-9A-Z_-]{0,63}$/,pn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,gn={javascript:!0,"javascript:":!0},mn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _n(e,t){if(e&&e instanceof rn)return e;const n=new rn;return n.parse(e,t),n}rn.prototype.parse=function(e,t){let n,i,r,a=e;if(a=a.trim(),!t&&1===e.split("#").length){const e=sn.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=an.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===a.substr(0,2),!r||o&&gn[o]||(a=a.substr(2),this.slashes=!0)),!gn[o]&&(r||o&&!mn[o])){let e,t,n=-1;for(let s=0;s127?i+="x":i+=n[e];if(!i.match(hn)){const i=e.slice(0,t),r=e.slice(t+1),o=n.match(pn);o&&(i.push(o[1]),r.unshift(o[2])),r.length&&(a=r.join(".")+a),this.hostname=i.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=a.indexOf("#");-1!==s&&(this.hash=a.substr(s),a=a.slice(0,s));const l=a.indexOf("?");return-1!==l&&(this.search=a.substr(l),a=a.slice(0,l)),a&&(this.pathname=a),mn[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},rn.prototype.parseHost=function(e){let t=on.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const bn=Object.defineProperty({__proto__:null,decode:Jt,encode:tn,format:nn,parse:_n},Symbol.toStringTag,{value:"Module"}),fn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,yn=/[\0-\x1F\x7F-\x9F]/,En=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,vn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Sn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tn=Object.defineProperty({__proto__:null,Any:fn,Cc:yn,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:En,S:vn,Z:Sn},Symbol.toStringTag,{value:"Module"}),Cn=new Uint16Array( +// prettier-ignore +'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),xn=new Uint16Array( +// prettier-ignore +"Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var kn;const An=new Map([[0,65533], +// C1 Unicode control character reference replacements +[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wn= +// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins +null!==(kn=String.fromCodePoint)&&void 0!==kn?kn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var Nn,On;(On=Nn||(Nn={}))[On.NUM=35]="NUM",On[On.SEMI=59]="SEMI",On[On.EQUALS=61]="EQUALS",On[On.ZERO=48]="ZERO",On[On.NINE=57]="NINE",On[On.LOWER_A=97]="LOWER_A",On[On.LOWER_F=102]="LOWER_F",On[On.LOWER_X=120]="LOWER_X",On[On.LOWER_Z=122]="LOWER_Z",On[On.UPPER_A=65]="UPPER_A",On[On.UPPER_F=70]="UPPER_F",On[On.UPPER_Z=90]="UPPER_Z";var Rn,In,Dn,Mn,Ln,Pn;function jn(e){return e>=Nn.ZERO&&e<=Nn.NINE}function Fn(e){return e===Nn.EQUALS||function(e){return e>=Nn.UPPER_A&&e<=Nn.UPPER_Z||e>=Nn.LOWER_A&&e<=Nn.LOWER_Z||jn(e)}(e)}(In=Rn||(Rn={}))[In.VALUE_LENGTH=49152]="VALUE_LENGTH",In[In.BRANCH_LENGTH=16256]="BRANCH_LENGTH",In[In.JUMP_TABLE=127]="JUMP_TABLE",(Mn=Dn||(Dn={}))[Mn.EntityStart=0]="EntityStart",Mn[Mn.NumericStart=1]="NumericStart",Mn[Mn.NumericDecimal=2]="NumericDecimal",Mn[Mn.NumericHex=3]="NumericHex",Mn[Mn.NamedEntity=4]="NamedEntity",(Pn=Ln||(Ln={}))[Pn.Legacy=0]="Legacy",Pn[Pn.Strict=1]="Strict",Pn[Pn.Attribute=2]="Attribute";class Bn{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Dn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ln.Strict} +/** Resets the instance to make it reusable. */startEntity(e){this.decodeMode=e,this.state=Dn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1} +/** + * Write an entity to the decoder. This can be called multiple times with partial entities. + * If the entity is incomplete, the decoder will return -1. + * + * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the + * entity is incomplete, and resume when the next string is written. + * + * @param string The string containing the entity (or a continuation of the entity). + * @param offset The offset at which the entity begins. Should be 0 if this is not the first call. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */write(e,t){switch(this.state){case Dn.EntityStart:return e.charCodeAt(t)===Nn.NUM?(this.state=Dn.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Dn.NamedEntity,this.stateNamedEntity(e,t));case Dn.NumericStart:return this.stateNumericStart(e,t);case Dn.NumericDecimal:return this.stateNumericDecimal(e,t);case Dn.NumericHex:return this.stateNumericHex(e,t);case Dn.NamedEntity:return this.stateNamedEntity(e,t)}} +/** + * Switches between the numeric decimal and hexadecimal states. + * + * Equivalent to the `Numeric character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Nn.LOWER_X?(this.state=Dn.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Dn.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,i){if(t!==n){const r=n-t;this.result=this.result*Math.pow(i,r)+parseInt(e.substr(t,r),i),this.consumed+=r}} +/** + * Parses a hexadecimal numeric entity. + * + * Equivalent to the `Hexademical character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericHex(e,t){const n=t;for(;t=Nn.UPPER_A&&i<=Nn.UPPER_F||i>=Nn.LOWER_A&&i<=Nn.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}var i;return this.addToNumericResult(e,n,t,16),-1} +/** + * Parses a decimal numeric entity. + * + * Equivalent to the `Decimal character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=An.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Nn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed} +/** + * Parses a named entity. + * + * Equivalent to the `Named character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNamedEntity(e,t){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&Rn.VALUE_LENGTH)>>14;for(;t>14,0!==r){if(a===Nn.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Ln.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1} +/** + * Emit a named entity that was not terminated with a semicolon. + * + * @returns The number of characters consumed. + */emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,i=(n[t]&Rn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed} +/** + * Emit a named entity. + * + * @param result The index of the entity in the decode tree. + * @param valueLength The number of bytes in the entity. + * @param consumed The number of characters consumed. + * + * @returns The number of characters consumed. + */emitNamedEntityData(e,t,n){const{decodeTree:i}=this;return this.emitCodePoint(1===t?i[e]&~Rn.VALUE_LENGTH:i[e+1],n),3===t&&this.emitCodePoint(i[e+2],n),n} +/** + * Signal to the parser that the end of the input was reached. + * + * Remaining data will be emitted and relevant errors will be produced. + * + * @returns The number of characters consumed. + */end(){var e;switch(this.state){case Dn.NamedEntity:return 0===this.result||this.decodeMode===Ln.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity(); +// Otherwise, emit a numeric entity if we have one. +case Dn.NumericDecimal:return this.emitNumericEntity(0,2);case Dn.NumericHex:return this.emitNumericEntity(0,3);case Dn.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Dn.EntityStart:return 0}}}function Un(e){let t="";const n=new Bn(e,(e=>t+=wn(e)));return function(e,i){let r=0,a=0;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(r,a),n.startEntity(i);const o=n.write(e, +// Skip the "&" +a+1);if(o<0){r=a+n.end();break}r=a+o,a=0===o?r+1:r}const o=t+e.slice(r);return t="",o}}function Gn(e,t,n,i){const r=(t&Rn.BRANCH_LENGTH)>>7,a=t&Rn.JUMP_TABLE;if(0===r)return 0!==a&&i===a?n:-1;if(a){const t=i-a;return t<0||t>=r?-1:e[n+t]-1}let o=n,s=o+r-1;for(;o<=s;){const t=o+s>>>1,n=e[t];if(ni))return e[t+r];s=t-1}}return-1}const zn=Un(Cn);function $n(e,t=Ln.Legacy){return zn(e,t)}function Yn(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Un(xn);const qn=Object.prototype.hasOwnProperty;function Hn(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function Vn(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Wn(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(!!(65535&~e&&65534!=(65535&e))&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function Qn(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Kn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Xn=new RegExp(Kn.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),Zn=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Jn(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Xn,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&Zn.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Wn(n)?Qn(n):e}const n=$n(e);return n!==e?n:e}(e,n)}))}const ei=/[&<>"]/,ti=/[&<>"]/g,ni={"&":"&","<":"<",">":">",'"':"""};function ii(e){return ni[e]}function ri(e){return ei.test(e)?e.replace(ti,ii):e}const ai=/[.?*+^$[\]\\(){}|-]/g;function oi(e){switch(e){case 9:case 32:return!0}return!1}function si(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9: +// \t +case 10: +// \n +case 11: +// \v +case 12: +// \f +case 13: +// \r +case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function li(e){return En.test(e)||vn.test(e)}function ci(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ui(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const di={mdurl:bn,ucmicro:Tn},hi=Object.defineProperty({__proto__:null,arrayReplaceAt:Vn,assign:Hn,escapeHtml:ri,escapeRE:function(e){return e.replace(ai,"\\$&")},fromCodePoint:Qn,has:function(e,t){return qn.call(e,t)},isMdAsciiPunct:ci,isPunctChar:li,isSpace:oi,isString:Yn,isValidEntityCode:Wn,isWhiteSpace:si,lib:di,normalizeReference:ui,unescapeAll:Jn,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(Kn,"$1")}},Symbol.toStringTag,{value:"Module"});const pi=Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let i,r=t;const a={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r32))return a;if(41===i){if(0===o)break;o--}r++}return t===r||0!==o||(a.str=Jn(e.slice(t,r)),a.pos=r,a.ok=!0),a},parseLinkLabel:function(e,t,n){let i,r,a,o;const s=e.posMax,l=e.pos;for(e.pos=t+1,i=1;e.pos=n)return o;let i=e.charCodeAt(a);if(34!==i&&39!==i&&40!==i)return o;t++,a++,40===i&&(i=41),o.marker=i}for(;a"+ri(a.content)+""},gi.code_block=function(e,t,n,i,r){const a=e[t];return""+ri(e[t].content)+"\n"},gi.fence=function(e,t,n,i,r){const a=e[t],o=a.info?Jn(a.info).trim():"";let s,l="",c="";if(o){const e=o.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(a.content,l,c)||ri(a.content),0===s.indexOf("${s}\n`}return`
${s}
\n`},gi.image=function(e,t,n,i,r){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=r.renderInlineAsText(a.children,n,i),r.renderToken(e,t,n)},gi.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},gi.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},gi.text=function(e,t){return ri(e[t].content)},gi.html_block=function(e,t){return e[t].content},gi.html_inline=function(e,t){return e[t].content},mi.prototype.renderAttrs=function(e){let t,n,i;if(!e.attrs)return"";for(i="",t=0,n=e.attrs.length;t\n":">",r},mi.prototype.renderInline=function(e,t,n){let i="";const r=this.rules;for(let a=0,o=e.length;a=0&&(n=this.attrs[t][1]),n},bi.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},fi.prototype.Token=bi;const yi=/\r\n?|\n/g,Ei=/\0/g;function vi(e){return/^<\/a\s*>/i.test(e)}const Si=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ti=/\((c|tm|r)\)/i,Ci=/\((c|tm|r)\)/gi,xi={c:"©",r:"®",tm:"™"};function ki(e,t){return xi[t.toLowerCase()]}function Ai(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];"text"!==i.type||t||(i.content=i.content.replace(Ci,ki)),"link_open"===i.type&&"auto"===i.info&&t--,"link_close"===i.type&&"auto"===i.info&&t++}}function wi(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];"text"!==i.type||t||Si.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&t--,"link_close"===i.type&&"auto"===i.info&&t++}}const Ni=/['"]/,Oi=/['"]/g;function Ri(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Ii(e,t){let n;const i=[];for(let r=0;r=0&&!(i[n].level<=o);n--);if(i.length=n+1,"text"!==a.type)continue;let s=a.content,l=0,c=s.length;e:for(;l=0)g=s.charCodeAt(u.index-1);else for(n=r-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l=48&&g<=57&&(h=d=!1),d&&h&&(d=_,h=b),d||h){if(h)for(n=i.length-1;n>=0;n--){let d=i[n];if(i[n].level=0;o--){const s=r[o];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^\s]/i.test(n)&&a>0&&a--,vi(s.content)&&a++),!(a>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let a=e.md.linkify.match(n);const l=[];let c=s.level,u=0;a.length>0&&0===a[0].index&&o>0&&"text_special"===r[o-1].type&&(a=a.slice(1));for(let t=0;tu){const t=new e.Token("text","",0);t.content=n.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",r]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const h=new e.Token("text","",0);h.content=o,h.level=c,l.push(h);const p=new e.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=a[t].lastIndex}if(u=0;t--)"inline"===e.tokens[t].type&&(Ti.test(e.tokens[t].content)&&Ai(e.tokens[t].children),Si.test(e.tokens[t].content)&&wi(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Ni.test(e.tokens[t].content)&&Ii(e.tokens[t].children,e)}], +// `text_join` finds `text_special` tokens (for escape sequences) +// and joins them with the rest of the text +["text_join",function(e){let t,n;const i=e.tokens,r=i.length;for(let a=0;a0&&this.level++,this.tokens.push(i),i},Li.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Li.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!oi(this.src.charCodeAt(--e)))return e+1;return e},Li.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},Li.prototype.getLines=function(e,t,n,i){if(e>=t)return"";const r=new Array(t-e);for(let a=0,o=e;on?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},Li.prototype.Token=bi;function Pi(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function ji(e){const t=[],n=e.length;let i=0,r=e.charCodeAt(i),a=!1,o=0,s="";for(;i=i)return-1;let a=e.src.charCodeAt(r++);if(a<48||a>57)return-1;for(;;){if(r>=i)return-1;if(a=e.src.charCodeAt(r++),!(a>=48&&a<=57)){if(41===a||46===a)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Gi="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",zi=new RegExp("^(?:"+Ui+"|"+Gi+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),$i=new RegExp("^(?:"+Ui+"|"+Gi+")"),Yi=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp($i.source+"\\s*$"),/^$/,!1]];const qi=[ +// First 2 params - rule name & source. Secondary array - list of rules, +// which can be terminated by this one. +["table",function(e,t,n,i){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let a=e.bMarks[r]+e.tShift[r];if(a>=e.eMarks[r])return!1;const o=e.src.charCodeAt(a++);if(124!==o&&45!==o&&58!==o)return!1;if(a>=e.eMarks[r])return!1;const s=e.src.charCodeAt(a++);if(124!==s&&45!==s&&58!==s&&!oi(s))return!1;if(45===o&&oi(s))return!1;for(;a=4)return!1;c=ji(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(i)return!0;const h=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),g=[t,0];e.push("table_open","table",1).map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let b=0;b=4)break;if(c=ji(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),_+=d-c.length,_>65536)break;if(r===t+2){e.push("tbody_open","tbody",1).map=m=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let t=0;t=4))break;i++,r=i}e.line=r;const a=e.push("code_block","code",0);return a.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}],["fence",function(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(r+3>a)return!1;const o=e.src.charCodeAt(r);if(126!==o&&96!==o)return!1;let s=r;r=e.skipChars(r,o);let l=r-s;if(l<3)return!1;const c=e.src.slice(s,r),u=e.src.slice(r,a);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(i)return!0;let d=t,h=!1;for(;(d++,!(d>=n))&&(r=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],!(r=4||(r=e.skipChars(r,o),r-s=4)return!1;if(62!==e.src.charCodeAt(r))return!1;if(i)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p,g=!1;for(p=t;p=a)break;if(62===e.src.charCodeAt(r++)&&!t){let t,n,i=e.sCount[p]+1;32===e.src.charCodeAt(r)?(r++,i++,n=!1,t=!0):9===e.src.charCodeAt(r)?(t=!0,(e.bsCount[p]+i)%4==3?(r++,i++,n=!1):n=!0):t=!1;let o=i;for(s.push(e.bMarks[p]),e.bMarks[p]=r;r=a,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(t?1:0),c.push(e.sCount[p]),e.sCount[p]=o-i,u.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(g)break;let i=!1;for(let r=0,a=d.length;r";const b=[t,0];_.map=b,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=h,b[1]=e.line;for(let f=0;f=4)return!1;let a=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(a++);if(42!==o&&45!==o&&95!==o)return!1;let s=1;for(;a=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(p=!0),(h=Bi(e,l))>=0){if(u=!0,o=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(o,h-1)),p&&1!==d)return!1}else{if(!((h=Fi(e,l))>=0))return!1;u=!1}if(p&&e.skipSpaces(h)>=e.eMarks[l])return!1;if(i)return!0;const g=e.src.charCodeAt(h-1),m=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const _=[l,0];s.map=_,s.markup=String.fromCharCode(g);let b=!1;const f=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l=r?1:i-t,p>4&&(p=1);const m=t+p;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(g);const _=[l,0];s.map=_,u&&(s.info=e.src.slice(o,h-1));const y=e.tight,E=e.tShift[l],v=e.sCount[l],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=i,d>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!b||(c=!1),b=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[l]=E,e.sCount[l]=v,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(g),l=e.line,_[1]=l,l>=n)break;if(e.sCount[l]=4)break;let T=!1;for(let r=0,a=f.length;r=4)return!1;if(91!==e.src.charCodeAt(r))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let i=!1;if(e.sCount[t]-e.blkIndent>3&&(i=!0),e.sCount[t]<0&&(i=!0),!i){const i=e.md.block.ruler.getRules("reference"),r=e.parentType;e.parentType="reference";let a=!1;for(let o=0,s=i.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(r))return!1;let o=e.src.slice(r,a),s=0;for(;s=4)return!1;let o=e.src.charCodeAt(r);if(35!==o||r>=a)return!1;let s=1;for(o=e.src.charCodeAt(++r);35===o&&r6||rr&&oi(e.src.charCodeAt(l-1))&&(a=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(r,a).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let a,o=0,s=t+1;for(;s3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t=n))){o=61===a?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let r=0,a=i.length;r3)continue;if(e.sCount[a]<0)continue;let t=!1;for(let r=0,o=i.length;r=n))&&!(e.sCount[o]=a){e.line=n;break}const t=e.line;let l=!1;for(let a=0;a=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},Vi.prototype.scanDelims=function(e,t){const n=this.posMax,i=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a?@[]^_`{|}~-".split("").forEach((function(e){Ki[e.charCodeAt(0)]=1}));const Zi={tokenize:function(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t)return!1;if(126!==i)return!1;const r=e.scanDelims(e.pos,!0);let a=r.length;const o=String.fromCharCode(i);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=o,a--);for(let l=0;l=0;n--){const i=t[n];if(95!==i.marker&&42!==i.marker)continue;if(-1===i.end)continue;const r=t[i.end],a=n>0&&t[n-1].end===i.end+1&&// check that first two markers match and adjacent +t[n-1].marker===i.marker&&t[n-1].token===i.token-1&&// check that last two markers are adjacent (we can safely assume they match) +t[i.end+1].token===r.token+1,o=String.fromCharCode(i.marker),s=e.tokens[i.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const l=e.tokens[r.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?o+o:o,l.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[i.end+1].token].content="",n--)}}const er={tokenize:function(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t)return!1;if(95!==i&&42!==i)return!1;const r=e.scanDelims(e.pos,42===i);for(let a=0;a\x00-\x20]*)$/;const ir=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,rr=/^&([a-z][a-z0-9]{1,31});/i;function ar(e){const t={},n=e.length;if(!n)return;let i=0,r=-2;const a=[];for(let o=0;os;l-=a[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let i=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(i=!0)),!i){const i=l>0&&!e[l-1].open?a[l-1]+1:0;a[o]=o-l+i,a[l]=i,n.open=!1,t.end=o,t.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const or=[["text",function(e,t){let n=e.pos;for(;n0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const i=e.pending.match(Qi);if(!i)return!1;const r=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-r.length));if(!a)return!1;let o=a.url;if(o.length<=r.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-r.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=o.length-r.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const i=e.pending.length-1,r=e.posMax;if(!t)if(i>=0&&32===e.pending.charCodeAt(i))if(i>=1&&32===e.pending.charCodeAt(i-1)){let t=i-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n=i)return!1;let r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&t<=57343&&(a+=e.src[n+1],n++)}const o="\\"+a;if(!t){const t=e.push("text_special","",0);r<256&&0!==Ki[r]?t.content=a:t.content=o,t.markup=o,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const i=n;n++;const r=e.posMax;for(;n=d)return!1;if(l=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?g=r.pos:o="",l=g;g=d||41!==e.src.charCodeAt(g))&&(c=!0),g++}if(c){if(void 0===e.env.references)return!1;if(g=0?i=e.src.slice(l,g++):g=p+1):g=p+1,i||(i=e.src.slice(h,p)),a=e.env.references[ui(i)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=h,e.posMax=p;const t=[["href",o]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=d,!0}],["image",function(e,t){let n,i,r,a,o,s,l,c,u="";const d=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const p=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(a=g+1,a=h)return!1;for(c=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=""),c=a;a=h||41!==e.src.charCodeAt(a))return e.pos=d,!1;a++}else{if(void 0===e.env.references)return!1;if(a=0?r=e.src.slice(c,a++):a=g+1):a=g+1,r||(r=e.src.slice(p,g)),o=e.env.references[ui(r)],!o)return e.pos=d,!1;u=o.href,l=o.title}if(!t){i=e.src.slice(p,g);const t=[];e.md.inline.parse(i,e.md,e.env,t);const n=e.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=t,n.content=i,l&&r.push(["title",l])}return e.pos=a,e.posMax=h,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const i=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const a=e.src.slice(i+1,n);if(nr.test(a)){const n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=a.length+2,!0}if(tr.test(a)){const n=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=a.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,i=e.pos;if(60!==e.src.charCodeAt(i)||i+2>=n)return!1;const r=e.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const a=e.src.slice(i).match(zi);if(!a)return!1;if(!t){const t=e.push("html_inline","",0);t.content=a[0],o=t.content,/^\s]/i.test(o)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var o;return e.pos+=a[0].length,!0}],["entity",function(e,t){const n=e.pos,i=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=i)return!1;if(35===e.src.charCodeAt(n+1)){const i=e.src.slice(n).match(ir);if(i){if(!t){const t="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=e.push("text_special","",0);n.content=Wn(t)?Qn(t):Qn(65533),n.markup=i[0],n.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(rr);if(i){const n=$n(i[0]);if(n!==i[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=i[0],t.info="entity"}return e.pos+=i[0].length,!0}}}return!1}]],sr=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;ar(e.delimiters);for(let i=0;i0&&i++,"text"===r[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos},lr.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},lr.prototype.parse=function(e,t,n,i){const r=new this.State(e,t,n,i);this.tokenize(r);const a=this.ruler2.getRules(""),o=a.length;for(let s=0;s=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},mr="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function _r(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=fn.source,t.src_Cc=yn.source,t.src_Z=Sn.source,t.src_P=En.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+// allow `,,,` in paths +",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root=// Allow letters & digits (http://test1) +"(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy=// Fuzzy link can't be prepended with .:/\- and non punctuation. +// but can start with > (markdown blockquote) +"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy=// Fuzzy link can't be prepended with .:/\- and non punctuation. +// but can start with > (markdown blockquote) +"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const r=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const i={validate:null,link:null};if(e.__compiled__[t]=i,"[object Object]"===ur(n))return!function(e){return"[object RegExp]"===ur(e)}(n.validate)?dr(n.validate)?i.validate=n.validate:a(t,n):i.validate=function(e){return function(t,n){const i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(dr(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ur(e)}(n)?a(t,n):r.push(t)})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(hr).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function br(e,t){const n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function fr(e,t){const n=new br(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function yr(e,t){if(!(this instanceof yr))return new yr(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||pr.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=cr({},pr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cr({},gr,e),this.__compiled__={},this.__tlds__=mr,this.__tlds_replaced__=!1,this.re={},_r(this)}yr.prototype.add=function(e,t){return this.__schemas__[e]=t,_r(this),this},yr.prototype.set=function(e){return this.__opts__=cr(this.__opts__,e),this},yr.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,i,r,a,o,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(i=e.match(this.re.email_fuzzy))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0},yr.prototype.pretest=function(e){return this.re.pretest.test(e)},yr.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},yr.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(fr(this,n)),n=this.__last_index__);let i=n?e.slice(n):e;for(;this.test(i);)t.push(fr(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},yr.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,fr(this,0)):null},yr.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),_r(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_r(this),this)},yr.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},yr.prototype.onCompile=function(){};const Er=2147483647,vr=36,Sr=/^xn--/,Tr=/[^\0-\x7F]/,Cr=/[\x2E\u3002\uFF0E\uFF61]/g,xr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},kr=Math.floor,Ar=String.fromCharCode;function wr(e){throw new RangeError(xr[e])}function Nr(e,t){const n=e.split("@");let i="";n.length>1&&(i=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let i=e.length;for(;i--;)n[i]=t(e[i]);return n}((e=e.replace(Cr,".")).split("."),t).join(".");return i+r}function Or(e){const t=[];let n=0;const i=e.length;for(;n=55296&&r<=56319&&n>1,e+=kr(e/t);e>455;i+=vr)e=kr(e/35);return kr(i+36*e/(e+38))},Dr=function(e){const t=[],n=e.length;let i=0,r=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let l=0;l=128&&wr("not-basic"),t.push(e.charCodeAt(l));for(let l=o>0?o+1:0;l=n&&wr("invalid-input");const o=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:vr;o>=vr&&wr("invalid-input"),o>kr((Er-i)/t)&&wr("overflow"),i+=o*t;const c=r<=a?1:r>=a+26?26:r-a;if(okr(Er/u)&&wr("overflow"),t*=u}const c=t.length+1;a=Ir(i-o,c,0==o),kr(i/c)>Er-r&&wr("overflow"),r+=kr(i/c),i%=c,t.splice(i++,0,r)}var s;return String.fromCodePoint(...t)},Mr=function(e){const t=[],n=(e=Or(e)).length;let i=128,r=0,a=72;for(const l of e)l<128&&t.push(Ar(l));const o=t.length;let s=o;for(o&&t.push("-");s=i&&tkr((Er-r)/l)&&wr("overflow"),r+=(n-i)*l,i=n;for(const c of e)if(cEr&&wr("overflow"),c===i){let e=r;for(let n=vr;;n+=vr){const i=n<=a?1:n>=a+26?26:n-a;if(e) +xhtmlOut:!1, +// Convert '\n' in paragraphs into
+breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with ) +xhtmlOut:!1, +// Convert '\n' in paragraphs into
+breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with ) +xhtmlOut:!0, +// Convert '\n' in paragraphs into
+breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with =0))try{t.hostname=Lr(t.hostname)}catch(n){}return tn(nn(t))}function $r(e){const t=_n(e,!0);if(t.hostname&&(!t.protocol||Gr.indexOf(t.protocol)>=0))try{t.hostname=Pr(t.hostname)}catch(n){}return Jt(nn(t),Jt.defaultChars+"%")}function Yr(e,t){if(!(this instanceof Yr))return new Yr(e,t);t||Yn(e)||(t=e||{},e="default"),this.inline=new lr,this.block=new Hi,this.core=new Mi,this.renderer=new mi,this.linkify=new yr,this.validateLink=Ur,this.normalizeLink=zr,this.normalizeLinkText=$r,this.utils=hi,this.helpers=Hn({},pi),this.options={},this.configure(e),t&&this.set(t)}Yr.prototype.set=function(e){return Hn(this.options,e),this},Yr.prototype.configure=function(e){const t=this;if(Yn(e)){const t=e;if(!(e=jr[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},Yr.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const i=e.filter((function(e){return n.indexOf(e)<0}));if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},Yr.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const i=e.filter((function(e){return n.indexOf(e)<0}));if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},Yr.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Yr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Yr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Yr.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Yr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var qr,Hr,Vr,Wr={exports:{}};function Qr(){return qr?Wr.exports:(qr=1,"undefined"!=typeof self&&self,e=function(){ +/******/ +return function(){var e={d:function(t,n){for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){ +/* binding */ +return qi}});class n{ +// Error start position based on passed-in Token or ParseNode. +// Length of affected text based on passed-in Token or ParseNode. +// The underlying error message without any context added. +constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let i,r,a="KaTeX parse error: "+e;const o=t&&t.loc;if(o&&o.start<=o.end){const e=o.lexer.input;i=o.start,r=o.end,i===e.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";const t=e.slice(i,r).replace(/[^]/g,"$&̲");let n,s;n=i>15?"…"+e.slice(i-15,i):e.slice(0,i),s=r+15":">","<":"<",'"':""","'":"'"},o=/[&><"']/g,s=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?s(e.body[0]):e:"font"===e.type?s(e.body):e};var l={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(o,(e=>a[e]))},hyphenate:function(e){return e.replace(r,"-$1").toLowerCase()},getBaseElem:s,isCharacterBox:function(e){const t=s(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}};const c={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function u(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!=typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class d{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(const t in c)if(c.hasOwnProperty(t)){const n=c[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:u(n)}} +/** + * Report nonstrict (non-LaTeX-compatible) input. + * Can safely not be called if `this.strict` is false in JavaScript. + */reportNonstrict(e,t,n){let r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r&&(!0===r||"error"===r))throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n)} +/** + * Check whether to apply strict (LaTeX-adhering) behavior for unusual + * input (like `\\`). Unlike `nonstrict`, will not throw an error; + * instead, "error" translates to a return value of `true`, while "ignore" + * translates to a return value of `false`. May still print a warning: + * "warn" prints a warning and returns `false`. + * This is for the second category of `errorCode`s listed in the README. + */useStrictBehavior(e,t,n){let i=this.strict;if("function"==typeof i)try{i=i(e,t,n)}catch(r){i="error"}return!(!i||"ignore"===i||!0!==i&&"error"!==i)} +/** + * Check whether to test potentially dangerous input, and return + * `true` (trusted) or `false` (untrusted). The sole argument `context` + * should be an object with `command` field specifying the relevant LaTeX + * command (as a string starting with `\`), and any other arguments, etc. + * If `context` has a `url` field, a `protocol` field will automatically + * get added by this function (changing the specified object). + */isTrusted(e){if(e.url&&!e.protocol){const t=l.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class h{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n} +/** + * Get the style of a superscript given a base in the current style. + */sup(){return p[g[this.id]]} +/** + * Get the style of a subscript given a base in the current style. + */sub(){return p[m[this.id]]} +/** + * Get the style of a fraction numerator given the fraction in the current + * style. + */fracNum(){return p[_[this.id]]} +/** + * Get the style of a fraction denominator given the fraction in the current + * style. + */fracDen(){return p[b[this.id]]} +/** + * Get the cramped version of a style (in particular, cramping a cramped style + * doesn't change the style). + */cramp(){return p[f[this.id]]} +/** + * Get a text or display version of this style. + */text(){return p[y[this.id]]} +/** + * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle) + */isTight(){return this.size>=2}}const p=[new h(0,0,!1),new h(1,0,!0),new h(2,1,!1),new h(3,1,!0),new h(4,2,!1),new h(5,2,!0),new h(6,3,!1),new h(7,3,!0)],g=[4,5,4,5,6,7,6,7],m=[5,5,5,5,7,7,7,7],_=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],f=[1,1,3,3,5,5,7,7],y=[0,1,2,3,2,3,2,3];var E={DISPLAY:p[0],TEXT:p[2],SCRIPT:p[4],SCRIPTSCRIPT:p[6]};const v=[{ +// Latin characters beyond the Latin-1 characters we have metrics for. +// Needed for Czech, Hungarian and Turkish text, for example. +name:"latin",blocks:[[256,591], +// Latin Extended-A and Latin Extended-B +[768,879]]},{ +// The Cyrillic script used by Russian and related languages. +// A Cyrillic subset used to be supported as explicitly defined +// symbols in symbols.js +name:"cyrillic",blocks:[[1024,1279]]},{ +// Armenian +name:"armenian",blocks:[[1328,1423]]},{ +// The Brahmic scripts of South and Southeast Asia +// Devanagari (0900–097F) +// Bengali (0980–09FF) +// Gurmukhi (0A00–0A7F) +// Gujarati (0A80–0AFF) +// Oriya (0B00–0B7F) +// Tamil (0B80–0BFF) +// Telugu (0C00–0C7F) +// Kannada (0C80–0CFF) +// Malayalam (0D00–0D7F) +// Sinhala (0D80–0DFF) +// Thai (0E00–0E7F) +// Lao (0E80–0EFF) +// Tibetan (0F00–0FFF) +// Myanmar (1000–109F) +name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{ +// Chinese and Japanese. +// The "k" in cjk is for Korean, but we've separated Korean out +name:"cjk",blocks:[[12288,12543], +// CJK symbols and punctuation, Hiragana, Katakana +[19968,40879], +// CJK ideograms +[65280,65376]]},{ +// Korean +name:"hangul",blocks:[[44032,55215]]}],S=[];function T(e){for(let t=0;t=S[t]&&e<=S[t+1])return!0;return!1}v.forEach((e=>e.blocks.forEach((e=>S.push(...e)))));const C=80,x={ +// The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main +doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z", +// doublerightarrow is from glyph U+21D2 in font KaTeX Main +doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z", +// leftarrow is from glyph U+2190 in font KaTeX Main +leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z", +// overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular +leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z", +// overgroup is from the MnSymbol package (public domain) +leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z", +// Harpoons are from glyph U+21BD in font KaTeX Main +leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z", +// hook is from glyph U+21A9 in font KaTeX Main +lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z", +// tofrom is from glyph U+21C4 in font KaTeX AMS Regular +leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z", +// twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular +twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z", +// tilde1 is a modified version of a glyph from the MnSymbol package +tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z", +// ditto tilde2, tilde3, & tilde4 +tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z", +// vec is from glyph U+20D7 in font KaTeX Main +vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z", +// widehat1 is a modified version of a glyph from the MnSymbol package +widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z", +// ditto widehat2, widehat3, & widehat4 +widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z", +// widecheck paths are all inverted versions of widehat +widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z", +// The next ten paths support reaction arrows from the mhchem package. +// Arrows for \ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX +// baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main +baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z", +// rightarrowabovebar is mostly from glyph U+2192, KaTeX Main +rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z", +// The short left harpoon has 0.5em (i.e. 500 units) kern on the left end. +// Ref from mhchem.sty: \rlap{\raisebox{-.22ex}{$\kern0.5em +baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class k{ +// HtmlDomNode +// Never used; needed for satisfying interface. +constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return l.contains(this.classes,e)} +/** Convert the fragment into a node. */toNode(){const e=document.createDocumentFragment();for(let t=0;te.toText())).join("")}}var A={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const w={slant:[.25,.25,.25], +// sigma1 +space:[0,0,0], +// sigma2 +stretch:[0,0,0], +// sigma3 +shrink:[0,0,0], +// sigma4 +xHeight:[.431,.431,.431], +// sigma5 +quad:[1,1.171,1.472], +// sigma6 +extraSpace:[0,0,0], +// sigma7 +num1:[.677,.732,.925], +// sigma8 +num2:[.394,.384,.387], +// sigma9 +num3:[.444,.471,.504], +// sigma10 +denom1:[.686,.752,1.025], +// sigma11 +denom2:[.345,.344,.532], +// sigma12 +sup1:[.413,.503,.504], +// sigma13 +sup2:[.363,.431,.404], +// sigma14 +sup3:[.289,.286,.294], +// sigma15 +sub1:[.15,.143,.2], +// sigma16 +sub2:[.247,.286,.4], +// sigma17 +supDrop:[.386,.353,.494], +// sigma18 +subDrop:[.05,.071,.1], +// sigma19 +delim1:[2.39,1.7,1.98], +// sigma20 +delim2:[1.01,1.157,1.42], +// sigma21 +axisHeight:[.25,.25,.25], +// sigma22 +// These font metrics are extracted from TeX by using tftopl on cmex10.tfm; +// they correspond to the font parameters of the extension fonts (family 3). +// See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to +// match cmex7, we'd use cmex7.tfm values for script and scriptscript +// values. +defaultRuleThickness:[.04,.049,.049], +// xi8; cmex7: 0.049 +bigOpSpacing1:[.111,.111,.111], +// xi9 +bigOpSpacing2:[.166,.166,.166], +// xi10 +bigOpSpacing3:[.2,.2,.2], +// xi11 +bigOpSpacing4:[.6,.611,.611], +// xi12; cmex7: 0.611 +bigOpSpacing5:[.1,.143,.143], +// xi13; cmex7: 0.143 +// The \sqrt rule width is taken from the height of the surd character. +// Since we use the same font at all sizes, this thickness doesn't scale. +sqrtRuleThickness:[.04,.04,.04], +// This value determines how large a pt is, for metrics which are defined +// in terms of pts. +// This value is also used in katex.scss; if you change it make sure the +// values match. +ptPerEm:[10,10,10], +// The space between adjacent `|` columns in an array definition. From +// `\showthe\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm. +doubleRuleSep:[.2,.2,.2], +// The width of separator lines in {array} environments. From +// `\showthe\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm. +arrayRuleWidth:[.04,.04,.04], +// Two values from LaTeX source2e: +fboxsep:[.3,.3,.3], +// 3 pt / ptPerEm +fboxrule:[.04,.04,.04]},N={ +// Latin-1 +"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o", +// Cyrillic +"А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function O(e,t,n){if(!A[t])throw new Error("Font metrics not found for font: "+t+".");let i=e.charCodeAt(0),r=A[t][i];if(!r&&e[0]in N&&(i=N[e[0]].charCodeAt(0),r=A[t][i]),r||"text"!==n||T(i)&&(r=A[t][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}const R={},I=[ +// Each element contains [textsize, scriptsize, scriptscriptsize]. +// The size mappings are taken from TeX with \normalsize=10pt. +[1,1,1], +// size1: [5, 5, 5] \tiny +[2,1,1], +// size2: [6, 5, 5] +[3,1,1], +// size3: [7, 5, 5] \scriptsize +[4,2,1], +// size4: [8, 6, 5] \footnotesize +[5,2,1], +// size5: [9, 6, 5] \small +[6,3,1], +// size6: [10, 7, 5] \normalsize +[7,4,2], +// size7: [12, 8, 6] \large +[8,6,3], +// size8: [14.4, 10, 7] \Large +[9,7,6], +// size9: [17.28, 12, 10] \LARGE +[10,8,7], +// size10: [20.74, 14.4, 12] \huge +[11,10,9]],D=[ +// fontMetrics.js:getGlobalMetrics also uses size indexes, so if +// you change size indexes, change that function. +.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],M=function(e,t){return t.size<2?e:I[e-1][t.size-1]};class L{ +// A font family applies to a group of fonts (i.e. SansSerif), while a font +// represents a specific font (i.e. SansSerif Bold). +// See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm +/** + * The base size index. + */ +constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||L.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=D[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0} +/** + * Returns a new options object with the same properties as "this". Properties + * from "extension" will be copied to the new options object. + */extend(e){const t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new L(t)} +/** + * Return an options object with the given style. If `this.style === style`, + * returns `this`. + */havingStyle(e){return this.style===e?this:this.extend({style:e,size:M(this.textSize,e)})} +/** + * Return an options object with a cramped version of the current style. If + * the current style is cramped, returns `this`. + */havingCrampedStyle(){return this.havingStyle(this.style.cramp())} +/** + * Return an options object with the given size and in at least `\textstyle`. + * Returns `this` if appropriate. + */havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:D[e-1]})} +/** + * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted, + * changes to at least `\textstyle`. + */havingBaseStyle(e){e=e||this.style.text();const t=M(L.BASESIZE,e);return this.size===t&&this.textSize===L.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})} +/** + * Remove the effect of sizing changes such as \Huge. + * Keep the effect of the current style, such as \scriptstyle. + */havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})} +/** + * Create a new options object with the given color. + */withColor(e){return this.extend({color:e})} +/** + * Create a new options object with "phantom" set to true. + */withPhantom(){return this.extend({phantom:!0})} +/** + * Creates a new options object with the given math font or old text font. + * @type {[type]} + */withFont(e){return this.extend({font:e})} +/** + * Create a new options objects with the given fontFamily. + */withTextFontFamily(e){return this.extend({fontFamily:e,font:""})} +/** + * Creates a new options object with the given font weight + */withTextFontWeight(e){return this.extend({fontWeight:e,font:""})} +/** + * Creates a new options object with the given font weight + */withTextFontShape(e){return this.extend({fontShape:e,font:""})} +/** + * Return the CSS sizing classes required to switch from enclosing options + * `oldOptions` to `this`. Returns an array of classes. + */sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]} +/** + * Return the CSS sizing classes required to switch to the base size. Like + * `this.havingSize(BASESIZE).sizingClasses(this)`. + */baseSizingClasses(){return this.size!==L.BASESIZE?["sizing","reset-size"+this.size,"size"+L.BASESIZE]:[]} +/** + * Return the font metrics for this size. + */fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){let t;if(t=e>=5?0:e>=3?1:2,!R[t]){const e=R[t]={cssEmPerMu:w.quad[t]/18};for(const n in w)w.hasOwnProperty(n)&&(e[n]=w[n][t])}return R[t]}(this.size)),this._fontMetrics} +/** + * Gets the CSS color of the current options object + */getColor(){return this.phantom?"transparent":this.color}}L.BASESIZE=6;var P=L;const j={ +// https://en.wikibooks.org/wiki/LaTeX/Lengths and +// https://tex.stackexchange.com/a/8263 +pt:1, +// TeX point +mm:7227/2540, +// millimeter +cm:7227/254, +// centimeter +in:72.27, +// inch +bp:1.00375, +// big (PostScript) points +pc:12, +// pica +dd:1238/1157, +// didot +cc:14856/1157, +// cicero (12 didot) +nd:685/642, +// new didot +nc:1370/107, +// new cicero (12 new didot) +sp:1/65536, +// scaled point (TeX's internal smallest unit) +// https://tex.stackexchange.com/a/41371 +px:1.00375},F={ex:!0,em:!0,mu:!0},B=function(e){return"string"!=typeof e&&(e=e.unit),e in j||e in F||"ex"===e},U=function(e,t){let n;if(e.unit in j)n=j[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},G=function(e){return+e.toFixed(4)+"em"},z=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},Y=function(e){const t=document.createElement(e);t.className=z(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n/=\x00-\x1f]/,H=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+l.escape(z(this.classes))+'"');let n="";for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=l.hyphenate(i)+":"+this.style[i]+";");n&&(t+=' style="'+l.escape(n)+'"');for(const r in this.attributes)if(this.attributes.hasOwnProperty(r)){if(q.test(r))throw new i("Invalid attribute name '"+r+"'");t+=" "+r+'="'+l.escape(this.attributes[r])+'"'}t+=">";for(let i=0;i",t};class V{constructor(e,t,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,n,i),this.children=t||[]} +/** + * Sets an arbitrary attribute on the span. Warning: use this wisely. Not + * all browsers support attributes the same, and having too many custom + * attributes is probably bad. + */setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return Y.call(this,"span")}toMarkup(){return H.call(this,"span")}}class W{constructor(e,t,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return Y.call(this,"a")}toMarkup(){return H.call(this,"a")}}class Q{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e=''+l.escape(this.alt)+'=i[0]&&e<=i[1])return n.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=K[this.text])}hasClass(e){return l.contains(this.classes,e)} +/** + * Creates a text node or span from a symbol node. Note that a span is only + * created if it is needed. + */toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=G(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=z(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e} +/** + * Creates markup for a symbol node. + */toMarkup(){let e=!1,t="0&&(n+="margin-right:"+this.italic+"em;");for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=l.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+l.escape(n)+'"');const i=l.escape(this.text);return e?(t+=">",t+=i,t+="",t):i}}class Z{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t':''}}class ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="","\\gt",!0),oe(se,ce,ye,"∈","\\in",!0),oe(se,ce,ye,"","\\@not"),oe(se,ce,ye,"⊂","\\subset",!0),oe(se,ce,ye,"⊃","\\supset",!0),oe(se,ce,ye,"⊆","\\subseteq",!0),oe(se,ce,ye,"⊇","\\supseteq",!0),oe(se,ue,ye,"⊈","\\nsubseteq",!0),oe(se,ue,ye,"⊉","\\nsupseteq",!0),oe(se,ce,ye,"⊨","\\models"),oe(se,ce,ye,"←","\\leftarrow",!0),oe(se,ce,ye,"≤","\\le"),oe(se,ce,ye,"≤","\\leq",!0),oe(se,ce,ye,"<","\\lt",!0),oe(se,ce,ye,"→","\\rightarrow",!0),oe(se,ce,ye,"→","\\to"),oe(se,ue,ye,"≱","\\ngeq",!0),oe(se,ue,ye,"≰","\\nleq",!0),oe(se,ce,Ee," ","\\ "),oe(se,ce,Ee," ","\\space"),oe(se,ce,Ee," ","\\nobreakspace"),oe(le,ce,Ee," ","\\ "),oe(le,ce,Ee," "," "),oe(le,ce,Ee," ","\\space"),oe(le,ce,Ee," ","\\nobreakspace"),oe(se,ce,Ee,null,"\\nobreak"),oe(se,ce,Ee,null,"\\allowbreak"),oe(se,ce,fe,",",","),oe(se,ce,fe,";",";"),oe(se,ue,he,"⊼","\\barwedge",!0),oe(se,ue,he,"⊻","\\veebar",!0),oe(se,ce,he,"⊙","\\odot",!0),oe(se,ce,he,"⊕","\\oplus",!0),oe(se,ce,he,"⊗","\\otimes",!0),oe(se,ce,ve,"∂","\\partial",!0),oe(se,ce,he,"⊘","\\oslash",!0),oe(se,ue,he,"⊚","\\circledcirc",!0),oe(se,ue,he,"⊡","\\boxdot",!0),oe(se,ce,he,"△","\\bigtriangleup"),oe(se,ce,he,"▽","\\bigtriangledown"),oe(se,ce,he,"†","\\dagger"),oe(se,ce,he,"⋄","\\diamond"),oe(se,ce,he,"⋆","\\star"),oe(se,ce,he,"◃","\\triangleleft"),oe(se,ce,he,"▹","\\triangleright"),oe(se,ce,be,"{","\\{"),oe(le,ce,ve,"{","\\{"),oe(le,ce,ve,"{","\\textbraceleft"),oe(se,ce,pe,"}","\\}"),oe(le,ce,ve,"}","\\}"),oe(le,ce,ve,"}","\\textbraceright"),oe(se,ce,be,"{","\\lbrace"),oe(se,ce,pe,"}","\\rbrace"),oe(se,ce,be,"[","\\lbrack",!0),oe(le,ce,ve,"[","\\lbrack",!0),oe(se,ce,pe,"]","\\rbrack",!0),oe(le,ce,ve,"]","\\rbrack",!0),oe(se,ce,be,"(","\\lparen",!0),oe(se,ce,pe,")","\\rparen",!0),oe(le,ce,ve,"<","\\textless",!0),oe(le,ce,ve,">","\\textgreater",!0),oe(se,ce,be,"⌊","\\lfloor",!0),oe(se,ce,pe,"⌋","\\rfloor",!0),oe(se,ce,be,"⌈","\\lceil",!0),oe(se,ce,pe,"⌉","\\rceil",!0),oe(se,ce,ve,"\\","\\backslash"),oe(se,ce,ve,"∣","|"),oe(se,ce,ve,"∣","\\vert"),oe(le,ce,ve,"|","\\textbar",!0),oe(se,ce,ve,"∥","\\|"),oe(se,ce,ve,"∥","\\Vert"),oe(le,ce,ve,"∥","\\textbardbl"),oe(le,ce,ve,"~","\\textasciitilde"),oe(le,ce,ve,"\\","\\textbackslash"),oe(le,ce,ve,"^","\\textasciicircum"),oe(se,ce,ye,"↑","\\uparrow",!0),oe(se,ce,ye,"⇑","\\Uparrow",!0),oe(se,ce,ye,"↓","\\downarrow",!0),oe(se,ce,ye,"⇓","\\Downarrow",!0),oe(se,ce,ye,"↕","\\updownarrow",!0),oe(se,ce,ye,"⇕","\\Updownarrow",!0),oe(se,ce,_e,"∐","\\coprod"),oe(se,ce,_e,"⋁","\\bigvee"),oe(se,ce,_e,"⋀","\\bigwedge"),oe(se,ce,_e,"⨄","\\biguplus"),oe(se,ce,_e,"⋂","\\bigcap"),oe(se,ce,_e,"⋃","\\bigcup"),oe(se,ce,_e,"∫","\\int"),oe(se,ce,_e,"∫","\\intop"),oe(se,ce,_e,"∬","\\iint"),oe(se,ce,_e,"∭","\\iiint"),oe(se,ce,_e,"∏","\\prod"),oe(se,ce,_e,"∑","\\sum"),oe(se,ce,_e,"⨂","\\bigotimes"),oe(se,ce,_e,"⨁","\\bigoplus"),oe(se,ce,_e,"⨀","\\bigodot"),oe(se,ce,_e,"∮","\\oint"),oe(se,ce,_e,"∯","\\oiint"),oe(se,ce,_e,"∰","\\oiiint"),oe(se,ce,_e,"⨆","\\bigsqcup"),oe(se,ce,_e,"∫","\\smallint"),oe(le,ce,ge,"…","\\textellipsis"),oe(se,ce,ge,"…","\\mathellipsis"),oe(le,ce,ge,"…","\\ldots",!0),oe(se,ce,ge,"…","\\ldots",!0),oe(se,ce,ge,"⋯","\\@cdots",!0),oe(se,ce,ge,"⋱","\\ddots",!0),oe(se,ce,ve,"⋮","\\varvdots"),oe(le,ce,ve,"⋮","\\varvdots"),oe(se,ce,de,"ˊ","\\acute"),oe(se,ce,de,"ˋ","\\grave"),oe(se,ce,de,"¨","\\ddot"),oe(se,ce,de,"~","\\tilde"),oe(se,ce,de,"ˉ","\\bar"),oe(se,ce,de,"˘","\\breve"),oe(se,ce,de,"ˇ","\\check"),oe(se,ce,de,"^","\\hat"),oe(se,ce,de,"⃗","\\vec"),oe(se,ce,de,"˙","\\dot"),oe(se,ce,de,"˚","\\mathring"),oe(se,ce,me,"","\\@imath"),oe(se,ce,me,"","\\@jmath"),oe(se,ce,ve,"ı","ı"),oe(se,ce,ve,"ȷ","ȷ"),oe(le,ce,ve,"ı","\\i",!0),oe(le,ce,ve,"ȷ","\\j",!0),oe(le,ce,ve,"ß","\\ss",!0),oe(le,ce,ve,"æ","\\ae",!0),oe(le,ce,ve,"œ","\\oe",!0),oe(le,ce,ve,"ø","\\o",!0),oe(le,ce,ve,"Æ","\\AE",!0),oe(le,ce,ve,"Œ","\\OE",!0),oe(le,ce,ve,"Ø","\\O",!0),oe(le,ce,de,"ˊ","\\'"),oe(le,ce,de,"ˋ","\\`"),oe(le,ce,de,"ˆ","\\^"),oe(le,ce,de,"˜","\\~"),oe(le,ce,de,"ˉ","\\="),oe(le,ce,de,"˘","\\u"),oe(le,ce,de,"˙","\\."),oe(le,ce,de,"¸","\\c"),oe(le,ce,de,"˚","\\r"),oe(le,ce,de,"ˇ","\\v"),oe(le,ce,de,"¨",'\\"'),oe(le,ce,de,"˝","\\H"),oe(le,ce,de,"◯","\\textcircled");const Se={"--":!0,"---":!0,"``":!0,"''":!0};oe(le,ce,ve,"–","--",!0),oe(le,ce,ve,"–","\\textendash"),oe(le,ce,ve,"—","---",!0),oe(le,ce,ve,"—","\\textemdash"),oe(le,ce,ve,"‘","`",!0),oe(le,ce,ve,"‘","\\textquoteleft"),oe(le,ce,ve,"’","'",!0),oe(le,ce,ve,"’","\\textquoteright"),oe(le,ce,ve,"“","``",!0),oe(le,ce,ve,"“","\\textquotedblleft"),oe(le,ce,ve,"”","''",!0),oe(le,ce,ve,"”","\\textquotedblright"),oe(se,ce,ve,"°","\\degree",!0),oe(le,ce,ve,"°","\\degree"),oe(le,ce,ve,"°","\\textdegree",!0),oe(se,ce,ve,"£","\\pounds"),oe(se,ce,ve,"£","\\mathsterling",!0),oe(le,ce,ve,"£","\\pounds"),oe(le,ce,ve,"£","\\textsterling",!0),oe(se,ue,ve,"✠","\\maltese"),oe(le,ue,ve,"✠","\\maltese");const Te='0123456789/@."';for(let Hi=0;Hi<14;Hi++){const e=Te.charAt(Hi);oe(se,ce,ve,e,e)}const Ce='0123456789!@*()-=+";:?/.,';for(let Hi=0;Hi<25;Hi++){const e=Ce.charAt(Hi);oe(le,ce,ve,e,e)}const xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let Hi=0;Hi<52;Hi++){const e=xe.charAt(Hi);oe(se,ce,me,e,e),oe(le,ce,ve,e,e)}oe(se,ue,ve,"C","ℂ"),oe(le,ue,ve,"C","ℂ"),oe(se,ue,ve,"H","ℍ"),oe(le,ue,ve,"H","ℍ"),oe(se,ue,ve,"N","ℕ"),oe(le,ue,ve,"N","ℕ"),oe(se,ue,ve,"P","ℙ"),oe(le,ue,ve,"P","ℙ"),oe(se,ue,ve,"Q","ℚ"),oe(le,ue,ve,"Q","ℚ"),oe(se,ue,ve,"R","ℝ"),oe(le,ue,ve,"R","ℝ"),oe(se,ue,ve,"Z","ℤ"),oe(le,ue,ve,"Z","ℤ"),oe(se,ce,me,"h","ℎ"),oe(le,ce,me,"h","ℎ");let ke="";for(let Hi=0;Hi<52;Hi++){const e=xe.charAt(Hi);ke=String.fromCharCode(55349,56320+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56372+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56424+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56580+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56684+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56736+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56788+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56840+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56944+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),Hi<26&&(ke=String.fromCharCode(55349,56632+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,56476+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke))}ke=String.fromCharCode(55349,56668),oe(se,ce,me,"k",ke),oe(le,ce,ve,"k",ke);for(let Hi=0;Hi<10;Hi++){const e=Hi.toString();ke=String.fromCharCode(55349,57294+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,57314+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,57324+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke),ke=String.fromCharCode(55349,57334+Hi),oe(se,ce,me,e,ke),oe(le,ce,ve,e,ke)}const Ae="ÐÞþ";for(let Hi=0;Hi<3;Hi++){const e=Ae.charAt(Hi);oe(se,ce,me,e,e),oe(le,ce,ve,e,e)}const we=[["mathbf","textbf","Main-Bold"], +// A-Z bold upright +["mathbf","textbf","Main-Bold"], +// a-z bold upright +["mathnormal","textit","Math-Italic"], +// A-Z italic +["mathnormal","textit","Math-Italic"], +// a-z italic +["boldsymbol","boldsymbol","Main-BoldItalic"], +// A-Z bold italic +["boldsymbol","boldsymbol","Main-BoldItalic"], +// a-z bold italic +// Map fancy A-Z letters to script, not calligraphic. +// This aligns with unicode-math and math fonts (except Cambria Math). +["mathscr","textscr","Script-Regular"], +// A-Z script +["","",""], +// a-z script. No font +["","",""], +// A-Z bold script. No font +["","",""], +// a-z bold script. No font +["mathfrak","textfrak","Fraktur-Regular"], +// A-Z Fraktur +["mathfrak","textfrak","Fraktur-Regular"], +// a-z Fraktur +["mathbb","textbb","AMS-Regular"], +// A-Z double-struck +["mathbb","textbb","AMS-Regular"], +// k double-struck +// Note that we are using a bold font, but font metrics for regular Fraktur. +["mathboldfrak","textboldfrak","Fraktur-Regular"], +// A-Z bold Fraktur +["mathboldfrak","textboldfrak","Fraktur-Regular"], +// a-z bold Fraktur +["mathsf","textsf","SansSerif-Regular"], +// A-Z sans-serif +["mathsf","textsf","SansSerif-Regular"], +// a-z sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// A-Z bold sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// a-z bold sans-serif +["mathitsf","textitsf","SansSerif-Italic"], +// A-Z italic sans-serif +["mathitsf","textitsf","SansSerif-Italic"], +// a-z italic sans-serif +["","",""], +// A-Z bold italic sans. No font +["","",""], +// a-z bold italic sans. No font +["mathtt","texttt","Typewriter-Regular"], +// A-Z monospace +["mathtt","texttt","Typewriter-Regular"]],Ne=[["mathbf","textbf","Main-Bold"], +// 0-9 bold +["","",""], +// 0-9 double-struck. No KaTeX font. +["mathsf","textsf","SansSerif-Regular"], +// 0-9 sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// 0-9 bold sans-serif +["mathtt","texttt","Typewriter-Regular"]],Oe=function(e,t,n){return ae[n][e]&&ae[n][e].replace&&(e=ae[n][e].replace),{value:e,metrics:O(e,t,n)}},Re=function(e,t,n,i,r){const a=Oe(e,t,n),o=a.metrics;let s;if(e=a.value,o){let t=o.italic;("text"===n||i&&"mathit"===i.font)&&(t=0),s=new X(e,o.height,o.depth,t,o.skew,o.width,r)}else s=new X(e,0,0,0,0,0,r);if(i){s.maxFontSize=i.sizeMultiplier,i.style.isTight()&&s.classes.push("mtight");const e=i.getColor();e&&(s.style.color=e)}return s},Ie=(e,t)=>{if(z(e.classes)!==z(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},De=function(e){let t=0,n=0,i=0;for(let r=0;rt&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>i&&(i=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=i},Me=function(e,t,n,i){const r=new V(e,t,n,i);return De(r),r},Le=(e,t,n,i)=>new V(e,t,n,i),Pe=function(e){const t=new k(e);return De(t),t},je=function(e,t,n){let i,r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return i="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",r+"-"+i},Fe={ +// styles +mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"}, +// "boldsymbol" is missing because they require the use of multiple fonts: +// Math-BoldItalic and Main-Bold. This is handled by a special case in +// makeOrd which ends up calling boldsymbol. +// families +mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Be={ +// path, width, height +vec:["vec",.471,.714], +// values from the font glyph +oiintSize1:["oiintSize1",.957,.499], +// oval to overlay the integrand +oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Ue={fontMap:Fe,makeSymbol:Re,mathsym:function(e,t,n,i){return void 0===i&&(i=[]),"boldsymbol"===n.font&&Oe(e,"Main-Bold",t).metrics?Re(e,"Main-Bold",t,n,i.concat(["mathbf"])):"\\"===e||"main"===ae[t][e].font?Re(e,"Main-Regular",t,n,i):Re(e,"AMS-Regular",t,n,i.concat(["amsrm"]))},makeSpan:Me,makeSvgSpan:Le,makeLineSpan:function(e,t,n){const i=Me([e],[],t);return i.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),i.style.borderBottomWidth=G(i.height),i.maxFontSize=1,i},makeAnchor:function(e,t,n,i){const r=new W(e,t,n,i);return De(r),r},makeFragment:Pe,wrapFragment:function(e,t){return e instanceof k?Me([],[e],t):e},makeVList:function(e,t){const{children:n,depth:i}=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],i=-t[0].shift-t[0].elem.depth;let r=i;for(let e=1;e0)return Re(a,c,r,t,o.concat(u));if(l){let e,i;if("boldsymbol"===l){const t=function(e,t,n,i,r){return"textord"!==r&&Oe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(a,r,0,0,n);e=t.fontName,i=[t.fontClass]}else s?(e=Fe[l].fontName,i=[l]):(e=je(l,t.fontWeight,t.fontShape),i=[l,t.fontWeight,t.fontShape]);if(Oe(a,e,r).metrics)return Re(a,e,r,t,o.concat(i));if(Se.hasOwnProperty(a)&&"Typewriter"===e.slice(0,10)){const n=[];for(let s=0;s{const n=Me(["mspace"],[],t),i=U(e,t);return n.style.marginRight=G(i),n},staticSvg:function(e,t){const[n,i,r]=Be[e],a=new J(n),o=new Z([a],{width:G(i),height:G(r), +// Override CSS rule `.katex svg { width: 100% }` +style:"width:"+G(i),viewBox:"0 0 "+1e3*i+" "+1e3*r,preserveAspectRatio:"xMinYMin"}),s=Le(["overlay"],[o],t);return s.height=r,s.style.height=G(r),s.style.width=G(i),s},svgData:Be,tryCombineChars:e=>{for(let t=0;t{const n=t.classes[0],i=e.classes[0];"mbin"===n&&l.contains(tt,i)?t.classes[0]="mord":"mbin"===i&&l.contains(et,n)&&(e.classes[0]="mord")}),{node:o},s,c),at(r,((e,t)=>{const n=lt(t),i=lt(e),r=n&&i?e.hasClass("mtight")?qe[n][i]:Ye[n][i]:null;if(r)return Ue.makeGlue(r,a)}),{node:o},s,c),r},at=function(e,t,n,i,r){i&&e.push(i);let a=0;for(;an=>{e.splice(t+1,0,n),a++})(a)}i&&e.pop()},ot=function(e){return e instanceof k||e instanceof W||e instanceof V&&e.hasClass("enclosing")?e:null},st=function(e,t){const n=ot(e);if(n){const e=n.children;if(e.length){if("right"===t)return st(e[e.length-1],"right");if("left"===t)return st(e[0],"left")}}return e},lt=function(e,t){return e?(t&&(e=st(e,t)),it[e.classes[0]]||null):null},ct=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Je(t.concat(n))},ut=function(e,t,n){if(!e)return Je();if(Ve[e.type]){let i=Ve[e.type](e,t);if(n&&t.size!==n.size){i=Je(t.sizingClasses(n),[i],t);const e=t.sizeMultiplier/n.sizeMultiplier;i.height*=e,i.depth*=e}return i}throw new i("Got group of unknown type: '"+e.type+"'")};function dt(e,t){const n=Je(["base"],e,t),i=Je(["strut"]);return i.style.height=G(n.height+n.depth),n.depth&&(i.style.verticalAlign=G(-n.depth)),n.children.unshift(i),n}function ht(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const i=rt(e,t,"root");let r;2===i.length&&i[1].hasClass("tag")&&(r=i.pop());const a=[];let o,s=[];for(let c=0;c0&&(a.push(dt(s,t)),s=[]),a.push(i[c]));s.length>0&&a.push(dt(s,t)),n?(o=dt(rt(n,t,!0)),o.classes=["tag"],a.push(o)):r&&a.push(r);const l=Je(["katex-html"],a);if(l.setAttribute("aria-hidden","true"),o){const e=o.children[0];e.style.height=G(l.height+l.depth),l.depth&&(e.style.verticalAlign=G(-l.depth))}return l}function pt(e){return new k(e)}class gt{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]} +/** + * Sets an attribute on a MathML node. MathML depends on attributes to convey a + * semantic content, so this is used heavily. + */setAttribute(e,t){this.attributes[e]=t} +/** + * Gets an attribute on a MathML node. + */getAttribute(e){return this.attributes[e]} +/** + * Converts the math node into a MathML-namespaced DOM element. + */toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=z(this.classes));for(let t=0;t0&&(e+=' class ="'+l.escape(z(this.classes))+'"'),e+=">";for(let t=0;t",e} +/** + * Converts the math node into a string, similar to innerText, but escaped. + */toText(){return this.children.map((e=>e.toText())).join("")}}class mt{constructor(e){this.text=void 0,this.text=e} +/** + * Converts the text node into a DOM text node. + */toNode(){return document.createTextNode(this.text)} +/** + * Converts the text node into escaped HTML markup + * (representing the text itself). + */toMarkup(){return l.escape(this.toText())} +/** + * Converts the text node into a string + * (representing the text itself). + */toText(){return this.text}}var _t={MathNode:gt,TextNode:mt,SpaceNode:class{ +/** + * Create a Space node with width given in CSS ems. + */ +constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null} +/** + * Converts the math node into a MathML-namespaced DOM element. + */toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",G(this.width)),e}} +/** + * Converts the math node into an HTML markup string. + */toMarkup(){return this.character?""+this.character+"":''} +/** + * Converts the math node into a string, similar to innerText. + */toText(){return this.character?this.character:" "}},newDocumentFragment:pt};const bt=function(e,t,n){return!ae[t][e]||!ae[t][e].replace||55349===e.charCodeAt(0)||Se.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=ae[t][e].replace),new _t.TextNode(e)},ft=function(e){return 1===e.length?e[0]:new _t.MathNode("mrow",e)},yt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const i=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathsfit"===n)return"sans-serif-italic";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let r=e.text;return l.contains(["\\imath","\\jmath"],r)?null:(ae[i][r]&&ae[i][r].replace&&(r=ae[i][r].replace),O(r,Ue.fontMap[n].fontName,i)?Ue.fontMap[n].variant:null)};function Et(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){const t=e.children[0];return t instanceof mt&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){const t=e.children[0];return t instanceof mt&&","===t.text}return!1}const vt=function(e,t,n){if(1===e.length){const i=Tt(e[0],t);return n&&i instanceof gt&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}const i=[];let r;for(let a=0;a=1&&("mn"===r.type||Et(r))){const e=n.children[0];e instanceof gt&&"mn"===e.type&&(e.children=[...r.children,...e.children],i.pop())}else if("mi"===r.type&&1===r.children.length){const e=r.children[0];if(e instanceof mt&&"̸"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof mt&&e.text.length>0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),i.pop())}}}i.push(n),r=n}return i},St=function(e,t,n){return ft(vt(e,t,n))},Tt=function(e,t){if(!e)return new _t.MathNode("mrow");if(We[e.type])return We[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Ct(e,t,n,i,r){const a=vt(e,n);let o;o=1===a.length&&a[0]instanceof gt&&l.contains(["mrow","mtable"],a[0].type)?a[0]:new _t.MathNode("mrow",a);const s=new _t.MathNode("annotation",[new _t.TextNode(t)]);s.setAttribute("encoding","application/x-tex");const c=new _t.MathNode("semantics",[o,s]),u=new _t.MathNode("math",[c]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&u.setAttribute("display","block");const d=r?"katex":"katex-mathml";return Ue.makeSpan([d],[u])}const xt=function(e){return new P({style:e.displayMode?E.DISPLAY:E.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},kt=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ue.makeSpan(n,[e])}return e},At={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌", +// Not a perfect match. +xleftequilibrium:"⇋", +// None better available. +"\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},wt={ +// path(s), minWidth, height, align +overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"], +// CD minwwidth2.5pc +xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528], +// The next three arrows are from the mhchem package. +// In mhchem.sty, min-length is 2.0em. But these arrows might appear in the +// document as \xrightarrow or \xrightleftharpoons. Those have +// min-length = 1.75em, so we set min-length on these next three to match. +xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]};var Nt=function(e,t,n,i,r){let a;const o=e.height+e.depth+n+i;if(/fbox|color|angl/.test(t)){if(a=Ue.makeSpan(["stretchy",t],[],r),"fbox"===t){const e=r.color&&r.getColor();e&&(a.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Z(e,{width:"100%",height:G(o)});a=Ue.makeSvgSpan([],[n],r)}return a.height=o,a.style.height=G(o),a},Ot=function(e){const t=new _t.MathNode("mo",[new _t.TextNode(At[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Rt=function(e,t){const{span:n,minWidth:i,height:r}=function(){let n=4e5;const i=e.label.slice(1);if(l.contains(["widehat","widecheck","widetilde","utilde"],i)){const a="ordgroup"===(r=e.base).type?r.body.length:1;let o,s,l;if(a>5)"widehat"===i||"widecheck"===i?(o=420,n=2364,l=.42,s=i+"4"):(o=312,n=2340,l=.34,s="tilde4");else{const e=[1,1,2,2,3,3][a];"widehat"===i||"widecheck"===i?(n=[0,1062,2364,2364,2364][e],o=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],s=i+e):(n=[0,600,1033,2339,2340][e],o=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],s="tilde"+e)}const c=new J(s),u=new Z([c],{width:"100%",height:G(l),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ue.makeSvgSpan([],[u],t),minWidth:0,height:l}}{const e=[],r=wt[i],[a,o,s]=r,l=s/1e3,c=a.length;let u,d;if(1===c)u=["hide-tail"],d=[r[3]];else if(2===c)u=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");u=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(let i=0;i0&&(n.style.minWidth=G(i)),n};function It(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Dt(e){const t=Mt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Mt(e){return e&&("atom"===e.type||ie.hasOwnProperty(e.type))?e:null}const Lt=(e,t)=>{let n,i,r;e&&"supsub"===e.type?(i=It(e.base,"accent"),n=i.base,e.base=n,r=function(e){if(e instanceof V)return e;throw new Error("Expected span but got "+String(e)+".")}(ut(e,t)),e.base=i):(i=It(e,"accent"),n=i.base);const a=ut(n,t.havingCrampedStyle());let o=0;if(i.isShifty&&l.isCharacterBox(n)){const e=l.getBaseElem(n);o=te(ut(e,t.havingCrampedStyle())).skew}const s="\\c"===i.label;let c,u=s?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight);if(i.isStretchy)c=Rt(i,t),c=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},t);else{let e,n;"\\vec"===i.label?(e=Ue.staticSvg("vec",t),n=Ue.svgData.vec[1]):(e=Ue.makeOrd({mode:i.mode,text:i.label},t,"textord"),e=te(e),e.italic=0,n=e.width,s&&(u+=e.depth)),c=Ue.makeSpan(["accent-body"],[e]);const r="\\textcircled"===i.label;r&&(c.classes.push("accent-full"),u=a.height);let l=o;r||(l-=n/2),c.style.left=G(l),"\\textcircled"===i.label&&(c.style.top=".2em"),c=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}const d=Ue.makeSpan(["mord","accent"],[c],t);return r?(r.children[0]=d,r.height=Math.max(d.height,r.height),r.classes[0]="mord",r):d},Pt=(e,t)=>{const n=e.isStretchy?Ot(e.label):new _t.MathNode("mo",[bt(e.label,e.mode)]),i=new _t.MathNode("mover",[Tt(e.base,t),n]);return i.setAttribute("accent","true"),i},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{const n=Xe(t[0]),i=!jt.test(e.funcName),r=!i||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:i,isShifty:r,base:n}},htmlBuilder:Lt,mathmlBuilder:Pt}),Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0, +// unless in strict mode +argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let i=e.parser.mode;return"math"===i&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Lt,mathmlBuilder:Pt}),Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=t[0];return{type:"accentUnder",mode:n.mode,label:i,base:r}},htmlBuilder:(e,t)=>{const n=ut(e.base,t),i=Rt(e,t),r="\\utilde"===e.label?.12:0,a=Ue.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:n}]},t);return Ue.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{const n=Ot(e.label),i=new _t.MathNode("munder",[Tt(e.base,t),n]);return i.setAttribute("accentunder","true"),i}});const Ft=e=>{const t=new _t.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom", +// The next 3 functions are here to support the mhchem extension. +// Direct use of these functions is discouraged and may break someday. +"\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium", +// The next 3 functions are here only to support the {CD} environment. +"\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:i,funcName:r}=e;return{type:"xArrow",mode:i.mode,label:r,body:t[0],below:n[0]}}, +// Flow is unable to correctly infer the type of `group`, even though it's +// unambiguously determined from the passed-in `type` above. +htmlBuilder(e,t){const n=t.style;let i=t.havingStyle(n.sup());const r=Ue.wrapFragment(ut(e.body,i,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";let o;r.classes.push(a+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),o=Ue.wrapFragment(ut(e.below,i,t),t),o.classes.push(a+"-arrow-pad"));const s=Rt(e,t),l=-t.fontMetrics().axisHeight+.5*s.height;let c,u=-t.fontMetrics().axisHeight-.5*s.height-.111;if((r.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=r.depth),o){const e=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;c=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:e}]},t)}else c=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:u},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Ue.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=Ot(e.label);let i;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const r=Ft(Tt(e.body,t));if(e.below){const a=Ft(Tt(e.below,t));i=new _t.MathNode("munderover",[n,a,r])}else i=new _t.MathNode("mover",[n,r])}else if(e.below){const r=Ft(Tt(e.below,t));i=new _t.MathNode("munder",[n,r])}else i=Ft(),i=new _t.MathNode("mover",[n,i]);return i}});const Bt=Ue.makeSpan;function Ut(e,t){const n=rt(e.body,t,!0);return Bt([e.mclass],n,t)}function Gt(e,t){let n;const i=vt(e.body,t);return"minner"===e.mclass?n=new _t.MathNode("mpadded",i):"mord"===e.mclass?e.isCharacterBox?(n=i[0],n.type="mi"):n=new _t.MathNode("mi",i):(e.isCharacterBox?(n=i[0],n.type="mo"):n=new _t.MathNode("mo",i),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Qe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:i}=e;const r=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+i.slice(5), +// TODO(kevinb): don't prefix with 'm' +body:Ze(r),isCharacterBox:l.isCharacterBox(r)}},htmlBuilder:Ut,mathmlBuilder:Gt});const zt=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Qe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:zt(t[0]),body:Ze(t[1]),isCharacterBox:l.isCharacterBox(t[1])}}}),Qe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:i}=e;const r=t[1],a=t[0];let o;o="\\stackrel"!==i?zt(r):"mrel";const s={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:Ze(r)},c={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[c],isCharacterBox:l.isCharacterBox(c)}},htmlBuilder:Ut,mathmlBuilder:Gt}),Qe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:zt(t[0]),body:Ze(t[0])}},htmlBuilder(e,t){const n=rt(e.body,t,!0),i=Ue.makeSpan([e.mclass],n,t);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(e,t){const n=vt(e.body,t),i=new _t.MathNode("mstyle",n);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});const $t={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Yt=e=>"textord"===e.type&&"@"===e.text;function qt(e,t,n){const i=$t[e];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(i,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e={type:"atom",text:i,mode:"math",family:"rel"},r={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[e],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[r],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}Qe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:i}=e;return{type:"cdlabel",mode:n.mode,side:i.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),i=Ue.wrapFragment(ut(e.label,n,t),t);return i.classes.push("cd-label-"+e.side),i.style.bottom=G(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(e,t){let n=new _t.MathNode("mrow",[Tt(e.label,t)]);return n=new _t.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new _t.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),Qe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=Ue.wrapFragment(ut(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new _t.MathNode("mrow",[Tt(e.fragment,t)])}),Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const r=It(t[0],"ordgroup").body;let a="";for(let i=0;i=1114111)throw new i("\\@char with invalid code point "+a);return s<=65535?o=String.fromCharCode(s):(s-=65536,o=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:n.mode,text:o}}});const Ht=(e,t)=>{const n=rt(e.body,t.withColor(e.color),!1);return Ue.makeFragment(n)},Vt=(e,t)=>{const n=vt(e.body,t.withColor(e.color)),i=new _t.MathNode("mstyle",n);return i.setAttribute("mathcolor",e.color),i};Qe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const i=It(t[0],"color-token").color,r=t[1];return{type:"color",mode:n.mode,color:i,body:Ze(r)}},htmlBuilder:Ht,mathmlBuilder:Vt}),Qe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:i}=e;const r=It(t[0],"color-token").color;n.gullet.macros.set("\\current@color",r);const a=n.parseExpression(!0,i);return{type:"color",mode:n.mode,color:r,body:a}},htmlBuilder:Ht,mathmlBuilder:Vt}),Qe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:i}=e;const r="["===i.gullet.future().text?i.parseSizeGroup(!0):null,a=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:a,size:r&&It(r,"size").value}}, +// The following builders are called only at the top level, +// not within tabular/array environments. +htmlBuilder(e,t){const n=Ue.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=G(U(e.size,t)))),n},mathmlBuilder(e,t){const n=new _t.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",G(U(e.size,t)))),n}});const Wt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Qt=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},Kt=(e,t,n,i)=>{let r=e.gullet.macros.get(n.text);null==r&&(n.noexpand=!0,r={tokens:[n],numArgs:0, +// reproduce the same behavior in expansion +unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,r,i)};Qe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const r=t.fetch();if(Wt[r.text])return"\\global"!==n&&"\\\\globallong"!==n||(r.text=Wt[r.text]),It(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",r)}}),Qe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,r=t.gullet.popToken();const a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new i("Expected a control sequence",r);let o,s=0;const l=[[]];for(;"{"!==t.gullet.future().text;)if(r=t.gullet.popToken(),"#"===r.text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new i('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new i('Argument number "'+r.text+'" out of order');s++,l.push([])}else{if("EOF"===r.text)throw new i("Expected a macro definition");l[s].push(r.text)}let{tokens:c}=t.gullet.consumeArg();return o&&c.unshift(o),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(a,{tokens:c,numArgs:s,delimiters:l},n===Wt[n]),{type:"internal",mode:t.mode}}}),Qe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const i=Qt(t.gullet.popToken());t.gullet.consumeSpaces();const r=(e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t})(t);return Kt(t,i,r,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Qe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const i=Qt(t.gullet.popToken()),r=t.gullet.popToken(),a=t.gullet.popToken();return Kt(t,i,a,"\\\\globalfuture"===n),t.gullet.pushToken(a),t.gullet.pushToken(r),{type:"internal",mode:t.mode}}});const Xt=function(e,t,n){const i=O(ae.math[e]&&ae.math[e].replace||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Zt=function(e,t,n,i){const r=n.havingBaseStyle(t),a=Ue.makeSpan(i.concat(r.sizingClasses(n)),[e],n),o=r.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=r.sizeMultiplier,a},Jt=function(e,t,n){const i=t.havingBaseStyle(n),r=(1-t.sizeMultiplier/i.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=G(r),e.height-=r,e.depth+=r},en=function(e,t,n,i,r,a){const o=function(e,t,n,i){return Ue.makeSymbol(e,"Size"+t+"-Regular",n,i)}(e,t,r,i),s=Zt(Ue.makeSpan(["delimsizing","size"+t],[o],i),E.TEXT,i,a);return n&&Jt(s,i,E.TEXT),s},tn=function(e,t,n){let i;return i="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Ue.makeSpan(["delimsizinginner",i],[Ue.makeSpan([],[Ue.makeSymbol(e,t,n)])])}},nn=function(e,t,n){const i=A["Size4-Regular"][e.charCodeAt(0)]?A["Size4-Regular"][e.charCodeAt(0)][4]:A["Size1-Regular"][e.charCodeAt(0)][4],r=new J("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),a=new Z([r],{width:G(i),height:G(t), +// Override CSS rule `.katex svg { width: 100% }` +style:"width:"+G(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Ue.makeSvgSpan([],[a],n);return o.height=t,o.style.height=G(t),o.style.width=G(i),{type:"elem",elem:o}},rn={type:"kern",size:-.008},an=["|","\\lvert","\\rvert","\\vert"],on=["\\|","\\lVert","\\rVert","\\Vert"],sn=function(e,t,n,i,r,a){let o,s,c,u,d="",h=0;o=c=u=e,s=null;let p="Size1-Regular";"\\uparrow"===e?c=u="⏐":"\\Uparrow"===e?c=u="‖":"\\downarrow"===e?o=c="⏐":"\\Downarrow"===e?o=c="‖":"\\updownarrow"===e?(o="\\uparrow",c="⏐",u="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",c="‖",u="\\Downarrow"):l.contains(an,e)?(c="∣",d="vert",h=333):l.contains(on,e)?(c="∥",d="doublevert",h=556):"["===e||"\\lbrack"===e?(o="⎡",c="⎢",u="⎣",p="Size4-Regular",d="lbrack",h=667):"]"===e||"\\rbrack"===e?(o="⎤",c="⎥",u="⎦",p="Size4-Regular",d="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(c=o="⎢",u="⎣",p="Size4-Regular",d="lfloor",h=667):"\\lceil"===e||"⌈"===e?(o="⎡",c=u="⎢",p="Size4-Regular",d="lceil",h=667):"\\rfloor"===e||"⌋"===e?(c=o="⎥",u="⎦",p="Size4-Regular",d="rfloor",h=667):"\\rceil"===e||"⌉"===e?(o="⎤",c=u="⎥",p="Size4-Regular",d="rceil",h=667):"("===e||"\\lparen"===e?(o="⎛",c="⎜",u="⎝",p="Size4-Regular",d="lparen",h=875):")"===e||"\\rparen"===e?(o="⎞",c="⎟",u="⎠",p="Size4-Regular",d="rparen",h=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",u="⎩",c="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",u="⎭",c="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",u="⎩",c="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",u="⎭",c="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",u="⎭",c="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",u="⎩",c="⎪",p="Size4-Regular");const g=Xt(o,p,r),m=g.height+g.depth,_=Xt(c,p,r),b=_.height+_.depth,f=Xt(u,p,r),y=f.height+f.depth;let v=0,S=1;if(null!==s){const e=Xt(s,p,r);v=e.height+e.depth,S=2}const T=m+y+v,C=T+Math.max(0,Math.ceil((t-T)/(S*b)))*S*b;let x=i.fontMetrics().axisHeight;n&&(x*=i.sizeMultiplier);const k=C/2-x,A=[];if(d.length>0){const e=C-m-y,t=Math.round(1e3*C),n=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(d,Math.round(1e3*e)),r=new J(d,n),a=(h/1e3).toFixed(3)+"em",o=(t/1e3).toFixed(3)+"em",s=new Z([r],{width:a,height:o,viewBox:"0 0 "+h+" "+t}),l=Ue.makeSvgSpan([],[s],i);l.height=t/1e3,l.style.width=a,l.style.height=o,A.push({type:"elem",elem:l})}else{if(A.push(tn(u,p,r)),A.push(rn),null===s){const e=C-m-y+.016;A.push(nn(c,e,i))}else{const e=(C-m-y-v)/2+.016;A.push(nn(c,e,i)),A.push(rn),A.push(tn(s,p,r)),A.push(rn),A.push(nn(c,e,i))}A.push(rn),A.push(tn(o,p,r))}const w=i.havingBaseStyle(E.TEXT),N=Ue.makeVList({positionType:"bottom",positionData:k,children:A},w);return Zt(Ue.makeSpan(["delimsizing","mult"],[N],w),E.TEXT,i,a)},ln=.08,cn=function(e,t,n,i,r){const a=function(e,t,n){t*=1e3;let i="";switch(e){case"sqrtMain":i=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize1":i=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize2":i=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize3":i=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize4":i=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,C);break;case"sqrtTall":i=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,C,n)}return i}(e,i,n),o=new J(e,a),s=new Z([o],{ +// Note: 1000:1 ratio of viewBox to document em width. +width:"400em",height:G(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ue.makeSvgSpan(["hide-tail"],[s],r)},un=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],dn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],hn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],pn=[0,1.2,1.8,2.4,3],gn=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mn=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"stack"}],_n=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],bn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},fn=function(e,t,n,i){for(let r=Math.min(2,3-i.style.size);rt)return n[r]}return n[n.length-1]},yn=function(e,t,n,i,r,a){let o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=l.contains(hn,e)?gn:l.contains(un,e)?_n:mn;const s=fn(e,t,o,i);return"small"===s.type?function(e,t,n,i,r,a){const o=Ue.makeSymbol(e,"Main-Regular",r,i),s=Zt(o,t,i,a);return n&&Jt(s,i,t),s}(e,s.style,n,i,r,a):"large"===s.type?en(e,s.size,n,i,r,a):sn(e,t,n,i,r,a)};var En={sqrtImage:function(e,t){const n=t.havingBaseSizing(),i=fn("\\surd",e*n.sizeMultiplier,_n,n);let r=n.sizeMultiplier;const a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let o,s,l=0,c=0,u=0;return"small"===i.type?(u=1e3+1e3*a+80,e<1?r=1:e<1.4&&(r=.7),l=(1+a+ln)/r,c=(1+a)/r,o=cn("sqrtMain",l,u,a,t),o.style.minWidth="0.853em",s=.833/r):"large"===i.type?(u=1080*pn[i.size],c=(pn[i.size]+a)/r,l=(pn[i.size]+a+ln)/r,o=cn("sqrtSize"+i.size,l,u,a,t),o.style.minWidth="1.02em",s=1/r):(l=e+a+ln,c=e+a,u=Math.floor(1e3*e+a)+80,o=cn("sqrtTall",l,u,a,t),o.style.minWidth="0.742em",s=1.056),o.height=c,o.style.height=G(l),{span:o,advanceWidth:s, +// Calculate the actual line width. +// This actually should depend on the chosen font -- e.g. \boldmath +// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and +// have thicker rules. +ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*r}},sizedDelim:function(e,t,n,r,a){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),l.contains(un,e)||l.contains(hn,e))return en(e,t,!1,n,r,a);if(l.contains(dn,e))return sn(e,pn[t],!1,n,r,a);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:pn,customSizedDelim:yn,leftRightDelim:function(e,t,n,i,r,a){const o=i.fontMetrics().axisHeight*i.sizeMultiplier,s=5/i.fontMetrics().ptPerEm,l=Math.max(t-o,n+o),c=Math.max( +// In real TeX, calculations are done using integral values which are +// 65536 per pt, or 655360 per em. So, the division here truncates in +// TeX but doesn't here, producing different results. If we wanted to +// exactly match TeX's calculation, we could do +// Math.floor(655360 * maxDistFromAxis / 500) * +// delimiterFactor / 655360 +// (To see the difference, compare +// x^{x^{\left(\rule{0.1em}{0.68em}\right)}} +// in TeX and KaTeX) +l/500*901,2*l-s);return yn(e,c,!0,i,r,a)}};const vn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Sn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tn(e,t){const n=Mt(e);if(n&&l.contains(Sn,n.text))return n;throw new i(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Cn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{const n=Tn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:vn[e.funcName].size,mclass:vn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Ue.makeSpan([e.mclass]):En.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));const n=new _t.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const i=G(En.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",i),n.setAttribute("maxsize",i),n}}),Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tn(t[0],e).text,color:n}}}),Qe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Tn(t[0],e),i=e.parser;++i.leftrightDepth;const r=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);const a=It(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:r,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Cn(e);const n=rt(e.body,t,!0,["mopen","mclose"]);let i,r,a=0,o=0,s=!1;for(let l=0;l{Cn(e);const n=vt(e.body,t);if("."!==e.left){const t=new _t.MathNode("mo",[bt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new _t.MathNode("mo",[bt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return ft(n)}}),Qe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Tn(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=ct(t,[]);else{n=En.sizedDelim(e.delim,1,t,e.mode,[]);const i={delim:e.delim,options:t};n.isMiddle=i}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),i=new _t.MathNode("mo",[n]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});const xn=(e,t)=>{const n=Ue.wrapFragment(ut(e.body,t),t),i=e.label.slice(1);let r,a=t.sizeMultiplier,o=0;const s=l.isCharacterBox(e.body);if("sout"===i)r=Ue.makeSpan(["stretchy","sout"]),r.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){const e=U({number:.6,unit:"pt"},t),i=U({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;const s=n.height+n.depth+e+i;n.style.paddingLeft=G(s/2+e);const l=Math.floor(1e3*s*a),u="M400000 "+(c=l)+" H0 L"+c/2+" 0 l65 45 L145 "+(c-80)+" H400000z",d=new Z([new J("phase",u)],{width:"400em",height:G(l/1e3),viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});r=Ue.makeSvgSpan(["hide-tail"],[d],t),r.style.height=G(s),o=n.depth+e+i}else{/cancel/.test(i)?s||n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");let a=0,l=0,c=0;/box/.test(i)?(c=Math.max(t.fontMetrics().fboxrule, +// default +t.minRuleThickness),a=t.fontMetrics().fboxsep+("colorbox"===i?0:c),l=a):"angl"===i?(c=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a=4*c,l=Math.max(0,.25-n.depth)):(a=s?.2:0,l=a),r=Nt(n,i,a,l,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=G(c)):"angl"===i&&.049!==c&&(r.style.borderTopWidth=G(c),r.style.borderRightWidth=G(c)),o=n.depth+l,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}var c;let u;if(e.backgroundColor)u=Ue.makeVList({positionType:"individualShift",children:[ +// Put the color background behind inner; +{type:"elem",elem:r,shift:o},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(i)?["svg-align"]:[];u=Ue.makeVList({positionType:"individualShift",children:[ +// Write the \cancel stroke on top of inner. +{type:"elem",elem:n,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:e}]},t)}return/cancel/.test(i)&&(u.height=n.height,u.depth=n.depth),/cancel/.test(i)&&!s?Ue.makeSpan(["mord","cancel-lap"],[u],t):Ue.makeSpan(["mord"],[u],t)},kn=(e,t)=>{let n=0;const i=new _t.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tt(e.body,t)]);switch(e.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*n+"pt"),i.setAttribute("height","+"+2*n+"pt"),i.setAttribute("lspace",n+"pt"),i.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule, +// default +t.minRuleThickness);i.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:i,funcName:r}=e;const a=It(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:i.mode,label:r,backgroundColor:a,body:o}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:i,funcName:r}=e;const a=It(t[0],"color-token").color,o=It(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:i.mode,label:r,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:i}=e;const r=t[0];return{type:"enclose",mode:n.mode,label:i,body:r}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const An={};function wn(e){let{type:t,names:n,props:i,handler:r,htmlBuilder:a,mathmlBuilder:o}=e;const s={type:t,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r};for(let l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Ln(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Pn(e,t,n){let{hskipBeforeAndAfter:r,addJot:a,cols:o,arraystretch:s,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:d,maxNumCols:h,leqno:p}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)s=1;else if(s=parseFloat(t),!s||s<0)throw new i("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let g=[];const m=[g],_=[],b=[],f=null!=c?[]:void 0;function y(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function E(){f&&(e.gullet.macros.get("\\df@tag")?(f.push(e.subparse([new In("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):f.push(Boolean(c)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),b.push(Dn(e));;){let t=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),g.push(t);const r=e.fetch().text;if("&"===r){if(h&&g.length===h){if(u||l)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===r){E(),1===g.length&&"styling"===t.type&&0===t.body[0].body.length&&(m.length>1||!d)&&m.pop(),b.length0&&(y+=.25),u.push({pos:y,isDashed:e[t]})}for(v(o[0]),n=0;n0&&(h+=f,le)))for(n=0;n=s)continue;(r>0||e.hskipBeforeAndAfter)&&(o=l.deflt(u.pregap,p),0!==o&&(x=Ue.makeSpan(["arraycolsep"],[]),x.style.width=G(o),C.push(x)));let g=[];for(n=0;n0){const e=Ue.makeLineSpan("hline",t,d),n=Ue.makeLineSpan("hdashline",t,d),i=[{type:"elem",elem:c,shift:0}];for(;u.length>0;){const t=u.pop(),r=t.pos-S;t.isDashed?i.push({type:"elem",elem:n,shift:r}):i.push({type:"elem",elem:e,shift:r})}c=Ue.makeVList({positionType:"individualShift",children:i},t)}if(0===A.length)return Ue.makeSpan(["mord"],[c],t);{let e=Ue.makeVList({positionType:"individualShift",children:A},t);return e=Ue.makeSpan(["tag"],[e],t),Ue.makeFragment([c,e])}},Bn={c:"center ",l:"left ",r:"right "},Un=function(e,t){const n=[],i=new _t.MathNode("mtd",[],["mtr-glue"]),r=new _t.MathNode("mtd",[],["mml-eqn-num"]);for(let d=0;d0){const t=e.cols;let n="",i=!1,r=0,o=t.length;"separator"===t[0].type&&(s+="top ",r=1),"separator"===t[t.length-1].type&&(s+="bottom ",o-=1);for(let e=r;e0?"left ":"",s+=u[u.length-1].length>0?"right ":"";for(let d=1;d-1?"alignat":"align",a="split"===e.envName,o=Pn(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:Ln(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display");let s,l=0;const c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n0&&u&&(t=1),n[i]={type:"align",align:e,pregap:t,postgap:0}}return o.colSeparationType=u?"align":"alignat",o};wn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=(Mt(t[0])?[t[0]]:It(t[0],"ordgroup").body).map((function(e){const t=Dt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),r={cols:n,hskipBeforeAndAfter:!0, +// \@preamble in lttab.dtx +maxNumCols:n.length};return Pn(e.parser,r,jn(e.envName))},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new i("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),r.cols=[{type:"align",align:n}]}}const a=Pn(e.parser,r,jn(e.envName)),o=Math.max(0,...a.body.map((e=>e.length)));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=Pn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Mt(t[0])?[t[0]]:It(t[0],"ordgroup").body).map((function(e){const t=Dt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(n.length>1)throw new i("{subarray} can contain only one column");let r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(r=Pn(e.parser,r,"script"),r.body.length>0&&r.body[0].length>1)throw new i("{subarray} can contain only one column");return r},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t=Pn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0, +// TODO(kevinb) get the current style. +// For now we use the metrics for TEXT style which is what we were +// doing before. Before attempting to get the current style we +// should look at TeX's behavior especially for \over and matrices. +postgap:1 +/* 1em quad */},{type:"align",align:"l",pregap:0,postgap:0}]},jn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Gn,htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){l.contains(["gather","gather*"],e.envName)&&Mn(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ln(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Pn(e.parser,t,"display")},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Gn,htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mn(e);const t={autoTag:Ln(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Pn(e.parser,t,"display")},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Mn(e),function(e){const t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const r=[n];for(let s=0;s-1);else{if(!("<>AV".indexOf(r)>-1))throw new i('Expected one of "<>AV=|." after @',l[t]);for(let e=0;e<2;e++){let n=!0;for(let c=t+1;c{const n=e.font,i=t.withFont(n);return ut(e.body,i)},Yn=(e,t)=>{const n=e.font,i=t.withFont(n);return Tt(e.body,i)},qn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qe({type:"font",names:[ +// styles, except \boldsymbol defined below +"\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit", +// families +"\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt", +// aliases, except \bm defined below +"\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=Xe(t[0]);let a=i;return a in qn&&(a=qn[a]),{type:"font",mode:n.mode,font:a.slice(1),body:r}},htmlBuilder:$n,mathmlBuilder:Yn}),Qe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const i=t[0],r=l.isCharacterBox(i);return{type:"mclass",mode:n.mode,mclass:zt(i),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:i}],isCharacterBox:r}}}),Qe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i,breakOnTokenText:r}=e;const{mode:a}=n,o=n.parseExpression(!0,r);return{type:"font",mode:a,font:"math"+i.slice(1),body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:$n,mathmlBuilder:Yn});const Hn=(e,t)=>{let n=t;return"display"===e?n=n.id>=E.SCRIPT.id?n.text():E.DISPLAY:"text"===e&&n.size===E.DISPLAY.size?n=E.TEXT:"script"===e?n=E.SCRIPT:"scriptscript"===e&&(n=E.SCRIPTSCRIPT),n},Vn=(e,t)=>{const n=Hn(e.size,t.style),i=n.fracNum(),r=n.fracDen();let a;a=t.havingStyle(i);const o=ut(e.numer,a,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*u:7*u,p=t.fontMetrics().denom1):(c>0?(d=t.fontMetrics().num2,h=u):(d=t.fontMetrics().num3,h=3*u),p=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;d-o.depth-(e+.5*c){let n=new _t.MathNode("mfrac",[Tt(e.numer,t),Tt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const i=U(e.barSize,t);n.setAttribute("linethickness",G(i))}}else n.setAttribute("linethickness","0px");const i=Hn(e.size,t.style);if(i.size!==t.style.size){n=new _t.MathNode("mstyle",[n]);const e=i.size===E.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new _t.MathNode("mo",[new _t.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new _t.MathNode("mo",[new _t.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return ft(t)}return n};Qe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac", +// can’t be entered directly +"\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=t[0],a=t[1];let o,s=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:r,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:r,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Qe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:i,token:r}=e;switch(i){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:r}}});const Qn=["display","text","script","scriptscript"],Kn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const i=t[4],r=t[5],a=Xe(t[0]),o="atom"===a.type&&"open"===a.family?Kn(a.text):null,s=Xe(t[1]),l="atom"===s.type&&"close"===s.family?Kn(s.text):null,c=It(t[2],"size");let u,d=null;c.isBlank?u=!0:(d=c.value,u=d.number>0);let h="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){const e=It(p.body[0],"textord");h=Qn[Number(e.text)]}}else p=It(p,"textord"),h=Qn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:i,denom:r,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:l,size:h}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:i,token:r}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:It(t[0],"size").value,token:r}}}),Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=t[0],a=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(It(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vn,mathmlBuilder:Wn});const Xn=(e,t)=>{const n=t.style;let i,r;"supsub"===e.type?(i=e.sup?ut(e.sup,t.havingStyle(n.sup()),t):ut(e.sub,t.havingStyle(n.sub()),t),r=It(e.base,"horizBrace")):r=It(e,"horizBrace");const a=ut(r.base,t.havingBaseStyle(E.DISPLAY)),o=Rt(r,t);let s;if(r.isOver?(s=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=Ue.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),i){const e=Ue.makeSpan(["mord",r.isOver?"mover":"munder"],[s],t);s=r.isOver?Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:i}]},t):Ue.makeVList({positionType:"bottom",positionData:e.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return Ue.makeSpan(["mord",r.isOver?"mover":"munder"],[s],t)};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:i}=e;return{type:"horizBrace",mode:n.mode,label:i,isOver:/^\\over/.test(i),base:t[0]}},htmlBuilder:Xn,mathmlBuilder:(e,t)=>{const n=Ot(e.label);return new _t.MathNode(e.isOver?"mover":"munder",[Tt(e.base,t),n])}}),Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const i=t[1],r=It(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:n.mode,href:r,body:Ze(i)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=rt(e.body,t,!1);return Ue.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=St(e.body,t);return n instanceof gt||(n=new gt("mrow",[n])),n.setAttribute("href",e.href),n}}),Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const i=It(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:i}))return n.formatUnsupportedCmd("\\url");const r=[];for(let o=0;onew _t.MathNode("mrow",vt(e.body,t))}),Qe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,token:a}=e;const o=It(t[0],"raw").string,s=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const c={};switch(r){case"\\htmlClass":c.class=o,l={command:"\\htmlClass",class:o};break;case"\\htmlId":c.id=o,l={command:"\\htmlId",id:o};break;case"\\htmlStyle":c.style=o,l={command:"\\htmlStyle",style:o};break;case"\\htmlData":{const e=o.split(",");for(let t=0;t{const n=rt(e.body,t,!1),i=["enclosing"];e.attributes.class&&i.push(...e.attributes.class.trim().split(/\s+/));const r=Ue.makeSpan(i,n,t);for(const a in e.attributes)"class"!==a&&e.attributes.hasOwnProperty(a)&&r.setAttribute(a,e.attributes[a]);return r},mathmlBuilder:(e,t)=>St(e.body,t)}),Qe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ze(t[0]),mathml:Ze(t[1])}},htmlBuilder:(e,t)=>{const n=rt(e.html,t,!1);return Ue.makeFragment(n)},mathmlBuilder:(e,t)=>St(e.mathml,t)});const Zn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]), +// sign + magnitude, cast to number +unit:t[3]};if(!B(n))throw new i("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Qe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:r}=e,a={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0]){const e=It(n[0],"raw").string.split(",");for(let t=0;t{const n=U(e.height,t);let i=0;e.totalheight.number>0&&(i=U(e.totalheight,t)-n);let r=0;e.width.number>0&&(r=U(e.width,t));const a={height:G(n+i)};r>0&&(a.width=G(r)),i>0&&(a.verticalAlign=G(-i));const o=new Q(e.src,e.alt,a);return o.height=n,o.depth=i,o},mathmlBuilder:(e,t)=>{const n=new _t.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const i=U(e.height,t);let r=0;if(e.totalheight.number>0&&(r=U(e.totalheight,t)-i,n.setAttribute("valign",G(-r))),n.setAttribute("height",G(i+r)),e.width.number>0){const i=U(e.width,t);n.setAttribute("width",G(i))}return n.setAttribute("src",e.src),n}}),Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:i}=e;const r=It(t[0],"size");if(n.settings.strict){const e="m"===i[1],t="mu"===r.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, not "+r.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:r.value}},htmlBuilder:(e,t)=>Ue.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=U(e.dimension,t);return new _t.SpaceNode(n)}}),Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i}=e;const r=t[0];return{type:"lap",mode:n.mode,alignment:i.slice(5),body:r}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=Ue.makeSpan([],[ut(e.body,t)]),n=Ue.makeSpan(["inner"],[n],t)):n=Ue.makeSpan(["inner"],[ut(e.body,t)]);const i=Ue.makeSpan(["fix"],[]);let r=Ue.makeSpan([e.alignment],[n,i],t);const a=Ue.makeSpan(["strut"]);return a.style.height=G(r.height+r.depth),r.depth&&(a.style.verticalAlign=G(-r.depth)),r.children.unshift(a),r=Ue.makeSpan(["thinbox"],[r],t),Ue.makeSpan(["mord","vbox"],[r],t)},mathmlBuilder:(e,t)=>{const n=new _t.MathNode("mpadded",[Tt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:i}=e;const r=i.mode;i.switchMode("math");const a="\\("===n?"\\)":"$",o=i.parseExpression(!1,a);return i.expect(a),i.switchMode(r),{type:"styling",mode:i.mode,style:"text",body:o}}}),Qe({type:"text", +// Doesn't matter what this is. +names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});const Jn=(e,t)=>{switch(t.style.size){case E.DISPLAY.size:return e.display;case E.TEXT.size:return e.text;case E.SCRIPT.size:return e.script;case E.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ze(t[0]),text:Ze(t[1]),script:Ze(t[2]),scriptscript:Ze(t[3])}},htmlBuilder:(e,t)=>{const n=Jn(e,t),i=rt(n,t,!1);return Ue.makeFragment(i)},mathmlBuilder:(e,t)=>{const n=Jn(e,t);return St(n,t)}});const ei=(e,t,n,i,r,a,o)=>{e=Ue.makeSpan([],[e]);const s=n&&l.isCharacterBox(n);let c,u,d;if(t){const e=ut(t,i.havingStyle(r.sup()),i);u={elem:e,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=ut(n,i.havingStyle(r.sub()),i);c={elem:e,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-e.height)}}if(u&&c){const t=i.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o;d=Ue.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:G(-a)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:G(a)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(c){const t=e.height-o;d=Ue.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:G(-a)},{type:"kern",size:c.kern},{type:"elem",elem:e}]},i)}else{if(!u)return e;{const t=e.depth+o;d=Ue.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:G(a)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}}const h=[d];if(c&&0!==a&&!s){const e=Ue.makeSpan(["mspace"],[],i);e.style.marginRight=G(a),h.unshift(e)}return Ue.makeSpan(["mop","op-limits"],h,i)},ti=["\\smallint"],ni=(e,t)=>{let n,i,r,a=!1;"supsub"===e.type?(n=e.sup,i=e.sub,r=It(e.base,"op"),a=!0):r=It(e,"op");const o=t.style;let s,c=!1;if(o.size===E.DISPLAY.size&&r.symbol&&!l.contains(ti,r.name)&&(c=!0),r.symbol){const e=c?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==r.name&&"\\oiiint"!==r.name||(n=r.name.slice(1),r.name="oiint"===n?"\\iint":"\\iiint"),s=Ue.makeSymbol(r.name,e,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),n.length>0){const e=s.italic,i=Ue.staticSvg(n+"Size"+(c?"2":"1"),t);s=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:i,shift:c?.08:0}]},t),r.name="\\"+n,s.classes.unshift("mop"),s.italic=e}}else if(r.body){const e=rt(r.body,t,!0);1===e.length&&e[0]instanceof X?(s=e[0],s.classes[0]="mop"):s=Ue.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n{let n;if(e.symbol)n=new gt("mo",[bt(e.name,e.mode)]),l.contains(ti,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new gt("mo",vt(e.body,t));else{n=new gt("mi",[new mt(e.name.slice(1))]);const t=new gt("mo",[bt("⁡","text")]);n=e.parentIsSupSub?new gt("mrow",[n,t]):pt([n,t])}return n},ri={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Qe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:i}=e,r=i;return 1===r.length&&(r=ri[r]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ni,mathmlBuilder:ii}),Qe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const i=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ze(i)}},htmlBuilder:ni,mathmlBuilder:ii});const ai={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Qe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ni,mathmlBuilder:ii}),Qe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ni,mathmlBuilder:ii}),Qe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,i=n;return 1===i.length&&(i=ai[i]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ni,mathmlBuilder:ii});const oi=(e,t)=>{let n,i,r,a,o=!1;if("supsub"===e.type?(n=e.sup,i=e.sub,r=It(e.base,"operatorname"),o=!0):r=It(e,"operatorname"),r.body.length>0){const e=r.body.map((e=>{const t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),n=rt(e,t.withFont("mathrm"),!0);for(let t=0;t{let{parser:n,funcName:i}=e;const r=t[0];return{type:"operatorname",mode:n.mode,body:Ze(r),alwaysHandleSupSub:"\\operatornamewithlimits"===i,limits:!1,parentIsSupSub:!1}},htmlBuilder:oi,mathmlBuilder:(e,t)=>{let n=vt(e.body,t.withFont("mathrm")),i=!0;for(let o=0;oe.toText())).join("");n=[new _t.TextNode(e)]}const r=new _t.MathNode("mi",n);r.setAttribute("mathvariant","normal");const a=new _t.MathNode("mo",[bt("⁡","text")]);return e.parentIsSupSub?new _t.MathNode("mrow",[r,a]):_t.newDocumentFragment([r,a])}}),On("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Ke({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Ue.makeFragment(rt(e.body,t,!1)):Ue.makeSpan(["mord"],rt(e.body,t,!0),t),mathmlBuilder:(e,t)=>St(e.body,t,!0)}),Qe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const i=t[0];return{type:"overline",mode:n.mode,body:i}},htmlBuilder(e,t){const n=ut(e.body,t.havingCrampedStyle()),i=Ue.makeLineSpan("overline-line",t),r=t.fontMetrics().defaultRuleThickness,a=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*r},{type:"elem",elem:i},{type:"kern",size:r}]},t);return Ue.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){const n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");const i=new _t.MathNode("mover",[Tt(e.body,t),n]);return i.setAttribute("accent","true"),i}}),Qe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const i=t[0];return{type:"phantom",mode:n.mode,body:Ze(i)}},htmlBuilder:(e,t)=>{const n=rt(e.body,t.withPhantom(),!1);return Ue.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=vt(e.body,t);return new _t.MathNode("mphantom",n)}}),Qe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const i=t[0];return{type:"hphantom",mode:n.mode,body:i}},htmlBuilder:(e,t)=>{let n=Ue.makeSpan([],[ut(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let i=0;i{const n=vt(Ze(e.body),t),i=new _t.MathNode("mphantom",n),r=new _t.MathNode("mpadded",[i]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}}),Qe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const i=t[0];return{type:"vphantom",mode:n.mode,body:i}},htmlBuilder:(e,t)=>{const n=Ue.makeSpan(["inner"],[ut(e.body,t.withPhantom())]),i=Ue.makeSpan(["fix"],[]);return Ue.makeSpan(["mord","rlap"],[n,i],t)},mathmlBuilder:(e,t)=>{const n=vt(Ze(e.body),t),i=new _t.MathNode("mphantom",n),r=new _t.MathNode("mpadded",[i]);return r.setAttribute("width","0px"),r}}),Qe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const i=It(t[0],"size").value,r=t[1];return{type:"raisebox",mode:n.mode,dy:i,body:r}},htmlBuilder(e,t){const n=ut(e.body,t),i=U(e.dy,t);return Ue.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new _t.MathNode("mpadded",[Tt(e.body,t)]),i=e.dy.number+e.dy.unit;return n.setAttribute("voffset",i),n}}),Qe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Qe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){let{parser:i}=e;const r=n[0],a=It(t[0],"size"),o=It(t[1],"size");return{type:"rule",mode:i.mode,shift:r&&It(r,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){const n=Ue.makeSpan(["mord","rule"],[],t),i=U(e.width,t),r=U(e.height,t),a=e.shift?U(e.shift,t):0;return n.style.borderRightWidth=G(i),n.style.borderTopWidth=G(r),n.style.bottom=G(a),n.width=i,n.height=r+a,n.depth=-a,n.maxFontSize=1.125*r*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=U(e.width,t),i=U(e.height,t),r=e.shift?U(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new _t.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",G(n)),o.setAttribute("height",G(i));const s=new _t.MathNode("mpadded",[o]);return r>=0?s.setAttribute("height",G(r)):(s.setAttribute("height",G(r)),s.setAttribute("depth",G(-r))),s.setAttribute("voffset",G(r)),s}});const li=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Qe({type:"sizing",names:li,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:i,parser:r}=e;const a=r.parseExpression(!1,n);return{type:"sizing",mode:r.mode, +// Figure out what size to use based on the list of functions above +size:li.indexOf(i)+1,body:a}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return si(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),i=vt(e.body,n),r=new _t.MathNode("mstyle",i);return r.setAttribute("mathsize",G(n.sizeMultiplier)),r}}),Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:i}=e,r=!1,a=!1;const o=n[0]&&It(n[0],"ordgroup");if(o){let e="";for(let t=0;t{const n=Ue.makeSpan([],[ut(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let r=0;r{const n=new _t.MathNode("mpadded",[Tt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Qe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:i}=e;const r=n[0],a=t[0];return{type:"sqrt",mode:i.mode,body:a,index:r}},htmlBuilder(e,t){let n=ut(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ue.wrapFragment(n,t);const i=t.fontMetrics().defaultRuleThickness;let r=i;t.style.idn.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);const d=s.height-n.height-a-l;n.style.paddingLeft=G(c);const h=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){const n=t.havingStyle(E.SCRIPTSCRIPT),i=ut(e.index,n,t),r=.6*(h.height-h.depth),a=Ue.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:i}]},t),o=Ue.makeSpan(["root"],[a]);return Ue.makeSpan(["mord","sqrt"],[o,h],t)}return Ue.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){const{body:n,index:i}=e;return i?new _t.MathNode("mroot",[Tt(n,t),Tt(i,t)]):new _t.MathNode("msqrt",[Tt(n,t)])}});const ci={display:E.DISPLAY,text:E.TEXT,script:E.SCRIPT,scriptscript:E.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:i,parser:r}=e;const a=r.parseExpression(!0,n),o=i.slice(1,i.length-5);return{type:"styling",mode:r.mode, +// Figure out what style to use by pulling out the style from +// the function name +style:o,body:a}},htmlBuilder(e,t){const n=ci[e.style],i=t.havingStyle(n).withFont("");return si(e.body,i,t)},mathmlBuilder(e,t){const n=ci[e.style],i=t.havingStyle(n),r=vt(e.body,i),a=new _t.MathNode("mstyle",r),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}}),Ke({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===E.DISPLAY.size||n.alwaysHandleSupSub)?ni:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===E.DISPLAY.size||n.limits)?oi:null:"accent"===n.type?l.isCharacterBox(n.base)?Lt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Xn:null:null}(e,t);if(n)return n(e,t);const{base:i,sup:r,sub:a}=e,o=ut(i,t);let s,c;const u=t.fontMetrics();let d=0,h=0;const p=i&&l.isCharacterBox(i);if(r){const e=t.havingStyle(t.style.sup());s=ut(r,e,t),p||(d=o.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(a){const e=t.havingStyle(t.style.sub());c=ut(a,e,t),p||(h=o.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let g;g=t.style===E.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;const m=t.sizeMultiplier,_=G(.5/u.ptPerEm/m);let b,f=null;if(c){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(o instanceof X||t)&&(f=G(-o.italic))}if(s&&c){d=Math.max(d,g,s.depth+.25*u.xHeight),h=Math.max(h,u.sub2);const e=4*u.defaultRuleThickness;if(d-s.depth-(c.height-h)0&&(d+=t,h-=t)}const n=[{type:"elem",elem:c,shift:h,marginRight:_,marginLeft:f},{type:"elem",elem:s,shift:-d,marginRight:_}];b=Ue.makeVList({positionType:"individualShift",children:n},t)}else if(c){h=Math.max(h,u.sub1,c.height-.8*u.xHeight);const e=[{type:"elem",elem:c,marginLeft:f,marginRight:_}];b=Ue.makeVList({positionType:"shift",positionData:h,children:e},t)}else{if(!s)throw new Error("supsub must have either sup or sub.");d=Math.max(d,g,s.depth+.25*u.xHeight),b=Ue.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:_}]},t)}const y=lt(o,"right")||"mord";return Ue.makeSpan([y],[o,Ue.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,i,r=!1;e.base&&"horizBrace"===e.base.type&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const a=[Tt(e.base,t)];let o;if(e.sub&&a.push(Tt(e.sub,t)),e.sup&&a.push(Tt(e.sup,t)),r)o=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;o=n&&"op"===n.type&&n.limits&&t.style===E.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===E.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===E.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===E.DISPLAY)?"munder":"msub"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===E.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===E.DISPLAY)?"mover":"msup"}return new _t.MathNode(o,a)}}),Ke({type:"atom",htmlBuilder:(e,t)=>Ue.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new _t.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){const i=yt(e,t);"bold-italic"===i&&n.setAttribute("mathvariant",i)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const ui={mi:"italic",mn:"normal",mtext:"normal"};Ke({type:"mathord",htmlBuilder:(e,t)=>Ue.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new _t.MathNode("mi",[bt(e.text,e.mode,t)]),i=yt(e,t)||"italic";return i!==ui[n.type]&&n.setAttribute("mathvariant",i),n}}),Ke({type:"textord",htmlBuilder:(e,t)=>Ue.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=bt(e.text,e.mode,t),i=yt(e,t)||"normal";let r;return r="text"===e.mode?new _t.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new _t.MathNode("mn",[n]):"\\prime"===e.text?new _t.MathNode("mo",[n]):new _t.MathNode("mi",[n]),i!==ui[r.type]&&r.setAttribute("mathvariant",i),r}});const di={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ke({type:"spacing",htmlBuilder(e,t){if(hi.hasOwnProperty(e.text)){const n=hi[e.text].className||"";if("text"===e.mode){const i=Ue.makeOrd(e,t,"textord");return i.classes.push(n),i}return Ue.makeSpan(["mspace",n],[Ue.mathsym(e.text,e.mode,t)],t)}if(di.hasOwnProperty(e.text))return Ue.makeSpan(["mspace",di[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!hi.hasOwnProperty(e.text)){if(di.hasOwnProperty(e.text))return new _t.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return n=new _t.MathNode("mtext",[new _t.TextNode(" ")]),n}});const pi=()=>{const e=new _t.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ke({type:"tag",mathmlBuilder(e,t){const n=new _t.MathNode("mtable",[new _t.MathNode("mtr",[pi(),new _t.MathNode("mtd",[St(e.body,t)]),pi(),new _t.MathNode("mtd",[St(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const gi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mi={"\\textbf":"textbf","\\textmd":"textmd"},_i={"\\textit":"textit","\\textup":"textup"},bi=(e,t)=>{const n=e.font;return n?gi[n]?t.withTextFontFamily(gi[n]):mi[n]?t.withTextFontWeight(mi[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(_i[n]):t};Qe({type:"text",names:[ +// Font families +"\\text","\\textrm","\\textsf","\\texttt","\\textnormal", +// Font weights +"\\textbf","\\textmd", +// Font Shapes +"\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:i}=e;const r=t[0];return{type:"text",mode:n.mode,body:Ze(r),font:i}},htmlBuilder(e,t){const n=bi(e,t),i=rt(e.body,n,!0);return Ue.makeSpan(["mord","text"],i,n)},mathmlBuilder(e,t){const n=bi(e,t);return St(e.body,n)}}),Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ut(e.body,t),i=Ue.makeLineSpan("underline-line",t),r=t.fontMetrics().defaultRuleThickness,a=Ue.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:r},{type:"elem",elem:i},{type:"kern",size:3*r},{type:"elem",elem:n}]},t);return Ue.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){const n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");const i=new _t.MathNode("munder",[Tt(e.body,t),n]);return i.setAttribute("accentunder","true"),i}}),Qe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"], +// In LaTeX, \vcenter can act only on a box. +allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ut(e.body,t),i=t.fontMetrics().axisHeight,r=.5*(n.height-i-(n.depth+i));return Ue.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new _t.MathNode("mpadded",[Tt(e.body,t)],["vcenter"])}),Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=fi(e),i=[],r=t.havingStyle(t.style.text());for(let a=0;ae.body.replace(/ /g,e.star?"␣":" ");var yi=He;const Ei="[ \r\n\t]",vi="(\\\\[a-zA-Z@]+)"+Ei+"*",Si="[̀-ͯ]",Ti=new RegExp(Si+"+$"),Ci="("+Ei+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+// single codepoint +Si+"*|[\ud800-\udbff][\udc00-\udfff]"+// surrogate pair +Si+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+vi+// \macroName + spaces +"|\\\\[^\ud800-\udfff])";class xi{ +// Category codes. The lexer only supports comment characters (14) for now. +// MacroExpander additionally distinguishes active (13). +constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ci,"g"),this.catcodes={"%":14, +// comment character +"~":13}}setCatcode(e,t){this.catcodes[e]=t} +/** + * This function lexes a single token. + */lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new In("EOF",new Rn(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new In(e[t],new Rn(this,t,t+1)));const r=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[r]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}return new In(r,new Rn(this,t,this.tokenRegex.lastIndex))}}class ki{ +/** + * Both arguments are optional. The first argument is an object of + * built-in mappings which never change. The second argument is an object + * of initial (global-level) mappings, which will constantly change + * according to any global/top-level `set`s done. + */ +constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]} +/** + * Start a new nested group, affecting future local `set`s. + */beginGroup(){this.undefStack.push({})} +/** + * End current nested group, restoring values before the group began. + */endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])} +/** + * Ends all currently nested groups (if any), restoring values before the + * groups began. Useful in case of an error in the middle of parsing. + */endGroups(){for(;this.undefStack.length>0;)this.endGroup()} +/** + * Detect whether `name` has a definition. Equivalent to + * `get(name) != null`. + */has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)} +/** + * Get the current value of a name, or `undefined` if there is no value. + * + * Note: Do not use `if (namespace.get(...))` to detect whether a macro + * is defined, as the definition may be the empty string which evaluates + * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or + * `if (namespace.has(...))`. + */get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]} +/** + * Set the current value of a name, and optionally set it globally too. + * Local set() sets the current value and (when appropriate) adds an undo + * operation to the undo stack. Global set() may change the undo + * operation at every level, so takes time linear in their number. + * A value of undefined means to delete existing definitions. + */set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Ai=Nn;On("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),On("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),On("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),On("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),On("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),On("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),On("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const wi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};On("\\char",(function(e){let t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new i("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(r=wi[n.text],null==r||r>=t)throw new i("Invalid base-"+t+" digit "+n.text);let a;for(;null!=(a=wi[e.future().text])&&a{let a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");const o=a[0].text,s=e.isDefined(o);if(s&&!t)throw new i("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!n)throw new i("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let l=0;if(a=e.consumeArg().tokens,1===a.length&&"["===a[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+t);l=parseInt(t),a=e.consumeArg().tokens}return s&&r||e.macros.set(o,{tokens:a,numArgs:l}),""};On("\\newcommand",(e=>Ni(e,!1,!0,!1))),On("\\renewcommand",(e=>Ni(e,!0,!1,!1))),On("\\providecommand",(e=>Ni(e,!0,!0,!0))),On("\\message",(e=>(e.consumeArgs(1)[0],""))),On("\\errmessage",(e=>(e.consumeArgs(1)[0],""))),On("\\show",(e=>(e.popToken().text,""))),On("\\bgroup","{"),On("\\egroup","}"),On("~","\\nobreakspace"),On("\\lq","`"),On("\\rq","'"),On("\\aa","\\r a"),On("\\AA","\\r A"),On("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),On("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),On("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),On("ℬ","\\mathscr{B}"),On("ℰ","\\mathscr{E}"),On("ℱ","\\mathscr{F}"),On("ℋ","\\mathscr{H}"),On("ℐ","\\mathscr{I}"),On("ℒ","\\mathscr{L}"),On("ℳ","\\mathscr{M}"),On("ℛ","\\mathscr{R}"),On("ℭ","\\mathfrak{C}"),On("ℌ","\\mathfrak{H}"),On("ℨ","\\mathfrak{Z}"),On("\\Bbbk","\\Bbb{k}"),On("·","\\cdotp"),On("\\llap","\\mathllap{\\textrm{#1}}"),On("\\rlap","\\mathrlap{\\textrm{#1}}"),On("\\clap","\\mathclap{\\textrm{#1}}"),On("\\mathstrut","\\vphantom{(}"),On("\\underbar","\\underline{\\text{#1}}"),On("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),On("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),On("\\ne","\\neq"),On("≠","\\neq"),On("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),On("∉","\\notin"),On("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),On("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),On("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),On("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),On("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),On("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),On("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),On("⟂","\\perp"),On("‼","\\mathclose{!\\mkern-0.8mu!}"),On("∌","\\notni"),On("⌜","\\ulcorner"),On("⌝","\\urcorner"),On("⌞","\\llcorner"),On("⌟","\\lrcorner"),On("©","\\copyright"),On("®","\\textregistered"),On("️","\\textregistered"),On("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),On("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),On("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),On("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),On("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),On("⋮","\\vdots"),On("\\varGamma","\\mathit{\\Gamma}"),On("\\varDelta","\\mathit{\\Delta}"),On("\\varTheta","\\mathit{\\Theta}"),On("\\varLambda","\\mathit{\\Lambda}"),On("\\varXi","\\mathit{\\Xi}"),On("\\varPi","\\mathit{\\Pi}"),On("\\varSigma","\\mathit{\\Sigma}"),On("\\varUpsilon","\\mathit{\\Upsilon}"),On("\\varPhi","\\mathit{\\Phi}"),On("\\varPsi","\\mathit{\\Psi}"),On("\\varOmega","\\mathit{\\Omega}"),On("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),On("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),On("\\boxed","\\fbox{$\\displaystyle{#1}$}"),On("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),On("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),On("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),On("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),On("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Oi={",":"\\dotsc","\\not":"\\dotsb", +// \keybin@ checks for the following: +"+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb", +// Symbols whose definition starts with \DOTSB: +"\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb", +// Symbols whose definition starts with \mathbin: +"\\mathbin":"\\dotsb", +// Symbols whose definition starts with \mathrel: +"\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb", +// Symbols whose definition starts with \DOTSI: +"\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi", +// Symbols whose definition starts with \DOTSX: +"\\DOTSX":"\\dotsx"};On("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Oi?t=Oi[n]:("\\not"===n.slice(0,4)||n in ae.math&&l.contains(["bin","rel"],ae.math[n].group))&&(t="\\dotsb"),t}));const Ri={ +// \rightdelim@ checks for the following: +")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0, +// \extra@ also tests for the following: +$:!0, +// \extrap@ checks for the following: +";":!0,".":!0,",":!0};On("\\dotso",(function(e){return e.future().text in Ri?"\\ldots\\,":"\\ldots"})),On("\\dotsc",(function(e){const t=e.future().text;return t in Ri&&","!==t?"\\ldots\\,":"\\ldots"})),On("\\cdots",(function(e){return e.future().text in Ri?"\\@cdots\\,":"\\@cdots"})),On("\\dotsb","\\cdots"),On("\\dotsm","\\cdots"),On("\\dotsi","\\!\\cdots"),On("\\dotsx","\\ldots\\,"),On("\\DOTSI","\\relax"),On("\\DOTSB","\\relax"),On("\\DOTSX","\\relax"),On("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),On("\\,","\\tmspace+{3mu}{.1667em}"),On("\\thinspace","\\,"),On("\\>","\\mskip{4mu}"),On("\\:","\\tmspace+{4mu}{.2222em}"),On("\\medspace","\\:"),On("\\;","\\tmspace+{5mu}{.2777em}"),On("\\thickspace","\\;"),On("\\!","\\tmspace-{3mu}{.1667em}"),On("\\negthinspace","\\!"),On("\\negmedspace","\\tmspace-{4mu}{.2222em}"),On("\\negthickspace","\\tmspace-{5mu}{.277em}"),On("\\enspace","\\kern.5em "),On("\\enskip","\\hskip.5em\\relax"),On("\\quad","\\hskip1em\\relax"),On("\\qquad","\\hskip2em\\relax"),On("\\tag","\\@ifstar\\tag@literal\\tag@paren"),On("\\tag@paren","\\tag@literal{({#1})}"),On("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),On("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),On("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),On("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),On("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),On("\\newline","\\\\\\relax"),On("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Ii=G(A["Main-Regular"]["T".charCodeAt(0)][1]-.7*A["Main-Regular"]["A".charCodeAt(0)][1]);On("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Ii+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),On("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Ii+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),On("\\hspace","\\@ifstar\\@hspacer\\@hspace"),On("\\@hspace","\\hskip #1\\relax"),On("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),On("\\ordinarycolon",":"),On("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),On("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),On("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),On("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),On("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),On("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),On("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),On("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),On("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),On("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),On("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),On("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),On("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),On("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),On("∷","\\dblcolon"),On("∹","\\eqcolon"),On("≔","\\coloneqq"),On("≕","\\eqqcolon"),On("⩴","\\Coloneqq"),On("\\ratio","\\vcentcolon"),On("\\coloncolon","\\dblcolon"),On("\\colonequals","\\coloneqq"),On("\\coloncolonequals","\\Coloneqq"),On("\\equalscolon","\\eqqcolon"),On("\\equalscoloncolon","\\Eqqcolon"),On("\\colonminus","\\coloneq"),On("\\coloncolonminus","\\Coloneq"),On("\\minuscolon","\\eqcolon"),On("\\minuscoloncolon","\\Eqcolon"),On("\\coloncolonapprox","\\Colonapprox"),On("\\coloncolonsim","\\Colonsim"),On("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),On("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),On("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),On("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),On("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),On("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),On("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),On("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),On("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),On("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),On("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),On("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),On("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),On("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),On("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),On("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),On("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),On("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),On("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),On("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),On("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),On("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),On("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),On("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),On("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),On("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),On("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),On("\\imath","\\html@mathml{\\@imath}{ı}"),On("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),On("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),On("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),On("⟦","\\llbracket"),On("⟧","\\rrbracket"),On("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),On("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),On("⦃","\\lBrace"),On("⦄","\\rBrace"),On("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),On("⦵","\\minuso"),On("\\darr","\\downarrow"),On("\\dArr","\\Downarrow"),On("\\Darr","\\Downarrow"),On("\\lang","\\langle"),On("\\rang","\\rangle"),On("\\uarr","\\uparrow"),On("\\uArr","\\Uparrow"),On("\\Uarr","\\Uparrow"),On("\\N","\\mathbb{N}"),On("\\R","\\mathbb{R}"),On("\\Z","\\mathbb{Z}"),On("\\alef","\\aleph"),On("\\alefsym","\\aleph"),On("\\Alpha","\\mathrm{A}"),On("\\Beta","\\mathrm{B}"),On("\\bull","\\bullet"),On("\\Chi","\\mathrm{X}"),On("\\clubs","\\clubsuit"),On("\\cnums","\\mathbb{C}"),On("\\Complex","\\mathbb{C}"),On("\\Dagger","\\ddagger"),On("\\diamonds","\\diamondsuit"),On("\\empty","\\emptyset"),On("\\Epsilon","\\mathrm{E}"),On("\\Eta","\\mathrm{H}"),On("\\exist","\\exists"),On("\\harr","\\leftrightarrow"),On("\\hArr","\\Leftrightarrow"),On("\\Harr","\\Leftrightarrow"),On("\\hearts","\\heartsuit"),On("\\image","\\Im"),On("\\infin","\\infty"),On("\\Iota","\\mathrm{I}"),On("\\isin","\\in"),On("\\Kappa","\\mathrm{K}"),On("\\larr","\\leftarrow"),On("\\lArr","\\Leftarrow"),On("\\Larr","\\Leftarrow"),On("\\lrarr","\\leftrightarrow"),On("\\lrArr","\\Leftrightarrow"),On("\\Lrarr","\\Leftrightarrow"),On("\\Mu","\\mathrm{M}"),On("\\natnums","\\mathbb{N}"),On("\\Nu","\\mathrm{N}"),On("\\Omicron","\\mathrm{O}"),On("\\plusmn","\\pm"),On("\\rarr","\\rightarrow"),On("\\rArr","\\Rightarrow"),On("\\Rarr","\\Rightarrow"),On("\\real","\\Re"),On("\\reals","\\mathbb{R}"),On("\\Reals","\\mathbb{R}"),On("\\Rho","\\mathrm{P}"),On("\\sdot","\\cdot"),On("\\sect","\\S"),On("\\spades","\\spadesuit"),On("\\sub","\\subset"),On("\\sube","\\subseteq"),On("\\supe","\\supseteq"),On("\\Tau","\\mathrm{T}"),On("\\thetasym","\\vartheta"),On("\\weierp","\\wp"),On("\\Zeta","\\mathrm{Z}"),On("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),On("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),On("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),On("\\bra","\\mathinner{\\langle{#1}|}"),On("\\ket","\\mathinner{|{#1}\\rangle}"),On("\\braket","\\mathinner{\\langle{#1}\\rangle}"),On("\\Bra","\\left\\langle#1\\right|"),On("\\Ket","\\left|#1\\right\\rangle");const Di=e=>t=>{const n=t.consumeArg().tokens,i=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",o),r.length&&n.macros.set("\\|",s));let a=t;return!t&&r.length&&"|"===n.future().text&&(n.popToken(),a=!0),{tokens:a?r:i,numArgs:0}};t.macros.set("|",l(!1)),r.length&&t.macros.set("\\|",l(!0));const c=t.consumeArg().tokens,u=t.expandTokens([...a,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};On("\\bra@ket",Di(!1)),On("\\bra@set",Di(!0)),On("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),On("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),On("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),On("\\angln","{\\angl n}"),On("\\blue","\\textcolor{##6495ed}{#1}"),On("\\orange","\\textcolor{##ffa500}{#1}"),On("\\pink","\\textcolor{##ff00af}{#1}"),On("\\red","\\textcolor{##df0030}{#1}"),On("\\green","\\textcolor{##28ae7b}{#1}"),On("\\gray","\\textcolor{gray}{#1}"),On("\\purple","\\textcolor{##9d38bd}{#1}"),On("\\blueA","\\textcolor{##ccfaff}{#1}"),On("\\blueB","\\textcolor{##80f6ff}{#1}"),On("\\blueC","\\textcolor{##63d9ea}{#1}"),On("\\blueD","\\textcolor{##11accd}{#1}"),On("\\blueE","\\textcolor{##0c7f99}{#1}"),On("\\tealA","\\textcolor{##94fff5}{#1}"),On("\\tealB","\\textcolor{##26edd5}{#1}"),On("\\tealC","\\textcolor{##01d1c1}{#1}"),On("\\tealD","\\textcolor{##01a995}{#1}"),On("\\tealE","\\textcolor{##208170}{#1}"),On("\\greenA","\\textcolor{##b6ffb0}{#1}"),On("\\greenB","\\textcolor{##8af281}{#1}"),On("\\greenC","\\textcolor{##74cf70}{#1}"),On("\\greenD","\\textcolor{##1fab54}{#1}"),On("\\greenE","\\textcolor{##0d923f}{#1}"),On("\\goldA","\\textcolor{##ffd0a9}{#1}"),On("\\goldB","\\textcolor{##ffbb71}{#1}"),On("\\goldC","\\textcolor{##ff9c39}{#1}"),On("\\goldD","\\textcolor{##e07d10}{#1}"),On("\\goldE","\\textcolor{##a75a05}{#1}"),On("\\redA","\\textcolor{##fca9a9}{#1}"),On("\\redB","\\textcolor{##ff8482}{#1}"),On("\\redC","\\textcolor{##f9685d}{#1}"),On("\\redD","\\textcolor{##e84d39}{#1}"),On("\\redE","\\textcolor{##bc2612}{#1}"),On("\\maroonA","\\textcolor{##ffbde0}{#1}"),On("\\maroonB","\\textcolor{##ff92c6}{#1}"),On("\\maroonC","\\textcolor{##ed5fa6}{#1}"),On("\\maroonD","\\textcolor{##ca337c}{#1}"),On("\\maroonE","\\textcolor{##9e034e}{#1}"),On("\\purpleA","\\textcolor{##ddd7ff}{#1}"),On("\\purpleB","\\textcolor{##c6b9fc}{#1}"),On("\\purpleC","\\textcolor{##aa87ff}{#1}"),On("\\purpleD","\\textcolor{##7854ab}{#1}"),On("\\purpleE","\\textcolor{##543b78}{#1}"),On("\\mintA","\\textcolor{##f5f9e8}{#1}"),On("\\mintB","\\textcolor{##edf2df}{#1}"),On("\\mintC","\\textcolor{##e0e5cc}{#1}"),On("\\grayA","\\textcolor{##f6f7f7}{#1}"),On("\\grayB","\\textcolor{##f0f1f2}{#1}"),On("\\grayC","\\textcolor{##e3e5e6}{#1}"),On("\\grayD","\\textcolor{##d6d8da}{#1}"),On("\\grayE","\\textcolor{##babec2}{#1}"),On("\\grayF","\\textcolor{##888d93}{#1}"),On("\\grayG","\\textcolor{##626569}{#1}"),On("\\grayH","\\textcolor{##3b3e40}{#1}"),On("\\grayI","\\textcolor{##21242c}{#1}"),On("\\kaBlue","\\textcolor{##314453}{#1}"),On("\\kaGreen","\\textcolor{##71B307}{#1}");const Mi={"^":!0, +// Parser.js +_:!0, +// Parser.js +"\\limits":!0, +// Parser.js +"\\nolimits":!0};class Li{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new ki(Ai,t.macros),this.mode=n,this.stack=[]} +/** + * Feed a new input string to the same MacroExpander + * (with existing macros etc.). + */feed(e){this.lexer=new xi(e,this.settings)} +/** + * Switches between "text" and "math" modes. + */switchMode(e){this.mode=e} +/** + * Start a new group nesting within all namespaces. + */beginGroup(){this.macros.beginGroup()} +/** + * End current group nesting within all namespaces. + */endGroup(){this.macros.endGroup()} +/** + * Ends all currently nested groups (if any), restoring values before the + * groups began. Useful in case of an error in the middle of parsing. + */endGroups(){this.macros.endGroups()} +/** + * Returns the topmost token on the stack, without expanding it. + * Similar in behavior to TeX's `\futurelet`. + */future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]} +/** + * Remove and return the next unexpanded token. + */popToken(){return this.future(),this.stack.pop()} +/** + * Add a given token to the token stack. In particular, this get be used + * to put back a token returned from one of the other methods. + */pushToken(e){this.stack.push(e)} +/** + * Append an array of tokens to the token stack. + */pushTokens(e){this.stack.push(...e)} +/** + * Find an macro argument without expanding tokens and append the array of + * tokens to the token stack. Uses Token as a container for the result. + */scanArgument(e){let t,n,i;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:i,end:n}=this.consumeArg(["]"]))}else({tokens:i,start:t,end:n}=this.consumeArg());return this.pushToken(new In("EOF",n.loc)),this.pushTokens(i),t.range(n,"")} +/** + * Consume all following space tokens, without expansion. + */consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()} +/** + * Consume an argument from the token stream, and return the resulting array + * of tokens and start/end token. + */consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const r=this.future();let a,o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(--o,-1===o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",a);if(e&&n)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s,s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||n);return"{"===r.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:a}} +/** + * Consume the specified number of (delimited) arguments from the token + * stream and return the resulting array of arguments. + */consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;ethis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")} +/** + * Expand the next token only once if possible. + * + * If the token is expanded, the resulting tokens will be pushed onto + * the stack in reverse order, and the number of such tokens will be + * returned. This number might be zero or positive. + * + * If not, the return value is `false`, and the next token remains at the + * top of the stack. + * + * In either case, the next token will be on the top of the stack, + * or the stack will be empty (in case of empty expansion + * and no other tokens). + * + * Used to implement `expandAfterFuture` and `expandNextToken`. + * + * If expandableOnly, only expandable tokens are expanded and + * an undefined control sequence results in an error. + */expandOnce(e){const t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(null==r||e&&r.unexpandable){if(e&&null==r&&"\\"===n[0]&&!this.isDefined(n))throw new i("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let a=r.tokens;const o=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){a=a.slice();for(let e=a.length-1;e>=0;--e){let t=a[e];if("#"===t.text){if(0===e)throw new i("Incomplete placeholder at end of macro body",t);if(t=a[--e],"#"===t.text)a.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new i("Not a valid argument number",t);a.splice(e,2,...o[+t.text-1])}}}}return this.pushTokens(a),a.length} +/** + * Expand the next token only once (if possible), and return the resulting + * top token on the stack (without removing anything from the stack). + * Similar in behavior to TeX's `\expandafter\futurelet`. + * Equivalent to expandOnce() followed by future(). + */expandAfterFuture(){return this.expandOnce(),this.future()} +/** + * Recursively expand first token, then return first non-expandable token. + */expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error} +/** + * Fully expand the given macro name and return the resulting list of + * tokens, or return `undefined` if no such macro is defined. + */expandMacro(e){return this.macros.has(e)?this.expandTokens([new In(e)]):void 0} +/** + * Fully expand the given token stream and return the resulting list of + * tokens. Note that the input tokens are in reverse order, but the + * output tokens are in forward order. + */expandTokens(e){const t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t} +/** + * Fully expand the given macro name and return the result as a string, + * or return `undefined` if no such macro is defined. + */expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t} +/** + * Returns the expanded macro as a reversed array of tokens and a macro + * argument count. Or returns `null` if no such macro. + */_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"==typeof t?t(this):t;if("string"==typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new xi(n,this.settings),i=[];let r=t.lex();for(;"EOF"!==r.text;)i.push(r),r=t.lex();return i.reverse(),{tokens:i,numArgs:e}}return n} +/** + * Determine whether a command is currently "defined" (has some + * functionality), meaning that it's a macro (in the current group), + * a function, a symbol, or one of the special commands listed in + * `implicitCommands`. + */isDefined(e){return this.macros.has(e)||yi.hasOwnProperty(e)||ae.math.hasOwnProperty(e)||ae.text.hasOwnProperty(e)||Mi.hasOwnProperty(e)} +/** + * Determine whether a command is expandable. + */isExpandable(e){const t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:yi.hasOwnProperty(e)&&!yi[e].primitive}}const Pi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ji=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Fi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Bi={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Ui{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Li(e,t,this.mode),this.settings=t,this.leftrightDepth=0} +/** + * Checks a result to make sure it has the right type, and throws an + * appropriate error otherwise. + */expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()} +/** + * Discards the current lookahead token, considering it consumed. + */consume(){this.nextToken=null} +/** + * Return the current lookahead token, or if there isn't one (at the + * beginning, or if the previous lookahead token was consume()d), + * fetch the next token as the new lookahead token and return it. + */fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken} +/** + * Switches between "text" and "math" modes. + */switchMode(e){this.mode=e,this.gullet.switchMode(e)} +/** + * Main parsing function, which parses an entire input. + */parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}} +/** + * Fully parse a separate sequence of tokens as a separate job. + * Tokens should be specified in reverse order, as in a MacroDefinition. + */subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new In("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n} +/** + * Parses an "expression", which is a list of atoms. + * + * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This + * happens when functions have higher precedence han infix + * nodes in implicit parses. + * + * `breakOnTokenText`: The text of the token that the expression should end + * with, or `null` if something else should end the + * expression. + */parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const i=this.fetch();if(-1!==Ui.endOfExpression.indexOf(i.text))break;if(t&&i.text===t)break;if(e&&yi[i.text]&&yi[i.text].infix)break;const r=this.parseAtom(t);if(!r)break;"internal"!==r.type&&n.push(r)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)} +/** + * Rewrites infix operators such as \over with corresponding commands such + * as \frac. + * + * There can only be one infix operator per group. If there's more than one + * then the expression is ambiguous. This can be resolved by adding {}. + */handleInfixNodes(e){let t,n=-1;for(let r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=ae[this.mode][t].group,i=Rn.range(e);let a;if(ne.hasOwnProperty(n)){const e=n;a={type:"atom",mode:this.mode,family:e,loc:i,text:t}}else a={type:n,mode:this.mode,loc:i,text:t};r=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(T(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),r={type:"textord",mode:"text",loc:Rn.range(e),text:t}}if(this.consume(),n)for(let a=0;a0?e.src.charCodeAt(t-1):-1,i=t+1<=r?e.src.charCodeAt(t+1):-1,(32===n||9===n||i>=48&&i<=57)&&(o=!1),32!==i&&9!==i||(a=!1),{can_open:a,can_close:o}}function n(e,n){var i,r,a,o;if("$"!==e.src[e.pos])return!1;if(!t(e,e.pos).can_open)return n||(e.pending+="$"),e.pos+=1,!0;for(r=i=e.pos+1;-1!==(r=e.src.indexOf("$",r));){for(o=r-1;"\\"===e.src[o];)o-=1;if((r-o)%2==1)break;r+=1}return-1===r?(n||(e.pending+="$"),e.pos=i,!0):r-i==0?(n||(e.pending+="$$"),e.pos=i+1,!0):t(e,r).can_close?(n||((a=e.push("math_inline","math",0)).markup="$",a.content=e.src.slice(i,r)),e.pos=r+1,!0):(n||(e.pending+="$"),e.pos=i,!0)}function i(e,t,n,i){var r,a,o,s,l,c=!1,u=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(u+2>d)return!1;if("$$"!==e.src.slice(u,u+2))return!1;if(u+=2,r=e.src.slice(u,d),i)return!0;for("$$"===r.trim().slice(-2)&&(r=r.trim().slice(0,-2),c=!0),o=t;!c&&!(++o>=n)&&!((u=e.bMarks[o]+e.tShift[o])<(d=e.eMarks[o])&&e.tShift[o]/g,">").replace(/"/g,""").replace(/'/g,"'")}return Hr=function(t,a){(a=a||{}).katex&&(e=a.katex),a.blockClass||(a.blockClass="");t.inline.ruler.after("escape","math_inline",n),t.block.ruler.after("blockquote","math_block",i,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=function(t,n){return function(t){a.displayMode=!1;try{return e.renderToString(t,a)}catch(n){return a.throwOnError,`${r(t)}`}}(t[n].content)},t.renderer.rules.math_block=function(t,n){return function(t){a.displayMode=!0;try{return`

`+e.renderToString(t,a)+"

"}catch(n){return a.throwOnError,`

${r(t)}

`}}(t[n].content)+"\n"}}}());var Xr,Zr,Jr,ea,ta,na,ia,ra,aa,oa,sa,la,ca,ua,da,ha,pa,ga,ma,_a,ba,fa,ya,Ea,va,Sa,Ta,Ca,xa,ka,Aa,wa,Na,Oa,Ra,Ia,Da,Ma,La,Pa,ja,Fa,Ba,Ua,Ga,za,$a,Ya,qa,Ha,Va,Wa,Qa,Ka,Xa,Za,Ja,eo,to,no,io,ro,ao,oo,so,lo,co,uo,ho,po,go,mo,_o,bo,fo,yo,Eo,vo,So,To,Co,xo,ko,Ao,wo,No,Oo,Ro,Io,Do,Mo,Lo,Po,jo,Fo,Bo,Uo,Go,zo,$o,Yo,qo,Ho,Vo,Wo,Qo,Ko,Xo,Zo,Jo,es,ts,ns,is,rs,as,os,ss,ls,cs,us,ds,hs,ps,gs,ms,_s,bs,fs,ys,Es,vs,Ss,Ts,Cs,xs,ks,As,ws,Ns,Os,Rs,Is,Ds,Ms,Ls,Ps,js,Fs,Bs,Us,Gs,zs,$s,Ys,qs,Hs,Vs,Ws,Qs,Ks,Xs,Zs,Js,el,tl,nl,il,rl,al,ol,sl,ll,cl,ul,dl,hl,pl,gl,ml,_l,bl,fl,yl,El,vl,Sl,Tl,Cl,xl,kl,Al,wl,Nl,Ol,Rl,Il,Dl,Ml,Ll,Pl,jl,Fl,Bl,Ul,Gl,zl,$l,Yl,ql,Hl,Vl,Wl,Ql,Kl,Xl,Zl,Jl,ec,tc,nc,ic,rc,ac,oc,sc,lc,cc,uc,dc,hc,pc,gc,mc,_c,bc,fc,yc,Ec,vc,Sc,Tc,Cc,xc,kc,Ac,wc,Nc,Oc,Rc,Ic,Dc,Mc,Lc,Pc,jc,Fc,Bc,Uc,Gc,zc,$c,Yc,qc,Hc,Vc,Wc,Qc,Kc,Xc,Zc,Jc,eu,tu,nu,iu,ru,au,ou,su,lu,cu,uu,du,hu,pu,gu,mu,_u,bu,fu,yu,Eu,vu,Su,Tu,Cu,xu,ku,Au,wu,Nu,Ou,Ru,Iu,Du,Mu,Lu,Pu,ju,Fu,Bu,Uu,Gu,zu,$u,Yu,qu,Hu,Vu,Wu,Qu,Ku,Xu,Zu,Ju,ed,td,nd,id,rd,ad,od,sd,ld,cd,ud,dd,hd,pd,gd,md,_d,bd,fd,yd,Ed,vd,Sd,Td,Cd,xd,kd,Ad,wd,Nd,Od,Rd,Id,Dd,Md,Ld,Pd,jd,Fd,Bd,Ud,Gd,zd,$d,Yd,qd,Hd,Vd,Wd,Qd,Kd,Xd,Zd,Jd,eh,th,nh,ih,rh,ah,oh,sh,lh,ch,uh,dh,hh,ph;function gh(){if(Zr)return Xr;function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{const i=t[n],r=typeof i;"object"!==r&&"function"!==r||Object.isFrozen(i)||e(i)})),t}Zr=1;class t{ +/** + * @param {CompiledMode} mode + */ +constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})), +/** @type {T} */n}const r=e=>!!e.scope;class a{ +/** + * Creates a new HTMLRenderer + * + * @param {Tree} parseTree - the parse tree (must support `walk` API) + * @param {{classPrefix: string}} options + */ +constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)} +/** + * Adds texts to the output stream + * + * @param {string} text */addText(e){this.buffer+=n(e)} +/** + * Adds a node open to the output stream (if needed) + * + * @param {Node} node */openNode(e){if(!r(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)} +/** + * Adds a node close to the output stream (if needed) + * + * @param {Node} node */closeNode(e){r(e)&&(this.buffer+="")} +/** + * returns the accumulated buffer + */value(){return this.buffer} +// helpers +/** + * Builds a span element + * + * @param {string} className */ +span(e){this.buffer+=``}}const o=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class s{constructor(){this.rootNode=o(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode} +/** @param {Node} node */add(e){this.top.children.push(e)} +/** @param {string} scope */openNode(e){const t=o({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} +/** + * @typedef { import("./html_renderer").Renderer } Renderer + * @param {Renderer} builder + */walk(e){return this.constructor._walk(e,this.rootNode)} +/** + * @param {Renderer} builder + * @param {Node} node + */static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e} +/** + * @param {Node} node + */static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{s._collapse(e)})))}}class l extends s{ +/** + * @param {*} options + */ +constructor(e){super(),this.options=e} +/** + * @param {string} text + */addText(e){""!==e&&this.add(e)} +/** @param {string} scope */startScope(e){this.openNode(e)}endScope(){this.closeNode()} +/** + * @param {Emitter & {root: DataNode}} emitter + * @param {string} name + */__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return p("(?=",e,")")}function d(e){return p("(?:",e,")*")}function h(e){return p("(?:",e,")?")}function p(...e){return e.map((e=>c(e))).join("")}function g(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function m(e){return new RegExp(e.toString()+"|").exec("").length-1}const _=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let i=c(e),r="";for(;i.length>0;){const e=_.exec(i);if(!e){r+=i;break}r+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r})).map((e=>`(${e})`)).join(t)}const f="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",v="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",T={begin:"\\\\[\\s\\S]",relevance:0},C={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[T]},x={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[T]},k=function(e,t,n={}){const r=i({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag", +// hack to avoid the space from being included. the space is necessary to +// match here to prevent the plain text rule below from gobbling up doctags +begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=g( +// list of common 1 and 2 letter words in English +"I","a","is","so","us","to","at","if","in","it","on", +// note: this is not an exhaustive list of contractions, just popular ones +/[A-Za-z]+['](d|ve|re|ll|t|s|n)/, +// contractions - can't we'd they're let's, etc +/[A-Za-z]+[-][a-z]+/, +// `no-way`, etc. +/[A-Za-z][a-z]{2,}/);return r.contains.push({ +// TODO: how to include ", (, ) without breaking grammars that use these for +// comment delimiters? +// begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/ +// --- +// this tries to find sequences of 3 english words in a row (without any +// "programming" type syntax) this gives us a strong signal that we've +// TRULY found a comment - vs perhaps scanning with the wrong language. +// It's possible to find something that LOOKS like the start of the +// comment - but then if there is no readable text - good chance it is a +// false match and not a comment. +// for a visual example please see: +// https://github.com/highlightjs/highlight.js/issues/2827 +begin:p(/[ ]+/, +// necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */ +"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},A=k("//","$"),w=k("/\\*","\\*/"),N=k("#","$"),O={scope:"number",begin:E,relevance:0},R={scope:"number",begin:v,relevance:0},I={scope:"number",begin:S,relevance:0},D={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[T,{begin:/\[/,end:/\]/,relevance:0,contains:[T]}]},M={scope:"title",begin:f,relevance:0},L={scope:"title",begin:y,relevance:0},P={ +// excludes method names from keyword processing +begin:"\\.\\s*"+y,relevance:0};var j=Object.freeze({__proto__:null,APOS_STRING_MODE:C,BACKSLASH_ESCAPE:T,BINARY_NUMBER_MODE:I,BINARY_NUMBER_RE:S,COMMENT:k,C_BLOCK_COMMENT_MODE:w,C_LINE_COMMENT_MODE:A,C_NUMBER_MODE:R,C_NUMBER_RE:v,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{ +/** @type {ModeCallback} */ +"on:begin":(e,t)=>{t.data._beginMatch=e[1]}, +/** @type {ModeCallback} */ +"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:N,IDENT_RE:f,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:P,NUMBER_MODE:O,NUMBER_RE:E,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:x,REGEXP_MODE:D,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=p(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t,end:/$/,relevance:0, +/** @type {ModeCallback} */ +"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:M,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:L});function F(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function B(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=F,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function G(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function z(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function $(e,t){void 0===e.relevance&&(e.relevance=1)}const Y=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=p(n.beforeMatch,u(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},q=["of","and","for","in","not","or","if","then","parent", +// common variable name +"list", +// common variable name +"value"];function H(e,t,n="keyword"){const i=Object.create(null);return"string"==typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((function(n){Object.assign(i,H(e[n],t,n))})),i;function r(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,V(n[0],n[1])]}))}}function V(e,t){return t?Number(t):function(e){return q.includes(e.toLowerCase())}(e)?0:1}const W={},Q=(e,t)=>{W[`${e}/${t}`]||(W[`${e}/${t}`]=!0)},K=new Error;function X(e,t,{key:n}){let i=0;const r=e[n],a={},o={};for(let s=1;s<=t.length;s++)o[s+i]=r[s],a[s+i]=!0,i+=m(t[s-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Z(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw K;if("object"!=typeof e.beginScope||null===e.beginScope)throw K;X(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw K;if("object"!=typeof e.endScope||null===e.endScope)throw K;X(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function J(e){function t(t,n){return new RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} +// @ts-ignore +addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0} +/** @param {string} s */exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0} +// @ts-ignore +getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0} +// @ts-ignore +addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++} +/** @param {string} s */exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function n(a,o){const s= +/** @type CompiledMode */a;if(a.isCompiled)return s;[B, +// do this early so compiler extensions generally don't have to worry about +// the distinction between match/begin +z,Z,Y].forEach((e=>e(a,o))),e.compilerExtensions.forEach((e=>e(a,o))),a.__beforeBegin=null,[U, +// do this later so compiler extensions that come earlier have access to the +// raw array if they wanted to perhaps manipulate it, etc. +G, +// default to 1 relevance if not specified +$].forEach((e=>e(a,o))),a.isCompiled=!0;let l=null;return"object"==typeof a.keywords&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=H(a.keywords,e.case_insensitive)),s.keywordPatternRe=t(l,!0),o&&(a.begin||(a.begin=/\B|\b/),s.beginRe=t(s.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(s.endRe=t(s.end)),s.terminatorEnd=c(s.end)||"",a.endsWithParent&&o.terminatorEnd&&(s.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(s.illegalRe=t( +/** @type {RegExp | string} */ +a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return i(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ee(e))return i(e,{starts:e.starts?i(e.starts):null});if(Object.isFrozen(e))return i(e);return e}("self"===e?a:e)}))),a.contains.forEach((function(e){n( +/** @type Mode */ +e,s)})),a.starts&&n(a.starts,o),s.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}( +/** @type Mode */ +e)}function ee(e){return!!e&&(e.endsWithParent||ee(e.starts))}class te extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ne=n,ie=i,re=Symbol("nomatch"),ae=function(n){const i=Object.create(null),r=Object.create(null),a=[];let o=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let m={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null, +// beta configuration options, subject to change, welcome to discuss +// https://github.com/highlightjs/highlight.js/issues/1086 +__emitter:l};function _(e){return m.noHighlightRe.test(e)}function b(e,t,n){let i="",r="";"object"==typeof t?(i=e,n=t.ignoreIllegals,r=t.language):(Q("10.7.0","highlight(lang, code, ...args) has been deprecated."),Q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,i=t),void 0===n&&(n=!0);const a={code:i,language:r};k("before:highlight",a);const o=a.result?a.result:f(a.language,a.code,n);return o.code=a.code,k("after:highlight",o),o}function f(e,n,r,a){const l=Object.create(null);function c(){if(!k.keywords)return void w.addText(N);let e=0;k.keywordPatternRe.lastIndex=0;let t=k.keywordPatternRe.exec(N),n="";for(;t;){n+=N.substring(e,t.index);const r=S.case_insensitive?t[0].toLowerCase():t[0],a=(i=r,k.keywords[i]);if(a){const[e,i]=a;if(w.addText(n),n="",l[r]=(l[r]||0)+1,l[r]<=7&&(O+=i),e.startsWith("_"))n+=t[0];else{const n=S.classNameAliases[e]||e;d(t[0],n)}}else n+=t[0];e=k.keywordPatternRe.lastIndex,t=k.keywordPatternRe.exec(N)}var i;n+=N.substring(e),w.addText(n)}function u(){null!=k.subLanguage?function(){if(""===N)return;let e=null;if("string"==typeof k.subLanguage){if(!i[k.subLanguage])return void w.addText(N);e=f(k.subLanguage,N,!0,A[k.subLanguage]),A[k.subLanguage]=/** @type {CompiledMode} */ +e._top}else e=y(N,k.subLanguage.length?k.subLanguage:null);k.relevance>0&&(O+=e.relevance),w.__addSublanguage(e._emitter,e.language)}():c(),N=""}function d(e,t){""!==e&&(w.startScope(t),w.addText(e),w.endScope())}function h(e,t){let n=1;const i=t.length-1;for(;n<=i;){if(!e._emit[n]){n++;continue}const i=S.classNameAliases[e[n]]||e[n],r=t[n];i?d(r,i):(N=r,c(),N=""),n++}}function p(e,t){return e.scope&&"string"==typeof e.scope&&w.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(d(N,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),N=""):e.beginScope._multi&&(h(e.beginScope,t),N="")),k=Object.create(e,{parent:{value:k}}),k}function g(e,n,i){let r=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,i);if(r){if(e["on:end"]){const i=new t(e);e["on:end"](n,i),i.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,n,i)}function _(e){return 0===k.matcher.regexIndex?(N+=e[0],1):(D=!0,0)}function b(e){const t=e[0],i=n.substring(e.index),r=g(k,e,i);if(!r)return re;const a=k;k.endScope&&k.endScope._wrap?(u(),d(t,k.endScope._wrap)):k.endScope&&k.endScope._multi?(u(),h(k.endScope,e)):a.skip?N+=t:(a.returnEnd||a.excludeEnd||(N+=t),u(),a.excludeEnd&&(N=t));do{k.scope&&w.closeNode(),k.skip||k.subLanguage||(O+=k.relevance),k=k.parent}while(k!==r.parent);return r.starts&&p(r.starts,e),a.returnEnd?0:t.length}let E={};function v(i,a){const s=a&&a[0];if(N+=i,null==s)return u(),0;if("begin"===E.type&&"end"===a.type&&E.index===a.index&&""===s){if(N+=n.slice(a.index,a.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=E.rule,t}return 1}if(E=a,"begin"===a.type)return function(e){const n=e[0],i=e.rule,r=new t(i),a=[i.__beforeBegin,i["on:begin"]];for(const t of a)if(t&&(t(e,r),r.isMatchIgnored))return _(n);return i.skip?N+=n:(i.excludeBegin&&(N+=n),u(),i.returnBegin||i.excludeBegin||(N=n)),p(i,e),i.returnBegin?0:n.length}(a);if("illegal"===a.type&&!r){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(k.scope||"")+'"');throw e.mode=k,e}if("end"===a.type){const e=b(a);if(e!==re)return e}if("illegal"===a.type&&""===s)return N+="\n",1;if(I>1e5&&I>3*a.index){throw new Error("potential infinite loop, way more iterations than matches")}return N+=s,s.length}const S=T(e);if(!S)throw s.replace("{}",e),new Error('Unknown language: "'+e+'"');const C=J(S);let x="",k=a||C;const A={},w=new m.__emitter(m);!function(){const e=[];for(let t=k;t!==S;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>w.openNode(e)))}();let N="",O=0,R=0,I=0,D=!1;try{if(S.__emitTokens)S.__emitTokens(n,w);else{for(k.matcher.considerAll();;){I++,D?D=!1:k.matcher.considerAll(),k.matcher.lastIndex=R;const e=k.matcher.exec(n);if(!e)break;const t=v(n.substring(R,e.index),e);R=e.index+t}v(n.substring(R))}return w.finalize(),x=w.toHTML(),{language:e,value:x,relevance:O,illegal:!1,_emitter:w,_top:k}}catch(M){if(M.message&&M.message.includes("Illegal"))return{language:e,value:ne(n),illegal:!0,relevance:0,_illegalBy:{message:M.message,index:R,context:n.slice(R-100,R+100),mode:M.mode,resultSoFar:x},_emitter:w};if(o)return{language:e,value:ne(n),illegal:!1,relevance:0,errorRaised:M,_emitter:w,_top:k};throw M}}function y(e,t){t=t||m.languages||Object.keys(i);const n=function(e){const t={value:ne(e),illegal:!1,relevance:0,_top:c,_emitter:new m.__emitter(m)};return t._emitter.addText(e),t}(e),r=t.filter(T).filter(x).map((t=>f(t,e,!1)));r.unshift(n);const a=r.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(T(e.language).supersetOf===t.language)return 1;if(T(t.language).supersetOf===e.language)return-1}return 0})),[o,s]=a,l=o;return l.secondBest=s,l}function E(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=m.languageDetectRe.exec(t);if(n){const e=T(n[1]);return e||s.replace("{}",n[1]),e?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>_(e)||T(e)))}(e);if(_(n))return;if(k("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return;if(e.children.length>0&&(m.ignoreUnescapedHTML,m.throwUnescapedHTML)){throw new te("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const i=t.textContent,a=n?b(i,{language:n,ignoreIllegals:!0}):y(i);e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,n){const i=t&&r[t]||n;e.classList.add("hljs"),e.classList.add(`language-${i}`)}(e,n,a.language),e.result={language:a.language, +// TODO: remove with version 11.0 +re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),k("after:highlightElement",{el:e,result:a,text:i})}let v=!1;function S(){if("loading"===document.readyState)return v||window.addEventListener("DOMContentLoaded",(function(){S()}),!1),void(v=!0);document.querySelectorAll(m.cssSelector).forEach(E)}function T(e){return e=(e||"").toLowerCase(),i[e]||i[r[e]]}function C(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{r[e.toLowerCase()]=t}))}function x(e){const t=T(e);return t&&!t.disableAutodetect}function k(e,t){const n=e;a.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(n,{highlight:b,highlightAuto:y,highlightAll:S,highlightElement:E, +// TODO: Remove with v12 API +highlightBlock:function(e){return Q("10.7.0","highlightBlock will be removed entirely in v12.0"),Q("10.7.0","Please use highlightElement now."),E(e)},configure:function(e){m=ie(m,e)},initHighlighting:()=>{S(),Q("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){S(),Q("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(e,t){let r=null;try{r=t(n)}catch(a){if("Language definition for '{}' could not be registered.".replace("{}",e),!o)throw a;r=c}r.name||(r.name=e),i[e]=r,r.rawDefinition=t.bind(null,n),r.aliases&&C(r.aliases,{languageName:e})},unregisterLanguage:function(e){delete i[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]},listLanguages:function(){return Object.keys(i)},getLanguage:T,registerAliases:C,autoDetection:x,inherit:ie,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),a.push(e)},removePlugin:function(e){const t=a.indexOf(e);-1!==t&&a.splice(t,1)}}),n.debugMode=function(){o=!1},n.safeMode=function(){o=!0},n.versionString="11.11.1",n.regex={concat:p,lookahead:u,either:g,optional:h,anyNumberOfTimes:d};for(const t in j)"object"==typeof j[t]&&e(j[t]);return Object.assign(n,j),n},oe=ae({});return oe.newInstance=()=>ae({}),Xr=oe,oe.HighlightJS=oe,oe.default=oe,Xr}function mh(){if(ea)return Jr;return ea=1,Jr=function(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",i="null истина ложь неопределено",r=e.inherit(e.NUMBER_MODE),a={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},o={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},s=e.inherit(e.C_LINE_COMMENT_MODE);return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:"разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",class:"webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",type:"comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",literal:i},contains:[{className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:n+"загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент "},contains:[s]},{className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:i},contains:[r,a,o]},s]},e.inherit(e.TITLE_MODE,{begin:t})]},s,{className:"symbol",begin:"~",end:";|:",excludeEnd:!0},r,a,o,{match:/[;()+\-:=,]/,className:"punctuation",relevance:0}]}}}function _h(){if(na)return ta;return na=1,ta=function(e){const t=e.regex,n=e.COMMENT(/;/,/$/);return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[{scope:"operator",match:/=\/?/},{scope:"attribute",match:t.concat(/^[a-zA-Z][a-zA-Z0-9-]*/,/(?=\s*=)/)},n,{scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},{scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},{scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},{scope:"symbol",match:/%[si](?=".*")/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}}function bh(){if(ra)return ia;return ra=1,ia=function(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[ +// IP +{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5}, +// Other numbers +{className:"number",begin:/\b\d+\b/,relevance:0}, +// Requests +{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]}, +// Dates +{className:"string", +// dates must have a certain length, this prevents matching +// simple array accesses a[123] and [] and other common patterns +// found in other languages +begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0}, +// User agent / relevance boost +{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3}, +// Strings +{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}}function fh(){if(oa)return aa;return oa=1,aa=function(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=t.concat(n,t.concat("(\\.",n,")*")),r={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r]},{begin:t.concat(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD],illegal:/#/}}}function yh(){if(la)return sa;return la=1,sa=function(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,i="\\b("+(t+"#\\w+(\\.\\w+)?#("+n+")?")+"|"+(t+"(\\."+t+")?("+n+")?")+")",r="[A-Za-z](_?[A-Za-z0-9.])*",a="[]\\{\\}%#'\"",o=e.COMMENT("--","$"),s={ +// TODO: These spaces are not required by the Ada syntax +// however, I have yet to see handwritten Ada code where +// someone does not put spaces around : +begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)", +// endsWithParent: true, +// returnBegin: true, +illegal:a,contains:[{ +// workaround to avoid highlighting +// named loops and declare blocks +beginKeywords:"loop for declare others",endsParent:!0},{ +// properly highlight all modifiers +className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:r,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[o, +// strings "foobar" +{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]}, +// characters '' +{ +// character literals always contain one char +className:"string",begin:/'.'/},{ +// number literals +className:"number",begin:i,relevance:0},{ +// Attributes +className:"symbol",begin:"'"+r},{ +// package definition, maybe inside generic +className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:a},{ +// function/procedure declaration/definition +// maybe inside generic +begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return", +// we need to re-match the 'function' keyword, so that +// the title mode below matches only exactly once +returnBegin:!0,contains:[o,{ +// name of the function/procedure +className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:a}, +// 'self' +// // parameter types +s,{ +// return type +className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0, +// we are done with functions +endsParent:!0,illegal:a}]},{ +// new type declarations +// maybe inside generic +className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:a}, +// see comment above the definition +s]}}}function Eh(){if(ua)return ca;return ua=1,ca=function(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[i],n.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"], +// avoid close detection with C# and JS +illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{ +// 'strings' +className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0}, +// """heredoc strings""" +{className:"string",begin:'"""',end:'"""'},{ +// "strings" +className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE, +// single-line comments +e.C_BLOCK_COMMENT_MODE, +// comment blocks +{ +// metadata +className:"string",begin:"^\\s*\\[",end:"\\]"},{ +// interface or namespace declaration +beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{ +// interface or namespace name +className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{ +// class declaration +beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{ +// class name +className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t, +// built-in types +n, +// object handles +{ +// literals +className:"literal",begin:"\\b(null|true|false)"},{ +// numbers +className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}}function vh(){if(ha)return da;return ha=1,da=function(e){const t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/}, +// low relevance prevents us from claming XML/HTML where this rule would +// match strings inside of XML tags +e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0, +// keywords aren’t needed for highlighting per se, they only boost relevance +// for a very generally defined mode (starts with a word, ends with line-end +keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\b\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}}function Sh(){if(ga)return pa;return ga=1,pa=function(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},r=e.COMMENT(/--/,/$/),a=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self", +// allow nesting +r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...a],illegal:/\/\/|->|=>|\[\[/}}}function Th(){if(_a)return ma;return _a=1,ma=function(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},i={className:"symbol",begin:"\\$"+e.regex.either("aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view")},r={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},a={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,a]};a.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,r,e.REGEXP_MODE];const s=a.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,r,{ +// object attr container +begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{ +// "value" container +begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}}function Ch(){if(fa)return ba;return fa=1,ba=function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",a="(?!struct)("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[ +// Floating-point literal. +{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"}, +// Integer literal. +{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},d=t.optional(r)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{ +// Only for relevance, not highlighting. +_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},g=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],m={ +// This mode covers expression context where we can't expect a function +// definition and shouldn't highlight anything that looks like one: +// `return some()`, `else if()`, `(x*sum(1, 2))` +variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:g.concat([{begin:/\(/,end:/\)/,keywords:h,contains:g.concat(["self"]),relevance:0}]),relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{ +// to prevent it from being confused as the function title +begin:i,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0}, +// needed because we do not have look-behind on the below rule +// to prevent it from grabbing the final : in a :: pair +{begin:/::/,relevance:0}, +// initializers +{begin:/:/,endsWithParent:!0,contains:[s,l]}, +// allow for multiple declarations, e.g.: +// extern void f(int), g(char); +{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o, +// Count matching parentheses. +{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:" rooms (9);` +begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[ +// extra complexity to deal with `enum class` and `enum struct` +/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),i= +/** @type {Record} */n.keywords;return i.type=[...i.type,...t.type],i.literal=[...i.literal,...t.literal],i.built_in=[...i.built_in,...t.built_in],i._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}}function xh(){if(Ea)return ya;return Ea=1,ya=function(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta: +// GNU preprocs +".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{ +// hex +begin:"[#$=]?0x[0-9a-f]+"},{ +// bin +begin:"[#$=]?0b[01]+"},{ +// literal +begin:"[#$=]\\d+"},{ +// bare number +begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{ +// GNU ARM syntax +begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{ +// ARM syntax +begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{ +// label reference +begin:"[=#]\\w+"}],relevance:0}]}}}function kh(){if(Sa)return va;return Sa=1,va=function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(r,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,s,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,a,s,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i, +// xml processing instructions +{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", +/* + The lookahead pattern (?=...) ensures that 'begin' only matches + ')/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", +// See the comment in the \n - + +
diff --git a/.output/public/sw.js b/.output/public/sw.js index 4a6e6fae7ac2f6c7f59743bb575a80f1523b1c2f..b0f260240c982999038c471ac01eccac00912778 100644 --- a/.output/public/sw.js +++ b/.output/public/sw.js @@ -1,5 +1,5 @@ // 缓存名称 - 更改版本号可以强制更新缓存 -const CACHE_NAME = 'app-cache-v1741015674053'; +const CACHE_NAME = 'app-cache-v1741018411883'; const ASSETS_PATTERN = /\/assets\//; // 需要缓存的资源列表 const urlsToCache = [ diff --git a/.output/server/chunks/_/index.mjs b/.output/server/chunks/_/index.mjs index 27c16096ad55378a42803f9bc2490e8f6ed1d272..0294f88999762c71550c109395bf4c707482d955 100644 --- a/.output/server/chunks/_/index.mjs +++ b/.output/server/chunks/_/index.mjs @@ -1 +1 @@ -import{r as readBody,b as getQuery,c as useStorage}from"../nitro/nitro.mjs";import{v4}from"uuid";import{g as getStorage,D as DEVICE_ID}from"./storage.mjs";import*as crypto from"node:crypto";import{createHash as createHash$1}from"node:crypto";import{EventSourceParserStream}from"eventsource-parser/stream";import{createParser}from"eventsource-parser";import http2 from"http2";import FormData$1 from"form-data";import{WebSocket}from"ws";import*as jose from"jose";import{spawn}from"child_process";import protobuf from"protobufjs";import{credentials,Client,Metadata}from"@grpc/grpc-js";const separator=":";async function generateSHA256(e){return await createHash("sha256",e,"hex")}async function createHash(e,t,o="hex"){const a={sha256:"SHA-256",sha512:"SHA-512",sha1:"SHA-1",sha384:"SHA-384"}[e.toLowerCase()];if(!a)throw new Error(`Unsupported hash algorithm: ${e}`);const s=(new TextEncoder).encode(t),r=await crypto.subtle.digest(a,s);switch(o.toLowerCase()){case"hex":return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("");case"base64":return btoa(String.fromCharCode(...new Uint8Array(r)));case"buffer":return r;default:throw new Error(`Unsupported encoding: ${o}`)}}async function createHmac(e,t,o){const a=await crypto.subtle.importKey("raw",(new TextEncoder).encode(t),{name:"HMAC",hash:e},!1,["sign"]),s=await crypto.subtle.sign("HMAC",a,(new TextEncoder).encode(o));return Array.from(new Uint8Array(s)).map((e=>e.toString(16).padStart(2,"0"))).join("")}function md5(e,t="utf8",o="hex"){const a=crypto.createHash("md5");return Buffer.isBuffer(e)?a.update(e):a.update(e,t),a.digest(o)}function uuid(e=!0){return e?v4():v4().replace(/\-/g,"")}function getRandomUuidv4(){return v4()}function randHex(e){const t="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let o="";for(let a=0;a{const t=new Date,o=t.getFullYear().toString()+(t.getMonth()+1).toString().padStart(2,"0")+t.getDate().toString().padStart(2,"0");let a=0;for(let e=0;ee[Math.floor(Math.random()*e.length)];let t=`${randomChoice(["Mozilla/5.0","AppleWebKit/537.36","Chrome","Safari","Opera","Firefox"])} (${randomChoice(["Windows NT 10.0; Win64; x64","Macintosh; Intel Mac OS X 10_15_7","X11; Linux x86_64"])})`;t+=` ${randomChoice(["AppleWebKit/537.36","Gecko/20100101","Trident/7.0"])}`,t.includes("AppleWebKit")&&(t+=" (KHTML, like Gecko)");const o=randomChoice(["Chrome","Safari","Firefox","Edge"]);return t+=` ${o}/${randomChoice(e)}`,"Chrome"===o&&(t+=` Safari/${randomChoice(e)}`),t}async function errorResponse(e){const t=e.headers.get("content-type");if(null===t)return new Response(e.statusText,{status:e.status,statusText:e.statusText,headers:{"Content-Type":"text/plain; charset=utf-8"}});if(t.includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:e.status,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}{const t=await e.text();return console.error(t,e.status,e.statusText),new Response(t,{status:e.status,statusText:e.statusText,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function getMediaType(e){const t=e.match(/^data:(.*?);base64,/);return t&&t.length>1?t[1]:null}function MergeMessages(e){let t="";for(let o=0;o${a.role||"user"}\n${o.text||""}<|im_end|>\n`))}else t+=`<|im_start|>${a.role||"user"}\n${a.content}<|im_end|>\n`}return t}function MergeMessagesNoMarkup(e){let t="";for(let o=0;o0&&(r.choices[0].delta={content:t,type:s})):(r.object="chat.completion",r.usage={prompt_tokens:0,completion_tokens:0,total_tokens:0},r.choices[0].message={role:"assistant",content:t}),r}function toImageResponse(e,t){return{id:e,created:Math.floor(Date.now()/1e3),model:"",object:"chat.images",choices:t}}function timestamp(){return Date.now()}function unixTimestamp(){return parseInt(""+Date.now()/1e3)}function parseStrCookies(e){return e.split(";").filter(Boolean).reduce(((e,t)=>{const[o,a]=t.trim().split("=");return e[decodeURIComponent(o)]=decodeURIComponent(a||""),e}),{})}async function openai(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";return o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,await requestOpenAI(e.context.model.apiBase,s,o)}async function requestOpenAI(e,t,o,a=null){try{o.meta&&delete o.meta,o.hasOwnProperty("system_prompt")&&delete o.system_prompt,o.hasOwnProperty("stream")||(o.stream=!1),a||(a={}),a["content-type"]||(a["content-type"]="application/json"),a.Authorization||a["api-key"]||!t||(a.Authorization=`Bearer ${t}`);const s=await fetch(e,{method:"POST",headers:a,body:JSON.stringify({...o})});if(o.stream)return new Response(s.body,{status:s.status,statusText:s.statusText,headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});if(s.ok){const e=await s.json();return new Response(JSON.stringify(e),{status:s.status,statusText:s.statusText,headers:{"Content-Type":"application/json"}})}return errorResponse(s)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}let copilotToken={token:"",expires_at:0,key:""},copilotClinet={vscode_sessionid:"",machineid:""};async function authenticate$1(e){const t=await fetch("https://api.github.com/copilot_internal/v2/token",{method:"GET",headers:{authorization:`token ${e}`,"editor-version":"vscode/1.95.3","editor-plugin-version":"copilot-chat/0.23.2024102903","user-agent":"GitHubCopilotChat/0.23.2024102903"}}),o=await t.json();if(t.ok)return o.key=e,o;throw new Error(o.message)}async function github_copilot(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{(""===copilotToken.token||(new Date).getTime()>1e3*copilotToken.expires_at||copilotToken.key!==s)&&(copilotToken=await authenticate$1(s))}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}if(""===copilotClinet.vscode_sessionid){const e=getRandomUuidv4()+String(Math.round((new Date).getTime()));copilotClinet.vscode_sessionid=e}if(""===copilotClinet.machineid){const e=Math.floor(1e11*Math.random()).toString(16);copilotClinet.machineid=await generateSHA256(e)}o.stream?(o.top_p=1,o.n=1,o.messages=[...o.messages]):(delete o.temperature,delete o.max_tokens,"system"===o.messages[0].role&&(o.messages[0].role="user"),o.messages=[...o.messages]);return await requestOpenAI("https://api.individual.githubcopilot.com/chat/completions",copilotToken.token,o,{"Content-Type":"application/json","copilot-integration-id":"vscode-chat","editor-plugin-version":"copilot-chat/0.23.2024102903","editor-version":"vscode/1.95.3","openai-intent":"conversation-panel","openai-organization":"github-copilot","user-agent":"GitHubCopilotChat/0.23.2024102903","vscode-machineid":copilotClinet.machineid,"Vscode-Sessionid":copilotClinet.vscode_sessionid,"x-github-api-version":"2023-07-07","X-Request-Id":getRandomUuidv4(),"sec-fetch-site":"none","sec-fetch-mode":"no-cors","sec-fetch-dest":"empty","accept-encoding":"gzip, deflate, br, zstd"})}let glmToken={token:"",expires_at:0,key:""};const encoder$x=new TextEncoder,GLM_DEFAULT_ASSISTANT_ID="65940acff94777010aa6b796",FAKE_HEADERS$c={Accept:"*/*","Accept-Encoding":"gzip, deflate, br",Connection:"keep-alive",Host:"chatglm.cn",Origin:"https://chatglm.cn","Sec-Ch-Ua":'"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',"Sec-Ch-Ua-Mobile":"?0","Sec-Ch-Ua-Platform":'"Windows"',"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"},glm_deveice_id=randHex(32);async function authenticate(e){const t=await fetch("https://chatglm.cn/chatglm/backend-api/v1/user/refresh",{method:"POST",headers:{...FAKE_HEADERS$c,authorization:`Bearer ${e}`,Referer:"https://chatglm.cn/main/alltoolsdetail"}}),o=await t.json();if(t.ok&&0==o.status)return{token:o.result.accessToken,expires_at:(new Date).getTime()+36e5,key:e};throw new Error(o.message)}async function chatglm(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{(""===glmToken.token||(new Date).getTime()>glmToken.expires_at||glmToken.key!==s)&&(glmToken=await authenticate(s))}catch(e){return console.error(e),new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}let r=o.conversationId||"",i=null,c=GLM_DEFAULT_ASSISTANT_ID;a&&(c=a.apiAgentId?a.apiAgentId:c,r=a.apiConversationId?a.apiConversationId:r),i=""!==r?messagesPrepare([o.messages.pop()],[],!0):messagesPrepare(o.messages,[],!1);try{let e=""===r;const t=await fetch("https://chatglm.cn/chatglm/backend-api/assistant/stream",{method:"POST",headers:{...FAKE_HEADERS$c,Authorization:`Bearer ${glmToken.token}`,"content-type":"application/json",Referer:c==GLM_DEFAULT_ASSISTANT_ID?"https://chatglm.cn/main/alltoolsdetail":`https://chatglm.cn/main/gdetail/${c}`},body:JSON.stringify({assistant_id:c,conversation_id:r,meta_data:{mention_conversation_id:"",is_test:!1,input_question_type:"xxxx",channel:"",draft_id:"",quote:""},messages:i})});if(!t.ok)return errorResponse(t);const a=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=t=>{0!=e&&removeConversation$5(t,c)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$q(a,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s,l;for(;;){const{value:e,done:t}=await a.read();if(t){const e=JSON.parse(l.data);s=toOpenAIResponse(e.id,e.parts[0].content[0].text,e.model,!1),removeConversationId(e.conversation_id);break}e&&(l=e)}return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function messagesPrepare(e,t,o=!1){let a;if(o||e.length<2)a=e.reduce(((e,t)=>Array.isArray(t.content)?t.content.reduce(((e,t)=>isObject(t)&&"text"==t.type?e+(t.text||"")+"\n":e),e):e+`${t.content}\n`),"");else{let t=e[e.length-1];if(Array.isArray(t.content)&&t.content.some((e=>"object"==typeof e&&["file","image_url"].includes(e.type)))){let t={content:"关注用户最新发送文件和消息",role:"system"};e.splice(e.length-1,0,t)}a=(e.reduce(((e,t)=>{const o=t.role.replace("system","<|sytstem|>").replace("assistant","<|assistant|>").replace("user","<|user|>");return Array.isArray(t.content)?t.content.reduce(((e,t)=>isObject(t)&&"text"==t.type?e+(`${o}\n`+t.text||"")+"\n":e),e):e+`${o}\n${t.content}\n`}),"")+"<|assistant|>\n").replace(/\!\[.+\]\(.+\)/g,"").replace(/\/mnt\/data\/.+/g,"")}const s=t.filter((e=>!e.width&&!e.height)),r=t.filter((e=>e.width||e.height)).map((e=>(e.image_url=e.file_url,e)));return[{role:"user",content:[{type:"text",text:a},...0==s.length?[]:[{type:"file",file:s}],...0==r.length?[]:[{type:"image",image:r}]]}]}function onParse$t(e,t){try{const o=JSON.parse(e.data);if("finish"==o.status)return void t.endCallback();if("intervene"==o.status){const e=o.last_error&&o.last_error.intervene_text?`\n\n${o.last_error.intervene_text}`:"";return t.msgCallback(e),void t.endCallback()}t.id||(t.id=o.id),t.conversation_id||(t.conversation_id=o.conversation_id),t.model||(t.model=o.parts.length&&o.parts[0].model);const a=o.parts.reduce(((e,o)=>{const{status:a,content:s,meta_data:r}=o;if(!Array.isArray(s))return e;return e+s.reduce(((e,o)=>{const{status:s,type:i,text:c,image:l,code:d,content:p}=o;if("init"==s&&t.textChunkLength>0&&(t.textOffset+=t.textChunkLength+1,t.textChunkLength=0,e+="\n"),"text"==i)return t.toolCall&&(e+="\n",t.textOffset++,t.toolCall=!1),"finish"==s&&(t.textChunkLength=c.length),e+c;if("quote_result"==i&&"finish"==a&&r&&Array.isArray(r.metadata_list)){const o=r.metadata_list.reduce(((e,t)=>e+`检索 ${t.title}(${t.url}) ...`),"")+"\n";return t.textOffset+=o.length,t.toolCall=!0,e+o}if("image"==i&&Array.isArray(l)&&"finish"==a){const o=l.reduce(((e,t)=>e+(/^(http|https):\/\//.test(t.image_url)?`![图像](${t.image_url||""})`:"")),"")+"\n";return t.textOffset+=o.length,t.toolCall=!0,e+o}if("code"==i&&"init"==s){let o="";t.codeGenerating||(t.codeGenerating=!0,o="```python\n");const a=d.substring(t.codeTemp.length,d.length);return t.codeTemp+=a,t.textOffset+=o.length+a.length,e+o+a}if("code"==i&&"finish"==s&&t.codeGenerating){const o="\n```\n";return t.codeGenerating=!1,t.codeTemp="",t.textOffset+=o.length,e+o}return"execution_output"==i&&"string"==typeof p&&"done"==s&&t.lastExecutionOutput!=p?(t.lastExecutionOutput=p,t.textOffset+=p.length+1,e+p+"\n"):e}),"")}),""),s=a.substring(t.content.length-t.textOffset,a.length);s&&(t.content+=s,t.msgCallback(s))}catch(e){throw e}}async function streamJsonResponseBodies$q(e,t,o){const a=t.getWriter();let s={id:"",model:"",conversation_id:"",content:"",toolCall:!1,codeGenerating:!1,textChunkLength:0,codeTemp:"",lastExecutionOutput:"",textOffset:0,msgCallback:e=>{a.write(encoder$x.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$x.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.close(),o&&o(s.conversation_id);break}if(!t)continue;onParse$t(t,s)}catch(e){throw a.close(),e}}async function removeConversation$5(e,t=GLM_DEFAULT_ASSISTANT_ID){(await fetch("https://chatglm.cn/chatglm/backend-api/assistant/conversation/delete",{method:"POST",headers:{...FAKE_HEADERS$c,Authorization:`Bearer ${glmToken.token}`,"content-type":"application/json",Referer:"https://chatglm.cn/main/alltoolsdetail","App-Name":"chatglm",Platform:"pc","X-Device-Id":glm_deveice_id,"X-Request-Id":randHex(32)},body:JSON.stringify({assistant_id:t,conversation_id:e})})).ok||console.error("移除会话失败")}let qwenToken={login_tongyi_ticket:"",login_aliyunid_ticket:"",tongyi_guest_ticket:"",tongyi_sso_ticket:""};const encoder$w=new TextEncoder,FAKE_HEADERS$b={"accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site","x-platform":"pc_tongyi","x-xsrf-token":"cd0ebf7c-7a70-412b-8e57-43f83ee081d5",Host:"qianwen.biz.aliyun.com",Referer:"https://tongyi.aliyun.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function tongyi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=JSON.parse(s);qwenToken.login_tongyi_ticket=r.login_tongyi_ticket,qwenToken.login_aliyunid_ticket=r.login_aliyunid_ticket,qwenToken.tongyi_guest_ticket=r.tongyi_guest_ticket,qwenToken.tongyi_sso_ticket=r.tongyi_sso_ticket;let i=o.conversationId||"",c="";a&&(c=a.apiAgentId?a.apiAgentId:c,i=a.apiConversationId?a.apiConversationId:i);const l=o.messages;if(l.length>=2&&"assistant"===l[l.length-2].role){const e=l[l.length-2].id;c=e||c}i&&!c&&(c="",i="");let d=null,p=""===i;d=""!==i?l.pop().content:MergeMessages(l);const removeConversationId=e=>{0!=p&&removeConversation$4(e)};try{const e=http2.connect("https://qianwen.biz.aliyun.com"),t=e.request({":method":"POST",":path":"/dialog/conversation","content-type":"application/json",Accept:"text/event-stream",Cookie:getCookie$3(),...FAKE_HEADERS$b,Referer:`https://tongyi.aliyun.com/qianwen/?spm=5176.28103460.0.0.40f713f4tP8ZYT&sessionId=${i}`});if(t.write(JSON.stringify({model:"",action:"next",mode:"chat",userAction:"chat",requestId:getRandomUuidv4(),sessionId:i,sessionType:"text_chat",parentMsgId:c,params:{fileUploadBatchId:getRandomUuidv4()},contents:[{content:d,contentType:"text"}]})),t.setEncoding("utf8"),t.on("end",(()=>{e.close()})),o.stream){const{readable:e,writable:o}=new TransformStream;return http2StreamJsonResponseBodies(t,o,removeConversationId),t.end(),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a=await new Promise(((e,o)=>{let a,s={id:"",convId:"",content:"",msgCallback:(e,t)=>{a=e},endCallback:()=>{const t=toOpenAIResponse(`${a.sessionId}-${a.msgId}`,s.content,"",!1);removeConversationId(s.convId),e(t)}};const r=createParser({onEvent:e=>{onParse$s(e,s)}});t.on("data",(e=>r.feed(e.toString()))),t.on("error",o),t.end()}));return new Response(JSON.stringify(a),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$s(e,t){try{if("[DONE]"==e.data)return void t.endCallback();const o=JSON.parse(e.data);if(o.errorCode)return void t.msgCallback(o.errorCode);!t.convId&&o.sessionId&&(t.convId=o.sessionId),!t.id&&o.msgId&&(t.id=o.msgId);const a=(o.contents||[]).reduce(((e,t)=>{const{contentType:o,role:a,content:s}=t;return"text"!=o&&"text2image"!=o?e:"assistant"==a||isString$1(s)?e+s:e}),"");let s=a.substring(t.content.length,a.length);s&&"text2image"==o.contentType&&(s=s.replace(/https?:\/\/[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=\,]*)/gi,(e=>{const t=new URL(e);return t.search="",t.toString()}))),t.content=a,t.msgCallback(s)}catch(e){throw e}}async function http2StreamJsonResponseBodies(e,t,o){const a=t.getWriter();let s={id:"",convId:"",content:"",msgCallback:e=>{a.write(encoder$w.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$w.encode("data: [DONE]\n\n")),o(s.convId)}};const r=createParser({onEvent:e=>{onParse$s(e,s)}});e.on("data",(e=>r.feed(e.toString()))),e.once("error",(()=>a.close())),e.once("close",(()=>a.close()))}async function removeConversation$4(e){const t=await fetch("https://qianwen.biz.aliyun.com/dialog/session/delete",{method:"POST",headers:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate, br, zstd","Content-Type":"application/json",Cookie:getCookie$3(),...FAKE_HEADERS$b},body:JSON.stringify({sessionId:e})});t.ok||console.error(`移除会话失败:${t}`)}function getCookie$3(){let e=[];for(let t in qwenToken)qwenToken.hasOwnProperty(t)&&""!==qwenToken[t]&&e.push(`${t}=${qwenToken[t]}`);return e.join("; ")}let yiToken={token:"",expires_at:0,key:""};const encoder$v=new TextEncoder,FAKE_HEADERS$a={"accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","app-name":"wanzhi-web","cache-control":"no-cache","device-info":'{"web_id":"MCfvYwUh4iKX-gH55xrA5","baidu_id":"18f9fffca0502883465b60"}',"pop-url":"https://www.wanzhi.com/",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site"};async function wanzhi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";yiToken.token=s;try{let e=o.conversationId||"";a&&(e=a.apiConversationId?a.apiConversationId:e);let t="",s=!1;if(""!==e)t=o.messages.pop().content;else{const a=await fetch("https://api.wanzhi.com/api/v1/chat/getChannel",{headers:{...FAKE_HEADERS$a,accept:"application/json","content-type":"application/json",Authorization:`${yiToken.token}`},body:JSON.stringify({model:o.model,templateId:"",message:t,language:"Chinese"}),method:"POST"});if(!a.ok)return errorResponse(a);let r=await a.json();if(200!=r.code)throw new Error(r.message);e=r.data.channelId,t=MergeMessages(o.messages),s=!0}const r=await fetch("https://api.wanzhi.com/api/v1/chat/send",{method:"POST",headers:{...FAKE_HEADERS$a,Authorization:`${yiToken.token}`,"content-type":"application/json",accept:"text/event-stream"},body:JSON.stringify({isGetJson:!0,version:"1.4.0",language:"zh-CN",channelId:e,message:t,model:o.model,messageIds:[],improveId:null,richMessageId:null,isImprove:!1,isNewChat:!1,action:null,isGeneratePpt:!1,isSlidesChat:!1,imageUrls:[],roleEnum:null,pptCoordinates:"",docPromptTemplateId:null})});if(!r.ok)return errorResponse(r);const i=r.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=s&&removeConversation$3(e)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$p(i,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let c={content:"",id:"",model:"",msgCallback:e=>{c.content+=e.content,c.id=e.messageId}};for(;;){const{value:e,done:t}=await i.read();if(t){removeConversationId();break}e&&onParse$r(e,c)}return new Response(JSON.stringify(toOpenAIResponse(c.id,c.content,c.model,!1)),{status:r.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$r(e,t){try{const o=JSON.parse(e.data);if(!isArray(o))return;const a=o[0];if(t.model||(t.model=a.model),!a.hasOwnProperty("chunkId")||!a.hasOwnProperty("content"))return;t.msgCallback(a)}catch(e){throw e}}async function streamJsonResponseBodies$p(e,t,o){const a=t.getWriter();let s={model:"",msgCallback:e=>{a.write(encoder$v.encode(`data: ${JSON.stringify(toOpenAIResponse(e.messageId,e.content,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$v.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;onParse$r(t,s)}catch(e){throw a.close(),e}}async function removeConversation$3(e){(await fetch("https://api.wanzhi.com/api/v1/channel/delete",{headers:{...FAKE_HEADERS$a,accept:"application/json","content-type":"application/json",Authorization:`${yiToken.token}`},body:JSON.stringify({channelId:e}),method:"POST"})).ok||console.error("移除会话失败")}async function coze(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.model,i=o.conversationId||"";a&&(r=a.apiAgentId?a.apiAgentId:r,i=a.apiConversationId?a.apiConversationId:i);let c="";"system"===o.messages[0].role&&a&&a.data.useConversationSetting&&(c=o.messages.shift().content+"\r\n");const l=o.messages.map(((e,t,o)=>{const a={role:e.role};"assistant"===a.role&&(a.type="answer");const s=t===o.length-1;return isArray(e.content)?(a.content_type="object_string",a.content=JSON.stringify(e.content.map((e=>"image_url"===e.type?null:("text"===e.type&&s&&(e.text=`${c}${e.content}`),e))).filter((e=>null!==e)))):(a.content=e.content,a.content_type="text",s&&(a.content=`${c}${a.content}`)),a})),d={bot_id:r,user_id:"seedchat",stream:o.stream,auto_save_history:!0,additional_messages:l};if(!d.bot_id)return new Response("未设置botid",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});try{if(o.stream){const t=await fetch(`${e.context.model.apiBase}?conversation_id=${i}`,{method:"POST",headers:{Authorization:`Bearer ${s}`,"content-type":"application/json",Connection:"Keep-alive",Accept:"*/*"},body:JSON.stringify(d)});if(!t.ok)return errorResponse(t);if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const o=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:r}=new TransformStream;return streamJsonResponseBodies$o(o,r),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=toOpenAIResponse("","不支持非流响应","",!1);return new Response(JSON.stringify(t),{status:400,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$u=new TextEncoder;async function streamJsonResponseBodies$o(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$u.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$u.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$q(t,a)}catch(e){throw o.close(),e}}function onParse$q(e,t){try{const o=JSON.parse(e.data);if(t.id||(t.id=o.id),"conversation.chat.failed"===e.event)return t.msgCallback(o.last_error.msg),void t.endCallback();if("done"===e.event)return void t.endCallback();if("conversation.message.delta"!==e.event)return;t.msgCallback(o.content)}catch(e){throw e}}const huggingface_request_data={hf_chat:"",token:"",aws_waf_token:""},FakeHeaders$4={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36"},getCookie$2=()=>`hf-chat=${huggingface_request_data.hf_chat};token=${huggingface_request_data.token}; aws-waf-token=${huggingface_request_data.aws_waf_token}`;async function huggingface(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);try{const e=JSON.parse(s);huggingface_request_data.hf_chat=e["hf-chat"],huggingface_request_data.token=e.token,huggingface_request_data.aws_waf_token=e["aws-waf-token"];let t="",a=!1;if(""===r){const e=await fetch("https://huggingface.co/chat/conversation",{headers:{...FakeHeaders$4,"content-type":"application/json",cookie:getCookie$2(),Referer:"https://huggingface.co/chat",origin:"https://huggingface.co"},body:JSON.stringify({model:o.model}),method:"POST"});if(!e.ok)return errorResponse(e);let s=await e.json();r=s.conversationId,a=!0,t=MergeMessages(o.messages)}else t=o.messages.pop().content;const removeConversationId=async()=>{0!=a&&removeConversation$2(r)},i=await getLastId(r);if(!i)return new Response("获取ID失败",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});const c=JSON.stringify({inputs:t,id:i,is_retry:!1,is_continue:!1,web_search:!1,tools:[]}),l=new FormData$1;l.setBoundary("----WebKitFormBoundary"+Math.random().toString(36).substring(2)),l.append("data",c);const d=await fetch(`https://huggingface.co/chat/conversation/${r}`,{method:"POST",headers:{...FakeHeaders$4,cookie:getCookie$2(),referer:`https://huggingface.co/chat/conversation/${r}`,origin:"https://huggingface.co","Content-Type":`multipart/form-data; boundary=${l.getBoundary()}`},body:l.getBuffer()});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseString$1(p,t,o.model,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{u.content+=e}};for(;;){const{value:e,done:t}=await p.read();if(t){removeConversationId();break}if(!e)continue;const o=e.split("\n");for(let e=0;e0&&onParse$p(o[e],u)}return new Response(JSON.stringify(toOpenAIResponse(u.id,u.content,o.model,!1)),{status:d.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$t=new TextEncoder;async function streamJsonResponseString$1(e,t,o,a){const s=t.getWriter();let r={id:getRandomUuidv4(),msgCallback:e=>{s.write(encoder$t.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,o,!0))}\n\n`))},endCallback:()=>{s.write(encoder$t.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:o}=await e.read();if(t){s.close(),a&&a();break}if(!o)continue;const i=o.split("\n");for(let e=0;e0&&onParse$p(i[e],r)}catch(e){throw s.close(),e}}function onParse$p(e,t){try{const o=JSON.parse(e);if("finalAnswer"===o.type)return void t.endCallback(o.text);if("stream"!=o.type)return;t.msgCallback(o.token.split("\0").join(""))}catch(e){throw e}}async function removeConversation$2(e){(await fetch(`https://huggingface.co/chat/conversation/${e}`,{headers:{...FakeHeaders$4,cookie:getCookie$2(),Referer:`https://huggingface.co/chat/conversation/${e}`},method:"DELETE"})).ok||console.error("移除会话失败")}async function getLastId(e){const t=await fetch(`https://huggingface.co/chat/conversation/${e}/__data.json?x-sveltekit-invalidated=11`,{headers:{...FakeHeaders$4,cookie:getCookie$2(),Referer:`https://huggingface.co/chat/conversation/${e}`},method:"GET"});if(!t.ok)throw new Error("获取ID失败");const o=await t.text(),a=JSON.parse(getFirstJson(o)).nodes[1].data,s=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;let r;for(let e=a.length-1;e>=0;e--)if("string"==typeof a[e]&&s.test(a[e])){r=a[e];break}return r}function getFirstJson(e){const t=e.indexOf("\n");return-1===t?"":e.substring(0,t+1)}let ernieToken={refresh_token:"",expires_in:2592e3,session_key:"",access_token:"",scope:"",session_secret:"",secretId:"",expirationTime:0};function getTimestampString(){return(new Date).toISOString().replace(/\.\d*/,"")}function getQueryString(e){let t="",o=[];for(let t in e)o.push(t);if(o=o.sort(),o&&o.length>0){for(let a of o)t+=encodeURIComponent(a)+"="+encodeURIComponent(e[a])+"&";t=t.substr(0,t.length-1)}return t}async function getAuthString(e,t,o,a,s,r,i){let c=`bce-auth-v1/${e}/${i}/1800`,l=r+"\n"+a+"\n"+s+"\n"+(encodeURIComponent("host")+":"+encodeURIComponent(o)+"\n"+encodeURIComponent("x-bce-date")+":"+encodeURIComponent(i)),d=await createHmac("SHA-256",t,c);return`${c}/host;x-bce-date/${await createHmac("SHA-256",d,l)}`}async function ernie(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{if(""===ernieToken.access_token||(new Date).getTime()>ernieToken.expirationTime||ernieToken.secretId!==r){const e="iam.bj.baidubce.com",t="application/json; charset=utf-8",o="/v1/BCE-BEARER/token",a="GET";let s=getTimestampString(),c=getQueryString({expireInSeconds:2592e3}),l=await getAuthString(r,i,e,o,c,a,s),d=await fetch("https://"+e+o+"?"+c,{method:a,headers:{Authorization:l,"Content-Type":t,Host:e,"x-bce-date":s}}),p=await d.json();ernieToken.secretId=r,ernieToken.access_token=p.token,ernieToken.expirationTime=new Date(p.expireTime).getTime()}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}return await requestOpenAI("https://qianfan.baidubce.com/v2/chat/completions",ernieToken.access_token,o)}new TextEncoder;const encoder$s=new TextEncoder;async function hunyuan(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);const c={secretId:r,secretKey:i},l="ap-beijing",d={httpProfile:{endpoint:"hunyuan.tencentcloudapi.com"}}.httpProfile.endpoint,p=l,u="hunyuan",m=Math.floor((new Date).getTime()/1e3),h=getDate(m),g=JSON.stringify({Temperature:o.temperature?o.temperature:1,Stream:o.stream||!1,Model:o.model,Messages:o.messages.map((e=>({Role:e.role,Content:e.content})))}),f="content-type;host",y=getHash(g),w="TC3-HMAC-SHA256",_=h+"/"+u+"/tc3_request",k=w+"\n"+m+"\n"+_+"\n"+getHash("POST\n/\n\n"+("content-type:application/json; charset=utf-8\nhost:"+d+"\n")+"\n"+f+"\n"+y),T=sha256(h,"TC3"+c.secretKey),b=sha256(u,T),A=sha256("tc3_request",b),C=sha256(k,A,"hex"),v=w+" Credential="+c.secretId+"/"+_+", SignedHeaders="+f+", Signature="+C;try{const e=await fetch(`https://${d}`,{method:"POST",headers:{Authorization:v,Host:d,"Content-Type":"application/json; charset=utf-8","X-TC-Action":"ChatCompletions","X-TC-Timestamp":`${m}`,"X-TC-Version":"2023-09-01","X-TC-Region":p},body:g});if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$n(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=(await e.json()).Response,a=toOpenAIResponse(t.id,t.Choices[0].Message.Content,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function streamJsonResponseBodies$n(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$s.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$s.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$o(t,s)}catch(e){throw a.close(),e}}function onParse$o(e,t){try{const o=JSON.parse(e.data);if("stop"===o.Choices[0].FinishReason)return void t.endCallback();t.id||(t.id=o.Id),t.msgCallback(o.Choices[0].Delta.Content)}catch(e){throw e}}function sha256(e,t="",o){return crypto.createHmac("sha256",t).update(e).digest(o)}function getHash(e,t="hex"){return crypto.createHash("sha256").update(e).digest(t)}function getDate(e){const t=new Date(1e3*e);return`${t.getUTCFullYear()}-${("0"+(t.getUTCMonth()+1)).slice(-2)}-${("0"+t.getUTCDate()).slice(-2)}`}var __defProp$4=Object.defineProperty,__defNormalProp$4=(e,t,o)=>t in e?__defProp$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$4=(e,t,o)=>__defNormalProp$4(e,"symbol"!=typeof t?t+"":t,o);const encoder$r=new TextEncoder,FakeHeaders$3={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"},baseCookies="_gid=GA1.2.68066840.1717017781; _ga_K6D24EE9ED=GS1.1.1717087813.23.1.1717088648.0.0.0; _gat_gtag_UA_156449732_1=1; _ga_R1FN4KJKJH=GS1.1.1717087813.37.1.1717088648.0.0.0; _ga=GA1.1.1320014795.1715641484";class LmsysAPI{constructor(){__publicField$4(this,"baseUrl"),__publicField$4(this,"sessionHash"),__publicField$4(this,"cookie"),__publicField$4(this,"textModel"),__publicField$4(this,"stream"),__publicField$4(this,"ver",""),__publicField$4(this,"fn"),this.baseUrl="https://arena.lmsys.org"}init(e,t,o=null,a){this.textModel=o,this.fn=JSON.parse(t),this.sessionHash=this.generateHashFromUUID(e),this.stream=a}generateHashFromUUID(e){return crypto.createHash("sha1").update(e).digest("base64").replace(/[+/=]/g,"").substring(0,11).toLowerCase()}async rJoin(e){const t=await fetch(`${this.baseUrl}/queue/join?`,{method:"POST",headers:{...FakeHeaders$3,cookie:this.cookie,Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`},body:JSON.stringify(e)});if(t.headers.get("content-type").includes("application/json")){const e=await t.json();console.log(e);const o=t.headers.getSetCookie();for(const e of o)e.includes("SERVERID")&&(this.cookie=this.mergeCookies(baseCookies,e))}else{const e=await t.text();if(e.includes("Just a moment...")||e.includes("Attention Required! | Cloudflare"))throw new Error("被cf盾了")}}async getRequestAnswer(e=!1){const t=await fetch(`${this.baseUrl}/queue/data?session_hash=${this.sessionHash}`,{method:"GET",headers:{...FakeHeaders$3,cookie:this.cookie,accept:"text/event-stream",Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`}});if(!e)return;if(!t.ok)return errorResponse(t);const o=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(this.stream){const{readable:e,writable:t}=new TransformStream;return this.streamJsonResponseBodies(o,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={id:"",lastText:"",msgCallback:e=>{},endCallback:()=>{}};for(;;)try{const{done:e,value:t}=await o.read();if(e)break;if(!t)continue;onParse$n(t,a)}catch(e){throw e}const s=toOpenAIResponse(a.id,a.lastText,this.textModel,!1);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}async getAnswer(e){try{this.cookie=await this.fetchCookie();let t={data:[null,this.textModel,e,null],event_data:null,fn_index:this.fn.fn_index_send,trigger_id:this.fn.trigger_id,session_hash:this.sessionHash};await this.rJoin(t),await this.getRequestAnswer();const o={temperature:.7,topP:1,maxTokens:1024};return t={data:[null,`${o.temperature}`,`${o.topP}`,`${o.maxTokens}`],event_data:null,fn_index:this.fn.fn_index_recv,trigger_id:this.fn.trigger_id,session_hash:this.sessionHash},await this.rJoin(t),await this.getRequestAnswer(!0)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async fetchCookie(){if(""!==this.ver){const e=`SERVERID=${this.ver}|${Math.random().toString(36).substring(7)}`;return this.mergeCookies(baseCookies,e)}let e=0;for(;e<3;){e++;try{const e=await fetch(`${this.baseUrl}/info`,{method:"GET",headers:{...FakeHeaders$3,accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",cookie:baseCookies,Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`},body:null});if(e.headers.get("content-type").includes("application/json")){const t=e.headers.getSetCookie();for(const e of t)if(e.includes("SERVERID")){const t=this.getCookie(e,"SERVERID");if(!t)continue;const o=t.split("|");if(o.length<2||!o[0].startsWith("S")||"S0"===o[0])continue;this.ver=o[0];const a=`SERVERID=${this.ver}|${Math.random().toString(36).substring(7)}`;return this.mergeCookies(baseCookies,a)}}(await e.text()).includes("Just a moment...")&&console.log("被盾了"),await new Promise((e=>setTimeout(e,1e3)))}catch(e){console.error(e)}}return""}mergeCookies(e,t){return e+"; "+t}getCookie(e,t){const o=e.split(";");for(const e of o){const[o,a]=e.split("=");if(o.trim()===t)return a}}async clearChat(){const e={data:[],event_data:null,fn_index:50,trigger_id:118,session_hash:this.sessionHash};await this.rJoin(e),await this.getRequestAnswer()}async streamJsonResponseBodies(e,t){const o=t.getWriter();let a={id:"",lastText:"",msgCallback:e=>{o.write(encoder$r.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,this.textModel,!0))}\n\n`))},endCallback:()=>{o.write(encoder$r.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:s}=await e.read();if(t){o.close();break}if(!s)continue;onParse$n(s,a)}catch(e){throw o.close(),e}}}function onParse$n(e,t){try{const o=JSON.parse(e.data);if("unexpected_error"===o.msg)return t.msgCallback(o.message),void t.endCallback();if("close_stream"===o.msg)return void t.endCallback();if("estimation"===o.msg)return;if("process_starts"===o.msg)return;if("process_completed"===o.msg)return;if(t.id||(t.id=o.event_id),!o.output||!o.output.data||!o.output.data[0])return;const a=t.lastText;t.lastText=o.output.data[1][0][2].replace(/▌$/,""),t.msgCallback(t.lastText.substring(a.length))}catch(e){throw e}}const lmsysApi=new LmsysAPI;async function lmsys(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;const s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):'{"fn_index_send":52,"fn_index_recv":53,"trigger_id":110}',r=o.conversationId||getRandomUuidv4();return lmsysApi.init(r,s,o.model,o.stream),await lmsysApi.getAnswer(o.messages.pop().content)}const encoder$q=new TextEncoder;async function spark(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i,c]=s.split(separator),l=await getWebsocketUrl(o.model,i,c);const d=new WebSocket(l);if(d.onopen=()=>{const e={header:{app_id:r},parameter:{chat:{domain:o.model,temperature:o.temperature||.5,max_tokens:o.max_tokens||4096}},payload:{message:{text:o.messages}}};d.send(JSON.stringify(e))},o.stream){const{readable:p,writable:u}=new TransformStream,m=u.getWriter(),h={id:"",msgCallback:e=>{m.write(encoder$q.encode(`data: ${JSON.stringify(toOpenAIResponse(h.id,e,o.model,!0))}\n\n`))},endCallback:()=>{m.write(encoder$q.encode("data: [DONE]\n\n"))}};return d.onmessage=e=>{onParse$m(e,h)},d.onerror=e=>{h.msgCallback(e.message),m.close()},d.onclose=()=>{m.close()},new Response(p,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}try{async function waitForContent(){return new Promise(((e,t)=>{const a={id:"",content:"",msgCallback:e=>{a.content+=e},endCallback:()=>{e(toOpenAIResponse(a.id,a.content,o.model,!1))}};d.onmessage=e=>{onParse$m(e,a)},d.onerror=e=>{t(e.message)},d.onclose=()=>{""===a.content&&t("WebSocket closed before receiving content.")}}))}const g=await waitForContent();return new Response(JSON.stringify(g),{status:200,headers:{"Content-Type":"application/json"}})}catch(f){return new Response(f.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function getWebsocketUrl(e,t,o){let a="";switch(e){case"4.0Ultra":a="wss://spark-api.xf-yun.com/v4.0/chat";break;case"generalv3.5":a="wss://spark-api.xf-yun.com/v3.5/chat";break;case"generalv3":a="wss://spark-api.xf-yun.com/v3.1/chat";break;case"generalv2":a="wss://spark-api.xf-yun.com/v2.1/chat";break;case"general":a="wss://spark-api.xf-yun.com/v1.1/chat"}return new Promise(((e,s)=>{const r=new URL(a),i=(new Date).toUTCString(),c=`host: ${r.host}\ndate: ${i}\nGET ${r.pathname} HTTP/1.1`,l=crypto.createHmac("sha256",o).update(c).digest().toString("base64"),d=`api_key="${t}", algorithm="hmac-sha256", headers="host date request-line", signature="${l}"`,p=Buffer.from(d).toString("base64");e(`wss://${r.host}${r.pathname}?authorization=${p}&date=${i}&host=${r.host}`)}))}function onParse$m(e,t){try{const{header:o,payload:a}=JSON.parse(e.data);if(2==o.status)return t.msgCallback(a.choices.text[0].content),void t.endCallback();t.id||(t.id=o.sid),t.msgCallback(a.choices.text[0].content)}catch(e){throw e}}async function cloudflare(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{const e={messages:o.messages,stream:o.stream,temperature:o.temperature||.5},t=await fetch(`https://api.cloudflare.com/client/v4/accounts/${r}/ai/run/${o.model}`,{method:"POST",headers:{"content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify(e)});if(!t.ok)return errorResponse(t);if(o.stream){if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const e=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$m(e,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const a=await t.json(),s=toOpenAIResponse(getRandomUuidv4(),a.result.response,o.model,!1);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$p=new TextEncoder;async function streamJsonResponseBodies$m(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$p.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$p.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$l(t,s)}catch(e){throw a.close(),e}}function onParse$l(e,t){try{if("[DONE]"===e.data)return void t.endCallback();const o=JSON.parse(e.data);t.msgCallback(o.response)}catch(e){throw e}}const fakeHeaders$1={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"},mistral_ai_request_data={ory_session_key:"",ory_session_value:""},getCookie$1=()=>`${mistral_ai_request_data.ory_session_key}=${mistral_ai_request_data.ory_session_value};NEXT_LOCALE=en;ory_kratos_continuity=MTcxOTc3MDk2OHxEWDhFQVFMX2dBQUJFQUVRQUFCZl80QUFBUVp6ZEhKcGJtY01Jd0FoYjNKNVgydHlZWFJ2YzE5dmFXUmpYMkYxZEdoZlkyOWtaVjl6WlhOemFXOXVCbk4wY21sdVp3d21BQ1JpTmpOaFpqY3lOUzFsTURBNExUUXpPRGd0WVdKa05pMHpNRFUwWkRNMU1XTTVZalE9fPfD0SHupntGNg_XP_fUaHjsTLm9A0KmO1zh2MG71eLM;intercom-device-id-xel0jpx9=13cf9530-2b5d-4ee2-85e8-1f7c7f0423b1;intercom-session-xel0jpx9=U1I4MmFFRG1FN3RiNHdYaTFQNUNuL3RzaFdpQWpEMSs0U0FlSUlOMjR2V0pGeVZuK0FXT3lsMEJMa0FrSDZVTS0tRlJaSGZ1QXg1U2VYQTNxd2FUWkltZz09--495660161dc146e9de5bbdc172d8c5252df24db5;`;async function mistral_ai(e){var t,o,a;const s=Object.fromEntries(e.headers),r=await readBody(e),i=e.context.meta||r.meta;r.model=r.model&&"default"!==r.model?r.model:null==i?void 0:i.apiModel;let c=(null==i?void 0:i.apiKey)?i.apiKey:s.authorization?extractBearerToken(s.authorization):"",l=r.conversationId||"";i&&(l=i.apiConversationId?i.apiConversationId:l);try{const[e,s]=c.split(separator);mistral_ai_request_data.ory_session_key=e,mistral_ai_request_data.ory_session_value=s;let i=!1;if(""===l){const e=await fetch("https://chat.mistral.ai/api/trpc/message.newChat?batch=1",{headers:{...fakeHeaders$1,"content-type":"application/json",cookie:getCookie$1(),Referer:"https://chat.mistral.ai"},body:JSON.stringify({0:{json:{content:MergeMessages(r.messages),rag:!1}}}),method:"POST"});if(!e.ok)return errorResponse(e);let s=await e.json();l=null==(a=null==(o=null==(t=s[0].result)?void 0:t.data)?void 0:o.json)?void 0:a.chatId,i=!0}const removeConversationId=async()=>{0!=i&&removeConversation$1(l)},d=await fetch("https://chat.mistral.ai/api/chat",{method:"POST",headers:{...fakeHeaders$1,cookie:getCookie$1(),"Content-Type":"application/json",Referer:`https://chat.mistral.ai/chat/${l}`},body:JSON.stringify({chatId:l,model:r.model,messageInput:i?void 0:r.messages.pop().content,messageId:i?void 0:getRandomUuidv4(),mode:i?"retry":"append"})});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).getReader();if(r.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseString(p,t,r.model,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{u.content+=e}};for(;;){const{value:e,done:t}=await p.read();if(t){removeConversationId();break}if(!e)continue;const o=e.split("\n");for(let e=0;e0&&onParse$k(o[e],u)}return new Response(JSON.stringify(toOpenAIResponse(u.id,u.content,r.model,!1)),{status:d.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$o=new TextEncoder;async function streamJsonResponseString(e,t,o,a){const s=t.getWriter();let r={id:getRandomUuidv4(),msgCallback:e=>{s.write(encoder$o.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,o,!0))}\n\n`))},endCallback:()=>{s.write(encoder$o.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:o}=await e.read();if(t){s.close(),a&&a();break}if(!o)continue;const i=o.split("\n");for(let e=0;e0&&onParse$k(i[e],r)}catch(e){throw s.close(),e}}function onParse$k(e,t){try{const o=e[0];if("2"===o)return;if(""!==o&&o||t.endCallback(),"0"!==o)return;let a=e.slice(3,e.length-1);a=decodeEscapedCharacters(a),t.msgCallback(a)}catch(e){throw e}}function decodeEscapedCharacters(e){const t={"\\n":"\n","\\r":"\r","\\t":"\t","\\b":"\b","\\f":"\f","\\v":"\v","\\'":"'",'\\"':'"',"\\\\":"\\"};return e.replace(/\\(n|r|t|b|f|v|'|\"|\\)/g,(e=>t[e]))}async function removeConversation$1(e){(await fetch("https://chat.mistral.ai/api/trpc/chat.delete?batch=1",{headers:{...fakeHeaders$1,cookie:getCookie$1(),"content-type":"application/json",Referer:`https://chat.mistral.ai/chat/${e}`},method:"POST",body:JSON.stringify({0:{json:{id:e}}})})).ok||console.error("移除会话失败")}var __defProp$3=Object.defineProperty,__defNormalProp$3=(e,t,o)=>t in e?__defProp$3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$3=(e,t,o)=>__defNormalProp$3(e,t+"",o);class GoogleAuth{constructor(){__publicField$3(this,"googleTokenCache",{accessToken:"",expiry:0,client_id:"",client_secret:"",refresh_token:"",token_type:""})}async getGoogleCredentialsAccessToken(e,t,o){const a=Date.now()/1e3;if(this.googleTokenCache.accessToken&&a{let o="gcloud";"win32"===process.platform&&(o="gcloud.cmd");const a=spawn(o,["auth","print-access-token"]);let s="";a.stdout.on("data",(e=>{s+=e.toString()})),a.stderr.on("data",(e=>{console.error(`错误输出: ${e}`),t(new Error(`错误输出: ${e}`))})),a.on("close",(o=>{0!==o?t(new Error(`子进程退出,退出码 ${o}`)):e(s.trim())}))}))}}const encoder$n=new TextEncoder,auth$2=new GoogleAuth;async function anthropic(e){return await _anthropic(e,(async(t,o)=>await fetch("https://api.anthropic.com/v1/messages",{method:e.method,headers:{"Content-Type":"application/json","x-api-key":`${t}`,"anthropic-version":"2023-06-01"},body:JSON.stringify(o)})))}async function anthropic_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);return await _anthropic(e,(async(e,t)=>{if(e)if(e.includes("client_email")){const t=JSON.parse(e);e=await auth$2.getServiceAccountAccessToken(t.client_email,t.private_key)}else{const[t,o,a]=e.split(separator);e=await auth$2.getGoogleCredentialsAccessToken(t,o,a)}else e=await GoogleAuth.getGooglePrintAccessToken();t.anthropic_version="vertex-2023-10-16";const o=t.model;delete t.model;const a=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/anthropic/models/${o}:streamRawPredict`;return await fetch(a,{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${e}`},body:JSON.stringify(t)})}))}async function _anthropic(e,t){const o=Object.fromEntries(e.headers),a=await readBody(e),s=e.context.meta||a.meta,r=(null==s?void 0:s.apiKey)?s.apiKey:o.authorization?extractBearerToken(o.authorization):"";a.model=a.model&&"default"!==a.model?a.model:null==s?void 0:s.apiModel;let i="";"system"===a.messages[0].role&&(i=a.messages.shift().content);try{let e={model:a.model,temperature:a.temperature||1,max_tokens:a.max_tokens||4096,stream:a.stream||!1,system:i,messages:a.messages.map((e=>isArray(e.content)?{role:e.role,content:e.content.map((e=>"text"==e.type?e:"image_url"==e.type?{type:"image",source:{type:"base64",media_type:getMediaType(e.image_url.url)||"image/jpeg",data:e.image_url.url.split(",")[1]||""}}:void 0))}:e))};const o=await t(r,e);if(!o.ok)return errorResponse(o);if(e.stream){const e=o.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:t,writable:a}=new TransformStream;return streamJsonResponseBodies$l(e,a),new Response(t,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const s=await o.json();return new Response(JSON.stringify(toOpenAIResponse(s.id,s.content[0].text,s.model)),{status:o.status,headers:{"Content-Type":"application/json"}})}catch(e){return console.error(e),new Response(JSON.stringify(e),{status:404,headers:{"Content-Type":"application/json"}})}}async function streamJsonResponseBodies$l(e,t){const o=t.getWriter();let a={id:"",model:"",msgCallback:e=>{o.write(encoder$n.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,a.model,!0))}\n\n`))},endCallback:()=>{o.write(encoder$n.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$j(t,a)}catch(e){throw o.close(),e}}function onParse$j(e,t){try{if("message_start"===e.event){const o=JSON.parse(e.data);return t.id=o.message.id,void(t.model=o.message.model)}if("ping"===e.event)return;if("content_block_start"===e.event)return;if("content_block_stop"===e.event)return void t.endCallback();if("content_block_delta"===e.event){const o=JSON.parse(e.data);t.msgCallback(o.delta.text)}}catch(e){throw e}}async function coze_com(e){const t=await readBody(e),o=e.context.meta||t.meta;t.model=t.model&&"default"!==t.model?t.model:null==o?void 0:o.apiModel;const a=JSON.parse(o.apiKey);let s="";"system"===t.messages[0].role&&(s=t.messages.shift().content+"\r\n");let r={preset_bot:"coze_home",conversation_id:"7331923316200112146",local_message_id:randHex(21),content_type:"text",query:`${s}${t.messages.pop().content}`,extra:{},scene:3,draft_mode:!1,stream:!0,chat_history:[],mention_list:[],device_id:generateFixedIntegerFromDate(9)};return await _coze(e,a.msToken,r)}async function _coze(e,t,o){var a,s,r;const i=await readBody(e),c=e.context.meta||i.meta;i.model=i.model&&"default"!==i.model?i.model:null==c?void 0:c.apiModel;const l=getRandomUuidv4();o=(null==(a=null==c?void 0:c.data)?void 0:a.playground)?null==(s=null==c?void 0:c.data)?void 0:s.playground:o;let d=null==(r=null==c?void 0:c.data)?void 0:r.cozeUrl;d||(process.stdout.write(`cozecom#####${l}#####${t}#####${JSON.stringify(o)}`),d=await new Promise((e=>{let t=setTimeout((()=>{console.error("Timeout: waiting for input"),e(null)}),5e3);const listener=o=>{clearTimeout(t);let a=o.toString();a.startsWith(`cozecom#####${l}#####`)&&(e(a.replace(`cozecom#####${l}#####`,"")),process.stdin.removeListener("data",listener))};process.stdin.on("data",listener)})));try{let e=`https://www.coze.com${d}`;const t=await fetch(e,{method:"POST",headers:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate, br","Accept-Language":"zh-CN","Content-Type":"application/json",Cookie:"i18next=en; passport_csrf_token=f5179141c1974818e626f8f4cd7667f3; passport_csrf_token_default=f5179141c1974818e626f8f4cd7667f3; store-idc=maliva; store-country-code=us; store-country-code-src=uid; odin_tt=f250ba249e3e62f12828b4423305f4315d28c6384e25f27b18e03abd3f4fb3adf71d2c8933f8991cf5207eabf50816f29a748a040504109ab79f3adefc98e579; passport_auth_status=373fd7125b7fedd59554c0f74af2eef1%2C37c2226ca97696536053eba2f987c286; passport_auth_status_ss=373fd7125b7fedd59554c0f74af2eef1%2C37c2226ca97696536053eba2f987c286; sid_guard=26725e058894b05c76833ce275b577a9%7C1717046248%7C5184000%7CMon%2C+29-Jul-2024+05%3A17%3A28+GMT; uid_tt=82872796e139416ef645afbdf1a894c691e7e6938d08d0bb9a529b2cf3200a45; uid_tt_ss=82872796e139416ef645afbdf1a894c691e7e6938d08d0bb9a529b2cf3200a45; sid_tt=26725e058894b05c76833ce275b577a9; sessionid=26725e058894b05c76833ce275b577a9; sessionid_ss=26725e058894b05c76833ce275b577a9; sid_ucp_v1=1.0.0-KDMxNGViNTBjM2QyMTJkMDY4MWYwMmY0NzdhNGRhNDk5M2EzMzc3OWUKIAiCiNrm9b-O4GUQ6JfgsgYY1J0fIAwws_SArgY4CEASEAMaBm1hbGl2YSIgMjY3MjVlMDU4ODk0YjA1Yzc2ODMzY2UyNzViNTc3YTk; ssid_ucp_v1=1.0.0-KDMxNGViNTBjM2QyMTJkMDY4MWYwMmY0NzdhNGRhNDk5M2EzMzc3OWUKIAiCiNrm9b-O4GUQ6JfgsgYY1J0fIAwws_SArgY4CEASEAMaBm1hbGl2YSIgMjY3MjVlMDU4ODk0YjA1Yzc2ODMzY2UyNzViNTc3YTk; msToken=l1rZrtK7I-rrCvQNH5k-z6i935WDz7DRDxYHwizNU6uwPDmX0Dek0SLnPoCEpASUOEmk2K7w2lrBepnUvS4TqDWO2rPO4V6TE-iR5RV-nyCJH3UH4y3tHa6uPO_aZrFB; msToken=l1rZrtK7I-rrCvQNH5k-z6i935WDz7DRDxYHwizNU6uwPDmX0Dek0SLnPoCEpASUOEmk2K7w2lrBepnUvS4TqDWO2rPO4V6TE-iR5RV-nyCJH3UH4y3tHa6uPO_aZrFB; ttwid=1%7Cpzi23E8G88pA4Syzpvpe3MECptlFpQCGH5GavjMDgKo%7C1719135609%7C0a78e8782127db212f5ad28765891f30db6b5eea905a23fc2dee68fd9658cf99; s_v_web_id=verify_lxrcyeix_O8HV7nRd_mc2P_4ok7_9SDD_8784NSsd3sOP",Origin:"https://www.coze.com",Referer:"https://www.coze.com/home","sec-ch-ua":'"Not-A.Brand";v="99", "Chromium";v="124"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"Sec-Fetch-Dest":"empty","Sec-Fetch-Mode":"cors","Sec-Fetch-Site":"same-origin","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36","x-requested-with":"XMLHttpRequest"},body:JSON.stringify(o)});if(!t.ok)return errorResponse(t);if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const a=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(i.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$k(a,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{s.content+=e}};for(;;){const{value:e,done:t}=await a.read();if(t)break;e&&onParse$i(e,s)}const r=toOpenAIResponse(s.id,s.content,"",!1);return new Response(JSON.stringify(r),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$m=new TextEncoder;async function streamJsonResponseBodies$k(e,t){const o=t.getWriter();let a={id:getRandomUuidv4(),msgCallback:e=>{o.write(encoder$m.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$m.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$i(t,a)}catch(e){throw o.close(),e}}function onParse$i(e,t){try{if("done"===e.event||!e.data)return void t.endCallback();const o=JSON.parse(e.data);if("error"===e.event)return t.msgCallback(o.msg),void t.endCallback();if("answer"!=o.message.type)return;t.msgCallback(o.message.content)}catch(t){throw console.log(e),t}}async function coze_cn(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=r.token_url.toString()||"",c="",l="",d=null,p=o.model,u=o.conversationId||r.conversation_id.toString()||"";a&&(p=a.apiAgentId?a.apiAgentId:p,u=a.apiConversationId?a.apiConversationId:u);const m=JSON.parse(s);if(d={bot_id:p,conversation_id:u,local_message_id:randHex(21),content_type:"text",query:o.messages.pop().content,extra:{},scene:4,draft_mode:!0,stream:!0,chat_history:[],mention_list:[],device_id:"707811472",space_id:m.space_id},console.log("playground",d),!d.bot_id||!d.conversation_id)return new Response("apiAgentId或者apiConversationId没有配置",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});if(""!=i){console.log("token_url",i);const e=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)});if(!e.ok)return errorResponse(e);const t=await e.json();c=t.url,l=t.cookies,console.log("cozeUrl",t)}else{const e=getRandomUuidv4();process.stdout.write(`cozecn#####${e}#####${JSON.stringify({body:JSON.stringify(d)})}`),[c,l]=await new Promise((t=>{let o=setTimeout((()=>{console.error("Timeout: waiting for input"),t(null)}),2e3);const listener=a=>{clearTimeout(o);let s=a.toString();s.startsWith(`cozecn#####${e}#####`)&&(t(s.replace(`cozecn#####${e}#####`,"").split("#####")),process.stdin.removeListener("data",listener))};process.stdin.on("data",listener)}))}try{const e=await fetch(c,{method:"POST",headers:{accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","rpc-persist-mock-space-id":`${d.space_id}`,"rpc-persist-mock-traffic-caller-id":`${d.bot_id}`,"rpc-persist-mock-traffic-enable":"1","rpc-persist-mock-traffic-scene":"10000","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36",Referer:`https://www.coze.cn/space/${d.space_id}/bot/${d.bot_id}`,cookie:l},body:JSON.stringify(d)});if(!e.ok)return errorResponse(e);if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$j(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{a.content+=e}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$h(e,a)}const s=toOpenAIResponse(a.id,a.content,"",!1);return new Response(JSON.stringify(s),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$l=new TextEncoder;async function streamJsonResponseBodies$j(e,t){const o=t.getWriter();let a={id:getRandomUuidv4(),msgCallback:e=>{o.write(encoder$l.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$l.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$h(t,a)}catch(e){throw o.close(),e}}function onParse$h(e,t){try{if("done"===e.event||!e.data)return void t.endCallback();const o=JSON.parse(e.data);if("answer"!=o.message.type)return;t.msgCallback(o.message.content)}catch(e){throw e}}const FakeHeaders$2={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",Referer:"https://sdk.vercel.ai/","Referrer-Policy":"strict-origin-when-cross-origin"};function toBinary(e){let t=new Uint16Array(e.length);for(let o=0;o{let o=setTimeout((()=>{console.error("Timeout: waiting for input"),e(null)}),5e3);const listener=a=>{let s=a.toString();s.startsWith(`vercelai#####${t}#####`)&&(e(s.replace(`vercelai#####${t}#####`,"")),process.stdin.removeListener("data",listener)),clearTimeout(o)};process.stdin.on("data",listener)}));if(null===o)throw new Error("Timeout: waiting for input");e=JSON.parse(o.toString())}const r=await getAntiBotToken(e.Cookie),i=await fetch("https://sdk.vercel.ai/api/generate",{method:"POST",headers:{...e,"Content-Type":"application/json","Custom-Encoding":r},body:JSON.stringify({chatId:0,chatIds:[0],frequencyPenalty:0,maxTokens:o.max_tokens||4096,messages:o.messages,model:o.model,playgroundId:s,presencePenalty:0,stopSequences:[],temperature:o.temperature||.7,topP:o.topP||1})});if(!i.ok)return errorResponse(i);const c=null==(t=i.body)?void 0:t.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$i(c,t,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let l={id:getRandomUuidv4(),content:""};for(;;)try{const{value:e,done:t}=await c.read();if(t)break;if(!e)continue;l.content+=e}catch(e){throw e}const d=toOpenAIResponse(l.id,l.content,o.model,!1);return new Response(JSON.stringify(d),{status:i.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$k=new TextEncoder;async function streamJsonResponseBodies$i(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$k.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$k.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;s.msgCallback(t)}catch(e){throw a.close(),e}}async function cohere(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r={message:o.messages.pop().content,model:o.model,stream:o.stream,chat_history:o.messages.map((e=>{let t="";return"assistant"===e.role&&(t="CHATBOT"),"user"===e.role&&(t="USER"),"system"===e.role&&(t="SYSTEM"),{role:t,message:e.content}})),temperature:o.temperature||.3};try{const e=await fetch("https://api.cohere.com/v1/chat",{method:"POST",headers:{Authorization:`Bearer ${s}`,"content-type":"application/json",Connection:"Keep-alive",Accept:"*/*"},body:JSON.stringify(r)});if(!e.ok)return errorResponse(e);if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$h(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=await e.json(),a=toOpenAIResponse(t.generation_id,t.text,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$j=new TextEncoder;async function streamJsonResponseBodies$h(e,t,o){const a=t.getWriter();let s={id:"",msg:"",msgCallback:e=>{a.write(encoder$j.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$j.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$g(t,s)}catch(e){throw a.close(),e}}function onParse$g(e,t){try{if(t.msg+=e.trim(),"}"!==t.msg.charAt(t.msg.length-1))return;const o=JSON.parse(t.msg);if(t.msg="","stream-start"===o.event_type)return void(t.id=o.generation_id);if("stream-end"===o.event_type)return void t.endCallback();if("text-generation"!==o.event_type)return;o.text&&t.msgCallback(o.text)}catch(e){throw e}}const auth$1=new GoogleAuth;async function gemini(e){return await _gemini(e,(async(e,t,o,a)=>{const s=a.systemInstruction.parts[0].text;delete a.systemInstruction;const r=a.contents[a.contents.length-1].parts;for(let e=0;e{let t="";"assistant"===e.role&&(t="model"),"user"===e.role&&(t="user");const o=[];return isArray(e.content)?e.content.forEach((e=>{"text"==e.type&&o.push({text:e.text}),"image_url"==e.type&&o.push({inlineData:{mimeType:getMediaType(e.image_url.url)||"image/jpeg",data:e.image_url.url.split(",")[1]||""}})})):o.push({text:e.content}),{role:t,parts:o}})),systemInstruction:{parts:[{text:l}]},generationConfig:{temperature:r.temperature||1}};try{const e=await t(r.model,r.stream,c,d);if(!e.ok)return errorResponse(e);if(r.stream){const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:o,writable:a}=new TransformStream;return streamJsonResponseBodies$g(t,a,r.model),new Response(o,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const s=await e.json(),i=toOpenAIResponse(getRandomUuidv4(),null==(a=null==(o=s.candidates[0])?void 0:o.content.parts[0])?void 0:a.text,r.model,!1);return new Response(JSON.stringify(i),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function gemini_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);return await _gemini(e,(async(e,t,o,a)=>{if(o)if(o.includes("client_email")){const e=JSON.parse(o);o=await auth$1.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,a]=o.split(separator);o=await auth$1.getGoogleCredentialsAccessToken(e,t,a)}else o=await GoogleAuth.getGooglePrintAccessToken();const s=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/google/models/${e}:${t?"streamGenerateContent?alt=sse":"generateContent"}`;return await fetch(s,{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${o}`},body:JSON.stringify(a)})}))}const encoder$i=new TextEncoder;async function streamJsonResponseBodies$g(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$i.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$i.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;onParse$f(t,s)}catch(e){throw a.close(),e}}function onParse$f(e,t){var o,a;try{const s=JSON.parse(e.data);t.msgCallback(null==(a=null==(o=s.candidates[0])?void 0:o.content.parts[0])?void 0:a.text)}catch(e){throw e}}const FAKE_HEADERS$9={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","r-timezone":"Asia/Shanghai","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-msh-platform":"web","x-traffic-id":"co152og3r0723dm8icg0","Referrer-Policy":"strict-origin-when-cross-origin"},kimi_request_data={refresh_token:"",access_token:"",cookie:""};async function kimi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=JSON.parse(s);kimi_request_data.refresh_token=e.refresh_token,kimi_request_data.access_token=e.access_token,kimi_request_data.cookie=e.cookie;let t=o.conversationId||"";a&&(t=a.apiConversationId?a.apiConversationId:t);let r="",i=!1;if(""!==t)r=o.messages.pop().content;else{const e=await fetch("https://kimi.moonshot.cn/api/chat",{headers:{...FAKE_HEADERS$9,"content-type":"application/json",Referer:"https://kimi.moonshot.cn/",Authorization:`${kimi_request_data.access_token}`,cookie:kimi_request_data.cookie},body:JSON.stringify({name:"未命名会话",is_example:!1,born_from:"",kimiplus_id:"kimi"}),method:"POST"});if(!e.ok)return errorResponse(e);let a=await e.json();t=a.id,r=MergeMessages(o.messages),i=!0}const c=await fetch(`https://kimi.moonshot.cn/api/chat/${t}/completion/stream`,{method:"POST",headers:{...FAKE_HEADERS$9,Authorization:`${kimi_request_data.access_token}`,"content-type":"application/json",Referer:`https://kimi.moonshot.cn/chat/${t}`,cookie:kimi_request_data.cookie},body:JSON.stringify({messages:[{role:"user",content:r}],refs:[],use_search:!0,kimiplus_id:"kimi"})});if(!c.ok)return errorResponse(c);const l=c.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=i&&removeConversation(t)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$f(l,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let d={content:"",id:"",msgCallback:e=>{d.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await l.read();if(t){removeConversationId();break}e&&onParse$e(e,d)}return new Response(JSON.stringify(toOpenAIResponse(d.id,d.content,"",!1)),{status:c.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$e(e,t){try{const o=JSON.parse(e.data);if("resp"==o.event)return void(t.id=o.id);if("all_done"==o.event)return void t.endCallback();if("cmpl"!=o.event)return;t.msgCallback(o.text)}catch(e){throw e}}const encoder$h=new TextEncoder;async function streamJsonResponseBodies$f(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$h.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$h.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){o&&o(),a.close();break}if(!t)continue;onParse$e(t,s)}catch(e){throw a.close(),e}}async function removeConversation(e){(await fetch(`https://kimi.moonshot.cn/api/chat/${e}`,{headers:{...FAKE_HEADERS$9,"content-type":"application/json",Authorization:`${kimi_request_data.access_token}`,Referer:"https://kimi.moonshot.cn/kimiplus-square",cookie:kimi_request_data.cookie},method:"DELETE"})).ok||console.error("移除会话失败")}const auth=new GoogleAuth;async function openai_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);const l=Object.fromEntries(e.headers),d=await readBody(e),p=e.context.meta||d.meta;let u=(null==p?void 0:p.apiKey)?p.apiKey:l.authorization?extractBearerToken(l.authorization):"";if(d.model=d.model&&"default"!==d.model?d.model:null==p?void 0:p.apiModel,u)if(u.includes("client_email")){const e=JSON.parse(u);u=await auth.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,o]=u.split(separator);u=await auth.getGoogleCredentialsAccessToken(e,t,o)}else u=await GoogleAuth.getGooglePrintAccessToken();const m=`https://${i}-aiplatform.googleapis.com/v1beta1/projects/${c}/locations/${i}/endpoints/openapi/chat/completions`;return await requestOpenAI(m,u,d)}async function mistralai_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);const l=Object.fromEntries(e.headers),d=await readBody(e),p=e.context.meta||d.meta;let u=(null==p?void 0:p.apiKey)?p.apiKey:l.authorization?extractBearerToken(l.authorization):"";if(d.model=d.model&&"default"!==d.model?d.model:null==p?void 0:p.apiModel,u)if(u.includes("client_email")){const e=JSON.parse(u);u=await auth.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,o]=u.split(separator);u=await auth.getGoogleCredentialsAccessToken(e,t,o)}else u=await GoogleAuth.getGooglePrintAccessToken();const[m,h]=d.model.split("@");d.model=m;const g=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/mistralai/models/${m}@${h}:streamRawPredict`;return await requestOpenAI(g,u,d)}const gptToken={accessToken:"",oaiDid:"",cfClearance:"",device_id:""},userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",fakeHeaders={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json","oai-echo-logs":"0,25371,1,25374,0,30443,1,30448,0,30611,1,35675,0,36619,1,36622,0,36748","oai-language":"zh-CN",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-arch":'"x86"',"sec-ch-ua-bitness":'"64"',"sec-ch-ua-full-version":'"126.0.2592.81"',"sec-ch-ua-full-version-list":'"Not/A)Brand";v="8.0.0.0", "Chromium";v="126.0.6478.127", "Microsoft Edge";v="126.0.2592.81"',"sec-ch-ua-mobile":"?0","sec-ch-ua-model":'""',"sec-ch-ua-platform":'"Windows"',"sec-ch-ua-platform-version":'"15.0.0"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"};function getCookie(){return`oai-did=${gptToken.oaiDid};cf_clearance=${gptToken.cfClearance};`}async function chatgpt(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);const i=JSON.parse(s);gptToken.access_token=i.access_token,gptToken.oaiDid=i["oai-did"],gptToken.cfClearance=i.cf_clearance,gptToken.device_id=await getDeviceId();try{const e=o.messages;let t=getRandomUuidv4();e.length>=2&&"assistant"===e[e.length-2].role&&(t=e[e.length-2].id);let a="variant",s="",i=!1;r?s=e.pop().content:(a="next",i=!0,s=MergeMessages(e));const c={action:a,parent_message_id:t,websocket_request_id:getRandomUuidv4(),messages:[{id:getRandomUuidv4(),author:{role:"user"},content:{content_type:"text",parts:[s]},metadata:{}}],model:o.model,timezone_offset_min:-480,history_and_training_disabled:i,conversation_mode:{kind:"primary_assistant"},force_paragen:!1,force_paragen_model_slug:"",force_nulligen:!1,force_rate_limit:!1,reset_rate_limits:!1,force_use_sse:!0,conversation_origin:null,variant_purpose:"none"};r&&(c.conversation_id=r);const removeConversationId=async e=>{};let l=null;for(let e=0;e<3;e++)try{const e=await getRequirementsWithRetry(),t={...fakeHeaders,accept:"text/event-stream",authorization:"Bearer "+gptToken.access_token,Referer:r?`https://chatgpt.com/c/${r}`:"https://chatgpt.com","oai-device-id":gptToken.device_id,cookie:getCookie(),"openai-sentinel-chat-requirements-token":e.token};if(e.proofofwork&&e.proofofwork.required&&(t["openai-sentinel-proof-token"]=generateP(e.proofofwork.seed,e.proofofwork.difficulty,userAgent)),await new Promise((e=>setTimeout(e,1e3))),l=await fetch("https://chatgpt.com/backend-api/conversation",{method:"POST",headers:t,body:JSON.stringify(c)}),l.ok)break;await new Promise((e=>setTimeout(e,1e3)))}catch(e){throw e}if(!l.ok)return errorResponse(l);const d=l.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponse(d,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let p={id:"",conversation_id:"",lastText:"",model:"",msgCallback:e=>{},endCallback:()=>{}};for(;;){const{value:e,done:t}=await d.read();if(t){removeConversationId(p.conversation_id);break}e&&onParse$d(e,p)}return new Response(JSON.stringify(toOpenAIResponse(p.id,p.lastText,p.model,!1)),{status:l.status,headers:{"Content-Type":"application/json"}})}catch(e){return console.error(e),new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$g=new TextEncoder;async function streamJsonResponse(e,t,o){const a=t.getWriter();let s={id:"",conversation_id:"",lastText:"",model:"",msgCallback:e=>{a.write(encoder$g.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$g.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:r}=await e.read();if(t){a.close(),o&&o(s.conversation_id);break}if(!r)continue;onParse$d(r,s)}catch(e){throw a.close(),e}}function onParse$d(e,t){try{if("[DONE]"===e.data)return void t.endCallback();const o=JSON.parse(e.data);if(!o.message||!o.message.content.parts||"assistant"!==o.message.author.role)return;t.id||(t.id=o.message.id),t.conversation_id||(t.conversation_id=o.conversation_id),!t.model&&o.message.metadata&&(t.model=o.message.metadata.model_slug);for(const e of o.message.content.parts){const o=t.lastText;t.lastText=e,t.msgCallback(t.lastText.substring(o.length))}}catch(e){throw e}}async function getRequirementsWithRetry(e=3){let t;for(let o=0;osetTimeout(e,500)))}throw t}function generateP(e="",t="",o=null,a=[]){let s;if(a.length>0)s=a[a.length-1];else{let e=[3008,4010,6e3][Math.floor(3*Math.random())]*[1,2,4][Math.floor(3*Math.random())];e=2073600;s={screen:e,parseTime:(new Date).toUTCString(),userAgent:o,counter:0,url:"https://tcr9i.chat.openai.com/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js",dpl:"dpl=1440a687921de39ff5ee56b92807faaadce73f13",language:"en",languageRegion:"en-US",pluginArray:"plugins−[object PluginArray]",reactListening:["_reactListeningcfilawjnerp","_reactListening9ne2dfo1i47","_reactListening410nzwhan2a"][Math.floor(3*Math.random())],eventType:["alert","ontransitionend","onprogress"][Math.floor(3*Math.random())]}}const r=t.length;for(let o=0;o<1e5;o++){s.counter=o;const a=JSON.stringify(s),i=Buffer.from(a).toString("base64");if(crypto.createHash("sha3-512").update(e+i).digest("hex").slice(0,r)<=t)return"gAAAAAB"+i}return"gAAAAABwQ8Lk5FbGpA2NcR9dShT6gYjU7VxZ4D"+Buffer.from(`"${e}"`).toString("base64")}const encoder$f=new TextEncoder,FAKE_HEADERS$8={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site",Referer:"https://lyihub.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function lyihub(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);let i=!1;if(!r){const e=await fetch("https://api.lyihub.com/arena/battle",{headers:{...FAKE_HEADERS$8,Authorization:`bearer ${s}`},method:"POST"});if(!e.ok)return errorResponse(e);r=(await e.json()).id,i=!0}const c=MergeMessages(i?o.messages:["system"===o.messages[0].role?o.messages.shift():null,o.messages.pop()]);try{const e=await fetch("https://api.lyihub.com/arena/chat",{method:"POST",headers:{...FAKE_HEADERS$8,Authorization:`bearer ${s}`,"content-type":"application/json",accept:"text/event-stream"},body:JSON.stringify({sessionId:r,modelId:o.model,question:c})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$e(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={content:"",id:"",msgCallback:e=>{a.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$c(e,a)}return new Response(JSON.stringify(toOpenAIResponse(a.id,a.content,"",!1)),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$c(e,t){try{const o=JSON.parse(e.data);t.id||(t.id=o.session_id),t.msgCallback(o.data.content)}catch(e){throw e}}async function streamJsonResponseBodies$e(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$f.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$f.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){a.endCallback(),o.close();break}if(!t)continue;onParse$c(t,a)}catch(e){throw o.close(),e}}async function deepinfra(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;return(null==a?void 0:a.apiKey)?a.apiKey:t.authorization&&extractBearerToken(t.authorization),o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,await requestOpenAI("https://api.deepinfra.com/v1/openai/chat/completions","",o,{accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site","x-deepinfra-source":"web-page",Referer:"https://deepinfra.com/","Referrer-Policy":"strict-origin-when-cross-origin"})}async function replicate(e){Object.fromEntries(e.headers);const t=await readBody(e),o=e.context.meta||t.meta;t.model=t.model&&"default"!==t.model?t.model:null==o?void 0:o.apiModel;let a="";"system"===t.messages[0].role&&(a=t.messages.shift().content);let s=MergeMessages(t.messages);const r=await fetch(`https://replicate.com/api/models/${t.model}/predictions`,{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"same-origin",Referer:`https://replicate.com/${t.model}`},body:JSON.stringify({input:{top_p:.9,prompt:s,max_tokens:1024,min_tokens:0,temperature:.6,system_prompt:a,presence_penalty:0,frequency_penalty:0}}),method:"POST"});if(!r.ok)return errorResponse(r);const i=(await r.json()).urls.stream,c=await fetch(i,{headers:{accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site"},body:null,method:"GET"});if(!c.ok)return errorResponse(c);const l=c.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(t.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$d(l,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let d={content:"",id:"",msgCallback:e=>{d.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await l.read();if(t)break;e&&onParse$b(e,d)}return new Response(JSON.stringify(toOpenAIResponse(d.id,d.content,"",!1)),{status:c.status,headers:{"Content-Type":"application/json"}})}const encoder$e=new TextEncoder;async function streamJsonResponseBodies$d(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$e.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$e.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$b(t,a)}catch(e){throw o.close(),e}}function onParse$b(e,t){try{if("done"===e.event)return void(null==t||t.endCallback());if("output"!==e.event)return;if(t.id||(t.id=e.id.split(":")[0]),!e.data)return;t.msgCallback(e.data)}catch(e){throw e}}const encoder$d=new TextEncoder;async function vecmul(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=0,i=o.messages.pop().content;a.apiConversationId?r=o.messages.length-2:a.apiConversationId=getRandomUuidv4();try{let e="wss://api.vecmul.com/ws";s&&(e=`${e}?token=Bearer%20${s}`);const t=new WebSocket(e,void 0,{handshakeTimeout:3e3});if(t.on("open",(function(){t.send(JSON.stringify({type:"CHAT",spaceName:"Free Space",message:{isAnonymous:!0,rootMsgId:a.apiConversationId,public:!1,model:o.model,order:r,role:"user",content:i,fileId:null,relatedLinkInfo:null,messageType:"MESSAGE",fileKey:null,language:"zh-CN"}}))})),o.stream){const{readable:e,writable:o}=new TransformStream,a=o.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$d.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$d.encode("data: [DONE]\n\n")),t.close()}};return t.on("message",(function(e){onParse$a(e,s)})),t.on("error",(function(e){s.msgCallback(e.message)})),t.on("close",(function(){a.close()})),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let c={content:"",id:getRandomUuidv4(),msgCallback:e=>{c.content+=e},endCallback:()=>{t.close()}};return t.on("message",(function(e){onParse$a(e,c)})),t.on("error",(function(e){c.msgCallback(e.message)})),t.on("close",(function(){})),new Response(JSON.stringify(toOpenAIResponse(c.id,c.content,"",!1)),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$a(e,t){try{const o=JSON.parse(e);if("ERROR"==o.type)return t.msgCallback(o.data.message),void t.endCallback();if("AI_STREAM_MESSAGE"!=o.type)return;if("stop"==o.data.finishedReason||"end_turn"==o.data.finishedReason||null!=o.data.finishedReason)return void t.endCallback();t.msgCallback(o.data.content)}catch(e){throw e}}new TextEncoder;const FAKE_HEADERS$7={"Content-Type":"application/json",pragma:"no-cache","cache-control":"no-cache","sec-ch-ua":'"Chromium";v="128", "Not;A=Brand";v="24", "Microsoft Edge";v="128"',"x-title":"Magai","http-referer":"https://magai.co","sec-ch-ua-mobile":"?0","user-agent":generateRandomUserAgent(),"x-api-key":"","sec-ch-ua-platform":'"Windows"',accept:"*/*",origin:"https://app.magai.co","sec-fetch-site":"same-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty",referer:"https://app.magai.co/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",priority:"u=1, i"},magaiToken={cookie:"",appLastChange:"",currentPageItem:"",currentUser:""},UUID_LENGTH=1e18,MODULO=1e18;function generateUUID(){let e=Math.round(Math.random()*UUID_LENGTH);return`${Date.now()}x${pad(e,18)}`}function pad(e,t){let o=String(e);return o+new Array(t+1-o.length).join("0")}function createLUID(e="x",t=!0){let o=1900;return()=>{const a=Date.now();return t?`${a}${e}${o++}`:`${a}`}}function getRandomSeed(){return Math.round(Math.random()*UUID_LENGTH)%MODULO}function formatModelName(e){return e.replace(/[/:-]/g,"_").replace(/_+/g,"_").replace(/\./g,"_")}function findTokenInObject(e){for(const t in e){if("token"===t&&"string"==typeof e[t])return e[t];if("object"==typeof e[t]&&null!==e[t]){const o=findTokenInObject(e[t]);if(o)return o}}return null}function getLastUserContent(e){for(let t=e.length-1;t>=0;t--)if("user"===e[t].role)return e[t].content;return null}async function magai(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;const s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=JSON.parse(s);magaiToken.cookie=r.cookie,magaiToken.currentPageItem=r.CreatedBy,magaiToken.currentUser=r.CreatedBy,magaiToken.appLastChange=r.appLastChange;const i=r.CreatedBy.split("__")[0];try{magaiToken.currentPageItem=a.apiConversationId?`${i}__LOOKUP__${a.apiConversationId}`:magaiToken.currentPageItem;const e=await getNewToken(o.model,getLastUserContent(o.messages));return console.log(e),await requestOpenAI("https://live.proxy.magai.co:4430/opr/api/v1/chat/completions","",o,{...FAKE_HEADERS$7,token:e})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function getNewToken(e,t){const o=generateUUID(),a=magaiToken.currentPageItem.split("__")[0],s=magaiToken.currentUser.split("__")[2],r="037a52ff10ee72bcd845e75d5ec48ac2",i={app_last_change:magaiToken.appLastChange,calls:[{client_state:{element_instances:{bUNib7:{dehydrated:`${a}__LOOKUP__ElementInstance::bUNib7`,parent_element_id:"bUMiq3"},bTezP:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezP`,parent_element_id:"bTezJ"},bTezE:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezE`,parent_element_id:"bTeqc"},bTezJ:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezJ`,parent_element_id:"bUKFL2"},bTezQ:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezQ`,parent_element_id:"bUKFL2"},bUiru0:{dehydrated:`${a}__LOOKUP__ElementInstance::bUiru0`,parent_element_id:"bUjNK"},bUDVj0:{dehydrated:`${a}__LOOKUP__ElementInstance::bUDVj0`,parent_element_id:"bUMiq3"},bUXzm2:{dehydrated:`${a}__LOOKUP__ElementInstance::bUXzm2`,parent_element_id:"bUMhk3"},bUifI1:{dehydrated:`${a}__LOOKUP__ElementInstance::bUifI1`,parent_element_id:"bTeqg"},bUMiq3:{dehydrated:`${a}__LOOKUP__ElementInstance::bUMiq3`,parent_element_id:"bTezE"},bTekm:{dehydrated:`${a}__LOOKUP__ElementInstance::bTekm`,parent_element_id:null}},element_state:{[`${a}__LOOKUP__ElementInstance::bTezP`]:{is_visible:!0,value_that_is_valid:t,value:t},[`${a}__LOOKUP__ElementInstance::bTezE`]:{"custom.images_":null,"custom.file_":null,"custom.file_content_":null,"custom.file_name_":null,"custom.file_type_":null},[`${a}__LOOKUP__ElementInstance::bTezJ`]:{"custom.isrecording_":null,"custom.prompt_":null},[`${a}__LOOKUP__ElementInstance::bUiru0`]:{AAE:t},[`${a}__LOOKUP__ElementInstance::bUDVj0`]:{AAE:t},[`${a}__LOOKUP__ElementInstance::bUifI1`]:{"custom.is_visible_":null,group_data:null},[`${a}__LOOKUP__ElementInstance::bUMiq3`]:{group_data:null}},other_data:{"Current Page Scroll Position":0,"Current Page Width":661},cache:{[`${r}`]:formatModelName(e),CurrentPageItem:magaiToken.currentPageItem,CurrentUser:magaiToken.currentUser},exists:{[`${r}`]:!0,CurrentPageItem:!0,CurrentUser:!0}},run_id:generateUUID(),server_call_id:o,item_id:"bUNih7",element_id:"bUNib7",page_id:"bTekm",uid_generator:{timestamp:Date.now(),seed:getRandomSeed()},random_seed:Math.random(),current_date_time:(new Date).getTime(),current_wf_params:{}}],client_breaking_revision:5,timezone_offset:-480,timezone_string:"Asia/Shanghai",user_id:s,wait_for:[]},c=await fetch("https://app.magai.co/workflow/start",{method:"POST",headers:{...FAKE_HEADERS$7,"x-bubble-fiber-id":generateUUID(),"x-bubble-pl":createLUID()(),accept:"application/json, text/javascript, */*; q=0.01",cookie:magaiToken.cookie},body:JSON.stringify(i)}),l=await c.json();if(l.error_class)throw new Error(l.message);const d=l[o];if(!d||!d.step_results)return null;for(const e in d.step_results){const t=d.step_results[e];if("object"==typeof t.return_value&&null!==t.return_value){const e=findTokenInObject(t.return_value);if(e)return e}}}async function azure(e){var t,o,a;const s=getQuery(e);let r=s["api-version"]||(null==(t=e.context.meta)?void 0:t.query["api-version"]),i=s.resource||(null==(a=null==(o=e.context.meta)?void 0:o.query)?void 0:a.resource);const c=Object.fromEntries(e.headers),l=await readBody(e),d=e.context.meta||l.meta;let p=(null==d?void 0:d.apiKey)?d.apiKey:c.authorization?extractBearerToken(c.authorization):"";l.model=l.model&&"default"!==l.model?l.model:null==d?void 0:d.apiModel;const u=`https://${i}.openai.azure.com/openai/deployments/${l.model}/chat/completions?api-version=${r}`;return console.log(u,p,l),await requestOpenAI(u,p,l,{"api-key":p})}const FakeHeaders$1={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",Accept:"*/*","Accept-Language":"en-US,en;q=0.5","Accept-Encoding":"gzip, deflate, br",Referer:"https://www.blackbox.ai","Content-Type":"application/json",Origin:"https://www.blackbox.ai",DNT:"1","Sec-GPC":"1","Alt-Used":"www.blackbox.ai",Connection:"keep-alive"};async function blackbox(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s),i=randHex(7);o.messages.map((e=>{e.id=randHex(7)}));let c="";"system"===o.messages[0].role&&(c=o.messages.shift().content);try{const e=await fetch("https://www.blackbox.ai/api/chat",{method:"POST",headers:{...FakeHeaders$1,Referer:`https://www.blackbox.ai/chat/${i}`,cookie:r.cookie},body:JSON.stringify({messages:o.messages,id:i,previewToken:null,userId:null,codeModelMode:!0,agentMode:{},trendingAgentMode:{},isMicMode:!1,userSystemPrompt:c,maxTokens:o.max_tokens||1024,playgroundTopP:.9,playgroundTemperature:.5,isChromeExt:!1,githubToken:null,clickedAnswer2:!1,clickedAnswer3:!1,clickedForceWebSearch:!1,visitFromDelta:!1,mobileClient:!1,userSelectedModel:o.model,validated:"69783381-2ce4-4dbd-ac78-35e9063feabc"})});if(!e.ok)return errorResponse(e);if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$c(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=await e.json(),a=toOpenAIResponse(t.generation_id,t.text,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$c=new TextEncoder;async function streamJsonResponseBodies$c(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$c.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$c.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;s.msgCallback(t)}catch(e){throw a.close(),e}}async function zed(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const[r,i]=o.model.split(":");let c="";"system"===o.messages[0].role&&(c=o.messages.shift().content),console.log(s),console.log(JSON.stringify({provider:r,model:i,provider_request:{model:i,max_tokens:(null==o?void 0:o.max_tokens)||8192,messages:o.messages.map((e=>({role:e.role,content:[{type:"text",text:e.content}]}))),system:c,temperature:(null==o?void 0:o.temperature)||1}}));try{const e=await fetch("https://llm.zed.dev/completion",{method:"POST",headers:{"content-type":"application/json; charset=UTF-8",authorization:`Bearer ${s}`,"user-agent":"Zed/0.165.0 (windows; x86_64)",accept:"*/*"},body:JSON.stringify({provider:r,model:i,provider_request:{model:i,max_tokens:(null==o?void 0:o.max_tokens)||8192,messages:o.messages.map((e=>({role:e.role,content:[{type:"text",text:e.content}]}))),system:c,temperature:(null==o?void 0:o.temperature)||1}})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$b(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}if(e.ok){const t=await e.json();return new Response(JSON.stringify(t),{status:e.status,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}return errorResponse(e)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$b=new TextEncoder;async function streamJsonResponseBodies$b(e,t,o){const a=t.getWriter();let s={id:"",model:"",msgCallback:e=>{a.write(encoder$b.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$b.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;try{const e=t.split("\n");for(let t=0;t{a.write(encoder$a.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$a.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){s.endCallback(),o&&o(),a.close();break}if(!t)continue;onParse$8(t,s)}catch(e){throw a.close(),e}}const claude_request_data={cookie:"",lastActiveOrg:""},FAKE_HEADERS$5={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",pragma:"no-cache",priority:"u=1, i","Referrer-Policy":"strict-origin-when-cross-origin","cache-control":"no-cache","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","anthropic-client-sha":"unknown","anthropic-client-version":"unknown"};async function claude(e){const t=getQuery(e),o=Object.fromEntries(e.headers),a=await readBody(e),s=e.context.meta||a.meta;a.model=a.model&&"default"!==a.model?a.model:null==s?void 0:s.apiModel;let r=(null==s?void 0:s.apiKey)?s.apiKey:o.authorization?extractBearerToken(o.authorization):"";try{const e=JSON.parse(r);claude_request_data.cookie=e.cookie,claude_request_data.lastActiveOrg=e.lastActiveOrg,console.log("claude_request_data",claude_request_data);let o=a.conversationId||"";s&&(o=s.apiConversationId?s.apiConversationId:o);let c=!1,l="";if(""===o)try{let e="https://claude.ai";t.proxyurl&&(e=t.proxyurl.toString()+"?url="+e),console.log(`${e}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations`);const s=await fetch(`${e}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations`,{headers:{...FAKE_HEADERS$5,"content-type":"application/json",Referer:"https://claude.ai/chats",cookie:claude_request_data.cookie},body:JSON.stringify({include_conversation_preferences:!0,name:"",uuid:getRandomUuidv4()}),method:"POST"});var i=await s.json();if(console.log("创建会话结果",i),i.error)return new Response(JSON.stringify(i),{status:400,headers:{"Content-Type":"application/json; charset=utf-8"}});o=i.uuid,c=!0,l=MergeMessages(a.messages),await new Promise((e=>setTimeout(e,500)))}catch(e){console.error("创建会话失败",e)}else l=a.messages.pop().content;if(!o)return new Response("获取convid失败",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});let d="https://claude.ai";t.proxyurl&&(d=t.proxyurl.toString()+"?stream=true&url="+d);const p=await fetch(`${d}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations/${o}/completion?rendering_mode=raw`,{method:"POST",headers:{...FAKE_HEADERS$5,"content-type":"application/json",accept:"text/event-stream, text/event-stream",Referer:`https://claude.ai/chat/${o}`,cookie:claude_request_data.cookie},body:JSON.stringify({prompt:l,timezone:"America/Sitka",rendering_mode:"raw",attachments:[],files:[]})});if(0==p.ok){i=await p.json();return new Response(JSON.stringify(i),{status:400,headers:{"Content-Type":"application/json; charset=utf-8"}})}const u=p.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=c&&async function(){}()};if(a.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$9(u,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let m={id:"",content:"",model:"",msgCallback:e=>{m.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await u.read();if(t){removeConversationId();break}e&&onParse$7(e,m)}return new Response(JSON.stringify(toOpenAIResponse(m.id,m.content,m.model,!1)),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$7(e,t){try{if("completion"!==e.event)return;const o=JSON.parse(e.data);if("stop_sequence"===o.stop_reason)return;t.id||(t.id=o.id),t.model||(t.model=o.model),t.buffer||(t.buffer=""),void 0===t.isCapturingArtifact&&(t.isCapturingArtifact=!1),void 0===t.artifactBuffer&&(t.artifactBuffer=null),void 0===t.artifactType&&(t.artifactType=null),t.buffer+=o.completion;const a=t.buffer.indexOf("=0&&!t.isCapturingArtifact){a>0&&t.msgCallback(t.buffer.substring(0,a)),t.isCapturingArtifact=!0,t.artifactBuffer=t.buffer.substring(a);const e=t.artifactBuffer.match(/type="([^"]+)"/);return e&&(t.artifactType=e[1]),void(t.buffer="")}if(t.isCapturingArtifact&&null!==t.artifactBuffer){t.artifactBuffer+=o.completion;const e=t.artifactBuffer.indexOf("");if(e>=0){const o=t.artifactBuffer.substring(0,e+14).match(/]*>([\s\S]*)<\/antArtifact>/);if(o){const e=o[1].trim();let a="text";t.artifactType&&(t.artifactType.startsWith("text/")?a=t.artifactType.substring(5):t.artifactType.includes("javascript")?a="javascript":t.artifactType.includes("typescript")&&(a="typescript"));const s=`\`\`\`${a}\n${e}\n\`\`\``;t.msgCallback(s)}e+14{a.write(encoder$9.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$9.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){o&&o(),s.endCallback(),a.close();break}if(!t)continue;onParse$7(t,s)}catch(e){throw a.close(),e}}const encoder$8=new TextEncoder;async function deepseek(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="https://api.deepseek.com/chat/completions";const i=getQuery(e);i.url&&(r=i.url.toString());try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({messages:o.messages,model:o.model,max_tokens:o.max_tokens||4096,temperature:o.temperature||.1,top_p:o.top_p||1,stream:o.stream||!1})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$8(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$6(e,t){try{const o=JSON.parse(e.data),a=t.content;t.content=o.choices[0].message.content,t.msgCallback(t.content.slice(a.length))}catch(e){throw e}}async function streamJsonResponseBodies$8(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),model:"",content:"",msgCallback:e=>{a.write(encoder$8.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$8.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;console.log(t),onParse$6(t,s)}catch(e){throw a.close(),e}}var __defProp$2=Object.defineProperty,__defNormalProp$2=(e,t,o)=>t in e?__defProp$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$2=(e,t,o)=>__defNormalProp$2(e,"symbol"!=typeof t?t+"":t,o);class DeepSeekHash{constructor(){__publicField$2(this,"wasmInstance"),__publicField$2(this,"offset",0),__publicField$2(this,"cachedUint8Memory",null),__publicField$2(this,"cachedTextEncoder",new TextEncoder)}encodeString(e,t,o){if(!o){const o=this.cachedTextEncoder.encode(e),a=t(o.length,1)>>>0;return this.getCachedUint8Memory().subarray(a,a+o.length).set(o),this.offset=o.length,a}const a=e.length;let s=t(a,1)>>>0;const r=this.getCachedUint8Memory();let i=0;for(;i127)break;r[s+i]=t}if(i!==a){i>0&&(e=e.slice(i)),s=o(s,a,i+3*e.length,1)>>>0;i+=this.cachedTextEncoder.encodeInto(e,this.getCachedUint8Memory().subarray(s+i,s+i+3*e.length)).written,s=o(s,i+3*e.length,i,1)>>>0}return this.offset=i,s}getCachedUint8Memory(){return null!==this.cachedUint8Memory&&0!==this.cachedUint8Memory.byteLength||(this.cachedUint8Memory=new Uint8Array(this.wasmInstance.memory.buffer)),this.cachedUint8Memory}calculateHash(e,t,o,a,s){if("DeepSeekHashV1"!==e)throw new Error("Unsupported algorithm: "+e);const r=`${o}_${s}_`;try{const e=this.wasmInstance.__wbindgen_add_to_stack_pointer(-16),o=this.encodeString(t,this.wasmInstance.__wbindgen_export_0,this.wasmInstance.__wbindgen_export_1),s=this.offset,i=this.encodeString(r,this.wasmInstance.__wbindgen_export_0,this.wasmInstance.__wbindgen_export_1),c=this.offset;this.wasmInstance.wasm_solve(e,o,s,i,c,a);const l=new DataView(this.wasmInstance.memory.buffer),d=l.getInt32(e+0,!0),p=l.getFloat64(e+8,!0);if(0===d)return;return p}finally{this.wasmInstance.__wbindgen_add_to_stack_pointer(16)}}async init(e){const{instance:t}=await WebAssembly.instantiate(e,{wbg:{}});return this.wasmInstance=t.exports,this.wasmInstance}}const encoder$7=new TextEncoder,FAKE_HEADERS$4={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-app-version":"20241129.1",cookie:"smidV2=202501071758311c8fb048f29cd7f7cc31db1011a681f00096d072af8bd8300; .thumbcache_6b2e5483f9d858d7c661c5e276b6a6ae=fNcJ2RnfL30O9J5gHnkBTP0/MxQ6s2tURNvV3+9Y8Vn4zHZ4ZSBC2leidije5bTrV2JKqJQyyRAjIgJ6G0pbAA%3D%3D; intercom-device-id-guh50jw4=e051c3da-f78b-49ce-9708-b08849c433d6; Hm_lvt_fb5acee01d9182aabb2b61eb816d24ff=1736382697,1736771276,1736781381,1736781753; Hm_lpvt_fb5acee01d9182aabb2b61eb816d24ff=1736781753; HMACCOUNT=3D9A9797304A080B; ds_session_id: 1538d1ad1e31466abe60d85251028d3d; Hm_lvt_1fff341d7a963a4043e858ef0e19a17c=1736382699,1736770543,1736781385,1736781873; Hm_lpvt_1fff341d7a963a4043e858ef0e19a17c=1736781873; HWWAFSESTIME=1736781870960; ds_session_id=c005b2072f60496fbaff10522f5e8138; HWWAFSESID=8a834f1a13a60202cc; intercom-session-guh50jw4=SW1SSVoxaVl4ZEdMdCtDMEFGTlhJSjRPUHRJeWR1WHBaUWMxM3E3VGt1cnY5UmpaY0VveTdlbHU5UVdhT3dEUi0tb0JIVi95amViZWpTQUFXRUdmMHZxZz09--918bff8581dee8d3bfa33c8b274139df40248990",Referer:"https://chat.deepseek.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function deepseek_com(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="https://chat.deepseek.com";const i=getQuery(e);i.proxy&&process.env.USE_DEEPSEEK_PROXY&&(r=i.proxy.toString()),i.proxyurl&&process.env.USE_DEEPSEEK_PROXY&&(r=i.proxyurl.toString()+"?url="+r);try{let e=o.conversationId||"";a&&(e=a.apiConversationId?a.apiConversationId:e);let t="",i=!1;if(""!==e)t=o.messages.pop().content;else{const a=await fetch(`${r}/api/v0/chat_session/create`,{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({character_id:null}),method:"POST"});if(!a.ok)return errorResponse(a);let c=await a.json();if(0!=c.code)throw new Error(c.msg);e=c.data.biz_data.id,t=MergeMessages(o.messages),i=!0}const c=await getChallengeResponse(s,"/api/v0/chat/completion"),l=await answerChallenge(c,"/api/v0/chat/completion");let d=!1;o.model.includes("deepseek-reasoner")&&(d=!0);const p=await fetch(`${r}/api/v0/chat/completion`,{method:"POST",headers:{...FAKE_HEADERS$4,Authorization:`Bearer ${s}`,"content-type":"application/json","X-Ds-Pow-Response":l},body:JSON.stringify({chat_session_id:e,parent_message_id:null,prompt:t,ref_file_ids:[],thinking_enabled:d,search_enabled:!1})});if(!p.ok)return errorResponse(p);const u=p.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{if(0==i)return;(await fetch(`${r}/api/v0/chat_session/delete`,{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({chat_session_id:e}),method:"POST"})).ok||console.error("移除会话失败")};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$7(u,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let m={content:"",id:getRandomUuidv4(),model:"",msgCallback:e=>{m.content+=e.content}};for(;;){const{value:e,done:t}=await u.read();if(t){removeConversationId();break}e&&onParse$5(e,m)}return new Response(JSON.stringify(toOpenAIResponse(m.id,m.content,m.model,!1)),{status:p.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$5(e,t){try{if("[DONE]"===e.data)return;const o=JSON.parse(e.data);t.model||(t.model=o.model),t.msgCallback(o.choices[0].delta)}catch(e){throw e}}async function streamJsonResponseBodies$7(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),model:"",msgCallback:e=>{a.write(encoder$7.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e.content,s.model,!0,e.type))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$7.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;onParse$5(t,s)}catch(e){throw a.close(),e}}function generateCookie(){return`intercom-HWWAFSESTIME=${timestamp()}; HWWAFSESID=${randHex(18)}; Hm_lvt_${uuid(!1)}=${unixTimestamp()},${unixTimestamp()},${unixTimestamp()}; Hm_lpvt_${uuid(!1)}=${unixTimestamp()}; _frid=${uuid(!1)}; _fr_ssid=${uuid(!1)}; _fr_pvid=${uuid(!1)}`}async function answerChallenge(e,t){const{algorithm:o,challenge:a,salt:s,difficulty:r,expire_at:i,signature:c}=e,l=new DeepSeekHash,d=await useStorage("assets:server").getItemRaw("sha3_wasm_bg.7b9ca65ddd.wasm");await l.init(d);const p=l.calculateHash(o,a,s,r,i);return Buffer.from(JSON.stringify({algorithm:o,challenge:a,salt:s,answer:p,signature:c,target_path:t})).toString("base64")}async function getChallengeResponse(e,t){const o=await fetch("https://chat.deepseek.com/api/v0/chat/create_pow_challenge",{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${e}`,Cookie:generateCookie()},body:JSON.stringify({target_path:t}),method:"POST"});return(await o.json()).data.biz_data.challenge}const encoder$6=new TextEncoder,qwenlmData={cookies:"",token:""},FAKE_HEADERS$3={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","bx-v":"2.5.0","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin"};async function t2i(e,t){let o="1024*1024";"IMAGE_ASPECT_RATIO_SQUARE"===t.aspectRatio?o="1024*1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===t.aspectRatio?o="768*1024":"IMAGE_ASPECT_RATIO_LANDSCAPE"===t.aspectRatio?o="1024*768":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===t.aspectRatio?o="720*1280":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===t.aspectRatio&&(o="1280*720");const a=Array(2).fill(null).map((()=>(async()=>{const t=await fetch("https://chat.qwenlm.ai/api/chat/completions",{headers:{...FAKE_HEADERS$3,Authorization:`Bearer ${qwenlmData.token}`,"content-type":"application/json",cookie:qwenlmData.cookies},body:JSON.stringify({stream:!1,chat_type:"t2i",model:"qwen-max-latest",messages:e.messages,session_id:getRandomUuidv4(),chat_id:getRandomUuidv4(),id:getRandomUuidv4(),size:o}),method:"POST"});return t.ok?(await t.json()).messages.pop().extra.wanx.task_id:(console.error(await t.text()),"")})())),s=await Promise.all(a),r=await Promise.all(s.filter((e=>""!=e)).map((async t=>{try{const o=await(async(e,t=30)=>{let o=null;for(let a=0;asetTimeout(e,s)))}catch(e){o=e,console.error(`Attempt ${a+1} failed:`,e)}throw new Error(`Task check failed after ${t} attempts. Last error: ${null==o?void 0:o.message}`)})(t);return{model:e.model,url:o}}catch(t){return{model:e.model,url:null,error:t.message}}})));return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),r.filter((e=>null!=e.url)).map((e=>({model:e.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}async function qwenlm(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s);qwenlmData.cookies=r.cookies,qwenlmData.token=r.token;try{if(o.model.includes("image"))return await t2i(o,a);if(o.model.includes("vl")){const e=o.messages.pop();if("user"===e.role&&Array.isArray(e.content)){const t=await Promise.all(e.content.map((async e=>{if("image_url"===e.type){const t=e.image_url.url,o=await fetch(t),a=await o.blob(),s=new FormData;s.append("file",a);const r=await fetch("https://chat.qwenlm.ai/api/v1/files/",{method:"POST",headers:{accept:"application/json",authorization:`Bearer ${qwenlmData.token}`,cookie:qwenlmData.cookies},body:s});return{type:"image",image:(await r.json()).id}}return e}))),a={role:e.role,content:t};o.messages.push(a)}else o.messages.push(e)}const e=await fetch("https://chat.qwenlm.ai/api/chat/completions",{method:"POST",headers:{...FAKE_HEADERS$3,Authorization:`Bearer ${qwenlmData.token}`,"content-type":"application/json",cookie:qwenlmData.cookies},body:JSON.stringify({chat_type:"t2t",stream:o.stream,model:o.model,messages:o.messages,session_id:getRandomUuidv4(),chat_id:getRandomUuidv4(),id:getRandomUuidv4()})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:a}=new TransformStream;return streamJsonResponseBodies$6(t,a,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s={content:"",id:getRandomUuidv4(),model:o.model,msgCallback:e=>{s.content+=e}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$4(e,s)}return new Response(JSON.stringify(toOpenAIResponse(s.id,s.content,s.model,!1)),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function streamJsonResponseBodies$6(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),lastContent:"",msgCallback:e=>{a.write(encoder$6.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.write(encoder$6.encode("data: [DONE]\n\n")),a.close();break}if(!t)continue;onParse$4(t,s)}catch(e){throw a.close(),e}}function onParse$4(e,t){try{const o=JSON.parse(e.data).choices[0].delta.content,a=o.slice(t.lastContent?t.lastContent.length:0);t.lastContent=o,t.msgCallback(a)}catch(e){throw e}}const FAKE_HEADERS$2={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","request-id":"|1b9e4c7cc9a14d26908656ee722fa2a9.82541aef7ca2400c","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",traceparent:"00-1b9e4c7cc9a14d26908656ee722fa2a9-82541aef7ca2400c-01"},genspark_request_data={cookie:""},models=["flux","flux-pro/ultra","ideogram","recraft-v3","dalle-3"];async function genspark$1(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=o.conversationId||r.id||"716153ac-629f-4f31-b93c-e9231f37a770";a&&(i=a.apiConversationId?a.apiConversationId:i);try{const e=JSON.parse(s);genspark_request_data.cookie=e.cookie;const t=o.messages[o.messages.length-1].content,r=[];let c="auto";if("IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?c="1:1":"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?c="9:16":"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?c="16:9":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?c="3:4":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(c="4:3"),"mixture"==o.model){const getRandomElements=(e,t)=>[...e].sort((()=>.5-Math.random())).slice(0,t);getRandomElements(models,4).forEach((e=>{r.push({model:e,aspect_ratio:c,use_personalized_models:!1,fashion_profile_id:null,hd:!1,reflection_enabled:!1,style:"auto"})}))}else r.push({model:o.model,aspect_ratio:c,use_personalized_models:!1,fashion_profile_id:null,hd:!1,reflection_enabled:!1,style:"auto"});const l={type:"COPILOT_MOA_IMAGE",current_query_string:i?`id=${i}&type=COPILOT_MOA_IMAGE`:"type=COPILOT_MOA_IMAGE",messages:[{role:"user",content:t}],user_s_input:t,action_params:{},extra_data:{model_configs:r,llm_model:"gpt-4o",imageModelMap:{}},g_recaptcha_token:"03AFcWeA6wUDY_VmPKeJmFr3bfCz8uVjmlXZrc3Ls_Id2RBbZyAmmmvwf1RTspIbQVMP4uX9gDLURkOSd5750z8pXBJh9vwXA7PXjn8u9d9GyXQufPRxbSfsTMCxaAqXojjCghlVvIq05MGL5EOxufH1VVtutn3-lMXA_o4V8k3PjohVwSwLK5e1MlXr0leFkfZthFLIkShTaX8sg3hbQGhqOEno7MRQaN1fTZAQc0b0DPfSQdAdvj5zX3jJxMXcGMgWebC_-UH5w_HMBmBfNd9Qskhx-H9hbdN6tdC1H8ITnsqREfjcJpYs6OMJRg4bhOpJZWrqWn01nKF_BoHaHofmgNziA8y9JdgvB4TIiZIcc-_IxCKKZ7K9lsv1kNQPrAvqohyOL_1VzTW80oebLppPuNwytRjV7zNDr2OJOILxOBsKIS2YfFvOImJLrGo0gEk_QNhAJ9wzNnyLpERr3TFzXMzwco1o3PR_ZmpCOMYlE-Z9QG6vo6wWZEqXUKkEJjiowV93uygaeaI5NwmnYtxqsekaIJge-PtvRtF1o-VUFzX8KtHLdHpCiDcdGtbJX28Lu-_MkK9XEShA2Eeqk9nRpCGbyBpz4AuPWrt8U1I_9iiPOhQB9o8BPWVOkS_2Ml0yt65b6zlc9JgoD1aYKhW4VlJxI0NPtYOIjHmFSIV4_ZwPtz_VDFS731n4lSDgtm9Bml4O1uk1xL9F2_CGLxQiS8jpdv8SK88Zdkf6XUwZbfQd8VxT-G7JoQTWQZ73OLws8q_7SF_pWSSQn3KgtGZNk-Pha-iwsyEoZREbE5SITWmhQXNufp_cEAdkI8GNAqNAu_2GeQtCI-z1n8YFZSh1HaA_Hq3udkeZ8vLyBKWoB-9aNe2a4w1ZViPBAyNMqwgG7EscBkVpklyFmVfNJbCuHNN0Rs1-jShtf-2Xk3i4cAdpFJRuuV4I3-ESI-lw07rooi3C24An-9VTh851Y1GLXKlnl-trBxUKBWZHOvP-ymwlnJ0opZzm8Hecmpw4wYhSQ0P2JuX4P8GHX4RZUUKFGERiRP8cmjJ419HhTzCBkHpVg1r-rG6O5OHlL_2CJWHuqbafpOgLNFRsl1nZKyN9SmCDu07AdJSftLTnPys1a3Roz26DEpdtm4b0lcStOVqfWOJU2y6rQACF7dshNGmMEkXYRWoA3U59bQQXR9let1XzXTje8b_8l9xjKM1DB3b72FRGm7pH-9c69Gon9MT_SulM21j-jlkqC0aQ5W76iE6R5ctMfl3866CfZlbPpj5JLEjlTHywi-kb1hlaY3Yfz1dYj2zZcdLSjodVd3Q8PTZ8CYa_MTUTRs_jpHwmJmw3TPeQ7QZAK7kGuhiuHat4uAWu7HXON3561psH_Gvv-TslOHwEhDI5QTxR1t_X0aShERUSqJFd8MAfKEpCG9bHvKKi1tCLt52_X5-oyObuc0bi4UHIz_AsK8O9XYIl2XJIQk-QfI8zM-KLpFrCVCS85Mxz3ZUqN_w6A3Nh656uMwk6JiyDSWqIm8MJbo76GGWgwaqGX2rxahHGRl7T-3v1D_V3jEXyxXjIPTCKqplEhOrCMsSwsAWFWPpriHLzekMsNiU4dnc5ZAX_yxR4AsJOYNqE7G5TsLTE2nliZTh9ckO8ZUeoLXGziWP8UOE4ECwNNDP70Pd3QnjVcFIL5ftNlkZOBld5ez5W0yjZdyKMdSqQnNjTUdGDyI_AsDYMAN5_eOvqGwB6QtPbKWPynup_WXRsP68uwz6-FTd0VqbKJkaxYoKwq3lFR2SfnHjjJNHldIZB6lncjQTsC3Lq-Haj4tAtpWHChYKH3qTzXZPGPBypsx8gxpKvuP2ivcouriZ8vLvzlZJum-LRT1-sK3mpF7udvekn0ea3YpG53Ljl7I_ejpFMF_Rk1WgaUK-NL8Bs6FjkaW37wqnsKvnqbrzaZmXQKLEHwsyhn-5sraJE0nWp1B9V9PA0FLXFgCgi65sP_3LC-sR2Grf-MXR_OUFiPTUqpFnK7sJCkDGxGo5u3ADT_stSwNPKl9gVFh3SLxwBQ0PwUh9LW7QwYGCXUJF_YVZm-DI6TojrAbBEBmoQIg2uVfXTuCZLsYKkwJS_EklbKSaOfFJTdWxJuaWeA_GOMq8pQ5eernc8ClLusRnIeufQI08-JXhsm2aCdss9hHyZw_RId30Fjl"},d=await fetch("https://www.genspark.ai/api/copilot/ask",{method:"POST",headers:{...FAKE_HEADERS$2,"content-type":"application/json",Referer:"https://www.genspark.ai/agents?type=moa_generate_image",cookie:genspark_request_data.cookie},body:JSON.stringify(l)});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),u=await streamJsonResponseBodies$5(p),checkTaskStatus=async(e,t=30)=>{var o;let a=null;for(let s=0;ssetTimeout(e,r)))}catch(e){a=e,console.error(`Attempt ${s+1} failed:`,e)}throw new Error(`Task check failed after ${t} attempts. Last error: ${null==a?void 0:a.message}`)},m=await Promise.all(u.map((async e=>{try{const t=await checkTaskStatus(e.task_id);return{model:e.model,url:t}}catch(t){return{model:e.model,url:null,error:t.message}}})));return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),m.filter((e=>null!=e.url)).map((e=>({model:e.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function isString(e){return"string"==typeof e||e instanceof String}async function streamJsonResponseBodies$5(e,t){for(;;)try{const{value:o,done:a}=await e.read();if(a){t&&t();break}if(!o)continue;const s=JSON.parse(o.data);if(!s.role||"assistant"!=s.role)continue;if(isString(s.content)&&-1==s.content.indexOf("generated_images"))throw new Error(s.content);return JSON.parse(s.content).generated_images}catch(e){throw e}}function isAllChinese(e){return/^[\u4E00-\u9FA5\u3400-\u4DBF]+$/.test(e)}async function genspark(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=JSON.parse(s),t=(e.cookies,e.access_token),r=o.messages[o.messages.length-1].content;if(isAllChinese(r))throw new Error("prompt 不能为中文");const i=await fetch("https://aisandbox-pa.googleapis.com/v1:runImageFx",{headers:{accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${t}`,"cache-control":"no-cache","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site",Referer:"https://labs.google/","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({userInput:{candidatesCount:4,prompts:[r],seed:Math.floor(9e5*Math.random())+1e5},clientContext:{sessionId:";1736820270799",tool:"IMAGE_FX"},modelInput:{modelNameType:o.model},aspectRatio:a.aspectRatio}),method:"POST"});if(!i.ok)return errorResponse(i);const c=await i.json();return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),c.imagePanels[0].generatedImages.map((e=>({model:e.modelNameType,type:"base64",content:`data:image/jpg;base64,${e.encodedImage}`}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const sleep=e=>new Promise((t=>setTimeout(t,e)));async function bing_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=`_U=${JSON.parse(s).cookies}`,t=o.messages[o.messages.length-1].content,a=encodeURIComponent(t),r=`q=${a}&qs=ds`,i={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Accept-Encoding":"gzip, deflate",Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",Connection:"keep-alive",Referer:"https://www.bing.com/images/create","Accept-Language":"en-US,en;q=0.9",Cookie:e},c=await fetch("https://www.bing.com/images/create",{headers:i}),l=(await c.text()).match(/bal" aria-label="(\d+) /),d=parseInt(l[1],10)>0?"4":"3";let p=await fetch(`https://www.bing.com/images/create?q=${a}&rt=${d}&FORM=GENCRE`,{method:"POST",body:r,headers:i,redirect:"manual"});const{status:u}=p;if(p.headers.forEach(((e,t)=>{console.log(t,e)})),302!==u)throw new Error(`Bing Image Creator Not as Expected: response status = ${u}`);let m=`https://www.bing.com/${p.headers.get("Location").replace("&nfy=1","")}`;const h=`https://www.bing.com/images/create/async/results/${m.split("id=")[1]}?q${a}`;console.log(`Sending request to redirect url...${m}`),await fetch(m,{method:"POST",body:r,headers:i,redirect:"manual"});let g,f=Date.now();for(console.log("Start pulling result...");;){if(Date.now()-f>6e5)throw new Error("Timeout pulling the result.");const e=await fetch(h,{method:"POST",body:r,headers:i});if(200!==e.status)throw new Error("Error when pulling the results");if(g=await e.text(),g&&-1===g.indexOf("errorMessage"))break;console.log("Waiting for the result..."),await sleep(1e3)}let y=/src="([^"]+)"/g,w=g.match(y).map((e=>e.replace('src="',"").replace('"',""))).map((e=>e.split("?w=")[0])).filter((e=>e.includes("th")));return console.log(w),new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),w.map((e=>({model:"bing",type:"url",url:e}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function siliconflow_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=o.messages[o.messages.length-1].content;let t="1024x1024";"IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?t="1024x1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?t="576x1024":"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?t="1024x576":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?t="512x768":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(t="768x512");const r=await fetch("https://api.siliconflow.cn/v1/images/generations",{method:"POST",headers:{Authorization:`Bearer ${s}`,"Content-Type":"application/json"},body:JSON.stringify({model:o.model,prompt:e,image_size:t,batch_size:4,seed:Math.floor(9999999999*Math.random())+1,num_inference_steps:20,guidance_scale:7.5})}),i=await r.json();return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),i.images.map((e=>({model:o.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function cloudflare_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{const e=o.messages[o.messages.length-1].content,t=await fetch(`https://api.cloudflare.com/client/v4/accounts/${r}/ai/run/${o.model}`,{method:"POST",headers:{"content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({prompt:e})});if(!t.ok)return errorResponse(t);const a=await t.json();console.log(a);const s=toImageResponse(getRandomUuidv4(),[{model:o.model,type:"base64",content:`data:image/jpg;base64,${a.result.image}`}]);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function designer(e){var t,o,a,s;const r=Object.fromEntries(e.headers),i=await readBody(e),c=e.context.meta||i.meta;i.model=i.model&&"default"!==i.model?i.model:null==c?void 0:c.apiModel;let l=(null==c?void 0:c.apiKey)?c.apiKey:r.authorization?extractBearerToken(r.authorization):"";try{const e=i.messages[i.messages.length-1].content;let r="1024x1024";"IMAGE_ASPECT_RATIO_SQUARE"===c.aspectRatio?r="1024x1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===c.aspectRatio?r="1024x1792":"IMAGE_ASPECT_RATIO_LANDSCAPE"===c.aspectRatio?r="1792x1024":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===c.aspectRatio?r="1024x1792":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===c.aspectRatio&&(r="1792x1024");const d=getRandomUuidv4(),p="https://designerapp.officeapps.live.com/designerapp/DallE.ashx?action=GetDallEImagesCogSci",u={accept:"application/json, text/plain, */*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",audiencegroup:"Production",authorization:`Bearer ${l}`,"cache-control":"no-cache",caller:"DesignerApp",clientbuild:"1.0.20250110.19",clientid:"dbb92fb1-bc4a-4e9d-81e2-0ac48258e264",clientname:"DesignerApp",containerid:"1913fc7f-1654-437a-be48-a69acf1b6c78",filetoken:"cf795914-fd3c-4a1d-8f83-07e96d571afa",hostapp:"DesignerApp",issignedinuser:"true",locale:"zh-CN",platform:"Web",pragma:"no-cache",priority:"u=1, i",releasechannel:"","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site",sessionid:d,traceparent:"00-9c8be8bf5e8c4773989f6bab9cb6edd5-8c56166e0d6aab2c-01",userid:"8e4808619178f916",usertype:"MSA","x-correlation":"f0153d36-83dc-4ed8-83bc-b8dfd9be6fa3","x-dc-hint":"EastUS","x-edge-shopping-flag":"1","x-req-start":"53322.70000000298","x-upload-to-storage-das":"1",Referer:"https://designer.microsoft.com/","Referrer-Policy":"strict-origin-when-cross-origin"},m=new FormData;m.append("dalle-caption",e),m.append("dalle-scenario-name","TextToImage"),m.append("dalle-batch-size","4"),m.append("dalle-last-prompt",""),m.append("dalle-last-user-prompt",""),m.append("dalle-image-response-format","UrlWithBase64Thumbnail"),m.append("dalle-seed",Math.floor(1e4*Math.random()).toString()),m.append("ClientFlights","EnableBICForDALLEFlight"),m.append("dalle-hear-back-in-ms","1000"),m.append("dalle-include-b64-thumbnails","true"),m.append("dalle-aspect-ratio-scaling-factor-b64-thumbnails","0.3"),m.append("dalle-image-size",r);const h=await fetch(p,{headers:u,body:m,method:"POST"});if(!h.ok)return errorResponse(h);const g=await h.json();m.set("dalle-boost-count",null!=(o=null==(t=null==g?void 0:g["dalle-boost-count"])?void 0:t.toString())?o:"0");const f=null==(a=null==g?void 0:g.polling_response)?void 0:a.polling_meta_data;let y;m.set("dalle-poll-url",null!=(s=null==f?void 0:f.poll_url)?s:"");const w=30;let _=0;for(;_{var t;return setTimeout(e,null!=(t=null==f?void 0:f.poll_interval)?t:2e3)}));const e=await fetch(p,{method:"POST",headers:u,body:m});if(!e.ok)throw new Error(`Failed to poll images: ${e.status} ${e.statusText}`);const t=await e.json();if(1==t.polling_response.status){y=t.b64_thumbnails;break}_++}return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),y.map((e=>({model:"dall-3",type:"base64",content:e}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const FAKE_HEADERS$1={accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",baggage:"sentry-environment=production,sentry-release=Oo3GOuv3r81hzTog5xH9y,sentry-public_key=b311e0f2690c81f25e2c4cf6d4f7ce1c,sentry-trace_id=446673ead5af472888af0bb6688f638d,sentry-sample_rate=1,sentry-sampled=true","cache-control":"no-cache","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","sentry-trace":"446673ead5af472888af0bb6688f638d-849a1615f88a565e-1",Referer:"https://grok.com/","Referrer-Policy":"origin-when-cross-origin"},grok_request_data={cookie:""};async function handleImageResponse(e){let t,o=0;for(;o<3;)try{if(t=await fetch(`https://assets.grok.com/${e}`,{method:"GET",headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie}}),t.ok)break;if(o++,3===o)throw new Error(`上游服务请求失败! status: ${t.status}`);await new Promise((e=>setTimeout(e,500*o)))}catch(e){if(o++,3===o)throw e;await new Promise((e=>setTimeout(e,500*o)))}const a=await t.arrayBuffer(),s=Buffer.from(a).toString("base64");return`data:${t.headers.get("content-type")};base64,${s}`}function processJsonString(e,t){let o=e.trim(),a=0,s=0,r=!1,i=!1;for(let e=0;e{if("image_url"===e.type){const t=e.image_url.url;let o;o=t.includes("data:image")?t.split(",")[1]:t;const s=await fetch("https://grok.com/api/rpc",{method:"POST",headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie},body:JSON.stringify({rpc:"uploadFile",req:{fileName:"lansefangzi.png",fileMimeType:"image/png",content:o}})}),r=await s.json();return a.push(r.fileMetadataId),null}return e}))),t={role:i.role,content:e.filter((e=>null!=e))};o.messages.push(t)}else o.messages.push(i);const c=MergeMessages(o.messages),l={customInstructions:"",deepsearchPreset:"",disableSearch:!1,enableImageGeneration:!0,enableImageStreaming:!0,enableSideBySide:!0,fileAttachments:a,forceConcise:!1,imageAttachments:[],imageGenerationCount:2,isPreset:!1,isReasoning:o.model.includes("reasoning"),message:c,modelName:o.model.toString().replace("-reasoning","").replace("-image",""),returnImageBytes:!1,returnRawGrokInXaiRequest:!1,sendFinalMetadata:!0,temporary:!1,toolOverrides:{imageGen:o.model.includes("image")}};let d="https://grok.com/rest/app-chat/conversations/new";if(r.proxyurl){const e=decodeURIComponent(r.proxyurl.toString());d=`${e}${e.includes("?")?"&":"?"}stream=true&url=${d}`}if(t=await fetch(d,{headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie},body:JSON.stringify(l),method:"POST"}),!t.ok)return errorResponse(t);const p=t.body.pipeThrough(new TextDecoderStream).getReader();if(!o.model.includes("image")){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$4(p,t,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u=[];for(;;){const{value:e,done:t}=await p.read();if(t)break;e&&processJsonString(e,(e=>{const t=JSON.parse(e).result;t.response&&t.response.streamingImageGenerationResponse&&100==t.response.streamingImageGenerationResponse.progress&&t.response.streamingImageGenerationResponse.imageUrl&&u.push(`${t.response.streamingImageGenerationResponse.imageUrl}`)}))}return u=await Promise.all(u.map((async e=>handleImageResponse(e)))),new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),u.filter((e=>null!=e)).map((e=>({model:"grok-latest-image",type:"base64",content:e}))))),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$3(e,t){try{const o=JSON.parse(e).result;if(!o.response||!o.response.token)return;t.msgCallback(o.response.token,o.response.isThinking?"thinking":"text")}catch(e){throw e}}const encoder$5=new TextEncoder;async function streamJsonResponseBodies$4(e,t,o,a){const s=t.getWriter();let r={id:"",model:o,msgCallback:(e,t)=>{s.write(encoder$5.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,r.model,!0,t))}\n\n`))},endCallback:()=>{s.write(encoder$5.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){r.endCallback(),a&&a(),s.close();break}if(!t)continue;processJsonString(t,(e=>{onParse$3(e,r)}))}catch(e){throw s.close(),e}}const nData={mid:"",cookies:"",authToken:""};global.aiso_base64=e=>btoa(e),global.aiso_md5=e=>md5(e),global.aiso_aes=(e,t)=>{const o=crypto.createCipheriv("aes-256-cbc",t,Buffer.alloc(16,0));let a=o.update(e,"utf8","hex");return a+=o.final("hex"),a},global.aiso_sha1=e=>{const t=crypto.createHash("sha1");return t.update(e),t.digest("hex")},global.aiso_h256=(e,t)=>{const o=crypto.createHmac("sha256",t);return o.update(e),o.digest("hex")};const getChatToken=(uri,body,now)=>{const date=now.toUTCString();let data={"Chat-Date":date,"Chat-Token":""},jsText="KGZ1bmN0aW9uKHBhcmFtcykge2xldCBtZXRob2QgPSBwYXJhbXMubWV0aG9kLGE9YWlzb19tZDUsYj1haXNvX2Jhc2U2NCxjPWFpc29fYWVzLGQ9YWlzb19oMjU2LGU9YWlzb19zaGExLHVyaSA9IHBhcmFtcy51cmksYWNjZXNzX3Rva2VuID0gcGFyYW1zLmFjY2Vzc190b2tlbixodHRwX3ZlcnNpb24gPSBwYXJhbXMuaHR0cF92ZXJzaW9uLGRhdGUgPSBwYXJhbXMuZGF0ZSx0b2tlbiA9IG1ldGhvZCArICIgIiArIHVyaSArICIgIiArIGh0dHBfdmVyc2lvbisiICIrImRhdGU6IisgIiAiICsgZGF0ZTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gZCh0b2tlbiwgYWNjZXNzX3Rva2VuKTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gYSh0b2tlbik7dG9rZW4gPSBkKHRva2VuLCBhY2Nlc3NfdG9rZW4pO3Rva2VuID0gYSh0b2tlbik7dG9rZW4gPSBiKHRva2VuKTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gYih0b2tlbik7dG9rZW4gPSBkKHRva2VuLCBhY2Nlc3NfdG9rZW4pO3JldHVybiB7dG9rZW46IHRva2VuICsgIkQxIitbMTIwLDY3LDExMyw5OSw2NiwxMDQsODEsNTAsNjUsMTE3LDY3LDExOSw5OCw4OCw4MCw2Niw4Nyw1MSwxMDMsODMsNjEsNDcsNDUsMTE2LDExNiw4NSw3MCw1MSwxMjAsODcsMTEzLDExOSw5MCw4NSwxMDQsMTE2LDU0LDU0LDc1LDc2LDc2LDExNCwxMTgsMTA5LDcyLDExOCwxMDcsMTIxLDc0LDExMywxMDgsMTE5LDEwMywxMDcsNjUsNzAsMTE1LDk5LDEwOSwxMTMsNTUsMTAxLDQzLDU3LDg5LDgzLDUwLDU1LDc0LDc3LDEyMCwxMTcsOTksNzEsNzgsNjYsMTE1LDQ5LDEwMywxMTgsNDMsMTEwLDg1LDc3LDcxLDEwNiw1NSwxMDIsMTE2LDY1LDcyLDcyLDExNSw3OCw5OSw3NCw5MCw0MywxMTYsNzcsOTcsMTE1LDgzLDU2LDEyMiwxMTMsODUsNTYsNzUsMTIyLDU1LDEwNCw2Nyw1NCw1MCwxMTgsMTE5LDg0LDQzLDExOSwxMjEsNjksODAsODgsNTUsOTgsNjgsODEsODEsMTE1LDg4LDczLDYxXS5tYXAociA9PiBTdHJpbmcuZnJvbUNoYXJDb2RlKHIpKS5qb2luKCIiKX19KQ==";try{jsText=atob(jsText).trim(),jsText+="(".concat(JSON.stringify({method:"POST",uri:uri,access_token:nData.mid,http_version:"HTTP/1.1",date:date,body:body}),")");const{token:token}=eval(jsText);data["Chat-Token"]=token}catch(e){console.error(e),data["Chat-Token"]="-2"}return data},getHeaders=e=>{const t=["Web",e.toISOString().replace("Z","+08:00"),"1.2",nData.mid,md5("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0")];return{"device-platform":t[0],timestamp:t[1],"zm-ver":t[2],"access-token":t[3],"zm-token":md5(t.join("")),"zm-ua":t[4],"func-ver":"1","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",mid:"",sid:nData.mid,"Request-Id":getRandomUuidv4(),"Auth-Token":nData.authToken,cookie:nData.cookies,accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",Referer:"https://bot.n.cn","Referrer-Policy":"strict-origin-when-cross-origin"}},deleteConversation=async e=>{let t=getHeaders(new Date);await fetch("https://bot.n.cn/api/batch/remove/conversation",{headers:{...t,Referer:`https://bot.n.cn/chat/${e}`},body:`cid=${e}`,method:"POST"})};async function n(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s);nData.mid=r.mid,nData.cookies=r.cookies,nData.authToken=r.authToken;try{const e={role:o.model,prompt:MergeMessagesNoMarkup(o.messages),re_answer:0,retry:!1,last_id:0,compare_parent_id:"",role_biz:"",rewrite_type:"",file:[],annex_msg_id:"",kwargs:{think_stream:!0},is_so:!1},t=new Date;let a=getHeaders(t);a={...getChatToken("/api/assistant/chat",e,t),...a,accept:"text/event-stream","Content-Type":"application/json"};const s=await fetch("https://bot.n.cn/api/assistant/chat",{method:"POST",headers:a,body:JSON.stringify(e)});if(!s.ok)return errorResponse(s);const r=s.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$3(r,t,deleteConversation),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$4=new TextEncoder;function onParse$2(e,t){try{if("100"==e.event)return void(t.conversationId=e.data.replace("CONVERSATIONID####",""));if("101"==e.event)return void(t.id=e.data.replace("MESSAGEID####",""));if("102"==e.event&&e.data&&e.data.length>0){if(e.data.startsWith("{")&&e.data.endsWith("}")){const o=JSON.parse(e.data);t.msgCallback(o.message,"thinking")}else t.msgCallback(e.data,"thinking");return}if("200"==e.event)return void t.msgCallback(e.data,"text")}catch(e){throw e}}async function streamJsonResponseBodies$3(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),conversationId:"",model:"",content:"",msgCallback:(e,t)=>{a.write(encoder$4.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0,t))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$4.encode("data: [DONE]\n\n")),o&&o(s.conversationId),a.close();break}if(!t)continue;onParse$2(t,s)}catch(e){throw a.close(),o(s.conversationId),e}}async function requestUntilConditionMet(e,t){let o=0;for(;o<10;){o++;try{const o=await fetch(e,{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${t}`,"cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","x-api-key":"clio-playground-web",Referer:"https://firefly.adobe.com/","Referrer-Policy":"strict-origin-when-cross-origin"},body:null,method:"GET"}),a=await o.json();if(!("progress"in a)&&"outputs"in a)return a;await new Promise((e=>setTimeout(e,1e3)))}catch(e){throw console.error("请求或解析出现错误: ",e),e}}return console.log("超过 10 次请求仍未满足条件"),null}async function firefly(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="2048",i="2048";"IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?(r="2048",i="2048"):"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?(r="1536",i="2688"):"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?(r="2688",i="1536"):"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?(r="1792",i="2304"):"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(r="2304",i="1792");try{const e=o.messages[o.messages.length-1].content,t=await fetch("https://firefly-clio-imaging-preview.adobe.io/v2/images/generate-async",{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${s}`,"cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","x-api-key":"clio-playground-web",Referer:"https://firefly.adobe.com/","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({prompt:e,seeds:[generateRandomInteger(5),generateRandomInteger(5),generateRandomInteger(5),generateRandomInteger(5)],size:{width:r,height:i},visualIntensity:6,locale:"en-US",detailLevel:"preview",modelVersion:o.model,output:{cai:{directive:"dont_sign"},storeInputs:!0}}),method:"POST"});if(!t.ok)return errorResponse(t);await t.json();const a=t.headers.get("x-override-status-link"),c=await requestUntilConditionMet(a,s);return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),c.outputs.map((e=>({model:o.model,type:"url",url:e.image.presignedUrl}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const FAKE_HEADERS={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",chat_version:"v1","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-requested-with":"XMLHttpRequest","x-source":"web","Referrer-Policy":"strict-origin-when-cross-origin"},yuanbao_request_data={cookie:"",cookieObject:{}};async function yuanbao(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=o.conversationId||r.id||"";a&&(i=a.apiConversationId?a.apiConversationId:i),i||(i=getRandomUuidv4());try{const e=JSON.parse(s);yuanbao_request_data.cookie=e.cookie,yuanbao_request_data.cookieObject=parseStrCookies(yuanbao_request_data.cookie);const t=MergeMessagesNoMarkup(o.messages),a={model:"gpt_175B_0404",prompt:t,plugin:"Adaptive",displayPrompt:t,displayPromptType:1,options:{imageIntention:{needIntentionModel:!0,backendUpdateFlag:2,intentionStatus:!0}},multimedia:[],agentId:"naQivTmsDa",supportHint:1,version:"v2",chatModelId:o.model},clearConversation=async()=>{await fetch("https://yuanbao.tencent.com/api/user/agent/conversation/v1/clear",{headers:{...FAKE_HEADERS,accept:"application/json, text/plain, */*","content-type":"application/json","t-userid":yuanbao_request_data.cookieObject.hy_user,"x-agentid":"naQivTmsDa","x-commit-tag":"d1b1f33c","x-requested-with":"XMLHttpRequest","x-source":"web",cookie:yuanbao_request_data.cookie,Referer:"https://yuanbao.tencent.com/chat/naQivTmsDa","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({conversationIds:[i]}),method:"POST"})},r=await fetch(`https://yuanbao.tencent.com/api/chat/${i}`,{headers:{...FAKE_HEADERS,cookie:yuanbao_request_data.cookie,"x-agentid":`naQivTmsDa/${i}`,Referer:`https://yuanbao.tencent.com/chat/naQivTmsDa/${i}`},body:JSON.stringify(a),method:"POST"});if(!r.ok)return errorResponse(r);const c=r.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$2(c,t,o.model,clearConversation),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}return new Response("不支持非流式",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$1(e,t){try{if(!e.data.startsWith("{")||!e.data.endsWith("}"))return;const o=JSON.parse(e.data);if("think"!=o.type&&"text"!=o.type)return;t.msgCallback("think"==o.type?o.content:o.msg,"think"==o.type?"thinking":"text")}catch(e){throw e}}const encoder$3=new TextEncoder;async function streamJsonResponseBodies$2(e,t,o,a){const s=t.getWriter();let r={id:"",model:o,msgCallback:(e,t)=>{s.write(encoder$3.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,r.model,!0,t))}\n\n`))},endCallback:()=>{s.write(encoder$3.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){r.endCallback(),a&&a(),s.close();break}if(!t)continue;onParse$1(t,r)}catch(e){throw s.close(),e}}function generateHashed64Hex(e,t=""){const o=createHash$1("sha256");return o.update(e+t),o.digest("hex")}function obfuscateBytes(e){let t=165;for(let o=0;o>40&255,a>>32&255,a>>24&255,a>>16&255,a>>8&255,255&a]));return`${Buffer.from(s).toString("base64")}${t}/${o}`}const FakeHeaders={"connect-accept-encoding":"gzip,br","connect-protocol-version":"1","content-type":"application/connect+proto",cookie:"","user-agent":"connect-es/1.6.1","x-client-key":"","x-cursor-checksum":"","x-cursor-client-version":"0.42.4","x-cursor-timezone":"Asia/Shanghai","x-ghost-mode":"false",Host:"api2.cursor.sh",Connection:"keep-alive"},protoDefinition$1='\n syntax = "proto3";\n \n message Message {\n string msg = 1;\n int32 no = 2;\n string id = 13;\n }\n \n message Info {\n string system = 1;\n string path = 5;\n }\n \n message Model {\n string model = 1;\n string other = 4;\n }\n \n message Payload {\n repeated Message msgs = 2;\n Info info = 4;\n Model model = 7;\n string requestId = 9;\n int32 field13 = 13;\n int32 field14 = 14;\n string convId = 15;\n int32 field16 = 16;\n int32 field22 = 22;\n int32 field24 = 24;\n int32 field28 = 28;\n int32 field29 = 29;\n }\n \n message ResponseMsg {\n string msg = 1;\n }\n';let root,Payload,ResponseMsg;function loadProtoTypes(){root=protobuf.parse(protoDefinition$1).root,root.lookupType("Message"),root.lookupType("Info"),root.lookupType("Model"),Payload=root.lookupType("Payload"),ResponseMsg=root.lookupType("ResponseMsg")}async function generateClietKey(){const e=new Date,t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=e.getDate()<=15?"01":"02";return await generateSHA256(`${t}${o}${a}`)}function getCurrentDateString(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}async function cursor(e){var t,o;const a=Object.fromEntries(e.headers),s=await readBody(e),r=e.context.meta||s.meta;s.model=s.model&&"default"!==s.model?s.model:null==r?void 0:r.apiModel;let i=(null==r?void 0:r.apiKey)?r.apiKey:a.authorization?extractBearerToken(a.authorization):"",c="";"system"===s.messages[0].role&&(c=s.messages.shift().content);const l=Payload.create({msgs:s.messages.map((e=>({msg:e.content,no:"user"==e.role?1:2,id:getRandomUuidv4()}))),info:{system:c,path:"/d:/Workspace/openall"},model:{model:s.model,other:""},requestId:getRandomUuidv4(),field13:0,field14:0,convId:getRandomUuidv4(),field16:1,field22:0,field24:0,field28:0,field29:0});try{const e=Payload.encode(l).finish(),r=new DataView(new ArrayBuffer(4));r.setInt32(0,e.length,!1);const c=Buffer.concat([Buffer.from([0]),Buffer.from(r.buffer),e]),d=null!=(o=null!=(t=a["x-cursor-checksum"])?t:process.env["x-cursor-checksum"])?o:generateCursorChecksum(i.trim()+getCurrentDateString),p=getRandomUuidv4(),u=await fetch("https://api2.cursor.sh/aiserver.v1.AiService/StreamChat",{method:"POST",headers:{...FakeHeaders,"x-client-key":await generateClietKey(),"x-amzn-trace-id":`Root=${p}`,"x-request-id":p,authorization:`Bearer ${i}`,"x-cursor-checksum":d},body:c});if(!u.ok)return errorResponse(u);if(u.headers.get("content-type").includes("application/json")){const e=await u.json();return new Response(JSON.stringify(e),{status:400,statusText:u.statusText,headers:{"Content-Type":"application/json"}})}const m=u.body.getReader(),{readable:h,writable:g}=new TransformStream;return streamJsonResponseBodies$1(m,g,s.model),new Response(h,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}loadProtoTypes();const encoder$2=new TextEncoder;async function streamJsonResponseBodies$1(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$2.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$2.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;const r=t[0],i=new Uint32Array(t.slice(1,5).reverse().buffer)[0],c=t.slice(5,5+i);if(0!=r){if(2==r)continue;continue}const l=ResponseMsg.decode(Buffer.from(c));s.msgCallback(l.msg)}catch(e){throw a.close(),e}}var __defProp$1=Object.defineProperty,__defNormalProp$1=(e,t,o)=>t in e?__defProp$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$1=(e,t,o)=>__defNormalProp$1(e,"symbol"!=typeof t?t+"":t,o);const qodoApiKey="AIzaSyCMMynYm5VRHj1NOwkfWinX-HYsFArdUbk",_AuthManager=class _AuthManager{constructor(){__publicField$1(this,"tokenInfo",null),__publicField$1(this,"REFRESH_THRESHOLD",300),__publicField$1(this,"storage"),__publicField$1(this,"currentEmail",null),__publicField$1(this,"currentAuthToken",null),this.storage=getStorage()}static getInstance(){return _AuthManager.instance||(_AuthManager.instance=new _AuthManager),_AuthManager.instance}async loadTokenFromStorage(){try{return await this.storage.getItem("qodoToken")}catch(e){return console.error("加载存储的 token 失败:",e),null}}async saveTokenToStorage(e,t,o){try{const a={tokenInfo:e,email:t,authToken:o};await this.storage.setItem("qodoToken",JSON.stringify(a)),this.currentEmail=t,this.currentAuthToken=o}catch(e){console.error("保存 token 失败:",e)}}async refreshAuthToken(e){if(!(null==e?void 0:e.refreshToken)||!this.currentEmail||!this.currentAuthToken)throw new Error("没有可用的刷新令牌或登录信息");try{const t=await fetch(`https://securetoken.googleapis.com/v1/token?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({grant_type:"refresh_token",refresh_token:e.refreshToken})}),o=await t.json();if(o.error)throw console.error(o.error.errors),new Error(o.error.message);const a={apiToken:o.id_token,refreshToken:o.refresh_token,expiryTime:Date.now()+1e3*o.expires_in,email:e.email};return await this.saveTokenToStorage(a,this.currentEmail,this.currentAuthToken),this.tokenInfo=a,a}catch(e){throw console.error("刷新token失败:",e),e}}async getValidTokenUseEmail(e,t){if(this.tokenInfo){const o=Date.now();if(this.tokenInfo.expiryTime-o<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(o){if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw o}return this.tokenInfo.apiToken}const o=await this.loadTokenFromStorage();if(console.log("加载token从storage",o),o){if(e&&t&&(e!==o.email||t!==o.authToken)){return(await this.signInWithEmailLink(e,t)).apiToken}this.tokenInfo=o.tokenInfo,this.currentEmail=o.email,this.currentAuthToken=o.authToken;const a=Date.now();if(this.tokenInfo.expiryTime-a<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(o){if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw o}return this.tokenInfo.apiToken}if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw new Error("无法获取有效的token: 没有存储的认证信息,也没有提供登录参数")}async signInWithEmailLink(e,t){try{const o=await fetch(`https://identitytoolkit.googleapis.com/v1/accounts:signInWithEmailLink?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,oobCode:t})}),a=await o.json();if(a.error)throw console.error(a.error.errors),new Error(a.error.message);const s={apiToken:a.idToken,refreshToken:a.refreshToken,expiryTime:Date.now()+1e3*parseInt(a.expiresIn),email:a.email};return await this.saveTokenToStorage(s,e,t),this.tokenInfo=s,s}catch(e){throw console.error("登录失败:",e),e}}async getValidTokenUseWithIdp(e){if(this.tokenInfo){const t=Date.now();if(this.tokenInfo.expiryTime-t<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(t){if(e){return(await this.signInWithIdp(e)).apiToken}throw t}return this.tokenInfo.apiToken}const t=await this.loadTokenFromStorage();if(console.log("加载token从storage",t),t){if(e&&e!==t.authToken){return(await this.signInWithIdp(e)).apiToken}this.tokenInfo=t.tokenInfo,this.currentEmail=t.email,this.currentAuthToken=t.authToken;const o=Date.now();if(this.tokenInfo.expiryTime-o<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(t){if(e){return(await this.signInWithIdp(e)).apiToken}throw t}return this.tokenInfo.apiToken}if(e){return(await this.signInWithIdp(e)).apiToken}throw new Error("无法获取有效的token: 没有存储的认证信息,也没有提供登录参数")}async signInWithIdp(e){try{const t=await fetch(`https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({requestUri:"http://localhost",returnSecureToken:!0,postBody:`&id_token=${e}&providerId=google.com`})}),o=await t.json();if(o.error)throw console.error(o.error.errors),new Error(o.error.message);const a={apiToken:o.idToken,refreshToken:o.refreshToken,expiryTime:Date.now()+1e3*parseInt(o.expiresIn),email:o.email};return await this.saveTokenToStorage(a,a.email,e),this.tokenInfo=a,a}catch(e){throw console.error("登录失败:",e),e}}};__publicField$1(_AuthManager,"instance");let AuthManager=_AuthManager;const authManager=AuthManager.getInstance();async function qodo(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";console.log("apiKey:",s);const r=JSON.parse(s),i=await authManager.getValidTokenUseWithIdp(r.token);console.log("当前有效token:",i);const c=getRandomUuidv4(),l=getRandomUuidv4();let d=o.messages.pop().content;"system"===o.messages[0].role&&(o.messages[0].role="user",o.messages.splice(1,0,{role:"assistant",content:"你的问题很好,请补充,我接下来会回答"}));let p=o.messages.filter((e=>"system"!==e.role)).map((e=>({role:e.role,content:e.content,..."user"===e.role?{command:"chat",mode:"freeChat"}:{}})));p=[];const u=await fetch("https://api.gen.qodo.ai/v2/chats/chat",{method:"POST",headers:{"user-agent":"axios/1.6.2",host:"api.gen.qodo.ai","content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({max_remote_context:0,remote_context_tags:[],max_repo_context:5,user_data:{installation_id:c,installation_fingerprint_uuid:l,editor_version:"1.96.1",extension_version:"0.12.7",os_platform:"win32",os_version:"v20.18.1",editor_type:"vscode"},task:"",chat_input:d,previous_messages:p,user_context:[],repo_context:[],custom_model:o.model})});if(!u.ok)return errorResponse(u);const m=u.body.pipeThrough(new TextDecoderStream).getReader(),{readable:h,writable:g}=new TransformStream;return streamJsonResponseBodies(m,g,o.model),new Response(h,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const encoder$1=new TextEncoder;async function streamJsonResponseBodies(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$1.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$1.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(console.log("value:",t),o){s.endCallback(),a.close();break}if(!t)continue;try{t.split("\n").forEach((e=>{if(!e)return;const t=JSON.parse(e);"reference_context"!==t.sub_type&&onParse(t,s)}))}catch(e){throw console.log(t),e}}catch(e){throw a.close(),e}}function onParse(e,t){try{t.msgCallback(e.data.content)}catch(e){throw e}}var __defProp=Object.defineProperty,__defNormalProp=(e,t,o)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField=(e,t,o)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,o);const protoDefinition='\n syntax = "proto3";\n\n\n// AI对话请求消息\nmessage PredictWithStream {\n string modelName = 1; // AI模型名称\n Conversation context = 2; // 对话上下文\n}\n\n\n// 表示单条消息内容\nmessage Message {\n int32 roleType = 1; // 1: user, 2: assistant 等角色类型\n string content = 2; // 具体的消息内容\n}\n\n// 对话上下文\nmessage Conversation {\n Message messages = 2; // 对话历史消息列表\n string systemPrompt = 3; // 系统指令/提示语\n}\n\n// AI对话请求\nmessage Predict {\n string modelName = 1; // AI模型名称\n Conversation context = 2; // 对话上下文\n}\n\n\n\n\nmessage PredictWithStreamResponse {\n int32 statusCode = 2; // 状态码 200\n ResponseContainer data = 4; // 响应数据\n}\n\n\n// 对话结果内容\nmessage DialogueResult {\n int64 resultType = 1; // 结果类型为3\n string content = 2; // JSON格式的具体内容\n}\n\n// 响应内容包装\nmessage ResponseWrapper {\n DialogueResult result = 2; // 包装的对话结果\n}\n\n// 外层响应包装\nmessage ResponseContainer {\n ResponseWrapper response = 1; // 最外层包装\n}\n\n// AI聊天响应\nmessage PredictResponse {\n int32 statusCode = 2; // 状态码 200\n ResponseContainer data = 4; // 响应数据\n}\n\n';class ProtobufHandler{constructor(){__publicField(this,"root"),__publicField(this,"PredictWithStream"),__publicField(this,"Predict"),__publicField(this,"PredictResponse"),__publicField(this,"PredictWithStreamResponse"),this.loadProtoTypes()}loadProtoTypes(){this.root=protobuf.parse(protoDefinition).root,this.PredictWithStream=this.root.lookupType("PredictWithStream"),this.Predict=this.root.lookupType("Predict"),this.PredictResponse=this.root.lookupType("PredictResponse"),this.PredictWithStreamResponse=this.root.lookupType("PredictWithStreamResponse")}async createPredictWithStream(e,t,o){const a=this.PredictWithStream.create({modelName:e,context:{messages:{roleType:1,content:t},systemPrompt:o}});return this.PredictWithStream.encode(a).finish()}async createPredict(e,t,o){const a=this.Predict.create({modelName:e,context:{messages:{roleType:1,content:t},systemPrompt:o}});return this.Predict.encode(a).finish()}}async function createJWT(){return"eyJvcyI6ImZhOTIyNzU4LWZiZWYtNDAxNS1iNzM0LWIwMjE5MmU4ZjMwZCIsInVzZXJfaWQiOiJVTktOT1dOIiwidXNlcl9lbWFpbCI6IlVOS05PV04iLCJjbGllbnRfaXBfYWRkcmVzcyI6IlVOS05PV04iLCJjb3VudHJ5X2lwX25hbWUiOiJVTktOT1dOIiwiY291bnRyeV9pcF9hZGRyZXNzIjoiVU5LTk9XTiIsImNvdW50cnlfaXBfY29kZSI6IlVOS05PV04iLCJvcGVyYXRpbmdfc3lzdGVtIjoid2luZG93cyIsIm9zX3NlcnZlcl92ZXJzaW9uIjoiMTAuMS4xNSIsImFsZyI6IkhTMjU2IiwidHlwIjoiSldUIn0.eyJzdHJlYW1Jbml0Ijp0cnVlLCJ0aW1lc3RhbXAiOiIyMDI0LTEyLTEwVDEyOjAxOjI0LjI0NjE3MloiLCJpYXQiOjE3MzM4MzIwODQsImV4cCI6MTczMzgzMjE0NH0.EB-5eyZn3nik2secKX_6X038xofpIYWBy9snDzV6fOI"}process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";class GrpcClient{constructor(){__publicField(this,"client"),__publicField(this,"protobufHandler"),__publicField(this,"metadata",null),this.protobufHandler=new ProtobufHandler,credentials.createSsl(null,null,null,{checkServerIdentity:()=>{}});this.client=new Client("runtime-native-io-vertex-inference-grpc-service.aot.runtime.services:443",credentials.createSsl(),{"grpc.primary_user_agent":"dart-grpc/2.0.0","grpc.max_receive_message_length":-1,"grpc.max_send_message_length":-1,"grpc.max_concurrent_streams":1e3})}async initialize(){try{const e=await this.createMetadata();return new Promise(((t,o)=>{this.client.makeUnaryRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Initialize",(e=>Buffer.from([])),(e=>e),{},e,((e,a)=>{if(e)return console.error("Initialize error:",e),void o(e);t(a)}))}))}catch(e){throw console.error("Error in initialize:",e),e}}async initializeWithTask(){try{const e=await this.createMetadata();return e.add("os-server-predict-task","messageTitle"),new Promise(((t,o)=>{this.client.makeUnaryRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Initialize",(e=>Buffer.from([])),(e=>e),{},e,((e,a)=>{if(e)return console.error("Initialize with task error:",e),void o(e);t(a)}))}))}catch(e){throw console.error("Error in initialize with task:",e),e}}async sendPredictWithStream(e){try{const t=await this.createMetadata(),o=await this.protobufHandler.createPredictWithStream(e.model,e.message,e.systemPrompt);let a=!1;const s=this.client.makeServerStreamRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/PredictWithStream",(e=>Buffer.from(e)),(e=>{try{return this.protobufHandler.PredictWithStreamResponse.decode(new Uint8Array(e))}catch(e){throw console.error("响应解析错误:",e),e}}),o,t);s.on("data",(async t=>{if(!a&&t.data)try{await e.onData(t.data.response.result.content)}catch(t){a||(a=!0,s.cancel(),await e.onError(t))}})),s.on("end",(async()=>{a||(a=!0,await e.onEnd())})),s.on("error",(async t=>{a||(a=!0,s.cancel(),await e.onError(t))}))}catch(t){await e.onError(t)}}async createMetadata(){const e=await createJWT();return this.metadata=new Metadata,this.metadata.add("authorization",`Bearer ${e}`),this.metadata.add("os","UNKNOWN"),this.metadata.add("user_id","UNKNOWN"),this.metadata.add("user_email","UNKNOWN"),this.metadata.add("client_ip_address","UNKNOWN"),this.metadata.add("country_ip_name","UNKNOWN"),this.metadata.add("country_ip_address","UNKNOWN"),this.metadata.add("country_ip_code","UNKNOWN"),this.metadata.add("operating_system","windows"),this.metadata.add("os_server_version","11.0.3"),this.metadata}async sendPredictRequest(e){try{const t=await this.createMetadata(),o=await this.protobufHandler.createPredict(e.model,e.message,e.systemPrompt);return new Promise(((e,a)=>{const s=this.client.makeClientStreamRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Predict",(e=>Buffer.from(e)),(e=>this.protobufHandler.PredictResponse.decode(Uint8Array.from(e))),t,((t,o)=>{t?a(t):e(o)}));s.write(o,(e=>{e?a(e):s.end()})),s.end();let r="";s.on("data",(e=>{r+=e.content.toString()})),s.on("error",(e=>{a(e)}))}))}catch(e){throw console.error("Error in sendRequest:",e),e}}}const encoder=new TextEncoder;var client=new GrpcClient;async function pieces(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,(null==a?void 0:a.apiKey)?a.apiKey:t.authorization&&extractBearerToken(t.authorization);let s="";"system"===o.messages[0].role&&(s=o.messages.shift().content);const r=MergeMessages(o.messages);try{const e=`You are a software developer who specializes in providing assistance to other developers.I would like you to answer coding-related questions in a helpful and straightforward manner.The included context will be the codeblocks that you have previously generated within this conversation.1. Read and understand the query thoroughly. 2. Use all information provided to provide a clear and helpful response. 3. If you include a code example, you must include it in the proper markdown code block syntax. it is critical that you specify the proper code language in the beginning of the markdown code. 4. If you are completely unable to answer the query, say "I'm sorry, I can't answer that." 5. Answer the following question only if you know the answer or can make a well-informed guess; otherwise tell me you don't know it.Previously generated codeblocks in chronological order:\nPreviously generated code blocks:\nNo previously generated code blocks\n\nRecent message history in chronological order:\n${s}\nRelevant past chat message:\nNo relevant messages\n\n\n`,{readable:t,writable:o}=new TransformStream,a=o.getWriter(),i=getRandomUuidv4();return(async()=>{try{await client.sendPredictWithStream({model:"claude-3-5-sonnet@20240620",message:r,systemPrompt:e,onData:async e=>{const t=toOpenAIResponse(i,e,"claude-3-5-sonnet",!0),o=`data: ${JSON.stringify(t)}\n\n`;await a.write(encoder.encode(o))},onEnd:async()=>{await a.write(encoder.encode("data: [DONE]\n\n")),await a.close()},onError:async e=>{console.error("流处理错误:",e);const t=`data: ${JSON.stringify({error:e.message})}\n\n`;await a.write(encoder.encode(t)),await a.close()}})}catch(e){console.error("处理流错误:",e),await a.close()}})(),new Response(t,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){console.error("Error in main:",e)}}const llm_providers={coze_com:coze_com,coze_cn:coze_cn,vercel:vercel,openai:openai,github_copilot:github_copilot,ernie:ernie,hunyuan:hunyuan,chatglm:chatglm,tongyi:tongyi,wanzhi:wanzhi,coze:coze,huggingface:huggingface,lmsys:lmsys,spark:spark,cloudflare:cloudflare,mistral_ai:mistral_ai,anthropic:anthropic,cohere:cohere,gemini:gemini,claude:claude,kimi:kimi,gemini_vertex:gemini_vertex,anthropic_vertex:anthropic_vertex,openai_vertex:openai_vertex,mistralai_vertex:mistralai_vertex,chatgpt:chatgpt,lyihub:lyihub,deepinfra:deepinfra,replicate:replicate,vecmul:vecmul,magai:magai,azure:azure,blackbox:blackbox,cursor:cursor,zed:zed,pieces:pieces,qodo:qodo,genspark:genspark$2,qwenlm:qwenlm,deepseek:deepseek,deepseek_com:deepseek_com,genspark_image:genspark$1,imagefx:genspark,bing_image:bing_image,siliconflow_image:siliconflow_image,cloudflare_image:cloudflare_image,designer:designer,grok:grok,n:n,firefly:firefly,yuanbao:yuanbao};export{llm_providers as l}; +import{r as readBody,b as getQuery,c as useStorage}from"../nitro/nitro.mjs";import{v4}from"uuid";import{g as getStorage,D as DEVICE_ID}from"./storage.mjs";import*as crypto from"node:crypto";import{createHash as createHash$1}from"node:crypto";import{EventSourceParserStream}from"eventsource-parser/stream";import{createParser}from"eventsource-parser";import http2 from"http2";import FormData$1 from"form-data";import{WebSocket}from"ws";import*as jose from"jose";import{spawn}from"child_process";import protobuf from"protobufjs";import{credentials,Client,Metadata}from"@grpc/grpc-js";const separator=":";async function generateSHA256(e){return await createHash("sha256",e,"hex")}async function createHash(e,t,o="hex"){const a={sha256:"SHA-256",sha512:"SHA-512",sha1:"SHA-1",sha384:"SHA-384"}[e.toLowerCase()];if(!a)throw new Error(`Unsupported hash algorithm: ${e}`);const s=(new TextEncoder).encode(t),r=await crypto.subtle.digest(a,s);switch(o.toLowerCase()){case"hex":return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("");case"base64":return btoa(String.fromCharCode(...new Uint8Array(r)));case"buffer":return r;default:throw new Error(`Unsupported encoding: ${o}`)}}async function createHmac(e,t,o){const a=await crypto.subtle.importKey("raw",(new TextEncoder).encode(t),{name:"HMAC",hash:e},!1,["sign"]),s=await crypto.subtle.sign("HMAC",a,(new TextEncoder).encode(o));return Array.from(new Uint8Array(s)).map((e=>e.toString(16).padStart(2,"0"))).join("")}function md5(e,t="utf8",o="hex"){const a=crypto.createHash("md5");return Buffer.isBuffer(e)?a.update(e):a.update(e,t),a.digest(o)}function uuid(e=!0){return e?v4():v4().replace(/\-/g,"")}function getRandomUuidv4(){return v4()}function randHex(e){const t="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let o="";for(let a=0;a{const t=new Date,o=t.getFullYear().toString()+(t.getMonth()+1).toString().padStart(2,"0")+t.getDate().toString().padStart(2,"0");let a=0;for(let e=0;ee[Math.floor(Math.random()*e.length)];let t=`${randomChoice(["Mozilla/5.0","AppleWebKit/537.36","Chrome","Safari","Opera","Firefox"])} (${randomChoice(["Windows NT 10.0; Win64; x64","Macintosh; Intel Mac OS X 10_15_7","X11; Linux x86_64"])})`;t+=` ${randomChoice(["AppleWebKit/537.36","Gecko/20100101","Trident/7.0"])}`,t.includes("AppleWebKit")&&(t+=" (KHTML, like Gecko)");const o=randomChoice(["Chrome","Safari","Firefox","Edge"]);return t+=` ${o}/${randomChoice(e)}`,"Chrome"===o&&(t+=` Safari/${randomChoice(e)}`),t}async function errorResponse(e){const t=e.headers.get("content-type");if(null===t)return new Response(e.statusText,{status:e.status,statusText:e.statusText,headers:{"Content-Type":"text/plain; charset=utf-8"}});if(t.includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:e.status,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}{const t=await e.text();return console.error(t,e.status,e.statusText),new Response(t,{status:e.status,statusText:e.statusText,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function getMediaType(e){const t=e.match(/^data:(.*?);base64,/);return t&&t.length>1?t[1]:null}function MergeMessages(e){let t="";for(let o=0;o${a.role||"user"}\n${o.text||""}<|im_end|>\n`))}else t+=`<|im_start|>${a.role||"user"}\n${a.content}<|im_end|>\n`}return t}function MergeMessagesNoMarkup(e){let t="";for(let o=0;o0&&(r.choices[0].delta={content:t,type:s})):(r.object="chat.completion",r.usage={prompt_tokens:0,completion_tokens:0,total_tokens:0},r.choices[0].message={role:"assistant",content:t}),r}function toImageResponse(e,t){return{id:e,created:Math.floor(Date.now()/1e3),model:"",object:"chat.images",choices:t}}function timestamp(){return Date.now()}function unixTimestamp(){return parseInt(""+Date.now()/1e3)}function parseStrCookies(e){return e.split(";").filter(Boolean).reduce(((e,t)=>{const[o,a]=t.trim().split("=");return e[decodeURIComponent(o)]=decodeURIComponent(a||""),e}),{})}async function openai(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";return o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,await requestOpenAI(e.context.model.apiBase,s,o)}async function requestOpenAI(e,t,o,a=null){try{o.meta&&delete o.meta,o.hasOwnProperty("system_prompt")&&delete o.system_prompt,o.hasOwnProperty("stream")||(o.stream=!1),a||(a={}),a["content-type"]||(a["content-type"]="application/json"),a.Authorization||a["api-key"]||!t||(a.Authorization=`Bearer ${t}`);const s=await fetch(e,{method:"POST",headers:a,body:JSON.stringify({...o})});if(o.stream)return new Response(s.body,{status:s.status,statusText:s.statusText,headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});if(s.ok){const e=await s.json();return new Response(JSON.stringify(e),{status:s.status,statusText:s.statusText,headers:{"Content-Type":"application/json"}})}return errorResponse(s)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}let copilotToken={token:"",expires_at:0,key:""},copilotClinet={vscode_sessionid:"",machineid:""};async function authenticate$1(e){const t=await fetch("https://api.github.com/copilot_internal/v2/token",{method:"GET",headers:{authorization:`token ${e}`,"editor-version":"vscode/1.95.3","editor-plugin-version":"copilot-chat/0.23.2024102903","user-agent":"GitHubCopilotChat/0.23.2024102903"}}),o=await t.json();if(t.ok)return o.key=e,o;throw new Error(o.message)}async function github_copilot(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{(""===copilotToken.token||(new Date).getTime()>1e3*copilotToken.expires_at||copilotToken.key!==s)&&(copilotToken=await authenticate$1(s))}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}if(""===copilotClinet.vscode_sessionid){const e=getRandomUuidv4()+String(Math.round((new Date).getTime()));copilotClinet.vscode_sessionid=e}if(""===copilotClinet.machineid){const e=Math.floor(1e11*Math.random()).toString(16);copilotClinet.machineid=await generateSHA256(e)}o.stream?(o.top_p=1,o.n=1,o.messages=[...o.messages]):(delete o.temperature,delete o.max_tokens,"system"===o.messages[0].role&&(o.messages[0].role="user"),o.messages=[...o.messages]);return await requestOpenAI("https://api.individual.githubcopilot.com/chat/completions",copilotToken.token,o,{"Content-Type":"application/json","copilot-integration-id":"vscode-chat","editor-plugin-version":"copilot-chat/0.23.2024102903","editor-version":"vscode/1.95.3","openai-intent":"conversation-panel","openai-organization":"github-copilot","user-agent":"GitHubCopilotChat/0.23.2024102903","vscode-machineid":copilotClinet.machineid,"Vscode-Sessionid":copilotClinet.vscode_sessionid,"x-github-api-version":"2023-07-07","X-Request-Id":getRandomUuidv4(),"sec-fetch-site":"none","sec-fetch-mode":"no-cors","sec-fetch-dest":"empty","accept-encoding":"gzip, deflate, br, zstd"})}let glmToken={token:"",expires_at:0,key:""};const encoder$x=new TextEncoder,GLM_DEFAULT_ASSISTANT_ID="65940acff94777010aa6b796",FAKE_HEADERS$c={Accept:"*/*","Accept-Encoding":"gzip, deflate, br",Connection:"keep-alive",Host:"chatglm.cn",Origin:"https://chatglm.cn","Sec-Ch-Ua":'"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',"Sec-Ch-Ua-Mobile":"?0","Sec-Ch-Ua-Platform":'"Windows"',"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"},glm_deveice_id=randHex(32);async function authenticate(e){const t=await fetch("https://chatglm.cn/chatglm/backend-api/v1/user/refresh",{method:"POST",headers:{...FAKE_HEADERS$c,authorization:`Bearer ${e}`,Referer:"https://chatglm.cn/main/alltoolsdetail"}}),o=await t.json();if(t.ok&&0==o.status)return{token:o.result.accessToken,expires_at:(new Date).getTime()+36e5,key:e};throw new Error(o.message)}async function chatglm(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{(""===glmToken.token||(new Date).getTime()>glmToken.expires_at||glmToken.key!==s)&&(glmToken=await authenticate(s))}catch(e){return console.error(e),new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}let r=o.conversationId||"",i=null,c=GLM_DEFAULT_ASSISTANT_ID;a&&(c=a.apiAgentId?a.apiAgentId:c,r=a.apiConversationId?a.apiConversationId:r),i=""!==r?messagesPrepare([o.messages.pop()],[],!0):messagesPrepare(o.messages,[],!1);try{let e=""===r;const t=await fetch("https://chatglm.cn/chatglm/backend-api/assistant/stream",{method:"POST",headers:{...FAKE_HEADERS$c,Authorization:`Bearer ${glmToken.token}`,"content-type":"application/json",Referer:c==GLM_DEFAULT_ASSISTANT_ID?"https://chatglm.cn/main/alltoolsdetail":`https://chatglm.cn/main/gdetail/${c}`},body:JSON.stringify({assistant_id:c,conversation_id:r,meta_data:{mention_conversation_id:"",is_test:!1,input_question_type:"xxxx",channel:"",draft_id:"",quote:""},messages:i})});if(!t.ok)return errorResponse(t);const a=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=t=>{0!=e&&removeConversation$5(t,c)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$q(a,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s,l;for(;;){const{value:e,done:t}=await a.read();if(t){const e=JSON.parse(l.data);s=toOpenAIResponse(e.id,e.parts[0].content[0].text,e.model,!1),removeConversationId(e.conversation_id);break}e&&(l=e)}return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function messagesPrepare(e,t,o=!1){let a;if(o||e.length<2)a=e.reduce(((e,t)=>Array.isArray(t.content)?t.content.reduce(((e,t)=>isObject(t)&&"text"==t.type?e+(t.text||"")+"\n":e),e):e+`${t.content}\n`),"");else{let t=e[e.length-1];if(Array.isArray(t.content)&&t.content.some((e=>"object"==typeof e&&["file","image_url"].includes(e.type)))){let t={content:"关注用户最新发送文件和消息",role:"system"};e.splice(e.length-1,0,t)}a=(e.reduce(((e,t)=>{const o=t.role.replace("system","<|sytstem|>").replace("assistant","<|assistant|>").replace("user","<|user|>");return Array.isArray(t.content)?t.content.reduce(((e,t)=>isObject(t)&&"text"==t.type?e+(`${o}\n`+t.text||"")+"\n":e),e):e+`${o}\n${t.content}\n`}),"")+"<|assistant|>\n").replace(/\!\[.+\]\(.+\)/g,"").replace(/\/mnt\/data\/.+/g,"")}const s=t.filter((e=>!e.width&&!e.height)),r=t.filter((e=>e.width||e.height)).map((e=>(e.image_url=e.file_url,e)));return[{role:"user",content:[{type:"text",text:a},...0==s.length?[]:[{type:"file",file:s}],...0==r.length?[]:[{type:"image",image:r}]]}]}function onParse$t(e,t){try{const o=JSON.parse(e.data);if("finish"==o.status)return void t.endCallback();if("intervene"==o.status){const e=o.last_error&&o.last_error.intervene_text?`\n\n${o.last_error.intervene_text}`:"";return t.msgCallback(e),void t.endCallback()}t.id||(t.id=o.id),t.conversation_id||(t.conversation_id=o.conversation_id),t.model||(t.model=o.parts.length&&o.parts[0].model);const a=o.parts.reduce(((e,o)=>{const{status:a,content:s,meta_data:r}=o;if(!Array.isArray(s))return e;return e+s.reduce(((e,o)=>{const{status:s,type:i,text:c,image:l,code:d,content:p}=o;if("init"==s&&t.textChunkLength>0&&(t.textOffset+=t.textChunkLength+1,t.textChunkLength=0,e+="\n"),"text"==i)return t.toolCall&&(e+="\n",t.textOffset++,t.toolCall=!1),"finish"==s&&(t.textChunkLength=c.length),e+c;if("quote_result"==i&&"finish"==a&&r&&Array.isArray(r.metadata_list)){const o=r.metadata_list.reduce(((e,t)=>e+`检索 ${t.title}(${t.url}) ...`),"")+"\n";return t.textOffset+=o.length,t.toolCall=!0,e+o}if("image"==i&&Array.isArray(l)&&"finish"==a){const o=l.reduce(((e,t)=>e+(/^(http|https):\/\//.test(t.image_url)?`![图像](${t.image_url||""})`:"")),"")+"\n";return t.textOffset+=o.length,t.toolCall=!0,e+o}if("code"==i&&"init"==s){let o="";t.codeGenerating||(t.codeGenerating=!0,o="```python\n");const a=d.substring(t.codeTemp.length,d.length);return t.codeTemp+=a,t.textOffset+=o.length+a.length,e+o+a}if("code"==i&&"finish"==s&&t.codeGenerating){const o="\n```\n";return t.codeGenerating=!1,t.codeTemp="",t.textOffset+=o.length,e+o}return"execution_output"==i&&"string"==typeof p&&"done"==s&&t.lastExecutionOutput!=p?(t.lastExecutionOutput=p,t.textOffset+=p.length+1,e+p+"\n"):e}),"")}),""),s=a.substring(t.content.length-t.textOffset,a.length);s&&(t.content+=s,t.msgCallback(s))}catch(e){throw e}}async function streamJsonResponseBodies$q(e,t,o){const a=t.getWriter();let s={id:"",model:"",conversation_id:"",content:"",toolCall:!1,codeGenerating:!1,textChunkLength:0,codeTemp:"",lastExecutionOutput:"",textOffset:0,msgCallback:e=>{a.write(encoder$x.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$x.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.close(),o&&o(s.conversation_id);break}if(!t)continue;onParse$t(t,s)}catch(e){throw a.close(),e}}async function removeConversation$5(e,t=GLM_DEFAULT_ASSISTANT_ID){(await fetch("https://chatglm.cn/chatglm/backend-api/assistant/conversation/delete",{method:"POST",headers:{...FAKE_HEADERS$c,Authorization:`Bearer ${glmToken.token}`,"content-type":"application/json",Referer:"https://chatglm.cn/main/alltoolsdetail","App-Name":"chatglm",Platform:"pc","X-Device-Id":glm_deveice_id,"X-Request-Id":randHex(32)},body:JSON.stringify({assistant_id:t,conversation_id:e})})).ok||console.error("移除会话失败")}let qwenToken={login_tongyi_ticket:"",login_aliyunid_ticket:"",tongyi_guest_ticket:"",tongyi_sso_ticket:""};const encoder$w=new TextEncoder,FAKE_HEADERS$b={"accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site","x-platform":"pc_tongyi","x-xsrf-token":"cd0ebf7c-7a70-412b-8e57-43f83ee081d5",Host:"qianwen.biz.aliyun.com",Referer:"https://tongyi.aliyun.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function tongyi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=JSON.parse(s);qwenToken.login_tongyi_ticket=r.login_tongyi_ticket,qwenToken.login_aliyunid_ticket=r.login_aliyunid_ticket,qwenToken.tongyi_guest_ticket=r.tongyi_guest_ticket,qwenToken.tongyi_sso_ticket=r.tongyi_sso_ticket;let i=o.conversationId||"",c="";a&&(c=a.apiAgentId?a.apiAgentId:c,i=a.apiConversationId?a.apiConversationId:i);const l=o.messages;if(l.length>=2&&"assistant"===l[l.length-2].role){const e=l[l.length-2].id;c=e||c}i&&!c&&(c="",i="");let d=null,p=""===i;d=""!==i?l.pop().content:MergeMessages(l);const removeConversationId=e=>{0!=p&&removeConversation$4(e)};try{const e=http2.connect("https://qianwen.biz.aliyun.com"),t=e.request({":method":"POST",":path":"/dialog/conversation","content-type":"application/json",Accept:"text/event-stream",Cookie:getCookie$3(),...FAKE_HEADERS$b,Referer:`https://tongyi.aliyun.com/qianwen/?spm=5176.28103460.0.0.40f713f4tP8ZYT&sessionId=${i}`});if(t.write(JSON.stringify({model:"",action:"next",mode:"chat",userAction:"chat",requestId:getRandomUuidv4(),sessionId:i,sessionType:"text_chat",parentMsgId:c,params:{fileUploadBatchId:getRandomUuidv4()},contents:[{content:d,contentType:"text"}]})),t.setEncoding("utf8"),t.on("end",(()=>{e.close()})),o.stream){const{readable:e,writable:o}=new TransformStream;return http2StreamJsonResponseBodies(t,o,removeConversationId),t.end(),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a=await new Promise(((e,o)=>{let a,s={id:"",convId:"",content:"",msgCallback:(e,t)=>{a=e},endCallback:()=>{const t=toOpenAIResponse(`${a.sessionId}-${a.msgId}`,s.content,"",!1);removeConversationId(s.convId),e(t)}};const r=createParser({onEvent:e=>{onParse$s(e,s)}});t.on("data",(e=>r.feed(e.toString()))),t.on("error",o),t.end()}));return new Response(JSON.stringify(a),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$s(e,t){try{if("[DONE]"==e.data)return void t.endCallback();const o=JSON.parse(e.data);if(o.errorCode)return void t.msgCallback(o.errorCode);!t.convId&&o.sessionId&&(t.convId=o.sessionId),!t.id&&o.msgId&&(t.id=o.msgId);const a=(o.contents||[]).reduce(((e,t)=>{const{contentType:o,role:a,content:s}=t;return"text"!=o&&"text2image"!=o?e:"assistant"==a||isString$1(s)?e+s:e}),"");let s=a.substring(t.content.length,a.length);s&&"text2image"==o.contentType&&(s=s.replace(/https?:\/\/[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=\,]*)/gi,(e=>{const t=new URL(e);return t.search="",t.toString()}))),t.content=a,t.msgCallback(s)}catch(e){throw e}}async function http2StreamJsonResponseBodies(e,t,o){const a=t.getWriter();let s={id:"",convId:"",content:"",msgCallback:e=>{a.write(encoder$w.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$w.encode("data: [DONE]\n\n")),o&&o(s.convId)}};const r=createParser({onEvent:e=>{onParse$s(e,s)}});e.on("data",(e=>r.feed(e.toString()))),e.once("error",(()=>a.close())),e.once("close",(()=>a.close()))}async function removeConversation$4(e){const t=await fetch("https://qianwen.biz.aliyun.com/dialog/session/delete",{method:"POST",headers:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate, br, zstd","Content-Type":"application/json",Cookie:getCookie$3(),...FAKE_HEADERS$b},body:JSON.stringify({sessionId:e})});t.ok||console.error(`移除会话失败:${t}`)}function getCookie$3(){let e=[];for(let t in qwenToken)qwenToken.hasOwnProperty(t)&&""!==qwenToken[t]&&e.push(`${t}=${qwenToken[t]}`);return e.join("; ")}let yiToken={token:"",expires_at:0,key:""};const encoder$v=new TextEncoder,FAKE_HEADERS$a={"accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","app-name":"wanzhi-web","cache-control":"no-cache","device-info":'{"web_id":"MCfvYwUh4iKX-gH55xrA5","baidu_id":"18f9fffca0502883465b60"}',"pop-url":"https://www.wanzhi.com/",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site"};async function wanzhi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";yiToken.token=s;try{let e=o.conversationId||"";a&&(e=a.apiConversationId?a.apiConversationId:e);let t="",s=!1;if(""!==e)t=o.messages.pop().content;else{const a=await fetch("https://api.wanzhi.com/api/v1/chat/getChannel",{headers:{...FAKE_HEADERS$a,accept:"application/json","content-type":"application/json",Authorization:`${yiToken.token}`},body:JSON.stringify({model:o.model,templateId:"",message:t,language:"Chinese"}),method:"POST"});if(!a.ok)return errorResponse(a);let r=await a.json();if(200!=r.code)throw new Error(r.message);e=r.data.channelId,t=MergeMessages(o.messages),s=!0}const r=await fetch("https://api.wanzhi.com/api/v1/chat/send",{method:"POST",headers:{...FAKE_HEADERS$a,Authorization:`${yiToken.token}`,"content-type":"application/json",accept:"text/event-stream"},body:JSON.stringify({isGetJson:!0,version:"1.4.0",language:"zh-CN",channelId:e,message:t,model:o.model,messageIds:[],improveId:null,richMessageId:null,isImprove:!1,isNewChat:!1,action:null,isGeneratePpt:!1,isSlidesChat:!1,imageUrls:[],roleEnum:null,pptCoordinates:"",docPromptTemplateId:null})});if(!r.ok)return errorResponse(r);const i=r.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=s&&removeConversation$3(e)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$p(i,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let c={content:"",id:"",model:"",msgCallback:e=>{c.content+=e.content,c.id=e.messageId}};for(;;){const{value:e,done:t}=await i.read();if(t){removeConversationId();break}e&&onParse$r(e,c)}return new Response(JSON.stringify(toOpenAIResponse(c.id,c.content,c.model,!1)),{status:r.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$r(e,t){try{const o=JSON.parse(e.data);if(!isArray(o))return;const a=o[0];if(t.model||(t.model=a.model),!a.hasOwnProperty("chunkId")||!a.hasOwnProperty("content"))return;t.msgCallback(a)}catch(e){throw e}}async function streamJsonResponseBodies$p(e,t,o){const a=t.getWriter();let s={model:"",msgCallback:e=>{a.write(encoder$v.encode(`data: ${JSON.stringify(toOpenAIResponse(e.messageId,e.content,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$v.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;onParse$r(t,s)}catch(e){throw a.close(),e}}async function removeConversation$3(e){(await fetch("https://api.wanzhi.com/api/v1/channel/delete",{headers:{...FAKE_HEADERS$a,accept:"application/json","content-type":"application/json",Authorization:`${yiToken.token}`},body:JSON.stringify({channelId:e}),method:"POST"})).ok||console.error("移除会话失败")}async function coze(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.model,i=o.conversationId||"";a&&(r=a.apiAgentId?a.apiAgentId:r,i=a.apiConversationId?a.apiConversationId:i);let c="";"system"===o.messages[0].role&&a&&a.data.useConversationSetting&&(c=o.messages.shift().content+"\r\n");const l=o.messages.map(((e,t,o)=>{const a={role:e.role};"assistant"===a.role&&(a.type="answer");const s=t===o.length-1;return isArray(e.content)?(a.content_type="object_string",a.content=JSON.stringify(e.content.map((e=>"image_url"===e.type?null:("text"===e.type&&s&&(e.text=`${c}${e.content}`),e))).filter((e=>null!==e)))):(a.content=e.content,a.content_type="text",s&&(a.content=`${c}${a.content}`)),a})),d={bot_id:r,user_id:"seedchat",stream:o.stream,auto_save_history:!0,additional_messages:l};if(!d.bot_id)return new Response("未设置botid",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});try{if(o.stream){const t=await fetch(`${e.context.model.apiBase}?conversation_id=${i}`,{method:"POST",headers:{Authorization:`Bearer ${s}`,"content-type":"application/json",Connection:"Keep-alive",Accept:"*/*"},body:JSON.stringify(d)});if(!t.ok)return errorResponse(t);if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const o=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:r}=new TransformStream;return streamJsonResponseBodies$o(o,r),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=toOpenAIResponse("","不支持非流响应","",!1);return new Response(JSON.stringify(t),{status:400,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$u=new TextEncoder;async function streamJsonResponseBodies$o(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$u.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$u.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$q(t,a)}catch(e){throw o.close(),e}}function onParse$q(e,t){try{const o=JSON.parse(e.data);if(t.id||(t.id=o.id),"conversation.chat.failed"===e.event)return t.msgCallback(o.last_error.msg),void t.endCallback();if("done"===e.event)return void t.endCallback();if("conversation.message.delta"!==e.event)return;t.msgCallback(o.content)}catch(e){throw e}}const huggingface_request_data={hf_chat:"",token:"",aws_waf_token:""},FakeHeaders$4={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36"},getCookie$2=()=>`hf-chat=${huggingface_request_data.hf_chat};token=${huggingface_request_data.token}; aws-waf-token=${huggingface_request_data.aws_waf_token}`;async function huggingface(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);try{const e=JSON.parse(s);huggingface_request_data.hf_chat=e["hf-chat"],huggingface_request_data.token=e.token,huggingface_request_data.aws_waf_token=e["aws-waf-token"];let t="",a=!1;if(""===r){const e=await fetch("https://huggingface.co/chat/conversation",{headers:{...FakeHeaders$4,"content-type":"application/json",cookie:getCookie$2(),Referer:"https://huggingface.co/chat",origin:"https://huggingface.co"},body:JSON.stringify({model:o.model}),method:"POST"});if(!e.ok)return errorResponse(e);let s=await e.json();r=s.conversationId,a=!0,t=MergeMessages(o.messages)}else t=o.messages.pop().content;const removeConversationId=async()=>{0!=a&&removeConversation$2(r)},i=await getLastId(r);if(!i)return new Response("获取ID失败",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});const c=JSON.stringify({inputs:t,id:i,is_retry:!1,is_continue:!1,web_search:!1,tools:[]}),l=new FormData$1;l.setBoundary("----WebKitFormBoundary"+Math.random().toString(36).substring(2)),l.append("data",c);const d=await fetch(`https://huggingface.co/chat/conversation/${r}`,{method:"POST",headers:{...FakeHeaders$4,cookie:getCookie$2(),referer:`https://huggingface.co/chat/conversation/${r}`,origin:"https://huggingface.co","Content-Type":`multipart/form-data; boundary=${l.getBoundary()}`},body:l.getBuffer()});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseString$1(p,t,o.model,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{u.content+=e}};for(;;){const{value:e,done:t}=await p.read();if(t){removeConversationId();break}if(!e)continue;const o=e.split("\n");for(let e=0;e0&&onParse$p(o[e],u)}return new Response(JSON.stringify(toOpenAIResponse(u.id,u.content,o.model,!1)),{status:d.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$t=new TextEncoder;async function streamJsonResponseString$1(e,t,o,a){const s=t.getWriter();let r={id:getRandomUuidv4(),msgCallback:e=>{s.write(encoder$t.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,o,!0))}\n\n`))},endCallback:()=>{s.write(encoder$t.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:o}=await e.read();if(t){s.close(),a&&a();break}if(!o)continue;const i=o.split("\n");for(let e=0;e0&&onParse$p(i[e],r)}catch(e){throw s.close(),e}}function onParse$p(e,t){try{const o=JSON.parse(e);if("finalAnswer"===o.type)return void t.endCallback(o.text);if("stream"!=o.type)return;t.msgCallback(o.token.split("\0").join(""))}catch(e){throw e}}async function removeConversation$2(e){(await fetch(`https://huggingface.co/chat/conversation/${e}`,{headers:{...FakeHeaders$4,cookie:getCookie$2(),Referer:`https://huggingface.co/chat/conversation/${e}`},method:"DELETE"})).ok||console.error("移除会话失败")}async function getLastId(e){const t=await fetch(`https://huggingface.co/chat/conversation/${e}/__data.json?x-sveltekit-invalidated=11`,{headers:{...FakeHeaders$4,cookie:getCookie$2(),Referer:`https://huggingface.co/chat/conversation/${e}`},method:"GET"});if(!t.ok)throw new Error("获取ID失败");const o=await t.text(),a=JSON.parse(getFirstJson(o)).nodes[1].data,s=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;let r;for(let e=a.length-1;e>=0;e--)if("string"==typeof a[e]&&s.test(a[e])){r=a[e];break}return r}function getFirstJson(e){const t=e.indexOf("\n");return-1===t?"":e.substring(0,t+1)}let ernieToken={refresh_token:"",expires_in:2592e3,session_key:"",access_token:"",scope:"",session_secret:"",secretId:"",expirationTime:0};function getTimestampString(){return(new Date).toISOString().replace(/\.\d*/,"")}function getQueryString(e){let t="",o=[];if(e){for(let t in e)o.push(t);o=o.sort()}if(o&&o.length>0){for(let a of o)t+=encodeURIComponent(a)+"="+encodeURIComponent(e[a])+"&";t=t.substr(0,t.length-1)}return t}async function getAuthString(e,t,o,a,s,r,i){let c=`bce-auth-v1/${e}/${i}/1800`,l=r+"\n"+a+"\n"+s+"\n"+(encodeURIComponent("host")+":"+encodeURIComponent(o)+"\n"+encodeURIComponent("x-bce-date")+":"+encodeURIComponent(i)),d=await createHmac("SHA-256",t,c);return`${c}/host;x-bce-date/${await createHmac("SHA-256",d,l)}`}async function ernie(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{if(""===ernieToken.access_token||(new Date).getTime()>ernieToken.expirationTime||ernieToken.secretId!==r){const e="iam.bj.baidubce.com",t="application/json; charset=utf-8",o="/v1/BCE-BEARER/token",a="GET";let s=getTimestampString(),c=getQueryString({expireInSeconds:2592e3}),l=await getAuthString(r,i,e,o,c,a,s),d=await fetch("https://"+e+o+"?"+c,{method:a,headers:{Authorization:l,"Content-Type":t,Host:e,"x-bce-date":s}}),p=await d.json();ernieToken.secretId=r,ernieToken.access_token=p.token,ernieToken.expirationTime=new Date(p.expireTime).getTime()}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}return await requestOpenAI("https://qianfan.baidubce.com/v2/chat/completions",ernieToken.access_token,o)}new TextEncoder;const encoder$s=new TextEncoder;async function hunyuan(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);const c={secretId:r,secretKey:i},l="ap-beijing",d={httpProfile:{endpoint:"hunyuan.tencentcloudapi.com"}}.httpProfile.endpoint,p=l,u="hunyuan",m=Math.floor((new Date).getTime()/1e3),h=getDate(m),g=JSON.stringify({Temperature:o.temperature?o.temperature:1,Stream:o.stream||!1,Model:o.model,Messages:o.messages.map((e=>({Role:e.role,Content:e.content})))}),f="content-type;host",y=getHash(g),w="TC3-HMAC-SHA256",_=h+"/"+u+"/tc3_request",k=w+"\n"+m+"\n"+_+"\n"+getHash("POST\n/\n\n"+("content-type:application/json; charset=utf-8\nhost:"+d+"\n")+"\n"+f+"\n"+y),T=sha256(h,"TC3"+c.secretKey),b=sha256(u,T),A=sha256("tc3_request",b),C=sha256(k,A,"hex"),v=w+" Credential="+c.secretId+"/"+_+", SignedHeaders="+f+", Signature="+C;try{const e=await fetch(`https://${d}`,{method:"POST",headers:{Authorization:v,Host:d,"Content-Type":"application/json; charset=utf-8","X-TC-Action":"ChatCompletions","X-TC-Timestamp":`${m}`,"X-TC-Version":"2023-09-01","X-TC-Region":p},body:g});if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$n(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=(await e.json()).Response,a=toOpenAIResponse(t.id,t.Choices[0].Message.Content,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function streamJsonResponseBodies$n(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$s.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$s.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$o(t,s)}catch(e){throw a.close(),e}}function onParse$o(e,t){try{const o=JSON.parse(e.data);if("stop"===o.Choices[0].FinishReason)return void t.endCallback();t.id||(t.id=o.Id),t.msgCallback(o.Choices[0].Delta.Content)}catch(e){throw e}}function sha256(e,t="",o){return crypto.createHmac("sha256",t).update(e).digest(o)}function getHash(e,t="hex"){return crypto.createHash("sha256").update(e).digest(t)}function getDate(e){const t=new Date(1e3*e);return`${t.getUTCFullYear()}-${("0"+(t.getUTCMonth()+1)).slice(-2)}-${("0"+t.getUTCDate()).slice(-2)}`}var __defProp$4=Object.defineProperty,__defNormalProp$4=(e,t,o)=>t in e?__defProp$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$4=(e,t,o)=>__defNormalProp$4(e,"symbol"!=typeof t?t+"":t,o);const encoder$r=new TextEncoder,FakeHeaders$3={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"},baseCookies="_gid=GA1.2.68066840.1717017781; _ga_K6D24EE9ED=GS1.1.1717087813.23.1.1717088648.0.0.0; _gat_gtag_UA_156449732_1=1; _ga_R1FN4KJKJH=GS1.1.1717087813.37.1.1717088648.0.0.0; _ga=GA1.1.1320014795.1715641484";class LmsysAPI{constructor(){__publicField$4(this,"baseUrl"),__publicField$4(this,"sessionHash"),__publicField$4(this,"cookie"),__publicField$4(this,"textModel"),__publicField$4(this,"stream"),__publicField$4(this,"ver",""),__publicField$4(this,"fn"),this.baseUrl="https://arena.lmsys.org"}init(e,t,o=null,a){this.textModel=o,this.fn=JSON.parse(t),this.sessionHash=this.generateHashFromUUID(e),this.stream=a}generateHashFromUUID(e){return crypto.createHash("sha1").update(e).digest("base64").replace(/[+/=]/g,"").substring(0,11).toLowerCase()}async rJoin(e){const t=await fetch(`${this.baseUrl}/queue/join?`,{method:"POST",headers:{...FakeHeaders$3,cookie:this.cookie,Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`},body:JSON.stringify(e)});if(t.headers.get("content-type").includes("application/json")){const e=await t.json();console.log(e);const o=t.headers.getSetCookie();for(const e of o)e.includes("SERVERID")&&(this.cookie=this.mergeCookies(baseCookies,e))}else{const e=await t.text();if(e.includes("Just a moment...")||e.includes("Attention Required! | Cloudflare"))throw new Error("被cf盾了")}}async getRequestAnswer(e=!1){const t=await fetch(`${this.baseUrl}/queue/data?session_hash=${this.sessionHash}`,{method:"GET",headers:{...FakeHeaders$3,cookie:this.cookie,accept:"text/event-stream",Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`}});if(!e)return;if(!t.ok)return errorResponse(t);const o=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(this.stream){const{readable:e,writable:t}=new TransformStream;return this.streamJsonResponseBodies(o,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={id:"",lastText:"",msgCallback:e=>{},endCallback:()=>{}};for(;;)try{const{done:e,value:t}=await o.read();if(e)break;if(!t)continue;onParse$n(t,a)}catch(e){throw e}const s=toOpenAIResponse(a.id,a.lastText,this.textModel,!1);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}async getAnswer(e){try{this.cookie=await this.fetchCookie();let t={data:[null,this.textModel,e,null],event_data:null,fn_index:this.fn.fn_index_send,trigger_id:this.fn.trigger_id,session_hash:this.sessionHash};await this.rJoin(t),await this.getRequestAnswer();const o={temperature:.7,topP:1,maxTokens:1024};return t={data:[null,`${o.temperature}`,`${o.topP}`,`${o.maxTokens}`],event_data:null,fn_index:this.fn.fn_index_recv,trigger_id:this.fn.trigger_id,session_hash:this.sessionHash},await this.rJoin(t),await this.getRequestAnswer(!0)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async fetchCookie(){if(""!==this.ver){const e=`SERVERID=${this.ver}|${Math.random().toString(36).substring(7)}`;return this.mergeCookies(baseCookies,e)}let e=0;for(;e<3;){e++;try{const e=await fetch(`${this.baseUrl}/info`,{method:"GET",headers:{...FakeHeaders$3,accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",cookie:baseCookies,Origin:`${this.baseUrl}`,Referer:`${this.baseUrl}/`},body:null});if(e.headers.get("content-type").includes("application/json")){const t=e.headers.getSetCookie();for(const e of t)if(e.includes("SERVERID")){const t=this.getCookie(e,"SERVERID");if(!t)continue;const o=t.split("|");if(o.length<2||!o[0].startsWith("S")||"S0"===o[0])continue;this.ver=o[0];const a=`SERVERID=${this.ver}|${Math.random().toString(36).substring(7)}`;return this.mergeCookies(baseCookies,a)}}(await e.text()).includes("Just a moment...")&&console.log("被盾了"),await new Promise((e=>setTimeout(e,1e3)))}catch(e){console.error(e)}}return""}mergeCookies(e,t){return e+"; "+t}getCookie(e,t){const o=e.split(";");for(const e of o){const[o,a]=e.split("=");if(o.trim()===t)return a}}async clearChat(){const e={data:[],event_data:null,fn_index:50,trigger_id:118,session_hash:this.sessionHash};await this.rJoin(e),await this.getRequestAnswer()}async streamJsonResponseBodies(e,t){const o=t.getWriter();let a={id:"",lastText:"",msgCallback:e=>{o.write(encoder$r.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,this.textModel,!0))}\n\n`))},endCallback:()=>{o.write(encoder$r.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:s}=await e.read();if(t){o.close();break}if(!s)continue;onParse$n(s,a)}catch(e){throw o.close(),e}}}function onParse$n(e,t){try{const o=JSON.parse(e.data);if("unexpected_error"===o.msg)return t.msgCallback(o.message),void t.endCallback();if("close_stream"===o.msg)return void t.endCallback();if("estimation"===o.msg)return;if("process_starts"===o.msg)return;if("process_completed"===o.msg)return;if(t.id||(t.id=o.event_id),!o.output||!o.output.data||!o.output.data[0])return;const a=t.lastText;t.lastText=o.output.data[1][0][2].replace(/▌$/,""),t.msgCallback(t.lastText.substring(a.length))}catch(e){throw e}}const lmsysApi=new LmsysAPI;async function lmsys(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;const s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):'{"fn_index_send":52,"fn_index_recv":53,"trigger_id":110}',r=o.conversationId||getRandomUuidv4();return lmsysApi.init(r,s,o.model,o.stream),await lmsysApi.getAnswer(o.messages.pop().content)}const encoder$q=new TextEncoder;async function spark(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i,c]=s.split(separator),l=await getWebsocketUrl(o.model,i,c);const d=new WebSocket(l);if(d.onopen=()=>{const e={header:{app_id:r},parameter:{chat:{domain:o.model,temperature:o.temperature||.5,max_tokens:o.max_tokens||4096}},payload:{message:{text:o.messages}}};d.send(JSON.stringify(e))},o.stream){const{readable:p,writable:u}=new TransformStream,m=u.getWriter(),h={id:"",msgCallback:e=>{m.write(encoder$q.encode(`data: ${JSON.stringify(toOpenAIResponse(h.id,e,o.model,!0))}\n\n`))},endCallback:()=>{m.write(encoder$q.encode("data: [DONE]\n\n"))}};return d.onmessage=e=>{onParse$m(e,h)},d.onerror=e=>{h.msgCallback(e.message),m.close()},d.onclose=()=>{m.close()},new Response(p,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}try{async function waitForContent(){return new Promise(((e,t)=>{const a={id:"",content:"",msgCallback:e=>{a.content+=e},endCallback:()=>{e(toOpenAIResponse(a.id,a.content,o.model,!1))}};d.onmessage=e=>{onParse$m(e,a)},d.onerror=e=>{t(e.message)},d.onclose=()=>{""===a.content&&t("WebSocket closed before receiving content.")}}))}const g=await waitForContent();return new Response(JSON.stringify(g),{status:200,headers:{"Content-Type":"application/json"}})}catch(f){return new Response(f.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function getWebsocketUrl(e,t,o){let a="";switch(e){case"4.0Ultra":a="wss://spark-api.xf-yun.com/v4.0/chat";break;case"generalv3.5":a="wss://spark-api.xf-yun.com/v3.5/chat";break;case"generalv3":a="wss://spark-api.xf-yun.com/v3.1/chat";break;case"generalv2":a="wss://spark-api.xf-yun.com/v2.1/chat";break;case"general":a="wss://spark-api.xf-yun.com/v1.1/chat"}return new Promise(((e,s)=>{const r=new URL(a),i=(new Date).toUTCString(),c=`host: ${r.host}\ndate: ${i}\nGET ${r.pathname} HTTP/1.1`,l=crypto.createHmac("sha256",o).update(c).digest().toString("base64"),d=`api_key="${t}", algorithm="hmac-sha256", headers="host date request-line", signature="${l}"`,p=Buffer.from(d).toString("base64");e(`wss://${r.host}${r.pathname}?authorization=${p}&date=${i}&host=${r.host}`)}))}function onParse$m(e,t){try{const{header:o,payload:a}=JSON.parse(e.data);if(2==o.status)return t.msgCallback(a.choices.text[0].content),void t.endCallback();t.id||(t.id=o.sid),t.msgCallback(a.choices.text[0].content)}catch(e){throw e}}async function cloudflare(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{const e={messages:o.messages,stream:o.stream,temperature:o.temperature||.5},t=await fetch(`https://api.cloudflare.com/client/v4/accounts/${r}/ai/run/${o.model}`,{method:"POST",headers:{"content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify(e)});if(!t.ok)return errorResponse(t);if(o.stream){if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const e=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$m(e,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const a=await t.json(),s=toOpenAIResponse(getRandomUuidv4(),a.result.response,o.model,!1);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$p=new TextEncoder;async function streamJsonResponseBodies$m(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$p.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$p.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$l(t,s)}catch(e){throw a.close(),e}}function onParse$l(e,t){try{if("[DONE]"===e.data)return void t.endCallback();const o=JSON.parse(e.data);t.msgCallback(o.response)}catch(e){throw e}}const fakeHeaders$1={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"},mistral_ai_request_data={ory_session_key:"",ory_session_value:""},getCookie$1=()=>`${mistral_ai_request_data.ory_session_key}=${mistral_ai_request_data.ory_session_value};NEXT_LOCALE=en;ory_kratos_continuity=MTcxOTc3MDk2OHxEWDhFQVFMX2dBQUJFQUVRQUFCZl80QUFBUVp6ZEhKcGJtY01Jd0FoYjNKNVgydHlZWFJ2YzE5dmFXUmpYMkYxZEdoZlkyOWtaVjl6WlhOemFXOXVCbk4wY21sdVp3d21BQ1JpTmpOaFpqY3lOUzFsTURBNExUUXpPRGd0WVdKa05pMHpNRFUwWkRNMU1XTTVZalE9fPfD0SHupntGNg_XP_fUaHjsTLm9A0KmO1zh2MG71eLM;intercom-device-id-xel0jpx9=13cf9530-2b5d-4ee2-85e8-1f7c7f0423b1;intercom-session-xel0jpx9=U1I4MmFFRG1FN3RiNHdYaTFQNUNuL3RzaFdpQWpEMSs0U0FlSUlOMjR2V0pGeVZuK0FXT3lsMEJMa0FrSDZVTS0tRlJaSGZ1QXg1U2VYQTNxd2FUWkltZz09--495660161dc146e9de5bbdc172d8c5252df24db5;`;async function mistral_ai(e){var t,o,a;const s=Object.fromEntries(e.headers),r=await readBody(e),i=e.context.meta||r.meta;r.model=r.model&&"default"!==r.model?r.model:null==i?void 0:i.apiModel;let c=(null==i?void 0:i.apiKey)?i.apiKey:s.authorization?extractBearerToken(s.authorization):"",l=r.conversationId||"";i&&(l=i.apiConversationId?i.apiConversationId:l);try{const[e,s]=c.split(separator);mistral_ai_request_data.ory_session_key=e,mistral_ai_request_data.ory_session_value=s;let i=!1;if(""===l){const e=await fetch("https://chat.mistral.ai/api/trpc/message.newChat?batch=1",{headers:{...fakeHeaders$1,"content-type":"application/json",cookie:getCookie$1(),Referer:"https://chat.mistral.ai"},body:JSON.stringify({0:{json:{content:MergeMessages(r.messages),rag:!1}}}),method:"POST"});if(!e.ok)return errorResponse(e);let s=await e.json();l=null==(a=null==(o=null==(t=s[0].result)?void 0:t.data)?void 0:o.json)?void 0:a.chatId,i=!0}const removeConversationId=async()=>{0!=i&&removeConversation$1(l)},d=await fetch("https://chat.mistral.ai/api/chat",{method:"POST",headers:{...fakeHeaders$1,cookie:getCookie$1(),"Content-Type":"application/json",Referer:`https://chat.mistral.ai/chat/${l}`},body:JSON.stringify({chatId:l,model:r.model,messageInput:i?void 0:r.messages.pop().content,messageId:i?void 0:getRandomUuidv4(),mode:i?"retry":"append"})});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).getReader();if(r.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseString(p,t,r.model,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{u.content+=e}};for(;;){const{value:e,done:t}=await p.read();if(t){removeConversationId();break}if(!e)continue;const o=e.split("\n");for(let e=0;e0&&onParse$k(o[e],u)}return new Response(JSON.stringify(toOpenAIResponse(u.id,u.content,r.model,!1)),{status:d.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$o=new TextEncoder;async function streamJsonResponseString(e,t,o,a){const s=t.getWriter();let r={id:getRandomUuidv4(),msgCallback:e=>{s.write(encoder$o.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,o,!0))}\n\n`))},endCallback:()=>{s.write(encoder$o.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:o}=await e.read();if(t){s.close(),a&&a();break}if(!o)continue;const i=o.split("\n");for(let e=0;e0&&onParse$k(i[e],r)}catch(e){throw s.close(),e}}function onParse$k(e,t){try{const o=e[0];if("2"===o)return;if(""!==o&&o||t.endCallback(),"0"!==o)return;let a=e.slice(3,e.length-1);a=decodeEscapedCharacters(a),t.msgCallback(a)}catch(e){throw e}}function decodeEscapedCharacters(e){const t={"\\n":"\n","\\r":"\r","\\t":"\t","\\b":"\b","\\f":"\f","\\v":"\v","\\'":"'",'\\"':'"',"\\\\":"\\"};return e.replace(/\\(n|r|t|b|f|v|'|\"|\\)/g,(e=>t[e]))}async function removeConversation$1(e){(await fetch("https://chat.mistral.ai/api/trpc/chat.delete?batch=1",{headers:{...fakeHeaders$1,cookie:getCookie$1(),"content-type":"application/json",Referer:`https://chat.mistral.ai/chat/${e}`},method:"POST",body:JSON.stringify({0:{json:{id:e}}})})).ok||console.error("移除会话失败")}var __defProp$3=Object.defineProperty,__defNormalProp$3=(e,t,o)=>t in e?__defProp$3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$3=(e,t,o)=>__defNormalProp$3(e,t+"",o);class GoogleAuth{constructor(){__publicField$3(this,"googleTokenCache",{accessToken:"",expiry:0,client_id:"",client_secret:"",refresh_token:"",token_type:""})}async getGoogleCredentialsAccessToken(e,t,o){const a=Date.now()/1e3;if(this.googleTokenCache.accessToken&&a{let o="gcloud";"win32"===process.platform&&(o="gcloud.cmd");const a=spawn(o,["auth","print-access-token"]);let s="";a.stdout.on("data",(e=>{s+=e.toString()})),a.stderr.on("data",(e=>{console.error(`错误输出: ${e}`),t(new Error(`错误输出: ${e}`))})),a.on("close",(o=>{0!==o?t(new Error(`子进程退出,退出码 ${o}`)):e(s.trim())}))}))}}const encoder$n=new TextEncoder,auth$2=new GoogleAuth;async function anthropic(e){return await _anthropic(e,(async(t,o)=>await fetch("https://api.anthropic.com/v1/messages",{method:e.method,headers:{"Content-Type":"application/json","x-api-key":`${t}`,"anthropic-version":"2023-06-01"},body:JSON.stringify(o)})))}async function anthropic_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);return await _anthropic(e,(async(e,t)=>{if(e)if(e.includes("client_email")){const t=JSON.parse(e);e=await auth$2.getServiceAccountAccessToken(t.client_email,t.private_key)}else{const[t,o,a]=e.split(separator);e=await auth$2.getGoogleCredentialsAccessToken(t,o,a)}else e=await GoogleAuth.getGooglePrintAccessToken();t.anthropic_version="vertex-2023-10-16";const o=t.model;delete t.model;const a=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/anthropic/models/${o}:streamRawPredict`;return await fetch(a,{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${e}`},body:JSON.stringify(t)})}))}async function _anthropic(e,t){const o=Object.fromEntries(e.headers),a=await readBody(e),s=e.context.meta||a.meta,r=(null==s?void 0:s.apiKey)?s.apiKey:o.authorization?extractBearerToken(o.authorization):"";a.model=a.model&&"default"!==a.model?a.model:null==s?void 0:s.apiModel;let i="";"system"===a.messages[0].role&&(i=a.messages.shift().content);try{let e={model:a.model,temperature:a.temperature||1,max_tokens:a.max_tokens||4096,stream:a.stream||!1,system:i,messages:a.messages.map((e=>isArray(e.content)?{role:e.role,content:e.content.map((e=>"text"==e.type?e:"image_url"==e.type?{type:"image",source:{type:"base64",media_type:getMediaType(e.image_url.url)||"image/jpeg",data:e.image_url.url.split(",")[1]||""}}:void 0))}:e))};const o=await t(r,e);if(!o.ok)return errorResponse(o);if(e.stream){const e=o.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:t,writable:a}=new TransformStream;return streamJsonResponseBodies$l(e,a),new Response(t,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const s=await o.json();return new Response(JSON.stringify(toOpenAIResponse(s.id,s.content[0].text,s.model)),{status:o.status,headers:{"Content-Type":"application/json"}})}catch(e){return console.error(e),new Response(JSON.stringify(e),{status:404,headers:{"Content-Type":"application/json"}})}}async function streamJsonResponseBodies$l(e,t){const o=t.getWriter();let a={id:"",model:"",msgCallback:e=>{o.write(encoder$n.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,a.model,!0))}\n\n`))},endCallback:()=>{o.write(encoder$n.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$j(t,a)}catch(e){throw o.close(),e}}function onParse$j(e,t){try{if("message_start"===e.event){const o=JSON.parse(e.data);return t.id=o.message.id,void(t.model=o.message.model)}if("ping"===e.event)return;if("content_block_start"===e.event)return;if("content_block_stop"===e.event)return void t.endCallback();if("content_block_delta"===e.event){const o=JSON.parse(e.data);t.msgCallback(o.delta.text)}}catch(e){throw e}}async function coze_com(e){const t=await readBody(e),o=e.context.meta||t.meta;t.model=t.model&&"default"!==t.model?t.model:null==o?void 0:o.apiModel;const a=JSON.parse(o.apiKey);let s="";"system"===t.messages[0].role&&(s=t.messages.shift().content+"\r\n");let r={preset_bot:"coze_home",conversation_id:"7331923316200112146",local_message_id:randHex(21),content_type:"text",query:`${s}${t.messages.pop().content}`,extra:{},scene:3,draft_mode:!1,stream:!0,chat_history:[],mention_list:[],device_id:generateFixedIntegerFromDate(9)};return await _coze(e,a.msToken,r)}async function _coze(e,t,o){var a,s,r;const i=await readBody(e),c=e.context.meta||i.meta;i.model=i.model&&"default"!==i.model?i.model:null==c?void 0:c.apiModel;const l=getRandomUuidv4();o=(null==(a=null==c?void 0:c.data)?void 0:a.playground)?null==(s=null==c?void 0:c.data)?void 0:s.playground:o;let d=null==(r=null==c?void 0:c.data)?void 0:r.cozeUrl;d||(process.stdout.write(`cozecom#####${l}#####${t}#####${JSON.stringify(o)}`),d=await new Promise((e=>{let t=setTimeout((()=>{console.error("Timeout: waiting for input"),e(null)}),5e3);const listener=o=>{clearTimeout(t);let a=o.toString();a.startsWith(`cozecom#####${l}#####`)&&(e(a.replace(`cozecom#####${l}#####`,"")),process.stdin.removeListener("data",listener))};process.stdin.on("data",listener)})));try{let e=`https://www.coze.com${d}`;const t=await fetch(e,{method:"POST",headers:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate, br","Accept-Language":"zh-CN","Content-Type":"application/json",Cookie:"i18next=en; passport_csrf_token=f5179141c1974818e626f8f4cd7667f3; passport_csrf_token_default=f5179141c1974818e626f8f4cd7667f3; store-idc=maliva; store-country-code=us; store-country-code-src=uid; odin_tt=f250ba249e3e62f12828b4423305f4315d28c6384e25f27b18e03abd3f4fb3adf71d2c8933f8991cf5207eabf50816f29a748a040504109ab79f3adefc98e579; passport_auth_status=373fd7125b7fedd59554c0f74af2eef1%2C37c2226ca97696536053eba2f987c286; passport_auth_status_ss=373fd7125b7fedd59554c0f74af2eef1%2C37c2226ca97696536053eba2f987c286; sid_guard=26725e058894b05c76833ce275b577a9%7C1717046248%7C5184000%7CMon%2C+29-Jul-2024+05%3A17%3A28+GMT; uid_tt=82872796e139416ef645afbdf1a894c691e7e6938d08d0bb9a529b2cf3200a45; uid_tt_ss=82872796e139416ef645afbdf1a894c691e7e6938d08d0bb9a529b2cf3200a45; sid_tt=26725e058894b05c76833ce275b577a9; sessionid=26725e058894b05c76833ce275b577a9; sessionid_ss=26725e058894b05c76833ce275b577a9; sid_ucp_v1=1.0.0-KDMxNGViNTBjM2QyMTJkMDY4MWYwMmY0NzdhNGRhNDk5M2EzMzc3OWUKIAiCiNrm9b-O4GUQ6JfgsgYY1J0fIAwws_SArgY4CEASEAMaBm1hbGl2YSIgMjY3MjVlMDU4ODk0YjA1Yzc2ODMzY2UyNzViNTc3YTk; ssid_ucp_v1=1.0.0-KDMxNGViNTBjM2QyMTJkMDY4MWYwMmY0NzdhNGRhNDk5M2EzMzc3OWUKIAiCiNrm9b-O4GUQ6JfgsgYY1J0fIAwws_SArgY4CEASEAMaBm1hbGl2YSIgMjY3MjVlMDU4ODk0YjA1Yzc2ODMzY2UyNzViNTc3YTk; msToken=l1rZrtK7I-rrCvQNH5k-z6i935WDz7DRDxYHwizNU6uwPDmX0Dek0SLnPoCEpASUOEmk2K7w2lrBepnUvS4TqDWO2rPO4V6TE-iR5RV-nyCJH3UH4y3tHa6uPO_aZrFB; msToken=l1rZrtK7I-rrCvQNH5k-z6i935WDz7DRDxYHwizNU6uwPDmX0Dek0SLnPoCEpASUOEmk2K7w2lrBepnUvS4TqDWO2rPO4V6TE-iR5RV-nyCJH3UH4y3tHa6uPO_aZrFB; ttwid=1%7Cpzi23E8G88pA4Syzpvpe3MECptlFpQCGH5GavjMDgKo%7C1719135609%7C0a78e8782127db212f5ad28765891f30db6b5eea905a23fc2dee68fd9658cf99; s_v_web_id=verify_lxrcyeix_O8HV7nRd_mc2P_4ok7_9SDD_8784NSsd3sOP",Origin:"https://www.coze.com",Referer:"https://www.coze.com/home","sec-ch-ua":'"Not-A.Brand";v="99", "Chromium";v="124"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"Sec-Fetch-Dest":"empty","Sec-Fetch-Mode":"cors","Sec-Fetch-Site":"same-origin","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36","x-requested-with":"XMLHttpRequest"},body:JSON.stringify(o)});if(!t.ok)return errorResponse(t);if(t.headers.get("content-type").includes("application/json")){const e=await t.json();return new Response(JSON.stringify(e),{status:400,statusText:t.statusText,headers:{"Content-Type":"application/json"}})}const a=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(i.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$k(a,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{s.content+=e}};for(;;){const{value:e,done:t}=await a.read();if(t)break;e&&onParse$i(e,s)}const r=toOpenAIResponse(s.id,s.content,"",!1);return new Response(JSON.stringify(r),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$m=new TextEncoder;async function streamJsonResponseBodies$k(e,t){const o=t.getWriter();let a={id:getRandomUuidv4(),msgCallback:e=>{o.write(encoder$m.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$m.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$i(t,a)}catch(e){throw o.close(),e}}function onParse$i(e,t){try{if("done"===e.event||!e.data)return void t.endCallback();const o=JSON.parse(e.data);if("error"===e.event)return t.msgCallback(o.msg),void t.endCallback();if("answer"!=o.message.type)return;t.msgCallback(o.message.content)}catch(t){throw console.log(e),t}}async function coze_cn(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=r.token_url.toString()||"",c="",l="",d=null,p=o.model,u=o.conversationId||r.conversation_id.toString()||"";a&&(p=a.apiAgentId?a.apiAgentId:p,u=a.apiConversationId?a.apiConversationId:u);const m=JSON.parse(s);if(d={bot_id:p,conversation_id:u,local_message_id:randHex(21),content_type:"text",query:o.messages.pop().content,extra:{},scene:4,draft_mode:!0,stream:!0,chat_history:[],mention_list:[],device_id:"707811472",space_id:m.space_id},console.log("playground",d),!d.bot_id||!d.conversation_id)return new Response("apiAgentId或者apiConversationId没有配置",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});if(""!=i){console.log("token_url",i);const e=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)});if(!e.ok)return errorResponse(e);const t=await e.json();c=t.url,l=t.cookies,console.log("cozeUrl",t)}else{const e=getRandomUuidv4();process.stdout.write(`cozecn#####${e}#####${JSON.stringify({body:JSON.stringify(d)})}`),[c,l]=await new Promise((t=>{let o=setTimeout((()=>{console.error("Timeout: waiting for input"),t(null)}),2e3);const listener=a=>{clearTimeout(o);let s=a.toString();s.startsWith(`cozecn#####${e}#####`)&&(t(s.replace(`cozecn#####${e}#####`,"").split("#####")),process.stdin.removeListener("data",listener))};process.stdin.on("data",listener)}))}try{const e=await fetch(c,{method:"POST",headers:{accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","rpc-persist-mock-space-id":`${d.space_id}`,"rpc-persist-mock-traffic-caller-id":`${d.bot_id}`,"rpc-persist-mock-traffic-enable":"1","rpc-persist-mock-traffic-scene":"10000","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36",Referer:`https://www.coze.cn/space/${d.space_id}/bot/${d.bot_id}`,cookie:l},body:JSON.stringify(d)});if(!e.ok)return errorResponse(e);if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$j(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={content:"",id:getRandomUuidv4(),endCallback:()=>{},msgCallback:e=>{a.content+=e}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$h(e,a)}const s=toOpenAIResponse(a.id,a.content,"",!1);return new Response(JSON.stringify(s),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$l=new TextEncoder;async function streamJsonResponseBodies$j(e,t){const o=t.getWriter();let a={id:getRandomUuidv4(),msgCallback:e=>{o.write(encoder$l.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$l.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$h(t,a)}catch(e){throw o.close(),e}}function onParse$h(e,t){try{if("done"===e.event||!e.data)return void t.endCallback();const o=JSON.parse(e.data);if("answer"!=o.message.type)return;t.msgCallback(o.message.content)}catch(e){throw e}}const FakeHeaders$2={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",Referer:"https://sdk.vercel.ai/","Referrer-Policy":"strict-origin-when-cross-origin"};function toBinary(e){let t=new Uint16Array(e.length);for(let o=0;o{let o=setTimeout((()=>{console.error("Timeout: waiting for input"),e(null)}),5e3);const listener=a=>{let s=a.toString();s.startsWith(`vercelai#####${t}#####`)&&(e(s.replace(`vercelai#####${t}#####`,"")),process.stdin.removeListener("data",listener)),clearTimeout(o)};process.stdin.on("data",listener)}));if(null===o)throw new Error("Timeout: waiting for input");e=JSON.parse(o.toString())}const r=await getAntiBotToken(e.Cookie),i=await fetch("https://sdk.vercel.ai/api/generate",{method:"POST",headers:{...e,"Content-Type":"application/json","Custom-Encoding":r},body:JSON.stringify({chatId:0,chatIds:[0],frequencyPenalty:0,maxTokens:o.max_tokens||4096,messages:o.messages,model:o.model,playgroundId:s,presencePenalty:0,stopSequences:[],temperature:o.temperature||.7,topP:o.topP||1})});if(!i.ok)return errorResponse(i);const c=null==(t=i.body)?void 0:t.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$i(c,t,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let l={id:getRandomUuidv4(),content:""};for(;;)try{const{value:e,done:t}=await c.read();if(t)break;if(!e)continue;l.content+=e}catch(e){throw e}const d=toOpenAIResponse(l.id,l.content,o.model,!1);return new Response(JSON.stringify(d),{status:i.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$k=new TextEncoder;async function streamJsonResponseBodies$i(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$k.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$k.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;s.msgCallback(t)}catch(e){throw a.close(),e}}async function cohere(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r={message:o.messages.pop().content,model:o.model,stream:o.stream,chat_history:o.messages.map((e=>{let t="";return"assistant"===e.role&&(t="CHATBOT"),"user"===e.role&&(t="USER"),"system"===e.role&&(t="SYSTEM"),{role:t,message:e.content}})),temperature:o.temperature||.3};try{const e=await fetch("https://api.cohere.com/v1/chat",{method:"POST",headers:{Authorization:`Bearer ${s}`,"content-type":"application/json",Connection:"Keep-alive",Accept:"*/*"},body:JSON.stringify(r)});if(!e.ok)return errorResponse(e);if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$h(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=await e.json(),a=toOpenAIResponse(t.generation_id,t.text,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$j=new TextEncoder;async function streamJsonResponseBodies$h(e,t,o){const a=t.getWriter();let s={id:"",msg:"",msgCallback:e=>{a.write(encoder$j.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$j.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.close();break}if(!t)continue;onParse$g(t,s)}catch(e){throw a.close(),e}}function onParse$g(e,t){try{if(t.msg+=e.trim(),"}"!==t.msg.charAt(t.msg.length-1))return;const o=JSON.parse(t.msg);if(t.msg="","stream-start"===o.event_type)return void(t.id=o.generation_id);if("stream-end"===o.event_type)return void t.endCallback();if("text-generation"!==o.event_type)return;o.text&&t.msgCallback(o.text)}catch(e){throw e}}const auth$1=new GoogleAuth;async function gemini(e){return await _gemini(e,(async(e,t,o,a)=>{const s=a.systemInstruction.parts[0].text;delete a.systemInstruction;const r=a.contents[a.contents.length-1].parts;for(let e=0;e{let t="";"assistant"===e.role&&(t="model"),"user"===e.role&&(t="user");const o=[];return isArray(e.content)?e.content.forEach((e=>{"text"==e.type&&o.push({text:e.text}),"image_url"==e.type&&o.push({inlineData:{mimeType:getMediaType(e.image_url.url)||"image/jpeg",data:e.image_url.url.split(",")[1]||""}})})):o.push({text:e.content}),{role:t,parts:o}})),systemInstruction:{parts:[{text:l}]},generationConfig:{temperature:r.temperature||1}};try{const e=await t(r.model,r.stream,c,d);if(!e.ok)return errorResponse(e);if(r.stream){const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),{readable:o,writable:a}=new TransformStream;return streamJsonResponseBodies$g(t,a,r.model),new Response(o,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const s=await e.json(),i=toOpenAIResponse(getRandomUuidv4(),null==(a=null==(o=s.candidates[0])?void 0:o.content.parts[0])?void 0:a.text,r.model,!1);return new Response(JSON.stringify(i),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function gemini_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);return await _gemini(e,(async(e,t,o,a)=>{if(o)if(o.includes("client_email")){const e=JSON.parse(o);o=await auth$1.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,a]=o.split(separator);o=await auth$1.getGoogleCredentialsAccessToken(e,t,a)}else o=await GoogleAuth.getGooglePrintAccessToken();const s=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/google/models/${e}:${t?"streamGenerateContent?alt=sse":"generateContent"}`;return await fetch(s,{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${o}`},body:JSON.stringify(a)})}))}const encoder$i=new TextEncoder;async function streamJsonResponseBodies$g(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$i.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$i.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;onParse$f(t,s)}catch(e){throw a.close(),e}}function onParse$f(e,t){var o,a;try{const s=JSON.parse(e.data);t.msgCallback(null==(a=null==(o=s.candidates[0])?void 0:o.content.parts[0])?void 0:a.text)}catch(e){throw e}}const FAKE_HEADERS$9={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","r-timezone":"Asia/Shanghai","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-msh-platform":"web","x-traffic-id":"co152og3r0723dm8icg0","Referrer-Policy":"strict-origin-when-cross-origin"},kimi_request_data={refresh_token:"",access_token:"",cookie:""};async function kimi(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=JSON.parse(s);kimi_request_data.refresh_token=e.refresh_token,kimi_request_data.access_token=e.access_token,kimi_request_data.cookie=e.cookie;let t=o.conversationId||"";a&&(t=a.apiConversationId?a.apiConversationId:t);let r="",i=!1;if(""!==t)r=o.messages.pop().content;else{const e=await fetch("https://kimi.moonshot.cn/api/chat",{headers:{...FAKE_HEADERS$9,"content-type":"application/json",Referer:"https://kimi.moonshot.cn/",Authorization:`${kimi_request_data.access_token}`,cookie:kimi_request_data.cookie},body:JSON.stringify({name:"未命名会话",is_example:!1,born_from:"",kimiplus_id:"kimi"}),method:"POST"});if(!e.ok)return errorResponse(e);let a=await e.json();t=a.id,r=MergeMessages(o.messages),i=!0}const c=await fetch(`https://kimi.moonshot.cn/api/chat/${t}/completion/stream`,{method:"POST",headers:{...FAKE_HEADERS$9,Authorization:`${kimi_request_data.access_token}`,"content-type":"application/json",Referer:`https://kimi.moonshot.cn/chat/${t}`,cookie:kimi_request_data.cookie},body:JSON.stringify({messages:[{role:"user",content:r}],refs:[],use_search:!0,kimiplus_id:"kimi"})});if(!c.ok)return errorResponse(c);const l=c.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=i&&removeConversation(t)};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$f(l,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let d={content:"",id:"",msgCallback:e=>{d.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await l.read();if(t){removeConversationId();break}e&&onParse$e(e,d)}return new Response(JSON.stringify(toOpenAIResponse(d.id,d.content,"",!1)),{status:c.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$e(e,t){try{const o=JSON.parse(e.data);if("resp"==o.event)return void(t.id=o.id);if("all_done"==o.event)return void t.endCallback();if("cmpl"!=o.event)return;t.msgCallback(o.text)}catch(e){throw e}}const encoder$h=new TextEncoder;async function streamJsonResponseBodies$f(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$h.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$h.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){o&&o(),a.close();break}if(!t)continue;onParse$e(t,s)}catch(e){throw a.close(),e}}async function removeConversation(e){(await fetch(`https://kimi.moonshot.cn/api/chat/${e}`,{headers:{...FAKE_HEADERS$9,"content-type":"application/json",Authorization:`${kimi_request_data.access_token}`,Referer:"https://kimi.moonshot.cn/kimiplus-square",cookie:kimi_request_data.cookie},method:"DELETE"})).ok||console.error("移除会话失败")}const auth=new GoogleAuth;async function openai_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);const l=Object.fromEntries(e.headers),d=await readBody(e),p=e.context.meta||d.meta;let u=(null==p?void 0:p.apiKey)?p.apiKey:l.authorization?extractBearerToken(l.authorization):"";if(d.model=d.model&&"default"!==d.model?d.model:null==p?void 0:p.apiModel,u)if(u.includes("client_email")){const e=JSON.parse(u);u=await auth.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,o]=u.split(separator);u=await auth.getGoogleCredentialsAccessToken(e,t,o)}else u=await GoogleAuth.getGooglePrintAccessToken();const m=`https://${i}-aiplatform.googleapis.com/v1beta1/projects/${c}/locations/${i}/endpoints/openapi/chat/completions`;return await requestOpenAI(m,u,d)}async function mistralai_vertex(e){var t,o,a,s;const r=getQuery(e);let i=r.location||(null==(o=null==(t=e.context.meta)?void 0:t.query)?void 0:o.location),c=r.project||(null==(s=null==(a=e.context.meta)?void 0:a.query)?void 0:s.project);const l=Object.fromEntries(e.headers),d=await readBody(e),p=e.context.meta||d.meta;let u=(null==p?void 0:p.apiKey)?p.apiKey:l.authorization?extractBearerToken(l.authorization):"";if(d.model=d.model&&"default"!==d.model?d.model:null==p?void 0:p.apiModel,u)if(u.includes("client_email")){const e=JSON.parse(u);u=await auth.getServiceAccountAccessToken(e.client_email,e.private_key)}else{const[e,t,o]=u.split(separator);u=await auth.getGoogleCredentialsAccessToken(e,t,o)}else u=await GoogleAuth.getGooglePrintAccessToken();const[m,h]=d.model.split("@");d.model=m;const g=`https://${i}-aiplatform.googleapis.com/v1/projects/${c}/locations/${i}/publishers/mistralai/models/${m}@${h}:streamRawPredict`;return await requestOpenAI(g,u,d)}const gptToken={accessToken:"",oaiDid:"",cfClearance:"",device_id:""},userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",fakeHeaders={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json","oai-echo-logs":"0,25371,1,25374,0,30443,1,30448,0,30611,1,35675,0,36619,1,36622,0,36748","oai-language":"zh-CN",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-arch":'"x86"',"sec-ch-ua-bitness":'"64"',"sec-ch-ua-full-version":'"126.0.2592.81"',"sec-ch-ua-full-version-list":'"Not/A)Brand";v="8.0.0.0", "Chromium";v="126.0.6478.127", "Microsoft Edge";v="126.0.2592.81"',"sec-ch-ua-mobile":"?0","sec-ch-ua-model":'""',"sec-ch-ua-platform":'"Windows"',"sec-ch-ua-platform-version":'"15.0.0"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"strict-origin-when-cross-origin"};function getCookie(){return`oai-did=${gptToken.oaiDid};cf_clearance=${gptToken.cfClearance};`}async function chatgpt(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);const i=JSON.parse(s);gptToken.access_token=i.access_token,gptToken.oaiDid=i["oai-did"],gptToken.cfClearance=i.cf_clearance,gptToken.device_id=await getDeviceId();try{const e=o.messages;let t=getRandomUuidv4();e.length>=2&&"assistant"===e[e.length-2].role&&(t=e[e.length-2].id);let a="variant",s="",i=!1;r?s=e.pop().content:(a="next",i=!0,s=MergeMessages(e));const c={action:a,parent_message_id:t,websocket_request_id:getRandomUuidv4(),messages:[{id:getRandomUuidv4(),author:{role:"user"},content:{content_type:"text",parts:[s]},metadata:{}}],model:o.model,timezone_offset_min:-480,history_and_training_disabled:i,conversation_mode:{kind:"primary_assistant"},force_paragen:!1,force_paragen_model_slug:"",force_nulligen:!1,force_rate_limit:!1,reset_rate_limits:!1,force_use_sse:!0,conversation_origin:null,variant_purpose:"none"};r&&(c.conversation_id=r);const removeConversationId=async e=>{};let l=null;for(let e=0;e<3;e++)try{const e=await getRequirementsWithRetry(),t={...fakeHeaders,accept:"text/event-stream",authorization:"Bearer "+gptToken.access_token,Referer:r?`https://chatgpt.com/c/${r}`:"https://chatgpt.com","oai-device-id":gptToken.device_id,cookie:getCookie(),"openai-sentinel-chat-requirements-token":e.token};if(e.proofofwork&&e.proofofwork.required&&(t["openai-sentinel-proof-token"]=generateP(e.proofofwork.seed,e.proofofwork.difficulty,userAgent)),await new Promise((e=>setTimeout(e,1e3))),l=await fetch("https://chatgpt.com/backend-api/conversation",{method:"POST",headers:t,body:JSON.stringify(c)}),l.ok)break;await new Promise((e=>setTimeout(e,1e3)))}catch(e){throw e}if(!l.ok)return errorResponse(l);const d=l.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponse(d,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let p={id:"",conversation_id:"",lastText:"",model:"",msgCallback:e=>{},endCallback:()=>{}};for(;;){const{value:e,done:t}=await d.read();if(t){removeConversationId(p.conversation_id);break}e&&onParse$d(e,p)}return new Response(JSON.stringify(toOpenAIResponse(p.id,p.lastText,p.model,!1)),{status:l.status,headers:{"Content-Type":"application/json"}})}catch(e){return console.error(e),new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$g=new TextEncoder;async function streamJsonResponse(e,t,o){const a=t.getWriter();let s={id:"",conversation_id:"",lastText:"",model:"",msgCallback:e=>{a.write(encoder$g.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$g.encode("data: [DONE]\n\n"))}};for(;;)try{const{done:t,value:r}=await e.read();if(t){a.close(),o&&o(s.conversation_id);break}if(!r)continue;onParse$d(r,s)}catch(e){throw a.close(),e}}function onParse$d(e,t){try{if("[DONE]"===e.data)return void t.endCallback();const o=JSON.parse(e.data);if(!o.message||!o.message.content.parts||"assistant"!==o.message.author.role)return;t.id||(t.id=o.message.id),t.conversation_id||(t.conversation_id=o.conversation_id),!t.model&&o.message.metadata&&(t.model=o.message.metadata.model_slug);for(const e of o.message.content.parts){const o=t.lastText;t.lastText=e,t.msgCallback(t.lastText.substring(o.length))}}catch(e){throw e}}async function getRequirementsWithRetry(e=3){let t;for(let o=0;osetTimeout(e,500)))}throw t}function generateP(e="",t="",o=null,a=[]){let s;if(a.length>0)s=a[a.length-1];else{let e=[3008,4010,6e3][Math.floor(3*Math.random())]*[1,2,4][Math.floor(3*Math.random())];e=2073600;s={screen:e,parseTime:(new Date).toUTCString(),userAgent:o,counter:0,url:"https://tcr9i.chat.openai.com/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js",dpl:"dpl=1440a687921de39ff5ee56b92807faaadce73f13",language:"en",languageRegion:"en-US",pluginArray:"plugins−[object PluginArray]",reactListening:["_reactListeningcfilawjnerp","_reactListening9ne2dfo1i47","_reactListening410nzwhan2a"][Math.floor(3*Math.random())],eventType:["alert","ontransitionend","onprogress"][Math.floor(3*Math.random())]}}const r=t.length;for(let o=0;o<1e5;o++){s.counter=o;const a=JSON.stringify(s),i=Buffer.from(a).toString("base64");if(crypto.createHash("sha3-512").update(e+i).digest("hex").slice(0,r)<=t)return"gAAAAAB"+i}return"gAAAAABwQ8Lk5FbGpA2NcR9dShT6gYjU7VxZ4D"+Buffer.from(`"${e}"`).toString("base64")}const encoder$f=new TextEncoder,FAKE_HEADERS$8={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site",Referer:"https://lyihub.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function lyihub(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=o.conversationId||"";a&&(r=a.apiConversationId?a.apiConversationId:r);let i=!1;if(!r){const e=await fetch("https://api.lyihub.com/arena/battle",{headers:{...FAKE_HEADERS$8,Authorization:`bearer ${s}`},method:"POST"});if(!e.ok)return errorResponse(e);r=(await e.json()).id,i=!0}const c=MergeMessages(i?o.messages:["system"===o.messages[0].role?o.messages.shift():null,o.messages.pop()]);try{const e=await fetch("https://api.lyihub.com/arena/chat",{method:"POST",headers:{...FAKE_HEADERS$8,Authorization:`bearer ${s}`,"content-type":"application/json",accept:"text/event-stream"},body:JSON.stringify({sessionId:r,modelId:o.model,question:c})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$e(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let a={content:"",id:"",msgCallback:e=>{a.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$c(e,a)}return new Response(JSON.stringify(toOpenAIResponse(a.id,a.content,"",!1)),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$c(e,t){try{const o=JSON.parse(e.data);t.id||(t.id=o.session_id),t.msgCallback(o.data.content)}catch(e){throw e}}async function streamJsonResponseBodies$e(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$f.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$f.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){a.endCallback(),o.close();break}if(!t)continue;onParse$c(t,a)}catch(e){throw o.close(),e}}async function deepinfra(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;return(null==a?void 0:a.apiKey)?a.apiKey:t.authorization&&extractBearerToken(t.authorization),o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,await requestOpenAI("https://api.deepinfra.com/v1/openai/chat/completions","",o,{accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site","x-deepinfra-source":"web-page",Referer:"https://deepinfra.com/","Referrer-Policy":"strict-origin-when-cross-origin"})}async function replicate(e){Object.fromEntries(e.headers);const t=await readBody(e),o=e.context.meta||t.meta;t.model=t.model&&"default"!==t.model?t.model:null==o?void 0:o.apiModel;let a="";"system"===t.messages[0].role&&(a=t.messages.shift().content);let s=MergeMessages(t.messages);const r=await fetch(`https://replicate.com/api/models/${t.model}/predictions`,{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","Referrer-Policy":"same-origin",Referer:`https://replicate.com/${t.model}`},body:JSON.stringify({input:{top_p:.9,prompt:s,max_tokens:1024,min_tokens:0,temperature:.6,system_prompt:a,presence_penalty:0,frequency_penalty:0}}),method:"POST"});if(!r.ok)return errorResponse(r);const i=(await r.json()).urls.stream,c=await fetch(i,{headers:{accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site"},body:null,method:"GET"});if(!c.ok)return errorResponse(c);const l=c.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(t.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$d(l,t),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let d={content:"",id:"",msgCallback:e=>{d.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await l.read();if(t)break;e&&onParse$b(e,d)}return new Response(JSON.stringify(toOpenAIResponse(d.id,d.content,"",!1)),{status:c.status,headers:{"Content-Type":"application/json"}})}const encoder$e=new TextEncoder;async function streamJsonResponseBodies$d(e,t){const o=t.getWriter();let a={id:"",msgCallback:e=>{o.write(encoder$e.encode(`data: ${JSON.stringify(toOpenAIResponse(a.id,e,"",!0))}\n\n`))},endCallback:()=>{o.write(encoder$e.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:s}=await e.read();if(s){o.close();break}if(!t)continue;onParse$b(t,a)}catch(e){throw o.close(),e}}function onParse$b(e,t){try{if("done"===e.event)return void(null==t||t.endCallback());if("output"!==e.event)return;if(t.id||(t.id=e.id.split(":")[0]),!e.data)return;t.msgCallback(e.data)}catch(e){throw e}}const encoder$d=new TextEncoder;async function vecmul(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=0,i=o.messages.pop().content;a.apiConversationId?r=o.messages.length-2:a.apiConversationId=getRandomUuidv4();try{let e="wss://api.vecmul.com/ws";s&&(e=`${e}?token=Bearer%20${s}`);const t=new WebSocket(e,void 0,{handshakeTimeout:3e3});if(t.on("open",(function(){t.send(JSON.stringify({type:"CHAT",spaceName:"Free Space",message:{isAnonymous:!0,rootMsgId:a.apiConversationId,public:!1,model:o.model,order:r,role:"user",content:i,fileId:null,relatedLinkInfo:null,messageType:"MESSAGE",fileKey:null,language:"zh-CN"}}))})),o.stream){const{readable:e,writable:o}=new TransformStream,a=o.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$d.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,"",!0))}\n\n`))},endCallback:()=>{a.write(encoder$d.encode("data: [DONE]\n\n")),t.close()}};return t.on("message",(function(e){onParse$a(e,s)})),t.on("error",(function(e){s.msgCallback(e.message)})),t.on("close",(function(){a.close()})),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let c={content:"",id:getRandomUuidv4(),msgCallback:e=>{c.content+=e},endCallback:()=>{t.close()}};return t.on("message",(function(e){onParse$a(e,c)})),t.on("error",(function(e){c.msgCallback(e.message)})),t.on("close",(function(){})),new Response(JSON.stringify(toOpenAIResponse(c.id,c.content,"",!1)),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$a(e,t){try{const o=JSON.parse(e);if("ERROR"==o.type)return t.msgCallback(o.data.message),void t.endCallback();if("AI_STREAM_MESSAGE"!=o.type)return;if("stop"==o.data.finishedReason||"end_turn"==o.data.finishedReason||null!=o.data.finishedReason)return void t.endCallback();t.msgCallback(o.data.content)}catch(e){throw e}}new TextEncoder;const FAKE_HEADERS$7={"Content-Type":"application/json",pragma:"no-cache","cache-control":"no-cache","sec-ch-ua":'"Chromium";v="128", "Not;A=Brand";v="24", "Microsoft Edge";v="128"',"x-title":"Magai","http-referer":"https://magai.co","sec-ch-ua-mobile":"?0","user-agent":generateRandomUserAgent(),"x-api-key":"","sec-ch-ua-platform":'"Windows"',accept:"*/*",origin:"https://app.magai.co","sec-fetch-site":"same-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty",referer:"https://app.magai.co/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",priority:"u=1, i"},magaiToken={cookie:"",appLastChange:"",currentPageItem:"",currentUser:""},UUID_LENGTH=1e18,MODULO=1e18;function generateUUID(){let e=Math.round(Math.random()*UUID_LENGTH);return`${Date.now()}x${pad(e,18)}`}function pad(e,t){let o=String(e);return o+new Array(t+1-o.length).join("0")}function createLUID(e="x",t=!0){let o=1900;return()=>{const a=Date.now();return t?`${a}${e}${o++}`:`${a}`}}function getRandomSeed(){return Math.round(Math.random()*UUID_LENGTH)%MODULO}function formatModelName(e){return e.replace(/[/:-]/g,"_").replace(/_+/g,"_").replace(/\./g,"_")}function findTokenInObject(e){for(const t in e){if("token"===t&&"string"==typeof e[t])return e[t];if("object"==typeof e[t]&&null!==e[t]){const o=findTokenInObject(e[t]);if(o)return o}}return null}function getLastUserContent(e){for(let t=e.length-1;t>=0;t--)if("user"===e[t].role)return e[t].content;return null}async function magai(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;const s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r=JSON.parse(s);magaiToken.cookie=r.cookie,magaiToken.currentPageItem=r.CreatedBy,magaiToken.currentUser=r.CreatedBy,magaiToken.appLastChange=r.appLastChange;const i=r.CreatedBy.split("__")[0];try{magaiToken.currentPageItem=a.apiConversationId?`${i}__LOOKUP__${a.apiConversationId}`:magaiToken.currentPageItem;const e=await getNewToken(o.model,getLastUserContent(o.messages));return console.log(e),await requestOpenAI("https://live.proxy.magai.co:4430/opr/api/v1/chat/completions","",o,{...FAKE_HEADERS$7,token:e})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function getNewToken(e,t){const o=generateUUID(),a=magaiToken.currentPageItem.split("__")[0],s=magaiToken.currentUser.split("__")[2],r="037a52ff10ee72bcd845e75d5ec48ac2",i={app_last_change:magaiToken.appLastChange,calls:[{client_state:{element_instances:{bUNib7:{dehydrated:`${a}__LOOKUP__ElementInstance::bUNib7`,parent_element_id:"bUMiq3"},bTezP:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezP`,parent_element_id:"bTezJ"},bTezE:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezE`,parent_element_id:"bTeqc"},bTezJ:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezJ`,parent_element_id:"bUKFL2"},bTezQ:{dehydrated:`${a}__LOOKUP__ElementInstance::bTezQ`,parent_element_id:"bUKFL2"},bUiru0:{dehydrated:`${a}__LOOKUP__ElementInstance::bUiru0`,parent_element_id:"bUjNK"},bUDVj0:{dehydrated:`${a}__LOOKUP__ElementInstance::bUDVj0`,parent_element_id:"bUMiq3"},bUXzm2:{dehydrated:`${a}__LOOKUP__ElementInstance::bUXzm2`,parent_element_id:"bUMhk3"},bUifI1:{dehydrated:`${a}__LOOKUP__ElementInstance::bUifI1`,parent_element_id:"bTeqg"},bUMiq3:{dehydrated:`${a}__LOOKUP__ElementInstance::bUMiq3`,parent_element_id:"bTezE"},bTekm:{dehydrated:`${a}__LOOKUP__ElementInstance::bTekm`,parent_element_id:null}},element_state:{[`${a}__LOOKUP__ElementInstance::bTezP`]:{is_visible:!0,value_that_is_valid:t,value:t},[`${a}__LOOKUP__ElementInstance::bTezE`]:{"custom.images_":null,"custom.file_":null,"custom.file_content_":null,"custom.file_name_":null,"custom.file_type_":null},[`${a}__LOOKUP__ElementInstance::bTezJ`]:{"custom.isrecording_":null,"custom.prompt_":null},[`${a}__LOOKUP__ElementInstance::bUiru0`]:{AAE:t},[`${a}__LOOKUP__ElementInstance::bUDVj0`]:{AAE:t},[`${a}__LOOKUP__ElementInstance::bUifI1`]:{"custom.is_visible_":null,group_data:null},[`${a}__LOOKUP__ElementInstance::bUMiq3`]:{group_data:null}},other_data:{"Current Page Scroll Position":0,"Current Page Width":661},cache:{[`${r}`]:formatModelName(e),CurrentPageItem:magaiToken.currentPageItem,CurrentUser:magaiToken.currentUser},exists:{[`${r}`]:!0,CurrentPageItem:!0,CurrentUser:!0}},run_id:generateUUID(),server_call_id:o,item_id:"bUNih7",element_id:"bUNib7",page_id:"bTekm",uid_generator:{timestamp:Date.now(),seed:getRandomSeed()},random_seed:Math.random(),current_date_time:(new Date).getTime(),current_wf_params:{}}],client_breaking_revision:5,timezone_offset:-480,timezone_string:"Asia/Shanghai",user_id:s,wait_for:[]},c=await fetch("https://app.magai.co/workflow/start",{method:"POST",headers:{...FAKE_HEADERS$7,"x-bubble-fiber-id":generateUUID(),"x-bubble-pl":createLUID()(),accept:"application/json, text/javascript, */*; q=0.01",cookie:magaiToken.cookie},body:JSON.stringify(i)}),l=await c.json();if(l.error_class)throw new Error(l.message);const d=l[o];if(!d||!d.step_results)return null;for(const e in d.step_results){const t=d.step_results[e];if("object"==typeof t.return_value&&null!==t.return_value){const e=findTokenInObject(t.return_value);if(e)return e}}}async function azure(e){var t,o,a;const s=getQuery(e);let r=s["api-version"]||(null==(t=e.context.meta)?void 0:t.query["api-version"]),i=s.resource||(null==(a=null==(o=e.context.meta)?void 0:o.query)?void 0:a.resource);const c=Object.fromEntries(e.headers),l=await readBody(e),d=e.context.meta||l.meta;let p=(null==d?void 0:d.apiKey)?d.apiKey:c.authorization?extractBearerToken(c.authorization):"";l.model=l.model&&"default"!==l.model?l.model:null==d?void 0:d.apiModel;const u=`https://${i}.openai.azure.com/openai/deployments/${l.model}/chat/completions?api-version=${r}`;return console.log(u,p,l),await requestOpenAI(u,p,l,{"api-key":p})}const FakeHeaders$1={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",Accept:"*/*","Accept-Language":"en-US,en;q=0.5","Accept-Encoding":"gzip, deflate, br",Referer:"https://www.blackbox.ai","Content-Type":"application/json",Origin:"https://www.blackbox.ai",DNT:"1","Sec-GPC":"1","Alt-Used":"www.blackbox.ai",Connection:"keep-alive"};async function blackbox(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s),i=randHex(7);o.messages.map((e=>{e.id=randHex(7)}));let c="";"system"===o.messages[0].role&&(c=o.messages.shift().content);try{const e=await fetch("https://www.blackbox.ai/api/chat",{method:"POST",headers:{...FakeHeaders$1,Referer:`https://www.blackbox.ai/chat/${i}`,cookie:r.cookie},body:JSON.stringify({messages:o.messages,id:i,previewToken:null,userId:null,codeModelMode:!0,agentMode:{},trendingAgentMode:{},isMicMode:!1,userSystemPrompt:c,maxTokens:o.max_tokens||1024,playgroundTopP:.9,playgroundTemperature:.5,isChromeExt:!1,githubToken:null,clickedAnswer2:!1,clickedAnswer3:!1,clickedForceWebSearch:!1,visitFromDelta:!1,mobileClient:!1,userSelectedModel:o.model,validated:"69783381-2ce4-4dbd-ac78-35e9063feabc"})});if(!e.ok)return errorResponse(e);if(o.stream){if(e.headers.get("content-type").includes("application/json")){const t=await e.json();return new Response(JSON.stringify(t),{status:400,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}const t=e.body.pipeThrough(new TextDecoderStream).getReader(),{readable:a,writable:s}=new TransformStream;return streamJsonResponseBodies$c(t,s,o.model),new Response(a,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const t=await e.json(),a=toOpenAIResponse(t.generation_id,t.text,o.model,!1);return new Response(JSON.stringify(a),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$c=new TextEncoder;async function streamJsonResponseBodies$c(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$c.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$c.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;s.msgCallback(t)}catch(e){throw a.close(),e}}async function zed(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const[r,i]=o.model.split(":");let c="";"system"===o.messages[0].role&&(c=o.messages.shift().content),console.log(s),console.log(JSON.stringify({provider:r,model:i,provider_request:{model:i,max_tokens:(null==o?void 0:o.max_tokens)||8192,messages:o.messages.map((e=>({role:e.role,content:[{type:"text",text:e.content}]}))),system:c,temperature:(null==o?void 0:o.temperature)||1}}));try{const e=await fetch("https://llm.zed.dev/completion",{method:"POST",headers:{"content-type":"application/json; charset=UTF-8",authorization:`Bearer ${s}`,"user-agent":"Zed/0.165.0 (windows; x86_64)",accept:"*/*"},body:JSON.stringify({provider:r,model:i,provider_request:{model:i,max_tokens:(null==o?void 0:o.max_tokens)||8192,messages:o.messages.map((e=>({role:e.role,content:[{type:"text",text:e.content}]}))),system:c,temperature:(null==o?void 0:o.temperature)||1}})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$b(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}if(e.ok){const t=await e.json();return new Response(JSON.stringify(t),{status:e.status,statusText:e.statusText,headers:{"Content-Type":"application/json"}})}return errorResponse(e)}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$b=new TextEncoder;async function streamJsonResponseBodies$b(e,t,o){const a=t.getWriter();let s={id:"",model:"",msgCallback:e=>{a.write(encoder$b.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$b.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;try{const e=t.split("\n");for(let t=0;t{a.write(encoder$a.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$a.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){s.endCallback(),o&&o(),a.close();break}if(!t)continue;onParse$8(t,s)}catch(e){throw a.close(),e}}const claude_request_data={cookie:"",lastActiveOrg:""},FAKE_HEADERS$5={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",pragma:"no-cache",priority:"u=1, i","Referrer-Policy":"strict-origin-when-cross-origin","cache-control":"no-cache","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","anthropic-client-sha":"unknown","anthropic-client-version":"unknown"};async function claude(e){const t=getQuery(e),o=Object.fromEntries(e.headers),a=await readBody(e),s=e.context.meta||a.meta;a.model=a.model&&"default"!==a.model?a.model:null==s?void 0:s.apiModel;let r=(null==s?void 0:s.apiKey)?s.apiKey:o.authorization?extractBearerToken(o.authorization):"";try{const e=JSON.parse(r);claude_request_data.cookie=e.cookie,claude_request_data.lastActiveOrg=e.lastActiveOrg,console.log("claude_request_data",claude_request_data);let o=a.conversationId||"";s&&(o=s.apiConversationId?s.apiConversationId:o);let c=!1,l="";if(""===o)try{let e="https://claude.ai";t.proxyurl&&(e=t.proxyurl.toString()+"?url="+e),console.log(`${e}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations`);const s=await fetch(`${e}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations`,{headers:{...FAKE_HEADERS$5,"content-type":"application/json",Referer:"https://claude.ai/chats",cookie:claude_request_data.cookie},body:JSON.stringify({include_conversation_preferences:!0,name:"",uuid:getRandomUuidv4()}),method:"POST"});var i=await s.json();if(console.log("创建会话结果",i),i.error)return new Response(JSON.stringify(i),{status:400,headers:{"Content-Type":"application/json; charset=utf-8"}});o=i.uuid,c=!0,l=MergeMessages(a.messages),await new Promise((e=>setTimeout(e,500)))}catch(e){console.error("创建会话失败",e)}else l=a.messages.pop().content;if(!o)return new Response("获取convid失败",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}});let d="https://claude.ai";t.proxyurl&&(d=t.proxyurl.toString()+"?stream=true&url="+d);const p=await fetch(`${d}/api/organizations/${claude_request_data.lastActiveOrg}/chat_conversations/${o}/completion?rendering_mode=raw`,{method:"POST",headers:{...FAKE_HEADERS$5,"content-type":"application/json",accept:"text/event-stream, text/event-stream",Referer:`https://claude.ai/chat/${o}`,cookie:claude_request_data.cookie},body:JSON.stringify({prompt:l,timezone:"America/Sitka",rendering_mode:"raw",attachments:[],files:[]})});if(0==p.ok){i=await p.json();return new Response(JSON.stringify(i),{status:400,headers:{"Content-Type":"application/json; charset=utf-8"}})}const u=p.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{0!=c&&async function(){}()};if(a.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$9(u,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let m={id:"",content:"",model:"",msgCallback:e=>{m.content+=e},endCallback:()=>{}};for(;;){const{value:e,done:t}=await u.read();if(t){removeConversationId();break}e&&onParse$7(e,m)}return new Response(JSON.stringify(toOpenAIResponse(m.id,m.content,m.model,!1)),{status:200,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$7(e,t){try{if("completion"!==e.event)return;const o=JSON.parse(e.data);if("stop_sequence"===o.stop_reason)return;t.id||(t.id=o.id),t.model||(t.model=o.model),t.buffer||(t.buffer=""),void 0===t.isCapturingArtifact&&(t.isCapturingArtifact=!1),void 0===t.artifactBuffer&&(t.artifactBuffer=null),void 0===t.artifactType&&(t.artifactType=null),t.buffer+=o.completion;const a=t.buffer.indexOf("=0&&!t.isCapturingArtifact){a>0&&t.msgCallback(t.buffer.substring(0,a)),t.isCapturingArtifact=!0,t.artifactBuffer=t.buffer.substring(a);const e=t.artifactBuffer.match(/type="([^"]+)"/);return e&&(t.artifactType=e[1]),void(t.buffer="")}if(t.isCapturingArtifact&&null!==t.artifactBuffer){t.artifactBuffer+=o.completion;const e=t.artifactBuffer.indexOf("");if(e>=0){const o=t.artifactBuffer.substring(0,e+14).match(/]*>([\s\S]*)<\/antArtifact>/);if(o){const e=o[1].trim();let a="text";t.artifactType&&(t.artifactType.startsWith("text/")?a=t.artifactType.substring(5):t.artifactType.includes("javascript")?a="javascript":t.artifactType.includes("typescript")&&(a="typescript"));const s=`\`\`\`${a}\n${e}\n\`\`\``;t.msgCallback(s)}e+14{a.write(encoder$9.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))},endCallback:()=>{a.write(encoder$9.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){o&&o(),s.endCallback(),a.close();break}if(!t)continue;onParse$7(t,s)}catch(e){throw a.close(),e}}const encoder$8=new TextEncoder;async function deepseek(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="https://api.deepseek.com/chat/completions";const i=getQuery(e);i.url&&(r=i.url.toString());try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({messages:o.messages,model:o.model,max_tokens:o.max_tokens||4096,temperature:o.temperature||.1,top_p:o.top_p||1,stream:o.stream||!1})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:o}=new TransformStream;return streamJsonResponseBodies$8(t,o),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$6(e,t){try{const o=JSON.parse(e.data),a=t.content;t.content=o.choices[0].message.content,t.msgCallback(t.content.slice(a.length))}catch(e){throw e}}async function streamJsonResponseBodies$8(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),model:"",content:"",msgCallback:e=>{a.write(encoder$8.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$8.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;console.log(t),onParse$6(t,s)}catch(e){throw a.close(),e}}var __defProp$2=Object.defineProperty,__defNormalProp$2=(e,t,o)=>t in e?__defProp$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$2=(e,t,o)=>__defNormalProp$2(e,"symbol"!=typeof t?t+"":t,o);class DeepSeekHash{constructor(){__publicField$2(this,"wasmInstance"),__publicField$2(this,"offset",0),__publicField$2(this,"cachedUint8Memory",null),__publicField$2(this,"cachedTextEncoder",new TextEncoder)}encodeString(e,t,o){if(!o){const o=this.cachedTextEncoder.encode(e),a=t(o.length,1)>>>0;return this.getCachedUint8Memory().subarray(a,a+o.length).set(o),this.offset=o.length,a}const a=e.length;let s=t(a,1)>>>0;const r=this.getCachedUint8Memory();let i=0;for(;i127)break;r[s+i]=t}if(i!==a){i>0&&(e=e.slice(i)),s=o(s,a,i+3*e.length,1)>>>0;i+=this.cachedTextEncoder.encodeInto(e,this.getCachedUint8Memory().subarray(s+i,s+i+3*e.length)).written,s=o(s,i+3*e.length,i,1)>>>0}return this.offset=i,s}getCachedUint8Memory(){return null!==this.cachedUint8Memory&&0!==this.cachedUint8Memory.byteLength||(this.cachedUint8Memory=new Uint8Array(this.wasmInstance.memory.buffer)),this.cachedUint8Memory}calculateHash(e,t,o,a,s){if("DeepSeekHashV1"!==e)throw new Error("Unsupported algorithm: "+e);const r=`${o}_${s}_`;try{const e=this.wasmInstance.__wbindgen_add_to_stack_pointer(-16),o=this.encodeString(t,this.wasmInstance.__wbindgen_export_0,this.wasmInstance.__wbindgen_export_1),s=this.offset,i=this.encodeString(r,this.wasmInstance.__wbindgen_export_0,this.wasmInstance.__wbindgen_export_1),c=this.offset;this.wasmInstance.wasm_solve(e,o,s,i,c,a);const l=new DataView(this.wasmInstance.memory.buffer),d=l.getInt32(e+0,!0),p=l.getFloat64(e+8,!0);if(0===d)return;return p}finally{this.wasmInstance.__wbindgen_add_to_stack_pointer(16)}}async init(e){const{instance:t}=await WebAssembly.instantiate(e,{wbg:{}});return this.wasmInstance=t.exports,this.wasmInstance}}const encoder$7=new TextEncoder,FAKE_HEADERS$4={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-app-version":"20241129.1",cookie:"smidV2=202501071758311c8fb048f29cd7f7cc31db1011a681f00096d072af8bd8300; .thumbcache_6b2e5483f9d858d7c661c5e276b6a6ae=fNcJ2RnfL30O9J5gHnkBTP0/MxQ6s2tURNvV3+9Y8Vn4zHZ4ZSBC2leidije5bTrV2JKqJQyyRAjIgJ6G0pbAA%3D%3D; intercom-device-id-guh50jw4=e051c3da-f78b-49ce-9708-b08849c433d6; Hm_lvt_fb5acee01d9182aabb2b61eb816d24ff=1736382697,1736771276,1736781381,1736781753; Hm_lpvt_fb5acee01d9182aabb2b61eb816d24ff=1736781753; HMACCOUNT=3D9A9797304A080B; ds_session_id: 1538d1ad1e31466abe60d85251028d3d; Hm_lvt_1fff341d7a963a4043e858ef0e19a17c=1736382699,1736770543,1736781385,1736781873; Hm_lpvt_1fff341d7a963a4043e858ef0e19a17c=1736781873; HWWAFSESTIME=1736781870960; ds_session_id=c005b2072f60496fbaff10522f5e8138; HWWAFSESID=8a834f1a13a60202cc; intercom-session-guh50jw4=SW1SSVoxaVl4ZEdMdCtDMEFGTlhJSjRPUHRJeWR1WHBaUWMxM3E3VGt1cnY5UmpaY0VveTdlbHU5UVdhT3dEUi0tb0JIVi95amViZWpTQUFXRUdmMHZxZz09--918bff8581dee8d3bfa33c8b274139df40248990",Referer:"https://chat.deepseek.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function deepseek_com(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="https://chat.deepseek.com";const i=getQuery(e);i.proxy&&process.env.USE_DEEPSEEK_PROXY&&(r=i.proxy.toString()),i.proxyurl&&process.env.USE_DEEPSEEK_PROXY&&(r=i.proxyurl.toString()+"?url="+r);try{let e=o.conversationId||"";a&&(e=a.apiConversationId?a.apiConversationId:e);let t="",i=!1;if(""!==e)t=o.messages.pop().content;else{const a=await fetch(`${r}/api/v0/chat_session/create`,{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({character_id:null}),method:"POST"});if(!a.ok)return errorResponse(a);let c=await a.json();if(0!=c.code)throw new Error(c.msg);e=c.data.biz_data.id,t=MergeMessages(o.messages),i=!0}const c=await getChallengeResponse(s,"/api/v0/chat/completion"),l=await answerChallenge(c,"/api/v0/chat/completion");let d=!1;o.model.includes("deepseek-reasoner")&&(d=!0);const p=await fetch(`${r}/api/v0/chat/completion`,{method:"POST",headers:{...FAKE_HEADERS$4,Authorization:`Bearer ${s}`,"content-type":"application/json","X-Ds-Pow-Response":l},body:JSON.stringify({chat_session_id:e,parent_message_id:null,prompt:t,ref_file_ids:[],thinking_enabled:d,search_enabled:!1})});if(!p.ok)return errorResponse(p);const u=p.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),removeConversationId=async()=>{if(0==i)return;(await fetch(`${r}/api/v0/chat_session/delete`,{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({chat_session_id:e}),method:"POST"})).ok||console.error("移除会话失败")};if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$7(u,t,removeConversationId),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let m={content:"",id:getRandomUuidv4(),model:"",msgCallback:e=>{m.content+=e.content}};for(;;){const{value:e,done:t}=await u.read();if(t){removeConversationId();break}e&&onParse$5(e,m)}return new Response(JSON.stringify(toOpenAIResponse(m.id,m.content,m.model,!1)),{status:p.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$5(e,t){try{if("[DONE]"===e.data)return;const o=JSON.parse(e.data);t.model||(t.model=o.model),t.msgCallback(o.choices[0].delta)}catch(e){throw e}}async function streamJsonResponseBodies$7(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),model:"",msgCallback:e=>{a.write(encoder$7.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e.content,s.model,!0,e.type))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$7.encode("data: [DONE]\n\n")),o&&o(),a.close();break}if(!t)continue;onParse$5(t,s)}catch(e){throw a.close(),e}}function generateCookie(){return`intercom-HWWAFSESTIME=${timestamp()}; HWWAFSESID=${randHex(18)}; Hm_lvt_${uuid(!1)}=${unixTimestamp()},${unixTimestamp()},${unixTimestamp()}; Hm_lpvt_${uuid(!1)}=${unixTimestamp()}; _frid=${uuid(!1)}; _fr_ssid=${uuid(!1)}; _fr_pvid=${uuid(!1)}`}async function answerChallenge(e,t){const{algorithm:o,challenge:a,salt:s,difficulty:r,expire_at:i,signature:c}=e,l=new DeepSeekHash,d=await useStorage("assets:server").getItemRaw("sha3_wasm_bg.7b9ca65ddd.wasm");await l.init(d);const p=l.calculateHash(o,a,s,r,i);return Buffer.from(JSON.stringify({algorithm:o,challenge:a,salt:s,answer:p,signature:c,target_path:t})).toString("base64")}async function getChallengeResponse(e,t){const o=await fetch("https://chat.deepseek.com/api/v0/chat/create_pow_challenge",{headers:{...FAKE_HEADERS$4,"content-type":"application/json",Authorization:`Bearer ${e}`,Cookie:generateCookie()},body:JSON.stringify({target_path:t}),method:"POST"});return(await o.json()).data.biz_data.challenge}const encoder$6=new TextEncoder,qwenlmData={cookies:"",token:""},FAKE_HEADERS$3={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","bx-v":"2.5.0","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin"};async function t2i(e,t){let o="1024*1024";"IMAGE_ASPECT_RATIO_SQUARE"===t.aspectRatio?o="1024*1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===t.aspectRatio?o="768*1024":"IMAGE_ASPECT_RATIO_LANDSCAPE"===t.aspectRatio?o="1024*768":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===t.aspectRatio?o="720*1280":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===t.aspectRatio&&(o="1280*720");const a=Array(2).fill(null).map((()=>(async()=>{const t=await fetch("https://chat.qwenlm.ai/api/chat/completions",{headers:{...FAKE_HEADERS$3,Authorization:`Bearer ${qwenlmData.token}`,"content-type":"application/json",cookie:qwenlmData.cookies},body:JSON.stringify({stream:!1,chat_type:"t2i",model:"qwen-max-latest",messages:e.messages,session_id:getRandomUuidv4(),chat_id:getRandomUuidv4(),id:getRandomUuidv4(),size:o}),method:"POST"});return t.ok?(await t.json()).messages.pop().extra.wanx.task_id:(console.error(await t.text()),"")})())),s=await Promise.all(a),r=await Promise.all(s.filter((e=>""!=e)).map((async t=>{try{const o=await(async(e,t=30)=>{let o=null;for(let a=0;asetTimeout(e,s)))}catch(e){o=e,console.error(`Attempt ${a+1} failed:`,e)}throw new Error(`Task check failed after ${t} attempts. Last error: ${null==o?void 0:o.message}`)})(t);return{model:e.model,url:o}}catch(t){return{model:e.model,url:null,error:t.message}}})));return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),r.filter((e=>null!=e.url)).map((e=>({model:e.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}async function qwenlm(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s);qwenlmData.cookies=r.cookies,qwenlmData.token=r.token;try{if(o.model.includes("image"))return await t2i(o,a);if(o.model.includes("vl")){const e=o.messages.pop();if("user"===e.role&&Array.isArray(e.content)){const t=await Promise.all(e.content.map((async e=>{if("image_url"===e.type){const t=e.image_url.url,o=await fetch(t),a=await o.blob(),s=new FormData;s.append("file",a);const r=await fetch("https://chat.qwenlm.ai/api/v1/files/",{method:"POST",headers:{accept:"application/json",authorization:`Bearer ${qwenlmData.token}`,cookie:qwenlmData.cookies},body:s});return{type:"image",image:(await r.json()).id}}return e}))),a={role:e.role,content:t};o.messages.push(a)}else o.messages.push(e)}const e=await fetch("https://chat.qwenlm.ai/api/chat/completions",{method:"POST",headers:{...FAKE_HEADERS$3,Authorization:`Bearer ${qwenlmData.token}`,"content-type":"application/json",cookie:qwenlmData.cookies},body:JSON.stringify({chat_type:"t2t",stream:o.stream,model:o.model,messages:o.messages,session_id:getRandomUuidv4(),chat_id:getRandomUuidv4(),id:getRandomUuidv4()})});if(!e.ok)return errorResponse(e);const t=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:a}=new TransformStream;return streamJsonResponseBodies$6(t,a,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let s={content:"",id:getRandomUuidv4(),model:o.model,msgCallback:e=>{s.content+=e}};for(;;){const{value:e,done:o}=await t.read();if(o)break;e&&onParse$4(e,s)}return new Response(JSON.stringify(toOpenAIResponse(s.id,s.content,s.model,!1)),{status:e.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function streamJsonResponseBodies$6(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),lastContent:"",msgCallback:e=>{a.write(encoder$6.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){a.write(encoder$6.encode("data: [DONE]\n\n")),a.close();break}if(!t)continue;onParse$4(t,s)}catch(e){throw a.close(),e}}function onParse$4(e,t){try{const o=JSON.parse(e.data).choices[0].delta.content,a=o.slice(t.lastContent?t.lastContent.length:0);t.lastContent=o,t.msgCallback(a)}catch(e){throw e}}const FAKE_HEADERS$2={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","request-id":"|1b9e4c7cc9a14d26908656ee722fa2a9.82541aef7ca2400c","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",traceparent:"00-1b9e4c7cc9a14d26908656ee722fa2a9-82541aef7ca2400c-01"},genspark_request_data={cookie:""},models=["flux","flux-pro/ultra","ideogram","recraft-v3","dalle-3"];async function genspark$1(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=o.conversationId||r.id||"716153ac-629f-4f31-b93c-e9231f37a770";a&&(i=a.apiConversationId?a.apiConversationId:i);try{const e=JSON.parse(s);genspark_request_data.cookie=e.cookie;const t=o.messages[o.messages.length-1].content,r=[];let c="auto";if("IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?c="1:1":"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?c="9:16":"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?c="16:9":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?c="3:4":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(c="4:3"),"mixture"==o.model){const getRandomElements=(e,t)=>[...e].sort((()=>.5-Math.random())).slice(0,t);getRandomElements(models,4).forEach((e=>{r.push({model:e,aspect_ratio:c,use_personalized_models:!1,fashion_profile_id:null,hd:!1,reflection_enabled:!1,style:"auto"})}))}else r.push({model:o.model,aspect_ratio:c,use_personalized_models:!1,fashion_profile_id:null,hd:!1,reflection_enabled:!1,style:"auto"});const l={type:"COPILOT_MOA_IMAGE",current_query_string:i?`id=${i}&type=COPILOT_MOA_IMAGE`:"type=COPILOT_MOA_IMAGE",messages:[{role:"user",content:t}],user_s_input:t,action_params:{},extra_data:{model_configs:r,llm_model:"gpt-4o",imageModelMap:{}},g_recaptcha_token:"03AFcWeA6wUDY_VmPKeJmFr3bfCz8uVjmlXZrc3Ls_Id2RBbZyAmmmvwf1RTspIbQVMP4uX9gDLURkOSd5750z8pXBJh9vwXA7PXjn8u9d9GyXQufPRxbSfsTMCxaAqXojjCghlVvIq05MGL5EOxufH1VVtutn3-lMXA_o4V8k3PjohVwSwLK5e1MlXr0leFkfZthFLIkShTaX8sg3hbQGhqOEno7MRQaN1fTZAQc0b0DPfSQdAdvj5zX3jJxMXcGMgWebC_-UH5w_HMBmBfNd9Qskhx-H9hbdN6tdC1H8ITnsqREfjcJpYs6OMJRg4bhOpJZWrqWn01nKF_BoHaHofmgNziA8y9JdgvB4TIiZIcc-_IxCKKZ7K9lsv1kNQPrAvqohyOL_1VzTW80oebLppPuNwytRjV7zNDr2OJOILxOBsKIS2YfFvOImJLrGo0gEk_QNhAJ9wzNnyLpERr3TFzXMzwco1o3PR_ZmpCOMYlE-Z9QG6vo6wWZEqXUKkEJjiowV93uygaeaI5NwmnYtxqsekaIJge-PtvRtF1o-VUFzX8KtHLdHpCiDcdGtbJX28Lu-_MkK9XEShA2Eeqk9nRpCGbyBpz4AuPWrt8U1I_9iiPOhQB9o8BPWVOkS_2Ml0yt65b6zlc9JgoD1aYKhW4VlJxI0NPtYOIjHmFSIV4_ZwPtz_VDFS731n4lSDgtm9Bml4O1uk1xL9F2_CGLxQiS8jpdv8SK88Zdkf6XUwZbfQd8VxT-G7JoQTWQZ73OLws8q_7SF_pWSSQn3KgtGZNk-Pha-iwsyEoZREbE5SITWmhQXNufp_cEAdkI8GNAqNAu_2GeQtCI-z1n8YFZSh1HaA_Hq3udkeZ8vLyBKWoB-9aNe2a4w1ZViPBAyNMqwgG7EscBkVpklyFmVfNJbCuHNN0Rs1-jShtf-2Xk3i4cAdpFJRuuV4I3-ESI-lw07rooi3C24An-9VTh851Y1GLXKlnl-trBxUKBWZHOvP-ymwlnJ0opZzm8Hecmpw4wYhSQ0P2JuX4P8GHX4RZUUKFGERiRP8cmjJ419HhTzCBkHpVg1r-rG6O5OHlL_2CJWHuqbafpOgLNFRsl1nZKyN9SmCDu07AdJSftLTnPys1a3Roz26DEpdtm4b0lcStOVqfWOJU2y6rQACF7dshNGmMEkXYRWoA3U59bQQXR9let1XzXTje8b_8l9xjKM1DB3b72FRGm7pH-9c69Gon9MT_SulM21j-jlkqC0aQ5W76iE6R5ctMfl3866CfZlbPpj5JLEjlTHywi-kb1hlaY3Yfz1dYj2zZcdLSjodVd3Q8PTZ8CYa_MTUTRs_jpHwmJmw3TPeQ7QZAK7kGuhiuHat4uAWu7HXON3561psH_Gvv-TslOHwEhDI5QTxR1t_X0aShERUSqJFd8MAfKEpCG9bHvKKi1tCLt52_X5-oyObuc0bi4UHIz_AsK8O9XYIl2XJIQk-QfI8zM-KLpFrCVCS85Mxz3ZUqN_w6A3Nh656uMwk6JiyDSWqIm8MJbo76GGWgwaqGX2rxahHGRl7T-3v1D_V3jEXyxXjIPTCKqplEhOrCMsSwsAWFWPpriHLzekMsNiU4dnc5ZAX_yxR4AsJOYNqE7G5TsLTE2nliZTh9ckO8ZUeoLXGziWP8UOE4ECwNNDP70Pd3QnjVcFIL5ftNlkZOBld5ez5W0yjZdyKMdSqQnNjTUdGDyI_AsDYMAN5_eOvqGwB6QtPbKWPynup_WXRsP68uwz6-FTd0VqbKJkaxYoKwq3lFR2SfnHjjJNHldIZB6lncjQTsC3Lq-Haj4tAtpWHChYKH3qTzXZPGPBypsx8gxpKvuP2ivcouriZ8vLvzlZJum-LRT1-sK3mpF7udvekn0ea3YpG53Ljl7I_ejpFMF_Rk1WgaUK-NL8Bs6FjkaW37wqnsKvnqbrzaZmXQKLEHwsyhn-5sraJE0nWp1B9V9PA0FLXFgCgi65sP_3LC-sR2Grf-MXR_OUFiPTUqpFnK7sJCkDGxGo5u3ADT_stSwNPKl9gVFh3SLxwBQ0PwUh9LW7QwYGCXUJF_YVZm-DI6TojrAbBEBmoQIg2uVfXTuCZLsYKkwJS_EklbKSaOfFJTdWxJuaWeA_GOMq8pQ5eernc8ClLusRnIeufQI08-JXhsm2aCdss9hHyZw_RId30Fjl"},d=await fetch("https://www.genspark.ai/api/copilot/ask",{method:"POST",headers:{...FAKE_HEADERS$2,"content-type":"application/json",Referer:"https://www.genspark.ai/agents?type=moa_generate_image",cookie:genspark_request_data.cookie},body:JSON.stringify(l)});if(!d.ok)return errorResponse(d);const p=d.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader(),u=await streamJsonResponseBodies$5(p),checkTaskStatus=async(e,t=30)=>{var o;let a=null;for(let s=0;ssetTimeout(e,r)))}catch(e){a=e,console.error(`Attempt ${s+1} failed:`,e)}throw new Error(`Task check failed after ${t} attempts. Last error: ${null==a?void 0:a.message}`)},m=await Promise.all(u.map((async e=>{try{const t=await checkTaskStatus(e.task_id);return{model:e.model,url:t}}catch(t){return{model:e.model,url:null,error:t.message}}})));return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),m.filter((e=>null!=e.url)).map((e=>({model:e.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function isString(e){return"string"==typeof e||e instanceof String}async function streamJsonResponseBodies$5(e,t){for(;;)try{const{value:o,done:a}=await e.read();if(a){t&&t();break}if(!o)continue;const s=JSON.parse(o.data);if(!s.role||"assistant"!=s.role)continue;if(isString(s.content)&&-1==s.content.indexOf("generated_images"))throw new Error(s.content);return JSON.parse(s.content).generated_images}catch(e){throw e}}function isAllChinese(e){return/^[\u4E00-\u9FA5\u3400-\u4DBF]+$/.test(e)}async function genspark(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=JSON.parse(s),t=(e.cookies,e.access_token),r=o.messages[o.messages.length-1].content;if(isAllChinese(r))throw new Error("prompt 不能为中文");const i=await fetch("https://aisandbox-pa.googleapis.com/v1:runImageFx",{headers:{accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${t}`,"cache-control":"no-cache","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site",Referer:"https://labs.google/","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({userInput:{candidatesCount:4,prompts:[r],seed:Math.floor(9e5*Math.random())+1e5},clientContext:{sessionId:";1736820270799",tool:"IMAGE_FX"},modelInput:{modelNameType:o.model},aspectRatio:a.aspectRatio}),method:"POST"});if(!i.ok)return errorResponse(i);const c=await i.json();return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),c.imagePanels[0].generatedImages.map((e=>({model:e.modelNameType,type:"base64",content:`data:image/jpg;base64,${e.encodedImage}`}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const sleep=e=>new Promise((t=>setTimeout(t,e)));async function bing_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=`_U=${JSON.parse(s).cookies}`,t=o.messages[o.messages.length-1].content,a=encodeURIComponent(t),r=`q=${a}&qs=ds`,i={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Accept-Encoding":"gzip, deflate",Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",Connection:"keep-alive",Referer:"https://www.bing.com/images/create","Accept-Language":"en-US,en;q=0.9",Cookie:e},c=await fetch("https://www.bing.com/images/create",{headers:i}),l=(await c.text()).match(/bal" aria-label="(\d+) /),d=parseInt(l[1],10)>0?"4":"3";let p=await fetch(`https://www.bing.com/images/create?q=${a}&rt=${d}&FORM=GENCRE`,{method:"POST",body:r,headers:i,redirect:"manual"});const{status:u}=p;if(p.headers.forEach(((e,t)=>{console.log(t,e)})),302!==u)throw new Error(`Bing Image Creator Not as Expected: response status = ${u}`);let m=`https://www.bing.com/${p.headers.get("Location").replace("&nfy=1","")}`;const h=`https://www.bing.com/images/create/async/results/${m.split("id=")[1]}?q${a}`;console.log(`Sending request to redirect url...${m}`),await fetch(m,{method:"POST",body:r,headers:i,redirect:"manual"});let g,f=Date.now();for(console.log("Start pulling result...");;){if(Date.now()-f>6e5)throw new Error("Timeout pulling the result.");const e=await fetch(h,{method:"POST",body:r,headers:i});if(200!==e.status)throw new Error("Error when pulling the results");if(g=await e.text(),g&&-1===g.indexOf("errorMessage"))break;console.log("Waiting for the result..."),await sleep(1e3)}let y=/src="([^"]+)"/g,w=g.match(y).map((e=>e.replace('src="',"").replace('"',""))).map((e=>e.split("?w=")[0])).filter((e=>e.includes("th")));return console.log(w),new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),w.map((e=>({model:"bing",type:"url",url:e}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function siliconflow_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";try{const e=o.messages[o.messages.length-1].content;let t="1024x1024";"IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?t="1024x1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?t="576x1024":"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?t="1024x576":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?t="512x768":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(t="768x512");const r=await fetch("https://api.siliconflow.cn/v1/images/generations",{method:"POST",headers:{Authorization:`Bearer ${s}`,"Content-Type":"application/json"},body:JSON.stringify({model:o.model,prompt:e,image_size:t,batch_size:4,seed:Math.floor(9999999999*Math.random())+1,num_inference_steps:20,guidance_scale:7.5})}),i=await r.json();return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),i.images.map((e=>({model:o.model,type:"url",url:e.url}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function cloudflare_image(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",[r,i]=s.split(separator);try{const e=o.messages[o.messages.length-1].content,t=await fetch(`https://api.cloudflare.com/client/v4/accounts/${r}/ai/run/${o.model}`,{method:"POST",headers:{"content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({prompt:e})});if(!t.ok)return errorResponse(t);const a=await t.json();console.log(a);const s=toImageResponse(getRandomUuidv4(),[{model:o.model,type:"base64",content:`data:image/jpg;base64,${a.result.image}`}]);return new Response(JSON.stringify(s),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}async function designer(e){var t,o,a,s;const r=Object.fromEntries(e.headers),i=await readBody(e),c=e.context.meta||i.meta;i.model=i.model&&"default"!==i.model?i.model:null==c?void 0:c.apiModel;let l=(null==c?void 0:c.apiKey)?c.apiKey:r.authorization?extractBearerToken(r.authorization):"";try{const e=i.messages[i.messages.length-1].content;let r="1024x1024";"IMAGE_ASPECT_RATIO_SQUARE"===c.aspectRatio?r="1024x1024":"IMAGE_ASPECT_RATIO_PORTRAIT"===c.aspectRatio?r="1024x1792":"IMAGE_ASPECT_RATIO_LANDSCAPE"===c.aspectRatio?r="1792x1024":"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===c.aspectRatio?r="1024x1792":"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===c.aspectRatio&&(r="1792x1024");const d=getRandomUuidv4(),p="https://designerapp.officeapps.live.com/designerapp/DallE.ashx?action=GetDallEImagesCogSci",u={accept:"application/json, text/plain, */*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",audiencegroup:"Production",authorization:`Bearer ${l}`,"cache-control":"no-cache",caller:"DesignerApp",clientbuild:"1.0.20250110.19",clientid:"dbb92fb1-bc4a-4e9d-81e2-0ac48258e264",clientname:"DesignerApp",containerid:"1913fc7f-1654-437a-be48-a69acf1b6c78",filetoken:"cf795914-fd3c-4a1d-8f83-07e96d571afa",hostapp:"DesignerApp",issignedinuser:"true",locale:"zh-CN",platform:"Web",pragma:"no-cache",priority:"u=1, i",releasechannel:"","sec-ch-ua":'"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site",sessionid:d,traceparent:"00-9c8be8bf5e8c4773989f6bab9cb6edd5-8c56166e0d6aab2c-01",userid:"8e4808619178f916",usertype:"MSA","x-correlation":"f0153d36-83dc-4ed8-83bc-b8dfd9be6fa3","x-dc-hint":"EastUS","x-edge-shopping-flag":"1","x-req-start":"53322.70000000298","x-upload-to-storage-das":"1",Referer:"https://designer.microsoft.com/","Referrer-Policy":"strict-origin-when-cross-origin"},m=new FormData;m.append("dalle-caption",e),m.append("dalle-scenario-name","TextToImage"),m.append("dalle-batch-size","4"),m.append("dalle-last-prompt",""),m.append("dalle-last-user-prompt",""),m.append("dalle-image-response-format","UrlWithBase64Thumbnail"),m.append("dalle-seed",Math.floor(1e4*Math.random()).toString()),m.append("ClientFlights","EnableBICForDALLEFlight"),m.append("dalle-hear-back-in-ms","1000"),m.append("dalle-include-b64-thumbnails","true"),m.append("dalle-aspect-ratio-scaling-factor-b64-thumbnails","0.3"),m.append("dalle-image-size",r);const h=await fetch(p,{headers:u,body:m,method:"POST"});if(!h.ok)return errorResponse(h);const g=await h.json();m.set("dalle-boost-count",null!=(o=null==(t=null==g?void 0:g["dalle-boost-count"])?void 0:t.toString())?o:"0");const f=null==(a=null==g?void 0:g.polling_response)?void 0:a.polling_meta_data;let y;m.set("dalle-poll-url",null!=(s=null==f?void 0:f.poll_url)?s:"");const w=30;let _=0;for(;_{var t;return setTimeout(e,null!=(t=null==f?void 0:f.poll_interval)?t:2e3)}));const e=await fetch(p,{method:"POST",headers:u,body:m});if(!e.ok)throw new Error(`Failed to poll images: ${e.status} ${e.statusText}`);const t=await e.json();if(1==t.polling_response.status){y=t.b64_thumbnails;break}_++}return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),y.map((e=>({model:"dall-3",type:"base64",content:e}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const FAKE_HEADERS$1={accept:"text/event-stream","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",baggage:"sentry-environment=production,sentry-release=Oo3GOuv3r81hzTog5xH9y,sentry-public_key=b311e0f2690c81f25e2c4cf6d4f7ce1c,sentry-trace_id=446673ead5af472888af0bb6688f638d,sentry-sample_rate=1,sentry-sampled=true","cache-control":"no-cache","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","sentry-trace":"446673ead5af472888af0bb6688f638d-849a1615f88a565e-1",Referer:"https://grok.com/","Referrer-Policy":"origin-when-cross-origin"},grok_request_data={cookie:""};async function handleImageResponse(e){let t,o=0;for(;o<3;)try{if(t=await fetch(`https://assets.grok.com/${e}`,{method:"GET",headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie}}),t.ok)break;if(o++,3===o)throw new Error(`上游服务请求失败! status: ${t.status}`);await new Promise((e=>setTimeout(e,500*o)))}catch(e){if(o++,3===o)throw e;await new Promise((e=>setTimeout(e,500*o)))}const a=await t.arrayBuffer(),s=Buffer.from(a).toString("base64");return`data:${t.headers.get("content-type")};base64,${s}`}function processJsonString(e,t){let o=e.trim(),a=0,s=0,r=!1,i=!1;for(let e=0;e{if("image_url"===e.type){const t=e.image_url.url;let o;o=t.includes("data:image")?t.split(",")[1]:t;const s=await fetch("https://grok.com/api/rpc",{method:"POST",headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie},body:JSON.stringify({rpc:"uploadFile",req:{fileName:"lansefangzi.png",fileMimeType:"image/png",content:o}})}),r=await s.json();return a.push(r.fileMetadataId),null}return e}))),t={role:i.role,content:e.filter((e=>null!=e))};o.messages.push(t)}else o.messages.push(i);const c=MergeMessages(o.messages),l={customInstructions:"",deepsearchPreset:"",disableSearch:!1,enableImageGeneration:!0,enableImageStreaming:!0,enableSideBySide:!0,fileAttachments:a,forceConcise:!1,imageAttachments:[],imageGenerationCount:2,isPreset:!1,isReasoning:o.model.includes("reasoning"),message:c,modelName:o.model.toString().replace("-reasoning","").replace("-image",""),returnImageBytes:!1,returnRawGrokInXaiRequest:!1,sendFinalMetadata:!0,temporary:!1,toolOverrides:{imageGen:o.model.includes("image")}};let d="https://grok.com/rest/app-chat/conversations/new";if(r.proxyurl){const e=decodeURIComponent(r.proxyurl.toString());d=`${e}${e.includes("?")?"&":"?"}stream=true&url=${d}`}if(t=await fetch(d,{headers:{...FAKE_HEADERS$1,cookie:grok_request_data.cookie},body:JSON.stringify(l),method:"POST"}),!t.ok)return errorResponse(t);const p=t.body.pipeThrough(new TextDecoderStream).getReader();if(!o.model.includes("image")){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$4(p,t,o.model),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}let u=[];for(;;){const{value:e,done:t}=await p.read();if(t)break;e&&processJsonString(e,(e=>{const t=JSON.parse(e).result;t.response&&t.response.streamingImageGenerationResponse&&100==t.response.streamingImageGenerationResponse.progress&&t.response.streamingImageGenerationResponse.imageUrl&&u.push(`${t.response.streamingImageGenerationResponse.imageUrl}`)}))}return u=await Promise.all(u.map((async e=>handleImageResponse(e)))),new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),u.filter((e=>null!=e)).map((e=>({model:"grok-latest-image",type:"base64",content:e}))))),{status:t.status,headers:{"Content-Type":"application/json"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$3(e,t){try{const o=JSON.parse(e).result;if(!o.response||!o.response.token)return;t.msgCallback(o.response.token,o.response.isThinking?"thinking":"text")}catch(e){throw e}}const encoder$5=new TextEncoder;async function streamJsonResponseBodies$4(e,t,o,a){const s=t.getWriter();let r={id:"",model:o,msgCallback:(e,t)=>{s.write(encoder$5.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,r.model,!0,t))}\n\n`))},endCallback:()=>{s.write(encoder$5.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){r.endCallback(),a&&a(),s.close();break}if(!t)continue;processJsonString(t,(e=>{onParse$3(e,r)}))}catch(e){throw s.close(),e}}const nData={mid:"",cookies:"",authToken:""};global.aiso_base64=e=>btoa(e),global.aiso_md5=e=>md5(e),global.aiso_aes=(e,t)=>{const o=crypto.createCipheriv("aes-256-cbc",t,Buffer.alloc(16,0));let a=o.update(e,"utf8","hex");return a+=o.final("hex"),a},global.aiso_sha1=e=>{const t=crypto.createHash("sha1");return t.update(e),t.digest("hex")},global.aiso_h256=(e,t)=>{const o=crypto.createHmac("sha256",t);return o.update(e),o.digest("hex")};const getChatToken=(uri,body,now)=>{const date=now.toUTCString();let data={"Chat-Date":date,"Chat-Token":""},jsText="KGZ1bmN0aW9uKHBhcmFtcykge2xldCBtZXRob2QgPSBwYXJhbXMubWV0aG9kLGE9YWlzb19tZDUsYj1haXNvX2Jhc2U2NCxjPWFpc29fYWVzLGQ9YWlzb19oMjU2LGU9YWlzb19zaGExLHVyaSA9IHBhcmFtcy51cmksYWNjZXNzX3Rva2VuID0gcGFyYW1zLmFjY2Vzc190b2tlbixodHRwX3ZlcnNpb24gPSBwYXJhbXMuaHR0cF92ZXJzaW9uLGRhdGUgPSBwYXJhbXMuZGF0ZSx0b2tlbiA9IG1ldGhvZCArICIgIiArIHVyaSArICIgIiArIGh0dHBfdmVyc2lvbisiICIrImRhdGU6IisgIiAiICsgZGF0ZTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gZCh0b2tlbiwgYWNjZXNzX3Rva2VuKTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gYSh0b2tlbik7dG9rZW4gPSBkKHRva2VuLCBhY2Nlc3NfdG9rZW4pO3Rva2VuID0gYSh0b2tlbik7dG9rZW4gPSBiKHRva2VuKTt0b2tlbiA9IGEodG9rZW4pO3Rva2VuID0gYih0b2tlbik7dG9rZW4gPSBkKHRva2VuLCBhY2Nlc3NfdG9rZW4pO3JldHVybiB7dG9rZW46IHRva2VuICsgIkQxIitbMTIwLDY3LDExMyw5OSw2NiwxMDQsODEsNTAsNjUsMTE3LDY3LDExOSw5OCw4OCw4MCw2Niw4Nyw1MSwxMDMsODMsNjEsNDcsNDUsMTE2LDExNiw4NSw3MCw1MSwxMjAsODcsMTEzLDExOSw5MCw4NSwxMDQsMTE2LDU0LDU0LDc1LDc2LDc2LDExNCwxMTgsMTA5LDcyLDExOCwxMDcsMTIxLDc0LDExMywxMDgsMTE5LDEwMywxMDcsNjUsNzAsMTE1LDk5LDEwOSwxMTMsNTUsMTAxLDQzLDU3LDg5LDgzLDUwLDU1LDc0LDc3LDEyMCwxMTcsOTksNzEsNzgsNjYsMTE1LDQ5LDEwMywxMTgsNDMsMTEwLDg1LDc3LDcxLDEwNiw1NSwxMDIsMTE2LDY1LDcyLDcyLDExNSw3OCw5OSw3NCw5MCw0MywxMTYsNzcsOTcsMTE1LDgzLDU2LDEyMiwxMTMsODUsNTYsNzUsMTIyLDU1LDEwNCw2Nyw1NCw1MCwxMTgsMTE5LDg0LDQzLDExOSwxMjEsNjksODAsODgsNTUsOTgsNjgsODEsODEsMTE1LDg4LDczLDYxXS5tYXAociA9PiBTdHJpbmcuZnJvbUNoYXJDb2RlKHIpKS5qb2luKCIiKX19KQ==";try{jsText=atob(jsText).trim(),jsText+="(".concat(JSON.stringify({method:"POST",uri:uri,access_token:nData.mid,http_version:"HTTP/1.1",date:date,body:body}),")");const{token:token}=eval(jsText);data["Chat-Token"]=token}catch(e){console.error(e),data["Chat-Token"]="-2"}return data},getHeaders=e=>{const t=["Web",e.toISOString().replace("Z","+08:00"),"1.2",nData.mid,md5("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0")];return{"device-platform":t[0],timestamp:t[1],"zm-ver":t[2],"access-token":t[3],"zm-token":md5(t.join("")),"zm-ua":t[4],"func-ver":"1","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",mid:"",sid:nData.mid,"Request-Id":getRandomUuidv4(),"Auth-Token":nData.authToken,cookie:nData.cookies,accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin",Referer:"https://bot.n.cn","Referrer-Policy":"strict-origin-when-cross-origin"}},deleteConversation=async e=>{let t=getHeaders(new Date);await fetch("https://bot.n.cn/api/batch/remove/conversation",{headers:{...t,Referer:`https://bot.n.cn/chat/${e}`},body:`cid=${e}`,method:"POST"})};async function n(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=JSON.parse(s);nData.mid=r.mid,nData.cookies=r.cookies,nData.authToken=r.authToken;try{const e={role:o.model,prompt:MergeMessagesNoMarkup(o.messages),re_answer:0,retry:!1,last_id:0,compare_parent_id:"",role_biz:"",rewrite_type:"",file:[],annex_msg_id:"",kwargs:{think_stream:!0},is_so:!1},t=new Date;let a=getHeaders(t);a={...getChatToken("/api/assistant/chat",e,t),...a,accept:"text/event-stream","Content-Type":"application/json"};const s=await fetch("https://bot.n.cn/api/assistant/chat",{method:"POST",headers:a,body:JSON.stringify(e)});if(!s.ok)return errorResponse(s);const r=s.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$3(r,t,deleteConversation),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const encoder$4=new TextEncoder;function onParse$2(e,t){try{if("100"==e.event)return void(t.conversationId=e.data.replace("CONVERSATIONID####",""));if("101"==e.event)return void(t.id=e.data.replace("MESSAGEID####",""));if("102"==e.event&&e.data&&e.data.length>0){if(e.data.startsWith("{")&&e.data.endsWith("}")){const o=JSON.parse(e.data);t.msgCallback(o.message,"thinking")}else t.msgCallback(e.data,"thinking");return}if("200"==e.event)return void t.msgCallback(e.data,"text")}catch(e){throw e}}async function streamJsonResponseBodies$3(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),conversationId:"",model:"",content:"",msgCallback:(e,t)=>{a.write(encoder$4.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,s.model,!0,t))}\n\n`))}};for(;;)try{const{value:t,done:r}=await e.read();if(r){a.write(encoder$4.encode("data: [DONE]\n\n")),o&&o(s.conversationId),a.close();break}if(!t)continue;onParse$2(t,s)}catch(e){throw a.close(),o&&o(s.conversationId),e}}async function requestUntilConditionMet(e,t){let o=0;for(;o<10;){o++;try{const o=await fetch(e,{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${t}`,"cache-control":"no-cache",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","x-api-key":"clio-playground-web",Referer:"https://firefly.adobe.com/","Referrer-Policy":"strict-origin-when-cross-origin"},body:null,method:"GET"}),a=await o.json();if(!("progress"in a)&&"outputs"in a)return a;await new Promise((e=>setTimeout(e,1e3)))}catch(e){throw console.error("请求或解析出现错误: ",e),e}}return console.log("超过 10 次请求仍未满足条件"),null}async function firefly(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"",r="2048",i="2048";"IMAGE_ASPECT_RATIO_SQUARE"===a.aspectRatio?(r="2048",i="2048"):"IMAGE_ASPECT_RATIO_PORTRAIT"===a.aspectRatio?(r="1536",i="2688"):"IMAGE_ASPECT_RATIO_LANDSCAPE"===a.aspectRatio?(r="2688",i="1536"):"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"===a.aspectRatio?(r="1792",i="2304"):"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE"===a.aspectRatio&&(r="2304",i="1792");try{const e=o.messages[o.messages.length-1].content,t=await fetch("https://firefly-clio-imaging-preview.adobe.io/v2/images/generate-async",{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:`Bearer ${s}`,"cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","x-api-key":"clio-playground-web",Referer:"https://firefly.adobe.com/","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({prompt:e,seeds:[generateRandomInteger(5),generateRandomInteger(5),generateRandomInteger(5),generateRandomInteger(5)],size:{width:r,height:i},visualIntensity:6,locale:"en-US",detailLevel:"preview",modelVersion:o.model,output:{cai:{directive:"dont_sign"},storeInputs:!0}}),method:"POST"});if(!t.ok)return errorResponse(t);await t.json();const a=t.headers.get("x-override-status-link"),c=await requestUntilConditionMet(a,s);return new Response(JSON.stringify(toImageResponse(getRandomUuidv4(),c.outputs.map((e=>({model:o.model,type:"url",url:e.image.presignedUrl}))))),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}const FAKE_HEADERS={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","cache-control":"no-cache",chat_version:"v1","content-type":"text/plain;charset=UTF-8",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not(A:Brand";v="99", "Microsoft Edge";v="133", "Chromium";v="133"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-requested-with":"XMLHttpRequest","x-source":"web","Referrer-Policy":"strict-origin-when-cross-origin"},yuanbao_request_data={cookie:"",cookieObject:{}};async function yuanbao(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";const r=getQuery(e);let i=o.conversationId||r.id||"";a&&(i=a.apiConversationId?a.apiConversationId:i),i||(i=getRandomUuidv4());try{const e=JSON.parse(s);yuanbao_request_data.cookie=e.cookie,yuanbao_request_data.cookieObject=parseStrCookies(yuanbao_request_data.cookie);const t=MergeMessagesNoMarkup(o.messages),a={model:"gpt_175B_0404",prompt:t,plugin:"Adaptive",displayPrompt:t,displayPromptType:1,options:{imageIntention:{needIntentionModel:!0,backendUpdateFlag:2,intentionStatus:!0}},multimedia:[],agentId:"naQivTmsDa",supportHint:1,version:"v2",chatModelId:o.model},clearConversation=async()=>{await fetch("https://yuanbao.tencent.com/api/user/agent/conversation/v1/clear",{headers:{...FAKE_HEADERS,accept:"application/json, text/plain, */*","content-type":"application/json","t-userid":yuanbao_request_data.cookieObject.hy_user,"x-agentid":"naQivTmsDa","x-commit-tag":"d1b1f33c","x-requested-with":"XMLHttpRequest","x-source":"web",cookie:yuanbao_request_data.cookie,Referer:"https://yuanbao.tencent.com/chat/naQivTmsDa","Referrer-Policy":"strict-origin-when-cross-origin"},body:JSON.stringify({conversationIds:[i]}),method:"POST"})},r=await fetch(`https://yuanbao.tencent.com/api/chat/${i}`,{headers:{...FAKE_HEADERS,cookie:yuanbao_request_data.cookie,"x-agentid":`naQivTmsDa/${i}`,Referer:`https://yuanbao.tencent.com/chat/naQivTmsDa/${i}`},body:JSON.stringify(a),method:"POST"});if(!r.ok)return errorResponse(r);const c=r.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).getReader();if(o.stream){const{readable:e,writable:t}=new TransformStream;return streamJsonResponseBodies$2(c,t,o.model,clearConversation),new Response(e,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}return new Response("不支持非流式",{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}function onParse$1(e,t){try{if(!e.data.startsWith("{")||!e.data.endsWith("}"))return;const o=JSON.parse(e.data);if("think"!=o.type&&"text"!=o.type)return;t.msgCallback("think"==o.type?o.content:o.msg,"think"==o.type?"thinking":"text")}catch(e){throw e}}const encoder$3=new TextEncoder;async function streamJsonResponseBodies$2(e,t,o,a){const s=t.getWriter();let r={id:"",model:o,msgCallback:(e,t)=>{s.write(encoder$3.encode(`data: ${JSON.stringify(toOpenAIResponse(r.id,e,r.model,!0,t))}\n\n`))},endCallback:()=>{s.write(encoder$3.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){r.endCallback(),a&&a(),s.close();break}if(!t)continue;onParse$1(t,r)}catch(e){throw s.close(),e}}function generateHashed64Hex(e,t=""){const o=createHash$1("sha256");return o.update(e+t),o.digest("hex")}function obfuscateBytes(e){let t=165;for(let o=0;o>40&255,a>>32&255,a>>24&255,a>>16&255,a>>8&255,255&a]));return`${Buffer.from(s).toString("base64")}${t}/${o}`}const FakeHeaders={"connect-accept-encoding":"gzip,br","connect-protocol-version":"1","content-type":"application/connect+proto",cookie:"","user-agent":"connect-es/1.6.1","x-client-key":"","x-cursor-checksum":"","x-cursor-client-version":"0.42.4","x-cursor-timezone":"Asia/Shanghai","x-ghost-mode":"false",Host:"api2.cursor.sh",Connection:"keep-alive"},protoDefinition$1='\n syntax = "proto3";\n \n message Message {\n string msg = 1;\n int32 no = 2;\n string id = 13;\n }\n \n message Info {\n string system = 1;\n string path = 5;\n }\n \n message Model {\n string model = 1;\n string other = 4;\n }\n \n message Payload {\n repeated Message msgs = 2;\n Info info = 4;\n Model model = 7;\n string requestId = 9;\n int32 field13 = 13;\n int32 field14 = 14;\n string convId = 15;\n int32 field16 = 16;\n int32 field22 = 22;\n int32 field24 = 24;\n int32 field28 = 28;\n int32 field29 = 29;\n }\n \n message ResponseMsg {\n string msg = 1;\n }\n';let root,Payload,ResponseMsg;function loadProtoTypes(){root=protobuf.parse(protoDefinition$1).root,root.lookupType("Message"),root.lookupType("Info"),root.lookupType("Model"),Payload=root.lookupType("Payload"),ResponseMsg=root.lookupType("ResponseMsg")}async function generateClietKey(){const e=new Date,t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=e.getDate()<=15?"01":"02";return await generateSHA256(`${t}${o}${a}`)}function getCurrentDateString(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}async function cursor(e){var t,o;const a=Object.fromEntries(e.headers),s=await readBody(e),r=e.context.meta||s.meta;s.model=s.model&&"default"!==s.model?s.model:null==r?void 0:r.apiModel;let i=(null==r?void 0:r.apiKey)?r.apiKey:a.authorization?extractBearerToken(a.authorization):"",c="";"system"===s.messages[0].role&&(c=s.messages.shift().content);const l=Payload.create({msgs:s.messages.map((e=>({msg:e.content,no:"user"==e.role?1:2,id:getRandomUuidv4()}))),info:{system:c,path:"/d:/Workspace/openall"},model:{model:s.model,other:""},requestId:getRandomUuidv4(),field13:0,field14:0,convId:getRandomUuidv4(),field16:1,field22:0,field24:0,field28:0,field29:0});try{const e=Payload.encode(l).finish(),r=new DataView(new ArrayBuffer(4));r.setInt32(0,e.length,!1);const c=Buffer.concat([Buffer.from([0]),Buffer.from(r.buffer),e]),d=null!=(o=null!=(t=a["x-cursor-checksum"])?t:process.env["x-cursor-checksum"])?o:generateCursorChecksum(i.trim()+getCurrentDateString),p=getRandomUuidv4(),u=await fetch("https://api2.cursor.sh/aiserver.v1.AiService/StreamChat",{method:"POST",headers:{...FakeHeaders,"x-client-key":await generateClietKey(),"x-amzn-trace-id":`Root=${p}`,"x-request-id":p,authorization:`Bearer ${i}`,"x-cursor-checksum":d},body:c});if(!u.ok)return errorResponse(u);if(u.headers.get("content-type").includes("application/json")){const e=await u.json();return new Response(JSON.stringify(e),{status:400,statusText:u.statusText,headers:{"Content-Type":"application/json"}})}const m=u.body.getReader(),{readable:h,writable:g}=new TransformStream;return streamJsonResponseBodies$1(m,g,s.model),new Response(h,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){return new Response(e.message,{status:400,headers:{"Content-Type":"text/plain; charset=utf-8"}})}}loadProtoTypes();const encoder$2=new TextEncoder;async function streamJsonResponseBodies$1(e,t,o){const a=t.getWriter();let s={id:"",msgCallback:e=>{a.write(encoder$2.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$2.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(o){s.endCallback(),a.close();break}if(!t)continue;const r=t[0],i=new Uint32Array(t.slice(1,5).reverse().buffer)[0],c=t.slice(5,5+i);if(0!=r){if(2==r)continue;continue}const l=ResponseMsg.decode(Buffer.from(c));s.msgCallback(l.msg)}catch(e){throw a.close(),e}}var __defProp$1=Object.defineProperty,__defNormalProp$1=(e,t,o)=>t in e?__defProp$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$1=(e,t,o)=>__defNormalProp$1(e,"symbol"!=typeof t?t+"":t,o);const qodoApiKey="AIzaSyCMMynYm5VRHj1NOwkfWinX-HYsFArdUbk",_AuthManager=class _AuthManager{constructor(){__publicField$1(this,"tokenInfo",null),__publicField$1(this,"REFRESH_THRESHOLD",300),__publicField$1(this,"storage"),__publicField$1(this,"currentEmail",null),__publicField$1(this,"currentAuthToken",null),this.storage=getStorage()}static getInstance(){return _AuthManager.instance||(_AuthManager.instance=new _AuthManager),_AuthManager.instance}async loadTokenFromStorage(){try{return await this.storage.getItem("qodoToken")}catch(e){return console.error("加载存储的 token 失败:",e),null}}async saveTokenToStorage(e,t,o){try{const a={tokenInfo:e,email:t,authToken:o};await this.storage.setItem("qodoToken",JSON.stringify(a)),this.currentEmail=t,this.currentAuthToken=o}catch(e){console.error("保存 token 失败:",e)}}async refreshAuthToken(e){if(!(null==e?void 0:e.refreshToken)||!this.currentEmail||!this.currentAuthToken)throw new Error("没有可用的刷新令牌或登录信息");try{const t=await fetch(`https://securetoken.googleapis.com/v1/token?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({grant_type:"refresh_token",refresh_token:e.refreshToken})}),o=await t.json();if(o.error)throw console.error(o.error.errors),new Error(o.error.message);const a={apiToken:o.id_token,refreshToken:o.refresh_token,expiryTime:Date.now()+1e3*o.expires_in,email:e.email};return await this.saveTokenToStorage(a,this.currentEmail,this.currentAuthToken),this.tokenInfo=a,a}catch(e){throw console.error("刷新token失败:",e),e}}async getValidTokenUseEmail(e,t){if(this.tokenInfo){const o=Date.now();if(this.tokenInfo.expiryTime-o<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(o){if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw o}return this.tokenInfo.apiToken}const o=await this.loadTokenFromStorage();if(console.log("加载token从storage",o),o){if(e&&t&&(e!==o.email||t!==o.authToken)){return(await this.signInWithEmailLink(e,t)).apiToken}this.tokenInfo=o.tokenInfo,this.currentEmail=o.email,this.currentAuthToken=o.authToken;const a=Date.now();if(this.tokenInfo.expiryTime-a<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(o){if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw o}return this.tokenInfo.apiToken}if(e&&t){return(await this.signInWithEmailLink(e,t)).apiToken}throw new Error("无法获取有效的token: 没有存储的认证信息,也没有提供登录参数")}async signInWithEmailLink(e,t){try{const o=await fetch(`https://identitytoolkit.googleapis.com/v1/accounts:signInWithEmailLink?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,oobCode:t})}),a=await o.json();if(a.error)throw console.error(a.error.errors),new Error(a.error.message);const s={apiToken:a.idToken,refreshToken:a.refreshToken,expiryTime:Date.now()+1e3*parseInt(a.expiresIn),email:a.email};return await this.saveTokenToStorage(s,e,t),this.tokenInfo=s,s}catch(e){throw console.error("登录失败:",e),e}}async getValidTokenUseWithIdp(e){if(this.tokenInfo){const t=Date.now();if(this.tokenInfo.expiryTime-t<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(t){if(e){return(await this.signInWithIdp(e)).apiToken}throw t}return this.tokenInfo.apiToken}const t=await this.loadTokenFromStorage();if(console.log("加载token从storage",t),t){if(e&&e!==t.authToken){return(await this.signInWithIdp(e)).apiToken}this.tokenInfo=t.tokenInfo,this.currentEmail=t.email,this.currentAuthToken=t.authToken;const o=Date.now();if(this.tokenInfo.expiryTime-o<=1e3*this.REFRESH_THRESHOLD)try{return(await this.refreshAuthToken(this.tokenInfo)).apiToken}catch(t){if(e){return(await this.signInWithIdp(e)).apiToken}throw t}return this.tokenInfo.apiToken}if(e){return(await this.signInWithIdp(e)).apiToken}throw new Error("无法获取有效的token: 没有存储的认证信息,也没有提供登录参数")}async signInWithIdp(e){try{const t=await fetch(`https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=${qodoApiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({requestUri:"http://localhost",returnSecureToken:!0,postBody:`&id_token=${e}&providerId=google.com`})}),o=await t.json();if(o.error)throw console.error(o.error.errors),new Error(o.error.message);const a={apiToken:o.idToken,refreshToken:o.refreshToken,expiryTime:Date.now()+1e3*parseInt(o.expiresIn),email:o.email};return await this.saveTokenToStorage(a,a.email,e),this.tokenInfo=a,a}catch(e){throw console.error("登录失败:",e),e}}};__publicField$1(_AuthManager,"instance");let AuthManager=_AuthManager;const authManager=AuthManager.getInstance();async function qodo(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel;let s=(null==a?void 0:a.apiKey)?a.apiKey:t.authorization?extractBearerToken(t.authorization):"";console.log("apiKey:",s);const r=JSON.parse(s),i=await authManager.getValidTokenUseWithIdp(r.token);console.log("当前有效token:",i);const c=getRandomUuidv4(),l=getRandomUuidv4();let d=o.messages.pop().content;"system"===o.messages[0].role&&(o.messages[0].role="user",o.messages.splice(1,0,{role:"assistant",content:"你的问题很好,请补充,我接下来会回答"}));let p=o.messages.filter((e=>"system"!==e.role)).map((e=>({role:e.role,content:e.content,..."user"===e.role?{command:"chat",mode:"freeChat"}:{}})));p=[];const u=await fetch("https://api.gen.qodo.ai/v2/chats/chat",{method:"POST",headers:{"user-agent":"axios/1.6.2",host:"api.gen.qodo.ai","content-type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({max_remote_context:0,remote_context_tags:[],max_repo_context:5,user_data:{installation_id:c,installation_fingerprint_uuid:l,editor_version:"1.96.1",extension_version:"0.12.7",os_platform:"win32",os_version:"v20.18.1",editor_type:"vscode"},task:"",chat_input:d,previous_messages:p,user_context:[],repo_context:[],custom_model:o.model})});if(!u.ok)return errorResponse(u);const m=u.body.pipeThrough(new TextDecoderStream).getReader(),{readable:h,writable:g}=new TransformStream;return streamJsonResponseBodies(m,g,o.model),new Response(h,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}const encoder$1=new TextEncoder;async function streamJsonResponseBodies(e,t,o){const a=t.getWriter();let s={id:getRandomUuidv4(),msgCallback:e=>{a.write(encoder$1.encode(`data: ${JSON.stringify(toOpenAIResponse(s.id,e,o,!0))}\n\n`))},endCallback:()=>{a.write(encoder$1.encode("data: [DONE]\n\n"))}};for(;;)try{const{value:t,done:o}=await e.read();if(console.log("value:",t),o){s.endCallback(),a.close();break}if(!t)continue;try{t.split("\n").forEach((e=>{if(!e)return;const t=JSON.parse(e);"reference_context"!==t.sub_type&&onParse(t,s)}))}catch(e){throw console.log(t),e}}catch(e){throw a.close(),e}}function onParse(e,t){try{t.msgCallback(e.data.content)}catch(e){throw e}}var __defProp=Object.defineProperty,__defNormalProp=(e,t,o)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField=(e,t,o)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,o);const protoDefinition='\n syntax = "proto3";\n\n\n// AI对话请求消息\nmessage PredictWithStream {\n string modelName = 1; // AI模型名称\n Conversation context = 2; // 对话上下文\n}\n\n\n// 表示单条消息内容\nmessage Message {\n int32 roleType = 1; // 1: user, 2: assistant 等角色类型\n string content = 2; // 具体的消息内容\n}\n\n// 对话上下文\nmessage Conversation {\n Message messages = 2; // 对话历史消息列表\n string systemPrompt = 3; // 系统指令/提示语\n}\n\n// AI对话请求\nmessage Predict {\n string modelName = 1; // AI模型名称\n Conversation context = 2; // 对话上下文\n}\n\n\n\n\nmessage PredictWithStreamResponse {\n int32 statusCode = 2; // 状态码 200\n ResponseContainer data = 4; // 响应数据\n}\n\n\n// 对话结果内容\nmessage DialogueResult {\n int64 resultType = 1; // 结果类型为3\n string content = 2; // JSON格式的具体内容\n}\n\n// 响应内容包装\nmessage ResponseWrapper {\n DialogueResult result = 2; // 包装的对话结果\n}\n\n// 外层响应包装\nmessage ResponseContainer {\n ResponseWrapper response = 1; // 最外层包装\n}\n\n// AI聊天响应\nmessage PredictResponse {\n int32 statusCode = 2; // 状态码 200\n ResponseContainer data = 4; // 响应数据\n}\n\n';class ProtobufHandler{constructor(){__publicField(this,"root"),__publicField(this,"PredictWithStream"),__publicField(this,"Predict"),__publicField(this,"PredictResponse"),__publicField(this,"PredictWithStreamResponse"),this.loadProtoTypes()}loadProtoTypes(){this.root=protobuf.parse(protoDefinition).root,this.PredictWithStream=this.root.lookupType("PredictWithStream"),this.Predict=this.root.lookupType("Predict"),this.PredictResponse=this.root.lookupType("PredictResponse"),this.PredictWithStreamResponse=this.root.lookupType("PredictWithStreamResponse")}async createPredictWithStream(e,t,o){const a=this.PredictWithStream.create({modelName:e,context:{messages:{roleType:1,content:t},systemPrompt:o}});return this.PredictWithStream.encode(a).finish()}async createPredict(e,t,o){const a=this.Predict.create({modelName:e,context:{messages:{roleType:1,content:t},systemPrompt:o}});return this.Predict.encode(a).finish()}}async function createJWT(){return"eyJvcyI6ImZhOTIyNzU4LWZiZWYtNDAxNS1iNzM0LWIwMjE5MmU4ZjMwZCIsInVzZXJfaWQiOiJVTktOT1dOIiwidXNlcl9lbWFpbCI6IlVOS05PV04iLCJjbGllbnRfaXBfYWRkcmVzcyI6IlVOS05PV04iLCJjb3VudHJ5X2lwX25hbWUiOiJVTktOT1dOIiwiY291bnRyeV9pcF9hZGRyZXNzIjoiVU5LTk9XTiIsImNvdW50cnlfaXBfY29kZSI6IlVOS05PV04iLCJvcGVyYXRpbmdfc3lzdGVtIjoid2luZG93cyIsIm9zX3NlcnZlcl92ZXJzaW9uIjoiMTAuMS4xNSIsImFsZyI6IkhTMjU2IiwidHlwIjoiSldUIn0.eyJzdHJlYW1Jbml0Ijp0cnVlLCJ0aW1lc3RhbXAiOiIyMDI0LTEyLTEwVDEyOjAxOjI0LjI0NjE3MloiLCJpYXQiOjE3MzM4MzIwODQsImV4cCI6MTczMzgzMjE0NH0.EB-5eyZn3nik2secKX_6X038xofpIYWBy9snDzV6fOI"}process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";class GrpcClient{constructor(){__publicField(this,"client"),__publicField(this,"protobufHandler"),__publicField(this,"metadata",null),this.protobufHandler=new ProtobufHandler,credentials.createSsl(null,null,null,{checkServerIdentity:()=>{}});this.client=new Client("runtime-native-io-vertex-inference-grpc-service.aot.runtime.services:443",credentials.createSsl(),{"grpc.primary_user_agent":"dart-grpc/2.0.0","grpc.max_receive_message_length":-1,"grpc.max_send_message_length":-1,"grpc.max_concurrent_streams":1e3})}async initialize(){try{const e=await this.createMetadata();return new Promise(((t,o)=>{this.client.makeUnaryRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Initialize",(e=>Buffer.from([])),(e=>e),{},e,((e,a)=>{if(e)return console.error("Initialize error:",e),void o(e);t(a)}))}))}catch(e){throw console.error("Error in initialize:",e),e}}async initializeWithTask(){try{const e=await this.createMetadata();return e.add("os-server-predict-task","messageTitle"),new Promise(((t,o)=>{this.client.makeUnaryRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Initialize",(e=>Buffer.from([])),(e=>e),{},e,((e,a)=>{if(e)return console.error("Initialize with task error:",e),void o(e);t(a)}))}))}catch(e){throw console.error("Error in initialize with task:",e),e}}async sendPredictWithStream(e){try{const t=await this.createMetadata(),o=await this.protobufHandler.createPredictWithStream(e.model,e.message,e.systemPrompt);let a=!1;const s=this.client.makeServerStreamRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/PredictWithStream",(e=>Buffer.from(e)),(e=>{try{return this.protobufHandler.PredictWithStreamResponse.decode(new Uint8Array(e))}catch(e){throw console.error("响应解析错误:",e),e}}),o,t);s.on("data",(async t=>{if(!a&&t.data)try{await e.onData(t.data.response.result.content)}catch(t){a||(a=!0,s.cancel(),await e.onError(t))}})),s.on("end",(async()=>{a||(a=!0,await e.onEnd())})),s.on("error",(async t=>{a||(a=!0,s.cancel(),await e.onError(t))}))}catch(t){await e.onError(t)}}async createMetadata(){const e=await createJWT();return this.metadata=new Metadata,this.metadata.add("authorization",`Bearer ${e}`),this.metadata.add("os","UNKNOWN"),this.metadata.add("user_id","UNKNOWN"),this.metadata.add("user_email","UNKNOWN"),this.metadata.add("client_ip_address","UNKNOWN"),this.metadata.add("country_ip_name","UNKNOWN"),this.metadata.add("country_ip_address","UNKNOWN"),this.metadata.add("country_ip_code","UNKNOWN"),this.metadata.add("operating_system","windows"),this.metadata.add("os_server_version","11.0.3"),this.metadata}async sendPredictRequest(e){try{const t=await this.createMetadata(),o=await this.protobufHandler.createPredict(e.model,e.message,e.systemPrompt);return new Promise(((e,a)=>{const s=this.client.makeClientStreamRequest("/runtime.aot.machine_learning.parents.vertex.VertexInferenceService/Predict",(e=>Buffer.from(e)),(e=>this.protobufHandler.PredictResponse.decode(Uint8Array.from(e))),t,((t,o)=>{t?a(t):e(o)}));s.write(o,(e=>{e?a(e):s.end()})),s.end();let r="";s.on("data",(e=>{r+=e.content.toString()})),s.on("error",(e=>{a(e)}))}))}catch(e){throw console.error("Error in sendRequest:",e),e}}}const encoder=new TextEncoder;var client=new GrpcClient;async function pieces(e){const t=Object.fromEntries(e.headers),o=await readBody(e),a=e.context.meta||o.meta;o.model=o.model&&"default"!==o.model?o.model:null==a?void 0:a.apiModel,(null==a?void 0:a.apiKey)?a.apiKey:t.authorization&&extractBearerToken(t.authorization);let s="";"system"===o.messages[0].role&&(s=o.messages.shift().content);const r=MergeMessages(o.messages);try{const e=`You are a software developer who specializes in providing assistance to other developers.I would like you to answer coding-related questions in a helpful and straightforward manner.The included context will be the codeblocks that you have previously generated within this conversation.1. Read and understand the query thoroughly. 2. Use all information provided to provide a clear and helpful response. 3. If you include a code example, you must include it in the proper markdown code block syntax. it is critical that you specify the proper code language in the beginning of the markdown code. 4. If you are completely unable to answer the query, say "I'm sorry, I can't answer that." 5. Answer the following question only if you know the answer or can make a well-informed guess; otherwise tell me you don't know it.Previously generated codeblocks in chronological order:\nPreviously generated code blocks:\nNo previously generated code blocks\n\nRecent message history in chronological order:\n${s}\nRelevant past chat message:\nNo relevant messages\n\n\n`,{readable:t,writable:o}=new TransformStream,a=o.getWriter(),i=getRandomUuidv4();return(async()=>{try{await client.sendPredictWithStream({model:"claude-3-5-sonnet@20240620",message:r,systemPrompt:e,onData:async e=>{const t=toOpenAIResponse(i,e,"claude-3-5-sonnet",!0),o=`data: ${JSON.stringify(t)}\n\n`;await a.write(encoder.encode(o))},onEnd:async()=>{await a.write(encoder.encode("data: [DONE]\n\n")),await a.close()},onError:async e=>{console.error("流处理错误:",e);const t=`data: ${JSON.stringify({error:e.message})}\n\n`;await a.write(encoder.encode(t)),await a.close()}})}catch(e){console.error("处理流错误:",e),await a.close()}})(),new Response(t,{headers:{"Content-Type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}})}catch(e){console.error("Error in main:",e)}}const llm_providers={coze_com:coze_com,coze_cn:coze_cn,vercel:vercel,openai:openai,github_copilot:github_copilot,ernie:ernie,hunyuan:hunyuan,chatglm:chatglm,tongyi:tongyi,wanzhi:wanzhi,coze:coze,huggingface:huggingface,lmsys:lmsys,spark:spark,cloudflare:cloudflare,mistral_ai:mistral_ai,anthropic:anthropic,cohere:cohere,gemini:gemini,claude:claude,kimi:kimi,gemini_vertex:gemini_vertex,anthropic_vertex:anthropic_vertex,openai_vertex:openai_vertex,mistralai_vertex:mistralai_vertex,chatgpt:chatgpt,lyihub:lyihub,deepinfra:deepinfra,replicate:replicate,vecmul:vecmul,magai:magai,azure:azure,blackbox:blackbox,cursor:cursor,zed:zed,pieces:pieces,qodo:qodo,genspark:genspark$2,qwenlm:qwenlm,deepseek:deepseek,deepseek_com:deepseek_com,genspark_image:genspark$1,imagefx:genspark,bing_image:bing_image,siliconflow_image:siliconflow_image,cloudflare_image:cloudflare_image,designer:designer,grok:grok,n:n,firefly:firefly,yuanbao:yuanbao};export{llm_providers as l}; diff --git a/.output/server/chunks/nitro/nitro.mjs b/.output/server/chunks/nitro/nitro.mjs index 83a59c02813ffffcd412d5ec9915adca5ac71d7e..414cdd958e404d5563046eb4a089e3d21d5ccce7 100644 --- a/.output/server/chunks/nitro/nitro.mjs +++ b/.output/server/chunks/nitro/nitro.mjs @@ -1 +1 @@ -import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import o,{Server as a}from"node:https";import{promises as i,existsSync as n}from"node:fs";import{fileURLToPath as c}from"node:url";import{dirname as l,resolve as p,join as u}from"node:path";const d=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!f.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(d.test(e)||h.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const m=/#/g,g=/&/g,y=/\//g,v=/=/g,w=/\+/g,b=/%5e/gi,_=/%60/gi,T=/%7c/gi,x=/%20/gi,j=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(T,"|")).replace(w,"%2B").replace(x,"+").replace(m,"%23").replace(g,"%26").replace(_,"`").replace(b,"^").replace(y,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(v,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(w," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const o=decode(e[1].replace(w," "));if("__proto__"===o||"constructor"===o)continue;const a=decodeQueryValue(e[2]||"");void 0===t[o]?t[o]=a:Array.isArray(t[o])?t[o].push(a):t[o]=[t[o],a]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const R=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,k=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,z=/^([/\\]\s*){2,}[^/\\]/,C=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?R.test(e):k.test(e)||!!t.acceptRelative&&z.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const o=e.slice(s.length);return"/"===o[0]?o:"/"+o}function withQuery(e,t){const s=parseURL(e),o={...parseQuery(s.search),...t};return s.search=stringifyQuery(o),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"",n=e.protocol||e[S]?(e.protocol||"")+"//":"";return n+a+i+t+s+o}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(C,"");s=withTrailingSlash(s)+t}else s=e;return s}const S=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return t?parseURL(t+e):parsePath(e);const[,o="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,n="",c=""]=i.match(/([^#/?]*)(.*)?/)||[];"file:"===o&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:p,hash:u}=parsePath(c);return{protocol:o.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:n,pathname:l,search:p,hash:u,[S]:!o}}function parsePath(e=""){const[t="",s="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:o}}const A=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function objectHash(e,t){const s=createHasher(t=t?{...A,...t}:A);return s.dispatch(e),s.toString()}const B=Object.freeze(["prototype","__proto__","constructor"]);function createHasher(e){let t="",s=new Map;const write=e=>{t+=e};return{toString:()=>t,getContext:()=>s,dispatch(t){e.replacer&&(t=e.replacer(t));return this[null===t?"null":typeof t](t)},object(t){if(t&&"function"==typeof t.toJSON)return this.object(t.toJSON());const o=Object.prototype.toString.call(t);let a="";const i=o.length;a=i<10?"unknown:["+o+"]":o.slice(8,i-1),a=a.toLowerCase();let n=null;if(void 0!==(n=s.get(t)))return this.dispatch("[CIRCULAR:"+n+"]");if(s.set(t,s.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return write("buffer:"),write(t.toString("utf8"));if("object"!==a&&"function"!==a&&"asyncfunction"!==a)this[a]?this[a](t):e.ignoreUnknown||this.unkown(t,a);else{let s=Object.keys(t);e.unorderedObjects&&(s=s.sort());let o=[];!1===e.respectType||isNativeFunction(t)||(o=B),e.excludeKeys&&(s=s.filter((t=>!e.excludeKeys(t))),o=o.filter((t=>!e.excludeKeys(t)))),write("object:"+(s.length+o.length)+":");const dispatchForKey=s=>{this.dispatch(s),write(":"),e.excludeValues||this.dispatch(t[s]),write(",")};for(const e of s)dispatchForKey(e);for(const e of o)dispatchForKey(e)}},array(t,o){if(o=void 0===o?!1!==e.unorderedArrays:o,write("array:"+t.length+":"),!o||t.length<=1){for(const e of t)this.dispatch(e);return}const a=new Map,i=t.map((t=>{const s=createHasher(e);s.dispatch(t);for(const[e,t]of s.getContext())a.set(e,t);return s.toString()}));return s=a,i.sort(),this.array(i,!1)},date:e=>write("date:"+e.toJSON()),symbol:e=>write("symbol:"+e.toString()),unkown(e,t){if(write(t),e)return write(":"),e&&"function"==typeof e.entries?this.array(Array.from(e.entries()),!0):void 0},error:e=>write("error:"+e.toString()),boolean:e=>write("bool:"+e),string(e){write("string:"+e.length+":"),write(e)},function(t){write("fn:"),isNativeFunction(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this.object(t)},number:e=>write("number:"+e),xml:e=>write("xml:"+e.toString()),null:()=>write("Null"),undefined:()=>write("Undefined"),regexp:e=>write("regex:"+e.toString()),uint8array(e){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},uint8clampedarray(e){return write("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},int8array(e){return write("int8array:"),this.dispatch(Array.prototype.slice.call(e))},uint16array(e){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},int16array(e){return write("int16array:"),this.dispatch(Array.prototype.slice.call(e))},uint32array(e){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},int32array(e){return write("int32array:"),this.dispatch(Array.prototype.slice.call(e))},float32array(e){return write("float32array:"),this.dispatch(Array.prototype.slice.call(e))},float64array(e){return write("float64array:"),this.dispatch(Array.prototype.slice.call(e))},arraybuffer(e){return write("arraybuffer:"),this.dispatch(new Uint8Array(e))},url:e=>write("url:"+e.toString()),map(t){write("map:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},set(t){write("set:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},file(e){return write("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},blob(){if(e.ignoreUnknown)return write("[blob]");throw new Error('Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n')},domwindow:()=>write("domwindow"),bigint:e=>write("bigint:"+e.toString()),process:()=>write("process"),timer:()=>write("timer"),pipe:()=>write("pipe"),tcp:()=>write("tcp"),udp:()=>write("udp"),tty:()=>write("tty"),statwatcher:()=>write("statwatcher"),securecontext:()=>write("securecontext"),connection:()=>write("connection"),zlib:()=>write("zlib"),context:()=>write("context"),nodescript:()=>write("nodescript"),httpparser:()=>write("httpparser"),dataview:()=>write("dataview"),signal:()=>write("signal"),fsevent:()=>write("fsevent"),tlswrap:()=>write("tlswrap")}}const E="[native code] }",M=E.length;function isNativeFunction(e){return"function"==typeof e&&Function.prototype.toString.call(e).slice(-M)===E}var I=Object.defineProperty,__publicField$1=(e,t,s)=>(((e,t,s)=>{t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);class WordArray{constructor(e,t){__publicField$1(this,"words"),__publicField$1(this,"sigBytes"),e=this.words=e||[],this.sigBytes=void 0===t?4*e.length:t}toString(e){return(e||O).stringify(this)}concat(e){if(this.clamp(),this.sigBytes%4)for(let t=0;t>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=s<<24-(this.sigBytes+t)%4*8}else for(let t=0;t>>2]=e.words[t>>>2];return this.sigBytes+=e.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new WordArray([...this.words])}}const O={stringify(e){const t=[];for(let s=0;s>>2]>>>24-s%4*8&255;t.push((o>>>4).toString(16),(15&o).toString(16))}return t.join("")}},H={stringify(e){const t=[];for(let s=0;s>>2]>>>24-s%4*8&255)<<16|(e.words[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e.words[s+2>>>2]>>>24-(s+2)%4*8&255;for(let a=0;a<4&&8*s+6*a<8*e.sigBytes;a++)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o>>>6*(3-a)&63))}return t.join("")}},K={parse(e){const t=e.length,s=[];for(let o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new WordArray(s,t)}},Z={parse:e=>K.parse(unescape(encodeURIComponent(e)))};class BufferedBlockAlgorithm{constructor(){__publicField$1(this,"_data",new WordArray),__publicField$1(this,"_nDataBytes",0),__publicField$1(this,"_minBufferSize",0),__publicField$1(this,"blockSize",16)}reset(){this._data=new WordArray,this._nDataBytes=0}_append(e){"string"==typeof e&&(e=Z.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_doProcessBlock(e,t){}_process(e){let t,s=this._data.sigBytes/(4*this.blockSize);s=e?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0);const o=s*this.blockSize,a=Math.min(4*o,this._data.sigBytes);if(o){for(let e=0;e(((e,t,s)=>{t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,t+"",s),s);const N=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],q=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],D=[];class SHA256 extends Hasher{constructor(){super(...arguments),__publicField(this,"_hash",new WordArray([...N]))}reset(){super.reset(),this._hash=new WordArray([...N])}_doProcessBlock(e,t){const s=this._hash.words;let o=s[0],a=s[1],i=s[2],n=s[3],c=s[4],l=s[5],p=s[6],u=s[7];for(let s=0;s<64;s++){if(s<16)D[s]=0|e[t+s];else{const e=D[s-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,o=D[s-2],a=(o<<15|o>>>17)^(o<<13|o>>>19)^o>>>10;D[s]=t+D[s-7]+a+D[s-16]}const d=o&a^o&i^a&i,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),f=u+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&p)+q[s]+D[s];u=p,p=l,l=c,c=n+f|0,n=i,i=a,a=o,o=f+(h+d)|0}s[0]=s[0]+o|0,s[1]=s[1]+a|0,s[2]=s[2]+i|0,s[3]=s[3]+n|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+p|0,s[7]=s[7]+u|0}finalize(e){super.finalize(e);const t=8*this._nDataBytes,s=8*this._data.sigBytes;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[14+(s+64>>>9<<4)]=Math.floor(t/4294967296),this._data.words[15+(s+64>>>9<<4)]=t,this._data.sigBytes=4*this._data.words.length,this._process(),this._hash}}function hash(e,t={}){const s="string"==typeof e?e:objectHash(e,t);return(o=s,(new SHA256).finalize(o).toString(H)).slice(0,10);var o}const L=0,X=1,U=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const o=t.split("/"),a={};let i=!1,n=null,c=e.rootNode,l=null;for(let e=0;e1){const t=o.length-e;c=c.placeholderChildren.find((e=>e.maxDepth===t))||null}else c=c.placeholderChildren[0]||null;if(!c)break;c.paramName&&(a[c.paramName]=t),i=!0}else c=s}null!==c&&null!==c.data||null===n||(c=n,a[c.paramName||"_"]=l,i=!0);if(!c)return null;if(i)return{...c.data,params:i?a:void 0};return c.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const o=t.split("/");let a=e.rootNode;for(const e of o)if(a=a.children.get(e),!a)return s;if(a.data){const e=o.at(-1)||"";a.data=null,0===Object.keys(a.children).length&&a.parent&&(a.parent.children.delete(e),a.parent.wildcardChildNode=null,a.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let o=!0;const a=t.split("/");let i=e.rootNode,n=0;const c=[i];for(const e of a){let t;if(t=i.children.get(e))i=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:i}),i.children.set(e,t),s===U?(t.paramName="*"===e?"_"+n++:e.slice(1),i.placeholderChildren.push(t),o=!1):s===X&&(i.wildcardChildNode=t,t.paramName=e.slice(3)||"_",o=!1),c.push(t),i=t}}for(const[e,t]of c.entries())t.maxDepth=Math.max(c.length-e,t.maxDepth||0);return i.data=s,!0===o&&(e.staticRoutesMap[t]=i),i}function createRadixNode(e={}){return{type:e.type||L,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?X:":"===e[0]||"*"===e?U:L}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[s,a]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&o.push(a);for(const[s,a]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");o.push(..._matchRoutes(t,a))}const a=t.static.get(e);return a&&o.push(a),o.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==L||e.includes("*")||e.includes(":")){if(t.type===X)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===U){const o=_routerNodeToTable("",t);return t.data&&o.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),o)}}else t.data&&s.static.set(e,t.data);for(const[s,o]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),o)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",o){if(!isPlainObject(t))return _defu(e,{},s,o);const a=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const i=e[t];null!=i&&(o&&o(a,t,i,s)||(Array.isArray(i)&&Array.isArray(a[t])?a[t]=[...i,...a[t]]:isPlainObject(i)&&isPlainObject(a[t])?a[t]=_defu(i,a[t],(s?`${s}.`:"")+t.toString(),o):a[t]=i))}return a}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const F=createDefu(),W=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function createNotImplementedError(e){throw new Error(`[unenv] ${e} is not implemented yet!`)}let $=10,G=class{__unenv__=!0;_events=Object.create(null);_maxListeners;static get defaultMaxListeners(){return $}static set defaultMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");$=e}setMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this}getMaxListeners(){return _getMaxListeners(this)}emit(e,...t){if(!this._events[e]||0===this._events[e].length)return!1;if("error"===e){let e;if(t.length>0&&(e=t[0]),e instanceof Error)throw e;const s=new Error("Unhandled error."+(e?" ("+e.message+")":""));throw s.context=e,s}for(const s of this._events[e])(s.listener||s).apply(this,t);return!0}addListener(e,t){return _addListener(this,e,t,!1)}on(e,t){return _addListener(this,e,t,!1)}prependListener(e,t){return _addListener(this,e,t,!0)}once(e,t){return this.on(e,_wrapOnce(this,e,t))}prependOnceListener(e,t){return this.prependListener(e,_wrapOnce(this,e,t))}removeListener(e,t){return function(e,t,s){if(_checkListener(s),!e._events[t]||0===e._events[t].length)return e;const o=e._events[t].length;if(e._events[t]=e._events[t].filter((e=>e!==s)),o===e._events[t].length)return e;e._events.removeListener&&e.emit("removeListener",t,s.listener||s);0===e._events[t].length&&delete e._events[t];return e}(this,e,t)}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return function(e,t){if(!e._events[t]||0===e._events[t].length)return e;if(e._events.removeListener)for(const s of e._events[t])e.emit("removeListener",t,s.listener||s);return delete e._events[t],e}(this,e)}listeners(e){return _listeners(this,e,!0)}rawListeners(e){return _listeners(this,e,!1)}listenerCount(e){return this.rawListeners(e).length}eventNames(){return Object.keys(this._events)}};function _addListener(e,t,s,o){_checkListener(s),void 0!==e._events.newListener&&e.emit("newListener",t,s.listener||s),e._events[t]||(e._events[t]=[]),o?e._events[t].unshift(s):e._events[t].push(s);const a=_getMaxListeners(e);if(a>0&&e._events[t].length>a&&!e._events[t].warned){e._events[t].warned=!0;const s=new Error(`[unenv] Possible EventEmitter memory leak detected. ${e._events[t].length} ${t} listeners added. Use emitter.setMaxListeners() to increase limit`);s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=e._events[t]?.length,console.warn(s)}return e}function _wrapOnce(e,t,s){let o=!1;const wrapper=(...a)=>{if(!o)return e.removeListener(t,wrapper),o=!0,0===a.length?s.call(e):s.apply(e,a)};return wrapper.listener=s,wrapper}function _getMaxListeners(e){return e._maxListeners??G.defaultMaxListeners}function _listeners(e,t,s){let o=e._events[t];return"function"==typeof o&&(o=[o]),s?o.map((e=>e.listener||e)):o}function _checkListener(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}const Q=globalThis.EventEmitter||G;class _Readable extends Q{__unenv__=!0;readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new _Readable(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("[unenv] Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw createNotImplementedError("Readable.asyncIterator")}iterator(e){throw createNotImplementedError("Readable.iterator")}map(e,t){throw createNotImplementedError("Readable.map")}filter(e,t){throw createNotImplementedError("Readable.filter")}forEach(e,t){throw createNotImplementedError("Readable.forEach")}reduce(e,t,s){throw createNotImplementedError("Readable.reduce")}find(e,t){throw createNotImplementedError("Readable.find")}findIndex(e,t){throw createNotImplementedError("Readable.findIndex")}some(e,t){throw createNotImplementedError("Readable.some")}toArray(e){throw createNotImplementedError("Readable.toArray")}every(e,t){throw createNotImplementedError("Readable.every")}flatMap(e,t){throw createNotImplementedError("Readable.flatMap")}drop(e,t){throw createNotImplementedError("Readable.drop")}take(e,t){throw createNotImplementedError("Readable.take")}asIndexedPairs(e){throw createNotImplementedError("Readable.asIndexedPairs")}}const J=globalThis.Readable||_Readable;const V=globalThis.Writable||class extends Q{__unenv__=!0;writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf-8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?Buffer.from(this._data,this._encoding||t||"utf8"):this._data,o="string"==typeof e?Buffer.from(e,t||this._encoding||"utf8"):e;this._data=Buffer.concat([s,o])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const o="string"==typeof t?this._encoding:"utf-8",a="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,o,a),!0}setDefaultEncoding(e){return this}end(e,t,s){const o="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return o&&o(),this;const a=e===o?void 0:e;if(a){const e=t===o?void 0:t;this.write(a,e,o)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("[h3] Method not implemented.")}},Y=class{allowHalfOpen=!0;_destroy;constructor(e=new J,t=new V){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};function getDuplex(){return Object.assign(Y.prototype,J.prototype),Object.assign(Y.prototype,V.prototype),Y}const ee=getDuplex(),te=globalThis.Duplex||ee;class Socket extends te{__unenv__=!0;bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class IncomingMessage extends J{__unenv__={};aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new Socket}get rawHeaders(){return function(e){const t=[];for(const s in e)if(Array.isArray(e[s]))for(const o of e[s])t.push(s,o);else t.push(s,e[s]);return t}(this.headers)}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return _distinct(this.headers)}get trailersDistinct(){return _distinct(this.trailers)}}function _distinct(e){const t={};for(const[s,o]of Object.entries(e))s&&(t[s]=(Array.isArray(o)?o:[o]).filter(Boolean));return t}class ServerResponse extends V{__unenv__=!0;statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const o=s||t;if(o)if(Array.isArray(o));else for(const e in o)this.setHeader(e,o[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],o=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=o.length>1?o:o[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const o=e.node.req.headers[s];t[s]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const re=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),o=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),a=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(a,`${o}://${s}`)}const se=Symbol.for("h3RawBody"),oe=Symbol.for("h3ParsedBody"),ae=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,ae);const s=e._requestBody||e.web?.request?.body||e.node.req[se]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const o=[];e.pipeTo(new WritableStream({write(e){o.push(e)},close(){t(Buffer.concat(o))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const o=[];e.on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const o=e.node.req[se]=new Promise(((t,s)=>{const o=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))}))}));return t?o.then((e=>e.toString(t))):o}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,oe))return s[oe];const o=s.headers["content-type"]||"",a=await readRawBody(e);let i;return i="application/json"===o?_parseJSON(a,t.strict??!0):o.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,o]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(o)):s[e]=o;return s}(a):o.startsWith("text/")?a:_parseJSON(a,t.strict??!1),s[oe]=i,i}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let o=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),a=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),a&&new Date(a)>=t.modifiedTime&&(o=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(o=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!o&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const ie={html:"text/html",json:"application/json"},ne=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(ne,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,o,a,i,n,c=0;const skipWhitespace=()=>{for(;c=e.length)&&t.push(e.slice(s))}return t}const ce="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{ce((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}const setHeaders=function(e,t){for(const[s,o]of Object.entries(t))e.node.res.setHeader(s,o)};function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,o)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{o(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,o]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(o)):e.node.res.setHeader(s,o);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const le=new Set(["PATCH","POST","PUT","DELETE"]),pe=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let o,a;le.has(e.method)&&(s.streamRequest?(o=function(e){if(!ae.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(se in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),a="half"):o=await readRawBody(e,!1).catch((()=>{})));const i=s.fetchOptions?.method||e.method,n=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const o=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&o.set(t,s);return o}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let o;try{o=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(o.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(o.statusText);const a=[];for(const[t,s]of o.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):a.push(...splitCookiesString(s)));a.length>0&&e.node.res.setHeader("set-cookie",a.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,o);if(void 0!==o._data)return o._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await o.arrayBuffer());return e.node.res.end(t)}if(o.body)for await(const t of o.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:i,body:o,duplex:a,...s.fetchOptions,headers:n}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),o=getRequestHeaders(e);for(const e in o)(!pe.has(e)||"host"===e&&t?.host)&&(s[e]=o[e]);return s}function fetchWithEvent(e,t,s,o){return _getFetch(o?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const o="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let a;if(s in o)a=o[s];else{if(!("*"in o))return e;a=o["*"]}return a?t+a:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(s,e);else o&&t.set(s,o);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const o=await t(e),a={body:o};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,a);return a.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const ue=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),o=ue((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return o.__resolve__=resolveHandler,o};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return ue((async o=>{o.node.req.originalUrl=o.node.req.originalUrl||o.node.req.url||"/";const a=o._path||o.node.req.url||"/";let i;t.onRequest&&await t.onRequest(o);for(const n of e){if(n.route.length>1){if(!a.startsWith(n.route))continue;i=a.slice(n.route.length)||"/"}else i=a;if(n.match&&!n.match(i,o))continue;o._path=i,o.node.req.url=i;const e=await n.handler(o),c=void 0===e?void 0:await e;if(void 0!==c){const e={body:c};return t.onBeforeResponse&&(o._onBeforeResponseCalled=!0,await t.onBeforeResponse(o,e)),await handleHandlerResponse(o,e.body,s),void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,e)))}if(o.handled)return void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0)))}if(!o.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${o.path||"/"}.`});t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0))}))}(t,e),o=function(e){return async t=>{let s;for(const o of e){if("/"===o.route&&!o.handler.__resolve__)continue;if(!t.startsWith(o.route))continue;if(s=t.slice(o.route.length)||"/",o.match&&!o.match(s,void 0))continue;let e={route:o.route,handler:o.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=o;const a=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=o,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:o}="string"==typeof s?parseURL(s):s,a=await t(o);return a?.handler?.__websocket__||{}}};var t})),i={use:(e,t,s)=>use(i,e,t,s),resolve:o,handler:s,stack:t,options:e,get websocket(){return a()}};return i}function use(e,t,s,o){if(Array.isArray(t))for(const a of t)use(e,a,s,o);else if(Array.isArray(s))for(const a of s)use(e,t,a,o);else"string"==typeof t?e.stack.push(normalizeLayer({...o,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(o=t,"undefined"!=typeof Response&&o instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var o;const a=typeof t;if("string"===a)return send(e,t,ie.html);if("object"===a||"boolean"===a||"number"===a)return send(e,JSON.stringify(t,void 0,s),ie.json);if("bigint"===a)return send(e,t.toString(),ie.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${a} as response.`})}const de=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const o=createEvent(t,s);try{await e.handler(o)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(o,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,o),o.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!o._onBeforeResponseCalled&&await e.options.onBeforeResponse(o,{body:s}),await function(e,t,s){if(e.handled)return;const o=isError(t)?t:createError$1(t),a={statusCode:o.statusCode,statusMessage:o.statusMessage,stack:[],data:o.data};if(s&&(a.stack=(o.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(o.statusCode),o.statusMessage),e.node.res.setHeader("content-type",ie.json),e.node.res.end(JSON.stringify(a,void 0,2))}(o,s,!!e.options.debug),e.options.onAfterResponse&&!o._onAfterResponseCalled&&await e.options.onAfterResponse(o,{body:s})}}}function flatHooks(e,t={},s){for(const o in e){const a=e[o],i=s?`${s}:${o}`:o;"object"==typeof a&&null!==a?flatHooks(a,t,i):"function"==typeof a&&(t[i]=a)}return t}const he={run:e=>e()},fe=void 0!==console.createTask?console.createTask:()=>he;function serialTaskCaller(e,t){const s=t.shift(),o=fe(s);return e.reduce(((e,s)=>e.then((()=>o.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),o=fe(s);return Promise.all(e.map((e=>o.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!s.allowDeprecated){let e=a.message;e||(e=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const o=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,o);const a=e(t in this._hooks?[...this._hooks[t]]:[],s);return a instanceof Promise?a.finally((()=>{this._after&&o&&callEachWith(this._after,o)})):(this._after&&o&&callEachWith(this._after,o),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const me=globalThis.Headers,ge=globalThis.AbortController,ye=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const ve=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return ve.has(e.toUpperCase())}const we=new Set(["image/svg","application/xml","application/xhtml","application/html"]),be=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,o){const a=function(e,t,s){if(!t)return new s(e);const o=new s(t);if(e)for(const[t,a]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))o.set(t,a);return o}(t?.headers??e?.headers,s?.headers,o);let i;return(s?.query||s?.params||t?.params||t?.query)&&(i={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:i,params:i,headers:a}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const _e=new Set([408,409,425,429,500,502,503,504]),Te=new Set([101,204,205,304]);function createFetch$1(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):_e.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",a=`[${s}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",n=new FetchError(`${a}: ${i}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(n,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,t,{get:()=>e.response&&e.response[s]});return n}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(a,i={}){const n={request:a,options:resolveFetchOptions(a,i,e.defaults,s),response:void 0,error:void 0};let c;if(n.options.method&&(n.options.method=n.options.method.toUpperCase()),n.options.onRequest&&await callHooks(n,n.options.onRequest),"string"==typeof n.request&&(n.options.baseURL&&(n.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(n.request,n.options.baseURL)),n.options.query&&(n.request=withQuery(n.request,n.options.query),delete n.options.query),"query"in n.options&&delete n.options.query,"params"in n.options&&delete n.options.params),n.options.body&&isPayloadMethod(n.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(n.options.body)?("pipeTo"in n.options.body&&"function"==typeof n.options.body.pipeTo||"function"==typeof n.options.body.pipe)&&("duplex"in n.options||(n.options.duplex="half")):(n.options.body="string"==typeof n.options.body?n.options.body:JSON.stringify(n.options.body),n.options.headers=new s(n.options.headers||{}),n.options.headers.has("content-type")||n.options.headers.set("content-type","application/json"),n.options.headers.has("accept")||n.options.headers.set("accept","application/json"))),!n.options.signal&&n.options.timeout){const e=new o;c=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),n.options.timeout),n.options.signal=e.signal}try{n.response=await t(n.request,n.options)}catch(e){return n.error=e,n.options.onRequestError&&await callHooks(n,n.options.onRequestError),await onError(n)}finally{c&&clearTimeout(c)}if((n.response.body||n.response._bodyInit)&&!Te.has(n.response.status)&&"HEAD"!==n.options.method){const e=(n.options.parseResponse?"json":n.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return be.test(t)?"json":we.has(t)||t.startsWith("text/")?"text":"blob"}(n.response.headers.get("content-type")||"");switch(e){case"json":{const e=await n.response.text(),t=n.options.parseResponse||destr;n.response._data=t(e);break}case"stream":n.response._data=n.response.body||n.response._bodyInit;break;default:n.response._data=await n.response[e]()}}return n.options.onResponse&&await callHooks(n,n.options.onResponse),!n.options.ignoreResponseError&&n.response.status>=400&&n.response.status<600?(n.options.onResponseError&&await callHooks(n,n.options.onResponseError),await onError(n)):n.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch$1({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const xe=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return ye;const s={keepAlive:!0},a=new t.Agent(s),i=new o.Agent(s),n={agent:e=>"http:"===e.protocol?a:i};return function(e,t){return ye(e,{...n,...t})}}(),je=globalThis.Headers||me,Re=globalThis.AbortController||ge,ke=createFetch$1({fetch:xe,Headers:je,AbortController:Re}),ze=new Set([101,204,205,304]);function hasReqHeader(e,t,s){const o=getRequestHeader(e,t);return o&&"string"==typeof o&&o.toLowerCase().includes(s)}function _captureError(e,t){console.error(`[nitro] [${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,o]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(o))t.append("set-cookie",e);else t.set(s,joinHeaders(o));return t}const errorHandler=function(t,s){const{stack:o,statusCode:a,statusMessage:i,message:n}=function(t){const s="function"==typeof e.cwd?e.cwd():"/",o=t.unhandled||t.fatal?[]:(t.stack||"").split("\n").splice(1).filter((e=>e.includes("at "))).map((e=>({text:e.replace(s+"/","./").replace("webpack:/","").replace("file://","").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")}))),a=t.statusCode||500;return{stack:o,statusCode:a,statusMessage:t.statusMessage??(404===a?"Not Found":""),message:t.unhandled?"internal server error":t.message||t.toString()}}(t),c={url:s.path||"",statusCode:a,statusMessage:i,message:n,stack:void 0};if(t.unhandled||t.fatal){const e=["[nitro]","[request error]",t.unhandled&&"[unhandled]",t.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(e,t.message+"\n"+o.map((e=>" "+e.text)).join(" \n"))}return 404===a&&setResponseHeader(s,"Cache-Control","no-cache"),setResponseStatus(s,a,i),function(e){return!hasReqHeader(e,"accept","text/html")&&(hasReqHeader(e,"accept","application/json")||hasReqHeader(e,"user-agent","curl/")||hasReqHeader(e,"user-agent","httpie/")||hasReqHeader(e,"sec-fetch-mode","cors")||e.path.startsWith("/api/")||e.path.endsWith(".json"))}(s)?(setResponseHeader(s,"Content-Type","application/json"),send(s,JSON.stringify(c))):(setResponseHeader(s,"Content-Type","text/html"),send(s,function(e){const t=e.statusCode||500,s=e.statusMessage||"Request Error";return`\n \n \n \n \n ${t} ${s}\n \n \n \n
\n \n
\n
\n

${t} ${s}

\n
\n \n ${e.message}

\n ${"\n"+(e.stack||[]).map((e=>`  ${e}`)).join("
")}\n
\n \n
\n
\n
\n \n\n`}(c)))};const Ce=[],Se={"/index.html":{type:"text/html; charset=utf-8",etag:'"39e-MpiTLuZ8d0C83MkyljvniOPbvWg"',mtime:"2025-03-03T15:27:56.502Z",size:926,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-03T15:27:56.502Z",size:5228,path:"../public/logo.png"},"/manifest.webmanifest":{type:"application/manifest+json",etag:'"2fd-zWkiHcrpBX6ARjw8dVUGeqhPPmc"',mtime:"2025-03-03T15:27:56.502Z",size:765,path:"../public/manifest.webmanifest"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-03T15:27:56.502Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-03T15:27:56.503Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-03T15:27:56.503Z",size:27635,path:"../public/pwa-512x512.png"},"/sw.js":{type:"text/javascript; charset=utf-8",etag:'"bdd-MIpMMDZT7DREcTyQLsa1fWcw6QI"',mtime:"2025-03-03T15:27:56.503Z",size:3037,path:"../public/sw.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-03T15:27:56.461Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-03T15:27:56.483Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-03T15:27:56.483Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-03T15:27:56.483Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-03T15:27:56.483Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-03T15:27:56.483Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-03T15:27:56.483Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-03T15:27:56.483Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-03T15:27:56.484Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-03T15:27:56.484Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-ge5qnFv6U+FiQDMrcNVQ109ojuM"',mtime:"2025-03-03T15:27:56.484Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-03T15:27:56.484Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"164292-JP4Z8h5sOKi+xzRojHQ6R2bDeYc"',mtime:"2025-03-03T15:27:56.490Z",size:1458834,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-03T15:27:56.494Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"70d43-mCyECSBbqulz0eM1ClNLIVsPSAw"',mtime:"2025-03-03T15:27:56.486Z",size:462147,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"17fbd3-wwo/aM2MJt3p+TzYRM3y9+0q854"',mtime:"2025-03-03T15:27:56.490Z",size:1571795,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"16419c-bR9bEUieKWXUhAsN1u1RFJhbZPU"',mtime:"2025-03-03T15:27:56.497Z",size:1458588,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-03T15:27:56.503Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"38277-xQgm5f4z1FIqVlLwGSzHex4Fw6k"',mtime:"2025-03-03T15:27:56.497Z",size:230007,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-03T15:27:56.499Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25208-LCeGOXo3/FiKrbfdZ/Bszk2IOBo"',mtime:"2025-03-03T15:27:56.500Z",size:152072,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"401fa-zqCI+Q0IrfESKbbJYhL/JcOkwvs"',mtime:"2025-03-03T15:27:56.501Z",size:262650,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"52d5c-c6nIMoLAeNB4yX3xSPePPeDpQ2o"',mtime:"2025-03-03T15:27:56.501Z",size:339292,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"11b11e-gp1pUZibogyCLGgGPUBDz6jFdTk"',mtime:"2025-03-03T15:27:56.506Z",size:1159454,path:"../public/swagger/swagger-ui.js.map"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-03T15:27:56.459Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-1d35PS9j.js":{type:"text/javascript; charset=utf-8",etag:'"13755d-83M7vSZvj4x5pZjF4Zi4zcpbDA4"',mtime:"2025-03-03T15:27:56.464Z",size:1275229,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-1d35PS9j.js"},"/assets/CodeBlocks-CllJyOW7.css":{type:"text/css; charset=utf-8",etag:'"1076-JArtrvjbLJGiR0JAUe/wj1vOaOA"',mtime:"2025-03-03T15:27:56.461Z",size:4214,path:"../public/assets/CodeBlocks-CllJyOW7.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-f7sGz4si.js":{type:"text/javascript; charset=utf-8",etag:'"277920-fDz+mUBJFwVFkkbkDbOENxiCF94"',mtime:"2025-03-03T15:27:56.465Z",size:2586912,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-f7sGz4si.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-03T15:27:56.462Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/FrameContent-DROG_k1q.js":{type:"text/javascript; charset=utf-8",etag:'"63d-s/cT+AXn3ubAyCCPcH/9mFkv0/U"',mtime:"2025-03-03T15:27:56.462Z",size:1597,path:"../public/assets/FrameContent-DROG_k1q.js"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-03T15:27:56.462Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-03T15:27:56.462Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-03T15:27:56.462Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-03T15:27:56.463Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-03T15:27:56.463Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-03T15:27:56.463Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-03T15:27:56.463Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-03T15:27:56.463Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-03T15:27:56.464Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-03T15:27:56.464Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-03T15:27:56.465Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-03T15:27:56.465Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-03T15:27:56.465Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-03T15:27:56.465Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-03T15:27:56.465Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-03T15:27:56.465Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-03T15:27:56.466Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-03T15:27:56.466Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-03T15:27:56.467Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-03T15:27:56.467Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-03T15:27:56.468Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-03T15:27:56.468Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-03T15:27:56.468Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-03T15:27:56.469Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-03T15:27:56.469Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-03T15:27:56.469Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-03T15:27:56.469Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-03T15:27:56.469Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-03T15:27:56.469Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-03T15:27:56.469Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-03T15:27:56.469Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-03T15:27:56.470Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-03T15:27:56.470Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-03T15:27:56.470Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-03T15:27:56.470Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-03T15:27:56.470Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-03T15:27:56.471Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-03T15:27:56.470Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-03T15:27:56.470Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-03T15:27:56.470Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-03T15:27:56.470Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-03T15:27:56.470Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-03T15:27:56.471Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-03T15:27:56.471Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-03T15:27:56.471Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-03T15:27:56.471Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-03T15:27:56.471Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-03T15:27:56.471Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-03T15:27:56.471Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-03T15:27:56.471Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-03T15:27:56.471Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-03T15:27:56.471Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-03T15:27:56.471Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-03T15:27:56.472Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-03T15:27:56.471Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-03T15:27:56.472Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-03T15:27:56.471Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-03T15:27:56.472Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-03T15:27:56.472Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/about-YK3VDeFz.js":{type:"text/javascript; charset=utf-8",etag:'"fb-UE0BRueoqWX3iNx4NejNP5K3QwA"',mtime:"2025-03-03T15:27:56.472Z",size:251,path:"../public/assets/about-YK3VDeFz.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-03T15:27:56.472Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-03T15:27:56.472Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-BuTbu5WZ.js":{type:"text/javascript; charset=utf-8",etag:'"e6d53-P/A9SQEmjF4uAtwjXUm81CvB/Vg"',mtime:"2025-03-03T15:27:56.474Z",size:945491,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-BuTbu5WZ.js"},"/assets/changelog-BcUnfzOM.js":{type:"text/javascript; charset=utf-8",etag:'"103-wp98uAtlBdnYjZgr4uf8fDroKss"',mtime:"2025-03-03T15:27:56.472Z",size:259,path:"../public/assets/changelog-BcUnfzOM.js"},"/assets/chat-DcH-HSRP.css":{type:"text/css; charset=utf-8",etag:'"1e6e-FUBcQFLWWcnvXlrp8pHfspng5cQ"',mtime:"2025-03-03T15:27:56.472Z",size:7790,path:"../public/assets/chat-DcH-HSRP.css"},"/assets/chat-DrFZMulf.js":{type:"text/javascript; charset=utf-8",etag:'"10b30-QA7OfMpsD1jE9CMMwZj1GD1DTMw"',mtime:"2025-03-03T15:27:56.472Z",size:68400,path:"../public/assets/chat-DrFZMulf.js"},"/assets/content-8Z-yzO7f.js":{type:"text/javascript; charset=utf-8",etag:'"2f6b-APUvYwxmJ7JOmyi8aOEaHwgcIaM"',mtime:"2025-03-03T15:27:56.472Z",size:12139,path:"../public/assets/content-8Z-yzO7f.js"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-03T15:27:56.472Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/copy-CnxdpxWZ.js":{type:"text/javascript; charset=utf-8",etag:'"4d1-K4mJSaMtlKvOt8LcA7KzNu5Nyyw"',mtime:"2025-03-03T15:27:56.472Z",size:1233,path:"../public/assets/copy-CnxdpxWZ.js"},"/assets/debounce-CXZd8izh.js":{type:"text/javascript; charset=utf-8",etag:'"5f9-nMrYkOA03foRhPYNl3CVlqIW1/Q"',mtime:"2025-03-03T15:27:56.472Z",size:1529,path:"../public/assets/debounce-CXZd8izh.js"},"/assets/delete-1-DoDQh9Jm.js":{type:"text/javascript; charset=utf-8",etag:'"57f-BTlP2jRw3bgTKsCSIH1H46QJFqg"',mtime:"2025-03-03T15:27:56.472Z",size:1407,path:"../public/assets/delete-1-DoDQh9Jm.js"},"/assets/dep-916b902f-D3i-s8FT.js":{type:"text/javascript; charset=utf-8",etag:'"ba-fUP2clvvlX/n2kp43PBFqplmRq4"',mtime:"2025-03-03T15:27:56.473Z",size:186,path:"../public/assets/dep-916b902f-D3i-s8FT.js"},"/assets/ellipsis-CQ7WPDCZ.js":{type:"text/javascript; charset=utf-8",etag:'"4cf-Gz3haJsTXe8L4mOdqlyNDHSJqM0"',mtime:"2025-03-03T15:27:56.473Z",size:1231,path:"../public/assets/ellipsis-CQ7WPDCZ.js"},"/assets/fetch-KIgDA0Rg.js":{type:"text/javascript; charset=utf-8",etag:'"dcba-toA6VfS8A0e2UiSsZ1FEtPwyD/Y"',mtime:"2025-03-03T15:27:56.473Z",size:56506,path:"../public/assets/fetch-KIgDA0Rg.js"},"/assets/flowchart-elk-definition-170a3958-CQIiermI.js":{type:"text/javascript; charset=utf-8",etag:'"15a272-hbwuOmJJrwhCVU2GAgS1e5qrhBA"',mtime:"2025-03-03T15:27:56.475Z",size:1417842,path:"../public/assets/flowchart-elk-definition-170a3958-CQIiermI.js"},"/assets/form-model-0dAsSjLK.js":{type:"text/javascript; charset=utf-8",etag:'"198ac-drR3yN0mrCH8S7RKRVrG7mjerSk"',mtime:"2025-03-03T15:27:56.474Z",size:104620,path:"../public/assets/form-model-0dAsSjLK.js"},"/assets/form-model-BANeuwVW.css":{type:"text/css; charset=utf-8",etag:'"7284-lsLg+GJWwzseSwwP2hHUaKcnKxE"',mtime:"2025-03-03T15:27:56.474Z",size:29316,path:"../public/assets/form-model-BANeuwVW.css"},"/assets/help-1kSiQ_RL.js":{type:"text/javascript; charset=utf-8",etag:'"16a-DmDl/RdLKvRiT6PKDG+EgemWIB8"',mtime:"2025-03-03T15:27:56.474Z",size:362,path:"../public/assets/help-1kSiQ_RL.js"},"/assets/index--JjAdykt.js":{type:"text/javascript; charset=utf-8",etag:'"fc21-jUg0z/eTu8fklXoH6w3JtphtS5E"',mtime:"2025-03-03T15:27:56.474Z",size:64545,path:"../public/assets/index--JjAdykt.js"},"/assets/index--Y1artyM.js":{type:"text/javascript; charset=utf-8",etag:'"327d7-sDAsqY908o4oY0Yh3kvPUKgYvh4"',mtime:"2025-03-03T15:27:56.474Z",size:206807,path:"../public/assets/index--Y1artyM.js"},"/assets/index-BDDvlAb8.js":{type:"text/javascript; charset=utf-8",etag:'"14877-xZIqksWxmhewF9zAdpzN73qxe+4"',mtime:"2025-03-03T15:27:56.475Z",size:84087,path:"../public/assets/index-BDDvlAb8.js"},"/assets/index-BVmQyWaH.js":{type:"text/javascript; charset=utf-8",etag:'"1ef-HtppwUW99UInRjoNTj0+3gznz7o"',mtime:"2025-03-03T15:27:56.475Z",size:495,path:"../public/assets/index-BVmQyWaH.js"},"/assets/index-BZuyLcM6.css":{type:"text/css; charset=utf-8",etag:'"5abd-F71nQeNFvwmJmGUrcTi/UlcPyoA"',mtime:"2025-03-03T15:27:56.475Z",size:23229,path:"../public/assets/index-BZuyLcM6.css"},"/assets/index-BbMkgi18.js":{type:"text/javascript; charset=utf-8",etag:'"1cfe-0gT2Aor0uZIm1GrQLdqxmn6n5l4"',mtime:"2025-03-03T15:27:56.475Z",size:7422,path:"../public/assets/index-BbMkgi18.js"},"/assets/index-BvFWFrGd.js":{type:"text/javascript; charset=utf-8",etag:'"1f65-ooK0nnL5ujMCMiAWgRnSzjPgFFY"',mtime:"2025-03-03T15:27:56.475Z",size:8037,path:"../public/assets/index-BvFWFrGd.js"},"/assets/index-CG8o7piy.js":{type:"text/javascript; charset=utf-8",etag:'"34df-cUkkQQAD0D2ji7ilKyTR5AmplU0"',mtime:"2025-03-03T15:27:56.475Z",size:13535,path:"../public/assets/index-CG8o7piy.js"},"/assets/index-CIhn6Q_x.css":{type:"text/css; charset=utf-8",etag:'"9b8-P1UONWHl6kEn2AWvb906snWHZoE"',mtime:"2025-03-03T15:27:56.476Z",size:2488,path:"../public/assets/index-CIhn6Q_x.css"},"/assets/index-CJdvoptp.js":{type:"text/javascript; charset=utf-8",etag:'"3875-PwJLzVFLddslQuxqp/r21oYR5Og"',mtime:"2025-03-03T15:27:56.476Z",size:14453,path:"../public/assets/index-CJdvoptp.js"},"/assets/index-CbSLuPAj.js":{type:"text/javascript; charset=utf-8",etag:'"6b4e-dxLVYDBhp96CQYgjXeX+Nws6Bos"',mtime:"2025-03-03T15:27:56.476Z",size:27470,path:"../public/assets/index-CbSLuPAj.js"},"/assets/index-Cuo7O5Im.css":{type:"text/css; charset=utf-8",etag:'"2773-YOdlR93q/PeE9UBb4W1zoIZ5Xks"',mtime:"2025-03-03T15:27:56.476Z",size:10099,path:"../public/assets/index-Cuo7O5Im.css"},"/assets/index-CzhgGujp.js":{type:"text/javascript; charset=utf-8",etag:'"94e-CqaA4FRtTGxLgtv4nbiUAtojwpg"',mtime:"2025-03-03T15:27:56.476Z",size:2382,path:"../public/assets/index-CzhgGujp.js"},"/assets/index-D5r9_V6Z.css":{type:"text/css; charset=utf-8",etag:'"39a7-BpZrCA9loP8N3qPVeCJMZIHYKIs"',mtime:"2025-03-03T15:27:56.476Z",size:14759,path:"../public/assets/index-D5r9_V6Z.css"},"/assets/index-DTZnpgd-.css":{type:"text/css; charset=utf-8",etag:'"2886-T+ai5EapV0TGaMqGcaJ8vXvFbsI"',mtime:"2025-03-03T15:27:56.476Z",size:10374,path:"../public/assets/index-DTZnpgd-.css"},"/assets/index-DU4A020a.js":{type:"text/javascript; charset=utf-8",etag:'"c14-rHBX+c38oCnv1QJWaeOWyXrfyVY"',mtime:"2025-03-03T15:27:56.476Z",size:3092,path:"../public/assets/index-DU4A020a.js"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-03T15:27:56.478Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-DcpcXD6o.css":{type:"text/css; charset=utf-8",etag:'"5c98-yLEJlCrZ0lHdgPFxD87ff4GTlvs"',mtime:"2025-03-03T15:27:56.478Z",size:23704,path:"../public/assets/index-DcpcXD6o.css"},"/assets/index-DdvxUAUv.js":{type:"text/javascript; charset=utf-8",etag:'"1bb-CoXJIs7/pQVgdUVN7LdFvOPWgyc"',mtime:"2025-03-03T15:27:56.478Z",size:443,path:"../public/assets/index-DdvxUAUv.js"},"/assets/index-L5AGF2i2.css":{type:"text/css; charset=utf-8",etag:'"2499-bNaFVwlUd2C8L7R9teUFVwsLOhQ"',mtime:"2025-03-03T15:27:56.478Z",size:9369,path:"../public/assets/index-L5AGF2i2.css"},"/assets/index-O2sZti05.js":{type:"text/javascript; charset=utf-8",etag:'"4abf-BqeRKyPVjUpZrBSq1OnhrQtDv10"',mtime:"2025-03-03T15:27:56.478Z",size:19135,path:"../public/assets/index-O2sZti05.js"},"/assets/index-XXxXkjQE.css":{type:"text/css; charset=utf-8",etag:'"b36-t1j7CTXzV5+B1tg7xAMaFq4FiR4"',mtime:"2025-03-03T15:27:56.478Z",size:2870,path:"../public/assets/index-XXxXkjQE.css"},"/assets/index-bozu1LgX.js":{type:"text/javascript; charset=utf-8",etag:'"49cd-cM+KXH1Q9c8hL4a93KQDQ32+rYA"',mtime:"2025-03-03T15:27:56.478Z",size:18893,path:"../public/assets/index-bozu1LgX.js"},"/assets/index-dIOYMMBF.css":{type:"text/css; charset=utf-8",etag:'"1e7d-LtpFiT6m/sBacwkzCaVcyUksxEw"',mtime:"2025-03-03T15:27:56.478Z",size:7805,path:"../public/assets/index-dIOYMMBF.css"},"/assets/index-gPWf5CO9.js":{type:"text/javascript; charset=utf-8",etag:'"44fd-6R8gGoSRqzUKtWq7xNW/RoCG4Ps"',mtime:"2025-03-03T15:27:56.478Z",size:17661,path:"../public/assets/index-gPWf5CO9.js"},"/assets/index-jhUbsTF-.js":{type:"text/javascript; charset=utf-8",etag:'"1cfe-R5GvhYXoQDLEPXlUpuzQVTMzgkE"',mtime:"2025-03-03T15:27:56.479Z",size:7422,path:"../public/assets/index-jhUbsTF-.js"},"/assets/index-wQ5-px18.css":{type:"text/css; charset=utf-8",etag:'"1689-sbeVf5CZYUH7aehAxe7zap3YQ5M"',mtime:"2025-03-03T15:27:56.479Z",size:5769,path:"../public/assets/index-wQ5-px18.css"},"/assets/is_dark-DIBUyPNV.js":{type:"text/javascript; charset=utf-8",etag:'"113-5P5G34zH7XU/GRZzWRShd4wAauU"',mtime:"2025-03-03T15:27:56.478Z",size:275,path:"../public/assets/is_dark-DIBUyPNV.js"},"/assets/lyihub-Bco7WNuk.css":{type:"text/css; charset=utf-8",etag:'"ff9-2rP6ed5v/1KXfaqu/haSDMy0tM0"',mtime:"2025-03-03T15:27:56.478Z",size:4089,path:"../public/assets/lyihub-Bco7WNuk.css"},"/assets/lyihub-D4Gupcg2.js":{type:"text/javascript; charset=utf-8",etag:'"41d6-HkEwfkuCre8LR7Y49eQaeXxIZnI"',mtime:"2025-03-03T15:27:56.478Z",size:16854,path:"../public/assets/lyihub-D4Gupcg2.js"},"/assets/main-BusF8KIS.css":{type:"text/css; charset=utf-8",etag:'"36c3d-pJiOGMHUTzVWFMYB7/DwJObQh7Q"',mtime:"2025-03-03T15:27:56.479Z",size:224317,path:"../public/assets/main-BusF8KIS.css"},"/assets/main-RwUy038z.js":{type:"text/javascript; charset=utf-8",etag:'"e7dfa-WYxEACNjTLTkHH7GqRzhj2Ordns"',mtime:"2025-03-03T15:27:56.480Z",size:949754,path:"../public/assets/main-RwUy038z.js"},"/assets/mindmap-definition-44684416-ra67i5gX.js":{type:"text/javascript; charset=utf-8",etag:'"824b1-OVRpro+vOiOm5ok+HMyV9fDMAqg"',mtime:"2025-03-03T15:27:56.479Z",size:533681,path:"../public/assets/mindmap-definition-44684416-ra67i5gX.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-03T15:27:56.481Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/plus-CbSi_U7S.js":{type:"text/javascript; charset=utf-8",etag:'"4c2-pQttbqkhMa0Sx7NSs9L+A9RDYn4"',mtime:"2025-03-03T15:27:56.480Z",size:1218,path:"../public/assets/plus-CbSi_U7S.js"},"/assets/prism-DAjxgBwV.js":{type:"text/javascript; charset=utf-8",etag:'"9725-t4YghtvvMP+9R5OmBFL1ah8D8VU"',mtime:"2025-03-03T15:27:56.480Z",size:38693,path:"../public/assets/prism-DAjxgBwV.js"},"/assets/refresh-r08gOvVk.js":{type:"text/javascript; charset=utf-8",etag:'"562-lVJ1nJhOnmHmtLXxiNoJl4NtKnM"',mtime:"2025-03-03T15:27:56.480Z",size:1378,path:"../public/assets/refresh-r08gOvVk.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-03T15:27:56.480Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-03T15:27:56.480Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/timeline-definition-8e5a9bc6-CVHPhl6I.js":{type:"text/javascript; charset=utf-8",etag:'"5103-QGj6SCKGmsMyyNzxX2tVk6bQD2w"',mtime:"2025-03-03T15:27:56.480Z",size:20739,path:"../public/assets/timeline-definition-8e5a9bc6-CVHPhl6I.js"},"/assets/useVirtualScrollNew-8zUkSXW4.js":{type:"text/javascript; charset=utf-8",etag:'"12a8-AupCfp5o6ItPVi65Ad8skTauCmQ"',mtime:"2025-03-03T15:27:56.481Z",size:4776,path:"../public/assets/useVirtualScrollNew-8zUkSXW4.js"},"/assets/v4-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-03T15:27:56.481Z",size:929,path:"../public/assets/v4-_R2nDvl_.js"}},Ae=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(Ae,(e=>e.toUpperCase())):e}const Be=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ee=/^[A-Za-z]:$/;const isAbsolute=function(e){return Be.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&Ee.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(c(globalThis._importMeta_.url));return i.readFile(function(...t){let s="",o=!1;for(let a=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;a>=-1&&!o;a--){const i=a>=0?t[a]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";i&&0!==i.length&&(s=`${i}/${s}`,o=isAbsolute(i))}return s=function(e,t){let s="",o=0,a=-1,i=0,n=null;for(let c=0;c<=e.length;++c){if(c2){const e=s.lastIndexOf("/");-1===e?(s="",o=0):(s=s.slice(0,e),o=s.length-1-s.lastIndexOf("/")),a=c,i=0;continue}if(s.length>0){s="",o=0,a=c,i=0;continue}}t&&(s+=s.length>0?"/..":"..",o=2)}else s.length>0?s+=`/${e.slice(a+1,c)}`:s=e.slice(a+1,c),o=c-a-1;a=c,i=0}else"."===n&&-1!==i?++i:i=-1}return s}(s,!o),o&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,Se[t].path))}const Me={};function getAsset(e){return Se[e]}const Ie=new Set(["HEAD","GET"]),Oe={gzip:".gz",br:".br"},He=[{route:"",handler:ue((e=>{if(e.method&&!Ie.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(j,"%252F"));let s;const o=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>Oe[e.trim()])).filter(Boolean).sort(),""];o.length>1&&function(e,t,s){let o=e.node.res.getHeader(t);o?(Array.isArray(o)||(o=[o.toString()]),e.node.res.setHeader(t,[...o,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of o)for(const o of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(o);if(e){s=e,t=o;break}}if(!s){if(function(e=""){if(Se[e])return!0;for(const t in Me)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const a=getRequestHeader(e,"if-modified-since"),i=new Date(s.mtime);return a&&s.mtime&&new Date(a)>=i?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",i.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}];function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Ke="base64:";function serializeRaw(e){return"string"==typeof e?e:Ke+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(Ke)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Ze=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const o of t.watchListeners)o(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const o=new Map,getBatch=e=>{let t=o.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},o.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,o=normalizeKey$2(e?s:s.key),a=e?void 0:s.value,i=e||!s.options?t:{...t,...s.options},n=getMount(o);getBatch(n).items.push({key:o,value:a,relativeKey:n.relativeKey,options:i})}return Promise.all([...o.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return o.getItemRaw?asyncCall(o.getItemRaw,s,t):asyncCall(o.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,o={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);i.setItem&&(await asyncCall(i.setItem,a,stringify(t),o),i.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,o={}){if(void 0===t)return s.removeItem(e,o);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);if(i.setItemRaw)await asyncCall(i.setItemRaw,a,t,o);else{if(!i.setItem)return;await asyncCall(i.setItem,a,serializeRaw(t),o)}i.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);o.removeItem&&(await asyncCall(o.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(o.removeItem,s+"$",t),o.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e),a=Object.create(null);if(o.getMeta&&Object.assign(a,await asyncCall(o.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(o.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(a,e))}return a},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let o=[];const a=[];for(const e of s){const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);o.some((e=>s.startsWith(e)))||a.push(s)}o=[e.mountpoint,...o.filter((t=>!t.startsWith(e.mountpoint)))]}return e?a.filter((t=>t.startsWith(e)&&"$"!==t[t.length-1])):a.filter((e=>"$"!==e[e.length-1]))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,o){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=o,t.watching&&Promise.resolve(watch(o,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,o={})=>s.setItem(e,t,o),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,o)=>t(e,s+o))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const Pe={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-03T15:24:43.264Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},Ne={getKeys:()=>Promise.resolve(Object.keys(Pe)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in Pe)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(Pe[e]?Pe[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(Pe[e]?Pe[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const o=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(o,createError),o}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(l(e)),i.writeFile(e,t,s)}function readFile(e,t){return i.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return i.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){n(e)||(await ensuredir(l(e)).catch(ignoreExists),await i.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t){if(t&&t(e))return[];const s=await readdir(e),o=[];return await Promise.all(s.map((async s=>{const a=p(e,s.name);if(s.isDirectory()){const e=await readdirRecursive(a,t);o.push(...e.map((e=>s.name+"/"+e)))}else t&&t(s.name)||o.push(s.name)}))),o}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=p(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>i.rmdir(s))):i.unlink(s)})))}const qe=/\.\.:|\.\.$/,De="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(De,"base");e.base=p(e.base);const r=t=>{if(qe.test(t))throw createError(De,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return u(e.base,t.replace(/:/g,"/"))};return{name:De,options:e,hasItem:e=>n(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:o,birthtime:a,ctime:n}=await i.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:o,birthtime:a,ctime:n}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return i.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:()=>readdirRecursive(r("."),e.ignore),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},Le=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const o of Ze)s[o]=(s="",...a)=>e[o](t+s,...a);return s.getKeys=(s="",...o)=>e.getKeys(t+s,...o).then((e=>e.map((e=>e.slice(t.length))))),s}(Le,e):Le}function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},o=t.group||"nitro/functions",a=t.name||e.name||"_",i=t.integrity||hash([e,t]),n=t.validate||(e=>void 0!==e.value);return async(...c)=>{if(await(t.shouldBypassCache?.(...c)))return e(...c);const l=await(t.getKey||getKey)(...c),p=await(t.shouldInvalidateCache?.(...c)),u=await async function(e,c,l,p){const u=[t.base,o,a,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let d=await useStorage().getItem(u).catch((e=>{console.error("[nitro] [cache] Cache read error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}))||{};if("object"!=typeof d){d={};const e=new Error("Malformed data read from cache.");console.error("[nitro] [cache]",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}const h=1e3*(t.maxAge??0);h&&(d.expires=Date.now()+h);const f=l||d.integrity!==i||h&&Date.now()-(d.mtime||0)>h||!1===n(d),m=f?(async()=>{const o=s[e];o||(void 0!==d.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(d.value=void 0,d.integrity=void 0,d.mtime=void 0,d.expires=void 0),s[e]=Promise.resolve(c()));try{d.value=await s[e]}catch(t){throw o||delete s[e],t}if(!o&&(d.mtime=Date.now(),d.integrity=i,delete s[e],!1!==n(d))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(u,d,e).catch((e=>{console.error("[nitro] [cache] Cache write error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}));p?.waitUntil&&p.waitUntil(s)}})():Promise.resolve();return void 0===d.value?await m:f&&p&&p.waitUntil&&p.waitUntil(m),t.swr&&!1!==n(d)?(m.catch((e=>{console.error("[nitro] [cache] SWR handler error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})})),d):m.then((()=>d))}(l,(()=>e(...c)),p,c[0]&&isEvent(c[0])?c[0]:void 0);let d=u.value;return t.transform&&(d=await t.transform(u,...c)||d),d}}function getKey(...e){return e.length>0?hash(e,{}):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,o)=>s in t?t[s]:Reflect.get(e,s,o),set:(e,s,o,a)=>s in t?(t[s]=o,!0):Reflect.set(e,s,o,a)})}Le.mount("/assets",Ne),Le.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"/home/runner/work/seedchat/seedchat/.data/kv"}));const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),o={...t,getKey:async e=>{const o=await(t.getKey?.(e));if(o)return escapeKey(o);const a=e.node.req.originalUrl||e.node.req.url||e.path;let i;try{i=escapeKey(decodeURI(parseURL(a).pathname)).slice(0,16)||"index"}catch{i="-"}return[`${i}.${hash(a)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},a=function(e,t={}){return defineCachedFunction(e,t)}((async a=>{const i={};for(const e of s){const t=a.node.req.headers[e];void 0!==t&&(i[e]=t)}const n=cloneWithProxy(a.node.req,{headers:i}),c={};let l;const p=createEvent(n,cloneWithProxy(a.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>c[e],setHeader(e,t){return c[e]=t,this},getHeaderNames:()=>Object.keys(c),hasHeader:e=>e in c,removeHeader(e){delete c[e]},getHeaders:()=>c,end(e,t,s){return"string"==typeof e&&(l=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(l=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));p.fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:useNitroApp().localFetch}),p.$fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:globalThis.$fetch}),p.context=a.context,p.context.cache={options:o};const u=await e(p)||l,d=p.node.res.getHeaders();d.etag=String(d.Etag||d.etag||`W/"${hash(u)}"`),d["last-modified"]=String(d["Last-Modified"]||d["last-modified"]||(new Date).toUTCString());const h=[];t.swr?(t.maxAge&&h.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?h.push(`stale-while-revalidate=${t.staleMaxAge}`):h.push("stale-while-revalidate")):t.maxAge&&h.push(`max-age=${t.maxAge}`),h.length>0&&(d["cache-control"]=h.join(", "));return{code:p.node.res.statusCode,headers:d,body:u}}),o);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const o=await a(s);if(s.node.res.headersSent||s.node.res.writableEnded)return o.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(o.headers["last-modified"]),etag:o.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=o.code;for(const e in o.headers){const t=o.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return o.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,o=Object.prototype.toString.call(e);if("[object Object]"===o){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===o){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===o?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===o?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===o?new Date(+e):"[object RegExp]"===o?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===o?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===o?e.slice(0):"Array]"===o.slice(-6)?new e.constructor(e):e}const Xe=W({}),Ue=/\d/,Fe=["-","_","/","."];function isUppercase(e=""){if(!Ue.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=Fe,s=[];if(!e||"string"!=typeof e)return s;let o,a,i="";for(const n of e){const e=t.includes(n);if(!0===e){s.push(i),i="",o=void 0;continue}const c=isUppercase(n);if(!1===a){if(!1===o&&!0===c){s.push(i),i=n,o=c;continue}if(!0===o&&!1===c&&i.length>1){const e=i.at(-1);s.push(i.slice(0,Math.max(0,i.length-1))),i=e+n,o=c;continue}}i+=n,o=c,a=e}return s.push(i),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const o=(a=t,kebabCase(a||"","_")).toUpperCase();var a;return destr(e.env[s.prefix+o]??e.env[s.altPrefix+o])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const We=/{{(.*?)}}/g;const $e={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},Ge={prefix:"NITRO_",altPrefix:$e.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:$e.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},Qe=_deepFreeze(function applyEnv(t,s,o=""){for(const a in t){const i=o?`${o}_${a}`:a,n=getEnv(i,s);_isObject(t[a])?_isObject(n)?(t[a]={...t[a],...n},applyEnv(t[a],s,i)):void 0===n?applyEnv(t[a],s,i):t[a]=n??t[a]:t[a]=n??t[a],s.envExpansion&&"string"==typeof t[a]&&(t[a]=t[a].replace(We,((t,s)=>e.env[s]||t)))}return t}(klona($e),Ge));function useRuntimeConfig(e){return Qe}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(Xe)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const Je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},Ve="__unctx__",Ye=Je[Ve]||(Je[Ve]=function(e={}){const t={};return{get:(s,o={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let o;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?o=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(o){const e=o.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,o)=>{o||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,a)=>{checkConflict(e),t=e;try{return o?o.run(e,a):a()}finally{s||(t=void 0)}},async callAsync(e,a){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;tt.add(onLeave);try{const i=o?o.run(e,a):a();return s||(t=void 0),await i}finally{tt.delete(onLeave)}}}}({...e,...o})),t[s])}}()),et="__unctx_async_handlers__",tt=Je[et]||(Je[et]=new Set);((e,t={})=>{Ye.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const rt=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return ue((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&setHeaders(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let o=t.path;const a=s.redirect._redirectStripBase;a&&(o=withoutBase(o,a)),e=joinURL(e.slice(0,-3),o)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,``,ie.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let o=s.proxy.to;if(o.endsWith("/**")){let e=t.path;const a=s.proxy._proxyStripBase;a&&(e=withoutBase(e,a)),o=joinURL(o.slice(0,-3),e)}else if(t.path.includes("?")){o=withQuery(o,getQuery$1(t.path))}return proxyRequest(t,o,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return F({},...rt.matchAll(e).reverse())}const st=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const o=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(o)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),errorHandler(e,t)),onRequest:async e=>{await st.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await st.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await st.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),o=function(e={}){const t=createRouter$1({}),s={};let o;const a={},addRoute=(e,o,i)=>{let n=s[e];if(n||(s[e]=n={path:e,handlers:{}},t.insert(e,n)),Array.isArray(i))for(const t of i)addRoute(e,o,t);else n.handlers[i]=toEventHandler(o,0,e);return a};a.use=a.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of de)a[e]=(t,s)=>a.add(t,s,e);const matchHandler=(e="/",s="get")=>{const a=e.indexOf("?");-1!==a&&(e=e.slice(0,Math.max(0,a)));const i=t.lookup(e);if(!i||!i.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let n=i.handlers[s]||i.handlers.all;if(!n){o||(o=toRouteMatcher(t));const a=o.matchAll(e).reverse();for(const e of a){if(e.handlers[s]){n=e.handlers[s],i.handlers[s]=i.handlers[s]||n;break}if(e.handlers.all){n=e.handlers.all,i.handlers.all=i.handlers.all||n;break}}}return n?{matched:i,handler:n}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},i=e.preemptive||e.preemtive;return a.handler=ue((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(i)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&i?null:e))})),a.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const o=await t.handler.__resolve__(e);if(!o)return;s={...s,...o}}return s},a}({preemptive:!0}),a=(i=toNodeListener(s),function(e){const t=new IncomingMessage,s=new ServerResponse(t);if(t.url=e.url||"/",t.method=e.method||"GET",t.headers={},e.headers){const s="function"==typeof e.headers.entries?e.headers.entries():Object.entries(e.headers);for(const[e,o]of s)o&&(t.headers[e.toLowerCase()]=o)}return t.headers.host=t.headers.host||e.host||"localhost",t.connection.encrypted=t.connection.encrypted||"https"===e.protocol,t.body=e.body||null,t.__unenv__=e.context,i(t,s).then((()=>{let e=s._data;(ze.has(s.statusCode)||"HEAD"===t.method.toUpperCase())&&(e=null,delete s._headers["content-length"]);const o={body:e,headers:s._headers,status:s.statusCode,statusText:s.statusMessage};return t.destroy(),s.destroy(),o}))});var i;const n=function(e,t=global.fetch){return async function(s,o){const a=s.toString();if(!a.startsWith("/"))return t(a,o);try{const t=await e({url:a,...o});return new Response(t.body,{status:t.status,statusText:t.statusText,headers:Object.fromEntries(Object.entries(t.headers).map((([e,t])=>[e,Array.isArray(t)?t.join(","):String(t)||""])))})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}}(a,globalThis.fetch),localFetch=(e,t)=>n(e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))),c=createFetch$1({fetch:localFetch,Headers:je,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=c,s.use(createRouteRulesHandler({localFetch:localFetch})),s.use(ue((e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:c}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})}})));for(const t of He){let a=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const o=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(o,a)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(a=cachedEventHandler(a,{group:"nitro/routes",...e.cache})),o.use(t.route,a,t.method)}}return s.use(e.app.baseURL,o.handler),{hooks:t,h3App:s,router:o,localCall:a,localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return st}!function(e){for(const t of Ce)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(st);function GracefulShutdown(s,o){o=o||{};const a=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},o);let i=!1;const n={};let c=0;const l={};let p=0,u=!1,d=!1;const h=a.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),f=function(){let e=!1;return(t,s,o)=>{function call(){if(!e)return e=!0,Reflect.apply(o,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&i||s)&&(e.destroy(),e.server instanceof t.Server?delete n[e._connectionId]:delete l[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(n)){const s=n[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(l)){const s=l[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(a.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return a.timeout,Promise.resolve(!0);return 0===Object.keys(n).length&&0===Object.keys(l).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return i?Promise.resolve():a.preShutdown(t).then((()=>{i=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(a.timeout?Math.round(a.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),a.onShutdown(t)))).then((function(){return d||(d=!0,a.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(a.finally)&&a.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw u=!0,t}))}return f(e,h,(t=>{shutdown(t).then((()=>{a.forceExit&&e.exit(u?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,i&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(i)e.destroy();else{const t=c++;e._isIdle=!0,e._connectionId=t,n[t]=e,e.once("close",(()=>{delete n[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(i)e.destroy();else{const t=p++;e._isIdle=!0,e._connectionId=t,l[t]=e,e.once("close",(()=>{delete l[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const ot=e.env.NITRO_SSL_CERT,at=e.env.NITRO_SSL_KEY,it=useNitroApp(),nt=ot&&at?new a({key:at,cert:ot},toNodeListener(it.h3App)):new s(toNodeListener(it.h3App)),ct=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,lt=e.env.NITRO_HOST||e.env.HOST,pt=e.env.NITRO_UNIX_SOCKET,ut=nt.listen(pt?{path:pt}:{port:ct,host:lt},(t=>{t&&(console.error(t),e.exit(1));const s=ot&&at?"https":"http",o=ut.address();if("string"==typeof o)return void console.log(`Listening on unix socket ${o}`);const a=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),i=`${s}://${"IPv6"===o.family?`[${o.address}]`:o.address}:${o.port}${a}`;console.log(`Listening on ${i}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const o={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};o.disabled||GracefulShutdown(t,{signals:o.signals.join(" "),timeout:o.timeout,forceExit:o.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),o.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(ut,it);const dt={};export{ke as $,re as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,dt as n,readBody as r,useRuntimeConfig as u}; +import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import o,{Server as a}from"node:https";import{promises as i,existsSync as n}from"node:fs";import{fileURLToPath as c}from"node:url";import{resolve as l,dirname as p,join as u}from"node:path";const d=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!f.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(d.test(e)||h.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const m=/#/g,g=/&/g,y=/\//g,v=/=/g,w=/\+/g,b=/%5e/gi,_=/%60/gi,T=/%7c/gi,x=/%20/gi,z=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(T,"|")).replace(w,"%2B").replace(x,"+").replace(m,"%23").replace(g,"%26").replace(_,"`").replace(b,"^").replace(y,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(v,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(w," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const o=decode(e[1].replace(w," "));if("__proto__"===o||"constructor"===o)continue;const a=decodeQueryValue(e[2]||"");void 0===t[o]?t[o]=a:Array.isArray(t[o])?t[o].push(a):t[o]=[t[o],a]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const R=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,j=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,C=/^([/\\]\s*){2,}[^/\\]/,k=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?R.test(e):j.test(e)||!!t.acceptRelative&&C.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const o=e.slice(s.length);return"/"===o[0]?o:"/"+o}function withQuery(e,t){const s=parseURL(e),o={...parseQuery(s.search),...t};return s.search=stringifyQuery(o),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"",n=e.protocol||e[S]?(e.protocol||"")+"//":"";return n+a+i+t+s+o}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(k,"");s=withTrailingSlash(s)+t}else s=e;return s}const S=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return parsePath(e);const[,o="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,n="",c=""]=i.match(/([^#/?]*)(.*)?/)||[];"file:"===o&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:p,hash:u}=parsePath(c);return{protocol:o.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:n,pathname:l,search:p,hash:u,[S]:!o}}function parsePath(e=""){const[t="",s="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:o}}const B=0,E=1,A=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const o=t.split("/"),a={};let i=!1,n=null,c=e.rootNode,l=null;for(let e=0;e1){const t=o.length-e;c=c.placeholderChildren.find((e=>e.maxDepth===t))||null}else c=c.placeholderChildren[0]||null;if(!c)break;c.paramName&&(a[c.paramName]=t),i=!0}else c=s}null!==c&&null!==c.data||null===n||(c=n,a[c.paramName||"_"]=l,i=!0);if(!c)return null;if(i)return{...c.data,params:i?a:void 0};return c.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const o=t.split("/");let a=e.rootNode;for(const e of o)if(a=a.children.get(e),!a)return s;if(a.data){const e=o.at(-1)||"";a.data=null,0===Object.keys(a.children).length&&a.parent&&(a.parent.children.delete(e),a.parent.wildcardChildNode=null,a.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let o=!0;const a=t.split("/");let i=e.rootNode,n=0;const c=[i];for(const e of a){let t;if(t=i.children.get(e))i=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:i}),i.children.set(e,t),s===A?(t.paramName="*"===e?"_"+n++:e.slice(1),i.placeholderChildren.push(t),o=!1):s===E&&(i.wildcardChildNode=t,t.paramName=e.slice(3)||"_",o=!1),c.push(t),i=t}}for(const[e,t]of c.entries())t.maxDepth=Math.max(c.length-e,t.maxDepth||0);return i.data=s,!0===o&&(e.staticRoutesMap[t]=i),i}function createRadixNode(e={}){return{type:e.type||B,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?E:":"===e[0]||"*"===e?A:B}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[s,a]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&o.push(a);for(const[s,a]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");o.push(..._matchRoutes(t,a))}const a=t.static.get(e);return a&&o.push(a),o.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==B||e.includes("*")||e.includes(":")){if(t.type===E)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===A){const o=_routerNodeToTable("",t);return t.data&&o.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),o)}}else t.data&&s.static.set(e,t.data);for(const[s,o]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),o)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",o){if(!isPlainObject(t))return _defu(e,{},s,o);const a=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const i=e[t];null!=i&&(o&&o(a,t,i,s)||(Array.isArray(i)&&Array.isArray(a[t])?a[t]=[...i,...a[t]]:isPlainObject(i)&&isPlainObject(a[t])?a[t]=_defu(i,a[t],(s?`${s}.`:"")+t.toString(),o):a[t]=i))}return a}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const M=createDefu(),I=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const o=e.node.req.headers[s];t[s]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const H=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),o=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),a=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(a,`${o}://${s}`)}const O=Symbol.for("h3RawBody"),K=Symbol.for("h3ParsedBody"),Z=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,Z);const s=e._requestBody||e.web?.request?.body||e.node.req[O]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const o=[];e.pipeTo(new WritableStream({write(e){o.push(e)},close(){t(Buffer.concat(o))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const o=[];e.on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const o=e.node.req[O]=new Promise(((t,s)=>{const o=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))}))}));return t?o.then((e=>e.toString(t))):o}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,K))return s[K];const o=s.headers["content-type"]||"",a=await readRawBody(e);let i;return i="application/json"===o?_parseJSON(a,t.strict??!0):o.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,o]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(o)):s[e]=o;return s}(a):o.startsWith("text/")?a:_parseJSON(a,t.strict??!1),s[K]=i,i}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let o=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),a=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),a&&new Date(a)>=t.modifiedTime&&(o=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(o=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!o&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const P={html:"text/html",json:"application/json"},D=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(D,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,o,a,i,n,c=0;const skipWhitespace=()=>{for(;c=e.length)&&t.push(e.slice(s))}return t}const N="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{N((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}const setHeaders=function(e,t){for(const[s,o]of Object.entries(t))e.node.res.setHeader(s,o)};function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,o)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{o(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,o]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(o)):e.node.res.setHeader(s,o);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const q=new Set(["PATCH","POST","PUT","DELETE"]),X=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let o,a;q.has(e.method)&&(s.streamRequest?(o=function(e){if(!Z.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(O in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),a="half"):o=await readRawBody(e,!1).catch((()=>{})));const i=s.fetchOptions?.method||e.method,n=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const o=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&o.set(t,s);return o}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let o;try{o=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(o.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(o.statusText);const a=[];for(const[t,s]of o.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):a.push(...splitCookiesString(s)));a.length>0&&e.node.res.setHeader("set-cookie",a.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,o);if(void 0!==o._data)return o._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await o.arrayBuffer());return e.node.res.end(t)}if(o.body)for await(const t of o.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:i,body:o,duplex:a,...s.fetchOptions,headers:n}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),o=getRequestHeaders(e);for(const e in o)(!X.has(e)||"host"===e&&t?.host)&&(s[e]=o[e]);return s}function fetchWithEvent(e,t,s,o){return _getFetch(o?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const o="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let a;if(s in o)a=o[s];else{if(!("*"in o))return e;a=o["*"]}return a?t+a:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(s,e);else o&&t.set(s,o);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const o=await t(e),a={body:o};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,a);return a.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const L=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),o=L((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return o.__resolve__=resolveHandler,o};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return L((async o=>{o.node.req.originalUrl=o.node.req.originalUrl||o.node.req.url||"/";const a=o._path||o.node.req.url||"/";let i;t.onRequest&&await t.onRequest(o);for(const n of e){if(n.route.length>1){if(!a.startsWith(n.route))continue;i=a.slice(n.route.length)||"/"}else i=a;if(n.match&&!n.match(i,o))continue;o._path=i,o.node.req.url=i;const e=await n.handler(o),c=void 0===e?void 0:await e;if(void 0!==c){const e={body:c};return t.onBeforeResponse&&(o._onBeforeResponseCalled=!0,await t.onBeforeResponse(o,e)),await handleHandlerResponse(o,e.body,s),void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,e)))}if(o.handled)return void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0)))}if(!o.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${o.path||"/"}.`});t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0))}))}(t,e),o=function(e){return async t=>{let s;for(const o of e){if("/"===o.route&&!o.handler.__resolve__)continue;if(!t.startsWith(o.route))continue;if(s=t.slice(o.route.length)||"/",o.match&&!o.match(s,void 0))continue;let e={route:o.route,handler:o.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=o;const a=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=o,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:o}="string"==typeof s?parseURL(s):s,a=await t(o);return a?.handler?.__websocket__||{}}};var t})),i={use:(e,t,s)=>use(i,e,t,s),resolve:o,handler:s,stack:t,options:e,get websocket(){return a()}};return i}function use(e,t,s,o){if(Array.isArray(t))for(const a of t)use(e,a,s,o);else if(Array.isArray(s))for(const a of s)use(e,t,a,o);else"string"==typeof t?e.stack.push(normalizeLayer({...o,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(o=t,"undefined"!=typeof Response&&o instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var o;const a=typeof t;if("string"===a)return send(e,t,P.html);if("object"===a||"boolean"===a||"number"===a)return send(e,JSON.stringify(t,void 0,s),P.json);if("bigint"===a)return send(e,t.toString(),P.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${a} as response.`})}const U=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const o=createEvent(t,s);try{await e.handler(o)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(o,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,o),o.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!o._onBeforeResponseCalled&&await e.options.onBeforeResponse(o,{body:s}),await function(e,t,s){if(e.handled)return;const o=isError(t)?t:createError$1(t),a={statusCode:o.statusCode,statusMessage:o.statusMessage,stack:[],data:o.data};if(s&&(a.stack=(o.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(o.statusCode),o.statusMessage),e.node.res.setHeader("content-type",P.json),e.node.res.end(JSON.stringify(a,void 0,2))}(o,s,!!e.options.debug),e.options.onAfterResponse&&!o._onAfterResponseCalled&&await e.options.onAfterResponse(o,{body:s})}}}function flatHooks(e,t={},s){for(const o in e){const a=e[o],i=s?`${s}:${o}`:o;"object"==typeof a&&null!==a?flatHooks(a,t,i):"function"==typeof a&&(t[i]=a)}return t}const F={run:e=>e()},W=void 0!==console.createTask?console.createTask:()=>F;function serialTaskCaller(e,t){const s=t.shift(),o=W(s);return e.reduce(((e,s)=>e.then((()=>o.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),o=W(s);return Promise.all(e.map((e=>o.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!s.allowDeprecated){let e=a.message;e||(e=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const o=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,o);const a=e(t in this._hooks?[...this._hooks[t]]:[],s);return a instanceof Promise?a.finally((()=>{this._after&&o&&callEachWith(this._after,o)})):(this._after&&o&&callEachWith(this._after,o),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const G=globalThis.Headers,$=globalThis.AbortController,J=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const Q=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return Q.has(e.toUpperCase())}const V=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Y=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,o){const a=function(e,t,s){if(!t)return new s(e);const o=new s(t);if(e)for(const[t,a]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))o.set(t,a);return o}(t?.headers??e?.headers,s?.headers,o);let i;return(s?.query||s?.params||t?.params||t?.query)&&(i={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:i,params:i,headers:a}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const ee=new Set([408,409,425,429,500,502,503,504]),te=new Set([101,204,205,304]);function createFetch$1(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):ee.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",a=`[${s}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",n=new FetchError(`${a}: ${i}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(n,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,t,{get:()=>e.response&&e.response[s]});return n}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(a,i={}){const n={request:a,options:resolveFetchOptions(a,i,e.defaults,s),response:void 0,error:void 0};let c;if(n.options.method&&(n.options.method=n.options.method.toUpperCase()),n.options.onRequest&&await callHooks(n,n.options.onRequest),"string"==typeof n.request&&(n.options.baseURL&&(n.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(n.request,n.options.baseURL)),n.options.query&&(n.request=withQuery(n.request,n.options.query),delete n.options.query),"query"in n.options&&delete n.options.query,"params"in n.options&&delete n.options.params),n.options.body&&isPayloadMethod(n.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(n.options.body)?("pipeTo"in n.options.body&&"function"==typeof n.options.body.pipeTo||"function"==typeof n.options.body.pipe)&&("duplex"in n.options||(n.options.duplex="half")):(n.options.body="string"==typeof n.options.body?n.options.body:JSON.stringify(n.options.body),n.options.headers=new s(n.options.headers||{}),n.options.headers.has("content-type")||n.options.headers.set("content-type","application/json"),n.options.headers.has("accept")||n.options.headers.set("accept","application/json"))),!n.options.signal&&n.options.timeout){const e=new o;c=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),n.options.timeout),n.options.signal=e.signal}try{n.response=await t(n.request,n.options)}catch(e){return n.error=e,n.options.onRequestError&&await callHooks(n,n.options.onRequestError),await onError(n)}finally{c&&clearTimeout(c)}if((n.response.body||n.response._bodyInit)&&!te.has(n.response.status)&&"HEAD"!==n.options.method){const e=(n.options.parseResponse?"json":n.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Y.test(t)?"json":V.has(t)||t.startsWith("text/")?"text":"blob"}(n.response.headers.get("content-type")||"");switch(e){case"json":{const e=await n.response.text(),t=n.options.parseResponse||destr;n.response._data=t(e);break}case"stream":n.response._data=n.response.body||n.response._bodyInit;break;default:n.response._data=await n.response[e]()}}return n.options.onResponse&&await callHooks(n,n.options.onResponse),!n.options.ignoreResponseError&&n.response.status>=400&&n.response.status<600?(n.options.onResponseError&&await callHooks(n,n.options.onResponseError),await onError(n)):n.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch$1({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const re=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return J;const s={keepAlive:!0},a=new t.Agent(s),i=new o.Agent(s),n={agent:e=>"http:"===e.protocol?a:i};return function(e,t){return J(e,{...n,...t})}}(),se=globalThis.Headers||G,oe=globalThis.AbortController||$,ae=createFetch$1({fetch:re,Headers:se,AbortController:oe});function createNotImplementedError(e){throw new Error(`[unenv] ${e} is not implemented yet!`)}let ie=10,ne=class{__unenv__=!0;_events=Object.create(null);_maxListeners;static get defaultMaxListeners(){return ie}static set defaultMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");ie=e}setMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this}getMaxListeners(){return _getMaxListeners(this)}emit(e,...t){if(!this._events[e]||0===this._events[e].length)return!1;if("error"===e){let e;if(t.length>0&&(e=t[0]),e instanceof Error)throw e;const s=new Error("Unhandled error."+(e?" ("+e.message+")":""));throw s.context=e,s}for(const s of this._events[e])(s.listener||s).apply(this,t);return!0}addListener(e,t){return _addListener(this,e,t,!1)}on(e,t){return _addListener(this,e,t,!1)}prependListener(e,t){return _addListener(this,e,t,!0)}once(e,t){return this.on(e,_wrapOnce(this,e,t))}prependOnceListener(e,t){return this.prependListener(e,_wrapOnce(this,e,t))}removeListener(e,t){return function(e,t,s){if(_checkListener(s),!e._events[t]||0===e._events[t].length)return e;const o=e._events[t].length;if(e._events[t]=e._events[t].filter((e=>e!==s)),o===e._events[t].length)return e;e._events.removeListener&&e.emit("removeListener",t,s.listener||s);0===e._events[t].length&&delete e._events[t];return e}(this,e,t)}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return function(e,t){if(!e._events[t]||0===e._events[t].length)return e;if(e._events.removeListener)for(const s of e._events[t])e.emit("removeListener",t,s.listener||s);return delete e._events[t],e}(this,e)}listeners(e){return _listeners(this,e,!0)}rawListeners(e){return _listeners(this,e,!1)}listenerCount(e){return this.rawListeners(e).length}eventNames(){return Object.keys(this._events)}};function _addListener(e,t,s,o){_checkListener(s),void 0!==e._events.newListener&&e.emit("newListener",t,s.listener||s),e._events[t]||(e._events[t]=[]),o?e._events[t].unshift(s):e._events[t].push(s);const a=_getMaxListeners(e);if(a>0&&e._events[t].length>a&&!e._events[t].warned){e._events[t].warned=!0;const s=new Error(`[unenv] Possible EventEmitter memory leak detected. ${e._events[t].length} ${t} listeners added. Use emitter.setMaxListeners() to increase limit`);s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=e._events[t]?.length,console.warn(s)}return e}function _wrapOnce(e,t,s){let o=!1;const wrapper=(...a)=>{if(!o)return e.removeListener(t,wrapper),o=!0,0===a.length?s.call(e):s.apply(e,a)};return wrapper.listener=s,wrapper}function _getMaxListeners(e){return e._maxListeners??ne.defaultMaxListeners}function _listeners(e,t,s){let o=e._events[t];return"function"==typeof o&&(o=[o]),s?o.map((e=>e.listener||e)):o}function _checkListener(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}const ce=globalThis.EventEmitter||ne;class _Readable extends ce{__unenv__=!0;readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new _Readable(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("[unenv] Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw createNotImplementedError("Readable.asyncIterator")}iterator(e){throw createNotImplementedError("Readable.iterator")}map(e,t){throw createNotImplementedError("Readable.map")}filter(e,t){throw createNotImplementedError("Readable.filter")}forEach(e,t){throw createNotImplementedError("Readable.forEach")}reduce(e,t,s){throw createNotImplementedError("Readable.reduce")}find(e,t){throw createNotImplementedError("Readable.find")}findIndex(e,t){throw createNotImplementedError("Readable.findIndex")}some(e,t){throw createNotImplementedError("Readable.some")}toArray(e){throw createNotImplementedError("Readable.toArray")}every(e,t){throw createNotImplementedError("Readable.every")}flatMap(e,t){throw createNotImplementedError("Readable.flatMap")}drop(e,t){throw createNotImplementedError("Readable.drop")}take(e,t){throw createNotImplementedError("Readable.take")}asIndexedPairs(e){throw createNotImplementedError("Readable.asIndexedPairs")}}const le=globalThis.Readable||_Readable;const pe=globalThis.Writable||class extends ce{__unenv__=!0;writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf-8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?Buffer.from(this._data,this._encoding||t||"utf8"):this._data,o="string"==typeof e?Buffer.from(e,t||this._encoding||"utf8"):e;this._data=Buffer.concat([s,o])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const o="string"==typeof t?this._encoding:"utf-8",a="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,o,a),!0}setDefaultEncoding(e){return this}end(e,t,s){const o="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return o&&o(),this;const a=e===o?void 0:e;if(a){const e=t===o?void 0:t;this.write(a,e,o)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("[h3] Method not implemented.")}},ue=class{allowHalfOpen=!0;_destroy;constructor(e=new le,t=new pe){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};function getDuplex(){return Object.assign(ue.prototype,le.prototype),Object.assign(ue.prototype,pe.prototype),ue}const de=getDuplex(),he=globalThis.Duplex||de;class Socket extends he{__unenv__=!0;bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class IncomingMessage extends le{__unenv__={};aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new Socket}get rawHeaders(){return function(e){const t=[];for(const s in e)if(Array.isArray(e[s]))for(const o of e[s])t.push(s,o);else t.push(s,e[s]);return t}(this.headers)}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return _distinct(this.headers)}get trailersDistinct(){return _distinct(this.trailers)}}function _distinct(e){const t={};for(const[s,o]of Object.entries(e))s&&(t[s]=(Array.isArray(o)?o:[o]).filter(Boolean));return t}class ServerResponse extends pe{__unenv__=!0;statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const o=s||t;if(o)if(Array.isArray(o));else for(const e in o)this.setHeader(e,o[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],o=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=o.length>1?o:o[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}const fe=new Set([101,204,205,304]);function hasReqHeader(e,t,s){const o=getRequestHeader(e,t);return o&&"string"==typeof o&&o.toLowerCase().includes(s)}function _captureError(e,t){console.error(`[nitro] [${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,o]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(o))t.append("set-cookie",e);else t.set(s,joinHeaders(o));return t}const errorHandler=function(t,s){const{stack:o,statusCode:a,statusMessage:i,message:n}=function(t){const s="function"==typeof e.cwd?e.cwd():"/",o=t.unhandled||t.fatal?[]:(t.stack||"").split("\n").splice(1).filter((e=>e.includes("at "))).map((e=>({text:e.replace(s+"/","./").replace("webpack:/","").replace("file://","").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")}))),a=t.statusCode||500;return{stack:o,statusCode:a,statusMessage:t.statusMessage??(404===a?"Not Found":""),message:t.unhandled?"internal server error":t.message||t.toString()}}(t),c={url:s.path||"",statusCode:a,statusMessage:i,message:n,stack:void 0};if(t.unhandled||t.fatal){const e=["[nitro]","[request error]",t.unhandled&&"[unhandled]",t.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(e,t.message+"\n"+o.map((e=>" "+e.text)).join(" \n"))}return 404===a&&setResponseHeader(s,"Cache-Control","no-cache"),setResponseStatus(s,a,i),function(e){return!hasReqHeader(e,"accept","text/html")&&(hasReqHeader(e,"accept","application/json")||hasReqHeader(e,"user-agent","curl/")||hasReqHeader(e,"user-agent","httpie/")||hasReqHeader(e,"sec-fetch-mode","cors")||e.path.startsWith("/api/")||e.path.endsWith(".json"))}(s)?(setResponseHeader(s,"Content-Type","application/json"),send(s,JSON.stringify(c))):(setResponseHeader(s,"Content-Type","text/html"),send(s,function(e){const t=e.statusCode||500,s=e.statusMessage||"Request Error";return`\n \n \n \n \n ${t} ${s}\n \n \n \n
\n \n
\n
\n

${t} ${s}

\n
\n \n ${e.message}

\n ${"\n"+(e.stack||[]).map((e=>`  ${e}`)).join("
")}\n
\n \n
\n
\n
\n \n\n`}(c)))};const me=[],ge={"/index.html":{type:"text/html; charset=utf-8",etag:'"39e-BhhhiGssOejNjET3mC4UjWtVRd8"',mtime:"2025-03-03T16:13:34.706Z",size:926,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-03T16:13:34.706Z",size:5228,path:"../public/logo.png"},"/manifest.webmanifest":{type:"application/manifest+json",etag:'"2fd-zWkiHcrpBX6ARjw8dVUGeqhPPmc"',mtime:"2025-03-03T16:13:34.706Z",size:765,path:"../public/manifest.webmanifest"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-03T16:13:34.706Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-03T16:13:34.706Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-03T16:13:34.706Z",size:27635,path:"../public/pwa-512x512.png"},"/sw.js":{type:"text/javascript; charset=utf-8",etag:'"bdd-M4aAsjZ4VRKCN1MSrtGc5fpRCzA"',mtime:"2025-03-03T16:13:34.706Z",size:3037,path:"../public/sw.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-03T16:13:34.651Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-03T16:13:34.683Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-03T16:13:34.683Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-03T16:13:34.683Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-03T16:13:34.683Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-03T16:13:34.683Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-03T16:13:34.683Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-03T16:13:34.683Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-03T16:13:34.683Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-03T16:13:34.683Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-ge5qnFv6U+FiQDMrcNVQ109ojuM"',mtime:"2025-03-03T16:13:34.683Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-03T16:13:34.683Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"164292-JP4Z8h5sOKi+xzRojHQ6R2bDeYc"',mtime:"2025-03-03T16:13:34.690Z",size:1458834,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-03T16:13:34.692Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"70d43-mCyECSBbqulz0eM1ClNLIVsPSAw"',mtime:"2025-03-03T16:13:34.686Z",size:462147,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"17fbd3-wwo/aM2MJt3p+TzYRM3y9+0q854"',mtime:"2025-03-03T16:13:34.692Z",size:1571795,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"16419c-bR9bEUieKWXUhAsN1u1RFJhbZPU"',mtime:"2025-03-03T16:13:34.699Z",size:1458588,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-03T16:13:34.706Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"38277-xQgm5f4z1FIqVlLwGSzHex4Fw6k"',mtime:"2025-03-03T16:13:34.697Z",size:230007,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-03T16:13:34.697Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25208-LCeGOXo3/FiKrbfdZ/Bszk2IOBo"',mtime:"2025-03-03T16:13:34.701Z",size:152072,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"401fa-zqCI+Q0IrfESKbbJYhL/JcOkwvs"',mtime:"2025-03-03T16:13:34.703Z",size:262650,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"52d5c-c6nIMoLAeNB4yX3xSPePPeDpQ2o"',mtime:"2025-03-03T16:13:34.704Z",size:339292,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"11b11e-gp1pUZibogyCLGgGPUBDz6jFdTk"',mtime:"2025-03-03T16:13:34.709Z",size:1159454,path:"../public/swagger/swagger-ui.js.map"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-03T16:13:34.673Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js":{type:"text/javascript; charset=utf-8",etag:'"13759c-BRmlh4Ind29Q8JfXZlrF3e3Zc6o"',mtime:"2025-03-03T16:13:34.653Z",size:1275292,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-DVar0yfR.js"},"/assets/CodeBlocks-CllJyOW7.css":{type:"text/css; charset=utf-8",etag:'"1076-JArtrvjbLJGiR0JAUe/wj1vOaOA"',mtime:"2025-03-03T16:13:34.651Z",size:4214,path:"../public/assets/CodeBlocks-CllJyOW7.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-9tJ0id2x.js":{type:"text/javascript; charset=utf-8",etag:'"271cf0-iD9hgx8JHB5MLCVhX/GGH+HDyQQ"',mtime:"2025-03-03T16:13:34.656Z",size:2563312,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-9tJ0id2x.js"},"/assets/FrameContent-C3CBdTsP.js":{type:"text/javascript; charset=utf-8",etag:'"63d-TTMqH7XHHqo1/YwlVThqSVGiPRM"',mtime:"2025-03-03T16:13:34.653Z",size:1597,path:"../public/assets/FrameContent-C3CBdTsP.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-03T16:13:34.653Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-03T16:13:34.653Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-03T16:13:34.653Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-03T16:13:34.653Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-03T16:13:34.655Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-03T16:13:34.655Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-03T16:13:34.655Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-03T16:13:34.655Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-03T16:13:34.655Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-03T16:13:34.655Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-03T16:13:34.655Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-03T16:13:34.655Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-03T16:13:34.655Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-03T16:13:34.655Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-03T16:13:34.655Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-03T16:13:34.655Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-03T16:13:34.655Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-03T16:13:34.655Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-03T16:13:34.655Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-03T16:13:34.656Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-03T16:13:34.656Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-03T16:13:34.656Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-03T16:13:34.656Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-03T16:13:34.658Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-03T16:13:34.656Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-03T16:13:34.656Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-03T16:13:34.658Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-03T16:13:34.658Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-03T16:13:34.658Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-03T16:13:34.658Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-03T16:13:34.658Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-03T16:13:34.658Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-03T16:13:34.658Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-03T16:13:34.669Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-03T16:13:34.669Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-03T16:13:34.669Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-03T16:13:34.669Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-03T16:13:34.670Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-03T16:13:34.671Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-03T16:13:34.671Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-03T16:13:34.671Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-03T16:13:34.671Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-03T16:13:34.671Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-03T16:13:34.671Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-03T16:13:34.671Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-03T16:13:34.671Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-03T16:13:34.671Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-03T16:13:34.671Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-03T16:13:34.671Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-03T16:13:34.671Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-03T16:13:34.671Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-03T16:13:34.671Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-03T16:13:34.671Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-03T16:13:34.671Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-03T16:13:34.671Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-03T16:13:34.671Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-03T16:13:34.671Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-03T16:13:34.671Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-03T16:13:34.673Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-03T16:13:34.673Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/_baseUniq-BzSlISym.js":{type:"text/javascript; charset=utf-8",etag:'"3a2-X7wDz+ug4lmAfciy0zcyj2cm4S0"',mtime:"2025-03-03T16:13:34.673Z",size:930,path:"../public/assets/_baseUniq-BzSlISym.js"},"/assets/about-DMDuK-Ha.js":{type:"text/javascript; charset=utf-8",etag:'"fb-UF3/SnNnmbdo0LyiRSc5Hi9GrXs"',mtime:"2025-03-03T16:13:34.673Z",size:251,path:"../public/assets/about-DMDuK-Ha.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-03T16:13:34.673Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-03T16:13:34.673Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-DdE7AQpe.js":{type:"text/javascript; charset=utf-8",etag:'"e6d13-eIqM20k69ER1CTVozu5na+PvxQY"',mtime:"2025-03-03T16:13:34.677Z",size:945427,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-DdE7AQpe.js"},"/assets/changelog-DnA4cV11.js":{type:"text/javascript; charset=utf-8",etag:'"103-PnxJeeZZSHb/CVskxznH+HNV1c4"',mtime:"2025-03-03T16:13:34.673Z",size:259,path:"../public/assets/changelog-DnA4cV11.js"},"/assets/chat-D0Gip4tl.js":{type:"text/javascript; charset=utf-8",etag:'"107ac-2fm6z79V07GGUxLwKDoXUzayHD0"',mtime:"2025-03-03T16:13:34.673Z",size:67500,path:"../public/assets/chat-D0Gip4tl.js"},"/assets/chat-DcH-HSRP.css":{type:"text/css; charset=utf-8",etag:'"1e6e-FUBcQFLWWcnvXlrp8pHfspng5cQ"',mtime:"2025-03-03T16:13:34.673Z",size:7790,path:"../public/assets/chat-DcH-HSRP.css"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-03T16:13:34.673Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/content-Dvvoo1_y.js":{type:"text/javascript; charset=utf-8",etag:'"2f8c-T3SrVqSoDBeW4PHHrCqN4WdlFK4"',mtime:"2025-03-03T16:13:34.673Z",size:12172,path:"../public/assets/content-Dvvoo1_y.js"},"/assets/copy-9EUn_k9V.js":{type:"text/javascript; charset=utf-8",etag:'"4d1-ssc/c8dxWkYWefjjkr+EBAkYSHY"',mtime:"2025-03-03T16:13:34.673Z",size:1233,path:"../public/assets/copy-9EUn_k9V.js"},"/assets/debounce-WA10vVqG.js":{type:"text/javascript; charset=utf-8",etag:'"5f9-S17XeOnvxvVJwnDCsCA0s/6J3ok"',mtime:"2025-03-03T16:13:34.673Z",size:1529,path:"../public/assets/debounce-WA10vVqG.js"},"/assets/delete-1-BhRi6XAg.js":{type:"text/javascript; charset=utf-8",etag:'"57f-Zb19rRms/UmXQwzrBfP2/av7ArE"',mtime:"2025-03-03T16:13:34.673Z",size:1407,path:"../public/assets/delete-1-BhRi6XAg.js"},"/assets/dep-ce162557-CrA2Ivhk.js":{type:"text/javascript; charset=utf-8",etag:'"ba-zhAkf0EnhATc1nyuyxlUlrboBOE"',mtime:"2025-03-03T16:13:34.673Z",size:186,path:"../public/assets/dep-ce162557-CrA2Ivhk.js"},"/assets/ellipsis-BIHAnGDb.js":{type:"text/javascript; charset=utf-8",etag:'"4cf-73aROUoXegoBmU5ZyLBq5sEEaJw"',mtime:"2025-03-03T16:13:34.673Z",size:1231,path:"../public/assets/ellipsis-BIHAnGDb.js"},"/assets/fetch-Bo-JsCCZ.js":{type:"text/javascript; charset=utf-8",etag:'"dcba-EXB6SM7qzFJLlcRhzuPxI0CxDlc"',mtime:"2025-03-03T16:13:34.673Z",size:56506,path:"../public/assets/fetch-Bo-JsCCZ.js"},"/assets/flowchart-elk-definition-170a3958-B0ZB_oCt.js":{type:"text/javascript; charset=utf-8",etag:'"15a2b8-1R/Vt8UYdtu9ScKbZ1qczGmQoxA"',mtime:"2025-03-03T16:13:34.677Z",size:1417912,path:"../public/assets/flowchart-elk-definition-170a3958-B0ZB_oCt.js"},"/assets/form-model-BANeuwVW.css":{type:"text/css; charset=utf-8",etag:'"7284-lsLg+GJWwzseSwwP2hHUaKcnKxE"',mtime:"2025-03-03T16:13:34.673Z",size:29316,path:"../public/assets/form-model-BANeuwVW.css"},"/assets/form-model-BLDp9DHM.js":{type:"text/javascript; charset=utf-8",etag:'"190a2-hz9bJ75776LklxMvplK/XkTFCqc"',mtime:"2025-03-03T16:13:34.673Z",size:102562,path:"../public/assets/form-model-BLDp9DHM.js"},"/assets/help-JP_yc1-F.js":{type:"text/javascript; charset=utf-8",etag:'"16a-Sa03vO1toJBnShCWUcrDbCS3ABI"',mtime:"2025-03-03T16:13:34.674Z",size:362,path:"../public/assets/help-JP_yc1-F.js"},"/assets/index-B2mXgHAg.js":{type:"text/javascript; charset=utf-8",etag:'"1452b-O6psmhtqKOWeSROXFwBcoGtkwaA"',mtime:"2025-03-03T16:13:34.675Z",size:83243,path:"../public/assets/index-B2mXgHAg.js"},"/assets/index-BZuyLcM6.css":{type:"text/css; charset=utf-8",etag:'"5abd-F71nQeNFvwmJmGUrcTi/UlcPyoA"',mtime:"2025-03-03T16:13:34.674Z",size:23229,path:"../public/assets/index-BZuyLcM6.css"},"/assets/index-BedzsCE5.js":{type:"text/javascript; charset=utf-8",etag:'"7539-6necm0acTlGEKGpXUxvIa+WeUqo"',mtime:"2025-03-03T16:13:34.675Z",size:30009,path:"../public/assets/index-BedzsCE5.js"},"/assets/index-BwQ1MMJu.js":{type:"text/javascript; charset=utf-8",etag:'"1d03-ejLISCA2STQmbMCsw22DAX/OoLc"',mtime:"2025-03-03T16:13:34.674Z",size:7427,path:"../public/assets/index-BwQ1MMJu.js"},"/assets/index-Byyp9n_m.js":{type:"text/javascript; charset=utf-8",etag:'"6cc-eP/6X8znB2XGZ0IlPCpqS36KPw4"',mtime:"2025-03-03T16:13:34.674Z",size:1740,path:"../public/assets/index-Byyp9n_m.js"},"/assets/index-C3ufAW_z.js":{type:"text/javascript; charset=utf-8",etag:'"49cd-4vLufrOo+0ja/D8ZK3Ky/AoNfso"',mtime:"2025-03-03T16:13:34.674Z",size:18893,path:"../public/assets/index-C3ufAW_z.js"},"/assets/index-CCre7QV5.js":{type:"text/javascript; charset=utf-8",etag:'"22b-lO/MHoTlW3TcFPNuYkTPdQjo1+w"',mtime:"2025-03-03T16:13:34.674Z",size:555,path:"../public/assets/index-CCre7QV5.js"},"/assets/index-CFYdJysR.js":{type:"text/javascript; charset=utf-8",etag:'"35f6-Q4mGua4MgoATNrJoJnt80mSGzXc"',mtime:"2025-03-03T16:13:34.674Z",size:13814,path:"../public/assets/index-CFYdJysR.js"},"/assets/index-CIhn6Q_x.css":{type:"text/css; charset=utf-8",etag:'"9b8-P1UONWHl6kEn2AWvb906snWHZoE"',mtime:"2025-03-03T16:13:34.675Z",size:2488,path:"../public/assets/index-CIhn6Q_x.css"},"/assets/index-CJnl5QSY.js":{type:"text/javascript; charset=utf-8",etag:'"36cf-n+lGiFyCuJD3KKyL13ZHCWrPoG4"',mtime:"2025-03-03T16:13:34.675Z",size:14031,path:"../public/assets/index-CJnl5QSY.js"},"/assets/index-CRB-lJ0Y.js":{type:"text/javascript; charset=utf-8",etag:'"1d1d-kKlhRgdYTqDSkfJ1yGChDJGP6og"',mtime:"2025-03-03T16:13:34.675Z",size:7453,path:"../public/assets/index-CRB-lJ0Y.js"},"/assets/index-Cuo7O5Im.css":{type:"text/css; charset=utf-8",etag:'"2773-YOdlR93q/PeE9UBb4W1zoIZ5Xks"',mtime:"2025-03-03T16:13:34.675Z",size:10099,path:"../public/assets/index-Cuo7O5Im.css"},"/assets/index-CvytZgRe.js":{type:"text/javascript; charset=utf-8",etag:'"419c-TRViXuihTyhdvEsuxmXShYmnvs8"',mtime:"2025-03-03T16:13:34.675Z",size:16796,path:"../public/assets/index-CvytZgRe.js"},"/assets/index-D5r9_V6Z.css":{type:"text/css; charset=utf-8",etag:'"39a7-BpZrCA9loP8N3qPVeCJMZIHYKIs"',mtime:"2025-03-03T16:13:34.675Z",size:14759,path:"../public/assets/index-D5r9_V6Z.css"},"/assets/index-D7HiXLzr.js":{type:"text/javascript; charset=utf-8",etag:'"1bb-2f1D78iDWJi558vaJpwh8MxwkHU"',mtime:"2025-03-03T16:13:34.675Z",size:443,path:"../public/assets/index-D7HiXLzr.js"},"/assets/index-DPC5zPC7.js":{type:"text/javascript; charset=utf-8",etag:'"3251c-LOqX2zIt6yW5ZHpoX21Yksj/eOA"',mtime:"2025-03-03T16:13:34.675Z",size:206108,path:"../public/assets/index-DPC5zPC7.js"},"/assets/index-DTZnpgd-.css":{type:"text/css; charset=utf-8",etag:'"2886-T+ai5EapV0TGaMqGcaJ8vXvFbsI"',mtime:"2025-03-03T16:13:34.675Z",size:10374,path:"../public/assets/index-DTZnpgd-.css"},"/assets/index-DUUaDU4G.js":{type:"text/javascript; charset=utf-8",etag:'"1a3b-N2YIKMZwGULEINkQsHrLptvJ7/U"',mtime:"2025-03-03T16:13:34.675Z",size:6715,path:"../public/assets/index-DUUaDU4G.js"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-03T16:13:34.675Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-DcpcXD6o.css":{type:"text/css; charset=utf-8",etag:'"5c98-yLEJlCrZ0lHdgPFxD87ff4GTlvs"',mtime:"2025-03-03T16:13:34.675Z",size:23704,path:"../public/assets/index-DcpcXD6o.css"},"/assets/index-DukuSIun.js":{type:"text/javascript; charset=utf-8",etag:'"4ab5-LM4bx3NazsqYDSuRkYyslzJ7JoM"',mtime:"2025-03-03T16:13:34.676Z",size:19125,path:"../public/assets/index-DukuSIun.js"},"/assets/index-DyW5rTPt.js":{type:"text/javascript; charset=utf-8",etag:'"fb8f-dTJUcskCfH1M63gwLPyrrBbJUzo"',mtime:"2025-03-03T16:13:34.676Z",size:64399,path:"../public/assets/index-DyW5rTPt.js"},"/assets/index-L5AGF2i2.css":{type:"text/css; charset=utf-8",etag:'"2499-bNaFVwlUd2C8L7R9teUFVwsLOhQ"',mtime:"2025-03-03T16:13:34.676Z",size:9369,path:"../public/assets/index-L5AGF2i2.css"},"/assets/index-SIXMlozy.js":{type:"text/javascript; charset=utf-8",etag:'"981-D+35eumpO3ZbWUxAKQbzlFA+21M"',mtime:"2025-03-03T16:13:34.676Z",size:2433,path:"../public/assets/index-SIXMlozy.js"},"/assets/index-XXxXkjQE.css":{type:"text/css; charset=utf-8",etag:'"b36-t1j7CTXzV5+B1tg7xAMaFq4FiR4"',mtime:"2025-03-03T16:13:34.676Z",size:2870,path:"../public/assets/index-XXxXkjQE.css"},"/assets/index-dIOYMMBF.css":{type:"text/css; charset=utf-8",etag:'"1e7d-LtpFiT6m/sBacwkzCaVcyUksxEw"',mtime:"2025-03-03T16:13:34.676Z",size:7805,path:"../public/assets/index-dIOYMMBF.css"},"/assets/index-wQ5-px18.css":{type:"text/css; charset=utf-8",etag:'"1689-sbeVf5CZYUH7aehAxe7zap3YQ5M"',mtime:"2025-03-03T16:13:34.676Z",size:5769,path:"../public/assets/index-wQ5-px18.css"},"/assets/is_dark-CqRHLrEG.js":{type:"text/javascript; charset=utf-8",etag:'"113-YXtaLkyXyC/RZaxPLyMNtmBiKGg"',mtime:"2025-03-03T16:13:34.676Z",size:275,path:"../public/assets/is_dark-CqRHLrEG.js"},"/assets/lyihub-Bco7WNuk.css":{type:"text/css; charset=utf-8",etag:'"ff9-2rP6ed5v/1KXfaqu/haSDMy0tM0"',mtime:"2025-03-03T16:13:34.676Z",size:4089,path:"../public/assets/lyihub-Bco7WNuk.css"},"/assets/lyihub-_drmsDdO.js":{type:"text/javascript; charset=utf-8",etag:'"3f40-rjbGNZoyHAvAKiv+A3DCbJeVbYk"',mtime:"2025-03-03T16:13:34.676Z",size:16192,path:"../public/assets/lyihub-_drmsDdO.js"},"/assets/main-B1VD2nmz.js":{type:"text/javascript; charset=utf-8",etag:'"e6f45-vPREZUqriwlHxZog7wUCWdVrwx0"',mtime:"2025-03-03T16:13:34.678Z",size:945989,path:"../public/assets/main-B1VD2nmz.js"},"/assets/main-CowyuxuO.css":{type:"text/css; charset=utf-8",etag:'"36c66-PNWFKvz92l6svzJ4ZiWoGYtT298"',mtime:"2025-03-03T16:13:34.677Z",size:224358,path:"../public/assets/main-CowyuxuO.css"},"/assets/mindmap-definition-44684416-B2WUz8vp.js":{type:"text/javascript; charset=utf-8",etag:'"83d53-l24vMSmfJtetWKsPjvsUKDY4BEc"',mtime:"2025-03-03T16:13:34.679Z",size:539987,path:"../public/assets/mindmap-definition-44684416-B2WUz8vp.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-03T16:13:34.679Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/plus-DOeSBjmV.js":{type:"text/javascript; charset=utf-8",etag:'"4c2-gG2LjlWBRGduyzojGGCulvIFpp0"',mtime:"2025-03-03T16:13:34.679Z",size:1218,path:"../public/assets/plus-DOeSBjmV.js"},"/assets/prism-BU-d67Cy.js":{type:"text/javascript; charset=utf-8",etag:'"9725-70XW+XuOXPYf1tgmOnY4jMqMEzY"',mtime:"2025-03-03T16:13:34.679Z",size:38693,path:"../public/assets/prism-BU-d67Cy.js"},"/assets/refresh-D9v5zr8e.js":{type:"text/javascript; charset=utf-8",etag:'"562-QleYw5CB9BPMJrV4iLsjbFC5z8I"',mtime:"2025-03-03T16:13:34.679Z",size:1378,path:"../public/assets/refresh-D9v5zr8e.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-03T16:13:34.679Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-03T16:13:34.680Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/timeline-definition-8e5a9bc6-FFyHfRDF.js":{type:"text/javascript; charset=utf-8",etag:'"513f-XcPQK/mM+JHmTpve/ot5d4mZQAE"',mtime:"2025-03-03T16:13:34.680Z",size:20799,path:"../public/assets/timeline-definition-8e5a9bc6-FFyHfRDF.js"},"/assets/useVirtualScrollNew-CLt-B2P6.js":{type:"text/javascript; charset=utf-8",etag:'"1178-IUjyefYoOFYYYyjRTcREe1S8114"',mtime:"2025-03-03T16:13:34.680Z",size:4472,path:"../public/assets/useVirtualScrollNew-CLt-B2P6.js"},"/assets/v4-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-03T16:13:34.680Z",size:929,path:"../public/assets/v4-_R2nDvl_.js"}},ye=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(ye,(e=>e.toUpperCase())):e}const ve=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,we=/^[A-Za-z]:$/;const isAbsolute=function(e){return ve.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&we.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(c(globalThis._importMeta_.url));return i.readFile(function(...t){let s="",o=!1;for(let a=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;a>=-1&&!o;a--){const i=a>=0?t[a]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";i&&0!==i.length&&(s=`${i}/${s}`,o=isAbsolute(i))}return s=function(e,t){let s="",o=0,a=-1,i=0,n=null;for(let c=0;c<=e.length;++c){if(c2){const e=s.lastIndexOf("/");-1===e?(s="",o=0):(s=s.slice(0,e),o=s.length-1-s.lastIndexOf("/")),a=c,i=0;continue}if(s.length>0){s="",o=0,a=c,i=0;continue}}t&&(s+=s.length>0?"/..":"..",o=2)}else s.length>0?s+=`/${e.slice(a+1,c)}`:s=e.slice(a+1,c),o=c-a-1;a=c,i=0}else"."===n&&-1!==i?++i:i=-1}return s}(s,!o),o&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,ge[t].path))}const be={};function getAsset(e){return ge[e]}const _e=new Set(["HEAD","GET"]),Te={gzip:".gz",br:".br"},xe=[{route:"",handler:L((e=>{if(e.method&&!_e.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(z,"%252F"));let s;const o=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>Te[e.trim()])).filter(Boolean).sort(),""];o.length>1&&function(e,t,s){let o=e.node.res.getHeader(t);o?(Array.isArray(o)||(o=[o.toString()]),e.node.res.setHeader(t,[...o,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of o)for(const o of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(o);if(e){s=e,t=o;break}}if(!s){if(function(e=""){if(ge[e])return!0;for(const t in be)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const a=getRequestHeader(e,"if-modified-since"),i=new Date(s.mtime);return a&&s.mtime&&new Date(a)>=i?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",i.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}],ze=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function objectHash(e,t){const s=createHasher(t=t?{...ze,...t}:ze);return s.dispatch(e),s.toString()}const Re=Object.freeze(["prototype","__proto__","constructor"]);function createHasher(e){let t="",s=new Map;const write=e=>{t+=e};return{toString:()=>t,getContext:()=>s,dispatch(t){e.replacer&&(t=e.replacer(t));return this[null===t?"null":typeof t](t)},object(t){if(t&&"function"==typeof t.toJSON)return this.object(t.toJSON());const o=Object.prototype.toString.call(t);let a="";const i=o.length;a=i<10?"unknown:["+o+"]":o.slice(8,i-1),a=a.toLowerCase();let n=null;if(void 0!==(n=s.get(t)))return this.dispatch("[CIRCULAR:"+n+"]");if(s.set(t,s.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return write("buffer:"),write(t.toString("utf8"));if("object"!==a&&"function"!==a&&"asyncfunction"!==a)this[a]?this[a](t):e.ignoreUnknown||this.unkown(t,a);else{let s=Object.keys(t);e.unorderedObjects&&(s=s.sort());let o=[];!1===e.respectType||isNativeFunction(t)||(o=Re),e.excludeKeys&&(s=s.filter((t=>!e.excludeKeys(t))),o=o.filter((t=>!e.excludeKeys(t)))),write("object:"+(s.length+o.length)+":");const dispatchForKey=s=>{this.dispatch(s),write(":"),e.excludeValues||this.dispatch(t[s]),write(",")};for(const e of s)dispatchForKey(e);for(const e of o)dispatchForKey(e)}},array(t,o){if(o=void 0===o?!1!==e.unorderedArrays:o,write("array:"+t.length+":"),!o||t.length<=1){for(const e of t)this.dispatch(e);return}const a=new Map,i=t.map((t=>{const s=createHasher(e);s.dispatch(t);for(const[e,t]of s.getContext())a.set(e,t);return s.toString()}));return s=a,i.sort(),this.array(i,!1)},date:e=>write("date:"+e.toJSON()),symbol:e=>write("symbol:"+e.toString()),unkown(e,t){if(write(t),e)return write(":"),e&&"function"==typeof e.entries?this.array(Array.from(e.entries()),!0):void 0},error:e=>write("error:"+e.toString()),boolean:e=>write("bool:"+e),string(e){write("string:"+e.length+":"),write(e)},function(t){write("fn:"),isNativeFunction(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this.object(t)},number:e=>write("number:"+e),xml:e=>write("xml:"+e.toString()),null:()=>write("Null"),undefined:()=>write("Undefined"),regexp:e=>write("regex:"+e.toString()),uint8array(e){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},uint8clampedarray(e){return write("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},int8array(e){return write("int8array:"),this.dispatch(Array.prototype.slice.call(e))},uint16array(e){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},int16array(e){return write("int16array:"),this.dispatch(Array.prototype.slice.call(e))},uint32array(e){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},int32array(e){return write("int32array:"),this.dispatch(Array.prototype.slice.call(e))},float32array(e){return write("float32array:"),this.dispatch(Array.prototype.slice.call(e))},float64array(e){return write("float64array:"),this.dispatch(Array.prototype.slice.call(e))},arraybuffer(e){return write("arraybuffer:"),this.dispatch(new Uint8Array(e))},url:e=>write("url:"+e.toString()),map(t){write("map:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},set(t){write("set:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},file(e){return write("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},blob(){if(e.ignoreUnknown)return write("[blob]");throw new Error('Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n')},domwindow:()=>write("domwindow"),bigint:e=>write("bigint:"+e.toString()),process:()=>write("process"),timer:()=>write("timer"),pipe:()=>write("pipe"),tcp:()=>write("tcp"),udp:()=>write("udp"),tty:()=>write("tty"),statwatcher:()=>write("statwatcher"),securecontext:()=>write("securecontext"),connection:()=>write("connection"),zlib:()=>write("zlib"),context:()=>write("context"),nodescript:()=>write("nodescript"),httpparser:()=>write("httpparser"),dataview:()=>write("dataview"),signal:()=>write("signal"),fsevent:()=>write("fsevent"),tlswrap:()=>write("tlswrap")}}const je="[native code] }",Ce=je.length;function isNativeFunction(e){return"function"==typeof e&&Function.prototype.toString.call(e).slice(-Ce)===je}class WordArray{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=void 0===t?4*e.length:t}toString(e){return(e||ke).stringify(this)}concat(e){if(this.clamp(),this.sigBytes%4)for(let t=0;t>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=s<<24-(this.sigBytes+t)%4*8}else for(let t=0;t>>2]=e.words[t>>>2];return this.sigBytes+=e.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new WordArray([...this.words])}}const ke={stringify(e){const t=[];for(let s=0;s>>2]>>>24-s%4*8&255;t.push((o>>>4).toString(16),(15&o).toString(16))}return t.join("")}},Se={stringify(e){const t=[];for(let s=0;s>>2]>>>24-s%4*8&255)<<16|(e.words[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e.words[s+2>>>2]>>>24-(s+2)%4*8&255;for(let a=0;a<4&&8*s+6*a<8*e.sigBytes;a++)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o>>>6*(3-a)&63))}return t.join("")}},Be={parse(e){const t=e.length,s=[];for(let o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new WordArray(s,t)}},Ee={parse:e=>Be.parse(unescape(encodeURIComponent(e)))};class BufferedBlockAlgorithm{_data=new WordArray;_nDataBytes=0;_minBufferSize=0;blockSize=16;reset(){this._data=new WordArray,this._nDataBytes=0}_append(e){"string"==typeof e&&(e=Ee.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_doProcessBlock(e,t){}_process(e){let t,s=this._data.sigBytes/(4*this.blockSize);s=e?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0);const o=s*this.blockSize,a=Math.min(4*o,this._data.sigBytes);if(o){for(let e=0;e>>7)^(e<<14|e>>>18)^e>>>3,o=Ie[s-2],a=(o<<15|o>>>17)^(o<<13|o>>>19)^o>>>10;Ie[s]=t+Ie[s-7]+a+Ie[s-16]}const d=o&a^o&i^a&i,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),f=u+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&p)+Me[s]+Ie[s];u=p,p=l,l=c,c=n+f|0,n=i,i=a,a=o,o=f+(h+d)|0}s[0]=s[0]+o|0,s[1]=s[1]+a|0,s[2]=s[2]+i|0,s[3]=s[3]+n|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+p|0,s[7]=s[7]+u|0}finalize(e){super.finalize(e);const t=8*this._nDataBytes,s=8*this._data.sigBytes;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[14+(s+64>>>9<<4)]=Math.floor(t/4294967296),this._data.words[15+(s+64>>>9<<4)]=t,this._data.sigBytes=4*this._data.words.length,this._process(),this._hash}}function hash(e,t={}){const s="string"==typeof e?e:objectHash(e,t);return(o=s,(new SHA256).finalize(o).toString(Se)).slice(0,10);var o}function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const He="base64:";function serializeRaw(e){return"string"==typeof e?e:He+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(He)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Oe=["has","hasItem","get","getItem","getItemRaw","set","setItem","setItemRaw","del","remove","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const o of t.watchListeners)o(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const o=new Map,getBatch=e=>{let t=o.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},o.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,o=normalizeKey$2(e?s:s.key),a=e?void 0:s.value,i=e||!s.options?t:{...t,...s.options},n=getMount(o);getBatch(n).items.push({key:o,value:a,relativeKey:n.relativeKey,options:i})}return Promise.all([...o.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return o.getItemRaw?asyncCall(o.getItemRaw,s,t):asyncCall(o.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,o={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);i.setItem&&(await asyncCall(i.setItem,a,stringify(t),o),i.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,o={}){if(void 0===t)return s.removeItem(e,o);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);if(i.setItemRaw)await asyncCall(i.setItemRaw,a,t,o);else{if(!i.setItem)return;await asyncCall(i.setItem,a,serializeRaw(t),o)}i.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);o.removeItem&&(await asyncCall(o.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(o.removeItem,s+"$",t),o.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e),a=Object.create(null);if(o.getMeta&&Object.assign(a,await asyncCall(o.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(o.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(a,e))}return a},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let o=[];const a=[];let i=!0;for(const e of s){e.driver.flags?.maxDepth||(i=!1);const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);o.some((e=>s.startsWith(e)))||a.push(s)}o=[e.mountpoint,...o.filter((t=>!t.startsWith(e.mountpoint)))]}const n=void 0!==t.maxDepth&&!i;return a.filter((s=>(!n||function(e,t){if(void 0===t)return!0;let s=0,o=e.indexOf(":");for(;o>-1;)s++,o=e.indexOf(":",o+1);return s<=t}(s,t.maxDepth))&&function(e,t){return t?e.startsWith(t)&&"$"!==e[e.length-1]:"$"!==e[e.length-1]}(s,e)))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,o){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=o,t.watching&&Promise.resolve(watch(o,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,o={})=>s.setItem(e,t,o),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,o)=>t(e,s+o))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const Ke={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-03T16:10:19.498Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},Ze={getKeys:()=>Promise.resolve(Object.keys(Ke)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in Ke)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(Ke[e]?Ke[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(Ke[e]?Ke[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const o=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(o,createError),o}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(p(e)),i.writeFile(e,t,s)}function readFile(e,t){return i.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return i.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){n(e)||(await ensuredir(p(e)).catch(ignoreExists),await i.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t,s){if(t&&t(e))return[];const o=await readdir(e),a=[];return await Promise.all(o.map((async o=>{const i=l(e,o.name);if(o.isDirectory()){if(void 0===s||s>0){const e=await readdirRecursive(i,t,void 0===s?void 0:s-1);a.push(...e.map((e=>o.name+"/"+e)))}}else t&&t(o.name)||a.push(o.name)}))),a}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=l(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>i.rmdir(s))):i.unlink(s)})))}const Pe=/\.\.:|\.\.$/,De="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(De,"base");e.base=l(e.base);const r=t=>{if(Pe.test(t))throw createError(De,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return u(e.base,t.replace(/:/g,"/"))};return{name:De,options:e,flags:{maxDepth:!0},hasItem:e=>n(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:o,birthtime:a,ctime:n}=await i.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:o,birthtime:a,ctime:n}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return i.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:(t,s)=>readdirRecursive(r("."),e.ignore,s?.maxDepth),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},Ne=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const o of Oe)s[o]=(s="",...a)=>e[o](t+s,...a);return s.getKeys=(s="",...o)=>e.getKeys(t+s,...o).then((e=>e.map((e=>e.slice(t.length))))),s}(Ne,e):Ne}function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},o=t.group||"nitro/functions",a=t.name||e.name||"_",i=t.integrity||hash([e,t]),n=t.validate||(e=>void 0!==e.value);return async(...c)=>{if(await(t.shouldBypassCache?.(...c)))return e(...c);const l=await(t.getKey||getKey)(...c),p=await(t.shouldInvalidateCache?.(...c)),u=await async function(e,c,l,p){const u=[t.base,o,a,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let d=await useStorage().getItem(u).catch((e=>{console.error("[nitro] [cache] Cache read error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}))||{};if("object"!=typeof d){d={};const e=new Error("Malformed data read from cache.");console.error("[nitro] [cache]",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}const h=1e3*(t.maxAge??0);h&&(d.expires=Date.now()+h);const f=l||d.integrity!==i||h&&Date.now()-(d.mtime||0)>h||!1===n(d),m=f?(async()=>{const o=s[e];o||(void 0!==d.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(d.value=void 0,d.integrity=void 0,d.mtime=void 0,d.expires=void 0),s[e]=Promise.resolve(c()));try{d.value=await s[e]}catch(t){throw o||delete s[e],t}if(!o&&(d.mtime=Date.now(),d.integrity=i,delete s[e],!1!==n(d))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(u,d,e).catch((e=>{console.error("[nitro] [cache] Cache write error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}));p?.waitUntil&&p.waitUntil(s)}})():Promise.resolve();return void 0===d.value?await m:f&&p&&p.waitUntil&&p.waitUntil(m),t.swr&&!1!==n(d)?(m.catch((e=>{console.error("[nitro] [cache] SWR handler error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})})),d):m.then((()=>d))}(l,(()=>e(...c)),p,c[0]&&isEvent(c[0])?c[0]:void 0);let d=u.value;return t.transform&&(d=await t.transform(u,...c)||d),d}}function getKey(...e){return e.length>0?hash(e,{}):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,o)=>s in t?t[s]:Reflect.get(e,s,o),set:(e,s,o,a)=>s in t?(t[s]=o,!0):Reflect.set(e,s,o,a)})}Ne.mount("/assets",Ze),Ne.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"/home/runner/work/seedchat/seedchat/.data/kv"}));const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),o={...t,getKey:async e=>{const o=await(t.getKey?.(e));if(o)return escapeKey(o);const a=e.node.req.originalUrl||e.node.req.url||e.path;let i;try{i=escapeKey(decodeURI(parseURL(a).pathname)).slice(0,16)||"index"}catch{i="-"}return[`${i}.${hash(a)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},a=function(e,t={}){return defineCachedFunction(e,t)}((async a=>{const i={};for(const e of s){const t=a.node.req.headers[e];void 0!==t&&(i[e]=t)}const n=cloneWithProxy(a.node.req,{headers:i}),c={};let l;const p=createEvent(n,cloneWithProxy(a.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>c[e],setHeader(e,t){return c[e]=t,this},getHeaderNames:()=>Object.keys(c),hasHeader:e=>e in c,removeHeader(e){delete c[e]},getHeaders:()=>c,end(e,t,s){return"string"==typeof e&&(l=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(l=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));p.fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:useNitroApp().localFetch}),p.$fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:globalThis.$fetch}),p.context=a.context,p.context.cache={options:o};const u=await e(p)||l,d=p.node.res.getHeaders();d.etag=String(d.Etag||d.etag||`W/"${hash(u)}"`),d["last-modified"]=String(d["Last-Modified"]||d["last-modified"]||(new Date).toUTCString());const h=[];t.swr?(t.maxAge&&h.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?h.push(`stale-while-revalidate=${t.staleMaxAge}`):h.push("stale-while-revalidate")):t.maxAge&&h.push(`max-age=${t.maxAge}`),h.length>0&&(d["cache-control"]=h.join(", "));return{code:p.node.res.statusCode,headers:d,body:u}}),o);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const o=await a(s);if(s.node.res.headersSent||s.node.res.writableEnded)return o.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(o.headers["last-modified"]),etag:o.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=o.code;for(const e in o.headers){const t=o.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return o.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,o=Object.prototype.toString.call(e);if("[object Object]"===o){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===o){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===o?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===o?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===o?new Date(+e):"[object RegExp]"===o?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===o?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===o?e.slice(0):"Array]"===o.slice(-6)?new e.constructor(e):e}const qe=I({}),Xe=/\d/,Le=["-","_","/","."];function isUppercase(e=""){if(!Xe.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=Le,s=[];if(!e||"string"!=typeof e)return s;let o,a,i="";for(const n of e){const e=t.includes(n);if(!0===e){s.push(i),i="",o=void 0;continue}const c=isUppercase(n);if(!1===a){if(!1===o&&!0===c){s.push(i),i=n,o=c;continue}if(!0===o&&!1===c&&i.length>1){const e=i.at(-1);s.push(i.slice(0,Math.max(0,i.length-1))),i=e+n,o=c;continue}}i+=n,o=c,a=e}return s.push(i),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const o=(a=t,kebabCase(a||"","_")).toUpperCase();var a;return destr(e.env[s.prefix+o]??e.env[s.altPrefix+o])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const Ue=/{{(.*?)}}/g;const Fe={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},We={prefix:"NITRO_",altPrefix:Fe.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:Fe.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},Ge=_deepFreeze(function applyEnv(t,s,o=""){for(const a in t){const i=o?`${o}_${a}`:a,n=getEnv(i,s);_isObject(t[a])?_isObject(n)?(t[a]={...t[a],...n},applyEnv(t[a],s,i)):void 0===n?applyEnv(t[a],s,i):t[a]=n??t[a]:t[a]=n??t[a],s.envExpansion&&"string"==typeof t[a]&&(t[a]=t[a].replace(Ue,((t,s)=>e.env[s]||t)))}return t}(klona(Fe),We));function useRuntimeConfig(e){return Ge}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(qe)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const $e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},Je="__unctx__",Qe=$e[Je]||($e[Je]=function(e={}){const t={};return{get:(s,o={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let o;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?o=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(o){const e=o.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,o)=>{o||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,a)=>{checkConflict(e),t=e;try{return o?o.run(e,a):a()}finally{s||(t=void 0)}},async callAsync(e,a){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;Ye.add(onLeave);try{const i=o?o.run(e,a):a();return s||(t=void 0),await i}finally{Ye.delete(onLeave)}}}}({...e,...o})),t[s])}}()),Ve="__unctx_async_handlers__",Ye=$e[Ve]||($e[Ve]=new Set);((e,t={})=>{Qe.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const et=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return L((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&setHeaders(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let o=t.path;const a=s.redirect._redirectStripBase;a&&(o=withoutBase(o,a)),e=joinURL(e.slice(0,-3),o)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,``,P.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let o=s.proxy.to;if(o.endsWith("/**")){let e=t.path;const a=s.proxy._proxyStripBase;a&&(e=withoutBase(e,a)),o=joinURL(o.slice(0,-3),e)}else if(t.path.includes("?")){o=withQuery(o,getQuery$1(t.path))}return proxyRequest(t,o,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return M({},...et.matchAll(e).reverse())}const tt=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const o=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(o)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),errorHandler(e,t)),onRequest:async e=>{await tt.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await tt.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await tt.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),o=function(e={}){const t=createRouter$1({}),s={};let o;const a={},addRoute=(e,o,i)=>{let n=s[e];if(n||(s[e]=n={path:e,handlers:{}},t.insert(e,n)),Array.isArray(i))for(const t of i)addRoute(e,o,t);else n.handlers[i]=toEventHandler(o,0,e);return a};a.use=a.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of U)a[e]=(t,s)=>a.add(t,s,e);const matchHandler=(e="/",s="get")=>{const a=e.indexOf("?");-1!==a&&(e=e.slice(0,Math.max(0,a)));const i=t.lookup(e);if(!i||!i.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let n=i.handlers[s]||i.handlers.all;if(!n){o||(o=toRouteMatcher(t));const a=o.matchAll(e).reverse();for(const e of a){if(e.handlers[s]){n=e.handlers[s],i.handlers[s]=i.handlers[s]||n;break}if(e.handlers.all){n=e.handlers.all,i.handlers.all=i.handlers.all||n;break}}}return n?{matched:i,handler:n}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},i=e.preemptive||e.preemtive;return a.handler=L((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(i)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&i?null:e))})),a.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const o=await t.handler.__resolve__(e);if(!o)return;s={...s,...o}}return s},a}({preemptive:!0}),a=(i=toNodeListener(s),function(e){const t=new IncomingMessage,s=new ServerResponse(t);if(t.url=e.url||"/",t.method=e.method||"GET",t.headers={},e.headers){const s="function"==typeof e.headers.entries?e.headers.entries():Object.entries(e.headers);for(const[e,o]of s)o&&(t.headers[e.toLowerCase()]=o)}return t.headers.host=t.headers.host||e.host||"localhost",t.connection.encrypted=t.connection.encrypted||"https"===e.protocol,t.body=e.body||null,t.__unenv__=e.context,i(t,s).then((()=>{let e=s._data;(fe.has(s.statusCode)||"HEAD"===t.method.toUpperCase())&&(e=null,delete s._headers["content-length"]);const o={body:e,headers:s._headers,status:s.statusCode,statusText:s.statusMessage};return t.destroy(),s.destroy(),o}))});var i;const n=function(e,t=global.fetch){return async function(s,o){const a=s.toString();if(!a.startsWith("/"))return t(a,o);try{const t=await e({url:a,...o});return new Response(t.body,{status:t.status,statusText:t.statusText,headers:Object.fromEntries(Object.entries(t.headers).map((([e,t])=>[e,Array.isArray(t)?t.join(","):String(t)||""])))})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}}(a,globalThis.fetch),localFetch=(e,t)=>n(e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))),c=createFetch$1({fetch:localFetch,Headers:se,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=c,s.use(createRouteRulesHandler({localFetch:localFetch})),s.use(L((e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:c}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})}})));for(const t of xe){let a=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const o=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(o,a)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(a=cachedEventHandler(a,{group:"nitro/routes",...e.cache})),o.use(t.route,a,t.method)}}return s.use(e.app.baseURL,o.handler),{hooks:t,h3App:s,router:o,localCall:a,localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return tt}!function(e){for(const t of me)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(tt);function GracefulShutdown(s,o){o=o||{};const a=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},o);let i=!1;const n={};let c=0;const l={};let p=0,u=!1,d=!1;const h=a.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),f=function(){let e=!1;return(t,s,o)=>{function call(){if(!e)return e=!0,Reflect.apply(o,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&i||s)&&(e.destroy(),e.server instanceof t.Server?delete n[e._connectionId]:delete l[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(n)){const s=n[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(l)){const s=l[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(a.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return a.timeout,Promise.resolve(!0);return 0===Object.keys(n).length&&0===Object.keys(l).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return i?Promise.resolve():a.preShutdown(t).then((()=>{i=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(a.timeout?Math.round(a.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),a.onShutdown(t)))).then((function(){return d||(d=!0,a.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(a.finally)&&a.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw u=!0,t}))}return f(e,h,(t=>{shutdown(t).then((()=>{a.forceExit&&e.exit(u?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,i&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(i)e.destroy();else{const t=c++;e._isIdle=!0,e._connectionId=t,n[t]=e,e.once("close",(()=>{delete n[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(i)e.destroy();else{const t=p++;e._isIdle=!0,e._connectionId=t,l[t]=e,e.once("close",(()=>{delete l[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const rt=e.env.NITRO_SSL_CERT,st=e.env.NITRO_SSL_KEY,ot=useNitroApp(),at=rt&&st?new a({key:st,cert:rt},toNodeListener(ot.h3App)):new s(toNodeListener(ot.h3App)),it=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,nt=e.env.NITRO_HOST||e.env.HOST,ct=e.env.NITRO_UNIX_SOCKET,lt=at.listen(ct?{path:ct}:{port:it,host:nt},(t=>{t&&(console.error(t),e.exit(1));const s=rt&&st?"https":"http",o=lt.address();if("string"==typeof o)return void console.log(`Listening on unix socket ${o}`);const a=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),i=`${s}://${"IPv6"===o.family?`[${o.address}]`:o.address}:${o.port}${a}`;console.log(`Listening on ${i}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const o={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};o.disabled||GracefulShutdown(t,{signals:o.signals.join(" "),timeout:o.timeout,forceExit:o.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),o.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(lt,ot);const pt={};export{ae as $,H as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,pt as n,readBody as r,useRuntimeConfig as u}; diff --git a/.output/server/chunks/routes/api/_..._.mjs b/.output/server/chunks/routes/api/_..._.mjs index a17095ac6019b37ee2139c5af705dd8787e9101c..38fc8ef9c76bc988a1cc4f18b5a6cee673aa7a51 100644 --- a/.output/server/chunks/routes/api/_..._.mjs +++ b/.output/server/chunks/routes/api/_..._.mjs @@ -1 +1 @@ -import{d as o,g as t,a as e,b as r,u as n}from"../../nitro/nitro.mjs";import{g as s,c as i}from"../../_/storage.mjs";import{l as a}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";let p;const l=o((async o=>{if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const l=n().models,c=t(o).pathname,d=e(o),m=r(o);if(void 0===p||"true"===m.reload_config){console.log("load config...");const o=s();p=await o.getItem("backup")}for(const t of l){const e=t.route,n=t.provider;if(c.startsWith(e)&&(c.length==e.length||"/"==c[e.length])){if(!a.hasOwnProperty(n))continue;o.context.model=t;const e=r(o);let s=e.model,l=e.conversation;const c={};if(d.authorization&&d.authorization.startsWith("Bearer ")&&d.authorization.includes("oa_")){decrypt(d.authorization.replace(/^Bearer /,"").replace("oa_","")).split("&").forEach((o=>{const[t,e]=o.split("=");c[t]=e})),s=c.model,l=c.conversation}const m=p.model.models.find((o=>o.id===s)),u=i.conversation.list.find((o=>o.id===l)).models.find((o=>o.modelId===s));console.log(c,m,u),o.context.meta={query:c,apiKey:m.apiKey,apiModel:m.apiModel,apiAgentId:u.apiAgentId,apiConversationId:u.apiConversationId};return await a[n](o)}}return new Response("No Route Handler",{status:404})}));function decrypt(o){const t=o.split("").map((o=>{const t=o.charCodeAt(0);return String.fromCharCode(t-1)})).join("");return Buffer.from(t,"base64").toString()}export{l as default}; +import{d as o,u as t,g as e,a as r,b as n}from"../../nitro/nitro.mjs";import{g as s,c as i}from"../../_/storage.mjs";import{l as a}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";let p;const l=o((async o=>{if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const l=t().models,c=e(o).pathname,d=r(o),m=n(o);if(void 0===p||"true"===m.reload_config){console.log("load config...");const o=s();p=await o.getItem("backup")}for(const t of l){const e=t.route,r=t.provider;if(c.startsWith(e)&&(c.length==e.length||"/"==c[e.length])){if(!a.hasOwnProperty(r))continue;o.context.model=t;const e=n(o);let s=e.model,l=e.conversation;const c={};if(d.authorization&&d.authorization.startsWith("Bearer ")&&d.authorization.includes("oa_")){decrypt(d.authorization.replace(/^Bearer /,"").replace("oa_","")).split("&").forEach((o=>{const[t,e]=o.split("=");c[t]=e})),s=c.model,l=c.conversation}const m=p.model.models.find((o=>o.id===s)),u=i.conversation.list.find((o=>o.id===l)).models.find((o=>o.modelId===s));console.log(c,m,u),o.context.meta={query:c,apiKey:m.apiKey,apiModel:m.apiModel,apiAgentId:u.apiAgentId,apiConversationId:u.apiConversationId};return await a[r](o)}}return new Response("No Route Handler",{status:404})}));function decrypt(o){const t=o.split("").map((o=>{const t=o.charCodeAt(0);return String.fromCharCode(t-1)})).join("");return Buffer.from(t,"base64").toString()}export{l as default}; diff --git a/.output/server/chunks/routes/app/_..._.mjs b/.output/server/chunks/routes/app/_..._.mjs index bda8db25024ff66cf8c96a157cb4762231e1ae9f..ee424afd459d32bcf8fad7f49065681c99d13e96 100644 --- a/.output/server/chunks/routes/app/_..._.mjs +++ b/.output/server/chunks/routes/app/_..._.mjs @@ -1 +1 @@ -import{d as o,g as t,u as r}from"../../nitro/nitro.mjs";import{l as e}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"../../_/storage.mjs";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";const s=o((async o=>{if("GET"===o.method)return new Response("Not GET OPENAI",{status:404});if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const s=r().models,n=t(o).pathname;for(const t of s){const r=t.route,s=t.provider;if(n.startsWith(r)&&(n.length==r.length||"/"==n[r.length])){if(!e.hasOwnProperty(s))continue;o.context.model=t;try{return await e[s](o)}catch(o){throw console.error("Detailed error:",o),o}}}return new Response("No Route Handler",{status:404})}));export{s as default}; +import{d as o,u as t,g as r}from"../../nitro/nitro.mjs";import{l as e}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"../../_/storage.mjs";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";const s=o((async o=>{if("GET"===o.method)return new Response("Not GET OPENAI",{status:404});if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const s=t().models,n=r(o).pathname;for(const t of s){const r=t.route,s=t.provider;if(n.startsWith(r)&&(n.length==r.length||"/"==n[r.length])){if(!e.hasOwnProperty(s))continue;o.context.model=t;try{return await e[s](o)}catch(o){throw console.error("Detailed error:",o),o}}}return new Response("No Route Handler",{status:404})}));export{s as default}; diff --git a/.output/server/chunks/routes/openai/_..._.mjs b/.output/server/chunks/routes/openai/_..._.mjs index e34d63931aee5a26b121f0aa4644d8b432b321a3..c6c5f939a1bb817692bd100113154b225f43f5aa 100644 --- a/.output/server/chunks/routes/openai/_..._.mjs +++ b/.output/server/chunks/routes/openai/_..._.mjs @@ -1 +1 @@ -import{d as o,g as t,u as r}from"../../nitro/nitro.mjs";import{l as e}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"../../_/storage.mjs";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";const s=o((async o=>{if("GET"===o.method)return new Response("Not GET OPENAI",{status:404});if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const s=r().models,n=t(o).pathname;for(const t of s){const r=t.route,s=t.provider;if(n.startsWith(r)&&(n.length==r.length||"/"==n[r.length])){if(!e.hasOwnProperty(s))continue;o.context.model=t;return await e[s](o)}}return new Response("No Route Handler",{status:404})}));export{s as default}; +import{d as o,u as t,g as r}from"../../nitro/nitro.mjs";import{l as e}from"../../_/index.mjs";import"node:http";import"node:https";import"node:fs";import"node:url";import"node:path";import"uuid";import"../../_/storage.mjs";import"node:crypto";import"eventsource-parser/stream";import"eventsource-parser";import"http2";import"form-data";import"ws";import"jose";import"child_process";import"protobufjs";import"@grpc/grpc-js";const s=o((async o=>{if("GET"===o.method)return new Response("Not GET OPENAI",{status:404});if("OPTIONS"===o.method)return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*","Access-Control-Allow-Credentials":"true"}});const s=t().models,n=r(o).pathname;for(const t of s){const r=t.route,s=t.provider;if(n.startsWith(r)&&(n.length==r.length||"/"==n[r.length])){if(!e.hasOwnProperty(s))continue;o.context.model=t;return await e[s](o)}}return new Response("No Route Handler",{status:404})}));export{s as default}; diff --git a/.output/server/node_modules/call-bind-apply-helpers/index.js b/.output/server/node_modules/call-bind-apply-helpers/index.js index 8b6b99463c334dd73d50ced538b4c44d989adbd6..2f6dab4c10431239352ab4626e326bf4e97cad5c 100644 --- a/.output/server/node_modules/call-bind-apply-helpers/index.js +++ b/.output/server/node_modules/call-bind-apply-helpers/index.js @@ -6,7 +6,7 @@ var $TypeError = require('es-errors/type'); var $call = require('./functionCall'); var $actualApply = require('./actualApply'); -/** @type {import('.')} */ +/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ module.exports = function callBindBasic(args) { if (args.length < 1 || typeof args[0] !== 'function') { throw new $TypeError('a function is required'); diff --git a/.output/server/node_modules/call-bind-apply-helpers/package.json b/.output/server/node_modules/call-bind-apply-helpers/package.json index 7ff5016b4d795ef89a715db1bfcfa4366b1f4cdf..1af5322aca935cc6fe350180fb9d8c308c3a8961 100644 --- a/.output/server/node_modules/call-bind-apply-helpers/package.json +++ b/.output/server/node_modules/call-bind-apply-helpers/package.json @@ -1,6 +1,6 @@ { "name": "call-bind-apply-helpers", - "version": "1.0.1", + "version": "1.0.2", "description": "Helper functions around Function call/apply/bind, for use in `call-bind`", "main": "index.js", "exports": { @@ -41,24 +41,24 @@ "function-bind": "^1.1.2" }, "devDependencies": { - "@arethetypeswrong/cli": "^0.17.1", + "@arethetypeswrong/cli": "^0.17.3", "@ljharb/eslint-config": "^21.1.1", - "@ljharb/tsconfig": "^0.2.2", + "@ljharb/tsconfig": "^0.2.3", "@types/for-each": "^0.3.3", "@types/function-bind": "^1.1.10", "@types/object-inspect": "^1.13.0", - "@types/tape": "^5.6.5", + "@types/tape": "^5.8.1", "auto-changelog": "^2.5.0", "encoding": "^0.1.13", - "es-value-fixtures": "^1.5.0", + "es-value-fixtures": "^1.7.1", "eslint": "=8.8.0", "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "has-strict-mode": "^1.0.1", + "for-each": "^0.3.5", + "has-strict-mode": "^1.1.0", "in-publish": "^2.0.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", - "object-inspect": "^1.13.3", + "object-inspect": "^1.13.4", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0", "typescript": "next" diff --git a/.output/server/node_modules/get-intrinsic/index.js b/.output/server/node_modules/get-intrinsic/index.js index 7f618f50d6c94557fd3e1b371ba01e5021438a88..bd1d94b7f12eb2144fd68163e6481ad0e5f2b70a 100644 --- a/.output/server/node_modules/get-intrinsic/index.js +++ b/.output/server/node_modules/get-intrinsic/index.js @@ -90,6 +90,7 @@ var INTRINSICS = { '%Error%': $Error, '%eval%': eval, // eslint-disable-line no-eval '%EvalError%': $EvalError, + '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array, '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, diff --git a/.output/server/node_modules/get-intrinsic/package.json b/.output/server/node_modules/get-intrinsic/package.json index b35997d761952207fe52b6ca56840072b9f0cc9a..9fee0748c7ea0d0783cba608758e7253bc2dba30 100644 --- a/.output/server/node_modules/get-intrinsic/package.json +++ b/.output/server/node_modules/get-intrinsic/package.json @@ -1,6 +1,6 @@ { "name": "get-intrinsic", - "version": "1.2.7", + "version": "1.3.0", "description": "Get and robustly cache all JS language-level intrinsics at first require time", "main": "index.js", "exports": { @@ -44,12 +44,12 @@ }, "homepage": "https://github.com/ljharb/get-intrinsic#readme", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", + "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "get-proto": "^1.0.0", + "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", @@ -60,18 +60,18 @@ "auto-changelog": "^2.5.0", "call-bound": "^1.0.3", "encoding": "^0.1.13", - "es-abstract": "^1.23.8", - "es-value-fixtures": "^1.5.0", + "es-abstract": "^1.23.9", + "es-value-fixtures": "^1.7.1", "eslint": "=8.8.0", "evalmd": "^0.0.19", - "for-each": "^0.3.3", + "for-each": "^0.3.5", "make-async-function": "^1.0.0", "make-async-generator-function": "^1.0.0", "make-generator-function": "^2.0.0", "mock-property": "^1.1.0", "npmignore": "^0.3.1", "nyc": "^10.3.2", - "object-inspect": "^1.13.3", + "object-inspect": "^1.13.4", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0" }, diff --git a/.output/server/node_modules/long/package.json b/.output/server/node_modules/long/package.json index dbe3e8cd3021039c37b092a34a8b2429373821f4..454b8d17f77eb41ead1001125af0657eeeb6d9a6 100644 --- a/.output/server/node_modules/long/package.json +++ b/.output/server/node_modules/long/package.json @@ -1,6 +1,6 @@ { "name": "long", - "version": "5.2.4", + "version": "5.3.1", "author": "Daniel Wirtz ", "description": "A Long class for representing a 64-bit two's-complement integer value.", "repository": { @@ -32,19 +32,27 @@ } }, "scripts": { - "build": "esm2umd Long index.js > umd/index.js", - "test": "node tests" + "build": "node scripts/build.js", + "lint": "prettier --check .", + "format": "prettier --write .", + "test": "npm run test:unit && npm run test:typescript", + "test:unit": "node tests", + "test:typescript": "tsc --project tests/typescript/tsconfig.esnext.json && tsc --project tests/typescript/tsconfig.nodenext.json && tsc --project tests/typescript/tsconfig.commonjs.json && tsc --project tests/typescript/tsconfig.global.json" }, "files": [ "index.js", "index.d.ts", + "types.d.ts", "umd/index.js", "umd/index.d.ts", + "umd/types.d.ts", "umd/package.json", "LICENSE", "README.md" ], "devDependencies": { - "esm2umd": "^0.2.1" + "esm2umd": "^0.3.0", + "prettier": "^3.5.0", + "typescript": "^5.7.3" } } \ No newline at end of file diff --git a/.output/server/node_modules/long/umd/index.js b/.output/server/node_modules/long/umd/index.js index a6ccd9cc45f46b8bc28b1b12d9e8efd5f843ef03..8351d62a411a2ec711674ae3d6ca8ef6a9f6dd3c 100644 --- a/.output/server/node_modules/long/umd/index.js +++ b/.output/server/node_modules/long/umd/index.js @@ -1,1432 +1,1622 @@ // GENERATED FILE. DO NOT EDIT. -var Long = (function(exports) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = void 0; - - /** - * @license - * Copyright 2009 The Closure Library Authors - * Copyright 2020 Daniel Wirtz / The long.js Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // WebAssembly optimizations to do native i64 multiplication and divide - var wasm = null; - - try { - wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11])), {}).exports; - } catch (e) {// no wasm support :( +(function (global, factory) { + function unwrapDefault(exports) { + return "default" in exports ? exports.default : exports; } - /** - * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers. - * See the from* functions below for more convenient ways of constructing Longs. - * @exports Long - * @class A Long class for representing a 64 bit two's-complement integer value. - * @param {number} low The low (signed) 32 bits of the long - * @param {number} high The high (signed) 32 bits of the long - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @constructor - */ - - - function Long(low, high, unsigned) { - /** - * The low 32 bits as a signed value. - * @type {number} + if (typeof define === "function" && define.amd) { + define([], function () { + var exports = {}; + factory(exports); + return unwrapDefault(exports); + }); + } else if (typeof exports === "object") { + factory(exports); + if (typeof module === "object") module.exports = unwrapDefault(exports); + } else { + (function () { + var exports = {}; + factory(exports); + global.Long = unwrapDefault(exports); + })(); + } +})( + typeof globalThis !== "undefined" + ? globalThis + : typeof self !== "undefined" + ? self + : this, + function (_exports) { + "use strict"; + + Object.defineProperty(_exports, "__esModule", { + value: true, + }); + _exports.default = void 0; + /** + * @license + * Copyright 2009 The Closure Library Authors + * Copyright 2020 Daniel Wirtz / The long.js Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 */ - this.low = low | 0; + + // WebAssembly optimizations to do native i64 multiplication and divide + var wasm = null; + try { + wasm = new WebAssembly.Instance( + new WebAssembly.Module( + new Uint8Array([ + // \0asm + 0, 97, 115, 109, + // version 1 + 1, 0, 0, 0, + // section "type" + 1, 13, 2, + // 0, () => i32 + 96, 0, 1, 127, + // 1, (i32, i32, i32, i32) => i32 + 96, 4, 127, 127, 127, 127, 1, 127, + // section "function" + 3, 7, 6, + // 0, type 0 + 0, + // 1, type 1 + 1, + // 2, type 1 + 1, + // 3, type 1 + 1, + // 4, type 1 + 1, + // 5, type 1 + 1, + // section "global" + 6, 6, 1, + // 0, "high", mutable i32 + 127, 1, 65, 0, 11, + // section "export" + 7, 50, 6, + // 0, "mul" + 3, 109, 117, 108, 0, 1, + // 1, "div_s" + 5, 100, 105, 118, 95, 115, 0, 2, + // 2, "div_u" + 5, 100, 105, 118, 95, 117, 0, 3, + // 3, "rem_s" + 5, 114, 101, 109, 95, 115, 0, 4, + // 4, "rem_u" + 5, 114, 101, 109, 95, 117, 0, 5, + // 5, "get_high" + 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, + // section "code" + 10, 191, 1, 6, + // 0, "get_high" + 4, 0, 35, 0, 11, + // 1, "mul" + 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, + 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, + 32, 4, 167, 11, + // 2, "div_s" + 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, + 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, + 32, 4, 167, 11, + // 3, "div_u" + 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, + 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, + 32, 4, 167, 11, + // 4, "rem_s" + 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, + 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, + 32, 4, 167, 11, + // 5, "rem_u" + 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, + 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, + 32, 4, 167, 11, + ]), + ), + {}, + ).exports; + } catch { + // no wasm support :( + } + /** - * The high 32 bits as a signed value. - * @type {number} + * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers. + * See the from* functions below for more convenient ways of constructing Longs. + * @exports Long + * @class A Long class for representing a 64 bit two's-complement integer value. + * @param {number} low The low (signed) 32 bits of the long + * @param {number} high The high (signed) 32 bits of the long + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @constructor */ - - this.high = high | 0; + function Long(low, high, unsigned) { + /** + * The low 32 bits as a signed value. + * @type {number} + */ + this.low = low | 0; + + /** + * The high 32 bits as a signed value. + * @type {number} + */ + this.high = high | 0; + + /** + * Whether unsigned or not. + * @type {boolean} + */ + this.unsigned = !!unsigned; + } + + // The internal representation of a long is the two given signed, 32-bit values. + // We use 32-bit pieces because these are the size of integers on which + // Javascript performs bit-operations. For operations like addition and + // multiplication, we split each number into 16 bit pieces, which can easily be + // multiplied within Javascript's floating-point representation without overflow + // or change in sign. + // + // In the algorithms below, we frequently reduce the negative case to the + // positive case by negating the input(s) and then post-processing the result. + // Note that we must ALWAYS check specially whether those values are MIN_VALUE + // (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as + // a positive number, it overflows back into a negative). Not handling this + // case would often result in infinite recursion. + // + // Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the from* + // methods on which they depend. + /** - * Whether unsigned or not. + * An indicator used to reliably determine if an object is a Long or not. * @type {boolean} + * @const + * @private */ - - this.unsigned = !!unsigned; - } // The internal representation of a long is the two given signed, 32-bit values. - // We use 32-bit pieces because these are the size of integers on which - // Javascript performs bit-operations. For operations like addition and - // multiplication, we split each number into 16 bit pieces, which can easily be - // multiplied within Javascript's floating-point representation without overflow - // or change in sign. - // - // In the algorithms below, we frequently reduce the negative case to the - // positive case by negating the input(s) and then post-processing the result. - // Note that we must ALWAYS check specially whether those values are MIN_VALUE - // (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as - // a positive number, it overflows back into a negative). Not handling this - // case would often result in infinite recursion. - // - // Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the from* - // methods on which they depend. - - /** - * An indicator used to reliably determine if an object is a Long or not. - * @type {boolean} - * @const - * @private - */ - - - Long.prototype.__isLong__; - Object.defineProperty(Long.prototype, "__isLong__", { - value: true - }); - /** - * @function - * @param {*} obj Object - * @returns {boolean} - * @inner - */ - - function isLong(obj) { - return (obj && obj["__isLong__"]) === true; - } - /** - * @function - * @param {*} value number - * @returns {number} - * @inner - */ - - - function ctz32(value) { - var c = Math.clz32(value & -value); - return value ? 31 - c : c; - } - /** - * Tests if the specified object is a Long. - * @function - * @param {*} obj Object - * @returns {boolean} - */ - - - Long.isLong = isLong; - /** - * A cache of the Long representations of small integer values. - * @type {!Object} - * @inner - */ - - var INT_CACHE = {}; - /** - * A cache of the Long representations of small unsigned integer values. - * @type {!Object} - * @inner - */ - - var UINT_CACHE = {}; - /** - * @param {number} value - * @param {boolean=} unsigned - * @returns {!Long} - * @inner - */ - - function fromInt(value, unsigned) { - var obj, cachedObj, cache; - - if (unsigned) { - value >>>= 0; - - if (cache = 0 <= value && value < 256) { - cachedObj = UINT_CACHE[value]; - if (cachedObj) return cachedObj; - } - - obj = fromBits(value, 0, true); - if (cache) UINT_CACHE[value] = obj; - return obj; - } else { - value |= 0; - - if (cache = -128 <= value && value < 128) { - cachedObj = INT_CACHE[value]; - if (cachedObj) return cachedObj; + Long.prototype.__isLong__; + Object.defineProperty(Long.prototype, "__isLong__", { + value: true, + }); + + /** + * @function + * @param {*} obj Object + * @returns {boolean} + * @inner + */ + function isLong(obj) { + return (obj && obj["__isLong__"]) === true; + } + + /** + * @function + * @param {*} value number + * @returns {number} + * @inner + */ + function ctz32(value) { + var c = Math.clz32(value & -value); + return value ? 31 - c : c; + } + + /** + * Tests if the specified object is a Long. + * @function + * @param {*} obj Object + * @returns {boolean} + */ + Long.isLong = isLong; + + /** + * A cache of the Long representations of small integer values. + * @type {!Object} + * @inner + */ + var INT_CACHE = {}; + + /** + * A cache of the Long representations of small unsigned integer values. + * @type {!Object} + * @inner + */ + var UINT_CACHE = {}; + + /** + * @param {number} value + * @param {boolean=} unsigned + * @returns {!Long} + * @inner + */ + function fromInt(value, unsigned) { + var obj, cachedObj, cache; + if (unsigned) { + value >>>= 0; + if ((cache = 0 <= value && value < 256)) { + cachedObj = UINT_CACHE[value]; + if (cachedObj) return cachedObj; + } + obj = fromBits(value, 0, true); + if (cache) UINT_CACHE[value] = obj; + return obj; + } else { + value |= 0; + if ((cache = -128 <= value && value < 128)) { + cachedObj = INT_CACHE[value]; + if (cachedObj) return cachedObj; + } + obj = fromBits(value, value < 0 ? -1 : 0, false); + if (cache) INT_CACHE[value] = obj; + return obj; } - - obj = fromBits(value, value < 0 ? -1 : 0, false); - if (cache) INT_CACHE[value] = obj; - return obj; } - } - /** - * Returns a Long representing the given 32 bit integer value. - * @function - * @param {number} value The 32 bit integer in question - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {!Long} The corresponding Long value - */ - - - Long.fromInt = fromInt; - /** - * @param {number} value - * @param {boolean=} unsigned - * @returns {!Long} - * @inner - */ - - function fromNumber(value, unsigned) { - if (isNaN(value)) return unsigned ? UZERO : ZERO; - - if (unsigned) { - if (value < 0) return UZERO; - if (value >= TWO_PWR_64_DBL) return MAX_UNSIGNED_VALUE; - } else { - if (value <= -TWO_PWR_63_DBL) return MIN_VALUE; - if (value + 1 >= TWO_PWR_63_DBL) return MAX_VALUE; + + /** + * Returns a Long representing the given 32 bit integer value. + * @function + * @param {number} value The 32 bit integer in question + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {!Long} The corresponding Long value + */ + Long.fromInt = fromInt; + + /** + * @param {number} value + * @param {boolean=} unsigned + * @returns {!Long} + * @inner + */ + function fromNumber(value, unsigned) { + if (isNaN(value)) return unsigned ? UZERO : ZERO; + if (unsigned) { + if (value < 0) return UZERO; + if (value >= TWO_PWR_64_DBL) return MAX_UNSIGNED_VALUE; + } else { + if (value <= -TWO_PWR_63_DBL) return MIN_VALUE; + if (value + 1 >= TWO_PWR_63_DBL) return MAX_VALUE; + } + if (value < 0) return fromNumber(-value, unsigned).neg(); + return fromBits( + value % TWO_PWR_32_DBL | 0, + (value / TWO_PWR_32_DBL) | 0, + unsigned, + ); } - - if (value < 0) return fromNumber(-value, unsigned).neg(); - return fromBits(value % TWO_PWR_32_DBL | 0, value / TWO_PWR_32_DBL | 0, unsigned); - } - /** - * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. - * @function - * @param {number} value The number in question - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {!Long} The corresponding Long value - */ - - - Long.fromNumber = fromNumber; - /** - * @param {number} lowBits - * @param {number} highBits - * @param {boolean=} unsigned - * @returns {!Long} - * @inner - */ - - function fromBits(lowBits, highBits, unsigned) { - return new Long(lowBits, highBits, unsigned); - } - /** - * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is - * assumed to use 32 bits. - * @function - * @param {number} lowBits The low 32 bits - * @param {number} highBits The high 32 bits - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {!Long} The corresponding Long value - */ - - - Long.fromBits = fromBits; - /** - * @function - * @param {number} base - * @param {number} exponent - * @returns {number} - * @inner - */ - - var pow_dbl = Math.pow; // Used 4 times (4*8 to 15+4) - - /** - * @param {string} str - * @param {(boolean|number)=} unsigned - * @param {number=} radix - * @returns {!Long} - * @inner - */ - - function fromString(str, unsigned, radix) { - if (str.length === 0) throw Error('empty string'); - - if (typeof unsigned === 'number') { - // For goog.math.long compatibility - radix = unsigned; - unsigned = false; - } else { - unsigned = !!unsigned; + + /** + * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. + * @function + * @param {number} value The number in question + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {!Long} The corresponding Long value + */ + Long.fromNumber = fromNumber; + + /** + * @param {number} lowBits + * @param {number} highBits + * @param {boolean=} unsigned + * @returns {!Long} + * @inner + */ + function fromBits(lowBits, highBits, unsigned) { + return new Long(lowBits, highBits, unsigned); } - - if (str === "NaN" || str === "Infinity" || str === "+Infinity" || str === "-Infinity") return unsigned ? UZERO : ZERO; - radix = radix || 10; - if (radix < 2 || 36 < radix) throw RangeError('radix'); - var p; - if ((p = str.indexOf('-')) > 0) throw Error('interior hyphen');else if (p === 0) { - return fromString(str.substring(1), unsigned, radix).neg(); - } // Do several (8) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - - var radixToPower = fromNumber(pow_dbl(radix, 8)); - var result = ZERO; - - for (var i = 0; i < str.length; i += 8) { - var size = Math.min(8, str.length - i), - value = parseInt(str.substring(i, i + size), radix); - - if (size < 8) { - var power = fromNumber(pow_dbl(radix, size)); - result = result.mul(power).add(fromNumber(value)); + + /** + * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is + * assumed to use 32 bits. + * @function + * @param {number} lowBits The low 32 bits + * @param {number} highBits The high 32 bits + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {!Long} The corresponding Long value + */ + Long.fromBits = fromBits; + + /** + * @function + * @param {number} base + * @param {number} exponent + * @returns {number} + * @inner + */ + var pow_dbl = Math.pow; // Used 4 times (4*8 to 15+4) + + /** + * @param {string} str + * @param {(boolean|number)=} unsigned + * @param {number=} radix + * @returns {!Long} + * @inner + */ + function fromString(str, unsigned, radix) { + if (str.length === 0) throw Error("empty string"); + if (typeof unsigned === "number") { + // For goog.math.long compatibility + radix = unsigned; + unsigned = false; } else { - result = result.mul(radixToPower); - result = result.add(fromNumber(value)); + unsigned = !!unsigned; + } + if ( + str === "NaN" || + str === "Infinity" || + str === "+Infinity" || + str === "-Infinity" + ) + return unsigned ? UZERO : ZERO; + radix = radix || 10; + if (radix < 2 || 36 < radix) throw RangeError("radix"); + var p; + if ((p = str.indexOf("-")) > 0) throw Error("interior hyphen"); + else if (p === 0) { + return fromString(str.substring(1), unsigned, radix).neg(); + } + + // Do several (8) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = fromNumber(pow_dbl(radix, 8)); + var result = ZERO; + for (var i = 0; i < str.length; i += 8) { + var size = Math.min(8, str.length - i), + value = parseInt(str.substring(i, i + size), radix); + if (size < 8) { + var power = fromNumber(pow_dbl(radix, size)); + result = result.mul(power).add(fromNumber(value)); + } else { + result = result.mul(radixToPower); + result = result.add(fromNumber(value)); + } } + result.unsigned = unsigned; + return result; } - - result.unsigned = unsigned; - return result; - } - /** - * Returns a Long representation of the given string, written using the specified radix. - * @function - * @param {string} str The textual representation of the Long - * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed - * @param {number=} radix The radix in which the text is written (2-36), defaults to 10 - * @returns {!Long} The corresponding Long value - */ - - - Long.fromString = fromString; - /** - * @function - * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val - * @param {boolean=} unsigned - * @returns {!Long} - * @inner - */ - - function fromValue(val, unsigned) { - if (typeof val === 'number') return fromNumber(val, unsigned); - if (typeof val === 'string') return fromString(val, unsigned); // Throws for non-objects, converts non-instanceof Long: - - return fromBits(val.low, val.high, typeof unsigned === 'boolean' ? unsigned : val.unsigned); - } - /** - * Converts the specified value to a Long using the appropriate from* function for its type. - * @function - * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {!Long} - */ - - - Long.fromValue = fromValue; // NOTE: the compiler should inline these constant values below and then remove these variables, so there should be - // no runtime penalty for these. - - /** - * @type {number} - * @const - * @inner - */ - - var TWO_PWR_16_DBL = 1 << 16; - /** - * @type {number} - * @const - * @inner - */ - - var TWO_PWR_24_DBL = 1 << 24; - /** - * @type {number} - * @const - * @inner - */ - - var TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL; - /** - * @type {number} - * @const - * @inner - */ - - var TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL; - /** - * @type {number} - * @const - * @inner - */ - - var TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2; - /** - * @type {!Long} - * @const - * @inner - */ - - var TWO_PWR_24 = fromInt(TWO_PWR_24_DBL); - /** - * @type {!Long} - * @inner - */ - - var ZERO = fromInt(0); - /** - * Signed zero. - * @type {!Long} - */ - - Long.ZERO = ZERO; - /** - * @type {!Long} - * @inner - */ - - var UZERO = fromInt(0, true); - /** - * Unsigned zero. - * @type {!Long} - */ - - Long.UZERO = UZERO; - /** - * @type {!Long} - * @inner - */ - - var ONE = fromInt(1); - /** - * Signed one. - * @type {!Long} - */ - - Long.ONE = ONE; - /** - * @type {!Long} - * @inner - */ - - var UONE = fromInt(1, true); - /** - * Unsigned one. - * @type {!Long} - */ - - Long.UONE = UONE; - /** - * @type {!Long} - * @inner - */ - - var NEG_ONE = fromInt(-1); - /** - * Signed negative one. - * @type {!Long} - */ - - Long.NEG_ONE = NEG_ONE; - /** - * @type {!Long} - * @inner - */ - - var MAX_VALUE = fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0, false); - /** - * Maximum signed value. - * @type {!Long} - */ - - Long.MAX_VALUE = MAX_VALUE; - /** - * @type {!Long} - * @inner - */ - - var MAX_UNSIGNED_VALUE = fromBits(0xFFFFFFFF | 0, 0xFFFFFFFF | 0, true); - /** - * Maximum unsigned value. - * @type {!Long} - */ - - Long.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE; - /** - * @type {!Long} - * @inner - */ - - var MIN_VALUE = fromBits(0, 0x80000000 | 0, false); - /** - * Minimum signed value. - * @type {!Long} - */ - - Long.MIN_VALUE = MIN_VALUE; - /** - * @alias Long.prototype - * @inner - */ - - var LongPrototype = Long.prototype; - /** - * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. - * @this {!Long} - * @returns {number} - */ - - LongPrototype.toInt = function toInt() { - return this.unsigned ? this.low >>> 0 : this.low; - }; - /** - * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). - * @this {!Long} - * @returns {number} - */ - - - LongPrototype.toNumber = function toNumber() { - if (this.unsigned) return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0); - return this.high * TWO_PWR_32_DBL + (this.low >>> 0); - }; - /** - * Converts the Long to a string written in the specified radix. - * @this {!Long} - * @param {number=} radix Radix (2-36), defaults to 10 - * @returns {string} - * @override - * @throws {RangeError} If `radix` is out of range - */ - - - LongPrototype.toString = function toString(radix) { - radix = radix || 10; - if (radix < 2 || 36 < radix) throw RangeError('radix'); - if (this.isZero()) return '0'; - - if (this.isNegative()) { - // Unsigned Longs are never negative - if (this.eq(MIN_VALUE)) { - // We need to change the Long value before it can be negated, so we remove - // the bottom-most digit in this base and then recurse to do the rest. - var radixLong = fromNumber(radix), + + /** + * Returns a Long representation of the given string, written using the specified radix. + * @function + * @param {string} str The textual representation of the Long + * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed + * @param {number=} radix The radix in which the text is written (2-36), defaults to 10 + * @returns {!Long} The corresponding Long value + */ + Long.fromString = fromString; + + /** + * @function + * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val + * @param {boolean=} unsigned + * @returns {!Long} + * @inner + */ + function fromValue(val, unsigned) { + if (typeof val === "number") return fromNumber(val, unsigned); + if (typeof val === "string") return fromString(val, unsigned); + // Throws for non-objects, converts non-instanceof Long: + return fromBits( + val.low, + val.high, + typeof unsigned === "boolean" ? unsigned : val.unsigned, + ); + } + + /** + * Converts the specified value to a Long using the appropriate from* function for its type. + * @function + * @param {!Long|number|bigint|string|!{low: number, high: number, unsigned: boolean}} val Value + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {!Long} + */ + Long.fromValue = fromValue; + + // NOTE: the compiler should inline these constant values below and then remove these variables, so there should be + // no runtime penalty for these. + + /** + * @type {number} + * @const + * @inner + */ + var TWO_PWR_16_DBL = 1 << 16; + + /** + * @type {number} + * @const + * @inner + */ + var TWO_PWR_24_DBL = 1 << 24; + + /** + * @type {number} + * @const + * @inner + */ + var TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL; + + /** + * @type {number} + * @const + * @inner + */ + var TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL; + + /** + * @type {number} + * @const + * @inner + */ + var TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2; + + /** + * @type {!Long} + * @const + * @inner + */ + var TWO_PWR_24 = fromInt(TWO_PWR_24_DBL); + + /** + * @type {!Long} + * @inner + */ + var ZERO = fromInt(0); + + /** + * Signed zero. + * @type {!Long} + */ + Long.ZERO = ZERO; + + /** + * @type {!Long} + * @inner + */ + var UZERO = fromInt(0, true); + + /** + * Unsigned zero. + * @type {!Long} + */ + Long.UZERO = UZERO; + + /** + * @type {!Long} + * @inner + */ + var ONE = fromInt(1); + + /** + * Signed one. + * @type {!Long} + */ + Long.ONE = ONE; + + /** + * @type {!Long} + * @inner + */ + var UONE = fromInt(1, true); + + /** + * Unsigned one. + * @type {!Long} + */ + Long.UONE = UONE; + + /** + * @type {!Long} + * @inner + */ + var NEG_ONE = fromInt(-1); + + /** + * Signed negative one. + * @type {!Long} + */ + Long.NEG_ONE = NEG_ONE; + + /** + * @type {!Long} + * @inner + */ + var MAX_VALUE = fromBits(0xffffffff | 0, 0x7fffffff | 0, false); + + /** + * Maximum signed value. + * @type {!Long} + */ + Long.MAX_VALUE = MAX_VALUE; + + /** + * @type {!Long} + * @inner + */ + var MAX_UNSIGNED_VALUE = fromBits(0xffffffff | 0, 0xffffffff | 0, true); + + /** + * Maximum unsigned value. + * @type {!Long} + */ + Long.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE; + + /** + * @type {!Long} + * @inner + */ + var MIN_VALUE = fromBits(0, 0x80000000 | 0, false); + + /** + * Minimum signed value. + * @type {!Long} + */ + Long.MIN_VALUE = MIN_VALUE; + + /** + * @alias Long.prototype + * @inner + */ + var LongPrototype = Long.prototype; + + /** + * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. + * @this {!Long} + * @returns {number} + */ + LongPrototype.toInt = function toInt() { + return this.unsigned ? this.low >>> 0 : this.low; + }; + + /** + * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). + * @this {!Long} + * @returns {number} + */ + LongPrototype.toNumber = function toNumber() { + if (this.unsigned) + return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0); + return this.high * TWO_PWR_32_DBL + (this.low >>> 0); + }; + + /** + * Converts the Long to a string written in the specified radix. + * @this {!Long} + * @param {number=} radix Radix (2-36), defaults to 10 + * @returns {string} + * @override + * @throws {RangeError} If `radix` is out of range + */ + LongPrototype.toString = function toString(radix) { + radix = radix || 10; + if (radix < 2 || 36 < radix) throw RangeError("radix"); + if (this.isZero()) return "0"; + if (this.isNegative()) { + // Unsigned Longs are never negative + if (this.eq(MIN_VALUE)) { + // We need to change the Long value before it can be negated, so we remove + // the bottom-most digit in this base and then recurse to do the rest. + var radixLong = fromNumber(radix), div = this.div(radixLong), rem1 = div.mul(radixLong).sub(this); - return div.toString(radix) + rem1.toInt().toString(radix); - } else return '-' + this.neg().toString(radix); - } // Do several (6) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - - - var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), + return div.toString(radix) + rem1.toInt().toString(radix); + } else return "-" + this.neg().toString(radix); + } + + // Do several (6) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), rem = this; - var result = ''; - - while (true) { - var remDiv = rem.div(radixToPower), + var result = ""; + while (true) { + var remDiv = rem.div(radixToPower), intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0, digits = intval.toString(radix); - rem = remDiv; - if (rem.isZero()) return digits + result;else { - while (digits.length < 6) digits = '0' + digits; - - result = '' + digits + result; + rem = remDiv; + if (rem.isZero()) return digits + result; + else { + while (digits.length < 6) digits = "0" + digits; + result = "" + digits + result; + } } - } - }; - /** - * Gets the high 32 bits as a signed integer. - * @this {!Long} - * @returns {number} Signed high bits - */ - - - LongPrototype.getHighBits = function getHighBits() { - return this.high; - }; - /** - * Gets the high 32 bits as an unsigned integer. - * @this {!Long} - * @returns {number} Unsigned high bits - */ - - - LongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() { - return this.high >>> 0; - }; - /** - * Gets the low 32 bits as a signed integer. - * @this {!Long} - * @returns {number} Signed low bits - */ - - - LongPrototype.getLowBits = function getLowBits() { - return this.low; - }; - /** - * Gets the low 32 bits as an unsigned integer. - * @this {!Long} - * @returns {number} Unsigned low bits - */ - - - LongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() { - return this.low >>> 0; - }; - /** - * Gets the number of bits needed to represent the absolute value of this Long. - * @this {!Long} - * @returns {number} - */ - - - LongPrototype.getNumBitsAbs = function getNumBitsAbs() { - if (this.isNegative()) // Unsigned Longs are never negative - return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs(); - var val = this.high != 0 ? this.high : this.low; - - for (var bit = 31; bit > 0; bit--) if ((val & 1 << bit) != 0) break; - - return this.high != 0 ? bit + 33 : bit + 1; - }; - /** - * Tests if this Long's value equals zero. - * @this {!Long} - * @returns {boolean} - */ - - - LongPrototype.isZero = function isZero() { - return this.high === 0 && this.low === 0; - }; - /** - * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}. - * @returns {boolean} - */ - - - LongPrototype.eqz = LongPrototype.isZero; - /** - * Tests if this Long's value is negative. - * @this {!Long} - * @returns {boolean} - */ - - LongPrototype.isNegative = function isNegative() { - return !this.unsigned && this.high < 0; - }; - /** - * Tests if this Long's value is positive or zero. - * @this {!Long} - * @returns {boolean} - */ - - - LongPrototype.isPositive = function isPositive() { - return this.unsigned || this.high >= 0; - }; - /** - * Tests if this Long's value is odd. - * @this {!Long} - * @returns {boolean} - */ - - - LongPrototype.isOdd = function isOdd() { - return (this.low & 1) === 1; - }; - /** - * Tests if this Long's value is even. - * @this {!Long} - * @returns {boolean} - */ - - - LongPrototype.isEven = function isEven() { - return (this.low & 1) === 0; - }; - /** - * Tests if this Long's value equals the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.equals = function equals(other) { - if (!isLong(other)) other = fromValue(other); - if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1) return false; - return this.high === other.high && this.low === other.low; - }; - /** - * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.eq = LongPrototype.equals; - /** - * Tests if this Long's value differs from the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.notEquals = function notEquals(other) { - return !this.eq( - /* validates */ - other); - }; - /** - * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.neq = LongPrototype.notEquals; - /** - * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.ne = LongPrototype.notEquals; - /** - * Tests if this Long's value is less than the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.lessThan = function lessThan(other) { - return this.comp( - /* validates */ - other) < 0; - }; - /** - * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.lt = LongPrototype.lessThan; - /** - * Tests if this Long's value is less than or equal the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.lessThanOrEqual = function lessThanOrEqual(other) { - return this.comp( - /* validates */ - other) <= 0; - }; - /** - * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.lte = LongPrototype.lessThanOrEqual; - /** - * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.le = LongPrototype.lessThanOrEqual; - /** - * Tests if this Long's value is greater than the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.greaterThan = function greaterThan(other) { - return this.comp( - /* validates */ - other) > 0; - }; - /** - * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.gt = LongPrototype.greaterThan; - /** - * Tests if this Long's value is greater than or equal the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) { - return this.comp( - /* validates */ - other) >= 0; - }; - /** - * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - - LongPrototype.gte = LongPrototype.greaterThanOrEqual; - /** - * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}. - * @function - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - - LongPrototype.ge = LongPrototype.greaterThanOrEqual; - /** - * Compares this Long's value with the specified's. - * @this {!Long} - * @param {!Long|number|string} other Other value - * @returns {number} 0 if they are the same, 1 if the this is greater and -1 - * if the given one is greater - */ - - LongPrototype.compare = function compare(other) { - if (!isLong(other)) other = fromValue(other); - if (this.eq(other)) return 0; - var thisNeg = this.isNegative(), + }; + + /** + * Gets the high 32 bits as a signed integer. + * @this {!Long} + * @returns {number} Signed high bits + */ + LongPrototype.getHighBits = function getHighBits() { + return this.high; + }; + + /** + * Gets the high 32 bits as an unsigned integer. + * @this {!Long} + * @returns {number} Unsigned high bits + */ + LongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() { + return this.high >>> 0; + }; + + /** + * Gets the low 32 bits as a signed integer. + * @this {!Long} + * @returns {number} Signed low bits + */ + LongPrototype.getLowBits = function getLowBits() { + return this.low; + }; + + /** + * Gets the low 32 bits as an unsigned integer. + * @this {!Long} + * @returns {number} Unsigned low bits + */ + LongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() { + return this.low >>> 0; + }; + + /** + * Gets the number of bits needed to represent the absolute value of this Long. + * @this {!Long} + * @returns {number} + */ + LongPrototype.getNumBitsAbs = function getNumBitsAbs() { + if (this.isNegative()) + // Unsigned Longs are never negative + return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs(); + var val = this.high != 0 ? this.high : this.low; + for (var bit = 31; bit > 0; bit--) if ((val & (1 << bit)) != 0) break; + return this.high != 0 ? bit + 33 : bit + 1; + }; + + /** + * Tests if this Long can be safely represented as a JavaScript number. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isSafeInteger = function isSafeInteger() { + // 2^53-1 is the maximum safe value + var top11Bits = this.high >> 21; + // [0, 2^53-1] + if (!top11Bits) return true; + // > 2^53-1 + if (this.unsigned) return false; + // [-2^53, -1] except -2^53 + return top11Bits === -1 && !(this.low === 0 && this.high === -0x200000); + }; + + /** + * Tests if this Long's value equals zero. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isZero = function isZero() { + return this.high === 0 && this.low === 0; + }; + + /** + * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}. + * @returns {boolean} + */ + LongPrototype.eqz = LongPrototype.isZero; + + /** + * Tests if this Long's value is negative. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isNegative = function isNegative() { + return !this.unsigned && this.high < 0; + }; + + /** + * Tests if this Long's value is positive or zero. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isPositive = function isPositive() { + return this.unsigned || this.high >= 0; + }; + + /** + * Tests if this Long's value is odd. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isOdd = function isOdd() { + return (this.low & 1) === 1; + }; + + /** + * Tests if this Long's value is even. + * @this {!Long} + * @returns {boolean} + */ + LongPrototype.isEven = function isEven() { + return (this.low & 1) === 0; + }; + + /** + * Tests if this Long's value equals the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.equals = function equals(other) { + if (!isLong(other)) other = fromValue(other); + if ( + this.unsigned !== other.unsigned && + this.high >>> 31 === 1 && + other.high >>> 31 === 1 + ) + return false; + return this.high === other.high && this.low === other.low; + }; + + /** + * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.eq = LongPrototype.equals; + + /** + * Tests if this Long's value differs from the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.notEquals = function notEquals(other) { + return !this.eq(/* validates */ other); + }; + + /** + * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.neq = LongPrototype.notEquals; + + /** + * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.ne = LongPrototype.notEquals; + + /** + * Tests if this Long's value is less than the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.lessThan = function lessThan(other) { + return this.comp(/* validates */ other) < 0; + }; + + /** + * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.lt = LongPrototype.lessThan; + + /** + * Tests if this Long's value is less than or equal the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.lessThanOrEqual = function lessThanOrEqual(other) { + return this.comp(/* validates */ other) <= 0; + }; + + /** + * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.lte = LongPrototype.lessThanOrEqual; + + /** + * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.le = LongPrototype.lessThanOrEqual; + + /** + * Tests if this Long's value is greater than the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.greaterThan = function greaterThan(other) { + return this.comp(/* validates */ other) > 0; + }; + + /** + * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.gt = LongPrototype.greaterThan; + + /** + * Tests if this Long's value is greater than or equal the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) { + return this.comp(/* validates */ other) >= 0; + }; + + /** + * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.gte = LongPrototype.greaterThanOrEqual; + + /** + * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {boolean} + */ + LongPrototype.ge = LongPrototype.greaterThanOrEqual; + + /** + * Compares this Long's value with the specified's. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other value + * @returns {number} 0 if they are the same, 1 if the this is greater and -1 + * if the given one is greater + */ + LongPrototype.compare = function compare(other) { + if (!isLong(other)) other = fromValue(other); + if (this.eq(other)) return 0; + var thisNeg = this.isNegative(), otherNeg = other.isNegative(); - if (thisNeg && !otherNeg) return -1; - if (!thisNeg && otherNeg) return 1; // At this point the sign bits are the same - - if (!this.unsigned) return this.sub(other).isNegative() ? -1 : 1; // Both are positive if at least one is unsigned - - return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1; - }; - /** - * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}. - * @function - * @param {!Long|number|string} other Other value - * @returns {number} 0 if they are the same, 1 if the this is greater and -1 - * if the given one is greater - */ - - - LongPrototype.comp = LongPrototype.compare; - /** - * Negates this Long's value. - * @this {!Long} - * @returns {!Long} Negated Long - */ - - LongPrototype.negate = function negate() { - if (!this.unsigned && this.eq(MIN_VALUE)) return MIN_VALUE; - return this.not().add(ONE); - }; - /** - * Negates this Long's value. This is an alias of {@link Long#negate}. - * @function - * @returns {!Long} Negated Long - */ - - - LongPrototype.neg = LongPrototype.negate; - /** - * Returns the sum of this and the specified Long. - * @this {!Long} - * @param {!Long|number|string} addend Addend - * @returns {!Long} Sum - */ - - LongPrototype.add = function add(addend) { - if (!isLong(addend)) addend = fromValue(addend); // Divide each number into 4 chunks of 16 bits, and then sum the chunks. - - var a48 = this.high >>> 16; - var a32 = this.high & 0xFFFF; - var a16 = this.low >>> 16; - var a00 = this.low & 0xFFFF; - var b48 = addend.high >>> 16; - var b32 = addend.high & 0xFFFF; - var b16 = addend.low >>> 16; - var b00 = addend.low & 0xFFFF; - var c48 = 0, + if (thisNeg && !otherNeg) return -1; + if (!thisNeg && otherNeg) return 1; + // At this point the sign bits are the same + if (!this.unsigned) return this.sub(other).isNegative() ? -1 : 1; + // Both are positive if at least one is unsigned + return other.high >>> 0 > this.high >>> 0 || + (other.high === this.high && other.low >>> 0 > this.low >>> 0) + ? -1 + : 1; + }; + + /** + * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}. + * @function + * @param {!Long|number|bigint|string} other Other value + * @returns {number} 0 if they are the same, 1 if the this is greater and -1 + * if the given one is greater + */ + LongPrototype.comp = LongPrototype.compare; + + /** + * Negates this Long's value. + * @this {!Long} + * @returns {!Long} Negated Long + */ + LongPrototype.negate = function negate() { + if (!this.unsigned && this.eq(MIN_VALUE)) return MIN_VALUE; + return this.not().add(ONE); + }; + + /** + * Negates this Long's value. This is an alias of {@link Long#negate}. + * @function + * @returns {!Long} Negated Long + */ + LongPrototype.neg = LongPrototype.negate; + + /** + * Returns the sum of this and the specified Long. + * @this {!Long} + * @param {!Long|number|bigint|string} addend Addend + * @returns {!Long} Sum + */ + LongPrototype.add = function add(addend) { + if (!isLong(addend)) addend = fromValue(addend); + + // Divide each number into 4 chunks of 16 bits, and then sum the chunks. + + var a48 = this.high >>> 16; + var a32 = this.high & 0xffff; + var a16 = this.low >>> 16; + var a00 = this.low & 0xffff; + var b48 = addend.high >>> 16; + var b32 = addend.high & 0xffff; + var b16 = addend.low >>> 16; + var b00 = addend.low & 0xffff; + var c48 = 0, c32 = 0, c16 = 0, c00 = 0; - c00 += a00 + b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 + b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 + b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 + b48; - c48 &= 0xFFFF; - return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned); - }; - /** - * Returns the difference of this and the specified Long. - * @this {!Long} - * @param {!Long|number|string} subtrahend Subtrahend - * @returns {!Long} Difference - */ - - - LongPrototype.subtract = function subtract(subtrahend) { - if (!isLong(subtrahend)) subtrahend = fromValue(subtrahend); - return this.add(subtrahend.neg()); - }; - /** - * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}. - * @function - * @param {!Long|number|string} subtrahend Subtrahend - * @returns {!Long} Difference - */ - - - LongPrototype.sub = LongPrototype.subtract; - /** - * Returns the product of this and the specified Long. - * @this {!Long} - * @param {!Long|number|string} multiplier Multiplier - * @returns {!Long} Product - */ - - LongPrototype.multiply = function multiply(multiplier) { - if (this.isZero()) return this; - if (!isLong(multiplier)) multiplier = fromValue(multiplier); // use wasm support if present - - if (wasm) { - var low = wasm["mul"](this.low, this.high, multiplier.low, multiplier.high); - return fromBits(low, wasm["get_high"](), this.unsigned); - } - - if (multiplier.isZero()) return this.unsigned ? UZERO : ZERO; - if (this.eq(MIN_VALUE)) return multiplier.isOdd() ? MIN_VALUE : ZERO; - if (multiplier.eq(MIN_VALUE)) return this.isOdd() ? MIN_VALUE : ZERO; - - if (this.isNegative()) { - if (multiplier.isNegative()) return this.neg().mul(multiplier.neg());else return this.neg().mul(multiplier).neg(); - } else if (multiplier.isNegative()) return this.mul(multiplier.neg()).neg(); // If both longs are small, use float multiplication - - - if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24)) return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned); // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. - // We can skip products that would overflow. - - var a48 = this.high >>> 16; - var a32 = this.high & 0xFFFF; - var a16 = this.low >>> 16; - var a00 = this.low & 0xFFFF; - var b48 = multiplier.high >>> 16; - var b32 = multiplier.high & 0xFFFF; - var b16 = multiplier.low >>> 16; - var b00 = multiplier.low & 0xFFFF; - var c48 = 0, + c00 += a00 + b00; + c16 += c00 >>> 16; + c00 &= 0xffff; + c16 += a16 + b16; + c32 += c16 >>> 16; + c16 &= 0xffff; + c32 += a32 + b32; + c48 += c32 >>> 16; + c32 &= 0xffff; + c48 += a48 + b48; + c48 &= 0xffff; + return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned); + }; + + /** + * Returns the difference of this and the specified Long. + * @this {!Long} + * @param {!Long|number|bigint|string} subtrahend Subtrahend + * @returns {!Long} Difference + */ + LongPrototype.subtract = function subtract(subtrahend) { + if (!isLong(subtrahend)) subtrahend = fromValue(subtrahend); + return this.add(subtrahend.neg()); + }; + + /** + * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}. + * @function + * @param {!Long|number|bigint|string} subtrahend Subtrahend + * @returns {!Long} Difference + */ + LongPrototype.sub = LongPrototype.subtract; + + /** + * Returns the product of this and the specified Long. + * @this {!Long} + * @param {!Long|number|bigint|string} multiplier Multiplier + * @returns {!Long} Product + */ + LongPrototype.multiply = function multiply(multiplier) { + if (this.isZero()) return this; + if (!isLong(multiplier)) multiplier = fromValue(multiplier); + + // use wasm support if present + if (wasm) { + var low = wasm["mul"]( + this.low, + this.high, + multiplier.low, + multiplier.high, + ); + return fromBits(low, wasm["get_high"](), this.unsigned); + } + if (multiplier.isZero()) return this.unsigned ? UZERO : ZERO; + if (this.eq(MIN_VALUE)) return multiplier.isOdd() ? MIN_VALUE : ZERO; + if (multiplier.eq(MIN_VALUE)) return this.isOdd() ? MIN_VALUE : ZERO; + if (this.isNegative()) { + if (multiplier.isNegative()) return this.neg().mul(multiplier.neg()); + else return this.neg().mul(multiplier).neg(); + } else if (multiplier.isNegative()) + return this.mul(multiplier.neg()).neg(); + + // If both longs are small, use float multiplication + if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24)) + return fromNumber( + this.toNumber() * multiplier.toNumber(), + this.unsigned, + ); + + // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. + // We can skip products that would overflow. + + var a48 = this.high >>> 16; + var a32 = this.high & 0xffff; + var a16 = this.low >>> 16; + var a00 = this.low & 0xffff; + var b48 = multiplier.high >>> 16; + var b32 = multiplier.high & 0xffff; + var b16 = multiplier.low >>> 16; + var b00 = multiplier.low & 0xffff; + var c48 = 0, c32 = 0, c16 = 0, c00 = 0; - c00 += a00 * b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 * b00; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c16 += a00 * b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 * b00; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a16 * b16; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a00 * b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; - c48 &= 0xFFFF; - return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned); - }; - /** - * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}. - * @function - * @param {!Long|number|string} multiplier Multiplier - * @returns {!Long} Product - */ - - - LongPrototype.mul = LongPrototype.multiply; - /** - * Returns this Long divided by the specified. The result is signed if this Long is signed or - * unsigned if this Long is unsigned. - * @this {!Long} - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Quotient - */ - - LongPrototype.divide = function divide(divisor) { - if (!isLong(divisor)) divisor = fromValue(divisor); - if (divisor.isZero()) throw Error('division by zero'); // use wasm support if present - - if (wasm) { - // guard against signed division overflow: the largest - // negative number / -1 would be 1 larger than the largest - // positive number, due to two's complement. - if (!this.unsigned && this.high === -0x80000000 && divisor.low === -1 && divisor.high === -1) { - // be consistent with non-wasm code path - return this; + c00 += a00 * b00; + c16 += c00 >>> 16; + c00 &= 0xffff; + c16 += a16 * b00; + c32 += c16 >>> 16; + c16 &= 0xffff; + c16 += a00 * b16; + c32 += c16 >>> 16; + c16 &= 0xffff; + c32 += a32 * b00; + c48 += c32 >>> 16; + c32 &= 0xffff; + c32 += a16 * b16; + c48 += c32 >>> 16; + c32 &= 0xffff; + c32 += a00 * b32; + c48 += c32 >>> 16; + c32 &= 0xffff; + c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; + c48 &= 0xffff; + return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned); + }; + + /** + * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}. + * @function + * @param {!Long|number|bigint|string} multiplier Multiplier + * @returns {!Long} Product + */ + LongPrototype.mul = LongPrototype.multiply; + + /** + * Returns this Long divided by the specified. The result is signed if this Long is signed or + * unsigned if this Long is unsigned. + * @this {!Long} + * @param {!Long|number|bigint|string} divisor Divisor + * @returns {!Long} Quotient + */ + LongPrototype.divide = function divide(divisor) { + if (!isLong(divisor)) divisor = fromValue(divisor); + if (divisor.isZero()) throw Error("division by zero"); + + // use wasm support if present + if (wasm) { + // guard against signed division overflow: the largest + // negative number / -1 would be 1 larger than the largest + // positive number, due to two's complement. + if ( + !this.unsigned && + this.high === -0x80000000 && + divisor.low === -1 && + divisor.high === -1 + ) { + // be consistent with non-wasm code path + return this; + } + var low = (this.unsigned ? wasm["div_u"] : wasm["div_s"])( + this.low, + this.high, + divisor.low, + divisor.high, + ); + return fromBits(low, wasm["get_high"](), this.unsigned); } - - var low = (this.unsigned ? wasm["div_u"] : wasm["div_s"])(this.low, this.high, divisor.low, divisor.high); - return fromBits(low, wasm["get_high"](), this.unsigned); - } - - if (this.isZero()) return this.unsigned ? UZERO : ZERO; - var approx, rem, res; - - if (!this.unsigned) { - // This section is only relevant for signed longs and is derived from the - // closure library as a whole. - if (this.eq(MIN_VALUE)) { - if (divisor.eq(ONE) || divisor.eq(NEG_ONE)) return MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE - else if (divisor.eq(MIN_VALUE)) return ONE;else { - // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. - var halfThis = this.shr(1); - approx = halfThis.div(divisor).shl(1); - - if (approx.eq(ZERO)) { - return divisor.isNegative() ? ONE : NEG_ONE; - } else { - rem = this.sub(divisor.mul(approx)); - res = approx.add(rem.div(divisor)); - return res; + if (this.isZero()) return this.unsigned ? UZERO : ZERO; + var approx, rem, res; + if (!this.unsigned) { + // This section is only relevant for signed longs and is derived from the + // closure library as a whole. + if (this.eq(MIN_VALUE)) { + if (divisor.eq(ONE) || divisor.eq(NEG_ONE)) + return MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE + else if (divisor.eq(MIN_VALUE)) return ONE; + else { + // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. + var halfThis = this.shr(1); + approx = halfThis.div(divisor).shl(1); + if (approx.eq(ZERO)) { + return divisor.isNegative() ? ONE : NEG_ONE; + } else { + rem = this.sub(divisor.mul(approx)); + res = approx.add(rem.div(divisor)); + return res; + } } - } - } else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO; - - if (this.isNegative()) { - if (divisor.isNegative()) return this.neg().div(divisor.neg()); - return this.neg().div(divisor).neg(); - } else if (divisor.isNegative()) return this.div(divisor.neg()).neg(); - - res = ZERO; - } else { - // The algorithm below has not been made for unsigned longs. It's therefore - // required to take special care of the MSB prior to running it. - if (!divisor.unsigned) divisor = divisor.toUnsigned(); - if (divisor.gt(this)) return UZERO; - if (divisor.gt(this.shru(1))) // 15 >>> 1 = 7 ; with divisor = 8 ; true - return UONE; - res = UZERO; - } // Repeat the following until the remainder is less than other: find a - // floating-point that approximates remainder / other *from below*, add this - // into the result, and subtract it from the remainder. It is critical that - // the approximate value is less than or equal to the real value so that the - // remainder never becomes negative. - - - rem = this; - - while (rem.gte(divisor)) { - // Approximate the result of division. This may be a little greater or - // smaller than the actual value. - approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber())); // We will tweak the approximate result by changing it in the 48-th digit or - // the smallest non-fractional digit, whichever is larger. - - var log2 = Math.ceil(Math.log(approx) / Math.LN2), + } else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO; + if (this.isNegative()) { + if (divisor.isNegative()) return this.neg().div(divisor.neg()); + return this.neg().div(divisor).neg(); + } else if (divisor.isNegative()) return this.div(divisor.neg()).neg(); + res = ZERO; + } else { + // The algorithm below has not been made for unsigned longs. It's therefore + // required to take special care of the MSB prior to running it. + if (!divisor.unsigned) divisor = divisor.toUnsigned(); + if (divisor.gt(this)) return UZERO; + if (divisor.gt(this.shru(1))) + // 15 >>> 1 = 7 ; with divisor = 8 ; true + return UONE; + res = UZERO; + } + + // Repeat the following until the remainder is less than other: find a + // floating-point that approximates remainder / other *from below*, add this + // into the result, and subtract it from the remainder. It is critical that + // the approximate value is less than or equal to the real value so that the + // remainder never becomes negative. + rem = this; + while (rem.gte(divisor)) { + // Approximate the result of division. This may be a little greater or + // smaller than the actual value. + approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber())); + + // We will tweak the approximate result by changing it in the 48-th digit or + // the smallest non-fractional digit, whichever is larger. + var log2 = Math.ceil(Math.log(approx) / Math.LN2), delta = log2 <= 48 ? 1 : pow_dbl(2, log2 - 48), // Decrease the approximation until it is smaller than the remainder. Note - // that if it is too large, the product overflows and is negative. - approxRes = fromNumber(approx), + // that if it is too large, the product overflows and is negative. + approxRes = fromNumber(approx), approxRem = approxRes.mul(divisor); - - while (approxRem.isNegative() || approxRem.gt(rem)) { - approx -= delta; - approxRes = fromNumber(approx, this.unsigned); - approxRem = approxRes.mul(divisor); - } // We know the answer can't be zero... and actually, zero would cause - // infinite recursion since we would make no progress. - - - if (approxRes.isZero()) approxRes = ONE; - res = res.add(approxRes); - rem = rem.sub(approxRem); - } - - return res; - }; - /** - * Returns this Long divided by the specified. This is an alias of {@link Long#divide}. - * @function - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Quotient - */ - - - LongPrototype.div = LongPrototype.divide; - /** - * Returns this Long modulo the specified. - * @this {!Long} - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Remainder - */ - - LongPrototype.modulo = function modulo(divisor) { - if (!isLong(divisor)) divisor = fromValue(divisor); // use wasm support if present - - if (wasm) { - var low = (this.unsigned ? wasm["rem_u"] : wasm["rem_s"])(this.low, this.high, divisor.low, divisor.high); - return fromBits(low, wasm["get_high"](), this.unsigned); - } - - return this.sub(this.div(divisor).mul(divisor)); - }; - /** - * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}. - * @function - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Remainder - */ - - - LongPrototype.mod = LongPrototype.modulo; - /** - * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}. - * @function - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Remainder - */ - - LongPrototype.rem = LongPrototype.modulo; - /** - * Returns the bitwise NOT of this Long. - * @this {!Long} - * @returns {!Long} - */ - - LongPrototype.not = function not() { - return fromBits(~this.low, ~this.high, this.unsigned); - }; - /** - * Returns count leading zeros of this Long. - * @this {!Long} - * @returns {!number} - */ - - - LongPrototype.countLeadingZeros = function countLeadingZeros() { - return this.high ? Math.clz32(this.high) : Math.clz32(this.low) + 32; - }; - /** - * Returns count leading zeros. This is an alias of {@link Long#countLeadingZeros}. - * @function - * @param {!Long} - * @returns {!number} - */ - - - LongPrototype.clz = LongPrototype.countLeadingZeros; - /** - * Returns count trailing zeros of this Long. - * @this {!Long} - * @returns {!number} - */ - - LongPrototype.countTrailingZeros = function countTrailingZeros() { - return this.low ? ctz32(this.low) : ctz32(this.high) + 32; - }; - /** - * Returns count trailing zeros. This is an alias of {@link Long#countTrailingZeros}. - * @function - * @param {!Long} - * @returns {!number} - */ - - - LongPrototype.ctz = LongPrototype.countTrailingZeros; - /** - * Returns the bitwise AND of this Long and the specified. - * @this {!Long} - * @param {!Long|number|string} other Other Long - * @returns {!Long} - */ - - LongPrototype.and = function and(other) { - if (!isLong(other)) other = fromValue(other); - return fromBits(this.low & other.low, this.high & other.high, this.unsigned); - }; - /** - * Returns the bitwise OR of this Long and the specified. - * @this {!Long} - * @param {!Long|number|string} other Other Long - * @returns {!Long} - */ - - - LongPrototype.or = function or(other) { - if (!isLong(other)) other = fromValue(other); - return fromBits(this.low | other.low, this.high | other.high, this.unsigned); - }; - /** - * Returns the bitwise XOR of this Long and the given one. - * @this {!Long} - * @param {!Long|number|string} other Other Long - * @returns {!Long} - */ - - - LongPrototype.xor = function xor(other) { - if (!isLong(other)) other = fromValue(other); - return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned); - }; - /** - * Returns this Long with bits shifted to the left by the given amount. - * @this {!Long} - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - - LongPrototype.shiftLeft = function shiftLeft(numBits) { - if (isLong(numBits)) numBits = numBits.toInt(); - if ((numBits &= 63) === 0) return this;else if (numBits < 32) return fromBits(this.low << numBits, this.high << numBits | this.low >>> 32 - numBits, this.unsigned);else return fromBits(0, this.low << numBits - 32, this.unsigned); - }; - /** - * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - - LongPrototype.shl = LongPrototype.shiftLeft; - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - * @this {!Long} - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - LongPrototype.shiftRight = function shiftRight(numBits) { - if (isLong(numBits)) numBits = numBits.toInt(); - if ((numBits &= 63) === 0) return this;else if (numBits < 32) return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >> numBits, this.unsigned);else return fromBits(this.high >> numBits - 32, this.high >= 0 ? 0 : -1, this.unsigned); - }; - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - - LongPrototype.shr = LongPrototype.shiftRight; - /** - * Returns this Long with bits logically shifted to the right by the given amount. - * @this {!Long} - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - LongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) { - if (isLong(numBits)) numBits = numBits.toInt(); - if ((numBits &= 63) === 0) return this; - if (numBits < 32) return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >>> numBits, this.unsigned); - if (numBits === 32) return fromBits(this.high, 0, this.unsigned); - return fromBits(this.high >>> numBits - 32, 0, this.unsigned); - }; - /** - * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - - LongPrototype.shru = LongPrototype.shiftRightUnsigned; - /** - * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Shifted Long - */ - - LongPrototype.shr_u = LongPrototype.shiftRightUnsigned; - /** - * Returns this Long with bits rotated to the left by the given amount. - * @this {!Long} - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Rotated Long - */ - - LongPrototype.rotateLeft = function rotateLeft(numBits) { - var b; - if (isLong(numBits)) numBits = numBits.toInt(); - if ((numBits &= 63) === 0) return this; - if (numBits === 32) return fromBits(this.high, this.low, this.unsigned); - - if (numBits < 32) { + while (approxRem.isNegative() || approxRem.gt(rem)) { + approx -= delta; + approxRes = fromNumber(approx, this.unsigned); + approxRem = approxRes.mul(divisor); + } + + // We know the answer can't be zero... and actually, zero would cause + // infinite recursion since we would make no progress. + if (approxRes.isZero()) approxRes = ONE; + res = res.add(approxRes); + rem = rem.sub(approxRem); + } + return res; + }; + + /** + * Returns this Long divided by the specified. This is an alias of {@link Long#divide}. + * @function + * @param {!Long|number|bigint|string} divisor Divisor + * @returns {!Long} Quotient + */ + LongPrototype.div = LongPrototype.divide; + + /** + * Returns this Long modulo the specified. + * @this {!Long} + * @param {!Long|number|bigint|string} divisor Divisor + * @returns {!Long} Remainder + */ + LongPrototype.modulo = function modulo(divisor) { + if (!isLong(divisor)) divisor = fromValue(divisor); + + // use wasm support if present + if (wasm) { + var low = (this.unsigned ? wasm["rem_u"] : wasm["rem_s"])( + this.low, + this.high, + divisor.low, + divisor.high, + ); + return fromBits(low, wasm["get_high"](), this.unsigned); + } + return this.sub(this.div(divisor).mul(divisor)); + }; + + /** + * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}. + * @function + * @param {!Long|number|bigint|string} divisor Divisor + * @returns {!Long} Remainder + */ + LongPrototype.mod = LongPrototype.modulo; + + /** + * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}. + * @function + * @param {!Long|number|bigint|string} divisor Divisor + * @returns {!Long} Remainder + */ + LongPrototype.rem = LongPrototype.modulo; + + /** + * Returns the bitwise NOT of this Long. + * @this {!Long} + * @returns {!Long} + */ + LongPrototype.not = function not() { + return fromBits(~this.low, ~this.high, this.unsigned); + }; + + /** + * Returns count leading zeros of this Long. + * @this {!Long} + * @returns {!number} + */ + LongPrototype.countLeadingZeros = function countLeadingZeros() { + return this.high ? Math.clz32(this.high) : Math.clz32(this.low) + 32; + }; + + /** + * Returns count leading zeros. This is an alias of {@link Long#countLeadingZeros}. + * @function + * @param {!Long} + * @returns {!number} + */ + LongPrototype.clz = LongPrototype.countLeadingZeros; + + /** + * Returns count trailing zeros of this Long. + * @this {!Long} + * @returns {!number} + */ + LongPrototype.countTrailingZeros = function countTrailingZeros() { + return this.low ? ctz32(this.low) : ctz32(this.high) + 32; + }; + + /** + * Returns count trailing zeros. This is an alias of {@link Long#countTrailingZeros}. + * @function + * @param {!Long} + * @returns {!number} + */ + LongPrototype.ctz = LongPrototype.countTrailingZeros; + + /** + * Returns the bitwise AND of this Long and the specified. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other Long + * @returns {!Long} + */ + LongPrototype.and = function and(other) { + if (!isLong(other)) other = fromValue(other); + return fromBits( + this.low & other.low, + this.high & other.high, + this.unsigned, + ); + }; + + /** + * Returns the bitwise OR of this Long and the specified. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other Long + * @returns {!Long} + */ + LongPrototype.or = function or(other) { + if (!isLong(other)) other = fromValue(other); + return fromBits( + this.low | other.low, + this.high | other.high, + this.unsigned, + ); + }; + + /** + * Returns the bitwise XOR of this Long and the given one. + * @this {!Long} + * @param {!Long|number|bigint|string} other Other Long + * @returns {!Long} + */ + LongPrototype.xor = function xor(other) { + if (!isLong(other)) other = fromValue(other); + return fromBits( + this.low ^ other.low, + this.high ^ other.high, + this.unsigned, + ); + }; + + /** + * Returns this Long with bits shifted to the left by the given amount. + * @this {!Long} + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shiftLeft = function shiftLeft(numBits) { + if (isLong(numBits)) numBits = numBits.toInt(); + if ((numBits &= 63) === 0) return this; + else if (numBits < 32) + return fromBits( + this.low << numBits, + (this.high << numBits) | (this.low >>> (32 - numBits)), + this.unsigned, + ); + else return fromBits(0, this.low << (numBits - 32), this.unsigned); + }; + + /** + * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shl = LongPrototype.shiftLeft; + + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. + * @this {!Long} + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shiftRight = function shiftRight(numBits) { + if (isLong(numBits)) numBits = numBits.toInt(); + if ((numBits &= 63) === 0) return this; + else if (numBits < 32) + return fromBits( + (this.low >>> numBits) | (this.high << (32 - numBits)), + this.high >> numBits, + this.unsigned, + ); + else + return fromBits( + this.high >> (numBits - 32), + this.high >= 0 ? 0 : -1, + this.unsigned, + ); + }; + + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shr = LongPrototype.shiftRight; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. + * @this {!Long} + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) { + if (isLong(numBits)) numBits = numBits.toInt(); + if ((numBits &= 63) === 0) return this; + if (numBits < 32) + return fromBits( + (this.low >>> numBits) | (this.high << (32 - numBits)), + this.high >>> numBits, + this.unsigned, + ); + if (numBits === 32) return fromBits(this.high, 0, this.unsigned); + return fromBits(this.high >>> (numBits - 32), 0, this.unsigned); + }; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shru = LongPrototype.shiftRightUnsigned; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Shifted Long + */ + LongPrototype.shr_u = LongPrototype.shiftRightUnsigned; + + /** + * Returns this Long with bits rotated to the left by the given amount. + * @this {!Long} + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Rotated Long + */ + LongPrototype.rotateLeft = function rotateLeft(numBits) { + var b; + if (isLong(numBits)) numBits = numBits.toInt(); + if ((numBits &= 63) === 0) return this; + if (numBits === 32) return fromBits(this.high, this.low, this.unsigned); + if (numBits < 32) { + b = 32 - numBits; + return fromBits( + (this.low << numBits) | (this.high >>> b), + (this.high << numBits) | (this.low >>> b), + this.unsigned, + ); + } + numBits -= 32; b = 32 - numBits; - return fromBits(this.low << numBits | this.high >>> b, this.high << numBits | this.low >>> b, this.unsigned); - } - - numBits -= 32; - b = 32 - numBits; - return fromBits(this.high << numBits | this.low >>> b, this.low << numBits | this.high >>> b, this.unsigned); - }; - /** - * Returns this Long with bits rotated to the left by the given amount. This is an alias of {@link Long#rotateLeft}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Rotated Long - */ - - - LongPrototype.rotl = LongPrototype.rotateLeft; - /** - * Returns this Long with bits rotated to the right by the given amount. - * @this {!Long} - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Rotated Long - */ - - LongPrototype.rotateRight = function rotateRight(numBits) { - var b; - if (isLong(numBits)) numBits = numBits.toInt(); - if ((numBits &= 63) === 0) return this; - if (numBits === 32) return fromBits(this.high, this.low, this.unsigned); - - if (numBits < 32) { + return fromBits( + (this.high << numBits) | (this.low >>> b), + (this.low << numBits) | (this.high >>> b), + this.unsigned, + ); + }; + /** + * Returns this Long with bits rotated to the left by the given amount. This is an alias of {@link Long#rotateLeft}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Rotated Long + */ + LongPrototype.rotl = LongPrototype.rotateLeft; + + /** + * Returns this Long with bits rotated to the right by the given amount. + * @this {!Long} + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Rotated Long + */ + LongPrototype.rotateRight = function rotateRight(numBits) { + var b; + if (isLong(numBits)) numBits = numBits.toInt(); + if ((numBits &= 63) === 0) return this; + if (numBits === 32) return fromBits(this.high, this.low, this.unsigned); + if (numBits < 32) { + b = 32 - numBits; + return fromBits( + (this.high << b) | (this.low >>> numBits), + (this.low << b) | (this.high >>> numBits), + this.unsigned, + ); + } + numBits -= 32; b = 32 - numBits; - return fromBits(this.high << b | this.low >>> numBits, this.low << b | this.high >>> numBits, this.unsigned); - } - - numBits -= 32; - b = 32 - numBits; - return fromBits(this.low << b | this.high >>> numBits, this.high << b | this.low >>> numBits, this.unsigned); - }; - /** - * Returns this Long with bits rotated to the right by the given amount. This is an alias of {@link Long#rotateRight}. - * @function - * @param {number|!Long} numBits Number of bits - * @returns {!Long} Rotated Long - */ - - - LongPrototype.rotr = LongPrototype.rotateRight; - /** - * Converts this Long to signed. - * @this {!Long} - * @returns {!Long} Signed long - */ - - LongPrototype.toSigned = function toSigned() { - if (!this.unsigned) return this; - return fromBits(this.low, this.high, false); - }; - /** - * Converts this Long to unsigned. - * @this {!Long} - * @returns {!Long} Unsigned long - */ - - - LongPrototype.toUnsigned = function toUnsigned() { - if (this.unsigned) return this; - return fromBits(this.low, this.high, true); - }; - /** - * Converts this Long to its byte representation. - * @param {boolean=} le Whether little or big endian, defaults to big endian - * @this {!Long} - * @returns {!Array.} Byte representation - */ - - - LongPrototype.toBytes = function toBytes(le) { - return le ? this.toBytesLE() : this.toBytesBE(); - }; - /** - * Converts this Long to its little endian byte representation. - * @this {!Long} - * @returns {!Array.} Little endian byte representation - */ - - - LongPrototype.toBytesLE = function toBytesLE() { - var hi = this.high, + return fromBits( + (this.low << b) | (this.high >>> numBits), + (this.high << b) | (this.low >>> numBits), + this.unsigned, + ); + }; + /** + * Returns this Long with bits rotated to the right by the given amount. This is an alias of {@link Long#rotateRight}. + * @function + * @param {number|!Long} numBits Number of bits + * @returns {!Long} Rotated Long + */ + LongPrototype.rotr = LongPrototype.rotateRight; + + /** + * Converts this Long to signed. + * @this {!Long} + * @returns {!Long} Signed long + */ + LongPrototype.toSigned = function toSigned() { + if (!this.unsigned) return this; + return fromBits(this.low, this.high, false); + }; + + /** + * Converts this Long to unsigned. + * @this {!Long} + * @returns {!Long} Unsigned long + */ + LongPrototype.toUnsigned = function toUnsigned() { + if (this.unsigned) return this; + return fromBits(this.low, this.high, true); + }; + + /** + * Converts this Long to its byte representation. + * @param {boolean=} le Whether little or big endian, defaults to big endian + * @this {!Long} + * @returns {!Array.} Byte representation + */ + LongPrototype.toBytes = function toBytes(le) { + return le ? this.toBytesLE() : this.toBytesBE(); + }; + + /** + * Converts this Long to its little endian byte representation. + * @this {!Long} + * @returns {!Array.} Little endian byte representation + */ + LongPrototype.toBytesLE = function toBytesLE() { + var hi = this.high, lo = this.low; - return [lo & 0xff, lo >>> 8 & 0xff, lo >>> 16 & 0xff, lo >>> 24, hi & 0xff, hi >>> 8 & 0xff, hi >>> 16 & 0xff, hi >>> 24]; - }; - /** - * Converts this Long to its big endian byte representation. - * @this {!Long} - * @returns {!Array.} Big endian byte representation - */ - - - LongPrototype.toBytesBE = function toBytesBE() { - var hi = this.high, + return [ + lo & 0xff, + (lo >>> 8) & 0xff, + (lo >>> 16) & 0xff, + lo >>> 24, + hi & 0xff, + (hi >>> 8) & 0xff, + (hi >>> 16) & 0xff, + hi >>> 24, + ]; + }; + + /** + * Converts this Long to its big endian byte representation. + * @this {!Long} + * @returns {!Array.} Big endian byte representation + */ + LongPrototype.toBytesBE = function toBytesBE() { + var hi = this.high, lo = this.low; - return [hi >>> 24, hi >>> 16 & 0xff, hi >>> 8 & 0xff, hi & 0xff, lo >>> 24, lo >>> 16 & 0xff, lo >>> 8 & 0xff, lo & 0xff]; - }; - /** - * Creates a Long from its byte representation. - * @param {!Array.} bytes Byte representation - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @param {boolean=} le Whether little or big endian, defaults to big endian - * @returns {Long} The corresponding Long value - */ - - - Long.fromBytes = function fromBytes(bytes, unsigned, le) { - return le ? Long.fromBytesLE(bytes, unsigned) : Long.fromBytesBE(bytes, unsigned); - }; - /** - * Creates a Long from its little endian byte representation. - * @param {!Array.} bytes Little endian byte representation - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {Long} The corresponding Long value - */ - - - Long.fromBytesLE = function fromBytesLE(bytes, unsigned) { - return new Long(bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24, bytes[4] | bytes[5] << 8 | bytes[6] << 16 | bytes[7] << 24, unsigned); - }; - /** - * Creates a Long from its big endian byte representation. - * @param {!Array.} bytes Big endian byte representation - * @param {boolean=} unsigned Whether unsigned or not, defaults to signed - * @returns {Long} The corresponding Long value - */ - - - Long.fromBytesBE = function fromBytesBE(bytes, unsigned) { - return new Long(bytes[4] << 24 | bytes[5] << 16 | bytes[6] << 8 | bytes[7], bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], unsigned); - }; - - var _default = Long; - exports.default = _default; - return "default" in exports ? exports.default : exports; -})({}); -if (typeof define === 'function' && define.amd) define([], function() { return Long; }); -else if (typeof module === 'object' && typeof exports === 'object') module.exports = Long; + return [ + hi >>> 24, + (hi >>> 16) & 0xff, + (hi >>> 8) & 0xff, + hi & 0xff, + lo >>> 24, + (lo >>> 16) & 0xff, + (lo >>> 8) & 0xff, + lo & 0xff, + ]; + }; + + /** + * Creates a Long from its byte representation. + * @param {!Array.} bytes Byte representation + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @param {boolean=} le Whether little or big endian, defaults to big endian + * @returns {Long} The corresponding Long value + */ + Long.fromBytes = function fromBytes(bytes, unsigned, le) { + return le + ? Long.fromBytesLE(bytes, unsigned) + : Long.fromBytesBE(bytes, unsigned); + }; + + /** + * Creates a Long from its little endian byte representation. + * @param {!Array.} bytes Little endian byte representation + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {Long} The corresponding Long value + */ + Long.fromBytesLE = function fromBytesLE(bytes, unsigned) { + return new Long( + bytes[0] | (bytes[1] << 8) | (bytes[2] << 16) | (bytes[3] << 24), + bytes[4] | (bytes[5] << 8) | (bytes[6] << 16) | (bytes[7] << 24), + unsigned, + ); + }; + + /** + * Creates a Long from its big endian byte representation. + * @param {!Array.} bytes Big endian byte representation + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {Long} The corresponding Long value + */ + Long.fromBytesBE = function fromBytesBE(bytes, unsigned) { + return new Long( + (bytes[4] << 24) | (bytes[5] << 16) | (bytes[6] << 8) | bytes[7], + (bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3], + unsigned, + ); + }; + + // Support conversion to/from BigInt where available + if (typeof BigInt === "function") { + /** + * Returns a Long representing the given big integer. + * @function + * @param {number} value The big integer value + * @param {boolean=} unsigned Whether unsigned or not, defaults to signed + * @returns {!Long} The corresponding Long value + */ + Long.fromBigInt = function fromBigInt(value, unsigned) { + var lowBits = Number(BigInt.asIntN(32, value)); + var highBits = Number(BigInt.asIntN(32, value >> BigInt(32))); + return fromBits(lowBits, highBits, unsigned); + }; + + // Override + Long.fromValue = function fromValueWithBigInt(value, unsigned) { + if (typeof value === "bigint") return fromBigInt(value, unsigned); + return fromValue(value, unsigned); + }; + + /** + * Converts the Long to its big integer representation. + * @this {!Long} + * @returns {bigint} + */ + LongPrototype.toBigInt = function toBigInt() { + var lowBigInt = BigInt(this.low >>> 0); + var highBigInt = BigInt(this.unsigned ? this.high >>> 0 : this.high); + return (highBigInt << BigInt(32)) | lowBigInt; + }; + } + var _default = (_exports.default = Long); + }, +); diff --git a/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs b/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs new file mode 100644 index 0000000000000000000000000000000000000000..a914c59f727f37896d414ded3be44278df7973cc --- /dev/null +++ b/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs @@ -0,0 +1 @@ +export{Buffer}from"node:buffer"; diff --git a/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs b/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f3e37cae7f4fcd4b5e727823e3a42bdc9f403201 --- /dev/null +++ b/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs @@ -0,0 +1 @@ +export{EventEmitter}from"node:events"; diff --git a/.output/server/node_modules/node-mock-http/dist/index.mjs b/.output/server/node_modules/node-mock-http/dist/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9b625de361f2571ab060ff8081b970ff4c6dda92 --- /dev/null +++ b/.output/server/node_modules/node-mock-http/dist/index.mjs @@ -0,0 +1 @@ +import{EventEmitter as f}from"node-mock-http/_polyfill/events";import{Buffer as h}from"node-mock-http/_polyfill/buffer";function o(n){throw new Error(`${n} is not implemented yet!`)}class i extends f{__unenv__={};readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new i(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw o("Readable.asyncIterator")}iterator(e){throw o("Readable.iterator")}map(e,t){throw o("Readable.map")}filter(e,t){throw o("Readable.filter")}forEach(e,t){throw o("Readable.forEach")}reduce(e,t,r){throw o("Readable.reduce")}find(e,t){throw o("Readable.find")}findIndex(e,t){throw o("Readable.findIndex")}some(e,t){throw o("Readable.some")}toArray(e){throw o("Readable.toArray")}every(e,t){throw o("Readable.every")}flatMap(e,t){throw o("Readable.flatMap")}drop(e,t){throw o("Readable.drop")}take(e,t){throw o("Readable.take")}asIndexedPairs(e){throw o("Readable.asIndexedPairs")}}class l extends f{__unenv__={};writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,r){if(this.writableEnded){r&&r();return}if(this._data===void 0)this._data=e;else{const s=typeof this._data=="string"?h.from(this._data,this._encoding||t||"utf8"):this._data,a=typeof e=="string"?h.from(e,t||this._encoding||"utf8"):e;this._data=h.concat([s,a])}this._encoding=t,r&&r()}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,r){const s=typeof t=="string"?this._encoding:"utf8",a=typeof t=="function"?t:typeof r=="function"?r:void 0;return this._write(e,s,a),!0}setDefaultEncoding(e){return this}end(e,t,r){const s=typeof e=="function"?e:typeof t=="function"?t:typeof r=="function"?r:void 0;if(this.writableEnded)return s&&s(),this;const a=e===s?void 0:e;if(a){const u=t===s?void 0:t;this.write(a,u,s)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("Method not implemented.")}}const c=class{allowHalfOpen=!0;_destroy;constructor(e=new i,t=new l){Object.assign(this,e),Object.assign(this,t),this._destroy=g(e._destroy,t._destroy)}};function _(){return Object.assign(c.prototype,i.prototype),Object.assign(c.prototype,l.prototype),c}function g(...n){return function(...e){for(const t of n)t(...e)}}const m=_();class A extends m{__unenv__={};bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,r){return!1}connect(e,t,r){return this}end(e,t,r){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class y extends i{aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new A}get rawHeaders(){const e=this.headers,t=[];for(const r in e)if(Array.isArray(e[r]))for(const s of e[r])t.push(r,s);else t.push(r,e[r]);return t}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return p(this.headers)}get trailersDistinct(){return p(this.trailers)}}function p(n){const e={};for(const[t,r]of Object.entries(n))t&&(e[t]=(Array.isArray(r)?r:[r]).filter(Boolean));return e}class w extends l{statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,r){e&&(this.statusCode=e),typeof t=="string"&&(this.statusMessage=t,t=void 0);const s=r||t;if(s&&!Array.isArray(s))for(const a in s)this.setHeader(a,s[a]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const r=this._headers[e],s=[...Array.isArray(r)?r:[r],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=s.length>1?s:s[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}setHeaders(e){for(const[t,r]of Object.entries(e))this.setHeader(t,r);return this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){typeof t=="function"&&t()}}const E=(()=>{const n=function(){};return n.prototype=Object.create(null),n})();function R(n={}){const e=new E,t=Array.isArray(n)||H(n)?n:Object.entries(n);for(const[r,s]of t)if(s){if(e[r]===void 0){e[r]=s;continue}e[r]=[...Array.isArray(e[r])?e[r]:[e[r]],...Array.isArray(s)?s:[s]]}return e}function H(n){return typeof n?.entries=="function"}function S(n={}){if(n instanceof Headers)return n;const e=new Headers;for(const[t,r]of Object.entries(n))if(r!==void 0){if(Array.isArray(r)){for(const s of r)e.append(t,String(s));continue}e.set(t,String(r))}return e}const C=new Set([101,204,205,304]);async function b(n,e){const t=new y,r=new w(t);t.url=e.url?.toString()||"/";let s;if(!t.url.startsWith("/")){const d=new URL(t.url);s=d.host,t.url=d.pathname+d.search+d.hash}t.method=e.method||"GET",t.headers=R(e.headers||{}),t.headers.host||(t.headers.host=e.host||s||"localhost"),t.connection.encrypted=t.connection.encrypted||e.protocol==="https",t.body=e.body||null,t.__unenv__=e.context,await n(t,r);let a=r._data;(C.has(r.statusCode)||t.method.toUpperCase()==="HEAD")&&(a=null,delete r._headers["content-length"]);const u={status:r.statusCode,statusText:r.statusMessage,headers:r._headers,body:a};return t.destroy(),r.destroy(),u}async function O(n,e,t={}){try{const r=await b(n,{url:e,...t});return new Response(r.body,{status:r.status,statusText:r.statusText,headers:S(r.headers)})}catch(r){return new Response(r.toString(),{status:Number.parseInt(r.statusCode||r.code)||500,statusText:r.statusText})}}export{y as IncomingMessage,w as ServerResponse,b as callNodeRequestHandler,O as fetchNodeRequestHandler}; diff --git a/.output/server/node_modules/node-mock-http/package.json b/.output/server/node_modules/node-mock-http/package.json new file mode 100644 index 0000000000000000000000000000000000000000..1b1d2c32c24bcdbfabfb28e4da9f1a2c5eedee4a --- /dev/null +++ b/.output/server/node_modules/node-mock-http/package.json @@ -0,0 +1,63 @@ +{ + "name": "node-mock-http", + "version": "1.0.0", + "description": "", + "repository": "unjs/node-mock-http", + "license": "MIT", + "sideEffects": false, + "type": "module", + "exports": { + ".": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "./_polyfill/buffer": { + "import": { + "node": "./dist/_polyfill/buffer/node.mjs", + "default": "./dist/_polyfill/buffer/nodeless.mjs" + }, + "require": { + "node": "./dist/_polyfill/buffer/node.cjs", + "default": "./dist/_polyfill/buffer/nodeless.cjs" + } + }, + "./_polyfill/events": { + "import": { + "node": "./dist/_polyfill/events/node.mjs", + "default": "./dist/_polyfill/events/nodeless.mjs" + }, + "require": { + "node": "./dist/_polyfill/events/node.cjs", + "default": "./dist/_polyfill/events/nodeless.cjs" + } + } + }, + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], + "scripts": { + "build": "unbuild --minify", + "dev": "vitest dev --coverage", + "lint": "eslint . && prettier -c .", + "lint:fix": "automd && eslint . --fix && prettier -w .", + "prepack": "pnpm build", + "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags", + "test": "pnpm lint && pnpm test:types && vitest run --coverage", + "test:types": "tsc --noEmit --skipLibCheck" + }, + "devDependencies": { + "@types/node": "^22.12.0", + "@vitest/coverage-v8": "^3.0.4", + "automd": "^0.3.12", + "changelogen": "^0.5.7", + "eslint": "^9.19.0", + "eslint-config-unjs": "^0.4.2", + "jiti": "^2.4.2", + "prettier": "^3.4.2", + "typescript": "^5.7.3", + "unbuild": "^3.3.1", + "vitest": "^3.0.4" + }, + "packageManager": "pnpm@10.2.0" +} \ No newline at end of file diff --git a/.output/server/package.json b/.output/server/package.json index dac409e2dd30a0f37571f0a4ec1d99d301896252..6067052421c331649607e15bf3221bf32467e216 100644 --- a/.output/server/package.json +++ b/.output/server/package.json @@ -1 +1 @@ -{"name":"seedchat-prod","version":"1.0.6","type":"module","private":true,"dependencies":{"@grpc/grpc-js":"1.12.6","@grpc/proto-loader":"0.7.13","@js-sdsl/ordered-map":"4.4.2","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.4","@protobufjs/eventemitter":"1.1.0","@protobufjs/fetch":"1.1.0","@protobufjs/float":"1.0.2","@protobufjs/inquire":"1.1.0","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.0","asynckit":"0.4.0","call-bind-apply-helpers":"1.0.1","combined-stream":"1.0.8","delayed-stream":"1.0.0","dunder-proto":"1.0.1","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.1","es-set-tostringtag":"2.1.0","eventsource-parser":"3.0.0","form-data":"4.0.2","function-bind":"1.1.2","get-intrinsic":"1.2.7","get-proto":"1.0.1","gopd":"1.2.0","has-symbols":"1.1.0","has-tostringtag":"1.0.2","hasown":"2.0.2","jose":"6.0.8","lodash.camelcase":"4.3.0","long":"5.2.4","math-intrinsics":"1.1.0","mime-db":"1.52.0","mime-types":"2.1.35","protobufjs":"7.4.0","uuid":"11.1.0","ws":"8.18.1"}} \ No newline at end of file +{"name":"seedchat-prod","version":"1.0.6","type":"module","private":true,"dependencies":{"@grpc/grpc-js":"1.12.6","@grpc/proto-loader":"0.7.13","@js-sdsl/ordered-map":"4.4.2","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.4","@protobufjs/eventemitter":"1.1.0","@protobufjs/fetch":"1.1.0","@protobufjs/float":"1.0.2","@protobufjs/inquire":"1.1.0","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.0","asynckit":"0.4.0","call-bind-apply-helpers":"1.0.2","combined-stream":"1.0.8","delayed-stream":"1.0.0","dunder-proto":"1.0.1","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.1","es-set-tostringtag":"2.1.0","eventsource-parser":"3.0.0","form-data":"4.0.2","function-bind":"1.1.2","get-intrinsic":"1.3.0","get-proto":"1.0.1","gopd":"1.2.0","has-symbols":"1.1.0","has-tostringtag":"1.0.2","hasown":"2.0.2","jose":"6.0.8","lodash.camelcase":"4.3.0","long":"5.3.1","math-intrinsics":"1.1.0","mime-db":"1.52.0","mime-types":"2.1.35","node-mock-http":"1.0.0","protobufjs":"7.4.0","uuid":"11.1.0","ws":"8.18.1"}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7d55d0a215c83009cd2d9e571b1bb751eef4130a..4868e87d69ee1505d1c4b092b905c760e0a0a100 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,7 +74,6 @@ "vite-plugin-electron": "^0.29.0", "vite-plugin-electron-renderer": "^0.14.6", "vite-plugin-javascript-obfuscator": "^3.1.0", - "vite-plugin-pwa": "^0.21.1", "vite-svg-loader": "^5.1.0", "vitest": "^3.0.7", "vue-tsc": "^2.2.6", @@ -84,40 +83,14 @@ }, "node_modules/@agoose77/markdown-it-mermaid": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@agoose77/markdown-it-mermaid/-/markdown-it-mermaid-1.1.0.tgz", - "integrity": "sha512-DIDgGazLgcT3M60xJYXaiFZQG9UzkCl55mDpU+XucjHlPuTb80fYwZJr0Cw5uAqVScY1a4shY7QlNbObnVO4VQ==", "license": "MIT", "dependencies": { "markdown-it": "^13.0.1", "mermaid": "^9.1.7" } }, - "node_modules/@agoose77/markdown-it-mermaid/node_modules/@braintree/sanitize-url": { - "version": "6.0.4", - "resolved": "https://registry.npmmirror.com/@braintree/sanitize-url/-/sanitize-url-6.0.4.tgz", - "integrity": "sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==", - "license": "MIT" - }, - "node_modules/@agoose77/markdown-it-mermaid/node_modules/dagre-d3-es": { - "version": "7.0.9", - "resolved": "https://registry.npmmirror.com/dagre-d3-es/-/dagre-d3-es-7.0.9.tgz", - "integrity": "sha512-rYR4QfVmy+sR44IBDvVtcAmOReGBvRCWDpO2QjYwqgh9yijw6eSHBqaPG/LIOEy7aBsniLvtMW6pg19qJhq60w==", - "license": "MIT", - "dependencies": { - "d3": "^7.8.2", - "lodash-es": "^4.17.21" - } - }, - "node_modules/@agoose77/markdown-it-mermaid/node_modules/dompurify": { - "version": "2.4.3", - "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-2.4.3.tgz", - "integrity": "sha512-q6QaLcakcRjebxjg8/+NP+h0rPfatOgOzc46Fst9VAA3jF2ApfKBNKMzdP4DYTqtUMXSCd5pRS/8Po/OmoCHZQ==", - "license": "(MPL-2.0 OR Apache-2.0)" - }, "node_modules/@agoose77/markdown-it-mermaid/node_modules/entities": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/entities/-/entities-3.0.1.tgz", - "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -128,8 +101,6 @@ }, "node_modules/@agoose77/markdown-it-mermaid/node_modules/linkify-it": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/linkify-it/-/linkify-it-4.0.1.tgz", - "integrity": "sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==", "license": "MIT", "dependencies": { "uc.micro": "^1.0.1" @@ -137,8 +108,6 @@ }, "node_modules/@agoose77/markdown-it-mermaid/node_modules/markdown-it": { "version": "13.0.2", - "resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-13.0.2.tgz", - "integrity": "sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==", "license": "MIT", "dependencies": { "argparse": "^2.0.1", @@ -153,57 +122,14 @@ }, "node_modules/@agoose77/markdown-it-mermaid/node_modules/mdurl": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", "license": "MIT" }, - "node_modules/@agoose77/markdown-it-mermaid/node_modules/mermaid": { - "version": "9.4.3", - "resolved": "https://registry.npmmirror.com/mermaid/-/mermaid-9.4.3.tgz", - "integrity": "sha512-TLkQEtqhRSuEHSE34lh5bCa94KATCyluAXmFnNI2PRZwOpXFeqiJWwZl+d2CcemE1RS6QbbueSSq9QIg8Uxcyw==", - "license": "MIT", - "dependencies": { - "@braintree/sanitize-url": "^6.0.0", - "cytoscape": "^3.23.0", - "cytoscape-cose-bilkent": "^4.1.0", - "cytoscape-fcose": "^2.1.0", - "d3": "^7.4.0", - "dagre-d3-es": "7.0.9", - "dayjs": "^1.11.7", - "dompurify": "2.4.3", - "elkjs": "^0.8.2", - "khroma": "^2.0.0", - "lodash-es": "^4.17.21", - "non-layered-tidy-tree-layout": "^2.0.2", - "stylis": "^4.1.2", - "ts-dedent": "^2.2.0", - "uuid": "^9.0.0", - "web-worker": "^1.2.0" - } - }, "node_modules/@agoose77/markdown-it-mermaid/node_modules/uc.micro": { "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "license": "MIT" }, - "node_modules/@agoose77/markdown-it-mermaid/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@alloc/quick-lru": { "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", - "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", "dev": true, "license": "MIT", "engines": { @@ -215,8 +141,6 @@ }, "node_modules/@ampproject/remapping": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", @@ -228,8 +152,6 @@ }, "node_modules/@babel/code-frame": { "version": "7.26.2", - "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.25.9", @@ -241,30 +163,26 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.26.5.tgz", - "integrity": "sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==", + "version": "7.26.8", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/core/-/core-7.26.7.tgz", - "integrity": "sha512-SRijHmF0PSPgLIBYlWnG0hyeJLwXE2CgpsXaMOrtt2yp9/86ALw6oUlj9KYuZ0JN07T4eBMVIW4li/9S1j2BGA==", + "version": "7.26.9", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.5", + "@babel/generator": "^7.26.9", "@babel/helper-compilation-targets": "^7.26.5", "@babel/helper-module-transforms": "^7.26.0", - "@babel/helpers": "^7.26.7", - "@babel/parser": "^7.26.7", - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.26.7", - "@babel/types": "^7.26.7", + "@babel/helpers": "^7.26.9", + "@babel/parser": "^7.26.9", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.9", + "@babel/types": "^7.26.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -280,13 +198,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/generator/-/generator-7.26.5.tgz", - "integrity": "sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==", + "version": "7.26.9", "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.5", - "@babel/types": "^7.26.5", + "@babel/parser": "^7.26.9", + "@babel/types": "^7.26.9", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -295,23 +211,8 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz", - "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz", - "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==", "license": "MIT", "dependencies": { "@babel/compat-data": "^7.26.5", @@ -326,8 +227,6 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { "version": "5.1.1", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "license": "ISC", "dependencies": { "yallist": "^3.0.2" @@ -335,42 +234,26 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "license": "ISC" }, - "node_modules/@babel/helper-create-class-features-plugin": { + "node_modules/@babel/helper-module-imports": { "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.9.tgz", - "integrity": "sha512-UTZQMvt0d/rSz6KI+qdu7GQze5TIajwTS++GUozlw8VBJDEOAqSXwm1WvmYEZwqdqSGQshRocPDqrt4HBZB3fQ==", - "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-member-expression-to-functions": "^7.25.9", - "@babel/helper-optimise-call-expression": "^7.25.9", - "@babel/helper-replace-supers": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", "@babel/traverse": "^7.25.9", - "semver": "^6.3.1" + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.26.3", - "resolved": "https://registry.npmmirror.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.26.3.tgz", - "integrity": "sha512-G7ZRb40uUgdKOQqPLjfD12ZmGA54PzqDFUv2BKImnC9QIfGhIHKvVML0oN8IUiDq4iRqpq74ABpvOaerfWdong==", - "dev": true, + "node_modules/@babel/helper-module-transforms": { + "version": "7.26.0", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "regexpu-core": "^6.2.0", - "semver": "^6.3.1" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -379,2810 +262,1026 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.6.3", - "resolved": "https://registry.npmmirror.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.3.tgz", - "integrity": "sha512-HK7Bi+Hj6H+VTHA3ZvBis7V/6hu9QuTrnMXNybfUf2iiuU/N97I8VjB+KbhFF8Rld/Lx5MzoCwPCpPjfK+n8Cg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { + "node_modules/@babel/helper-string-parser": { "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz", - "integrity": "sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==", - "dev": true, "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" - }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-imports": { + "node_modules/@babel/helper-validator-identifier": { "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", - "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" - }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "resolved": "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", - "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "node_modules/@babel/helper-validator-option": { + "version": "7.25.9", "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz", - "integrity": "sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==", - "dev": true, + "node_modules/@babel/helpers": { + "version": "7.26.9", "license": "MIT", "dependencies": { - "@babel/types": "^7.25.9" + "@babel/template": "^7.26.9", + "@babel/types": "^7.26.9" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", - "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.9.tgz", - "integrity": "sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw==", - "dev": true, + "node_modules/@babel/parser": { + "version": "7.26.9", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-wrap-function": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/types": "^7.26.9" }, - "engines": { - "node": ">=6.9.0" + "bin": { + "parser": "bin/babel-parser.js" }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "engines": { + "node": ">=6.0.0" } }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.26.5.tgz", - "integrity": "sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==", - "dev": true, + "node_modules/@babel/runtime": { + "version": "7.26.9", "license": "MIT", "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.25.9", - "@babel/helper-optimise-call-expression": "^7.25.9", - "@babel/traverse": "^7.26.5" + "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz", - "integrity": "sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==", - "dev": true, + "node_modules/@babel/runtime-corejs3": { + "version": "7.18.9", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "core-js-pure": "^3.20.2", + "regenerator-runtime": "^0.13.4" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime": { + "version": "0.13.11", + "license": "MIT" + }, + "node_modules/@babel/standalone": { + "version": "7.26.9", "license": "MIT", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "node_modules/@babel/template": { + "version": "7.26.9", "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/parser": "^7.26.9", + "@babel/types": "^7.26.9" + }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-option": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", - "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "node_modules/@babel/traverse": { + "version": "7.26.9", "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.9", + "@babel/parser": "^7.26.9", + "@babel/template": "^7.26.9", + "@babel/types": "^7.26.9", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/helper-wrap-function/-/helper-wrap-function-7.25.9.tgz", - "integrity": "sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==", - "dev": true, + "node_modules/@babel/types": { + "version": "7.26.9", "license": "MIT", "dependencies": { - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helpers": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.26.7.tgz", - "integrity": "sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A==", - "license": "MIT", + "node_modules/@braintree/sanitize-url": { + "version": "6.0.4", + "license": "MIT" + }, + "node_modules/@bufbuild/protobuf": { + "version": "2.2.3", + "dev": true, + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, + "node_modules/@cloudflare/kv-asset-handler": { + "version": "0.3.4", + "dev": true, + "license": "MIT OR Apache-2.0", "dependencies": { - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.7" + "mime": "^3.0.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=16.13" } }, - "node_modules/@babel/parser": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.26.7.tgz", - "integrity": "sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w==", + "node_modules/@cloudflare/kv-asset-handler/node_modules/mime": { + "version": "3.0.0", + "dev": true, "license": "MIT", - "dependencies": { - "@babel/types": "^7.26.7" - }, "bin": { - "parser": "bin/babel-parser.js" + "mime": "cli.js" }, "engines": { - "node": ">=6.0.0" + "node": ">=10.0.0" } }, - "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.9.tgz", - "integrity": "sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==", + "node_modules/@cloudflare/workerd-windows-64": { + "version": "1.20250214.0", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=16" } }, - "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.9.tgz", - "integrity": "sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw==", + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@jridgewell/trace-mapping": "0.3.9" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=12" } }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.9.tgz", - "integrity": "sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug==", + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.9.tgz", - "integrity": "sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g==", + "node_modules/@develar/schema-utils": { + "version": "2.6.5", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", - "@babel/plugin-transform-optional-chaining": "^7.25.9" + "ajv": "^6.12.0", + "ajv-keywords": "^3.4.1" }, "engines": { - "node": ">=6.9.0" + "node": ">= 8.9.0" }, - "peerDependencies": { - "@babel/core": "^7.13.0" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, - "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.9.tgz", - "integrity": "sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg==", - "dev": true, + "node_modules/@dicebear/adventurer": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.21.0-placeholder-for-preset-env.2", - "resolved": "https://registry.npmmirror.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", - "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", - "dev": true, + "node_modules/@dicebear/adventurer-neutral": { + "version": "8.0.2", "license": "MIT", "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.26.0", - "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz", - "integrity": "sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==", - "dev": true, + "node_modules/@dicebear/avataaars": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.26.0", - "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", - "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", - "dev": true, + "node_modules/@dicebear/avataaars-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-syntax-unicode-sets-regex": { - "version": "7.18.6", - "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", - "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", - "dev": true, + "node_modules/@dicebear/big-ears": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.9.tgz", - "integrity": "sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==", - "dev": true, + "node_modules/@dicebear/big-ears-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.9.tgz", - "integrity": "sha512-RXV6QAzTBbhDMO9fWwOmwwTuYaiPbggWQ9INdZqAYeSHyG7FzQ+nOZaUUjNwKv9pV3aE4WFqFm1Hnbci5tBCAw==", - "dev": true, + "node_modules/@dicebear/big-smile": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-remap-async-to-generator": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz", - "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", - "dev": true, + "node_modules/@dicebear/bottts": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-remap-async-to-generator": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.26.5", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.26.5.tgz", - "integrity": "sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ==", - "dev": true, + "node_modules/@dicebear/bottts-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.9.tgz", - "integrity": "sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==", - "dev": true, + "node_modules/@dicebear/collection": { + "version": "8.0.2", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@dicebear/adventurer": "8.0.2", + "@dicebear/adventurer-neutral": "8.0.2", + "@dicebear/avataaars": "8.0.2", + "@dicebear/avataaars-neutral": "8.0.2", + "@dicebear/big-ears": "8.0.2", + "@dicebear/big-ears-neutral": "8.0.2", + "@dicebear/big-smile": "8.0.2", + "@dicebear/bottts": "8.0.2", + "@dicebear/bottts-neutral": "8.0.2", + "@dicebear/croodles": "8.0.2", + "@dicebear/croodles-neutral": "8.0.2", + "@dicebear/fun-emoji": "8.0.2", + "@dicebear/icons": "8.0.2", + "@dicebear/identicon": "8.0.2", + "@dicebear/initials": "8.0.2", + "@dicebear/lorelei": "8.0.2", + "@dicebear/lorelei-neutral": "8.0.2", + "@dicebear/micah": "8.0.2", + "@dicebear/miniavs": "8.0.2", + "@dicebear/notionists": "8.0.2", + "@dicebear/notionists-neutral": "8.0.2", + "@dicebear/open-peeps": "8.0.2", + "@dicebear/personas": "8.0.2", + "@dicebear/pixel-art": "8.0.2", + "@dicebear/pixel-art-neutral": "8.0.2", + "@dicebear/rings": "8.0.2", + "@dicebear/shapes": "8.0.2", + "@dicebear/thumbs": "8.0.2" }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.9.tgz", - "integrity": "sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q==", - "dev": true, + "node_modules/@dicebear/converter": { + "version": "8.0.2", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@types/json-schema": "^7.0.11", + "tmp-promise": "^3.0.3" }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@resvg/resvg-js": "^2.4.1", + "exiftool-vendored": "^23.0.0", + "sharp": "^0.32.6" + }, + "peerDependenciesMeta": { + "@resvg/resvg-js": { + "optional": true + }, + "exiftool-vendored": { + "optional": true + }, + "sharp": { + "optional": true + } } }, - "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.26.0", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.26.0.tgz", - "integrity": "sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==", - "dev": true, + "node_modules/@dicebear/core": { + "version": "8.0.2", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@dicebear/converter": "8.0.2", + "@types/json-schema": "^7.0.11" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" + "node": ">=16.0.0" } }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.9.tgz", - "integrity": "sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==", - "dev": true, + "node_modules/@dicebear/croodles": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-replace-supers": "^7.25.9", - "@babel/traverse": "^7.25.9", - "globals": "^11.1.0" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.9.tgz", - "integrity": "sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==", - "dev": true, + "node_modules/@dicebear/croodles-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/template": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.9.tgz", - "integrity": "sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==", - "dev": true, + "node_modules/@dicebear/fun-emoji": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.9.tgz", - "integrity": "sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA==", - "dev": true, + "node_modules/@dicebear/icons": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.9.tgz", - "integrity": "sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw==", - "dev": true, + "node_modules/@dicebear/identicon": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.9.tgz", - "integrity": "sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog==", - "dev": true, + "node_modules/@dicebear/initials": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.9.tgz", - "integrity": "sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg==", - "dev": true, + "node_modules/@dicebear/lorelei": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.26.3", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.26.3.tgz", - "integrity": "sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ==", - "dev": true, + "node_modules/@dicebear/lorelei-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.9.tgz", - "integrity": "sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww==", - "dev": true, + "node_modules/@dicebear/micah": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.25.9.tgz", - "integrity": "sha512-LqHxduHoaGELJl2uhImHwRQudhCM50pT46rIBNvtT/Oql3nqiS3wOwP+5ten7NpYSXrrVLgtZU3DZmPtWZo16A==", - "dev": true, + "node_modules/@dicebear/miniavs": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.9.tgz", - "integrity": "sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==", - "dev": true, + "node_modules/@dicebear/notionists": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.9.tgz", - "integrity": "sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw==", - "dev": true, + "node_modules/@dicebear/notionists-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.9.tgz", - "integrity": "sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==", - "dev": true, + "node_modules/@dicebear/open-peeps": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.9.tgz", - "integrity": "sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q==", - "dev": true, + "node_modules/@dicebear/personas": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.9.tgz", - "integrity": "sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==", - "dev": true, + "node_modules/@dicebear/pixel-art": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.9.tgz", - "integrity": "sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw==", - "dev": true, + "node_modules/@dicebear/pixel-art-neutral": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.26.3", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.26.3.tgz", - "integrity": "sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==", - "dev": true, + "node_modules/@dicebear/rings": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz", - "integrity": "sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==", - "dev": true, + "node_modules/@dicebear/shapes": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.9.tgz", - "integrity": "sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw==", - "dev": true, + "node_modules/@dicebear/thumbs": { + "version": "8.0.2", "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@dicebear/core": "^8.0.0" } }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.9.tgz", - "integrity": "sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA==", + "node_modules/@electron/asar": { + "version": "3.3.1", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "commander": "^5.0.0", + "glob": "^7.1.6", + "minimatch": "^3.0.4" }, - "engines": { - "node": ">=6.9.0" + "bin": { + "asar": "bin/asar.js" }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "engines": { + "node": ">=10.12.0" } }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.9.tgz", - "integrity": "sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ==", + "node_modules/@electron/asar/node_modules/brace-expansion": { + "version": "1.1.11", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.26.6", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.26.6.tgz", - "integrity": "sha512-CKW8Vu+uUZneQCPtXmSBUC6NCAUdya26hWCElAWh5mVSlSRsmiCPUUDKb3Z0szng1hiAJa098Hkhg9o4SE35Qw==", + "node_modules/@electron/asar/node_modules/minimatch": { + "version": "3.1.2", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": "*" } }, - "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.9.tgz", - "integrity": "sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q==", + "node_modules/@electron/get": { + "version": "2.0.3", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "debug": "^4.1.1", + "env-paths": "^2.2.0", + "fs-extra": "^8.1.0", + "got": "^11.8.5", + "progress": "^2.0.3", + "semver": "^6.2.0", + "sumchecker": "^3.0.1" }, "engines": { - "node": ">=6.9.0" + "node": ">=12" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "optionalDependencies": { + "global-agent": "^3.0.0" } }, - "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.9.tgz", - "integrity": "sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg==", + "node_modules/@electron/get/node_modules/fs-extra": { + "version": "8.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/plugin-transform-parameters": "^7.25.9" + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=6 <7 || >=8" } }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.9.tgz", - "integrity": "sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==", + "node_modules/@electron/get/node_modules/jsonfile": { + "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-replace-supers": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, - "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.9.tgz", - "integrity": "sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g==", + "node_modules/@electron/get/node_modules/universalify": { + "version": "0.1.2", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">= 4.0.0" } }, - "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz", - "integrity": "sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A==", + "node_modules/@electron/notarize": { + "version": "2.5.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" + "debug": "^4.1.1", + "fs-extra": "^9.0.1", + "promise-retry": "^2.0.1" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">= 10.0.0" } }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz", - "integrity": "sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==", + "node_modules/@electron/notarize/node_modules/fs-extra": { + "version": "9.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=10" } }, - "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz", - "integrity": "sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==", + "node_modules/@electron/osx-sign": { + "version": "1.3.1", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "compare-version": "^0.1.2", + "debug": "^4.3.4", + "fs-extra": "^10.0.0", + "isbinaryfile": "^4.0.8", + "minimist": "^1.2.6", + "plist": "^3.0.5" }, - "engines": { - "node": ">=6.9.0" + "bin": { + "electron-osx-flat": "bin/electron-osx-flat.js", + "electron-osx-sign": "bin/electron-osx-sign.js" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "engines": { + "node": ">=12.0.0" } }, - "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.9.tgz", - "integrity": "sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw==", + "node_modules/@electron/osx-sign/node_modules/fs-extra": { + "version": "10.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=12" } }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.9.tgz", - "integrity": "sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==", + "node_modules/@electron/osx-sign/node_modules/isbinaryfile": { + "version": "4.0.10", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">= 8.0.0" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" } }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.9.tgz", - "integrity": "sha512-vwDcDNsgMPDGP0nMqzahDWE5/MLcX8sv96+wfX7as7LoF/kr97Bo/7fI00lXY4wUXYfVmwIIyG80fGZ1uvt2qg==", + "node_modules/@electron/rebuild": { + "version": "3.6.1", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "regenerator-transform": "^0.15.2" + "@malept/cross-spawn-promise": "^2.0.0", + "chalk": "^4.0.0", + "debug": "^4.1.1", + "detect-libc": "^2.0.1", + "fs-extra": "^10.0.0", + "got": "^11.7.0", + "node-abi": "^3.45.0", + "node-api-version": "^0.2.0", + "node-gyp": "^9.0.0", + "ora": "^5.1.0", + "read-binary-file-arch": "^1.0.6", + "semver": "^7.3.5", + "tar": "^6.0.5", + "yargs": "^17.0.1" }, - "engines": { - "node": ">=6.9.0" + "bin": { + "electron-rebuild": "lib/cli.js" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "engines": { + "node": ">=12.13.0" } }, - "node_modules/@babel/plugin-transform-regexp-modifiers": { - "version": "7.26.0", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.26.0.tgz", - "integrity": "sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==", + "node_modules/@electron/rebuild/node_modules/cli-cursor": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "restore-cursor": "^3.1.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=8" } }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.9.tgz", - "integrity": "sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==", + "node_modules/@electron/rebuild/node_modules/fs-extra": { + "version": "10.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=12" } }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz", - "integrity": "sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==", + "node_modules/@electron/rebuild/node_modules/is-interactive": { + "version": "1.0.0", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=8" } }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.9.tgz", - "integrity": "sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==", + "node_modules/@electron/rebuild/node_modules/is-unicode-supported": { + "version": "0.1.0", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" - }, "engines": { - "node": ">=6.9.0" + "node": ">=10" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.9.tgz", - "integrity": "sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA==", + "node_modules/@electron/rebuild/node_modules/log-symbols": { + "version": "4.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=10" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.25.9.tgz", - "integrity": "sha512-o97AE4syN71M/lxrCtQByzphAdlYluKPDBzDVzMmfCobUjjhAryZV0AIpRPrxN0eAkxXO6ZLEScmt+PNhj2OTw==", + "node_modules/@electron/rebuild/node_modules/onetime": { + "version": "5.1.2", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "mimic-fn": "^2.1.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=6" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.26.7.tgz", - "integrity": "sha512-jfoTXXZTgGg36BmhqT3cAYK5qkmqvJpvNrPhaK/52Vgjhw4Rq29s9UqpWWV0D6yuRmgiFH/BUVlkl96zJWqnaw==", + "node_modules/@electron/rebuild/node_modules/ora": { + "version": "5.4.1", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" }, "engines": { - "node": ">=6.9.0" + "node": ">=10" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz", - "integrity": "sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q==", + "node_modules/@electron/rebuild/node_modules/restore-cursor": { + "version": "3.1.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=8" } }, - "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.9.tgz", - "integrity": "sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg==", + "node_modules/@electron/rebuild/node_modules/semver": { + "version": "7.7.1", "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=10" } }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.9.tgz", - "integrity": "sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA==", + "node_modules/@electron/rebuild/node_modules/signal-exit": { + "version": "3.0.7", + "dev": true, + "license": "ISC" + }, + "node_modules/@electron/universal": { + "version": "2.0.1", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@electron/asar": "^3.2.7", + "@malept/cross-spawn-promise": "^2.0.0", + "debug": "^4.3.1", + "dir-compare": "^4.2.0", + "fs-extra": "^11.1.1", + "minimatch": "^9.0.3", + "plist": "^3.1.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=16.4" } }, - "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.9.tgz", - "integrity": "sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ==", + "node_modules/@electron/universal/node_modules/minimatch": { + "version": "9.0.5", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=6.9.0" + "node": ">=16 || 14 >=14.17" }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@babel/preset-env": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.26.7.tgz", - "integrity": "sha512-Ycg2tnXwixaXOVb29rana8HNPgLVBof8qqtNQ9LE22IoyZboQbGSxI6ZySMdW3K5nAe6gu35IaJefUJflhUFTQ==", + "node_modules/@emnapi/runtime": { + "version": "1.3.1", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "@babel/compat-data": "^7.26.5", - "@babel/helper-compilation-targets": "^7.26.5", - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-validator-option": "^7.25.9", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.9", - "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.9", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.9", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.9", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.9", - "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-import-assertions": "^7.26.0", - "@babel/plugin-syntax-import-attributes": "^7.26.0", - "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.25.9", - "@babel/plugin-transform-async-generator-functions": "^7.25.9", - "@babel/plugin-transform-async-to-generator": "^7.25.9", - "@babel/plugin-transform-block-scoped-functions": "^7.26.5", - "@babel/plugin-transform-block-scoping": "^7.25.9", - "@babel/plugin-transform-class-properties": "^7.25.9", - "@babel/plugin-transform-class-static-block": "^7.26.0", - "@babel/plugin-transform-classes": "^7.25.9", - "@babel/plugin-transform-computed-properties": "^7.25.9", - "@babel/plugin-transform-destructuring": "^7.25.9", - "@babel/plugin-transform-dotall-regex": "^7.25.9", - "@babel/plugin-transform-duplicate-keys": "^7.25.9", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.9", - "@babel/plugin-transform-dynamic-import": "^7.25.9", - "@babel/plugin-transform-exponentiation-operator": "^7.26.3", - "@babel/plugin-transform-export-namespace-from": "^7.25.9", - "@babel/plugin-transform-for-of": "^7.25.9", - "@babel/plugin-transform-function-name": "^7.25.9", - "@babel/plugin-transform-json-strings": "^7.25.9", - "@babel/plugin-transform-literals": "^7.25.9", - "@babel/plugin-transform-logical-assignment-operators": "^7.25.9", - "@babel/plugin-transform-member-expression-literals": "^7.25.9", - "@babel/plugin-transform-modules-amd": "^7.25.9", - "@babel/plugin-transform-modules-commonjs": "^7.26.3", - "@babel/plugin-transform-modules-systemjs": "^7.25.9", - "@babel/plugin-transform-modules-umd": "^7.25.9", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.9", - "@babel/plugin-transform-new-target": "^7.25.9", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.26.6", - "@babel/plugin-transform-numeric-separator": "^7.25.9", - "@babel/plugin-transform-object-rest-spread": "^7.25.9", - "@babel/plugin-transform-object-super": "^7.25.9", - "@babel/plugin-transform-optional-catch-binding": "^7.25.9", - "@babel/plugin-transform-optional-chaining": "^7.25.9", - "@babel/plugin-transform-parameters": "^7.25.9", - "@babel/plugin-transform-private-methods": "^7.25.9", - "@babel/plugin-transform-private-property-in-object": "^7.25.9", - "@babel/plugin-transform-property-literals": "^7.25.9", - "@babel/plugin-transform-regenerator": "^7.25.9", - "@babel/plugin-transform-regexp-modifiers": "^7.26.0", - "@babel/plugin-transform-reserved-words": "^7.25.9", - "@babel/plugin-transform-shorthand-properties": "^7.25.9", - "@babel/plugin-transform-spread": "^7.25.9", - "@babel/plugin-transform-sticky-regex": "^7.25.9", - "@babel/plugin-transform-template-literals": "^7.25.9", - "@babel/plugin-transform-typeof-symbol": "^7.26.7", - "@babel/plugin-transform-unicode-escapes": "^7.25.9", - "@babel/plugin-transform-unicode-property-regex": "^7.25.9", - "@babel/plugin-transform-unicode-regex": "^7.25.9", - "@babel/plugin-transform-unicode-sets-regex": "^7.25.9", - "@babel/preset-modules": "0.1.6-no-external-plugins", - "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.6", - "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.38.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, + "tslib": "^2.4.0" + } + }, + "node_modules/@esbuild-plugins/node-globals-polyfill": { + "version": "0.2.3", + "dev": true, + "license": "ISC", "peerDependencies": { - "@babel/core": "^7.0.0-0" + "esbuild": "*" } }, - "node_modules/@babel/preset-modules": { - "version": "0.1.6-no-external-plugins", - "resolved": "https://registry.npmmirror.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", - "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", + "node_modules/@esbuild-plugins/node-modules-polyfill": { + "version": "0.2.2", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" + "escape-string-regexp": "^4.0.0", + "rollup-plugin-node-polyfills": "^0.2.1" }, "peerDependencies": { - "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" + "esbuild": "*" } }, - "node_modules/@babel/runtime": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.26.7.tgz", - "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==", + "node_modules/@esbuild/win32-x64": { + "version": "0.24.2", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/runtime-corejs3": { - "version": "7.18.9", - "resolved": "https://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.18.9.tgz", - "integrity": "sha512-qZEWeccZCrHA2Au4/X05QW5CMdm4VjUDCrGq5gf1ZDcM4hRqreKrtwAn7yci9zfgAS9apvnsFXiGBHBAxZdK9A==", + "node_modules/@fastify/busboy": { + "version": "2.1.1", + "dev": true, "license": "MIT", - "dependencies": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" - }, "engines": { - "node": ">=6.9.0" + "node": ">=14" } }, - "node_modules/@babel/runtime-corejs3/node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "node_modules/@gar/promisify": { + "version": "1.1.3", + "dev": true, "license": "MIT" }, - "node_modules/@babel/standalone": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/standalone/-/standalone-7.26.7.tgz", - "integrity": "sha512-Fvdo9Dd20GDUAREzYMIR2EFMKAJ+ccxstgQdb39XV/yvygHL4UPcqgTkiChPyltAe/b+zgq+vUPXeukEZ6aUeA==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.25.9", - "resolved": "https://registry.npmmirror.com/@babel/template/-/template-7.25.9.tgz", - "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", - "license": "MIT", + "node_modules/@grpc/grpc-js": { + "version": "1.12.6", + "license": "Apache-2.0", "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/parser": "^7.25.9", - "@babel/types": "^7.25.9" + "@grpc/proto-loader": "^0.7.13", + "@js-sdsl/ordered-map": "^4.4.2" }, "engines": { - "node": ">=6.9.0" + "node": ">=12.10.0" } }, - "node_modules/@babel/traverse": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.26.7.tgz", - "integrity": "sha512-1x1sgeyRLC3r5fQOM0/xtQKsYjyxmFjaOrLJNtZ81inNjyJHGIolTULPiSc/2qe1/qfpFLisLQYFnnZl7QoedA==", - "license": "MIT", + "node_modules/@grpc/proto-loader": { + "version": "0.7.13", + "license": "Apache-2.0", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.5", - "@babel/parser": "^7.26.7", - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.7", - "debug": "^4.3.1", - "globals": "^11.1.0" + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.5", + "yargs": "^17.7.2" }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.26.7", - "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.26.7.tgz", - "integrity": "sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg==", - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" }, "engines": { - "node": ">=6.9.0" + "node": ">=6" } }, - "node_modules/@bufbuild/protobuf": { - "version": "2.2.3", - "resolved": "https://registry.npmmirror.com/@bufbuild/protobuf/-/protobuf-2.2.3.tgz", - "integrity": "sha512-tFQoXHJdkEOSwj5tRIZSPNUuXK3RaR7T1nUrPgbYX1pUbvqqaaZAsfo+NXBPsz5rZMSKVFrgK1WL8Q/MSLvprg==", - "dev": true, - "license": "(Apache-2.0 AND BSD-3-Clause)" - }, - "node_modules/@cloudflare/kv-asset-handler": { - "version": "0.3.4", - "resolved": "https://registry.npmmirror.com/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.3.4.tgz", - "integrity": "sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q==", + "node_modules/@img/sharp-darwin-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmmirror.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", + "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT OR Apache-2.0", - "dependencies": { - "mime": "^3.0.0" - }, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=16.13" - } - }, - "node_modules/@cloudflare/kv-asset-handler/node_modules/mime": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", - "dev": true, - "license": "MIT", - "bin": { - "mime": "cli.js" + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" }, - "engines": { - "node": ">=10.0.0" + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-arm64": "1.0.4" } }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "node_modules/@img/sharp-darwin-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmmirror.com/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz", + "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@develar/schema-utils": { - "version": "2.6.5", - "resolved": "https://registry.npmmirror.com/@develar/schema-utils/-/schema-utils-2.6.5.tgz", - "integrity": "sha512-0cp4PsWQ/9avqTVMCtZ+GirikIA36ikvjtHweU4/j8yLtgObI0+JUPhYFScgwlteveGB1rt3Cm8UhN04XayDig==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.0", - "ajv-keywords": "^3.4.1" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@dicebear/adventurer": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/adventurer/-/adventurer-8.0.2.tgz", - "integrity": "sha512-xBJDe8TijYCfUstgMETGAt3eXruMpwiDjbu8HdXDDOGyyHRjS2gIj4berQBhBp2kPSw++uUNuDou3eH/9MpaUQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/adventurer-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/adventurer-neutral/-/adventurer-neutral-8.0.2.tgz", - "integrity": "sha512-7RpqZKzft4DBg5qNEOmU2Sz7O4HLXSTCUQ+Bmym9n5Hni+U/gjmTiUL6DtL5OhOoCz/5tG1hignzk9fdF8I9GA==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/avataaars": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/avataaars/-/avataaars-8.0.2.tgz", - "integrity": "sha512-ezrKvE4ma7Kmzu2u8nC39exwBlOfrqmrTYuHpND1Sfem6XMborZhlGd382+35ellTMCJE5HCyN2VnZ0HWikzvQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/avataaars-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/avataaars-neutral/-/avataaars-neutral-8.0.2.tgz", - "integrity": "sha512-T+HFETXKpk6gsW0x6t2w+gWnuQqVSw5EDCkTe4Lde5pWX4xAqYYzz7SV8fwvQGuY9RJig4UQ8LOaDwYr3vVdnw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/big-ears": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/big-ears/-/big-ears-8.0.2.tgz", - "integrity": "sha512-pFm6oJkl1gjwpNEyn+kOgyQO0bNh+6ei+S5iMiNRAnPdJ6kwEW1YXDmPIF5Aq9Xlj2FxrxRMSNI+rh4iU9mJ4Q==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/big-ears-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/big-ears-neutral/-/big-ears-neutral-8.0.2.tgz", - "integrity": "sha512-PPm1ZciS4jnrwD2btBVgJy3cffqZjwvIJJx7kGpw5vke4uks8bXmGyB1vJKftWfN6WkCvjdFbTdW8qx6NPUlBw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/big-smile": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/big-smile/-/big-smile-8.0.2.tgz", - "integrity": "sha512-vFGSYdZE7Rw3sGbl0JsUK+rSERAuXvMIoYmzwGgIWPwGkTd9/SlxemdFLZW849Nz1FfLjxtSpUyy/slgo6WpWg==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/bottts": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/bottts/-/bottts-8.0.2.tgz", - "integrity": "sha512-0Mp0g0nChHaqr0Fz00dAX1fCTGMVimYecn4oXhZgNkCHS75SkIpepVtTASLkVGOHLHe58rAIPdOoOgqWw4wW8A==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/bottts-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/bottts-neutral/-/bottts-neutral-8.0.2.tgz", - "integrity": "sha512-khiccnWoo0ivb+3PyneuWcL4bJc9+izAFFKIXvE3h7ozOT6VCT4h2WtYULaPwDYBAr85CygxgdWKd7aAujK6JQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/collection": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/collection/-/collection-8.0.2.tgz", - "integrity": "sha512-s8PW5yxjm5MxeLnHJV13fMT9IolsnaFipM6gaBoNyGs9T+krxqlAoRVy+4mES2KmaPKVUyBLdETrAUzSpGnxmQ==", - "license": "MIT", - "dependencies": { - "@dicebear/adventurer": "8.0.2", - "@dicebear/adventurer-neutral": "8.0.2", - "@dicebear/avataaars": "8.0.2", - "@dicebear/avataaars-neutral": "8.0.2", - "@dicebear/big-ears": "8.0.2", - "@dicebear/big-ears-neutral": "8.0.2", - "@dicebear/big-smile": "8.0.2", - "@dicebear/bottts": "8.0.2", - "@dicebear/bottts-neutral": "8.0.2", - "@dicebear/croodles": "8.0.2", - "@dicebear/croodles-neutral": "8.0.2", - "@dicebear/fun-emoji": "8.0.2", - "@dicebear/icons": "8.0.2", - "@dicebear/identicon": "8.0.2", - "@dicebear/initials": "8.0.2", - "@dicebear/lorelei": "8.0.2", - "@dicebear/lorelei-neutral": "8.0.2", - "@dicebear/micah": "8.0.2", - "@dicebear/miniavs": "8.0.2", - "@dicebear/notionists": "8.0.2", - "@dicebear/notionists-neutral": "8.0.2", - "@dicebear/open-peeps": "8.0.2", - "@dicebear/personas": "8.0.2", - "@dicebear/pixel-art": "8.0.2", - "@dicebear/pixel-art-neutral": "8.0.2", - "@dicebear/rings": "8.0.2", - "@dicebear/shapes": "8.0.2", - "@dicebear/thumbs": "8.0.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/converter": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/converter/-/converter-8.0.2.tgz", - "integrity": "sha512-mREmyQLIfHnt30Xzjc9ZHgDgIzbF7BXApBCYolnB2kO2Kpb14OdmsyLRsYe/Tt+Vt6sLgiigWoZFcRvbStRhLA==", - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.11", - "tmp-promise": "^3.0.3" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@resvg/resvg-js": "^2.4.1", - "exiftool-vendored": "^23.0.0", - "sharp": "^0.32.6" - }, - "peerDependenciesMeta": { - "@resvg/resvg-js": { - "optional": true - }, - "exiftool-vendored": { - "optional": true - }, - "sharp": { - "optional": true - } - } - }, - "node_modules/@dicebear/core": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/core/-/core-8.0.2.tgz", - "integrity": "sha512-Zr3dBAH+6BBYc2kjz7KvJCMYasQlsY9CZ7D3abgZhk/XRT4B3qxo8kP+FL8YjJvrOJyV2P7h08BAKZlTWuKXPA==", - "license": "MIT", - "dependencies": { - "@dicebear/converter": "8.0.2", - "@types/json-schema": "^7.0.11" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@dicebear/croodles": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/croodles/-/croodles-8.0.2.tgz", - "integrity": "sha512-UKW6PKtID0P9pUlbTy3SRbhWghHbyIjoYK/rbp1Tq2jVRmES9mLGcpO4azpP/JgsC7btjLYN7BvyDzVp6Ob7aw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/croodles-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/croodles-neutral/-/croodles-neutral-8.0.2.tgz", - "integrity": "sha512-2XvtlCe1/LPLRyrpgWkNroWzc8wB5ycz/nWdLOyTExD8ik4QQzKvUEbADxaTe1WsfTEr3fN/CN4EMk32UH5erg==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/fun-emoji": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/fun-emoji/-/fun-emoji-8.0.2.tgz", - "integrity": "sha512-F0GrSJTgfV5sKlXCuZ5fQFTkeAv10301rZjAN6nxdxEtaG3iM1NnGpVFnPYtyl/dyHNsTgRuzNz8g0qrDuMQLw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/icons": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/icons/-/icons-8.0.2.tgz", - "integrity": "sha512-UAtAcsxSFxM6YtQFkMhu0/Xvk3tP/WA0OdZ0TZZdqCIldK5dzKFsiiixa3hwLQd9AB1SyJmHAL4XVrpkWF0ijQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/identicon": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/identicon/-/identicon-8.0.2.tgz", - "integrity": "sha512-4ZejuMquE5XnN41XxZ+Tpssfv4pbFQcCFyXvDPsQv6rLT9WSj/JEXUgVNRNQSHwDEh+UzR01l5JtzOrQhw1hDw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/initials": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/initials/-/initials-8.0.2.tgz", - "integrity": "sha512-wVknmFQiCdpNgM/a0Szh3LLOJU4zK5xyzIRHejJ2KyBx2WtDfiNZjgeDM9kjg/QGWk3t3cql4ZLlzqn2DHVcEA==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/lorelei": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/lorelei/-/lorelei-8.0.2.tgz", - "integrity": "sha512-Gi/f+QWfWYZD90h9QNPkmFM6iNrp+vD8LMmapH8DQBIIV5gEaHB0AQ54y0kCqnWbv0597E6rwPkdDGO4fuEVJw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/lorelei-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/lorelei-neutral/-/lorelei-neutral-8.0.2.tgz", - "integrity": "sha512-cENa3xII5mnJ88Y61AHLTOJhhnxtFX4a/cSJ6XapwkjUVTKkNLDGWKinC6bw7A3AWFTUf2MmOg3kVlFtX6ExeQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/micah": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/micah/-/micah-8.0.2.tgz", - "integrity": "sha512-H7YYdZbvWGJGBsPgmrPQuxWp/OMUff/Y70tE+comR6bGjIJyGM9hoTNBviflaC2INK9c0ieUCmvo185axxHVfQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/miniavs": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/miniavs/-/miniavs-8.0.2.tgz", - "integrity": "sha512-xjuZUS7tBeWjbzGlGmgLh6gbIQLQ8TJQyeP0+Pal0bQxzhufxT452v4vAw38Meuz94B5Mm6VR+9bQjr10fd8eQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/notionists": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/notionists/-/notionists-8.0.2.tgz", - "integrity": "sha512-XLG85pKqW32M92zI0Aw8Hg1pE2+lAn9hs7zEwGsud2sCamQeE8jZWuWBZ89ktizWiZVzNMlHNUuMmxGoiHNlqg==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/notionists-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/notionists-neutral/-/notionists-neutral-8.0.2.tgz", - "integrity": "sha512-p+gZXAujRupRy7k9rEmcZE7kcqx1qbO7GMfyqsPCenqS3lNEZ+vEh7Rlz/rOY4xks1W4t/dtd/my2nJRqjjcIA==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/open-peeps": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/open-peeps/-/open-peeps-8.0.2.tgz", - "integrity": "sha512-fZb4C6mkZpp70tRWcogPS1PZGF0k3pclXswXhGKBdL1g0ULr157BCXBlx9juCOZ2K8w6teLQ5VE/uP490ddPUw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/personas": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/personas/-/personas-8.0.2.tgz", - "integrity": "sha512-8Xe4gaO/uJTwOMFBQv9AXJa0G8gzmqRtiH9UDrhs0yNF5Hh4g2yOeoefRBbLP/SuU5zSSHIZpcHKQD9Q1C30tA==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/pixel-art": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/pixel-art/-/pixel-art-8.0.2.tgz", - "integrity": "sha512-wYGeMg7tAubilL0oIqYTFA6tMY6kQoWZe66Yi3UqYVa3/FvOfW6hagBG3zLhv6KIRA3/d4u3l78u+bR1UyeJ+A==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/pixel-art-neutral": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/pixel-art-neutral/-/pixel-art-neutral-8.0.2.tgz", - "integrity": "sha512-PdteTJB14YHK6nHWc6ZxnDEfzzskDB5dnddE77zx23PcF7mebssFGSF0cyXGAtfKh5AWgIYJfQU4urzKXCkbJQ==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/rings": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/rings/-/rings-8.0.2.tgz", - "integrity": "sha512-aCyTiYo8nGzUjJ8PD0ctErcvbKe1UEaeWHvKcQERLDX8WLQMykBJquFodhNgN97TjZ8+8ur+vsrR+g8B9Z0zDw==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/shapes": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/shapes/-/shapes-8.0.2.tgz", - "integrity": "sha512-5GaeUP8QkC7yuUutQCGiMH2U7ditdpKxfRjzlSG9uqaWV/RZZ0u190POawHIu7VpsuHWzMBRV9yu1l7Lc7wQFg==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@dicebear/thumbs": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@dicebear/thumbs/-/thumbs-8.0.2.tgz", - "integrity": "sha512-sHKuGbd3TW9eihMvjv2Wg/gqkNgPeXyWA/cmMKSFb0BRGK2AiGyrLnRswdx4YkWVsTLd+WH2GQC4o6HMGnAJ/Q==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@dicebear/core": "^8.0.0" - } - }, - "node_modules/@electron/asar": { - "version": "3.2.18", - "resolved": "https://registry.npmmirror.com/@electron/asar/-/asar-3.2.18.tgz", - "integrity": "sha512-2XyvMe3N3Nrs8cV39IKELRHTYUWFKrmqqSY1U+GMlc0jvqjIVnoxhNd2H4JolWQncbJi1DCvb5TNxZuI2fEjWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/@electron/asar/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@electron/asar/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@electron/get": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/@electron/get/-/get-2.0.3.tgz", - "integrity": "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "env-paths": "^2.2.0", - "fs-extra": "^8.1.0", - "got": "^11.8.5", - "progress": "^2.0.3", - "semver": "^6.2.0", - "sumchecker": "^3.0.1" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "global-agent": "^3.0.0" - } - }, - "node_modules/@electron/get/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@electron/get/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@electron/get/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/@electron/notarize": { - "version": "2.5.0", - "resolved": "https://registry.npmmirror.com/@electron/notarize/-/notarize-2.5.0.tgz", - "integrity": "sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "fs-extra": "^9.0.1", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/@electron/notarize/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@electron/osx-sign": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/@electron/osx-sign/-/osx-sign-1.3.1.tgz", - "integrity": "sha512-BAfviURMHpmb1Yb50YbCxnOY0wfwaLXH5KJ4+80zS0gUkzDX3ec23naTlEqKsN+PwYn+a1cCzM7BJ4Wcd3sGzw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "compare-version": "^0.1.2", - "debug": "^4.3.4", - "fs-extra": "^10.0.0", - "isbinaryfile": "^4.0.8", - "minimist": "^1.2.6", - "plist": "^3.0.5" - }, - "bin": { - "electron-osx-flat": "bin/electron-osx-flat.js", - "electron-osx-sign": "bin/electron-osx-sign.js" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@electron/osx-sign/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@electron/osx-sign/node_modules/isbinaryfile": { - "version": "4.0.10", - "resolved": "https://registry.npmmirror.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz", - "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/gjtorikian/" - } - }, - "node_modules/@electron/rebuild": { - "version": "3.6.1", - "resolved": "https://registry.npmmirror.com/@electron/rebuild/-/rebuild-3.6.1.tgz", - "integrity": "sha512-f6596ZHpEq/YskUd8emYvOUne89ij8mQgjYFA5ru25QwbrRO+t1SImofdDv7kKOuWCmVOuU5tvfkbgGxIl3E/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@malept/cross-spawn-promise": "^2.0.0", - "chalk": "^4.0.0", - "debug": "^4.1.1", - "detect-libc": "^2.0.1", - "fs-extra": "^10.0.0", - "got": "^11.7.0", - "node-abi": "^3.45.0", - "node-api-version": "^0.2.0", - "node-gyp": "^9.0.0", - "ora": "^5.1.0", - "read-binary-file-arch": "^1.0.6", - "semver": "^7.3.5", - "tar": "^6.0.5", - "yargs": "^17.0.1" - }, - "bin": { - "electron-rebuild": "lib/cli.js" - }, - "engines": { - "node": ">=12.13.0" - } - }, - "node_modules/@electron/rebuild/node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@electron/rebuild/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@electron/rebuild/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@electron/rebuild/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@electron/rebuild/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@electron/rebuild/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@electron/rebuild/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmmirror.com/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@electron/rebuild/node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@electron/rebuild/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@electron/rebuild/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@electron/universal": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/@electron/universal/-/universal-2.0.1.tgz", - "integrity": "sha512-fKpv9kg4SPmt+hY7SVBnIYULE9QJl8L3sCfcBsnqbJwwBwAeTLokJ9TRt9y7bK0JAzIW2y78TVVjvnQEms/yyA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron/asar": "^3.2.7", - "@malept/cross-spawn-promise": "^2.0.0", - "debug": "^4.3.1", - "dir-compare": "^4.2.0", - "fs-extra": "^11.1.1", - "minimatch": "^9.0.3", - "plist": "^3.1.0" - }, - "engines": { - "node": ">=16.4" - } - }, - "node_modules/@electron/universal/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@emnapi/runtime": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/@emnapi/runtime/-/runtime-1.3.1.tgz", - "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@esbuild-plugins/node-globals-polyfill": { - "version": "0.2.3", - "resolved": "https://registry.npmmirror.com/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.2.3.tgz", - "integrity": "sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==", - "dev": true, - "license": "ISC", - "peerDependencies": { - "esbuild": "*" - } - }, - "node_modules/@esbuild-plugins/node-modules-polyfill": { - "version": "0.2.2", - "resolved": "https://registry.npmmirror.com/@esbuild-plugins/node-modules-polyfill/-/node-modules-polyfill-0.2.2.tgz", - "integrity": "sha512-LXV7QsWJxRuMYvKbiznh+U1ilIop3g2TeKRzUxOG5X3YITc8JyyTa90BmLwqqv0YnX4v32CSlG+vsziZp9dMvA==", - "dev": true, - "license": "ISC", - "dependencies": { - "escape-string-regexp": "^4.0.0", - "rollup-plugin-node-polyfills": "^0.2.1" - }, - "peerDependencies": { - "esbuild": "*" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", - "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.24.2.tgz", - "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz", - "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.24.2.tgz", - "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz", - "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz", - "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz", - "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz", - "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz", - "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz", - "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz", - "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz", - "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz", - "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz", - "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz", - "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz", - "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz", - "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz", - "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz", - "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz", - "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz", - "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz", - "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz", - "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz", - "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz", - "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@fastify/busboy": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/@fastify/busboy/-/busboy-2.1.1.tgz", - "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14" - } - }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@grpc/grpc-js": { - "version": "1.12.6", - "resolved": "https://registry.npmmirror.com/@grpc/grpc-js/-/grpc-js-1.12.6.tgz", - "integrity": "sha512-JXUj6PI0oqqzTGvKtzOkxtpsyPRNsrmhh41TtIz/zEB6J+AUiZZ0dxWzcMwO9Ns5rmSPuMdghlTbUuqIM48d3Q==", - "license": "Apache-2.0", - "dependencies": { - "@grpc/proto-loader": "^0.7.13", - "@js-sdsl/ordered-map": "^4.4.2" - }, - "engines": { - "node": ">=12.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.7.13", - "resolved": "https://registry.npmmirror.com/@grpc/proto-loader/-/proto-loader-0.7.13.tgz", - "integrity": "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==", - "license": "Apache-2.0", - "dependencies": { - "lodash.camelcase": "^4.3.0", - "long": "^5.0.0", - "protobufjs": "^7.2.5", - "yargs": "^17.7.2" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@img/sharp-darwin-arm64": { - "version": "0.33.5", - "resolved": "https://registry.npmmirror.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", - "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-darwin-arm64": "1.0.4" - } - }, - "node_modules/@img/sharp-darwin-x64": { - "version": "0.33.5", - "resolved": "https://registry.npmmirror.com/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz", - "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-darwin-x64": "1.0.4" + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-x64": "1.0.4" } }, "node_modules/@img/sharp-libvips-darwin-arm64": { @@ -3501,8 +1600,6 @@ }, "node_modules/@img/sharp-win32-x64": { "version": "0.33.5", - "resolved": "https://registry.npmmirror.com/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz", - "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==", "cpu": [ "x64" ], @@ -3521,8 +1618,6 @@ }, "node_modules/@intlify/core-base": { "version": "11.1.1", - "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-11.1.1.tgz", - "integrity": "sha512-bb8gZvoeKExCI2r/NVCK9E4YyOkvYGaSCPxVZe8T0jz8aX+dHEOZWxK06Z/Y9mWRkJfBiCH4aOhDF1yr1t5J8Q==", "license": "MIT", "dependencies": { "@intlify/message-compiler": "11.1.1", @@ -3537,8 +1632,6 @@ }, "node_modules/@intlify/message-compiler": { "version": "11.1.1", - "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-11.1.1.tgz", - "integrity": "sha512-4iEsUZ3aF7jXY19CJFN5VP+pPyLITD9FVsjB13z9TU1UxaZLlFsmNhvRxlPDSOfHAP5RpNF2QKKdZ3DHVf4Yzw==", "license": "MIT", "dependencies": { "@intlify/shared": "11.1.1", @@ -3553,8 +1646,6 @@ }, "node_modules/@intlify/shared": { "version": "11.1.1", - "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-11.1.1.tgz", - "integrity": "sha512-2kGiWoXaeV8HZlhU/Nml12oTbhv7j2ufsJ5vQaa0VTjzUmZVdd/nmKFRAOJ/FtjO90Qba5AnZDwsrY7ZND5udA==", "license": "MIT", "engines": { "node": ">= 16" @@ -3565,15 +1656,11 @@ }, "node_modules/@ioredis/commands": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/@ioredis/commands/-/commands-1.2.0.tgz", - "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==", "dev": true, "license": "MIT" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, "license": "ISC", "dependencies": { @@ -3590,8 +1677,6 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { @@ -3603,8 +1688,6 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, "license": "MIT", "engines": { @@ -3616,15 +1699,11 @@ }, "node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "license": "MIT" }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "license": "MIT", "dependencies": { @@ -3641,8 +1720,6 @@ }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3657,8 +1734,6 @@ }, "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3675,8 +1750,6 @@ }, "node_modules/@isaacs/fs-minipass": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", - "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", "dev": true, "license": "ISC", "dependencies": { @@ -3688,8 +1761,6 @@ }, "node_modules/@isaacs/fs-minipass/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -3698,8 +1769,6 @@ }, "node_modules/@javascript-obfuscator/escodegen": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/@javascript-obfuscator/escodegen/-/escodegen-2.3.0.tgz", - "integrity": "sha512-QVXwMIKqYMl3KwtTirYIA6gOCiJ0ZDtptXqAv/8KWLG9uQU2fZqTVy7a/A5RvcoZhbDoFfveTxuGxJ5ibzQtkw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -3717,8 +1786,6 @@ }, "node_modules/@javascript-obfuscator/estraverse": { "version": "5.4.0", - "resolved": "https://registry.npmmirror.com/@javascript-obfuscator/estraverse/-/estraverse-5.4.0.tgz", - "integrity": "sha512-CZFX7UZVN9VopGbjTx4UXaXsi9ewoM1buL0kY7j1ftYdSs7p2spv9opxFjHlQ/QGTgh4UqufYqJJ0WKLml7b6w==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -3727,8 +1794,6 @@ }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.8", - "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", - "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.2.1", @@ -3741,8 +1806,6 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -3750,8 +1813,6 @@ }, "node_modules/@jridgewell/set-array": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -3759,8 +1820,6 @@ }, "node_modules/@jridgewell/source-map": { "version": "0.3.6", - "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3770,14 +1829,10 @@ }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", - "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -3786,8 +1841,6 @@ }, "node_modules/@js-sdsl/ordered-map": { "version": "4.4.2", - "resolved": "https://registry.npmmirror.com/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", - "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", "license": "MIT", "funding": { "type": "opencollective", @@ -3796,8 +1849,6 @@ }, "node_modules/@jsdoc/salty": { "version": "0.2.9", - "resolved": "https://registry.npmmirror.com/@jsdoc/salty/-/salty-0.2.9.tgz", - "integrity": "sha512-yYxMVH7Dqw6nO0d5NIV8OQWnitU8k6vXH8NtgqAfIa/IUqRMxRv/NUJJ08VEKbAakwxlgBl5PJdrU0dMPStsnw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -3809,8 +1860,6 @@ }, "node_modules/@malept/cross-spawn-promise": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/@malept/cross-spawn-promise/-/cross-spawn-promise-2.0.0.tgz", - "integrity": "sha512-1DpKU0Z5ThltBwjNySMC14g0CkbyhCaz9FkhxqNsZI6uAPJXFS8cMXlBKo26FJ8ZuW6S9GCMcR9IO5k2X5/9Fg==", "dev": true, "funding": [ { @@ -3832,8 +1881,6 @@ }, "node_modules/@malept/flatpak-bundler": { "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/@malept/flatpak-bundler/-/flatpak-bundler-0.4.0.tgz", - "integrity": "sha512-9QOtNffcOF/c1seMCDnjckb3R9WHcG34tky+FHpNKKCW0wc/scYLwMtO+ptyGUfMW0/b/n4qRiALlaFHc9Oj7Q==", "dev": true, "license": "MIT", "dependencies": { @@ -3848,8 +1895,6 @@ }, "node_modules/@malept/flatpak-bundler/node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3864,8 +1909,6 @@ }, "node_modules/@mapbox/node-pre-gyp": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/@mapbox/node-pre-gyp/-/node-pre-gyp-2.0.0.tgz", - "integrity": "sha512-llMXd39jtP0HpQLVI37Bf1m2ADlEb35GYSh1SDSLsBhR+5iCxiNGlT31yqbNtVHygHAtMy6dWFERpU2JgufhPg==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -3886,8 +1929,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/chownr": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/chownr/-/chownr-3.0.0.tgz", - "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -3896,8 +1937,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/glob": { "version": "10.4.5", - "resolved": "https://registry.npmmirror.com/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { @@ -3917,8 +1956,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { @@ -3933,8 +1970,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -3943,8 +1978,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/minizlib": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/minizlib/-/minizlib-3.0.1.tgz", - "integrity": "sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==", "dev": true, "license": "MIT", "dependencies": { @@ -3957,8 +1990,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-3.0.1.tgz", - "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", "dev": true, "license": "MIT", "bin": { @@ -3973,8 +2004,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/rimraf": { "version": "5.0.10", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", "dev": true, "license": "ISC", "dependencies": { @@ -3988,9 +2017,7 @@ } }, "node_modules/@mapbox/node-pre-gyp/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -4002,8 +2029,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/tar": { "version": "7.4.3", - "resolved": "https://registry.npmmirror.com/tar/-/tar-7.4.3.tgz", - "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", "dev": true, "license": "ISC", "dependencies": { @@ -4020,8 +2045,6 @@ }, "node_modules/@mapbox/node-pre-gyp/node_modules/yallist": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/yallist/-/yallist-5.0.0.tgz", - "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -4030,14 +2053,10 @@ }, "node_modules/@material/material-color-utilities": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/@material/material-color-utilities/-/material-color-utilities-0.1.2.tgz", - "integrity": "sha512-uKkkx7Xo1AZJR0eMjH902rAb0vEjDbb3tgXt0cC3SHbpDGkPNhkuDKtxnw147axOM6uKuI7vywHRQlDrjDGhCA==", "license": "Apache-2.0" }, "node_modules/@mdit-vue/plugin-component": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-component/-/plugin-component-2.1.3.tgz", - "integrity": "sha512-9AG17beCgpEw/4ldo/M6Y/1Rh4E1bqMmr/rCkWKmCAxy9tJz3lzY7HQJanyHMJufwsb3WL5Lp7Om/aPcQTZ9SA==", "dev": true, "license": "MIT", "dependencies": { @@ -4047,8 +2066,6 @@ }, "node_modules/@mdit-vue/plugin-frontmatter": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-frontmatter/-/plugin-frontmatter-2.1.3.tgz", - "integrity": "sha512-KxsSCUVBEmn6sJcchSTiI5v9bWaoRxe68RBYRDGcSEY1GTnfQ5gQPMIsM48P4q1luLEIWurVGGrRu7u93//LDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4060,8 +2077,6 @@ }, "node_modules/@mdit-vue/plugin-headers": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-headers/-/plugin-headers-2.1.3.tgz", - "integrity": "sha512-AcL7a7LHQR3ISINhfjGJNE/bHyM0dcl6MYm1Sr//zF7ZgokPGwD/HhD7TzwmrKA9YNYCcO9P3QmF/RN9XyA6CA==", "dev": true, "license": "MIT", "dependencies": { @@ -4073,8 +2088,6 @@ }, "node_modules/@mdit-vue/plugin-sfc": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-sfc/-/plugin-sfc-2.1.3.tgz", - "integrity": "sha512-Ezl0dNvQNS639Yl4siXm+cnWtQvlqHrg+u+lnau/OHpj9Xh3LVap/BSQVugKIV37eR13jXXYf3VaAOP1fXPN+w==", "dev": true, "license": "MIT", "dependencies": { @@ -4085,8 +2098,6 @@ }, "node_modules/@mdit-vue/plugin-title": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-title/-/plugin-title-2.1.3.tgz", - "integrity": "sha512-XWVOQoZqczoN97xCDrnQicmXKoqwOjIymIm9HQnRXhHnYKOgJPW1CxSGhkcOGzvDU1v0mD/adojVyyj/s6ggWw==", "dev": true, "license": "MIT", "dependencies": { @@ -4098,8 +2109,6 @@ }, "node_modules/@mdit-vue/plugin-toc": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-toc/-/plugin-toc-2.1.3.tgz", - "integrity": "sha512-41Q+iXpLHZt0zJdApVwoVt7WF6za/xUjtjEPf90Z3KLzQO01TXsv48Xp9BsrFHPcPcm8tiZ0+O1/ICJO80V/MQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4111,8 +2120,6 @@ }, "node_modules/@mdit-vue/shared": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/@mdit-vue/shared/-/shared-2.1.3.tgz", - "integrity": "sha512-27YI8b0VVZsAlNwaWoaOCWbr4eL8B04HxiYk/y2ktblO/nMcOEOLt4p0RjuobvdyUyjHvGOS09RKhq7qHm1CHQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4123,15 +2130,11 @@ }, "node_modules/@mdit-vue/types": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/@mdit-vue/types/-/types-2.1.0.tgz", - "integrity": "sha512-TMBB/BQWVvwtpBdWD75rkZx4ZphQ6MN0O4QB2Bc0oI5PC2uE57QerhNxdRZ7cvBHE2iY2C+BUNUziCfJbjIRRA==", "dev": true, "license": "MIT" }, "node_modules/@mdit/helper": { "version": "0.16.0", - "resolved": "https://registry.npmmirror.com/@mdit/helper/-/helper-0.16.0.tgz", - "integrity": "sha512-vUmLSZp+7UXJIYxOya9BkD0OgjgQ+6gpX+htEnc4SKaDPx4S1E7h5TE6Wy4E9Gm/JhkMHoD6TdeoQwrN/I9cLQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4151,8 +2154,6 @@ }, "node_modules/@mdit/plugin-alert": { "version": "0.16.0", - "resolved": "https://registry.npmmirror.com/@mdit/plugin-alert/-/plugin-alert-0.16.0.tgz", - "integrity": "sha512-T+0BUVhKjp+Azp6sNdDbiZwydDIcZP6/NAg9uivPvcsDnI9u4lMRCdXI090xNJOdhHO3l/lOsoO//s+++MJNtA==", "dev": true, "license": "MIT", "dependencies": { @@ -4169,8 +2170,6 @@ }, "node_modules/@mdit/plugin-container": { "version": "0.16.0", - "resolved": "https://registry.npmmirror.com/@mdit/plugin-container/-/plugin-container-0.16.0.tgz", - "integrity": "sha512-NCsyEiOmoJvXSEVJSY6vaEcvbE11sciRSx5qXBvQQZxUYGYsB+ObYSFVZDFPezsEN35X3b07rurLx8P2Mi9DgQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4190,8 +2189,6 @@ }, "node_modules/@mdit/plugin-tab": { "version": "0.16.0", - "resolved": "https://registry.npmmirror.com/@mdit/plugin-tab/-/plugin-tab-0.16.0.tgz", - "integrity": "sha512-c+/oT319DIWaMHyx5chueW8cy4pjC7E09QOg3qp86abTCdG2ljGLOlMAQbst5i/iH684QG/i8EJpB4oUeQdhkw==", "dev": true, "license": "MIT", "dependencies": { @@ -4209,73 +2206,67 @@ }, "node_modules/@mozilla/readability": { "version": "0.5.0", - "resolved": "https://registry.npmmirror.com/@mozilla/readability/-/readability-0.5.0.tgz", - "integrity": "sha512-Z+CZ3QaosfFaTqvhQsIktyGrjFjSC0Fa4EMph4mqKnWhmyoGICsV/8QK+8HpXut6zV7zwfWwqDmEjtk1Qf6EgQ==", "license": "Apache-2.0", "engines": { "node": ">=14.0.0" } }, "node_modules/@napi-rs/canvas": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas/-/canvas-0.1.65.tgz", - "integrity": "sha512-YcFhXQcp+b2d38zFOJNbpyPHnIL7KAEkhJQ+UeeKI5IpE9B8Cpf/M6RiHPQXSsSqnYbrfFylnW49dyh2oeSblQ==", + "version": "0.1.67", "license": "MIT", "optional": true, "engines": { "node": ">= 10" }, "optionalDependencies": { - "@napi-rs/canvas-android-arm64": "0.1.65", - "@napi-rs/canvas-darwin-arm64": "0.1.65", - "@napi-rs/canvas-darwin-x64": "0.1.65", - "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.65", - "@napi-rs/canvas-linux-arm64-gnu": "0.1.65", - "@napi-rs/canvas-linux-arm64-musl": "0.1.65", - "@napi-rs/canvas-linux-riscv64-gnu": "0.1.65", - "@napi-rs/canvas-linux-x64-gnu": "0.1.65", - "@napi-rs/canvas-linux-x64-musl": "0.1.65", - "@napi-rs/canvas-win32-x64-msvc": "0.1.65" - } - }, - "node_modules/@napi-rs/canvas-android-arm64": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.65.tgz", - "integrity": "sha512-ZYwqFYEKcT5Zr8lbiaJNJj/poLaeK2TncolY914r+gD2TJNeP7ZqvE7A2SX/1C9MB4E3DQEwm3YhL3WEf0x3MQ==", + "@napi-rs/canvas-android-arm64": "0.1.67", + "@napi-rs/canvas-darwin-arm64": "0.1.67", + "@napi-rs/canvas-darwin-x64": "0.1.67", + "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.67", + "@napi-rs/canvas-linux-arm64-gnu": "0.1.67", + "@napi-rs/canvas-linux-arm64-musl": "0.1.67", + "@napi-rs/canvas-linux-riscv64-gnu": "0.1.67", + "@napi-rs/canvas-linux-x64-gnu": "0.1.67", + "@napi-rs/canvas-linux-x64-musl": "0.1.67", + "@napi-rs/canvas-win32-x64-msvc": "0.1.67" + } + }, + "node_modules/@napi-rs/canvas-win32-x64-msvc": { + "version": "0.1.67", "cpu": [ - "arm64" + "x64" ], "license": "MIT", "optional": true, "os": [ - "android" + "win32" ], "engines": { "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-darwin-arm64": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.65.tgz", - "integrity": "sha512-Pg1pfiJEyDIsX+V0QaJPRWvXbw5zmWAk3bivFCvt/5pwZb37/sT6E/RqPHT9NnqpDyKW6SriwY9ypjljysUA1Q==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-android-arm64": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.67.tgz", + "integrity": "sha512-W+3DFG5h0WU8Vqqb3W5fNmm5/TPH5ECZRinQDK4CAKFSUkc4iZcDwrmyFG9sB4KdHazf1mFVHCpEeVMO6Mk6Zg==", "cpu": [ "arm64" ], "license": "MIT", "optional": true, "os": [ - "darwin" + "android" ], "engines": { "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-darwin-x64": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.65.tgz", - "integrity": "sha512-3Tr+/HjdJN7Z/VKIcsxV2DvDIibZCExgfYTgljCkUSFuoI7iNkOE6Dc1Q6j212EB9PeO8KmfrViBqHYT6IwWkA==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-darwin-arm64": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.67.tgz", + "integrity": "sha512-xzrv7QboI47yhIHR5P5u/9KGswokuOKLiKSukr1Ku03RRJxP6lGuVtrAZAgdRg7F9FsuF2REf2yK53YVb6pMlA==", "cpu": [ - "x64" + "arm64" ], "license": "MIT", "optional": true, @@ -4286,28 +2277,28 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.65.tgz", - "integrity": "sha512-3KP+dYObH7CVkZMZWwk1WX9jRjL+EKdQtD43H8MOI+illf+dwqLlecdQ4d9bQRIxELKJ8dyPWY4fOp/Ngufrdg==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-darwin-x64": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.67.tgz", + "integrity": "sha512-SNk9lYBr84N0gW8MZ2IrjygFtbFBILr3SEqMdHzHHuph20SQmssFvJGPZwSSCMEyKAvyqhogbmlew0te5Z4w9Q==", "cpu": [ - "arm" + "x64" ], "license": "MIT", "optional": true, "os": [ - "linux" + "darwin" ], "engines": { "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-arm64-gnu": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.65.tgz", - "integrity": "sha512-Ka3StKz7Dq7kjTF3nNJCq43UN/VlANS7qGE3dWkn1d+tQNsCRy/wRmyt1TUFzIjRqcTFMQNRbgYq84+53UBA0A==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.67.tgz", + "integrity": "sha512-qmBlSvUpl567bzH8tNXi82u5FrL4d0qINqd6K9O7GWGGGFmKMJdrgi2/SW3wwCTxqHBasIDdVWc4KSJfwyaoDQ==", "cpu": [ - "arm64" + "arm" ], "license": "MIT", "optional": true, @@ -4318,10 +2309,10 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-arm64-musl": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.65.tgz", - "integrity": "sha512-O4xMASm2JrmqYoiDyxVWi+z5C14H+oVEag2rZ5iIA67dhWqYZB+iO7wCFpBYRj31JPBR29FOsu6X9zL+DwBFdw==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm64-gnu": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.67.tgz", + "integrity": "sha512-k3nAPQefkMeFuJ65Rqdnx92KX1JXQhEKjjWeKsCJB+7sIBgQUWtHo9c3etfVLv5pkWJJDFi/Zc2soNkH3E8dRA==", "cpu": [ "arm64" ], @@ -4334,12 +2325,12 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-riscv64-gnu": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-0.1.65.tgz", - "integrity": "sha512-dblWDaA59ZU8bPbkfM+riSke7sFbNZ70LEevUdI5rgiFEUzYUQlU34gSBzemTACj5rCWt1BYeu0GfkLSjNMBSw==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm64-musl": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.67.tgz", + "integrity": "sha512-lZwHWR1cCP408l86n3Qbs3X1oFeAYMjJIQvQl1VMZh6wo5PfI+jaZSKBUOd8x44TnVllX9yhLY9unNRztk/sUQ==", "cpu": [ - "riscv64" + "arm64" ], "license": "MIT", "optional": true, @@ -4350,12 +2341,12 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-x64-gnu": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.65.tgz", - "integrity": "sha512-wsp+atutw13OJXGU3DDkdngtBDoEg01IuK5xMe0L6VFPV8maGkh17CXze078OD5QJOc6kFyw3DDscMLOPF8+oA==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-riscv64-gnu": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-0.1.67.tgz", + "integrity": "sha512-PdBC9p6bLHA1W3OdA0vTHj701SB/kioGQ1uCFBRMs5KBCaMLb/H4aNi8uaIUIEvBWnxeAjoNcLU7//q0FxEosw==", "cpu": [ - "x64" + "riscv64" ], "license": "MIT", "optional": true, @@ -4366,10 +2357,10 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-linux-x64-musl": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.65.tgz", - "integrity": "sha512-odX+nN+IozWzhdj31INcHz3Iy9+EckNw+VqsZcaUxZOTu7/3FmktRNI6aC1qe5minZNv1m05YOS1FVf7fvmjlA==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-x64-gnu": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.67.tgz", + "integrity": "sha512-kJJX6eWzjipL/LdKOWCJctc88e5yzuXri8+s0V/lN06OwuLGW62TWS3lvi8qlUrGMOfRGabSWWlB4omhASSB8w==", "cpu": [ "x64" ], @@ -4382,17 +2373,17 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/canvas-win32-x64-msvc": { - "version": "0.1.65", - "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.65.tgz", - "integrity": "sha512-RZQX3luWnlNWgdMnLMQ1hyfQraeAn9lnxWWVCHuUM4tAWEV8UDdeb7cMwmJW7eyt8kAosmjeHt3cylQMHOxGFg==", + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-x64-musl": { + "version": "0.1.67", + "resolved": "https://registry.npmmirror.com/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.67.tgz", + "integrity": "sha512-jLKiPWGeN6ZzhnaLG7ex7eexsiHJ1mdtPK1qKvETIcu45dApMXyUIHvdL6XWB5gFFtj5ScHzLUxv1vkfPZsoxA==", "cpu": [ "x64" ], "license": "MIT", "optional": true, "os": [ - "win32" + "linux" ], "engines": { "node": ">= 10" @@ -4400,8 +2391,6 @@ }, "node_modules/@netlify/functions": { "version": "2.8.2", - "resolved": "https://registry.npmmirror.com/@netlify/functions/-/functions-2.8.2.tgz", - "integrity": "sha512-DeoAQh8LuNPvBE4qsKlezjKj0PyXDryOFJfJKo3Z1qZLKzQ21sT314KQKPVjfvw6knqijj+IO+0kHXy/TJiqNA==", "dev": true, "license": "MIT", "dependencies": { @@ -4413,8 +2402,6 @@ }, "node_modules/@netlify/node-cookies": { "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/@netlify/node-cookies/-/node-cookies-0.1.0.tgz", - "integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==", "dev": true, "license": "MIT", "engines": { @@ -4423,8 +2410,6 @@ }, "node_modules/@netlify/serverless-functions-api": { "version": "1.26.1", - "resolved": "https://registry.npmmirror.com/@netlify/serverless-functions-api/-/serverless-functions-api-1.26.1.tgz", - "integrity": "sha512-q3L9i3HoNfz0SGpTIS4zTcKBbRkxzCRpd169eyiTuk3IwcPC3/85mzLHranlKo2b+HYT0gu37YxGB45aD8A3Tw==", "dev": true, "license": "MIT", "dependencies": { @@ -4437,8 +2422,6 @@ }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", @@ -4450,8 +2433,6 @@ }, "node_modules/@nodelib/fs.stat": { "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "license": "MIT", "engines": { "node": ">= 8" @@ -4459,8 +2440,6 @@ }, "node_modules/@nodelib/fs.walk": { "version": "1.2.8", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", @@ -4472,8 +2451,6 @@ }, "node_modules/@npmcli/fs": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", "dev": true, "license": "ISC", "dependencies": { @@ -4485,9 +2462,7 @@ } }, "node_modules/@npmcli/fs/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -4499,9 +2474,6 @@ }, "node_modules/@npmcli/move-file": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", - "deprecated": "This functionality has been moved to @npmcli/fs", "dev": true, "license": "MIT", "dependencies": { @@ -4514,8 +2486,6 @@ }, "node_modules/@nuxt/kit": { "version": "3.15.4", - "resolved": "https://registry.npmmirror.com/@nuxt/kit/-/kit-3.15.4.tgz", - "integrity": "sha512-dr7I7eZOoRLl4uxdxeL2dQsH0OrbEiVPIyBHnBpA4co24CBnoJoF+JINuP9l3PAM3IhUzc5JIVq3/YY3lEc3Hw==", "license": "MIT", "dependencies": { "c12": "^2.0.1", @@ -4545,8 +2515,6 @@ }, "node_modules/@nuxt/kit/node_modules/escape-string-regexp": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "license": "MIT", "engines": { "node": ">=12" @@ -4557,38 +2525,21 @@ }, "node_modules/@nuxt/kit/node_modules/estree-walker": { "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "license": "MIT", "dependencies": { "@types/estree": "^1.0.0" } }, - "node_modules/@nuxt/kit/node_modules/ignore": { - "version": "7.0.3", - "resolved": "https://registry.npmmirror.com/ignore/-/ignore-7.0.3.tgz", - "integrity": "sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/@nuxt/kit/node_modules/js-tokens": { "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", - "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", "license": "MIT" }, "node_modules/@nuxt/kit/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", "license": "MIT" }, "node_modules/@nuxt/kit/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "license": "MIT", "engines": { "node": ">=12" @@ -4598,9 +2549,7 @@ } }, "node_modules/@nuxt/kit/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -4611,8 +2560,6 @@ }, "node_modules/@nuxt/kit/node_modules/strip-literal": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.0.0.tgz", - "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==", "license": "MIT", "dependencies": { "js-tokens": "^9.0.1" @@ -4622,25 +2569,23 @@ } }, "node_modules/@nuxt/kit/node_modules/unimport": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/unimport/-/unimport-4.0.0.tgz", - "integrity": "sha512-FH+yZ36YaVlh0ZjHesP20Q4uL+wL0EqTNxDZcUupsIn6WRYXZAbIYEMDLTaLBpkNVzFpqZXS+am51/HR3ANUNw==", + "version": "4.1.2", "license": "MIT", "dependencies": { - "@rollup/pluginutils": "^5.1.4", "acorn": "^8.14.0", "escape-string-regexp": "^5.0.0", "estree-walker": "^3.0.3", - "fast-glob": "^3.3.3", "local-pkg": "^1.0.0", "magic-string": "^0.30.17", "mlly": "^1.7.4", - "pathe": "^2.0.2", + "pathe": "^2.0.3", "picomatch": "^4.0.2", "pkg-types": "^1.3.1", "scule": "^1.3.0", "strip-literal": "^3.0.0", - "unplugin": "^2.1.2" + "tinyglobby": "^0.2.11", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" }, "engines": { "node": ">=18.12.0" @@ -4648,8 +2593,6 @@ }, "node_modules/@parcel/watcher": { "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher/-/watcher-2.5.1.tgz", - "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -4682,7 +2625,52 @@ "@parcel/watcher-win32-x64": "2.5.1" } }, - "node_modules/@parcel/watcher-android-arm64": { + "node_modules/@parcel/watcher-wasm": { + "version": "2.5.1", + "bundleDependencies": [ + "napi-wasm" + ], + "dev": true, + "license": "MIT", + "dependencies": { + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "napi-wasm": "^1.1.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-wasm/node_modules/napi-wasm": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-android-arm64": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", @@ -4703,7 +2691,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-darwin-arm64": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-darwin-arm64": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", @@ -4724,7 +2712,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-darwin-x64": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-darwin-x64": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", @@ -4745,7 +2733,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-freebsd-x64": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-freebsd-x64": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", @@ -4766,7 +2754,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-linux-arm-glibc": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-arm-glibc": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", @@ -4787,7 +2775,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-linux-arm-musl": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-arm-musl": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", @@ -4808,7 +2796,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-arm64-glibc": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", @@ -4829,7 +2817,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-linux-arm64-musl": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-arm64-musl": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", @@ -4850,7 +2838,7 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-linux-x64-glibc": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-x64-glibc": { "version": "2.5.1", "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", @@ -4868,70 +2856,21 @@ }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", - "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-wasm": { - "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher-wasm/-/watcher-wasm-2.5.1.tgz", - "integrity": "sha512-RJxlQQLkaMMIuWRozy+z2vEqbaQlCuaCgVZIUCzQLYggY22LZbP5Y1+ia+FD724Ids9e+XIyOLXLrLgQSHIthw==", - "bundleDependencies": [ - "napi-wasm" - ], - "dev": true, - "license": "MIT", - "dependencies": { - "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "napi-wasm": "^1.1.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-wasm/node_modules/napi-wasm": { - "version": "1.1.0", - "dev": true, - "inBundle": true, - "license": "MIT" + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@parcel/watcher-win32-arm64": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-linux-x64-musl": { "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", - "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "resolved": "https://registry.npmmirror.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", "cpu": [ - "arm64" + "x64" ], "dev": true, "license": "MIT", "optional": true, "os": [ - "win32" + "linux" ], "engines": { "node": ">= 10.0.0" @@ -4941,12 +2880,12 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-win32-ia32": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-win32-arm64": { "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", - "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "resolved": "https://registry.npmmirror.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", "cpu": [ - "ia32" + "arm64" ], "dev": true, "license": "MIT", @@ -4962,12 +2901,12 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-win32-x64": { + "node_modules/@parcel/watcher/node_modules/@parcel/watcher-win32-ia32": { "version": "2.5.1", - "resolved": "https://registry.npmmirror.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", - "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "resolved": "https://registry.npmmirror.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", "cpu": [ - "x64" + "ia32" ], "dev": true, "license": "MIT", @@ -4985,8 +2924,6 @@ }, "node_modules/@parcel/watcher/node_modules/detect-libc": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -4998,15 +2935,11 @@ }, "node_modules/@parcel/watcher/node_modules/node-addon-api": { "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-7.1.1.tgz", - "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", "dev": true, "license": "MIT" }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "resolved": "https://registry.npmmirror.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, "license": "MIT", "optional": true, @@ -5016,8 +2949,6 @@ }, "node_modules/@popperjs/core": { "version": "2.11.8", - "resolved": "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", "license": "MIT", "funding": { "type": "opencollective", @@ -5026,32 +2957,22 @@ }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/base64": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/codegen": { "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/eventemitter": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/fetch": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.1", @@ -5060,38 +2981,26 @@ }, "node_modules/@protobufjs/float": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/inquire": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/path": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/pool": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", "license": "BSD-3-Clause" }, "node_modules/@protobufjs/utf8": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", "license": "BSD-3-Clause" }, "node_modules/@redocly/ajv": { "version": "8.11.2", - "resolved": "https://registry.npmmirror.com/@redocly/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-io1JpnwtIcvojV7QKDUSIuMN/ikdOUd1ReEnUnMKGfDVridQZ31J0MmIuqwuRjWDZfmvr+Q0MqCcfHM2gTivOg==", "dev": true, "license": "MIT", "dependencies": { @@ -5107,27 +3016,21 @@ }, "node_modules/@redocly/ajv/node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true, "license": "MIT" }, "node_modules/@redocly/config": { - "version": "0.20.3", - "resolved": "https://registry.npmmirror.com/@redocly/config/-/config-0.20.3.tgz", - "integrity": "sha512-Nyyv1Bj7GgYwj/l46O0nkH1GTKWbO3Ixe7KFcn021aZipkZd+z8Vlu1BwkhqtVgivcKaClaExtWU/lDHkjBzag==", + "version": "0.21.0", "dev": true, "license": "MIT" }, "node_modules/@redocly/openapi-core": { - "version": "1.28.0", - "resolved": "https://registry.npmmirror.com/@redocly/openapi-core/-/openapi-core-1.28.0.tgz", - "integrity": "sha512-jnUsOFnz8w71l14Ww34Iswlj0AI4e/R0C5+K2W4v4GaY/sUkpH/145gHLJYlG4XV0neET4lNIptd4I8+yLyEHQ==", + "version": "1.31.3", "dev": true, "license": "MIT", "dependencies": { "@redocly/ajv": "^8.11.2", - "@redocly/config": "^0.20.1", + "@redocly/config": "^0.21.0", "colorette": "^1.2.0", "https-proxy-agent": "^7.0.5", "js-levenshtein": "^1.1.6", @@ -5138,13 +3041,11 @@ }, "engines": { "node": ">=18.17.0", - "npm": ">=10.8.2" + "npm": ">=9.5.0" } }, "node_modules/@redocly/openapi-core/node_modules/minimatch": { "version": "5.1.6", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "license": "ISC", "dependencies": { @@ -5156,8 +3057,6 @@ }, "node_modules/@rollup/plugin-alias": { "version": "5.1.1", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", - "integrity": "sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==", "dev": true, "license": "MIT", "engines": { @@ -5174,8 +3073,6 @@ }, "node_modules/@rollup/plugin-commonjs": { "version": "28.0.2", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.2.tgz", - "integrity": "sha512-BEFI2EDqzl+vA1rl97IDRZ61AIwGH093d9nz8+dThxJNH8oSoB7MjWvPCX3dkaK1/RCJ/1v/R1XB15FuSs0fQw==", "dev": true, "license": "MIT", "dependencies": { @@ -5201,8 +3098,6 @@ }, "node_modules/@rollup/plugin-commonjs/node_modules/fdir": { "version": "6.4.3", - "resolved": "https://registry.npmmirror.com/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", "dev": true, "license": "MIT", "peerDependencies": { @@ -5216,8 +3111,6 @@ }, "node_modules/@rollup/plugin-commonjs/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", "engines": { @@ -5229,8 +3122,6 @@ }, "node_modules/@rollup/plugin-inject": { "version": "5.0.5", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz", - "integrity": "sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==", "dev": true, "license": "MIT", "dependencies": { @@ -5252,8 +3143,6 @@ }, "node_modules/@rollup/plugin-json": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-json/-/plugin-json-6.1.0.tgz", - "integrity": "sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==", "dev": true, "license": "MIT", "dependencies": { @@ -5273,8 +3162,6 @@ }, "node_modules/@rollup/plugin-node-resolve": { "version": "15.3.1", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.1.tgz", - "integrity": "sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==", "dev": true, "license": "MIT", "dependencies": { @@ -5298,8 +3185,6 @@ }, "node_modules/@rollup/plugin-replace": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-replace/-/plugin-replace-6.0.2.tgz", - "integrity": "sha512-7QaYCf8bqF04dOy7w/eHmJeNExxTYwvKAmlSAH/EaWWUzbT0h5sbF6bktFoX/0F/0qwng5/dWFMyf3gzaM8DsQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5320,8 +3205,6 @@ }, "node_modules/@rollup/plugin-terser": { "version": "0.4.4", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz", - "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==", "dev": true, "license": "MIT", "dependencies": { @@ -5343,8 +3226,7 @@ }, "node_modules/@rollup/pluginutils": { "version": "5.1.4", - "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.1.4.tgz", - "integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==", + "dev": true, "license": "MIT", "dependencies": { "@types/estree": "^1.0.0", @@ -5365,8 +3247,7 @@ }, "node_modules/@rollup/pluginutils/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -5375,262 +3256,8 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.32.1.tgz", - "integrity": "sha512-/pqA4DmqyCm8u5YIDzIdlLcEmuvxb0v8fZdFhVMszSpDTgbQKdw3/mB3eMUHIbubtJ6F9j+LtmyCnHTEqIHyzA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.32.1.tgz", - "integrity": "sha512-If3PDskT77q7zgqVqYuj7WG3WC08G1kwXGVFi9Jr8nY6eHucREHkfpX79c0ACAjLj3QIWKPJR7w4i+f5EdLH5Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.32.1.tgz", - "integrity": "sha512-zCpKHioQ9KgZToFp5Wvz6zaWbMzYQ2LJHQ+QixDKq52KKrF65ueu6Af4hLlLWHjX1Wf/0G5kSJM9PySW9IrvHA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.32.1.tgz", - "integrity": "sha512-sFvF+t2+TyUo/ZQqUcifrJIgznx58oFZbdHS9TvHq3xhPVL9nOp+yZ6LKrO9GWTP+6DbFtoyLDbjTpR62Mbr3Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.32.1.tgz", - "integrity": "sha512-NbOa+7InvMWRcY9RG+B6kKIMD/FsnQPH0MWUvDlQB1iXnF/UcKSudCXZtv4lW+C276g3w5AxPbfry5rSYvyeYA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.32.1.tgz", - "integrity": "sha512-JRBRmwvHPXR881j2xjry8HZ86wIPK2CcDw0EXchE1UgU0ubWp9nvlT7cZYKc6bkypBt745b4bglf3+xJ7hXWWw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.32.1.tgz", - "integrity": "sha512-PKvszb+9o/vVdUzCCjL0sKHukEQV39tD3fepXxYrHE3sTKrRdCydI7uldRLbjLmDA3TFDmh418XH19NOsDRH8g==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.32.1.tgz", - "integrity": "sha512-9WHEMV6Y89eL606ReYowXuGF1Yb2vwfKWKdD1A5h+OYnPZSJvxbEjxTRKPgi7tkP2DSnW0YLab1ooy+i/FQp/Q==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.32.1.tgz", - "integrity": "sha512-tZWc9iEt5fGJ1CL2LRPw8OttkCBDs+D8D3oEM8mH8S1ICZCtFJhD7DZ3XMGM8kpqHvhGUTvNUYVDnmkj4BDXnw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.32.1.tgz", - "integrity": "sha512-FTYc2YoTWUsBz5GTTgGkRYYJ5NGJIi/rCY4oK/I8aKowx1ToXeoVVbIE4LGAjsauvlhjfl0MYacxClLld1VrOw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.32.1.tgz", - "integrity": "sha512-F51qLdOtpS6P1zJVRzYM0v6MrBNypyPEN1GfMiz0gPu9jN8ScGaEFIZQwteSsGKg799oR5EaP7+B2jHgL+d+Kw==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.32.1.tgz", - "integrity": "sha512-wO0WkfSppfX4YFm5KhdCCpnpGbtgQNj/tgvYzrVYFKDpven8w2N6Gg5nB6w+wAMO3AIfSTWeTjfVe+uZ23zAlg==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.32.1.tgz", - "integrity": "sha512-iWswS9cIXfJO1MFYtI/4jjlrGb/V58oMu4dYJIKnR5UIwbkzR0PJ09O0PDZT0oJ3LYWXBSWahNf/Mjo6i1E5/g==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.32.1.tgz", - "integrity": "sha512-RKt8NI9tebzmEthMnfVgG3i/XeECkMPS+ibVZjZ6mNekpbbUmkNWuIN2yHsb/mBPyZke4nlI4YqIdFPgKuoyQQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.32.1.tgz", - "integrity": "sha512-WQFLZ9c42ECqEjwg/GHHsouij3pzLXkFdz0UxHa/0OM12LzvX7DzedlY0SIEly2v18YZLRhCRoHZDxbBSWoGYg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.32.1.tgz", - "integrity": "sha512-BLoiyHDOWoS3uccNSADMza6V6vCNiphi94tQlVIL5de+r6r/CCQuNnerf+1g2mnk2b6edp5dk0nhdZ7aEjOBsA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.32.1.tgz", - "integrity": "sha512-w2l3UnlgYTNNU+Z6wOR8YdaioqfEnwPjIsJ66KxKAf0p+AuL2FHeTX6qvM+p/Ue3XPBVNyVSfCrfZiQh7vZHLQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.32.1.tgz", - "integrity": "sha512-Am9H+TGLomPGkBnaPWie4F3x+yQ2rr4Bk2jpwy+iV+Gel9jLAu/KqT8k3X4jxFPW6Zf8OMnehyutsd+eHoq1WQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.32.1.tgz", - "integrity": "sha512-ar80GhdZb4DgmW3myIS9nRFYcpJRSME8iqWgzH2i44u+IdrzmiXVxeFnExQ5v4JYUSpg94bWjevMG8JHf1Da5Q==", + "version": "4.34.9", "cpu": [ "x64" ], @@ -5643,23 +3270,17 @@ }, "node_modules/@scarf/scarf": { "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/@scarf/scarf/-/scarf-1.4.0.tgz", - "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0" }, "node_modules/@sec-ant/readable-stream": { "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", - "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", "dev": true, "license": "MIT" }, "node_modules/@sindresorhus/is": { "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/@sindresorhus/is/-/is-4.6.0.tgz", - "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", "dev": true, "license": "MIT", "engines": { @@ -5671,8 +3292,6 @@ }, "node_modules/@sindresorhus/merge-streams": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", - "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", "dev": true, "license": "MIT", "engines": { @@ -5682,33 +3301,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@surma/rollup-plugin-off-main-thread": { - "version": "2.2.3", - "resolved": "https://registry.npmmirror.com/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz", - "integrity": "sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "ejs": "^3.1.6", - "json5": "^2.2.0", - "magic-string": "^0.25.0", - "string.prototype.matchall": "^4.0.6" - } - }, - "node_modules/@surma/rollup-plugin-off-main-thread/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", - "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==", "dev": true, "license": "MIT", "dependencies": { @@ -5720,8 +3314,6 @@ }, "node_modules/@tootallnate/once": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true, "license": "MIT", "engines": { @@ -5730,8 +3322,6 @@ }, "node_modules/@traptitech/markdown-it-katex": { "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/@traptitech/markdown-it-katex/-/markdown-it-katex-3.6.0.tgz", - "integrity": "sha512-CnJzTWxsgLGXFdSrWRaGz7GZ1kUUi8g3E9HzJmeveX1YwVJavrKYqysktfHZQsujdnRqV5O7g8FPKEA/aeTkOQ==", "license": "MIT", "dependencies": { "katex": "^0.16.0" @@ -5739,8 +3329,6 @@ }, "node_modules/@trysound/sax": { "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/@trysound/sax/-/sax-0.2.0.tgz", - "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", "dev": true, "license": "ISC", "engines": { @@ -5749,8 +3337,6 @@ }, "node_modules/@types/cacheable-request": { "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz", - "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==", "dev": true, "license": "MIT", "dependencies": { @@ -5762,8 +3348,6 @@ }, "node_modules/@types/debug": { "version": "4.1.12", - "resolved": "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz", - "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5772,14 +3356,10 @@ }, "node_modules/@types/estree": { "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz", - "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "license": "MIT" }, "node_modules/@types/form-data": { "version": "2.5.2", - "resolved": "https://registry.npmmirror.com/@types/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-tfmcyHn1Pp9YHAO5r40+UuZUPAZbUEgqTel3EuEKpmF9hPkXgR4l41853raliXnb4gwyPNoQOfvgGGlHN5WSog==", "deprecated": "This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.", "license": "MIT", "dependencies": { @@ -5788,8 +3368,6 @@ }, "node_modules/@types/fs-extra": { "version": "11.0.4", - "resolved": "https://registry.npmmirror.com/@types/fs-extra/-/fs-extra-11.0.4.tgz", - "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5799,16 +3377,11 @@ }, "node_modules/@types/hash-sum": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/@types/hash-sum/-/hash-sum-1.0.2.tgz", - "integrity": "sha512-UP28RddqY8xcU0SCEp9YKutQICXpaAq9N8U2klqF5hegGha7KzTOL8EdhIIV3bOSGBzjEpN9bU/d+nNZBdJYVw==", "dev": true, "license": "MIT" }, "node_modules/@types/highlight.js": { "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/@types/highlight.js/-/highlight.js-10.1.0.tgz", - "integrity": "sha512-77hF2dGBsOgnvZll1vymYiNUtqJ8cJfXPD6GG/2M0aLRc29PkvB7Au6sIDjIEFcSICBhCh2+Pyq6WSRS7LUm6A==", - "deprecated": "This is a stub types definition. highlight.js provides its own type definitions, so you do not need this installed.", "dev": true, "license": "MIT", "dependencies": { @@ -5817,15 +3390,11 @@ }, "node_modules/@types/http-cache-semantics": { "version": "4.0.4", - "resolved": "https://registry.npmmirror.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", - "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", "dev": true, "license": "MIT" }, "node_modules/@types/http-proxy": { - "version": "1.17.15", - "resolved": "https://registry.npmmirror.com/@types/http-proxy/-/http-proxy-1.17.15.tgz", - "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", + "version": "1.17.16", "dev": true, "license": "MIT", "dependencies": { @@ -5834,14 +3403,10 @@ }, "node_modules/@types/json-schema": { "version": "7.0.15", - "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "license": "MIT" }, "node_modules/@types/jsonfile": { "version": "6.1.4", - "resolved": "https://registry.npmmirror.com/@types/jsonfile/-/jsonfile-6.1.4.tgz", - "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5850,8 +3415,6 @@ }, "node_modules/@types/keyv": { "version": "3.1.4", - "resolved": "https://registry.npmmirror.com/@types/keyv/-/keyv-3.1.4.tgz", - "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==", "dev": true, "license": "MIT", "dependencies": { @@ -5860,21 +3423,22 @@ }, "node_modules/@types/linkify-it": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/@types/linkify-it/-/linkify-it-5.0.0.tgz", - "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", "dev": true, "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.14.182", - "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==", + "version": "4.17.16", "license": "MIT" }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, "node_modules/@types/markdown-it": { "version": "14.1.2", - "resolved": "https://registry.npmmirror.com/@types/markdown-it/-/markdown-it-14.1.2.tgz", - "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", "dev": true, "license": "MIT", "dependencies": { @@ -5884,8 +3448,6 @@ }, "node_modules/@types/markdown-it-emoji": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/@types/markdown-it-emoji/-/markdown-it-emoji-3.0.1.tgz", - "integrity": "sha512-cz1j8R35XivBqq9mwnsrP2fsz2yicLhB8+PDtuVkKOExwEdsVBNI+ROL3sbhtR5occRZ66vT0QnwFZCqdjf3pA==", "dev": true, "license": "MIT", "dependencies": { @@ -5894,8 +3456,6 @@ }, "node_modules/@types/markdown-it-link-attributes": { "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/@types/markdown-it-link-attributes/-/markdown-it-link-attributes-3.0.5.tgz", - "integrity": "sha512-VZ2BGN3ywUg7mBD8W6PwR8ChpOxaQSBDbLqPgvNI+uIra3zY2af1eG/3XzWTKjEraTWskMKnZqZd6m1fDF67Bg==", "dev": true, "license": "MIT", "dependencies": { @@ -5904,29 +3464,21 @@ }, "node_modules/@types/mdurl": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/@types/mdurl/-/mdurl-2.0.0.tgz", - "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==", "dev": true, "license": "MIT" }, "node_modules/@types/minimatch": { "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", "dev": true, "license": "MIT" }, "node_modules/@types/ms": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/@types/ms/-/ms-2.1.0.tgz", - "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", "dev": true, "license": "MIT" }, "node_modules/@types/node": { - "version": "22.12.0", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.12.0.tgz", - "integrity": "sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==", + "version": "22.13.8", "license": "MIT", "dependencies": { "undici-types": "~6.20.0" @@ -5934,8 +3486,6 @@ }, "node_modules/@types/plist": { "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/@types/plist/-/plist-3.0.5.tgz", - "integrity": "sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==", "dev": true, "license": "MIT", "optional": true, @@ -5946,15 +3496,11 @@ }, "node_modules/@types/resolve": { "version": "1.20.2", - "resolved": "https://registry.npmmirror.com/@types/resolve/-/resolve-1.20.2.tgz", - "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", "dev": true, "license": "MIT" }, "node_modules/@types/responselike": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/@types/responselike/-/responselike-1.0.3.tgz", - "integrity": "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==", "dev": true, "license": "MIT", "dependencies": { @@ -5963,8 +3509,6 @@ }, "node_modules/@types/sax": { "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/@types/sax/-/sax-1.2.7.tgz", - "integrity": "sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==", "dev": true, "license": "MIT", "dependencies": { @@ -5973,54 +3517,33 @@ }, "node_modules/@types/sortablejs": { "version": "1.15.8", - "resolved": "https://registry.npmmirror.com/@types/sortablejs/-/sortablejs-1.15.8.tgz", - "integrity": "sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==", "license": "MIT" }, "node_modules/@types/tinycolor2": { "version": "1.4.6", - "resolved": "https://registry.npmmirror.com/@types/tinycolor2/-/tinycolor2-1.4.6.tgz", - "integrity": "sha512-iEN8J0BoMnsWBqjVbWH/c0G0Hh7O21lpR2/+PrvAVgWdzL7eexIFm4JN/Wn10PTcmNdtS6U67r499mlWMXOxNw==", - "license": "MIT" - }, - "node_modules/@types/trusted-types": { - "version": "2.0.7", - "resolved": "https://registry.npmmirror.com/@types/trusted-types/-/trusted-types-2.0.7.tgz", - "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "dev": true, "license": "MIT" }, "node_modules/@types/uuid": { "version": "10.0.0", - "resolved": "https://registry.npmmirror.com/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", "dev": true, "license": "MIT" }, "node_modules/@types/validator": { "version": "13.12.2", - "resolved": "https://registry.npmmirror.com/@types/validator/-/validator-13.12.2.tgz", - "integrity": "sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==", "license": "MIT" }, "node_modules/@types/verror": { - "version": "1.10.10", - "resolved": "https://registry.npmmirror.com/@types/verror/-/verror-1.10.10.tgz", - "integrity": "sha512-l4MM0Jppn18hb9xmM6wwD1uTdShpf9Pn80aXTStnK1C94gtPvJcV2FrDmbOQUAQfJ1cKZHktkQUDwEqaAKXMMg==", + "version": "1.10.11", "dev": true, "license": "MIT", "optional": true }, "node_modules/@types/web-bluetooth": { "version": "0.0.20", - "resolved": "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", - "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==", "license": "MIT" }, "node_modules/@types/ws": { "version": "8.5.14", - "resolved": "https://registry.npmmirror.com/@types/ws/-/ws-8.5.14.tgz", - "integrity": "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw==", "license": "MIT", "dependencies": { "@types/node": "*" @@ -6028,8 +3551,6 @@ }, "node_modules/@types/yauzl": { "version": "2.10.3", - "resolved": "https://registry.npmmirror.com/@types/yauzl/-/yauzl-2.10.3.tgz", - "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "dev": true, "license": "MIT", "optional": true, @@ -6039,8 +3560,6 @@ }, "node_modules/@vercel/nft": { "version": "0.27.10", - "resolved": "https://registry.npmmirror.com/@vercel/nft/-/nft-0.27.10.tgz", - "integrity": "sha512-zbaF9Wp/NsZtKLE4uVmL3FyfFwlpDyuymQM1kPbeT0mVOHKDQQNjnnfslB3REg3oZprmNFJuh3pkHBk2qAaizg==", "dev": true, "license": "MIT", "dependencies": { @@ -6066,8 +3585,6 @@ }, "node_modules/@vercel/nft/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", "engines": { @@ -6079,8 +3596,6 @@ }, "node_modules/@vitejs/plugin-vue": { "version": "5.2.1", - "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-5.2.1.tgz", - "integrity": "sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==", "dev": true, "license": "MIT", "engines": { @@ -6093,8 +3608,6 @@ }, "node_modules/@vitest/expect": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/expect/-/expect-3.0.7.tgz", - "integrity": "sha512-QP25f+YJhzPfHrHfYHtvRn+uvkCFCqFtW9CktfBxmB+25QqWsx7VB2As6f4GmwllHLDhXNHvqedwhvMmSnNmjw==", "dev": true, "license": "MIT", "dependencies": { @@ -6109,8 +3622,6 @@ }, "node_modules/@vitest/mocker": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/mocker/-/mocker-3.0.7.tgz", - "integrity": "sha512-qui+3BLz9Eonx4EAuR/i+QlCX6AUZ35taDQgwGkK/Tw6/WgwodSrjN1X2xf69IA/643ZX5zNKIn2svvtZDrs4w==", "dev": true, "license": "MIT", "dependencies": { @@ -6136,8 +3647,6 @@ }, "node_modules/@vitest/mocker/node_modules/estree-walker": { "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "dev": true, "license": "MIT", "dependencies": { @@ -6146,8 +3655,6 @@ }, "node_modules/@vitest/pretty-format": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/pretty-format/-/pretty-format-3.0.7.tgz", - "integrity": "sha512-CiRY0BViD/V8uwuEzz9Yapyao+M9M008/9oMOSQydwbwb+CMokEq3XVaF3XK/VWaOK0Jm9z7ENhybg70Gtxsmg==", "dev": true, "license": "MIT", "dependencies": { @@ -6159,8 +3666,6 @@ }, "node_modules/@vitest/runner": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/runner/-/runner-3.0.7.tgz", - "integrity": "sha512-WeEl38Z0S2ZcuRTeyYqaZtm4e26tq6ZFqh5y8YD9YxfWuu0OFiGFUbnxNynwLjNRHPsXyee2M9tV7YxOTPZl2g==", "dev": true, "license": "MIT", "dependencies": { @@ -6173,15 +3678,11 @@ }, "node_modules/@vitest/runner/node_modules/pathe": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/@vitest/snapshot": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-3.0.7.tgz", - "integrity": "sha512-eqTUryJWQN0Rtf5yqCGTQWsCFOQe4eNz5Twsu21xYEcnFJtMU5XvmG0vgebhdLlrHQTSq5p8vWHJIeJQV8ovsA==", "dev": true, "license": "MIT", "dependencies": { @@ -6195,15 +3696,11 @@ }, "node_modules/@vitest/snapshot/node_modules/pathe": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/@vitest/spy": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/spy/-/spy-3.0.7.tgz", - "integrity": "sha512-4T4WcsibB0B6hrKdAZTM37ekuyFZt2cGbEGd2+L0P8ov15J1/HUsUaqkXEQPNAWr4BtPPe1gI+FYfMHhEKfR8w==", "dev": true, "license": "MIT", "dependencies": { @@ -6215,8 +3712,6 @@ }, "node_modules/@vitest/utils": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@vitest/utils/-/utils-3.0.7.tgz", - "integrity": "sha512-xePVpCRfooFX3rANQjwoditoXgWb1MaFbzmGuPP59MK6i13mrnDw/yEIyJudLeW6/38mCNcwCiJIGmpDPibAIg==", "dev": true, "license": "MIT", "dependencies": { @@ -6230,8 +3725,6 @@ }, "node_modules/@volar/language-core": { "version": "2.4.11", - "resolved": "https://registry.npmmirror.com/@volar/language-core/-/language-core-2.4.11.tgz", - "integrity": "sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==", "dev": true, "license": "MIT", "dependencies": { @@ -6240,15 +3733,11 @@ }, "node_modules/@volar/source-map": { "version": "2.4.11", - "resolved": "https://registry.npmmirror.com/@volar/source-map/-/source-map-2.4.11.tgz", - "integrity": "sha512-ZQpmafIGvaZMn/8iuvCFGrW3smeqkq/IIh9F1SdSx9aUl0J4Iurzd6/FhmjNO5g2ejF3rT45dKskgXWiofqlZQ==", "dev": true, "license": "MIT" }, "node_modules/@volar/typescript": { "version": "2.4.11", - "resolved": "https://registry.npmmirror.com/@volar/typescript/-/typescript-2.4.11.tgz", - "integrity": "sha512-2DT+Tdh88Spp5PyPbqhyoYavYCPDsqbHLFwcUI9K1NlY1YgUJvujGdrqUp0zWxnW7KWNTr3xSpMuv2WnaTKDAw==", "dev": true, "license": "MIT", "dependencies": { @@ -6259,8 +3748,6 @@ }, "node_modules/@vue/compiler-core": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.5.13.tgz", - "integrity": "sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==", "license": "MIT", "dependencies": { "@babel/parser": "^7.25.3", @@ -6272,8 +3759,6 @@ }, "node_modules/@vue/compiler-dom": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz", - "integrity": "sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==", "license": "MIT", "dependencies": { "@vue/compiler-core": "3.5.13", @@ -6282,8 +3767,6 @@ }, "node_modules/@vue/compiler-sfc": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.5.13.tgz", - "integrity": "sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==", "license": "MIT", "dependencies": { "@babel/parser": "^7.25.3", @@ -6299,8 +3782,6 @@ }, "node_modules/@vue/compiler-ssr": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz", - "integrity": "sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==", "license": "MIT", "dependencies": { "@vue/compiler-dom": "3.5.13", @@ -6309,8 +3790,6 @@ }, "node_modules/@vue/compiler-vue2": { "version": "2.7.16", - "resolved": "https://registry.npmmirror.com/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz", - "integrity": "sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==", "dev": true, "license": "MIT", "dependencies": { @@ -6319,23 +3798,19 @@ } }, "node_modules/@vue/devtools-api": { - "version": "7.7.1", - "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-7.7.1.tgz", - "integrity": "sha512-Cexc8GimowoDkJ6eNelOPdYIzsu2mgNyp0scOQ3tiaYSb9iok6LOESSsJvHaI+ib3joRfqRJNLkHFjhNuWA5dg==", + "version": "7.7.2", "dev": true, "license": "MIT", "dependencies": { - "@vue/devtools-kit": "^7.7.1" + "@vue/devtools-kit": "^7.7.2" } }, "node_modules/@vue/devtools-kit": { - "version": "7.7.1", - "resolved": "https://registry.npmmirror.com/@vue/devtools-kit/-/devtools-kit-7.7.1.tgz", - "integrity": "sha512-yhZ4NPnK/tmxGtLNQxmll90jIIXdb2jAhPF76anvn5M/UkZCiLJy28bYgPIACKZ7FCosyKoaope89/RsFJll1w==", + "version": "7.7.2", "dev": true, "license": "MIT", "dependencies": { - "@vue/devtools-shared": "^7.7.1", + "@vue/devtools-shared": "^7.7.2", "birpc": "^0.2.19", "hookable": "^5.5.3", "mitt": "^3.0.1", @@ -6345,9 +3820,7 @@ } }, "node_modules/@vue/devtools-shared": { - "version": "7.7.1", - "resolved": "https://registry.npmmirror.com/@vue/devtools-shared/-/devtools-shared-7.7.1.tgz", - "integrity": "sha512-BtgF7kHq4BHG23Lezc/3W2UhK2ga7a8ohAIAGJMBr4BkxUFzhqntQtCiuL1ijo2ztWnmusymkirgqUrXoQKumA==", + "version": "7.7.2", "dev": true, "license": "MIT", "dependencies": { @@ -6355,9 +3828,7 @@ } }, "node_modules/@vue/language-core": { - "version": "2.2.6", - "resolved": "https://registry.npmmirror.com/@vue/language-core/-/language-core-2.2.6.tgz", - "integrity": "sha512-7IQTvwVOvhYSzcizZ2hAdqJjI+SaJS2GO7EnDlSlQ77drwl5UzNa2IZm9pO9MdMxrlw24CGI/Lo3xpCjM26veg==", + "version": "2.2.8", "dev": true, "license": "MIT", "dependencies": { @@ -6381,8 +3852,6 @@ }, "node_modules/@vue/language-core/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { @@ -6397,8 +3866,6 @@ }, "node_modules/@vue/reactivity": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.5.13.tgz", - "integrity": "sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==", "license": "MIT", "dependencies": { "@vue/shared": "3.5.13" @@ -6406,8 +3873,6 @@ }, "node_modules/@vue/runtime-core": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.5.13.tgz", - "integrity": "sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==", "license": "MIT", "dependencies": { "@vue/reactivity": "3.5.13", @@ -6416,8 +3881,6 @@ }, "node_modules/@vue/runtime-dom": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.5.13.tgz", - "integrity": "sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==", "license": "MIT", "dependencies": { "@vue/reactivity": "3.5.13", @@ -6428,8 +3891,6 @@ }, "node_modules/@vue/server-renderer": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.5.13.tgz", - "integrity": "sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==", "license": "MIT", "dependencies": { "@vue/compiler-ssr": "3.5.13", @@ -6441,43 +3902,52 @@ }, "node_modules/@vue/shared": { "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.13.tgz", - "integrity": "sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==", "license": "MIT" }, "node_modules/@vuepress/bundler-vite": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/bundler-vite/-/bundler-vite-2.0.0-rc.19.tgz", - "integrity": "sha512-Vn0wEVRcdAld+8NJeELSwrj5JEPObRn0xpRWtAau/UwVWHmMLo16RRkTvXdjSiwpDWeP/9ztC5buyTXVoeb7Dw==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { "@vitejs/plugin-vue": "^5.2.1", - "@vuepress/bundlerutils": "2.0.0-rc.19", - "@vuepress/client": "2.0.0-rc.19", - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", + "@vuepress/bundlerutils": "2.0.0-rc.20", + "@vuepress/client": "2.0.0-rc.20", + "@vuepress/core": "2.0.0-rc.20", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", "autoprefixer": "^10.4.20", "connect-history-api-fallback": "^2.0.0", - "postcss": "^8.4.49", + "postcss": "^8.5.3", "postcss-load-config": "^6.0.1", - "rollup": "^4.28.1", - "vite": "~6.0.3", + "rollup": "^4.34.8", + "vite": "~6.1.1", "vue": "^3.5.13", "vue-router": "^4.5.0" } }, + "node_modules/@vuepress/bundler-vite/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/@vuepress/bundler-vite/node_modules/vite": { - "version": "6.0.11", - "resolved": "https://registry.npmmirror.com/vite/-/vite-6.0.11.tgz", - "integrity": "sha512-4VL9mQPKoHy4+FE0NnRE/kbY51TOfaknxAjt3fJbGJxhIpBZiqVzlZDEesWWsuREXHwNdAoOFZ9MkPEVXczHwg==", + "version": "6.1.1", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.24.2", - "postcss": "^8.4.49", - "rollup": "^4.23.0" + "postcss": "^8.5.2", + "rollup": "^4.30.1" }, "bin": { "vite": "bin/vite.js" @@ -6541,34 +4011,30 @@ } }, "node_modules/@vuepress/bundlerutils": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/bundlerutils/-/bundlerutils-2.0.0-rc.19.tgz", - "integrity": "sha512-ln5htptK14OMJV3yeGRxAwYhSkVxrTwEHEaifeWrFvjuNxj2kLmkCl7MDdzr232jSOWwkCcmbOyafbxMsaRDkQ==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/client": "2.0.0-rc.19", - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", + "@vuepress/client": "2.0.0-rc.20", + "@vuepress/core": "2.0.0-rc.20", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", "vue": "^3.5.13", "vue-router": "^4.5.0" } }, "node_modules/@vuepress/cli": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/cli/-/cli-2.0.0-rc.19.tgz", - "integrity": "sha512-QFicPNIj3RZAJbHoLbeYlPJsPchnQLGuw0n8xv0eeUi9ejEXO1huWA8sLoPbTGdiDW+PHr1MHnaVMkyUfwaKcQ==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", + "@vuepress/core": "2.0.0-rc.20", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", "cac": "^6.7.14", "chokidar": "^3.6.0", "envinfo": "^7.14.0", - "esbuild": "~0.21.5" + "esbuild": "^0.24.2" }, "bin": { "vuepress-cli": "bin/vuepress.js" @@ -6950,8 +4416,6 @@ }, "node_modules/@vuepress/cli/node_modules/@esbuild/win32-x64": { "version": "0.21.5", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", - "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "cpu": [ "x64" ], @@ -6967,8 +4431,6 @@ }, "node_modules/@vuepress/cli/node_modules/esbuild": { "version": "0.21.5", - "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.21.5.tgz", - "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -7005,59 +4467,52 @@ } }, "node_modules/@vuepress/client": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/client/-/client-2.0.0-rc.19.tgz", - "integrity": "sha512-vUAU6n4qmtXqthxkb4LHq0D+VWSDenwBDf0jUs7RaBLuOVrbPtmH/hs4k1vLIlGdwC3Zs/G6tlB4UmuZiiwR8Q==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { - "@vue/devtools-api": "^7.6.7", - "@vuepress/shared": "2.0.0-rc.19", + "@vue/devtools-api": "^7.7.2", + "@vue/devtools-kit": "^7.7.2", + "@vuepress/shared": "2.0.0-rc.20", "vue": "^3.5.13", "vue-router": "^4.5.0" } }, "node_modules/@vuepress/core": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/core/-/core-2.0.0-rc.19.tgz", - "integrity": "sha512-rvmBPMIWS2dey/2QjxZoO0OcrUU46NE3mSLk3oU7JOP0cG7xvRxf6U1OXiwYLC3fPO4g6XbHiKe6gihkmL6VDA==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/client": "2.0.0-rc.19", - "@vuepress/markdown": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", + "@vuepress/client": "2.0.0-rc.20", + "@vuepress/markdown": "2.0.0-rc.20", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", "vue": "^3.5.13" } }, "node_modules/@vuepress/helper": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/helper/-/helper-2.0.0-rc.74.tgz", - "integrity": "sha512-k0FjkM9TKggcWkyZwXj4cLUIF3FBJ5iZGnC+Ln4OJVGD7k3SvT7TL7IaCZoFBIXTlepZwytsIN7K5Lbmpx0GfQ==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { "@vue/shared": "^3.5.13", - "@vueuse/core": "^12.5.0", + "@vueuse/core": "^12.7.0", "cheerio": "1.0.0", "fflate": "^0.8.2", "gray-matter": "^4.0.3", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/highlighter-helper": { - "version": "2.0.0-rc.71", - "resolved": "https://registry.npmmirror.com/@vuepress/highlighter-helper/-/highlighter-helper-2.0.0-rc.71.tgz", - "integrity": "sha512-Hi9ira4VmX1MuRcagbSIZ/hHtwB4Fduz/NfiFGmOYX68zWIsQ1e90Ntku8GeI2MEDWlFxGU8PY/7VcXwINjoXQ==", + "version": "2.0.0-rc.79", "dev": true, "license": "MIT", "peerDependencies": { - "@vueuse/core": "^12.2.0", - "vuepress": "2.0.0-rc.19" + "@vueuse/core": "^12.7.0", + "vuepress": "2.0.0-rc.20" }, "peerDependenciesMeta": { "@vueuse/core": { @@ -7066,9 +4521,7 @@ } }, "node_modules/@vuepress/markdown": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/markdown/-/markdown-2.0.0-rc.19.tgz", - "integrity": "sha512-6jgUXhpEK55PEEGtPhz7Hq/JqTbLU8n9w2D7emXiK2FYcbeKpjoRIbVRzmzB/dXeK3NzHChANu2IIqpOT6Ba1w==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { @@ -7082,8 +4535,8 @@ "@mdit-vue/types": "^2.1.0", "@types/markdown-it": "^14.1.2", "@types/markdown-it-emoji": "^3.0.1", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", "markdown-it": "^14.1.0", "markdown-it-anchor": "^9.2.0", "markdown-it-emoji": "^3.0.0", @@ -7091,212 +4544,182 @@ } }, "node_modules/@vuepress/plugin-active-header-links": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-2.0.0-rc.74.tgz", - "integrity": "sha512-ErXPpq52hKS0AubppT8HOqST5BBr2ibMK8LF2ctmoS7fZr8VlRysVn6jpLRGdDG+hBIHqbHsitBwMp5y1k99ag==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vueuse/core": "^12.5.0", + "@vueuse/core": "^12.7.0", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-back-to-top": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-back-to-top/-/plugin-back-to-top-2.0.0-rc.74.tgz", - "integrity": "sha512-/r7pUarK67s3ZedfoUQ7JxcOcrSTxcSMiu6ozQW5vfe7s3d2WzIeaW/dsXPlmAdCEU0MZcb5RXRCNHBdZ9Zo2Q==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", - "@vueuse/core": "^12.5.0", + "@vuepress/helper": "2.0.0-rc.80", + "@vueuse/core": "^12.7.0", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-copy-code": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-copy-code/-/plugin-copy-code-2.0.0-rc.74.tgz", - "integrity": "sha512-flyUj8Xwj0G2jKMTtTrdJGpMS4By90kJGgEbxDTobV4t/98hpBBvEiL1AQ8oGIcQFHH6U+eNRPytde6/7NxKlw==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", - "@vueuse/core": "^12.5.0", + "@vuepress/helper": "2.0.0-rc.80", + "@vueuse/core": "^12.7.0", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-git": { - "version": "2.0.0-rc.68", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-git/-/plugin-git-2.0.0-rc.68.tgz", - "integrity": "sha512-k/tXBSIyQM26UrmDK/mN1/q6gw8PmF2uLyIaso+B39qCOFQKUBq4uJF2a0oYTq9tpjM5AHwwBpytPE5cdV/BPQ==", + "version": "2.0.0-rc.79", "dev": true, "license": "MIT", "dependencies": { "execa": "^9.5.2" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-links-check": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-links-check/-/plugin-links-check-2.0.0-rc.74.tgz", - "integrity": "sha512-/g+mosEv2iqbTVD7QpPIP0f0OGC8cQEO6VZgwxj25Swcnq0ndsuq0NOO+SIRasdYZe2xTZ94eNXcZEcKlCA9uw==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74" + "@vuepress/helper": "2.0.0-rc.80" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-markdown-hint": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-markdown-hint/-/plugin-markdown-hint-2.0.0-rc.74.tgz", - "integrity": "sha512-1vC11eie+85XoIxQNWFgevpkYCcnc3DMi+x7WAc89+7yk0gP7zJVolWaPH1lLNfmoMxmpfms5ssEnUpr3vHMEQ==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { "@mdit/plugin-alert": "^0.16.0", "@mdit/plugin-container": "^0.16.0", "@types/markdown-it": "^14.1.2", - "@vuepress/helper": "2.0.0-rc.74", - "@vueuse/core": "^12.5.0" + "@vuepress/helper": "2.0.0-rc.80", + "@vueuse/core": "^12.7.0" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-markdown-tab": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-markdown-tab/-/plugin-markdown-tab-2.0.0-rc.74.tgz", - "integrity": "sha512-LhsOEVDfOLpyjBKwx9ZsMbWD8NVQkHgjT+AbZMd2f+fnOaTw7cvWtJxTsg6yQZt2c0Wc3268WtaqxeuqaHTZ6w==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { "@mdit/plugin-tab": "^0.16.0", "@types/markdown-it": "^14.1.2", - "@vuepress/helper": "2.0.0-rc.74", - "@vueuse/core": "^12.5.0", + "@vuepress/helper": "2.0.0-rc.80", + "@vueuse/core": "^12.7.0", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-medium-zoom": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-medium-zoom/-/plugin-medium-zoom-2.0.0-rc.74.tgz", - "integrity": "sha512-wKJnG28JcxacZLoM1AiGs2BWPjTR0NOI9m1d9WlzdU6Y9aZ2HrGQ/ajYptux5zfFU1NqVjA0QiqOO2D4z0i/hw==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", + "@vuepress/helper": "2.0.0-rc.80", "medium-zoom": "^1.1.0", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-nprogress": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-nprogress/-/plugin-nprogress-2.0.0-rc.74.tgz", - "integrity": "sha512-tgbMm2+MwJaUzqTBioeXYs8gaPXS9gYbvTg6HpFU0B4dJJ3CBq62CZEuord6T3Q6m/PnZz1H98bb3BmosKg1OA==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", + "@vuepress/helper": "2.0.0-rc.80", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-palette": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-palette/-/plugin-palette-2.0.0-rc.74.tgz", - "integrity": "sha512-O23Fek1Q0IppBhdCfJrdwHIvzwlEChacx/y6VzNpkGA5cMx2mjruBYCpbF1ZaVIRjFHzNEu++W1LNBWNGdQSyA==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", + "@vuepress/helper": "2.0.0-rc.80", "chokidar": "^3.6.0" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-prismjs": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-prismjs/-/plugin-prismjs-2.0.0-rc.74.tgz", - "integrity": "sha512-Kkz+raZxKP92Ktn6/SG4JVauyJTJaEKQX6AVJPBb1IrHg5n1m9h7xv/j+74XfdSHaE6za6pW7l99eZmvfxUQFg==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", - "@vuepress/highlighter-helper": "2.0.0-rc.71", + "@vuepress/helper": "2.0.0-rc.80", + "@vuepress/highlighter-helper": "2.0.0-rc.79", "prismjs": "^1.29.0" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-seo": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-seo/-/plugin-seo-2.0.0-rc.74.tgz", - "integrity": "sha512-Z5Q35Y3TALhfhOs8DocBtQcyRCp0/Btjec7DfnDih5p5rhRI7dHI7DIdf9aJHTuz1VxpzCfru6sApqSdbPlc5g==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74" + "@vuepress/helper": "2.0.0-rc.80" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-sitemap": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-sitemap/-/plugin-sitemap-2.0.0-rc.74.tgz", - "integrity": "sha512-Kbr9u3fryw34s9ZdxY4fKsCQcN74aFal34CJ4xPxx5E6liE9Rp+gOWevOl89qYXfXgPfyHHJlW5KYfonaZe9Sw==", + "version": "2.0.0-rc.80", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", + "@vuepress/helper": "2.0.0-rc.80", "sitemap": "^8.0.0" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/plugin-theme-data": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/plugin-theme-data/-/plugin-theme-data-2.0.0-rc.74.tgz", - "integrity": "sha512-6uQPv4kRakqcEPWmL3ZYKqjXqzOVycAdlr7oQlxs23E8CO59/QyIcrkloHPsdI+VhAA3v46NdiVD2TIrESRm6A==", + "version": "2.0.0-rc.79", "dev": true, "license": "MIT", "dependencies": { - "@vue/devtools-api": "^7.7.1", + "@vue/devtools-api": "^7.7.2", "vue": "^3.5.13" }, "peerDependencies": { - "vuepress": "2.0.0-rc.19" + "vuepress": "2.0.0-rc.20" } }, "node_modules/@vuepress/shared": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/shared/-/shared-2.0.0-rc.19.tgz", - "integrity": "sha512-xaDeZxX0Qetc2Y6/lrzO6M/40i3LmMm7Fk85bOftBBOaNehZ24RdsmIHBJDDv+bTUv+DBF++1/mOtbt6DBRzEA==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { @@ -7304,35 +4727,33 @@ } }, "node_modules/@vuepress/theme-default": { - "version": "2.0.0-rc.74", - "resolved": "https://registry.npmmirror.com/@vuepress/theme-default/-/theme-default-2.0.0-rc.74.tgz", - "integrity": "sha512-bNm7Ey7u2dWe+8Mi2s6jvT2ccREqLQfzVjgfWPDpvGWXPXTCXLf/fBk7vKJ+YdFWq++SnMhqKyrsDMqdu2C7jg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@vuepress/helper": "2.0.0-rc.74", - "@vuepress/plugin-active-header-links": "2.0.0-rc.74", - "@vuepress/plugin-back-to-top": "2.0.0-rc.74", - "@vuepress/plugin-copy-code": "2.0.0-rc.74", - "@vuepress/plugin-git": "2.0.0-rc.68", - "@vuepress/plugin-links-check": "2.0.0-rc.74", - "@vuepress/plugin-markdown-hint": "2.0.0-rc.74", - "@vuepress/plugin-markdown-tab": "2.0.0-rc.74", - "@vuepress/plugin-medium-zoom": "2.0.0-rc.74", - "@vuepress/plugin-nprogress": "2.0.0-rc.74", - "@vuepress/plugin-palette": "2.0.0-rc.74", - "@vuepress/plugin-prismjs": "2.0.0-rc.74", - "@vuepress/plugin-seo": "2.0.0-rc.74", - "@vuepress/plugin-sitemap": "2.0.0-rc.74", - "@vuepress/plugin-theme-data": "2.0.0-rc.74", - "@vueuse/core": "^12.5.0", + "version": "2.0.0-rc.80", + "dev": true, + "license": "MIT", + "dependencies": { + "@vuepress/helper": "2.0.0-rc.80", + "@vuepress/plugin-active-header-links": "2.0.0-rc.80", + "@vuepress/plugin-back-to-top": "2.0.0-rc.80", + "@vuepress/plugin-copy-code": "2.0.0-rc.80", + "@vuepress/plugin-git": "2.0.0-rc.79", + "@vuepress/plugin-links-check": "2.0.0-rc.80", + "@vuepress/plugin-markdown-hint": "2.0.0-rc.80", + "@vuepress/plugin-markdown-tab": "2.0.0-rc.80", + "@vuepress/plugin-medium-zoom": "2.0.0-rc.80", + "@vuepress/plugin-nprogress": "2.0.0-rc.80", + "@vuepress/plugin-palette": "2.0.0-rc.80", + "@vuepress/plugin-prismjs": "2.0.0-rc.80", + "@vuepress/plugin-seo": "2.0.0-rc.80", + "@vuepress/plugin-sitemap": "2.0.0-rc.80", + "@vuepress/plugin-theme-data": "2.0.0-rc.79", + "@vueuse/core": "^12.7.0", "vue": "^3.5.13" }, "peerDependencies": { - "sass": "^1.80.3", - "sass-embedded": "^1.80.3", - "sass-loader": "^16.0.2", - "vuepress": "2.0.0-rc.19" + "sass": "^1.85.0", + "sass-embedded": "^1.85.0", + "sass-loader": "^16.0.5", + "vuepress": "2.0.0-rc.20" }, "peerDependenciesMeta": { "sass": { @@ -7347,29 +4768,25 @@ } }, "node_modules/@vuepress/utils": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/utils/-/utils-2.0.0-rc.19.tgz", - "integrity": "sha512-cgzk8/aJquZKgFMNTuqdjbU5NrCzrPmdTyhYBcmliL/6N/He1OTWn3PD9QWUGJNODb1sPRJpklZnCpU07waLmg==", + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", "dependencies": { "@types/debug": "^4.1.12", "@types/fs-extra": "^11.0.4", "@types/hash-sum": "^1.0.2", - "@vuepress/shared": "2.0.0-rc.19", + "@vuepress/shared": "2.0.0-rc.20", "debug": "^4.4.0", - "fs-extra": "^11.2.0", - "globby": "^14.0.2", + "fs-extra": "^11.3.0", + "globby": "^14.1.0", "hash-sum": "^2.0.0", - "ora": "^8.1.1", + "ora": "^8.2.0", "picocolors": "^1.1.1", "upath": "^2.0.1" } }, "node_modules/@vueuse/core": { "version": "12.7.0", - "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-12.7.0.tgz", - "integrity": "sha512-jtK5B7YjZXmkGNHjviyGO4s3ZtEhbzSgrbX+s5o+Lr8i2nYqNyHuPVOeTdM1/hZ5Tkxg/KktAuAVDDiHMraMVA==", "license": "MIT", "dependencies": { "@types/web-bluetooth": "^0.0.20", @@ -7383,8 +4800,6 @@ }, "node_modules/@vueuse/metadata": { "version": "12.7.0", - "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-12.7.0.tgz", - "integrity": "sha512-4VvTH9mrjXqFN5LYa5YfqHVRI6j7R00Vy4995Rw7PQxyCL3z0Lli86iN4UemWqixxEvYfRjG+hF9wL8oLOn+3g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/antfu" @@ -7392,8 +4807,6 @@ }, "node_modules/@vueuse/shared": { "version": "12.7.0", - "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-12.7.0.tgz", - "integrity": "sha512-coLlUw2HHKsm7rPN6WqHJQr18WymN4wkA/3ThFaJ4v4gWGWAQQGK+MJxLuJTBs4mojQiazlVWAKNJNpUWGRkNw==", "license": "MIT", "dependencies": { "vue": "^3.5.13" @@ -7404,8 +4817,6 @@ }, "node_modules/@wdns/vue-code-block": { "version": "2.3.5", - "resolved": "https://registry.npmmirror.com/@wdns/vue-code-block/-/vue-code-block-2.3.5.tgz", - "integrity": "sha512-09TguXcFZEA/9Fyx4c/3Jp4XUK82OKiT1TwH8cBeGg6Nj1E1R16nuABq1yJSvq/GZCxXtOJWw9i3TdxV4MctOw==", "funding": [ { "type": "paypal", @@ -7426,8 +4837,6 @@ }, "node_modules/@xmldom/xmldom": { "version": "0.8.10", - "resolved": "https://registry.npmmirror.com/@xmldom/xmldom/-/xmldom-0.8.10.tgz", - "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -7435,15 +4844,11 @@ }, "node_modules/7zip-bin": { "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/7zip-bin/-/7zip-bin-5.2.0.tgz", - "integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==", "dev": true, "license": "MIT" }, "node_modules/abbrev": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-3.0.0.tgz", - "integrity": "sha512-+/kfrslGQ7TNV2ecmQwMJj/B65g5KVq1/L3SGVZ3tCYGqlzFuFCGBZJtMP99wH3NpEUyAjn0zPdPUg0D+DwrOA==", "dev": true, "license": "ISC", "engines": { @@ -7452,8 +4857,6 @@ }, "node_modules/abort-controller": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", "dev": true, "license": "MIT", "dependencies": { @@ -7465,8 +4868,6 @@ }, "node_modules/acorn": { "version": "8.14.0", - "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -7477,8 +4878,6 @@ }, "node_modules/acorn-import-attributes": { "version": "1.9.5", - "resolved": "https://registry.npmmirror.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -7487,8 +4886,6 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -7496,22 +4893,15 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.4", - "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.3.4.tgz", - "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "version": "8.3.2", "dev": true, "license": "MIT", - "dependencies": { - "acorn": "^8.11.0" - }, "engines": { "node": ">=0.4.0" } }, "node_modules/adler-32": { "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/adler-32/-/adler-32-1.3.1.tgz", - "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", "license": "Apache-2.0", "engines": { "node": ">=0.8" @@ -7519,8 +4909,6 @@ }, "node_modules/agent-base": { "version": "7.1.3", - "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", "dev": true, "license": "MIT", "engines": { @@ -7529,8 +4917,6 @@ }, "node_modules/agentkeepalive": { "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/agentkeepalive/-/agentkeepalive-4.6.0.tgz", - "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7542,8 +4928,6 @@ }, "node_modules/aggregate-error": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "license": "MIT", "dependencies": { @@ -7556,8 +4940,6 @@ }, "node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", "dependencies": { @@ -7573,8 +4955,6 @@ }, "node_modules/ajv-keywords": { "version": "3.5.2", - "resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -7583,15 +4963,11 @@ }, "node_modules/alien-signals": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/alien-signals/-/alien-signals-1.0.4.tgz", - "integrity": "sha512-DJqqQD3XcsaQcQ1s+iE2jDUZmmQpXwHiR6fCAim/w87luaW+vmLY8fMlrdkmRwzaFXhkxf3rqPCR59tKVv1MDw==", "dev": true, "license": "MIT" }, "node_modules/ansi-colors": { "version": "4.1.3", - "resolved": "https://registry.npmmirror.com/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true, "license": "MIT", "engines": { @@ -7600,8 +4976,6 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { "node": ">=8" @@ -7609,8 +4983,6 @@ }, "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -7624,15 +4996,11 @@ }, "node_modules/any-promise": { "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", "dev": true, "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "license": "ISC", "dependencies": { @@ -7645,15 +5013,11 @@ }, "node_modules/app-builder-bin": { "version": "5.0.0-alpha.10", - "resolved": "https://registry.npmmirror.com/app-builder-bin/-/app-builder-bin-5.0.0-alpha.10.tgz", - "integrity": "sha512-Ev4jj3D7Bo+O0GPD2NMvJl+PGiBAfS7pUGawntBNpCbxtpncfUixqFj9z9Jme7V7s3LBGqsWZZP54fxBX3JKJw==", "dev": true, "license": "MIT" }, "node_modules/app-builder-lib": { "version": "25.1.8", - "resolved": "https://registry.npmmirror.com/app-builder-lib/-/app-builder-lib-25.1.8.tgz", - "integrity": "sha512-pCqe7dfsQFBABC1jeKZXQWhGcCPF3rPCXDdfqVKjIeWBcXzyC1iOWZdfFhGl+S9MyE/k//DFmC6FzuGAUudNDg==", "dev": true, "license": "MIT", "dependencies": { @@ -7700,8 +5064,6 @@ }, "node_modules/app-builder-lib/node_modules/@types/fs-extra": { "version": "9.0.13", - "resolved": "https://registry.npmmirror.com/@types/fs-extra/-/fs-extra-9.0.13.tgz", - "integrity": "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==", "dev": true, "license": "MIT", "dependencies": { @@ -7710,8 +5072,6 @@ }, "node_modules/app-builder-lib/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7724,9 +5084,7 @@ } }, "node_modules/app-builder-lib/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -7738,15 +5096,11 @@ }, "node_modules/aproba": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true, "license": "ISC" }, "node_modules/archiver": { "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/archiver/-/archiver-5.3.2.tgz", - "integrity": "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==", "dev": true, "license": "MIT", "peer": true, @@ -7765,8 +5119,6 @@ }, "node_modules/archiver-utils": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-2.1.0.tgz", - "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", "dev": true, "license": "MIT", "peer": true, @@ -7786,18 +5138,8 @@ "node": ">= 6" } }, - "node_modules/archiver-utils/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT", - "peer": true - }, "node_modules/archiver-utils/node_modules/readable-stream": { "version": "2.3.8", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", "peer": true, @@ -7813,16 +5155,12 @@ }, "node_modules/archiver-utils/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, "license": "MIT", "peer": true }, "node_modules/archiver-utils/node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", "peer": true, @@ -7832,9 +5170,6 @@ }, "node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "deprecated": "This package is no longer supported.", "dev": true, "license": "ISC", "dependencies": { @@ -7847,38 +5182,15 @@ }, "node_modules/arg": { "version": "5.0.2", - "resolved": "https://registry.npmmirror.com/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", "dev": true, "license": "MIT" }, "node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "license": "Python-2.0" }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", - "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "is-array-buffer": "^3.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/array-differ": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", "dev": true, "license": "MIT", "engines": { @@ -7887,40 +5199,14 @@ }, "node_modules/array-union": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", - "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "is-array-buffer": "^3.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/arrify": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", "dev": true, "license": "MIT", "engines": { @@ -7929,8 +5215,6 @@ }, "node_modules/as-table": { "version": "1.0.55", - "resolved": "https://registry.npmmirror.com/as-table/-/as-table-1.0.55.tgz", - "integrity": "sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7939,8 +5223,6 @@ }, "node_modules/assert": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/assert/-/assert-2.0.0.tgz", - "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", "dev": true, "license": "MIT", "dependencies": { @@ -7952,8 +5234,6 @@ }, "node_modules/assert-plus": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", "dev": true, "license": "MIT", "optional": true, @@ -7963,8 +5243,6 @@ }, "node_modules/assertion-error": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/assertion-error/-/assertion-error-2.0.1.tgz", - "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true, "license": "MIT", "engines": { @@ -7984,48 +5262,28 @@ }, "node_modules/async": { "version": "3.2.6", - "resolved": "https://registry.npmmirror.com/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true, "license": "MIT" }, "node_modules/async-exit-hook": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/async-exit-hook/-/async-exit-hook-2.0.1.tgz", - "integrity": "sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw==", "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" } }, - "node_modules/async-function": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/async-function/-/async-function-1.0.0.tgz", - "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/async-sema": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/async-sema/-/async-sema-3.1.1.tgz", - "integrity": "sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==", "dev": true, "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, "node_modules/at-least-node": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true, "license": "ISC", "engines": { @@ -8034,8 +5292,6 @@ }, "node_modules/autoprefixer": { "version": "10.4.20", - "resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.20.tgz", - "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", "dev": true, "funding": [ { @@ -8072,8 +5328,6 @@ }, "node_modules/available-typed-arrays": { "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -8088,64 +5342,16 @@ }, "node_modules/b4a": { "version": "1.6.7", - "resolved": "https://registry.npmmirror.com/b4a/-/b4a-1.6.7.tgz", - "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", "devOptional": true, "license": "Apache-2.0" }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.12", - "resolved": "https://registry.npmmirror.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.12.tgz", - "integrity": "sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.3", - "semver": "^6.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.10.6", - "resolved": "https://registry.npmmirror.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", - "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.2", - "core-js-compat": "^3.38.0" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.6.3", - "resolved": "https://registry.npmmirror.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.3.tgz", - "integrity": "sha512-LiWSbl4CRSIa5x/JAU6jZiG9eit9w6mz+yVMFwDE83LAWvt0AfGBoZ7HS/mkhrKuh2ZlzfVZYKoLjXdqw6Yt7Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.3" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "license": "MIT" }, "node_modules/bare-events": { "version": "2.5.4", - "resolved": "https://registry.npmmirror.com/bare-events/-/bare-events-2.5.4.tgz", - "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", "license": "Apache-2.0", "optional": true }, @@ -8166,14 +5372,14 @@ } }, "node_modules/bare-os": { - "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/bare-os/-/bare-os-3.4.0.tgz", - "integrity": "sha512-9Ous7UlnKbe3fMi7Y+qh0DwAup6A1JkYgPnjvMDNOlmnxNRQvQ/7Nst+OnUQKzk0iAT0m9BisbDVp9gCv8+ETA==", + "version": "3.5.1", + "resolved": "https://registry.npmmirror.com/bare-os/-/bare-os-3.5.1.tgz", + "integrity": "sha512-LvfVNDcWLw2AnIw5f2mWUgumW3I3N/WYGiWeimhQC1Ybt71n2FjlS9GJKeCnFeg1MKZHxzIFmpFnBXDI+sBeFg==", "license": "Apache-2.0", "optional": true, "peer": true, "engines": { - "bare": ">=1.6.0" + "bare": ">=1.14.0" } }, "node_modules/bare-path": { @@ -8188,9 +5394,9 @@ } }, "node_modules/bare-stream": { - "version": "2.6.4", - "resolved": "https://registry.npmmirror.com/bare-stream/-/bare-stream-2.6.4.tgz", - "integrity": "sha512-G6i3A74FjNq4nVrrSTUz5h3vgXzBJnjmWAVlBWaZETkgu+LgKd7AiyOml3EDJY1AHlIbBHKDXE+TUT53Ff8OaA==", + "version": "2.6.5", + "resolved": "https://registry.npmmirror.com/bare-stream/-/bare-stream-2.6.5.tgz", + "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", "license": "Apache-2.0", "optional": true, "peer": true, @@ -8212,8 +5418,6 @@ }, "node_modules/base64-js": { "version": "1.5.1", - "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", @@ -8232,14 +5436,10 @@ }, "node_modules/bezier-easing": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/bezier-easing/-/bezier-easing-2.1.0.tgz", - "integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==", "license": "MIT" }, "node_modules/binary-extensions": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, "license": "MIT", "engines": { @@ -8251,8 +5451,6 @@ }, "node_modules/bindings": { "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", "dev": true, "license": "MIT", "dependencies": { @@ -8261,8 +5459,6 @@ }, "node_modules/birpc": { "version": "0.2.19", - "resolved": "https://registry.npmmirror.com/birpc/-/birpc-0.2.19.tgz", - "integrity": "sha512-5WeXXAvTmitV1RqJFppT5QtUiz2p1mRSYU000Jkft5ZUCLJIk4uQriYNO50HknxKwM6jd8utNc66K1qGIwwWBQ==", "dev": true, "license": "MIT", "funding": { @@ -8271,8 +5467,6 @@ }, "node_modules/bl": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "devOptional": true, "license": "MIT", "dependencies": { @@ -8283,22 +5477,16 @@ }, "node_modules/blake3-wasm": { "version": "2.1.5", - "resolved": "https://registry.npmmirror.com/blake3-wasm/-/blake3-wasm-2.1.5.tgz", - "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==", "dev": true, "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", - "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", "dev": true, "license": "MIT" }, "node_modules/bluebird-lst": { "version": "1.0.9", - "resolved": "https://registry.npmmirror.com/bluebird-lst/-/bluebird-lst-1.0.9.tgz", - "integrity": "sha512-7B1Rtx82hjnSD4PGLAjVWeYH3tHAcVUmChh85a3lltKQm6FresXh9ErQo6oAv6CqxttczC3/kEg8SY5NluPuUw==", "dev": true, "license": "MIT", "dependencies": { @@ -8307,24 +5495,17 @@ }, "node_modules/boolbase": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", "dev": true, "license": "ISC" }, "node_modules/boolean": { "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/boolean/-/boolean-3.2.0.tgz", - "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", "dev": true, "license": "MIT", "optional": true }, "node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "license": "MIT", "dependencies": { @@ -8333,8 +5514,6 @@ }, "node_modules/braces": { "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "license": "MIT", "dependencies": { "fill-range": "^7.1.1" @@ -8345,8 +5524,6 @@ }, "node_modules/browserslist": { "version": "4.24.4", - "resolved": "https://registry.npmmirror.com/browserslist/-/browserslist-4.24.4.tgz", - "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", "funding": [ { "type": "opencollective", @@ -8377,8 +5554,6 @@ }, "node_modules/buffer": { "version": "5.7.1", - "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "devOptional": true, "funding": [ { @@ -8402,15 +5577,11 @@ }, "node_modules/buffer-builder": { "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/buffer-builder/-/buffer-builder-0.2.0.tgz", - "integrity": "sha512-7VPMEPuYznPSoR21NE1zvd2Xna6c/CloiZCfcMXR1Jny6PjX0N4Nsa38zcBFo/FMK+BlA+FLKbJCQ0i2yxp+Xg==", "dev": true, "license": "MIT/X11" }, "node_modules/buffer-crc32": { "version": "0.2.13", - "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", "dev": true, "license": "MIT", "engines": { @@ -8419,15 +5590,11 @@ }, "node_modules/buffer-from": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true, "license": "MIT" }, "node_modules/builder-util": { "version": "25.1.7", - "resolved": "https://registry.npmmirror.com/builder-util/-/builder-util-25.1.7.tgz", - "integrity": "sha512-7jPjzBwEGRbwNcep0gGNpLXG9P94VA3CPAZQCzxkFXiV2GMQKlziMbY//rXPI7WKfhsvGgFXjTcXdBEwgXw9ww==", "dev": true, "license": "MIT", "dependencies": { @@ -8451,8 +5618,6 @@ }, "node_modules/builder-util-runtime": { "version": "9.2.10", - "resolved": "https://registry.npmmirror.com/builder-util-runtime/-/builder-util-runtime-9.2.10.tgz", - "integrity": "sha512-6p/gfG1RJSQeIbz8TK5aPNkoztgY1q5TgmGFMAXcY8itsGW6Y2ld1ALsZ5UJn8rog7hKF3zHx5iQbNQ8uLcRlw==", "dev": true, "license": "MIT", "dependencies": { @@ -8465,8 +5630,6 @@ }, "node_modules/builder-util/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "license": "MIT", "dependencies": { @@ -8480,8 +5643,6 @@ }, "node_modules/c12": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/c12/-/c12-2.0.1.tgz", - "integrity": "sha512-Z4JgsKXHG37C6PYUtIxCfLJZvo6FyhHJoClwwb9ftUkLpPSkuYqn6Tr+vnaN8hymm0kIbcg6Ey3kv/Q71k5w/A==", "license": "MIT", "dependencies": { "chokidar": "^4.0.1", @@ -8508,8 +5669,6 @@ }, "node_modules/c12/node_modules/chokidar": { "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "license": "MIT", "dependencies": { "readdirp": "^4.0.1" @@ -8522,9 +5681,7 @@ } }, "node_modules/c12/node_modules/readdirp": { - "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-4.1.1.tgz", - "integrity": "sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==", + "version": "4.1.2", "license": "MIT", "engines": { "node": ">= 14.18.0" @@ -8536,8 +5693,6 @@ }, "node_modules/cac": { "version": "6.7.14", - "resolved": "https://registry.npmmirror.com/cac/-/cac-6.7.14.tgz", - "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", "dev": true, "license": "MIT", "engines": { @@ -8546,8 +5701,6 @@ }, "node_modules/cacache": { "version": "16.1.3", - "resolved": "https://registry.npmmirror.com/cacache/-/cacache-16.1.3.tgz", - "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", "dev": true, "license": "ISC", "dependencies": { @@ -8576,9 +5729,6 @@ }, "node_modules/cacache/node_modules/glob": { "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "license": "ISC", "dependencies": { @@ -8597,8 +5747,6 @@ }, "node_modules/cacache/node_modules/lru-cache": { "version": "7.18.3", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", "engines": { @@ -8607,8 +5755,6 @@ }, "node_modules/cacache/node_modules/minimatch": { "version": "5.1.6", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "license": "ISC", "dependencies": { @@ -8620,8 +5766,6 @@ }, "node_modules/cacheable-lookup": { "version": "5.0.4", - "resolved": "https://registry.npmmirror.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", - "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==", "dev": true, "license": "MIT", "engines": { @@ -8630,8 +5774,6 @@ }, "node_modules/cacheable-request": { "version": "7.0.4", - "resolved": "https://registry.npmmirror.com/cacheable-request/-/cacheable-request-7.0.4.tgz", - "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==", "dev": true, "license": "MIT", "dependencies": { @@ -8649,8 +5791,6 @@ }, "node_modules/cacheable-request/node_modules/get-stream": { "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "license": "MIT", "dependencies": { @@ -8665,8 +5805,6 @@ }, "node_modules/call-bind": { "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.8.tgz", - "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", "dev": true, "license": "MIT", "dependencies": { @@ -8683,9 +5821,7 @@ } }, "node_modules/call-bind-apply-helpers": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", - "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "version": "1.0.2", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -8697,8 +5833,6 @@ }, "node_modules/call-bound": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/call-bound/-/call-bound-1.0.3.tgz", - "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", "dev": true, "license": "MIT", "dependencies": { @@ -8714,8 +5848,6 @@ }, "node_modules/camelcase-css": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", "dev": true, "license": "MIT", "engines": { @@ -8723,9 +5855,7 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001696", - "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001696.tgz", - "integrity": "sha512-pDCPkvzfa39ehJtJ+OwGT/2yvT2SbjfHhiIW2LWOAcMQ7BzwxT/XuyUp4OTOd0XFWA6BKw0JalnBHgSi5DGJBQ==", + "version": "1.0.30001701", "funding": [ { "type": "opencollective", @@ -8744,8 +5874,6 @@ }, "node_modules/catharsis": { "version": "0.9.0", - "resolved": "https://registry.npmmirror.com/catharsis/-/catharsis-0.9.0.tgz", - "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", "dev": true, "license": "MIT", "dependencies": { @@ -8757,8 +5885,6 @@ }, "node_modules/cfb": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/cfb/-/cfb-1.2.2.tgz", - "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", "license": "Apache-2.0", "dependencies": { "adler-32": "~1.3.0", @@ -8770,8 +5896,6 @@ }, "node_modules/chai": { "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/chai/-/chai-5.2.0.tgz", - "integrity": "sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==", "dev": true, "license": "MIT", "dependencies": { @@ -8787,8 +5911,6 @@ }, "node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "license": "MIT", "dependencies": { @@ -8804,8 +5926,6 @@ }, "node_modules/chalk/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "license": "MIT", "dependencies": { @@ -8817,22 +5937,16 @@ }, "node_modules/chance": { "version": "1.1.9", - "resolved": "https://registry.npmmirror.com/chance/-/chance-1.1.9.tgz", - "integrity": "sha512-TfxnA/DcZXRTA4OekA2zL9GH8qscbbl6X0ZqU4tXhGveVY/mXWvEQLt5GwZcYXTEyEFflVtj+pG8nc8EwSm1RQ==", "dev": true, "license": "MIT" }, "node_modules/change-case": { "version": "5.4.4", - "resolved": "https://registry.npmmirror.com/change-case/-/change-case-5.4.4.tgz", - "integrity": "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==", "dev": true, "license": "MIT" }, "node_modules/char-regex": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true, "license": "MIT", "engines": { @@ -8841,8 +5955,6 @@ }, "node_modules/charenc": { "version": "0.0.2", - "resolved": "https://registry.npmmirror.com/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -8851,8 +5963,6 @@ }, "node_modules/check-error": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/check-error/-/check-error-2.1.1.tgz", - "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", "dev": true, "license": "MIT", "engines": { @@ -8861,8 +5971,6 @@ }, "node_modules/cheerio": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/cheerio/-/cheerio-1.0.0.tgz", - "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==", "dev": true, "license": "MIT", "dependencies": { @@ -8887,8 +5995,6 @@ }, "node_modules/cheerio-select": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/cheerio-select/-/cheerio-select-2.1.0.tgz", - "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -8905,8 +6011,6 @@ }, "node_modules/cheerio/node_modules/undici": { "version": "6.21.1", - "resolved": "https://registry.npmmirror.com/undici/-/undici-6.21.1.tgz", - "integrity": "sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==", "dev": true, "license": "MIT", "engines": { @@ -8915,8 +6019,6 @@ }, "node_modules/chokidar": { "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, "license": "MIT", "dependencies": { @@ -8938,10 +6040,23 @@ "fsevents": "~2.3.2" } }, + "node_modules/chokidar/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "license": "ISC", "engines": { "node": ">=10" @@ -8949,8 +6064,6 @@ }, "node_modules/chroma-js": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/chroma-js/-/chroma-js-2.1.2.tgz", - "integrity": "sha512-ri/ouYDWuxfus3UcaMxC1Tfp3IE9K5iQzxc2hSxbBRVNQFut1UuGAsZmiAf2mOUubzGJwgMSv9lHg+XqLaz1QQ==", "license": "(BSD-3-Clause AND Apache-2.0)", "dependencies": { "cross-env": "^6.0.3" @@ -8958,8 +6071,6 @@ }, "node_modules/chroma-js/node_modules/cross-env": { "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/cross-env/-/cross-env-6.0.3.tgz", - "integrity": "sha512-+KqxF6LCvfhWvADcDPqo64yVIB31gv/jQulX2NGzKS/g3GEVz6/pt4wjHFtFWsHMddebWD/sDthJemzM4MaAag==", "license": "MIT", "dependencies": { "cross-spawn": "^7.0.0" @@ -8974,15 +6085,11 @@ }, "node_modules/chromium-pickle-js": { "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/chromium-pickle-js/-/chromium-pickle-js-0.2.0.tgz", - "integrity": "sha512-1R5Fho+jBq0DDydt+/vHWj5KJNJCKdARKOCwZUen84I5BreWoLqRLANH1U87eJy1tiASPtMnGqJJq0ZsLoRPOw==", "dev": true, "license": "MIT" }, "node_modules/ci-info": { "version": "3.9.0", - "resolved": "https://registry.npmmirror.com/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", "dev": true, "funding": [ { @@ -8997,8 +6104,6 @@ }, "node_modules/citty": { "version": "0.1.6", - "resolved": "https://registry.npmmirror.com/citty/-/citty-0.1.6.tgz", - "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", "license": "MIT", "dependencies": { "consola": "^3.2.3" @@ -9006,8 +6111,6 @@ }, "node_modules/class-validator": { "version": "0.14.1", - "resolved": "https://registry.npmmirror.com/class-validator/-/class-validator-0.14.1.tgz", - "integrity": "sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9018,8 +6121,6 @@ }, "node_modules/clean-stack": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, "license": "MIT", "engines": { @@ -9028,8 +6129,6 @@ }, "node_modules/cli-cursor": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", "dev": true, "license": "MIT", "dependencies": { @@ -9044,8 +6143,6 @@ }, "node_modules/cli-spinners": { "version": "2.9.2", - "resolved": "https://registry.npmmirror.com/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", "dev": true, "license": "MIT", "engines": { @@ -9057,8 +6154,6 @@ }, "node_modules/cli-truncate": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", @@ -9073,8 +6168,6 @@ }, "node_modules/clipboardy": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/clipboardy/-/clipboardy-4.0.0.tgz", - "integrity": "sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==", "dev": true, "license": "MIT", "dependencies": { @@ -9091,8 +6184,6 @@ }, "node_modules/clipboardy/node_modules/execa": { "version": "8.0.1", - "resolved": "https://registry.npmmirror.com/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, "license": "MIT", "dependencies": { @@ -9115,8 +6206,6 @@ }, "node_modules/clipboardy/node_modules/get-stream": { "version": "8.0.1", - "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true, "license": "MIT", "engines": { @@ -9128,8 +6217,6 @@ }, "node_modules/clipboardy/node_modules/human-signals": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -9138,8 +6225,6 @@ }, "node_modules/clipboardy/node_modules/is-stream": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, "license": "MIT", "engines": { @@ -9151,8 +6236,6 @@ }, "node_modules/clipboardy/node_modules/mimic-fn": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, "license": "MIT", "engines": { @@ -9164,8 +6247,6 @@ }, "node_modules/clipboardy/node_modules/npm-run-path": { "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9180,8 +6261,6 @@ }, "node_modules/clipboardy/node_modules/onetime": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9196,8 +6275,6 @@ }, "node_modules/clipboardy/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, "license": "MIT", "engines": { @@ -9209,8 +6286,6 @@ }, "node_modules/clipboardy/node_modules/strip-final-newline": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, "license": "MIT", "engines": { @@ -9222,8 +6297,6 @@ }, "node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmmirror.com/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -9236,14 +6309,10 @@ }, "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, "node_modules/cliui/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", "engines": { "node": ">=8" @@ -9251,8 +6320,6 @@ }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -9265,8 +6332,6 @@ }, "node_modules/clone": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", "dev": true, "license": "MIT", "engines": { @@ -9275,8 +6340,6 @@ }, "node_modules/clone-response": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/clone-response/-/clone-response-1.0.3.tgz", - "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", "dev": true, "license": "MIT", "dependencies": { @@ -9288,8 +6351,6 @@ }, "node_modules/cluster-key-slot": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -9298,8 +6359,6 @@ }, "node_modules/codepage": { "version": "1.15.0", - "resolved": "https://registry.npmmirror.com/codepage/-/codepage-1.15.0.tgz", - "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==", "license": "Apache-2.0", "engines": { "node": ">=0.8" @@ -9307,10 +6366,8 @@ }, "node_modules/color": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/color/-/color-4.2.3.tgz", - "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", - "devOptional": true, "license": "MIT", + "optional": true, "dependencies": { "color-convert": "^2.0.1", "color-string": "^1.9.0" @@ -9321,8 +6378,6 @@ }, "node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -9333,16 +6388,12 @@ }, "node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "license": "MIT" }, "node_modules/color-string": { "version": "1.9.1", - "resolved": "https://registry.npmmirror.com/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", - "devOptional": true, "license": "MIT", + "optional": true, "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -9350,8 +6401,6 @@ }, "node_modules/color-support": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true, "license": "ISC", "bin": { @@ -9360,22 +6409,16 @@ }, "node_modules/colorette": { "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/colorette/-/colorette-1.4.0.tgz", - "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", "dev": true, "license": "MIT" }, "node_modules/colorjs.io": { "version": "0.5.2", - "resolved": "https://registry.npmmirror.com/colorjs.io/-/colorjs.io-0.5.2.tgz", - "integrity": "sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==", "dev": true, "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" @@ -9386,35 +6429,19 @@ }, "node_modules/commander": { "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", "dev": true, "license": "MIT", "engines": { "node": ">= 6" } }, - "node_modules/common-tags": { - "version": "1.8.2", - "resolved": "https://registry.npmmirror.com/common-tags/-/common-tags-1.8.2.tgz", - "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/commondir": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true, "license": "MIT" }, "node_modules/compare-version": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/compare-version/-/compare-version-0.1.2.tgz", - "integrity": "sha512-pJDh5/4wrEnXX/VWRZvruAGHkzKdr46z11OlTPN+VrATlWWhSKewNCJ1futCO5C7eJB3nPMFZA1LeYtcFboZ2A==", "dev": true, "license": "MIT", "engines": { @@ -9423,15 +6450,11 @@ }, "node_modules/compatx": { "version": "0.1.8", - "resolved": "https://registry.npmmirror.com/compatx/-/compatx-0.1.8.tgz", - "integrity": "sha512-jcbsEAR81Bt5s1qOFymBufmCbXCXbk0Ql+K5ouj6gCyx2yHlu6AgmGIi9HxfKixpUDO5bCFJUHQ5uM6ecbTebw==", "dev": true, "license": "MIT" }, "node_modules/compress-commons": { "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.2.tgz", - "integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==", "dev": true, "license": "MIT", "peer": true, @@ -9447,15 +6470,11 @@ }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true, "license": "MIT" }, "node_modules/concurrently": { "version": "9.1.2", - "resolved": "https://registry.npmmirror.com/concurrently/-/concurrently-9.1.2.tgz", - "integrity": "sha512-H9MWcoPsYddwbOGM6difjVwVZHl63nwMEwDJG/L7VGtuaJhb12h2caPG2tVPWs7emuYix252iGfqOyrz1GczTQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9480,14 +6499,10 @@ }, "node_modules/confbox": { "version": "0.1.8", - "resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.1.8.tgz", - "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", "license": "MIT" }, "node_modules/config-file-ts": { "version": "0.2.8-rc1", - "resolved": "https://registry.npmmirror.com/config-file-ts/-/config-file-ts-0.2.8-rc1.tgz", - "integrity": "sha512-GtNECbVI82bT4RiDIzBSVuTKoSHufnU7Ce7/42bkWZJZFLjmDF2WBpVsvRkhKCfKBnTBb3qZrBwPpFBU/Myvhg==", "dev": true, "license": "MIT", "dependencies": { @@ -9497,8 +6512,6 @@ }, "node_modules/config-file-ts/node_modules/glob": { "version": "10.4.5", - "resolved": "https://registry.npmmirror.com/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { @@ -9518,8 +6531,6 @@ }, "node_modules/config-file-ts/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { @@ -9534,8 +6545,6 @@ }, "node_modules/config-file-ts/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -9544,8 +6553,6 @@ }, "node_modules/connect-history-api-fallback": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", - "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", "dev": true, "license": "MIT", "engines": { @@ -9554,8 +6561,6 @@ }, "node_modules/consola": { "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/consola/-/consola-3.4.0.tgz", - "integrity": "sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==", "license": "MIT", "engines": { "node": "^14.18.0 || >=16.10.0" @@ -9563,21 +6568,15 @@ }, "node_modules/console-control-strings": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", "dev": true, "license": "ISC" }, "node_modules/convert-source-map": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "license": "MIT" }, "node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmmirror.com/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "version": "0.5.0", "dev": true, "license": "MIT", "engines": { @@ -9586,15 +6585,11 @@ }, "node_modules/cookie-es": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/cookie-es/-/cookie-es-1.2.2.tgz", - "integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==", "dev": true, "license": "MIT" }, "node_modules/copy-anything": { "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-2.0.6.tgz", - "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, "license": "MIT", "dependencies": { @@ -9604,24 +6599,8 @@ "url": "https://github.com/sponsors/mesqueeb" } }, - "node_modules/core-js-compat": { - "version": "3.40.0", - "resolved": "https://registry.npmmirror.com/core-js-compat/-/core-js-compat-3.40.0.tgz", - "integrity": "sha512-0XEDpr5y5mijvw8Lbc6E5AkjrHfp7eEoPlu36SWeAbcL8fn1G1ANe8DBlo2XoNN89oVpxWwOjYIPVzR4ZvsKCQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "browserslist": "^4.24.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/core-js-pure": { - "version": "3.40.0", - "resolved": "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.40.0.tgz", - "integrity": "sha512-AtDzVIgRrmRKQai62yuSIN5vNiQjcJakJb4fbhVw3ehxx7Lohphvw9SGNWKhLFqSxC4ilD0g/L1huAYFQU3Q6A==", + "version": "3.41.0", "hasInstallScript": true, "license": "MIT", "funding": { @@ -9631,14 +6610,10 @@ }, "node_modules/core-util-is": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", "license": "MIT" }, "node_modules/cose-base": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-1.0.3.tgz", - "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==", "license": "MIT", "dependencies": { "layout-base": "^1.0.0" @@ -9646,8 +6621,6 @@ }, "node_modules/crc": { "version": "3.8.0", - "resolved": "https://registry.npmmirror.com/crc/-/crc-3.8.0.tgz", - "integrity": "sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==", "dev": true, "license": "MIT", "optional": true, @@ -9657,8 +6630,6 @@ }, "node_modules/crc-32": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz", - "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", "license": "Apache-2.0", "bin": { "crc32": "bin/crc32.njs" @@ -9669,8 +6640,6 @@ }, "node_modules/crc32-stream": { "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-4.0.3.tgz", - "integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==", "dev": true, "license": "MIT", "peer": true, @@ -9684,8 +6653,6 @@ }, "node_modules/croner": { "version": "9.0.0", - "resolved": "https://registry.npmmirror.com/croner/-/croner-9.0.0.tgz", - "integrity": "sha512-onMB0OkDjkXunhdW9htFjEhqrD54+M94i6ackoUkjHKbRnXdyEyKRelp4nJ1kAz32+s27jP1FsebpJCVl0BsvA==", "dev": true, "license": "MIT", "engines": { @@ -9694,8 +6661,6 @@ }, "node_modules/cross-env": { "version": "7.0.3", - "resolved": "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz", - "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", "dev": true, "license": "MIT", "dependencies": { @@ -9713,8 +6678,6 @@ }, "node_modules/cross-spawn": { "version": "7.0.6", - "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "license": "MIT", "dependencies": { "path-key": "^3.1.0", @@ -9726,9 +6689,7 @@ } }, "node_modules/crossws": { - "version": "0.3.3", - "resolved": "https://registry.npmmirror.com/crossws/-/crossws-0.3.3.tgz", - "integrity": "sha512-/71DJT3xJlqSnBr83uGJesmVHSzZEvgxHt/fIKxBAAngqMHmnBWQNxCphVxxJ2XL3xleu5+hJD6IQ3TglBedcw==", + "version": "0.3.4", "dev": true, "license": "MIT", "dependencies": { @@ -9737,28 +6698,14 @@ }, "node_modules/crypt": { "version": "0.0.2", - "resolved": "https://registry.npmmirror.com/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", "dev": true, "license": "BSD-3-Clause", "engines": { "node": "*" } }, - "node_modules/crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/css-select": { "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/css-select/-/css-select-5.1.0.tgz", - "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -9774,8 +6721,6 @@ }, "node_modules/css-tree": { "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", "dev": true, "license": "MIT", "dependencies": { @@ -9788,8 +6733,6 @@ }, "node_modules/css-what": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/css-what/-/css-what-6.1.0.tgz", - "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -9801,8 +6744,6 @@ }, "node_modules/cssesc": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, "license": "MIT", "bin": { @@ -9814,8 +6755,6 @@ }, "node_modules/csso": { "version": "5.0.5", - "resolved": "https://registry.npmmirror.com/csso/-/csso-5.0.5.tgz", - "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9828,8 +6767,6 @@ }, "node_modules/csso/node_modules/css-tree": { "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/css-tree/-/css-tree-2.2.1.tgz", - "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", "dev": true, "license": "MIT", "dependencies": { @@ -9843,21 +6780,15 @@ }, "node_modules/csso/node_modules/mdn-data": { "version": "2.0.28", - "resolved": "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.28.tgz", - "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", "dev": true, "license": "CC0-1.0" }, "node_modules/csstype": { "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "license": "MIT" }, "node_modules/cytoscape": { - "version": "3.31.0", - "resolved": "https://registry.npmmirror.com/cytoscape/-/cytoscape-3.31.0.tgz", - "integrity": "sha512-zDGn1K/tfZwEnoGOcHc0H4XazqAAXAuDpcYw9mUnUjATjqljyCNGJv8uEvbvxGaGHaVshxMecyl6oc6uKzRfbw==", + "version": "3.31.1", "license": "MIT", "engines": { "node": ">=0.10" @@ -9865,8 +6796,6 @@ }, "node_modules/cytoscape-cose-bilkent": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz", - "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==", "license": "MIT", "dependencies": { "cose-base": "^1.0.0" @@ -9877,8 +6806,6 @@ }, "node_modules/cytoscape-fcose": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz", - "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==", "license": "MIT", "dependencies": { "cose-base": "^2.2.0" @@ -9889,8 +6816,6 @@ }, "node_modules/cytoscape-fcose/node_modules/cose-base": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/cose-base/-/cose-base-2.2.0.tgz", - "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==", "license": "MIT", "dependencies": { "layout-base": "^2.0.0" @@ -9898,14 +6823,10 @@ }, "node_modules/cytoscape-fcose/node_modules/layout-base": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-2.0.1.tgz", - "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==", "license": "MIT" }, "node_modules/d3": { "version": "7.9.0", - "resolved": "https://registry.npmmirror.com/d3/-/d3-7.9.0.tgz", - "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==", "license": "ISC", "dependencies": { "d3-array": "3", @@ -9945,8 +6866,6 @@ }, "node_modules/d3-array": { "version": "3.2.4", - "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-3.2.4.tgz", - "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", "license": "ISC", "dependencies": { "internmap": "1 - 2" @@ -9957,8 +6876,6 @@ }, "node_modules/d3-axis": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-axis/-/d3-axis-3.0.0.tgz", - "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", "license": "ISC", "engines": { "node": ">=12" @@ -9966,8 +6883,6 @@ }, "node_modules/d3-brush": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-brush/-/d3-brush-3.0.0.tgz", - "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", @@ -9982,8 +6897,6 @@ }, "node_modules/d3-chord": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-chord/-/d3-chord-3.0.1.tgz", - "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", "license": "ISC", "dependencies": { "d3-path": "1 - 3" @@ -9994,8 +6907,6 @@ }, "node_modules/d3-color": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/d3-color/-/d3-color-3.1.0.tgz", - "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", "license": "ISC", "engines": { "node": ">=12" @@ -10003,8 +6914,6 @@ }, "node_modules/d3-contour": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/d3-contour/-/d3-contour-4.0.2.tgz", - "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", "license": "ISC", "dependencies": { "d3-array": "^3.2.0" @@ -10015,8 +6924,6 @@ }, "node_modules/d3-delaunay": { "version": "6.0.4", - "resolved": "https://registry.npmmirror.com/d3-delaunay/-/d3-delaunay-6.0.4.tgz", - "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==", "license": "ISC", "dependencies": { "delaunator": "5" @@ -10027,8 +6934,6 @@ }, "node_modules/d3-dispatch": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-3.0.1.tgz", - "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", "license": "ISC", "engines": { "node": ">=12" @@ -10036,8 +6941,6 @@ }, "node_modules/d3-drag": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-drag/-/d3-drag-3.0.0.tgz", - "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", @@ -10049,8 +6952,6 @@ }, "node_modules/d3-dsv": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-dsv/-/d3-dsv-3.0.1.tgz", - "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", "license": "ISC", "dependencies": { "commander": "7", @@ -10074,8 +6975,6 @@ }, "node_modules/d3-dsv/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "license": "MIT", "engines": { "node": ">= 10" @@ -10083,8 +6982,6 @@ }, "node_modules/d3-ease": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-ease/-/d3-ease-3.0.1.tgz", - "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", "license": "BSD-3-Clause", "engines": { "node": ">=12" @@ -10092,8 +6989,6 @@ }, "node_modules/d3-fetch": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-fetch/-/d3-fetch-3.0.1.tgz", - "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", "license": "ISC", "dependencies": { "d3-dsv": "1 - 3" @@ -10104,8 +6999,6 @@ }, "node_modules/d3-force": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-force/-/d3-force-3.0.0.tgz", - "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", @@ -10118,8 +7011,6 @@ }, "node_modules/d3-format": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/d3-format/-/d3-format-3.1.0.tgz", - "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", "license": "ISC", "engines": { "node": ">=12" @@ -10127,8 +7018,6 @@ }, "node_modules/d3-geo": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/d3-geo/-/d3-geo-3.1.1.tgz", - "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==", "license": "ISC", "dependencies": { "d3-array": "2.5.0 - 3" @@ -10139,8 +7028,6 @@ }, "node_modules/d3-hierarchy": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", - "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", "license": "ISC", "engines": { "node": ">=12" @@ -10148,8 +7035,6 @@ }, "node_modules/d3-interpolate": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz", - "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", "license": "ISC", "dependencies": { "d3-color": "1 - 3" @@ -10160,8 +7045,6 @@ }, "node_modules/d3-path": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/d3-path/-/d3-path-3.1.0.tgz", - "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", "license": "ISC", "engines": { "node": ">=12" @@ -10169,8 +7052,6 @@ }, "node_modules/d3-polygon": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-polygon/-/d3-polygon-3.0.1.tgz", - "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", "license": "ISC", "engines": { "node": ">=12" @@ -10178,8 +7059,6 @@ }, "node_modules/d3-quadtree": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-3.0.1.tgz", - "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", "license": "ISC", "engines": { "node": ">=12" @@ -10187,8 +7066,6 @@ }, "node_modules/d3-random": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-random/-/d3-random-3.0.1.tgz", - "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", "license": "ISC", "engines": { "node": ">=12" @@ -10196,8 +7073,6 @@ }, "node_modules/d3-scale": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/d3-scale/-/d3-scale-4.0.2.tgz", - "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", "license": "ISC", "dependencies": { "d3-array": "2.10.0 - 3", @@ -10212,8 +7087,6 @@ }, "node_modules/d3-scale-chromatic": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", - "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==", "license": "ISC", "dependencies": { "d3-color": "1 - 3", @@ -10225,8 +7098,6 @@ }, "node_modules/d3-selection": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-selection/-/d3-selection-3.0.0.tgz", - "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", "license": "ISC", "engines": { "node": ">=12" @@ -10234,8 +7105,6 @@ }, "node_modules/d3-shape": { "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/d3-shape/-/d3-shape-3.2.0.tgz", - "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", "license": "ISC", "dependencies": { "d3-path": "^3.1.0" @@ -10246,8 +7115,6 @@ }, "node_modules/d3-time": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/d3-time/-/d3-time-3.1.0.tgz", - "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", "license": "ISC", "dependencies": { "d3-array": "2 - 3" @@ -10258,8 +7125,6 @@ }, "node_modules/d3-time-format": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/d3-time-format/-/d3-time-format-4.1.0.tgz", - "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", "license": "ISC", "dependencies": { "d3-time": "1 - 3" @@ -10270,8 +7135,6 @@ }, "node_modules/d3-timer": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-timer/-/d3-timer-3.0.1.tgz", - "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", "license": "ISC", "engines": { "node": ">=12" @@ -10279,8 +7142,6 @@ }, "node_modules/d3-transition": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/d3-transition/-/d3-transition-3.0.1.tgz", - "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", "license": "ISC", "dependencies": { "d3-color": "1 - 3", @@ -10298,8 +7159,6 @@ }, "node_modules/d3-zoom": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/d3-zoom/-/d3-zoom-3.0.0.tgz", - "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", @@ -10312,77 +7171,25 @@ "node": ">=12" } }, - "node_modules/data-uri-to-buffer": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz", - "integrity": "sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==", - "dev": true, - "license": "MIT" - }, - "node_modules/data-view-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/data-view-buffer/-/data-view-buffer-1.0.2.tgz", - "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", - "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", - "dev": true, + "node_modules/dagre-d3-es": { + "version": "7.0.9", "license": "MIT", "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/inspect-js" + "d3": "^7.8.2", + "lodash-es": "^4.17.21" } }, - "node_modules/data-view-byte-offset": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", - "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", + "node_modules/data-uri-to-buffer": { + "version": "2.0.2", "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "license": "MIT" }, "node_modules/dayjs": { - "version": "1.11.10", - "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz", - "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==", + "version": "1.11.13", "license": "MIT" }, "node_modules/db0": { - "version": "0.2.3", - "resolved": "https://registry.npmmirror.com/db0/-/db0-0.2.3.tgz", - "integrity": "sha512-PunuHESDNefmwVy1LDpY663uWwKt2ogLGoB6NOz2sflGREWqDreMwDgF8gfkXxgNXW+dqviyiJGm924H1BaGiw==", + "version": "0.2.4", "dev": true, "license": "MIT", "peerDependencies": { @@ -10416,15 +7223,11 @@ }, "node_modules/de-indent": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/de-indent/-/de-indent-1.0.2.tgz", - "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", "dev": true, "license": "MIT" }, "node_modules/debug": { "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -10440,8 +7243,6 @@ }, "node_modules/decompress-response": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", "devOptional": true, "license": "MIT", "dependencies": { @@ -10456,8 +7257,6 @@ }, "node_modules/decompress-response/node_modules/mimic-response": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", "devOptional": true, "license": "MIT", "engines": { @@ -10469,8 +7268,6 @@ }, "node_modules/deep-eql": { "version": "5.0.2", - "resolved": "https://registry.npmmirror.com/deep-eql/-/deep-eql-5.0.2.tgz", - "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", "dev": true, "license": "MIT", "engines": { @@ -10490,21 +7287,15 @@ }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true, "license": "MIT" }, "node_modules/deep-pick-omit": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/deep-pick-omit/-/deep-pick-omit-1.2.1.tgz", - "integrity": "sha512-2J6Kc/m3irCeqVG42T+SaUMesaK7oGWaedGnQQK/+O0gYc+2SP5bKh/KKTE7d7SJ+GCA9UUE1GRzh6oDe0EnGw==", "license": "MIT" }, "node_modules/deepmerge": { "version": "4.3.1", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "license": "MIT", "engines": { @@ -10513,8 +7304,6 @@ }, "node_modules/defaults": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", "dev": true, "license": "MIT", "dependencies": { @@ -10526,8 +7315,6 @@ }, "node_modules/defer-to-connect": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz", - "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", "dev": true, "license": "MIT", "engines": { @@ -10536,8 +7323,6 @@ }, "node_modules/define-data-property": { "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, "license": "MIT", "dependencies": { @@ -10554,8 +7339,6 @@ }, "node_modules/define-lazy-prop": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", "dev": true, "license": "MIT", "engines": { @@ -10564,8 +7347,6 @@ }, "node_modules/define-properties": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "license": "MIT", "dependencies": { @@ -10582,14 +7363,10 @@ }, "node_modules/defu": { "version": "6.1.4", - "resolved": "https://registry.npmmirror.com/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", "license": "MIT" }, "node_modules/delaunator": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/delaunator/-/delaunator-5.0.1.tgz", - "integrity": "sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==", "license": "ISC", "dependencies": { "robust-predicates": "^3.0.2" @@ -10597,8 +7374,6 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "license": "MIT", "engines": { "node": ">=0.4.0" @@ -10606,15 +7381,11 @@ }, "node_modules/delegates": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", "dev": true, "license": "MIT" }, "node_modules/denque": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/denque/-/denque-2.1.0.tgz", - "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -10623,8 +7394,6 @@ }, "node_modules/depd": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "dev": true, "license": "MIT", "engines": { @@ -10633,14 +7402,10 @@ }, "node_modules/destr": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/destr/-/destr-2.0.3.tgz", - "integrity": "sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==", "license": "MIT" }, "node_modules/destroy": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "dev": true, "license": "MIT", "engines": { @@ -10650,8 +7415,6 @@ }, "node_modules/detect-libc": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.0.3.tgz", - "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", "devOptional": true, "license": "Apache-2.0", "engines": { @@ -10660,29 +7423,21 @@ }, "node_modules/detect-node": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", "dev": true, "license": "MIT", "optional": true }, "node_modules/didyoumean": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", "dev": true, "license": "Apache-2.0" }, "node_modules/dingbat-to-unicode": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz", - "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==", "license": "BSD-2-Clause" }, "node_modules/dir-compare": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/dir-compare/-/dir-compare-4.2.0.tgz", - "integrity": "sha512-2xMCmOoMrdQIPHdsTawECdNPwlVFB9zGcz3kuhmBO6U3oU+UQjsue0i8ayLKpgBcm+hcXPMVSGUN9d+pvJ6+VQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10692,8 +7447,6 @@ }, "node_modules/dir-compare/node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", "dependencies": { @@ -10703,8 +7456,6 @@ }, "node_modules/dir-compare/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { @@ -10716,15 +7467,11 @@ }, "node_modules/dlv": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", "dev": true, "license": "MIT" }, "node_modules/dmg-builder": { "version": "25.1.8", - "resolved": "https://registry.npmmirror.com/dmg-builder/-/dmg-builder-25.1.8.tgz", - "integrity": "sha512-NoXo6Liy2heSklTI5OIZbCgXC1RzrDQsZkeEwXhdOro3FT1VBOvbubvscdPnjVuQ4AMwwv61oaH96AbiYg9EnQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10739,10 +7486,61 @@ "dmg-license": "^1.0.11" } }, + "node_modules/dmg-builder/node_modules/cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/dmg-builder/node_modules/dmg-license": { + "version": "1.0.11", + "resolved": "https://registry.npmmirror.com/dmg-license/-/dmg-license-1.0.11.tgz", + "integrity": "sha512-ZdzmqwKmECOWJpqefloC5OJy1+WZBBse5+MR88z9g9Zn4VY+WYUkAyojmhzJckH5YbbZGcYIuGAkY5/Ys5OM2Q==", + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "dependencies": { + "@types/plist": "^3.0.1", + "@types/verror": "^1.10.3", + "ajv": "^6.10.0", + "crc": "^3.8.0", + "iconv-corefoundation": "^1.1.7", + "plist": "^3.0.4", + "smart-buffer": "^4.0.2", + "verror": "^1.10.0" + }, + "bin": { + "dmg-license": "bin/dmg-license.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dmg-builder/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT", + "optional": true + }, "node_modules/dmg-builder/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10751,31 +7549,65 @@ "universalify": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=12" + } + }, + "node_modules/dmg-builder/node_modules/iconv-corefoundation": { + "version": "1.1.7", + "resolved": "https://registry.npmmirror.com/iconv-corefoundation/-/iconv-corefoundation-1.1.7.tgz", + "integrity": "sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==", + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "dependencies": { + "cli-truncate": "^2.1.0", + "node-addon-api": "^1.6.3" + }, + "engines": { + "node": "^8.11.2 || >=10" + } + }, + "node_modules/dmg-builder/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/dmg-builder/node_modules/slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/dmg-license": { - "version": "1.0.11", - "resolved": "https://registry.npmmirror.com/dmg-license/-/dmg-license-1.0.11.tgz", - "integrity": "sha512-ZdzmqwKmECOWJpqefloC5OJy1+WZBBse5+MR88z9g9Zn4VY+WYUkAyojmhzJckH5YbbZGcYIuGAkY5/Ys5OM2Q==", + "node_modules/dmg-builder/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "optional": true, - "os": [ - "darwin" - ], "dependencies": { - "@types/plist": "^3.0.1", - "@types/verror": "^1.10.3", - "ajv": "^6.10.0", - "crc": "^3.8.0", - "iconv-corefoundation": "^1.1.7", - "plist": "^3.0.4", - "smart-buffer": "^4.0.2", - "verror": "^1.10.0" - }, - "bin": { - "dmg-license": "bin/dmg-license.js" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" @@ -10783,8 +7615,6 @@ }, "node_modules/dom-serializer": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", "dev": true, "license": "MIT", "dependencies": { @@ -10798,8 +7628,6 @@ }, "node_modules/domelementtype": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "dev": true, "funding": [ { @@ -10811,8 +7639,6 @@ }, "node_modules/domhandler": { "version": "5.0.3", - "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -10825,10 +7651,12 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, + "node_modules/dompurify": { + "version": "2.4.3", + "license": "(MPL-2.0 OR Apache-2.0)" + }, "node_modules/domutils": { "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.2.2.tgz", - "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -10842,8 +7670,6 @@ }, "node_modules/dot-prop": { "version": "9.0.0", - "resolved": "https://registry.npmmirror.com/dot-prop/-/dot-prop-9.0.0.tgz", - "integrity": "sha512-1gxPBJpI/pcjQhKgIU91II6Wkay+dLcN3M6rf2uwP8hRur3HtQXjVrdAK3sjC0piaEuxzMwjXChcETiJl47lAQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10858,8 +7684,6 @@ }, "node_modules/dotenv": { "version": "16.4.7", - "resolved": "https://registry.npmmirror.com/dotenv/-/dotenv-16.4.7.tgz", - "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", "license": "BSD-2-Clause", "engines": { "node": ">=12" @@ -10870,8 +7694,6 @@ }, "node_modules/dotenv-expand": { "version": "11.0.7", - "resolved": "https://registry.npmmirror.com/dotenv-expand/-/dotenv-expand-11.0.7.tgz", - "integrity": "sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -10886,8 +7708,6 @@ }, "node_modules/duck": { "version": "0.1.12", - "resolved": "https://registry.npmmirror.com/duck/-/duck-0.1.12.tgz", - "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==", "license": "BSD", "dependencies": { "underscore": "^1.13.1" @@ -10895,8 +7715,6 @@ }, "node_modules/dunder-proto": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -10909,29 +7727,21 @@ }, "node_modules/duplexer": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", "dev": true, "license": "MIT" }, "node_modules/eastasianwidth": { "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true, "license": "MIT" }, "node_modules/ee-first": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "dev": true, "license": "MIT" }, "node_modules/ejs": { "version": "3.1.10", - "resolved": "https://registry.npmmirror.com/ejs/-/ejs-3.1.10.tgz", - "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -10945,9 +7755,7 @@ } }, "node_modules/electron": { - "version": "34.0.2", - "resolved": "https://registry.npmmirror.com/electron/-/electron-34.0.2.tgz", - "integrity": "sha512-u3F+DSUlg9NaGS+9qnYmSRN8VjAnc3LJDDk1ye1uISJnh4gjG76y3681qLowsPMx4obvCP2eBINnmbLo0yT5WA==", + "version": "34.3.0", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -10965,8 +7773,6 @@ }, "node_modules/electron-builder": { "version": "25.1.8", - "resolved": "https://registry.npmmirror.com/electron-builder/-/electron-builder-25.1.8.tgz", - "integrity": "sha512-poRgAtUHHOnlzZnc9PK4nzG53xh74wj2Jy7jkTrqZ0MWPoHGh1M2+C//hGeYdA+4K8w4yiVCNYoLXF7ySj2Wig==", "dev": true, "license": "MIT", "dependencies": { @@ -10991,8 +7797,6 @@ }, "node_modules/electron-builder-squirrel-windows": { "version": "25.1.8", - "resolved": "https://registry.npmmirror.com/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-25.1.8.tgz", - "integrity": "sha512-2ntkJ+9+0GFP6nAISiMabKt6eqBB0kX1QqHNWFWAXgi0VULKGisM46luRFpIBiU3u/TDmhZMM8tzvo2Abn3ayg==", "dev": true, "license": "MIT", "peer": true, @@ -11003,465 +7807,725 @@ "fs-extra": "^10.1.0" } }, - "node_modules/electron-builder-squirrel-windows/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "node_modules/electron-builder-squirrel-windows/node_modules/fs-extra": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/electron-builder/node_modules/fs-extra": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/electron-context-menu": { + "version": "4.0.5", + "license": "MIT", + "dependencies": { + "cli-truncate": "^4.0.0", + "electron-dl": "^4.0.0", + "electron-is-dev": "^3.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/electron-dl": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "ext-name": "^5.0.0", + "pupa": "^3.1.0", + "unused-filename": "^4.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/electron-findbar": { + "version": "0.6.4", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/electron-is-dev": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/electron-publish": { + "version": "25.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/fs-extra": "^9.0.11", + "builder-util": "25.1.7", + "builder-util-runtime": "9.2.10", + "chalk": "^4.1.2", + "fs-extra": "^10.1.0", + "lazy-val": "^1.0.5", + "mime": "^2.5.2" + } + }, + "node_modules/electron-publish/node_modules/@types/fs-extra": { + "version": "9.0.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/electron-publish/node_modules/fs-extra": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.109", + "license": "ISC" + }, + "node_modules/electron/node_modules/@types/node": { + "version": "20.17.22", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "node_modules/electron/node_modules/undici-types": { + "version": "6.19.8", + "dev": true, + "license": "MIT" + }, + "node_modules/elkjs": { + "version": "0.8.2", + "license": "EPL-2.0" + }, + "node_modules/emoji-regex": { + "version": "10.4.0", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding-sniffer": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "devOptional": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/envinfo": { + "version": "7.14.0", + "dev": true, + "license": "MIT", + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/err-code": { + "version": "2.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.6.0", "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", "license": "MIT", - "peer": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "es-errors": "^1.3.0" }, "engines": { - "node": ">=12" + "node": ">= 0.4" } }, - "node_modules/electron-builder/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", "license": "MIT", "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" }, "engines": { - "node": ">=12" + "node": ">= 0.4" } }, - "node_modules/electron-context-menu": { - "version": "4.0.5", - "resolved": "https://registry.npmmirror.com/electron-context-menu/-/electron-context-menu-4.0.5.tgz", - "integrity": "sha512-sYoH7sK6wlVoheoePwFDALvyeQdDXxerSIBhCzc1F0PIVhBWNWupBS2atK0ytAIHcvX1Qwj/LocMXbpmA77Ukg==", + "node_modules/es6-error": { + "version": "4.1.1", + "dev": true, "license": "MIT", - "dependencies": { - "cli-truncate": "^4.0.0", - "electron-dl": "^4.0.0", - "electron-is-dev": "^3.0.1" + "optional": true + }, + "node_modules/es6-object-assign": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.24.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" }, "engines": { "node": ">=18" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.24.2", + "@esbuild/android-arm": "0.24.2", + "@esbuild/android-arm64": "0.24.2", + "@esbuild/android-x64": "0.24.2", + "@esbuild/darwin-arm64": "0.24.2", + "@esbuild/darwin-x64": "0.24.2", + "@esbuild/freebsd-arm64": "0.24.2", + "@esbuild/freebsd-x64": "0.24.2", + "@esbuild/linux-arm": "0.24.2", + "@esbuild/linux-arm64": "0.24.2", + "@esbuild/linux-ia32": "0.24.2", + "@esbuild/linux-loong64": "0.24.2", + "@esbuild/linux-mips64el": "0.24.2", + "@esbuild/linux-ppc64": "0.24.2", + "@esbuild/linux-riscv64": "0.24.2", + "@esbuild/linux-s390x": "0.24.2", + "@esbuild/linux-x64": "0.24.2", + "@esbuild/netbsd-arm64": "0.24.2", + "@esbuild/netbsd-x64": "0.24.2", + "@esbuild/openbsd-arm64": "0.24.2", + "@esbuild/openbsd-x64": "0.24.2", + "@esbuild/sunos-x64": "0.24.2", + "@esbuild/win32-arm64": "0.24.2", + "@esbuild/win32-ia32": "0.24.2", + "@esbuild/win32-x64": "0.24.2" } }, - "node_modules/electron-dl": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/electron-dl/-/electron-dl-4.0.0.tgz", - "integrity": "sha512-USiB9816d2JzKv0LiSbreRfTg5lDk3lWh0vlx/gugCO92ZIJkHVH0UM18EHvKeadErP6Xn4yiTphWzYfbA2Ong==", + "node_modules/esbuild/node_modules/@esbuild/aix-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", + "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==", + "cpu": [ + "ppc64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "ext-name": "^5.0.0", - "pupa": "^3.1.0", - "unused-filename": "^4.0.1" - }, + "optional": true, + "os": [ + "aix" + ], "engines": { "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/electron-findbar": { - "version": "0.6.4", - "resolved": "https://registry.npmmirror.com/electron-findbar/-/electron-findbar-0.6.4.tgz", - "integrity": "sha512-TFUkSMc9aG+GjUD5WTCmZjA+tuynczXcVJBu8mybLbiZcxeRi1MXpLLkhM2e8Qu1L3++UeB0/tl4rngMQXhtdA==", + "node_modules/esbuild/node_modules/@esbuild/android-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.24.2.tgz", + "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==", + "cpu": [ + "arm" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=12.0.0" + "node": ">=18" } }, - "node_modules/electron-is-dev": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/electron-is-dev/-/electron-is-dev-3.0.1.tgz", - "integrity": "sha512-8TjjAh8Ec51hUi3o4TaU0mD3GMTOESi866oRNavj9A3IQJ7pmv+MJVmdZBFGw4GFT36X7bkqnuDNYvkQgvyI8Q==", + "node_modules/esbuild/node_modules/@esbuild/android-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz", + "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/electron-publish": { - "version": "25.1.7", - "resolved": "https://registry.npmmirror.com/electron-publish/-/electron-publish-25.1.7.tgz", - "integrity": "sha512-+jbTkR9m39eDBMP4gfbqglDd6UvBC7RLh5Y0MhFSsc6UkGHj9Vj9TWobxevHYMMqmoujL11ZLjfPpMX+Pt6YEg==", + "node_modules/esbuild/node_modules/@esbuild/android-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.24.2.tgz", + "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@types/fs-extra": "^9.0.11", - "builder-util": "25.1.7", - "builder-util-runtime": "9.2.10", - "chalk": "^4.1.2", - "fs-extra": "^10.1.0", - "lazy-val": "^1.0.5", - "mime": "^2.5.2" + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" } }, - "node_modules/electron-publish/node_modules/@types/fs-extra": { - "version": "9.0.13", - "resolved": "https://registry.npmmirror.com/@types/fs-extra/-/fs-extra-9.0.13.tgz", - "integrity": "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==", + "node_modules/esbuild/node_modules/@esbuild/darwin-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz", + "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@types/node": "*" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" } }, - "node_modules/electron-publish/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "node_modules/esbuild/node_modules/@esbuild/darwin-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz", + "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=12" + "node": ">=18" } }, - "node_modules/electron-to-chromium": { - "version": "1.5.90", - "resolved": "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.5.90.tgz", - "integrity": "sha512-C3PN4aydfW91Natdyd449Kw+BzhLmof6tzy5W1pFC5SpQxVXT+oyiyOG9AgYYSN9OdA/ik3YkCrpwqI8ug5Tug==", - "license": "ISC" - }, - "node_modules/electron/node_modules/@types/node": { - "version": "20.17.16", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.17.16.tgz", - "integrity": "sha512-vOTpLduLkZXePLxHiHsBLp98mHGnl8RptV4YAO3HfKO5UHjDvySGbxKtpYfy8Sx5+WKcgc45qNreJJRVM3L6mw==", + "node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz", + "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "undici-types": "~6.19.2" + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" } }, - "node_modules/electron/node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "node_modules/esbuild/node_modules/@esbuild/freebsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz", + "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT" - }, - "node_modules/elkjs": { - "version": "0.8.2", - "resolved": "https://registry.npmmirror.com/elkjs/-/elkjs-0.8.2.tgz", - "integrity": "sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==", - "license": "EPL-2.0" + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/emoji-regex": { - "version": "10.4.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-10.4.0.tgz", - "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", - "license": "MIT" + "node_modules/esbuild/node_modules/@esbuild/linux-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz", + "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "node_modules/esbuild/node_modules/@esbuild/linux-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz", + "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.8" + "node": ">=18" } }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmmirror.com/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "node_modules/esbuild/node_modules/@esbuild/linux-ia32": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz", + "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==", + "cpu": [ + "ia32" + ], "dev": true, "license": "MIT", "optional": true, - "dependencies": { - "iconv-lite": "^0.6.2" + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/encoding-sniffer": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz", - "integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==", + "node_modules/esbuild/node_modules/@esbuild/linux-loong64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz", + "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==", + "cpu": [ + "loong64" + ], "dev": true, "license": "MIT", - "dependencies": { - "iconv-lite": "^0.6.3", - "whatwg-encoding": "^3.1.1" - }, - "funding": { - "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "devOptional": true, - "license": "MIT", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "license": "BSD-2-Clause", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "node": ">=18" } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "node_modules/esbuild/node_modules/@esbuild/linux-mips64el": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz", + "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==", + "cpu": [ + "mips64el" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6" + "node": ">=18" } }, - "node_modules/envinfo": { - "version": "7.14.0", - "resolved": "https://registry.npmmirror.com/envinfo/-/envinfo-7.14.0.tgz", - "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", + "node_modules/esbuild/node_modules/@esbuild/linux-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz", + "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==", + "cpu": [ + "ppc64" + ], "dev": true, "license": "MIT", - "bin": { - "envinfo": "dist/cli.js" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=4" + "node": ">=18" } }, - "node_modules/err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true, - "license": "MIT" - }, - "node_modules/errno": { - "version": "0.1.8", - "resolved": "https://registry.npmmirror.com/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "node_modules/esbuild/node_modules/@esbuild/linux-riscv64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz", + "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==", + "cpu": [ + "riscv64" + ], "dev": true, "license": "MIT", "optional": true, - "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/es-abstract": { - "version": "1.23.9", - "resolved": "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.23.9.tgz", - "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", + "node_modules/esbuild/node_modules/@esbuild/linux-s390x": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz", + "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==", + "cpu": [ + "s390x" + ], "dev": true, "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.2", - "arraybuffer.prototype.slice": "^1.0.4", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "data-view-buffer": "^1.0.2", - "data-view-byte-length": "^1.0.2", - "data-view-byte-offset": "^1.0.1", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-set-tostringtag": "^2.1.0", - "es-to-primitive": "^1.3.0", - "function.prototype.name": "^1.1.8", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.0", - "get-symbol-description": "^1.1.0", - "globalthis": "^1.0.4", - "gopd": "^1.2.0", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "internal-slot": "^1.1.0", - "is-array-buffer": "^3.0.5", - "is-callable": "^1.2.7", - "is-data-view": "^1.0.2", - "is-regex": "^1.2.1", - "is-shared-array-buffer": "^1.0.4", - "is-string": "^1.1.1", - "is-typed-array": "^1.1.15", - "is-weakref": "^1.1.0", - "math-intrinsics": "^1.1.0", - "object-inspect": "^1.13.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.7", - "own-keys": "^1.0.1", - "regexp.prototype.flags": "^1.5.3", - "safe-array-concat": "^1.1.3", - "safe-push-apply": "^1.0.0", - "safe-regex-test": "^1.1.0", - "set-proto": "^1.0.0", - "string.prototype.trim": "^1.2.10", - "string.prototype.trimend": "^1.0.9", - "string.prototype.trimstart": "^1.0.8", - "typed-array-buffer": "^1.0.3", - "typed-array-byte-length": "^1.0.3", - "typed-array-byte-offset": "^1.0.4", - "typed-array-length": "^1.0.7", - "unbox-primitive": "^1.1.0", - "which-typed-array": "^1.1.18" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/es-define-property": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "node_modules/esbuild/node_modules/@esbuild/linux-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz", + "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" + "node": ">=18" } }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "node_modules/esbuild/node_modules/@esbuild/netbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz", + "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">= 0.4" + "node": ">=18" } }, - "node_modules/es-module-lexer": { - "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.6.0.tgz", - "integrity": "sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==", + "node_modules/esbuild/node_modules/@esbuild/netbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz", + "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==", + "cpu": [ + "x64" + ], "dev": true, - "license": "MIT" - }, - "node_modules/es-object-atoms": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">= 0.4" + "node": ">=18" } }, - "node_modules/es-set-tostringtag": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "node_modules/esbuild/node_modules/@esbuild/openbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz", + "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">= 0.4" + "node": ">=18" } }, - "node_modules/es-to-primitive": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.3.0.tgz", - "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", + "node_modules/esbuild/node_modules/@esbuild/openbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz", + "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "is-callable": "^1.2.7", - "is-date-object": "^1.0.5", - "is-symbol": "^1.0.4" - }, + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "node_modules/esbuild/node_modules/@esbuild/sunos-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz", + "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "optional": true + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/es6-object-assign": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz", - "integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==", + "node_modules/esbuild/node_modules/@esbuild/win32-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz", + "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/esbuild": { + "node_modules/esbuild/node_modules/@esbuild/win32-ia32": { "version": "0.24.2", - "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.24.2.tgz", - "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz", + "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==", + "cpu": [ + "ia32" + ], "dev": true, - "hasInstallScript": true, "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, + "optional": true, + "os": [ + "win32" + ], "engines": { "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.24.2", - "@esbuild/android-arm": "0.24.2", - "@esbuild/android-arm64": "0.24.2", - "@esbuild/android-x64": "0.24.2", - "@esbuild/darwin-arm64": "0.24.2", - "@esbuild/darwin-x64": "0.24.2", - "@esbuild/freebsd-arm64": "0.24.2", - "@esbuild/freebsd-x64": "0.24.2", - "@esbuild/linux-arm": "0.24.2", - "@esbuild/linux-arm64": "0.24.2", - "@esbuild/linux-ia32": "0.24.2", - "@esbuild/linux-loong64": "0.24.2", - "@esbuild/linux-mips64el": "0.24.2", - "@esbuild/linux-ppc64": "0.24.2", - "@esbuild/linux-riscv64": "0.24.2", - "@esbuild/linux-s390x": "0.24.2", - "@esbuild/linux-x64": "0.24.2", - "@esbuild/netbsd-arm64": "0.24.2", - "@esbuild/netbsd-x64": "0.24.2", - "@esbuild/openbsd-arm64": "0.24.2", - "@esbuild/openbsd-x64": "0.24.2", - "@esbuild/sunos-x64": "0.24.2", - "@esbuild/win32-arm64": "0.24.2", - "@esbuild/win32-ia32": "0.24.2", - "@esbuild/win32-x64": "0.24.2" } }, "node_modules/escalade": { "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "license": "MIT", "engines": { "node": ">=6" @@ -11469,8 +8533,6 @@ }, "node_modules/escape-goat": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/escape-goat/-/escape-goat-4.0.0.tgz", - "integrity": "sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==", "license": "MIT", "engines": { "node": ">=12" @@ -11481,15 +8543,11 @@ }, "node_modules/escape-html": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", "dev": true, "license": "MIT" }, "node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "license": "MIT", "engines": { @@ -11501,8 +8559,6 @@ }, "node_modules/escodegen": { "version": "1.14.3", - "resolved": "https://registry.npmmirror.com/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -11524,8 +8580,6 @@ }, "node_modules/escodegen/node_modules/estraverse": { "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -11534,8 +8588,6 @@ }, "node_modules/eslint-scope": { "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -11548,8 +8600,6 @@ }, "node_modules/eslint-visitor-keys": { "version": "3.4.3", - "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", "engines": { @@ -11561,8 +8611,6 @@ }, "node_modules/espree": { "version": "9.6.1", - "resolved": "https://registry.npmmirror.com/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -11579,8 +8627,6 @@ }, "node_modules/esprima": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "license": "BSD-2-Clause", "bin": { @@ -11593,8 +8639,6 @@ }, "node_modules/esrecurse": { "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -11606,8 +8650,6 @@ }, "node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -11616,14 +8658,10 @@ }, "node_modules/estree-walker": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "license": "MIT" }, "node_modules/esutils": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -11632,8 +8670,6 @@ }, "node_modules/etag": { "version": "1.8.1", - "resolved": "https://registry.npmmirror.com/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "dev": true, "license": "MIT", "engines": { @@ -11642,8 +8678,6 @@ }, "node_modules/event-target-shim": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", "dev": true, "license": "MIT", "engines": { @@ -11652,8 +8686,6 @@ }, "node_modules/events": { "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true, "license": "MIT", "engines": { @@ -11662,8 +8694,6 @@ }, "node_modules/eventsource-parser": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/eventsource-parser/-/eventsource-parser-3.0.0.tgz", - "integrity": "sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA==", "license": "MIT", "engines": { "node": ">=18.0.0" @@ -11671,8 +8701,6 @@ }, "node_modules/execa": { "version": "9.5.2", - "resolved": "https://registry.npmmirror.com/execa/-/execa-9.5.2.tgz", - "integrity": "sha512-EHlpxMCpHWSAh1dgS6bVeoLAXGnJNdR93aabr4QCGbzOM73o5XmRfM/e5FUqsw3aagP8S8XEWUWFAxnRBnAF0Q==", "dev": true, "license": "MIT", "dependencies": { @@ -11698,8 +8726,6 @@ }, "node_modules/exit-hook": { "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/exit-hook/-/exit-hook-2.2.1.tgz", - "integrity": "sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==", "dev": true, "license": "MIT", "engines": { @@ -11721,9 +8747,7 @@ } }, "node_modules/expect-type": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/expect-type/-/expect-type-1.1.0.tgz", - "integrity": "sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==", + "version": "1.2.0", "dev": true, "license": "Apache-2.0", "engines": { @@ -11731,16 +8755,12 @@ } }, "node_modules/exponential-backoff": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz", - "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "version": "3.1.2", "dev": true, "license": "Apache-2.0" }, "node_modules/ext-list": { "version": "2.2.2", - "resolved": "https://registry.npmmirror.com/ext-list/-/ext-list-2.2.2.tgz", - "integrity": "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==", "license": "MIT", "dependencies": { "mime-db": "^1.28.0" @@ -11751,8 +8771,6 @@ }, "node_modules/ext-name": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/ext-name/-/ext-name-5.0.0.tgz", - "integrity": "sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==", "license": "MIT", "dependencies": { "ext-list": "^2.0.0", @@ -11764,8 +8782,6 @@ }, "node_modules/extend-shallow": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", "dev": true, "license": "MIT", "dependencies": { @@ -11777,8 +8793,6 @@ }, "node_modules/extract-zip": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -11798,8 +8812,6 @@ }, "node_modules/extract-zip/node_modules/get-stream": { "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "license": "MIT", "dependencies": { @@ -11814,8 +8826,6 @@ }, "node_modules/extsprintf": { "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/extsprintf/-/extsprintf-1.4.1.tgz", - "integrity": "sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==", "dev": true, "engines": [ "node >=0.6.0" @@ -11825,22 +8835,16 @@ }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true, "license": "MIT" }, "node_modules/fast-fifo": { "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/fast-fifo/-/fast-fifo-1.3.2.tgz", - "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", "devOptional": true, "license": "MIT" }, "node_modules/fast-glob": { "version": "3.3.3", - "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", @@ -11855,39 +8859,16 @@ }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true, "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true, "license": "MIT" }, - "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/fastq": { - "version": "1.19.0", - "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.19.0.tgz", - "integrity": "sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==", + "version": "1.19.1", "license": "ISC", "dependencies": { "reusify": "^1.0.4" @@ -11895,8 +8876,6 @@ }, "node_modules/fd-slicer": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", "dev": true, "license": "MIT", "dependencies": { @@ -11905,15 +8884,11 @@ }, "node_modules/fflate": { "version": "0.8.2", - "resolved": "https://registry.npmmirror.com/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", "dev": true, "license": "MIT" }, "node_modules/figures": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/figures/-/figures-6.1.0.tgz", - "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", "dev": true, "license": "MIT", "dependencies": { @@ -11928,15 +8903,11 @@ }, "node_modules/file-uri-to-path": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", "dev": true, "license": "MIT" }, "node_modules/filelist": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -11945,8 +8916,6 @@ }, "node_modules/filelist/node_modules/minimatch": { "version": "5.1.6", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "license": "ISC", "dependencies": { @@ -11958,8 +8927,6 @@ }, "node_modules/fill-range": { "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" @@ -11969,9 +8936,7 @@ } }, "node_modules/for-each": { - "version": "0.3.4", - "resolved": "https://registry.npmmirror.com/for-each/-/for-each-0.3.4.tgz", - "integrity": "sha512-kKaIINnFpzW6ffJNDjjyjrk21BkDx38c0xa/klsT8VzLCaMEefv4ZTacrcVR4DmgTeBra++jMDAfS/tS799YDw==", + "version": "0.3.5", "dev": true, "license": "MIT", "dependencies": { @@ -11985,13 +8950,11 @@ } }, "node_modules/foreground-child": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/foreground-child/-/foreground-child-3.3.0.tgz", - "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "version": "3.3.1", "dev": true, "license": "ISC", "dependencies": { - "cross-spawn": "^7.0.0", + "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" }, "engines": { @@ -12003,8 +8966,6 @@ }, "node_modules/form-data": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -12018,8 +8979,6 @@ }, "node_modules/frac": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/frac/-/frac-1.1.2.tgz", - "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", "license": "Apache-2.0", "engines": { "node": ">=0.8" @@ -12027,8 +8986,6 @@ }, "node_modules/fraction.js": { "version": "4.3.7", - "resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz", - "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true, "license": "MIT", "engines": { @@ -12041,8 +8998,6 @@ }, "node_modules/fresh": { "version": "0.5.2", - "resolved": "https://registry.npmmirror.com/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "dev": true, "license": "MIT", "engines": { @@ -12051,16 +9006,12 @@ }, "node_modules/fs-constants": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "devOptional": true, "license": "MIT", "peer": true }, "node_modules/fs-extra": { "version": "11.3.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "dev": true, "license": "MIT", "dependencies": { @@ -12074,8 +9025,6 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -12086,61 +9035,11 @@ }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true, "license": "ISC" }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/function.prototype.name": { - "version": "1.1.8", - "resolved": "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.8.tgz", - "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "functions-have-names": "^1.2.3", - "hasown": "^2.0.2", - "is-callable": "^1.2.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -12148,9 +9047,6 @@ }, "node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmmirror.com/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "deprecated": "This package is no longer supported.", "dev": true, "license": "ISC", "dependencies": { @@ -12169,15 +9065,11 @@ }, "node_modules/gauge/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/gauge/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", "engines": { @@ -12186,15 +9078,11 @@ }, "node_modules/gauge/node_modules/signal-exit": { "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true, "license": "ISC" }, "node_modules/gauge/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -12208,8 +9096,6 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", - "resolved": "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -12217,8 +9103,6 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -12226,8 +9110,6 @@ }, "node_modules/get-east-asian-width": { "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", - "integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==", "license": "MIT", "engines": { "node": ">=18" @@ -12237,17 +9119,15 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.7.tgz", - "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", + "version": "1.3.0", "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", + "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "get-proto": "^1.0.0", + "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", @@ -12260,24 +9140,13 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-own-enumerable-property-symbols": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true, - "license": "ISC" - }, "node_modules/get-port-please": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/get-port-please/-/get-port-please-3.1.2.tgz", - "integrity": "sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==", "dev": true, "license": "MIT" }, "node_modules/get-proto": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/get-proto/-/get-proto-1.0.1.tgz", - "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -12289,8 +9158,6 @@ }, "node_modules/get-source": { "version": "2.0.12", - "resolved": "https://registry.npmmirror.com/get-source/-/get-source-2.0.12.tgz", - "integrity": "sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==", "dev": true, "license": "Unlicense", "dependencies": { @@ -12300,8 +9167,6 @@ }, "node_modules/get-stream": { "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-9.0.1.tgz", - "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, "license": "MIT", "dependencies": { @@ -12315,37 +9180,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-symbol-description": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.1.0.tgz", - "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/giget": { - "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/giget/-/giget-1.2.4.tgz", - "integrity": "sha512-Wv+daGyispVoA31TrWAVR+aAdP7roubTPEM/8JzRnqXhLbdJH0T9eQyXVFF8fjk3WKTsctII6QcyxILYgNp2DA==", + "version": "1.2.5", "license": "MIT", "dependencies": { "citty": "^0.1.6", "consola": "^3.4.0", "defu": "^6.1.4", "node-fetch-native": "^1.6.6", - "nypm": "^0.5.1", - "ohash": "^1.1.4", - "pathe": "^2.0.2", + "nypm": "^0.5.4", + "pathe": "^2.0.3", "tar": "^6.2.1" }, "bin": { @@ -12353,9 +9197,7 @@ } }, "node_modules/giget/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", "license": "MIT" }, "node_modules/github-from-package": { @@ -12368,9 +9210,6 @@ }, "node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "license": "ISC", "dependencies": { @@ -12390,8 +9229,6 @@ }, "node_modules/glob-parent": { "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "license": "ISC", "dependencies": { "is-glob": "^4.0.1" @@ -12402,15 +9239,11 @@ }, "node_modules/glob-to-regexp": { "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", "dev": true, "license": "BSD-2-Clause" }, "node_modules/glob/node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", "dependencies": { @@ -12420,8 +9253,6 @@ }, "node_modules/glob/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { @@ -12433,8 +9264,6 @@ }, "node_modules/global-agent": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/global-agent/-/global-agent-3.0.0.tgz", - "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==", "dev": true, "license": "BSD-3-Clause", "optional": true, @@ -12451,9 +9280,7 @@ } }, "node_modules/global-agent/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "optional": true, @@ -12466,8 +9293,6 @@ }, "node_modules/globals": { "version": "11.12.0", - "resolved": "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "license": "MIT", "engines": { "node": ">=4" @@ -12475,10 +9300,9 @@ }, "node_modules/globalthis": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.4.tgz", - "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { "define-properties": "^1.2.1", "gopd": "^1.0.1" @@ -12491,17 +9315,15 @@ } }, "node_modules/globby": { - "version": "14.0.2", - "resolved": "https://registry.npmmirror.com/globby/-/globby-14.0.2.tgz", - "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "version": "14.1.0", "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", - "fast-glob": "^3.3.2", - "ignore": "^5.2.4", - "path-type": "^5.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", "slash": "^5.1.0", - "unicorn-magic": "^0.1.0" + "unicorn-magic": "^0.3.0" }, "engines": { "node": ">=18" @@ -12512,8 +9334,6 @@ }, "node_modules/globby/node_modules/@sindresorhus/merge-streams": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", - "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", "license": "MIT", "engines": { "node": ">=18" @@ -12524,8 +9344,6 @@ }, "node_modules/gopd": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -12536,8 +9354,6 @@ }, "node_modules/got": { "version": "11.8.6", - "resolved": "https://registry.npmmirror.com/got/-/got-11.8.6.tgz", - "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==", "dev": true, "license": "MIT", "dependencies": { @@ -12562,15 +9378,11 @@ }, "node_modules/graceful-fs": { "version": "4.2.11", - "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true, "license": "ISC" }, "node_modules/gray-matter": { "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/gray-matter/-/gray-matter-4.0.3.tgz", - "integrity": "sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==", "dev": true, "license": "MIT", "dependencies": { @@ -12585,8 +9397,6 @@ }, "node_modules/gray-matter/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "license": "MIT", "dependencies": { @@ -12595,8 +9405,6 @@ }, "node_modules/gray-matter/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "license": "MIT", "dependencies": { @@ -12609,15 +9417,11 @@ }, "node_modules/gray-matter/node_modules/sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true, "license": "BSD-3-Clause" }, "node_modules/gzip-size": { "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/gzip-size/-/gzip-size-7.0.0.tgz", - "integrity": "sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==", "dev": true, "license": "MIT", "dependencies": { @@ -12631,41 +9435,23 @@ } }, "node_modules/h3": { - "version": "1.14.0", - "resolved": "https://registry.npmmirror.com/h3/-/h3-1.14.0.tgz", - "integrity": "sha512-ao22eiONdgelqcnknw0iD645qW0s9NnrJHr5OBz4WOMdBdycfSas1EQf1wXRsm+PcB2Yoj43pjBPwqIpJQTeWg==", + "version": "1.15.1", "dev": true, "license": "MIT", "dependencies": { "cookie-es": "^1.2.2", - "crossws": "^0.3.2", + "crossws": "^0.3.3", "defu": "^6.1.4", "destr": "^2.0.3", "iron-webcrypto": "^1.2.1", - "ohash": "^1.1.4", + "node-mock-http": "^1.0.0", "radix3": "^1.1.2", "ufo": "^1.5.4", - "uncrypto": "^0.1.3", - "unenv": "^1.10.0" - } - }, - "node_modules/has-bigints": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.1.0.tgz", - "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "uncrypto": "^0.1.3" } }, "node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "license": "MIT", "engines": { @@ -12674,8 +9460,6 @@ }, "node_modules/has-property-descriptors": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "license": "MIT", "dependencies": { @@ -12685,26 +9469,8 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-proto": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.2.0.tgz", - "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-symbols": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz", - "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -12715,8 +9481,6 @@ }, "node_modules/has-tostringtag": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -12730,22 +9494,16 @@ }, "node_modules/has-unicode": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "dev": true, "license": "ISC" }, "node_modules/hash-sum": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz", - "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", "dev": true, "license": "MIT" }, "node_modules/hasown": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -12756,8 +9514,6 @@ }, "node_modules/he": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true, "license": "MIT", "bin": { @@ -12766,8 +9522,6 @@ }, "node_modules/highlight.js": { "version": "11.11.1", - "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.11.1.tgz", - "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==", "license": "BSD-3-Clause", "engines": { "node": ">=12.0.0" @@ -12775,15 +9529,11 @@ }, "node_modules/hookable": { "version": "5.5.3", - "resolved": "https://registry.npmmirror.com/hookable/-/hookable-5.5.3.tgz", - "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", "dev": true, "license": "MIT" }, "node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, "license": "ISC", "dependencies": { @@ -12795,8 +9545,6 @@ }, "node_modules/htmlparser2": { "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-9.1.0.tgz", - "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", @@ -12815,15 +9563,11 @@ }, "node_modules/http-cache-semantics": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true, "license": "BSD-2-Clause" }, "node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, "license": "MIT", "dependencies": { @@ -12839,8 +9583,6 @@ }, "node_modules/http-proxy-agent": { "version": "7.0.2", - "resolved": "https://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", - "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", "dev": true, "license": "MIT", "dependencies": { @@ -12853,8 +9595,6 @@ }, "node_modules/http-shutdown": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/http-shutdown/-/http-shutdown-1.2.2.tgz", - "integrity": "sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw==", "dev": true, "license": "MIT", "engines": { @@ -12864,8 +9604,6 @@ }, "node_modules/http2-wrapper": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz", - "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==", "dev": true, "license": "MIT", "dependencies": { @@ -12878,8 +9616,6 @@ }, "node_modules/https-proxy-agent": { "version": "7.0.6", - "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dev": true, "license": "MIT", "dependencies": { @@ -12892,122 +9628,27 @@ }, "node_modules/httpxy": { "version": "0.1.7", - "resolved": "https://registry.npmmirror.com/httpxy/-/httpxy-0.1.7.tgz", - "integrity": "sha512-pXNx8gnANKAndgga5ahefxc++tJvNL87CXoRwxn1cJE2ZkWEojF3tNfQIEhZX/vfpt+wzeAzpUI4qkediX1MLQ==", "dev": true, "license": "MIT" }, "node_modules/human-signals": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-8.0.0.tgz", - "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", "dev": true, "license": "Apache-2.0", "engines": { "node": ">=18.18.0" - } - }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.0.0" - } - }, - "node_modules/iconv-corefoundation": { - "version": "1.1.7", - "resolved": "https://registry.npmmirror.com/iconv-corefoundation/-/iconv-corefoundation-1.1.7.tgz", - "integrity": "sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "cli-truncate": "^2.1.0", - "node-addon-api": "^1.6.3" - }, - "engines": { - "node": "^8.11.2 || >=10" - } - }, - "node_modules/iconv-corefoundation/node_modules/cli-truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/iconv-corefoundation/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/iconv-corefoundation/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/iconv-corefoundation/node_modules/slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/iconv-corefoundation/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", "dev": true, "license": "MIT", - "optional": true, "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" + "ms": "^2.0.0" } }, "node_modules/iconv-lite": { "version": "0.6.3", - "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -13016,17 +9657,8 @@ "node": ">=0.10.0" } }, - "node_modules/idb": { - "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/idb/-/idb-7.1.1.tgz", - "integrity": "sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==", - "dev": true, - "license": "ISC" - }, "node_modules/ieee754": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "devOptional": true, "funding": [ { @@ -13045,9 +9677,7 @@ "license": "BSD-3-Clause" }, "node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "version": "7.0.3", "license": "MIT", "engines": { "node": ">= 4" @@ -13055,8 +9685,6 @@ }, "node_modules/image-size": { "version": "0.5.5", - "resolved": "https://registry.npmmirror.com/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", "dev": true, "license": "MIT", "optional": true, @@ -13069,21 +9697,15 @@ }, "node_modules/immediate": { "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", "license": "MIT" }, "node_modules/immutable": { "version": "5.0.3", - "resolved": "https://registry.npmmirror.com/immutable/-/immutable-5.0.3.tgz", - "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==", "dev": true, "license": "MIT" }, "node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, "license": "MIT", "engines": { @@ -13092,8 +9714,6 @@ }, "node_modules/indent-string": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, "license": "MIT", "engines": { @@ -13102,8 +9722,6 @@ }, "node_modules/index-to-position": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/index-to-position/-/index-to-position-0.1.2.tgz", - "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", "dev": true, "license": "MIT", "engines": { @@ -13115,16 +9733,11 @@ }, "node_modules/infer-owner": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", "dev": true, "license": "ISC" }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, "license": "ISC", "dependencies": { @@ -13134,8 +9747,6 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, "node_modules/ini": { @@ -13146,25 +9757,8 @@ "optional": true, "peer": true }, - "node_modules/internal-slot": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.1.0.tgz", - "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.2", - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/internmap": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/internmap/-/internmap-2.0.3.tgz", - "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", "license": "ISC", "engines": { "node": ">=12" @@ -13172,8 +9766,6 @@ }, "node_modules/interpret": { "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", "dev": true, "license": "MIT", "engines": { @@ -13182,15 +9774,11 @@ }, "node_modules/inversify": { "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/inversify/-/inversify-6.0.1.tgz", - "integrity": "sha512-B3ex30927698TJENHR++8FfEaJGqoWOgI6ZY5Ht/nLUsFCwHn6akbwtnUAPCgUepAnTpe2qHxhDNjoKLyz6rgQ==", "dev": true, "license": "MIT" }, "node_modules/ioredis": { - "version": "5.4.2", - "resolved": "https://registry.npmmirror.com/ioredis/-/ioredis-5.4.2.tgz", - "integrity": "sha512-0SZXGNGZ+WzISQ67QDyZ2x0+wVxjjUndtD8oSeik/4ajifeiRufed8fCb8QW8VMyi4MXcS+UO1k/0NGhvq1PAg==", + "version": "5.5.0", "dev": true, "license": "MIT", "dependencies": { @@ -13214,8 +9802,6 @@ }, "node_modules/ip-address": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/ip-address/-/ip-address-9.0.5.tgz", - "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", "dev": true, "license": "MIT", "dependencies": { @@ -13228,8 +9814,6 @@ }, "node_modules/iron-webcrypto": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz", - "integrity": "sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==", "dev": true, "license": "MIT", "funding": { @@ -13238,8 +9822,6 @@ }, "node_modules/is-arguments": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.2.0.tgz", - "integrity": "sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==", "dev": true, "license": "MIT", "dependencies": { @@ -13253,71 +9835,13 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-array-buffer": { - "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.5.tgz", - "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-arrayish": { "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", - "devOptional": true, - "license": "MIT" - }, - "node_modules/is-async-function": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/is-async-function/-/is-async-function-2.1.1.tgz", - "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "async-function": "^1.0.0", - "call-bound": "^1.0.3", - "get-proto": "^1.0.1", - "has-tostringtag": "^1.0.2", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-bigint": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.1.0.tgz", - "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", - "dev": true, "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "optional": true }, "node_modules/is-binary-path": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, "license": "MIT", "dependencies": { @@ -13327,34 +9851,13 @@ "node": ">=8" } }, - "node_modules/is-boolean-object": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.2.1.tgz", - "integrity": "sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-buffer": { "version": "1.1.6", - "resolved": "https://registry.npmmirror.com/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true, "license": "MIT" }, "node_modules/is-callable": { "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "dev": true, "license": "MIT", "engines": { @@ -13366,8 +9869,6 @@ }, "node_modules/is-ci": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/is-ci/-/is-ci-3.0.1.tgz", - "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", "dev": true, "license": "MIT", "dependencies": { @@ -13379,8 +9880,6 @@ }, "node_modules/is-core-module": { "version": "2.16.1", - "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.16.1.tgz", - "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "license": "MIT", "dependencies": { @@ -13393,45 +9892,8 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-data-view": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-data-view/-/is-data-view-1.0.2.tgz", - "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "get-intrinsic": "^1.2.6", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.1.0.tgz", - "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-docker": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, "license": "MIT", "bin": { @@ -13446,8 +9908,6 @@ }, "node_modules/is-extendable": { "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", "dev": true, "license": "MIT", "engines": { @@ -13456,33 +9916,13 @@ }, "node_modules/is-extglob": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/is-finalizationregistry": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", - "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "license": "MIT", "engines": { "node": ">=12" @@ -13493,8 +9933,6 @@ }, "node_modules/is-generator-function": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-generator-function/-/is-generator-function-1.1.0.tgz", - "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", "dev": true, "license": "MIT", "dependencies": { @@ -13512,8 +9950,6 @@ }, "node_modules/is-glob": { "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" @@ -13524,8 +9960,6 @@ }, "node_modules/is-inside-container": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, "license": "MIT", "dependencies": { @@ -13543,8 +9977,6 @@ }, "node_modules/is-interactive": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", "dev": true, "license": "MIT", "engines": { @@ -13556,35 +9988,16 @@ }, "node_modules/is-lambda": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "dev": true, "license": "MIT" }, - "node_modules/is-map": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/is-map/-/is-map-2.0.3.tgz", - "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-module": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", "dev": true, "license": "MIT" }, "node_modules/is-nan": { "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/is-nan/-/is-nan-1.3.2.tgz", - "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==", "dev": true, "license": "MIT", "dependencies": { @@ -13600,44 +10013,13 @@ }, "node_modules/is-number": { "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "license": "MIT", "engines": { "node": ">=0.12.0" } }, - "node_modules/is-number-object": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.1.1.tgz", - "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-plain-obj": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "dev": true, "license": "MIT", "engines": { @@ -13649,8 +10031,6 @@ }, "node_modules/is-reference": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/is-reference/-/is-reference-1.2.1.tgz", - "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -13659,8 +10039,6 @@ }, "node_modules/is-regex": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.2.1.tgz", - "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", "dev": true, "license": "MIT", "dependencies": { @@ -13676,49 +10054,8 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-set": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/is-set/-/is-set-2.0.3.tgz", - "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", - "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-stream": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-4.0.1.tgz", - "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, "license": "MIT", "engines": { @@ -13728,45 +10065,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-string": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/is-string/-/is-string-1.1.1.tgz", - "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.1.1.tgz", - "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-symbols": "^1.1.0", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-typed-array": { "version": "1.1.15", - "resolved": "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.15.tgz", - "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", "dev": true, "license": "MIT", "dependencies": { @@ -13781,8 +10081,6 @@ }, "node_modules/is-unicode-supported": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dev": true, "license": "MIT", "engines": { @@ -13792,63 +10090,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-weakmap": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/is-weakmap/-/is-weakmap-2.0.2.tgz", - "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.1.0.tgz", - "integrity": "sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakset": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/is-weakset/-/is-weakset-2.0.4.tgz", - "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-what": { "version": "3.14.1", - "resolved": "https://registry.npmmirror.com/is-what/-/is-what-3.14.1.tgz", - "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", "dev": true, "license": "MIT" }, "node_modules/is-wsl": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-3.1.0.tgz", - "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", "dev": true, "license": "MIT", "dependencies": { @@ -13863,8 +10111,6 @@ }, "node_modules/is64bit": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/is64bit/-/is64bit-2.0.0.tgz", - "integrity": "sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw==", "dev": true, "license": "MIT", "dependencies": { @@ -13878,16 +10124,11 @@ } }, "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true, + "version": "1.0.0", "license": "MIT" }, "node_modules/isbinaryfile": { "version": "5.0.4", - "resolved": "https://registry.npmmirror.com/isbinaryfile/-/isbinaryfile-5.0.4.tgz", - "integrity": "sha512-YKBKVkKhty7s8rxddb40oOkuP0NbaeXrQvLin6QMHL7Ypiy2RW9LwOVrVgZRyOrhQlayMd9t+D8yDy8MKFTSDQ==", "dev": true, "license": "MIT", "engines": { @@ -13899,14 +10140,10 @@ }, "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "license": "ISC" }, "node_modules/jackspeak": { "version": "3.4.3", - "resolved": "https://registry.npmmirror.com/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -13921,8 +10158,6 @@ }, "node_modules/jake": { "version": "10.9.2", - "resolved": "https://registry.npmmirror.com/jake/-/jake-10.9.2.tgz", - "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -13940,8 +10175,6 @@ }, "node_modules/jake/node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", "dependencies": { @@ -13951,8 +10184,6 @@ }, "node_modules/jake/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { @@ -13964,8 +10195,6 @@ }, "node_modules/javascript-obfuscator": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/javascript-obfuscator/-/javascript-obfuscator-4.1.1.tgz", - "integrity": "sha512-gt+KZpIIrrxXHEQGD8xZrL8mTRwRY0U76/xz/YX0gZdPrSqQhT/c7dYLASlLlecT3r+FxE7je/+C0oLnTDCx4A==", "dev": true, "hasInstallScript": true, "license": "BSD-2-Clause", @@ -14007,8 +10236,6 @@ }, "node_modules/javascript-obfuscator/node_modules/acorn": { "version": "8.8.2", - "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, "license": "MIT", "bin": { @@ -14020,8 +10247,6 @@ }, "node_modules/javascript-obfuscator/node_modules/commander": { "version": "10.0.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-10.0.0.tgz", - "integrity": "sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA==", "dev": true, "license": "MIT", "engines": { @@ -14030,8 +10255,6 @@ }, "node_modules/javascript-obfuscator/node_modules/eslint-visitor-keys": { "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -14040,8 +10263,6 @@ }, "node_modules/javascript-obfuscator/node_modules/mkdirp": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-2.1.3.tgz", - "integrity": "sha512-sjAkg21peAG9HS+Dkx7hlG9Ztx7HLeKnvB3NQRcu/mltCVmvkF0pisbiTSfDVYTT86XEfZrTUosLdZLStquZUw==", "dev": true, "license": "MIT", "bin": { @@ -14056,15 +10277,11 @@ }, "node_modules/javascript-obfuscator/node_modules/tslib": { "version": "2.5.0", - "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", "dev": true, "license": "0BSD" }, "node_modules/jiti": { "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/jiti/-/jiti-2.4.2.tgz", - "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==", "license": "MIT", "bin": { "jiti": "lib/jiti-cli.mjs" @@ -14072,8 +10289,6 @@ }, "node_modules/jose": { "version": "6.0.8", - "resolved": "https://registry.npmmirror.com/jose/-/jose-6.0.8.tgz", - "integrity": "sha512-EyUPtOKyTYq+iMOszO42eobQllaIjJnwkZ2U93aJzNyPibCy7CEvT9UQnaCVB51IAd49gbNdCew1c0LcLTCB2g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" @@ -14081,8 +10296,6 @@ }, "node_modules/js-levenshtein": { "version": "1.1.6", - "resolved": "https://registry.npmmirror.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz", - "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", "dev": true, "license": "MIT", "engines": { @@ -14091,8 +10304,6 @@ }, "node_modules/js-string-escape": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==", "dev": true, "license": "MIT", "engines": { @@ -14101,14 +10312,10 @@ }, "node_modules/js-tokens": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "license": "MIT", "dependencies": { @@ -14120,8 +10327,6 @@ }, "node_modules/js2xmlparser": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/js2xmlparser/-/js2xmlparser-4.0.2.tgz", - "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -14130,15 +10335,11 @@ }, "node_modules/jsbn": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/jsbn/-/jsbn-1.1.0.tgz", - "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "dev": true, "license": "MIT" }, "node_modules/jsdoc": { "version": "4.0.4", - "resolved": "https://registry.npmmirror.com/jsdoc/-/jsdoc-4.0.4.tgz", - "integrity": "sha512-zeFezwyXeG4syyYHbvh1A967IAqq/67yXtXvuL5wnqCkFZe8I0vKfm+EO+YEvLguo6w9CDUbrAXVtJSHh2E8rw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -14167,8 +10368,6 @@ }, "node_modules/jsdoc/node_modules/escape-string-regexp": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, "license": "MIT", "engines": { @@ -14177,8 +10376,6 @@ }, "node_modules/jsdoc/node_modules/markdown-it-anchor": { "version": "8.6.7", - "resolved": "https://registry.npmmirror.com/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", - "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", "dev": true, "license": "Unlicense", "peerDependencies": { @@ -14188,8 +10385,6 @@ }, "node_modules/jsesc": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "license": "MIT", "bin": { "jsesc": "bin/jsesc" @@ -14200,37 +10395,22 @@ }, "node_modules/json-buffer": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true, "license": "MIT" }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true, - "license": "(AFL-2.1 OR BSD-3-Clause)" - }, "node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, "license": "MIT" }, "node_modules/json-stringify-safe": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", "dev": true, "license": "ISC", "optional": true }, "node_modules/json5": { "version": "2.2.3", - "resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "license": "MIT", "bin": { "json5": "lib/cli.js" @@ -14241,8 +10421,6 @@ }, "node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "license": "MIT", "dependencies": { @@ -14252,20 +10430,8 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/jsonpointer": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/jszip": { "version": "3.10.1", - "resolved": "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz", - "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", "license": "(MIT OR GPL-3.0-or-later)", "dependencies": { "lie": "~3.3.0", @@ -14274,16 +10440,8 @@ "setimmediate": "^1.0.5" } }, - "node_modules/jszip/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "license": "MIT" - }, "node_modules/jszip/node_modules/readable-stream": { "version": "2.3.8", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", @@ -14297,14 +10455,10 @@ }, "node_modules/jszip/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "license": "MIT" }, "node_modules/jszip/node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" @@ -14312,8 +10466,6 @@ }, "node_modules/katex": { "version": "0.16.21", - "resolved": "https://registry.npmmirror.com/katex/-/katex-0.16.21.tgz", - "integrity": "sha512-XvqR7FgOHtWupfMiigNzmh+MgUVmDGU2kXZm899ZkPfcuoPuFxyHmXsgATDpFZDAXCI8tvinaVcDo8PIIJSo4A==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" @@ -14328,8 +10480,6 @@ }, "node_modules/katex/node_modules/commander": { "version": "8.3.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", "license": "MIT", "engines": { "node": ">= 12" @@ -14337,8 +10487,6 @@ }, "node_modules/keyv": { "version": "4.5.4", - "resolved": "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, "license": "MIT", "dependencies": { @@ -14346,14 +10494,10 @@ } }, "node_modules/khroma": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/khroma/-/khroma-2.1.0.tgz", - "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==" + "version": "2.1.0" }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, "license": "MIT", "engines": { @@ -14362,8 +10506,6 @@ }, "node_modules/klaw": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/klaw/-/klaw-3.0.0.tgz", - "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", "dev": true, "license": "MIT", "dependencies": { @@ -14372,8 +10514,6 @@ }, "node_modules/klona": { "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/klona/-/klona-2.0.6.tgz", - "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", "license": "MIT", "engines": { "node": ">= 8" @@ -14381,27 +10521,19 @@ }, "node_modules/knitwork": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/knitwork/-/knitwork-1.2.0.tgz", - "integrity": "sha512-xYSH7AvuQ6nXkq42x0v5S8/Iry+cfulBz/DJQzhIyESdLD7425jXsPy4vn5cCXU+HhRN2kVw51Vd1K6/By4BQg==", "license": "MIT" }, "node_modules/layout-base": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-1.0.2.tgz", - "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", "license": "MIT" }, "node_modules/lazy-val": { "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/lazy-val/-/lazy-val-1.0.5.tgz", - "integrity": "sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==", "dev": true, "license": "MIT" }, "node_modules/lazystream": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/lazystream/-/lazystream-1.0.1.tgz", - "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", "dev": true, "license": "MIT", "dependencies": { @@ -14411,17 +10543,8 @@ "node": ">= 0.6.3" } }, - "node_modules/lazystream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT" - }, "node_modules/lazystream/node_modules/readable-stream": { "version": "2.3.8", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "license": "MIT", "dependencies": { @@ -14436,15 +10559,11 @@ }, "node_modules/lazystream/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, "license": "MIT" }, "node_modules/lazystream/node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", "dependencies": { @@ -14453,8 +10572,6 @@ }, "node_modules/less": { "version": "4.2.2", - "resolved": "https://registry.npmmirror.com/less/-/less-4.2.2.tgz", - "integrity": "sha512-tkuLHQlvWUTeQ3doAqnHbNn8T6WX1KA8yvbKG9x4VtKtIjHsVKQZCH11zRgAfbDAXC2UNIg/K9BYAAcEzUIrNg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -14480,8 +10597,6 @@ }, "node_modules/less/node_modules/mime": { "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, "license": "MIT", "optional": true, @@ -14492,20 +10607,8 @@ "node": ">=4" } }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/levn": { "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", "dev": true, "license": "MIT", "dependencies": { @@ -14517,16 +10620,12 @@ } }, "node_modules/libphonenumber-js": { - "version": "1.11.19", - "resolved": "https://registry.npmmirror.com/libphonenumber-js/-/libphonenumber-js-1.11.19.tgz", - "integrity": "sha512-bW/Yp/9dod6fmyR+XqSUL1N5JE7QRxQ3KrBIbYS1FTv32e5i3SEtQVX+71CYNv8maWNSOgnlCoNp9X78f/cKiA==", + "version": "1.12.4", "dev": true, "license": "MIT" }, "node_modules/lie": { "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/lie/-/lie-3.3.0.tgz", - "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", "license": "MIT", "dependencies": { "immediate": "~3.0.5" @@ -14534,8 +10633,6 @@ }, "node_modules/lilconfig": { "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/lilconfig/-/lilconfig-3.1.3.tgz", - "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "license": "MIT", "engines": { @@ -14547,15 +10644,11 @@ }, "node_modules/lines-and-columns": { "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true, "license": "MIT" }, "node_modules/linkify-it": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/linkify-it/-/linkify-it-5.0.0.tgz", - "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", "license": "MIT", "dependencies": { "uc.micro": "^2.0.0" @@ -14563,8 +10656,6 @@ }, "node_modules/listhen": { "version": "1.9.0", - "resolved": "https://registry.npmmirror.com/listhen/-/listhen-1.9.0.tgz", - "integrity": "sha512-I8oW2+QL5KJo8zXNWX046M134WchxsXC7SawLPvRQpogCbkyQIaFxPE89A2HiwR7vAK2Dm2ERBAmyjTYGYEpBg==", "dev": true, "license": "MIT", "dependencies": { @@ -14593,13 +10684,12 @@ } }, "node_modules/local-pkg": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-1.0.0.tgz", - "integrity": "sha512-bbgPw/wmroJsil/GgL4qjDzs5YLTBMQ99weRsok1XCDccQeehbHA/I1oRvk2NPtr7KGZgT/Y5tPRnAtMqeG2Kg==", + "version": "1.1.0", "license": "MIT", "dependencies": { - "mlly": "^1.7.3", - "pkg-types": "^1.3.0" + "mlly": "^1.7.4", + "pkg-types": "^1.3.1", + "quansync": "^0.2.1" }, "engines": { "node": ">=14" @@ -14610,86 +10700,53 @@ }, "node_modules/lodash": { "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, "license": "MIT" }, "node_modules/lodash-es": { "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "license": "MIT" - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true, "license": "MIT" }, "node_modules/lodash.defaults": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", "dev": true, "license": "MIT" }, "node_modules/lodash.difference": { "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.difference/-/lodash.difference-4.5.0.tgz", - "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==", "dev": true, "license": "MIT", "peer": true }, "node_modules/lodash.flatten": { "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", "dev": true, "license": "MIT", "peer": true }, "node_modules/lodash.isarguments": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", "dev": true, "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "dev": true, "license": "MIT", "peer": true }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmmirror.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.union": { "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/lodash.union/-/lodash.union-4.6.0.tgz", - "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==", "dev": true, "license": "MIT", "peer": true }, "node_modules/log-symbols": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/log-symbols/-/log-symbols-6.0.0.tgz", - "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", "dev": true, "license": "MIT", "dependencies": { @@ -14705,8 +10762,6 @@ }, "node_modules/log-symbols/node_modules/chalk": { "version": "5.4.1", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-5.4.1.tgz", - "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", "dev": true, "license": "MIT", "engines": { @@ -14718,8 +10773,6 @@ }, "node_modules/log-symbols/node_modules/is-unicode-supported": { "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", "dev": true, "license": "MIT", "engines": { @@ -14730,15 +10783,11 @@ } }, "node_modules/long": { - "version": "5.2.4", - "resolved": "https://registry.npmmirror.com/long/-/long-5.2.4.tgz", - "integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==", + "version": "5.3.1", "license": "Apache-2.0" }, "node_modules/lop": { "version": "0.4.2", - "resolved": "https://registry.npmmirror.com/lop/-/lop-0.4.2.tgz", - "integrity": "sha512-RefILVDQ4DKoRZsJ4Pj22TxE3omDO47yFpkIBoDKzkqPRISs5U1cnAdg/5583YPkWPaLIYHOKRMQSvjFsO26cw==", "license": "BSD-2-Clause", "dependencies": { "duck": "^0.1.12", @@ -14748,15 +10797,11 @@ }, "node_modules/loupe": { "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/loupe/-/loupe-3.1.3.tgz", - "integrity": "sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==", "dev": true, "license": "MIT" }, "node_modules/lowercase-keys": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", "dev": true, "license": "MIT", "engines": { @@ -14765,8 +10810,6 @@ }, "node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "license": "ISC", "dependencies": { @@ -14778,8 +10821,6 @@ }, "node_modules/magic-string": { "version": "0.30.17", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" @@ -14787,8 +10828,6 @@ }, "node_modules/magicast": { "version": "0.3.5", - "resolved": "https://registry.npmmirror.com/magicast/-/magicast-0.3.5.tgz", - "integrity": "sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==", "devOptional": true, "license": "MIT", "dependencies": { @@ -14799,8 +10838,6 @@ }, "node_modules/make-dir": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "license": "MIT", "optional": true, @@ -14814,8 +10851,6 @@ }, "node_modules/make-dir/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "license": "ISC", "optional": true, @@ -14825,8 +10860,6 @@ }, "node_modules/make-fetch-happen": { "version": "10.2.1", - "resolved": "https://registry.npmmirror.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dev": true, "license": "ISC", "dependencies": { @@ -14853,8 +10886,6 @@ }, "node_modules/make-fetch-happen/node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "license": "MIT", "dependencies": { @@ -14866,8 +10897,6 @@ }, "node_modules/make-fetch-happen/node_modules/http-proxy-agent": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, "license": "MIT", "dependencies": { @@ -14881,8 +10910,6 @@ }, "node_modules/make-fetch-happen/node_modules/https-proxy-agent": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "license": "MIT", "dependencies": { @@ -14895,8 +10922,6 @@ }, "node_modules/make-fetch-happen/node_modules/lru-cache": { "version": "7.18.3", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "license": "ISC", "engines": { @@ -14905,8 +10930,6 @@ }, "node_modules/mammoth": { "version": "1.9.0", - "resolved": "https://registry.npmmirror.com/mammoth/-/mammoth-1.9.0.tgz", - "integrity": "sha512-F+0NxzankQV9XSUAuVKvkdQK0GbtGGuqVnND9aVf9VSeUA82LQa29GjLqYU6Eez8LHqSJG3eGiDW3224OKdpZg==", "license": "BSD-2-Clause", "dependencies": { "@xmldom/xmldom": "^0.8.6", @@ -14929,8 +10952,6 @@ }, "node_modules/mammoth/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" @@ -14938,20 +10959,14 @@ }, "node_modules/mammoth/node_modules/bluebird": { "version": "3.4.7", - "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.4.7.tgz", - "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==", "license": "MIT" }, "node_modules/mammoth/node_modules/sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "license": "BSD-3-Clause" }, "node_modules/mammoth/node_modules/xmlbuilder": { "version": "10.1.1", - "resolved": "https://registry.npmmirror.com/xmlbuilder/-/xmlbuilder-10.1.1.tgz", - "integrity": "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==", "license": "MIT", "engines": { "node": ">=4.0" @@ -14959,8 +10974,6 @@ }, "node_modules/markdown-it": { "version": "14.1.0", - "resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-14.1.0.tgz", - "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "license": "MIT", "dependencies": { "argparse": "^2.0.1", @@ -14976,8 +10989,6 @@ }, "node_modules/markdown-it-anchor": { "version": "9.2.0", - "resolved": "https://registry.npmmirror.com/markdown-it-anchor/-/markdown-it-anchor-9.2.0.tgz", - "integrity": "sha512-sa2ErMQ6kKOA4l31gLGYliFQrMKkqSO0ZJgGhDHKijPf0pNFM9vghjAh3gn26pS4JDRs7Iwa9S36gxm3vgZTzg==", "dev": true, "license": "Unlicense", "peerDependencies": { @@ -14987,15 +10998,11 @@ }, "node_modules/markdown-it-emoji": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/markdown-it-emoji/-/markdown-it-emoji-3.0.0.tgz", - "integrity": "sha512-+rUD93bXHubA4arpEZO3q80so0qgoFJEKRkRbjKX8RTdca89v2kfyF+xR3i2sQTwql9tpPZPOQN5B+PunspXRg==", "dev": true, "license": "MIT" }, "node_modules/markdown-it-highlightjs": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/markdown-it-highlightjs/-/markdown-it-highlightjs-4.2.0.tgz", - "integrity": "sha512-NC7pXE8KkOl6xWJVRNt8p6wgJVznXKsE0HgYGdk6DD2tn1l4L9f0ALf3VIoGVkotNU1uGQatSxfBF1zZPUMmuQ==", "license": "Unlicense", "dependencies": { "highlight.js": "^11.9.0" @@ -15003,14 +11010,10 @@ }, "node_modules/markdown-it-link-attributes": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/markdown-it-link-attributes/-/markdown-it-link-attributes-4.0.1.tgz", - "integrity": "sha512-pg5OK0jPLg62H4k7M9mRJLT61gUp9nvG0XveKYHMOOluASo9OEF13WlXrpAp2aj35LbedAy3QOCgQCw0tkLKAQ==", "license": "MIT" }, "node_modules/marked": { "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", "dev": true, "license": "MIT", "bin": { @@ -15022,8 +11025,6 @@ }, "node_modules/matcher": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/matcher/-/matcher-3.0.0.tgz", - "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==", "dev": true, "license": "MIT", "optional": true, @@ -15036,8 +11037,6 @@ }, "node_modules/math-intrinsics": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz", - "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -15045,8 +11044,6 @@ }, "node_modules/md5": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -15057,44 +11054,65 @@ }, "node_modules/mdn-data": { "version": "2.0.30", - "resolved": "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.30.tgz", - "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", "dev": true, "license": "CC0-1.0" }, "node_modules/mdurl": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/mdurl/-/mdurl-2.0.0.tgz", - "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", "license": "MIT" }, "node_modules/medium-zoom": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/medium-zoom/-/medium-zoom-1.1.0.tgz", - "integrity": "sha512-ewyDsp7k4InCUp3jRmwHBRFGyjBimKps/AJLjRSox+2q/2H4p/PNpQf+pwONWlJiOudkBXtbdmVbFjqyybfTmQ==", "dev": true, "license": "MIT" }, "node_modules/merge-stream": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true, "license": "MIT" }, "node_modules/merge2": { "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "license": "MIT", "engines": { "node": ">= 8" } }, + "node_modules/mermaid": { + "version": "9.4.3", + "license": "MIT", + "dependencies": { + "@braintree/sanitize-url": "^6.0.0", + "cytoscape": "^3.23.0", + "cytoscape-cose-bilkent": "^4.1.0", + "cytoscape-fcose": "^2.1.0", + "d3": "^7.4.0", + "dagre-d3-es": "7.0.9", + "dayjs": "^1.11.7", + "dompurify": "2.4.3", + "elkjs": "^0.8.2", + "khroma": "^2.0.0", + "lodash-es": "^4.17.21", + "non-layered-tidy-tree-layout": "^2.0.2", + "stylis": "^4.1.2", + "ts-dedent": "^2.2.0", + "uuid": "^9.0.0", + "web-worker": "^1.2.0" + } + }, + "node_modules/mermaid/node_modules/uuid": { + "version": "9.0.1", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/micromatch": { "version": "4.0.8", - "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -15106,8 +11124,6 @@ }, "node_modules/mime": { "version": "2.6.0", - "resolved": "https://registry.npmmirror.com/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "dev": true, "license": "MIT", "bin": { @@ -15119,8 +11135,6 @@ }, "node_modules/mime-db": { "version": "1.53.0", - "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.53.0.tgz", - "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -15128,8 +11142,6 @@ }, "node_modules/mime-types": { "version": "2.1.35", - "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "license": "MIT", "dependencies": { "mime-db": "1.52.0" @@ -15140,8 +11152,6 @@ }, "node_modules/mime-types/node_modules/mime-db": { "version": "1.52.0", - "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -15149,8 +11159,6 @@ }, "node_modules/mimic-fn": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, "license": "MIT", "engines": { @@ -15159,8 +11167,6 @@ }, "node_modules/mimic-function": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", "dev": true, "license": "MIT", "engines": { @@ -15172,8 +11178,6 @@ }, "node_modules/mimic-response": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true, "license": "MIT", "engines": { @@ -15181,23 +11185,21 @@ } }, "node_modules/miniflare": { - "version": "3.20250124.1", - "resolved": "https://registry.npmmirror.com/miniflare/-/miniflare-3.20250124.1.tgz", - "integrity": "sha512-BL8jq7btzaHFs/8PwYjBIiBecyqkEwkJIsFvoO/4bJn8O9NAbFaLSB023nGpfwWCebP6uSepzqZm4hrOOxA8Eg==", + "version": "3.20250214.1", "dev": true, "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "0.8.1", - "acorn": "^8.8.0", - "acorn-walk": "^8.2.0", - "exit-hook": "^2.2.1", - "glob-to-regexp": "^0.4.1", - "stoppable": "^1.1.0", - "undici": "^5.28.4", - "workerd": "1.20250124.0", - "ws": "^8.18.0", - "youch": "^3.2.2", - "zod": "^3.22.3" + "acorn": "8.14.0", + "acorn-walk": "8.3.2", + "exit-hook": "2.2.1", + "glob-to-regexp": "0.4.1", + "stoppable": "1.1.0", + "undici": "^5.28.5", + "workerd": "1.20250214.0", + "ws": "8.18.0", + "youch": "3.2.3", + "zod": "3.22.3" }, "bin": { "miniflare": "bootstrap.js" @@ -15208,8 +11210,6 @@ }, "node_modules/miniflare/node_modules/undici": { "version": "5.28.5", - "resolved": "https://registry.npmmirror.com/undici/-/undici-5.28.5.tgz", - "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", "dev": true, "license": "MIT", "dependencies": { @@ -15219,10 +11219,28 @@ "node": ">=14.0" } }, + "node_modules/miniflare/node_modules/ws": { + "version": "8.18.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/minimatch": { "version": "10.0.1", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", "dev": true, "license": "ISC", "dependencies": { @@ -15237,8 +11255,6 @@ }, "node_modules/minimist": { "version": "1.2.8", - "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "devOptional": true, "license": "MIT", "funding": { @@ -15247,8 +11263,6 @@ }, "node_modules/minipass": { "version": "3.3.6", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -15259,8 +11273,6 @@ }, "node_modules/minipass-collect": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", "dev": true, "license": "ISC", "dependencies": { @@ -15272,8 +11284,6 @@ }, "node_modules/minipass-fetch": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", "dev": true, "license": "MIT", "dependencies": { @@ -15290,8 +11300,6 @@ }, "node_modules/minipass-flush": { "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, "license": "ISC", "dependencies": { @@ -15303,8 +11311,6 @@ }, "node_modules/minipass-pipeline": { "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, "license": "ISC", "dependencies": { @@ -15316,8 +11322,6 @@ }, "node_modules/minipass-sized": { "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, "license": "ISC", "dependencies": { @@ -15329,8 +11333,6 @@ }, "node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "license": "MIT", "dependencies": { "minipass": "^3.0.0", @@ -15342,14 +11344,10 @@ }, "node_modules/mitt": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz", - "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", "license": "MIT" }, "node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" @@ -15368,8 +11366,6 @@ }, "node_modules/mlly": { "version": "1.7.4", - "resolved": "https://registry.npmmirror.com/mlly/-/mlly-1.7.4.tgz", - "integrity": "sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==", "license": "MIT", "dependencies": { "acorn": "^8.14.0", @@ -15379,28 +11375,20 @@ } }, "node_modules/mlly/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", "license": "MIT" }, "node_modules/ms": { "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/muggle-string": { "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/muggle-string/-/muggle-string-0.4.1.tgz", - "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==", "dev": true, "license": "MIT" }, "node_modules/multimatch": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/multimatch/-/multimatch-5.0.0.tgz", - "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", "dev": true, "license": "MIT", "dependencies": { @@ -15419,8 +11407,6 @@ }, "node_modules/multimatch/node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", "dependencies": { @@ -15430,8 +11416,6 @@ }, "node_modules/multimatch/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { @@ -15443,8 +11427,6 @@ }, "node_modules/mustache": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/mustache/-/mustache-4.2.0.tgz", - "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", "dev": true, "license": "MIT", "bin": { @@ -15453,8 +11435,6 @@ }, "node_modules/mz": { "version": "2.7.0", - "resolved": "https://registry.npmmirror.com/mz/-/mz-2.7.0.tgz", - "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "dev": true, "license": "MIT", "dependencies": { @@ -15465,8 +11445,6 @@ }, "node_modules/nanoid": { "version": "3.3.8", - "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.8.tgz", - "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "funding": [ { "type": "github", @@ -15491,8 +11469,6 @@ }, "node_modules/needle": { "version": "3.3.1", - "resolved": "https://registry.npmmirror.com/needle/-/needle-3.3.1.tgz", - "integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==", "dev": true, "license": "MIT", "optional": true, @@ -15509,8 +11485,6 @@ }, "node_modules/negotiator": { "version": "0.6.4", - "resolved": "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.4.tgz", - "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", "dev": true, "license": "MIT", "engines": { @@ -15611,8 +11585,6 @@ }, "node_modules/nitropack/node_modules/archiver": { "version": "7.0.1", - "resolved": "https://registry.npmmirror.com/archiver/-/archiver-7.0.1.tgz", - "integrity": "sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -15630,8 +11602,6 @@ }, "node_modules/nitropack/node_modules/archiver-utils": { "version": "5.0.2", - "resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-5.0.2.tgz", - "integrity": "sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==", "dev": true, "license": "MIT", "dependencies": { @@ -15649,8 +11619,6 @@ }, "node_modules/nitropack/node_modules/buffer": { "version": "6.0.3", - "resolved": "https://registry.npmmirror.com/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "dev": true, "funding": [ { @@ -15674,8 +11642,6 @@ }, "node_modules/nitropack/node_modules/buffer-crc32": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-1.0.0.tgz", - "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==", "dev": true, "license": "MIT", "engines": { @@ -15684,8 +11650,6 @@ }, "node_modules/nitropack/node_modules/compress-commons": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-6.0.2.tgz", - "integrity": "sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==", "dev": true, "license": "MIT", "dependencies": { @@ -15701,8 +11665,6 @@ }, "node_modules/nitropack/node_modules/crc32-stream": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-6.0.0.tgz", - "integrity": "sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==", "dev": true, "license": "MIT", "dependencies": { @@ -15715,8 +11677,6 @@ }, "node_modules/nitropack/node_modules/escape-string-regexp": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, "license": "MIT", "engines": { @@ -15728,8 +11688,6 @@ }, "node_modules/nitropack/node_modules/glob": { "version": "10.4.5", - "resolved": "https://registry.npmmirror.com/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { @@ -15749,8 +11707,6 @@ }, "node_modules/nitropack/node_modules/is-stream": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "license": "MIT", "engines": { @@ -15762,8 +11718,6 @@ }, "node_modules/nitropack/node_modules/mime": { "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/mime/-/mime-4.0.6.tgz", - "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" @@ -15778,8 +11732,6 @@ }, "node_modules/nitropack/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { @@ -15794,8 +11746,6 @@ }, "node_modules/nitropack/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -15804,8 +11754,6 @@ }, "node_modules/nitropack/node_modules/readable-stream": { "version": "4.7.0", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-4.7.0.tgz", - "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", "dev": true, "license": "MIT", "dependencies": { @@ -15820,9 +11768,7 @@ } }, "node_modules/nitropack/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -15834,8 +11780,6 @@ }, "node_modules/nitropack/node_modules/tar-stream": { "version": "3.1.7", - "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", "dev": true, "license": "MIT", "dependencies": { @@ -15846,8 +11790,6 @@ }, "node_modules/nitropack/node_modules/zip-stream": { "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/zip-stream/-/zip-stream-6.0.1.tgz", - "integrity": "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==", "dev": true, "license": "MIT", "dependencies": { @@ -15860,9 +11802,7 @@ } }, "node_modules/node-abi": { - "version": "3.73.0", - "resolved": "https://registry.npmmirror.com/node-abi/-/node-abi-3.73.0.tgz", - "integrity": "sha512-z8iYzQGBu35ZkTQ9mtR8RqugJZ9RCLn8fv3d7LsgDBzOijGQP3RdKTX4LA7LXw03ZhU5z0l4xfhIMgSES31+cg==", + "version": "3.74.0", "devOptional": true, "license": "MIT", "dependencies": { @@ -15873,9 +11813,7 @@ } }, "node_modules/node-abi/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "devOptional": true, "license": "ISC", "bin": { @@ -15887,16 +11825,12 @@ }, "node_modules/node-addon-api": { "version": "1.7.2", - "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-1.7.2.tgz", - "integrity": "sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==", "dev": true, "license": "MIT", "optional": true }, "node_modules/node-api-version": { "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/node-api-version/-/node-api-version-0.2.0.tgz", - "integrity": "sha512-fthTTsi8CxaBXMaBAD7ST2uylwvsnYxh2PfaScwpMhos6KlSFajXQPcM4ogNE1q2s3Lbz9GCGqeIHC+C6OZnKg==", "dev": true, "license": "MIT", "dependencies": { @@ -15904,9 +11838,7 @@ } }, "node_modules/node-api-version/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -15918,8 +11850,6 @@ }, "node_modules/node-fetch": { "version": "2.7.0", - "resolved": "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dev": true, "license": "MIT", "dependencies": { @@ -15939,14 +11869,10 @@ }, "node_modules/node-fetch-native": { "version": "1.6.6", - "resolved": "https://registry.npmmirror.com/node-fetch-native/-/node-fetch-native-1.6.6.tgz", - "integrity": "sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ==", "license": "MIT" }, "node_modules/node-forge": { "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", "dev": true, "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { @@ -15955,8 +11881,6 @@ }, "node_modules/node-gyp": { "version": "9.4.1", - "resolved": "https://registry.npmmirror.com/node-gyp/-/node-gyp-9.4.1.tgz", - "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", "dev": true, "license": "MIT", "dependencies": { @@ -15981,8 +11905,6 @@ }, "node_modules/node-gyp-build": { "version": "4.8.4", - "resolved": "https://registry.npmmirror.com/node-gyp-build/-/node-gyp-build-4.8.4.tgz", - "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "dev": true, "license": "MIT", "bin": { @@ -15993,15 +11915,11 @@ }, "node_modules/node-gyp/node_modules/abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true, "license": "ISC" }, "node_modules/node-gyp/node_modules/nopt": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", "dev": true, "license": "ISC", "dependencies": { @@ -16015,9 +11933,7 @@ } }, "node_modules/node-gyp/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -16027,22 +11943,21 @@ "node": ">=10" } }, + "node_modules/node-mock-http": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, "node_modules/node-releases": { "version": "2.0.19", - "resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.19.tgz", - "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "license": "MIT" }, "node_modules/non-layered-tidy-tree-layout": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/non-layered-tidy-tree-layout/-/non-layered-tidy-tree-layout-2.0.2.tgz", - "integrity": "sha512-gkXMxRzUH+PB0ax9dUN0yYF0S25BqeAYqhgMaLUFmpXLEk7Fcu8f4emJuOAY0V8kjDICxROIKsTAKsV/v355xw==", "license": "MIT" }, "node_modules/nopt": { "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/nopt/-/nopt-8.1.0.tgz", - "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", "dev": true, "license": "ISC", "dependencies": { @@ -16057,8 +11972,6 @@ }, "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "license": "MIT", "engines": { @@ -16067,8 +11980,6 @@ }, "node_modules/normalize-range": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, "license": "MIT", "engines": { @@ -16077,8 +11988,6 @@ }, "node_modules/normalize-url": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/normalize-url/-/normalize-url-6.1.0.tgz", - "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", "dev": true, "license": "MIT", "engines": { @@ -16090,8 +11999,6 @@ }, "node_modules/npm-run-path": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-6.0.0.tgz", - "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", "dev": true, "license": "MIT", "dependencies": { @@ -16107,8 +12014,6 @@ }, "node_modules/npm-run-path/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, "license": "MIT", "engines": { @@ -16118,24 +12023,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm-run-path/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "deprecated": "This package is no longer supported.", "dev": true, "license": "ISC", "dependencies": { @@ -16150,8 +12039,6 @@ }, "node_modules/nth-check": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -16162,14 +12049,12 @@ } }, "node_modules/nypm": { - "version": "0.5.2", - "resolved": "https://registry.npmmirror.com/nypm/-/nypm-0.5.2.tgz", - "integrity": "sha512-AHzvnyUJYSrrphPhRWWZNcoZfArGNp3Vrc4pm/ZurO74tYNTgAPrEyBQEKy+qioqmWlPXwvMZCG2wOaHlPG0Pw==", + "version": "0.5.4", "license": "MIT", "dependencies": { "citty": "^0.1.6", "consola": "^3.4.0", - "pathe": "^2.0.2", + "pathe": "^2.0.3", "pkg-types": "^1.3.1", "tinyexec": "^0.3.2", "ufo": "^1.5.4" @@ -16182,15 +12067,11 @@ } }, "node_modules/nypm/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", "license": "MIT" }, "node_modules/object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true, "license": "MIT", "engines": { @@ -16199,31 +12080,14 @@ }, "node_modules/object-hash": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", "dev": true, "license": "MIT", "engines": { "node": ">= 6" } }, - "node_modules/object-inspect": { - "version": "1.13.3", - "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.3.tgz", - "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-is": { "version": "1.1.6", - "resolved": "https://registry.npmmirror.com/object-is/-/object-is-1.1.6.tgz", - "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -16239,39 +12103,14 @@ }, "node_modules/object-keys": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" } }, - "node_modules/object.assign": { - "version": "4.1.7", - "resolved": "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.7.tgz", - "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0", - "has-symbols": "^1.1.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/ofetch": { "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/ofetch/-/ofetch-1.4.1.tgz", - "integrity": "sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw==", "dev": true, "license": "MIT", "dependencies": { @@ -16281,15 +12120,11 @@ } }, "node_modules/ohash": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/ohash/-/ohash-1.1.4.tgz", - "integrity": "sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g==", + "version": "1.1.5", "license": "MIT" }, "node_modules/on-finished": { "version": "2.4.1", - "resolved": "https://registry.npmmirror.com/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, "license": "MIT", "dependencies": { @@ -16301,8 +12136,6 @@ }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "devOptional": true, "license": "ISC", "dependencies": { @@ -16311,8 +12144,6 @@ }, "node_modules/onetime": { "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16327,8 +12158,6 @@ }, "node_modules/open": { "version": "8.4.2", - "resolved": "https://registry.npmmirror.com/open/-/open-8.4.2.tgz", - "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16345,8 +12174,6 @@ }, "node_modules/open/node_modules/is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, "license": "MIT", "bin": { @@ -16361,8 +12188,6 @@ }, "node_modules/open/node_modules/is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, "license": "MIT", "dependencies": { @@ -16373,13 +12198,11 @@ } }, "node_modules/openapi-typescript": { - "version": "7.6.0", - "resolved": "https://registry.npmmirror.com/openapi-typescript/-/openapi-typescript-7.6.0.tgz", - "integrity": "sha512-p/xxKcWFR7aZDOAdnqYBQ1NdNyWdine+gHKHKvjxGXmlq8JT1G9+SkY8I5csKaktLHMbDDH6ZDeWQpydwBHa+Q==", + "version": "7.6.1", "dev": true, "license": "MIT", "dependencies": { - "@redocly/openapi-core": "^1.27.2", + "@redocly/openapi-core": "^1.28.0", "ansi-colors": "^4.1.3", "change-case": "^5.4.4", "parse-json": "^8.1.0", @@ -16395,8 +12218,6 @@ }, "node_modules/openapi-typescript/node_modules/supports-color": { "version": "9.4.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-9.4.0.tgz", - "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==", "dev": true, "license": "MIT", "engines": { @@ -16408,8 +12229,6 @@ }, "node_modules/opencollective-postinstall": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", "dev": true, "license": "MIT", "bin": { @@ -16418,14 +12237,10 @@ }, "node_modules/option": { "version": "0.2.4", - "resolved": "https://registry.npmmirror.com/option/-/option-0.2.4.tgz", - "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==", "license": "BSD-2-Clause" }, "node_modules/optionator": { "version": "0.8.3", - "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "license": "MIT", "dependencies": { @@ -16441,9 +12256,7 @@ } }, "node_modules/ora": { - "version": "8.1.1", - "resolved": "https://registry.npmmirror.com/ora/-/ora-8.1.1.tgz", - "integrity": "sha512-YWielGi1XzG1UTvOaCFaNgEnuhZVMSHYkW/FQ7UX8O26PtlpdM84c0f7wLPlkvx2RfiQmnzd61d/MGxmpQeJPw==", + "version": "8.2.0", "dev": true, "license": "MIT", "dependencies": { @@ -16466,8 +12279,6 @@ }, "node_modules/ora/node_modules/ansi-regex": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { @@ -16479,8 +12290,6 @@ }, "node_modules/ora/node_modules/chalk": { "version": "5.4.1", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-5.4.1.tgz", - "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", "dev": true, "license": "MIT", "engines": { @@ -16492,8 +12301,6 @@ }, "node_modules/ora/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16506,28 +12313,8 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/own-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/own-keys/-/own-keys-1.0.1.tgz", - "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.6", - "object-keys": "^1.1.1", - "safe-push-apply": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/p-cancelable": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/p-cancelable/-/p-cancelable-2.1.1.tgz", - "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==", "dev": true, "license": "MIT", "engines": { @@ -16536,8 +12323,6 @@ }, "node_modules/p-limit": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16552,8 +12337,6 @@ }, "node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16568,21 +12351,15 @@ }, "node_modules/package-json-from-dist": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "dev": true, "license": "BlueOak-1.0.0" }, "node_modules/pako": { "version": "1.0.11", - "resolved": "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, "node_modules/parse-json": { "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/parse-json/-/parse-json-8.1.0.tgz", - "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", "dev": true, "license": "MIT", "dependencies": { @@ -16599,8 +12376,6 @@ }, "node_modules/parse-ms": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/parse-ms/-/parse-ms-4.0.0.tgz", - "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", "dev": true, "license": "MIT", "engines": { @@ -16612,8 +12387,6 @@ }, "node_modules/parse-node-version": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/parse-node-version/-/parse-node-version-1.0.1.tgz", - "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true, "license": "MIT", "engines": { @@ -16622,8 +12395,6 @@ }, "node_modules/parse5": { "version": "7.2.1", - "resolved": "https://registry.npmmirror.com/parse5/-/parse5-7.2.1.tgz", - "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16635,8 +12406,6 @@ }, "node_modules/parse5-htmlparser2-tree-adapter": { "version": "7.1.0", - "resolved": "https://registry.npmmirror.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", - "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", "dev": true, "license": "MIT", "dependencies": { @@ -16649,8 +12418,6 @@ }, "node_modules/parse5-parser-stream": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", - "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", "dev": true, "license": "MIT", "dependencies": { @@ -16662,8 +12429,6 @@ }, "node_modules/parseurl": { "version": "1.3.3", - "resolved": "https://registry.npmmirror.com/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true, "license": "MIT", "engines": { @@ -16672,15 +12437,11 @@ }, "node_modules/path-browserify": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", "dev": true, "license": "MIT" }, "node_modules/path-exists": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -16688,8 +12449,6 @@ }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "license": "MIT", "engines": { "node": ">=0.10.0" @@ -16697,8 +12456,6 @@ }, "node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "license": "MIT", "engines": { "node": ">=8" @@ -16706,15 +12463,11 @@ }, "node_modules/path-parse": { "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true, "license": "MIT" }, "node_modules/path-scurry": { "version": "1.11.1", - "resolved": "https://registry.npmmirror.com/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -16730,15 +12483,11 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.4.3", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true, "license": "ISC" }, "node_modules/path-scurry/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -16747,18 +12496,14 @@ }, "node_modules/path-to-regexp": { "version": "6.3.0", - "resolved": "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-6.3.0.tgz", - "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true, "license": "MIT" }, "node_modules/path-type": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "version": "6.0.0", "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -16766,14 +12511,10 @@ }, "node_modules/pathe": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-1.1.2.tgz", - "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", "license": "MIT" }, "node_modules/pathval": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/pathval/-/pathval-2.0.0.tgz", - "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", "dev": true, "license": "MIT", "engines": { @@ -16782,8 +12523,6 @@ }, "node_modules/pdfjs-dist": { "version": "4.10.38", - "resolved": "https://registry.npmmirror.com/pdfjs-dist/-/pdfjs-dist-4.10.38.tgz", - "integrity": "sha512-/Y3fcFrXEAsMjJXeL9J8+ZG9U01LbuWaYypvDW2ycW1jL269L3js3DVBjDJ0Up9Np1uqDXsDrRihHANhZOlwdQ==", "license": "Apache-2.0", "engines": { "node": ">=20" @@ -16794,8 +12533,6 @@ }, "node_modules/pe-library": { "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/pe-library/-/pe-library-0.4.1.tgz", - "integrity": "sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==", "dev": true, "license": "MIT", "engines": { @@ -16809,27 +12546,19 @@ }, "node_modules/pend": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "dev": true, "license": "MIT" }, "node_modules/perfect-debounce": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz", - "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", "license": "MIT" }, "node_modules/picocolors": { "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "license": "MIT", "engines": { "node": ">=8.6" @@ -16840,8 +12569,6 @@ }, "node_modules/pify": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, "license": "MIT", "optional": true, @@ -16851,8 +12578,6 @@ }, "node_modules/pinia": { "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.3.1.tgz", - "integrity": "sha512-khUlZSwt9xXCaTbbxFYBKDc/bWAGWJjOgvxETwkTN7KRm66EeT1ZdZj6i2ceh9sP2Pzqsbc704r2yngBrxBVug==", "license": "MIT", "dependencies": { "@vue/devtools-api": "^6.6.3", @@ -16873,8 +12598,6 @@ }, "node_modules/pinia-plugin-persistedstate": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/pinia-plugin-persistedstate/-/pinia-plugin-persistedstate-4.2.0.tgz", - "integrity": "sha512-3buhA7ac+ssbOIx3VRCC8oHkoFwhDM9oHRCjo7nj+O8WUqnW+jRqh7eYT5eS/DNa3H28zp3dYf/nd/Vc8zj8eQ==", "license": "MIT", "dependencies": { "@nuxt/kit": "^3.14.1592", @@ -16897,14 +12620,10 @@ }, "node_modules/pinia/node_modules/@vue/devtools-api": { "version": "6.6.4", - "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", "license": "MIT" }, "node_modules/pirates": { "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true, "license": "MIT", "engines": { @@ -16913,8 +12632,6 @@ }, "node_modules/pkg-types": { "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.3.1.tgz", - "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", "license": "MIT", "dependencies": { "confbox": "^0.1.8", @@ -16923,15 +12640,11 @@ } }, "node_modules/pkg-types/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", "license": "MIT" }, "node_modules/plist": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/plist/-/plist-3.1.0.tgz", - "integrity": "sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16945,8 +12658,6 @@ }, "node_modules/pluralize": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", "dev": true, "license": "MIT", "engines": { @@ -16954,9 +12665,7 @@ } }, "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "version": "1.1.0", "dev": true, "license": "MIT", "engines": { @@ -16965,8 +12674,6 @@ }, "node_modules/postcss": { "version": "8.5.3", - "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.3.tgz", - "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "funding": [ { "type": "opencollective", @@ -16993,8 +12700,6 @@ }, "node_modules/postcss-import": { "version": "15.1.0", - "resolved": "https://registry.npmmirror.com/postcss-import/-/postcss-import-15.1.0.tgz", - "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", "dev": true, "license": "MIT", "dependencies": { @@ -17011,8 +12716,6 @@ }, "node_modules/postcss-js": { "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/postcss-js/-/postcss-js-4.0.1.tgz", - "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", "dev": true, "license": "MIT", "dependencies": { @@ -17031,8 +12734,6 @@ }, "node_modules/postcss-less": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/postcss-less/-/postcss-less-6.0.0.tgz", - "integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==", "dev": true, "license": "MIT", "engines": { @@ -17044,8 +12745,6 @@ }, "node_modules/postcss-load-config": { "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-6.0.1.tgz", - "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==", "dev": true, "funding": [ { @@ -17087,8 +12786,6 @@ }, "node_modules/postcss-nested": { "version": "6.2.0", - "resolved": "https://registry.npmmirror.com/postcss-nested/-/postcss-nested-6.2.0.tgz", - "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", "dev": true, "funding": [ { @@ -17113,8 +12810,6 @@ }, "node_modules/postcss-selector-parser": { "version": "6.1.2", - "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "dev": true, "license": "MIT", "dependencies": { @@ -17127,8 +12822,6 @@ }, "node_modules/postcss-value-parser": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true, "license": "MIT" }, @@ -17184,8 +12877,6 @@ }, "node_modules/prelude-ls": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", "dev": true, "engines": { "node": ">= 0.8.0" @@ -17193,8 +12884,6 @@ }, "node_modules/pretty-bytes": { "version": "6.1.1", - "resolved": "https://registry.npmmirror.com/pretty-bytes/-/pretty-bytes-6.1.1.tgz", - "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==", "dev": true, "license": "MIT", "engines": { @@ -17206,8 +12895,6 @@ }, "node_modules/pretty-ms": { "version": "9.2.0", - "resolved": "https://registry.npmmirror.com/pretty-ms/-/pretty-ms-9.2.0.tgz", - "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", "dev": true, "license": "MIT", "dependencies": { @@ -17222,15 +12909,11 @@ }, "node_modules/printable-characters": { "version": "1.0.42", - "resolved": "https://registry.npmmirror.com/printable-characters/-/printable-characters-1.0.42.tgz", - "integrity": "sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==", "dev": true, "license": "Unlicense" }, "node_modules/prismjs": { "version": "1.29.0", - "resolved": "https://registry.npmmirror.com/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", "license": "MIT", "engines": { "node": ">=6" @@ -17238,8 +12921,6 @@ }, "node_modules/process": { "version": "0.11.10", - "resolved": "https://registry.npmmirror.com/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "dev": true, "license": "MIT", "engines": { @@ -17248,14 +12929,10 @@ }, "node_modules/process-nextick-args": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true, "license": "MIT", "engines": { @@ -17264,15 +12941,11 @@ }, "node_modules/promise-inflight": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "dev": true, "license": "ISC" }, "node_modules/promise-retry": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "dev": true, "license": "MIT", "dependencies": { @@ -17285,8 +12958,6 @@ }, "node_modules/protobufjs": { "version": "7.4.0", - "resolved": "https://registry.npmmirror.com/protobufjs/-/protobufjs-7.4.0.tgz", - "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { @@ -17309,8 +12980,6 @@ }, "node_modules/protobufjs-cli": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/protobufjs-cli/-/protobufjs-cli-1.1.3.tgz", - "integrity": "sha512-MqD10lqF+FMsOayFiNOdOGNlXc4iKDCf0ZQPkPR+gizYh9gqUeGTWulABUCdI+N67w5RfJ6xhgX4J8pa8qmMXQ==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -17338,9 +13007,6 @@ }, "node_modules/protobufjs-cli/node_modules/glob": { "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "license": "ISC", "dependencies": { @@ -17359,8 +13025,6 @@ }, "node_modules/protobufjs-cli/node_modules/minimatch": { "version": "5.1.6", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "license": "ISC", "dependencies": { @@ -17371,9 +13035,7 @@ } }, "node_modules/protobufjs-cli/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -17385,16 +13047,12 @@ }, "node_modules/prr": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/prr/-/prr-1.0.1.tgz", - "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dev": true, "license": "MIT", "optional": true }, "node_modules/pump": { "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/pump/-/pump-3.0.2.tgz", - "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "devOptional": true, "license": "MIT", "dependencies": { @@ -17404,8 +13062,6 @@ }, "node_modules/punycode": { "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "license": "MIT", "engines": { @@ -17414,8 +13070,6 @@ }, "node_modules/punycode.js": { "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/punycode.js/-/punycode.js-2.3.1.tgz", - "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "license": "MIT", "engines": { "node": ">=6" @@ -17423,8 +13077,6 @@ }, "node_modules/pupa": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/pupa/-/pupa-3.1.0.tgz", - "integrity": "sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==", "license": "MIT", "dependencies": { "escape-goat": "^4.0.0" @@ -17436,10 +13088,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/quansync": { + "version": "0.2.6", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/antfu" + }, + { + "type": "individual", + "url": "https://github.com/sponsors/sxzz" + } + ], + "license": "MIT" + }, "node_modules/queue-microtask": { "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "funding": [ { "type": "github", @@ -17458,8 +13122,6 @@ }, "node_modules/quick-lru": { "version": "5.1.1", - "resolved": "https://registry.npmmirror.com/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", "dev": true, "license": "MIT", "engines": { @@ -17471,15 +13133,11 @@ }, "node_modules/radix3": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/radix3/-/radix3-1.1.2.tgz", - "integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==", "dev": true, "license": "MIT" }, "node_modules/randombytes": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "license": "MIT", "dependencies": { @@ -17488,8 +13146,6 @@ }, "node_modules/range-parser": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", "dev": true, "license": "MIT", "engines": { @@ -17526,8 +13182,6 @@ }, "node_modules/rc9": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/rc9/-/rc9-2.1.2.tgz", - "integrity": "sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg==", "license": "MIT", "dependencies": { "defu": "^6.1.4", @@ -17536,8 +13190,6 @@ }, "node_modules/read-binary-file-arch": { "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/read-binary-file-arch/-/read-binary-file-arch-1.0.6.tgz", - "integrity": "sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==", "dev": true, "license": "MIT", "dependencies": { @@ -17549,8 +13201,6 @@ }, "node_modules/read-cache": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", "dev": true, "license": "MIT", "dependencies": { @@ -17559,8 +13209,6 @@ }, "node_modules/read-cache/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, "license": "MIT", "engines": { @@ -17569,8 +13217,6 @@ }, "node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "devOptional": true, "license": "MIT", "dependencies": { @@ -17584,217 +13230,74 @@ }, "node_modules/readdir-glob": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/readdir-glob/-/readdir-glob-1.1.3.tgz", - "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==", "dev": true, "license": "Apache-2.0", "dependencies": { "minimatch": "^5.1.0" - } - }, - "node_modules/readdir-glob/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmmirror.com/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", - "dev": true, - "dependencies": { - "resolve": "^1.1.6" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "dev": true, - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmmirror.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/reflect.getprototypeof": { - "version": "1.0.10", - "resolved": "https://registry.npmmirror.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", - "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.9", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.1", - "which-builtin-type": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmmirror.com/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true, - "license": "MIT" + } }, - "node_modules/regenerate-unicode-properties": { - "version": "10.2.0", - "resolved": "https://registry.npmmirror.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", - "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", + "node_modules/readdir-glob/node_modules/minimatch": { + "version": "5.1.6", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "regenerate": "^1.4.2" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">=10" } }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "license": "MIT" - }, - "node_modules/regenerator-transform": { - "version": "0.15.2", - "resolved": "https://registry.npmmirror.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz", - "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", + "node_modules/readdirp": { + "version": "3.6.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.8.4" + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" } }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.4", - "resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", - "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", + "node_modules/rechoir": { + "version": "0.6.2", "dev": true, - "license": "MIT", "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "set-function-name": "^2.0.2" + "resolve": "^1.1.6" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 0.10" } }, - "node_modules/regexpu-core": { - "version": "6.2.0", - "resolved": "https://registry.npmmirror.com/regexpu-core/-/regexpu-core-6.2.0.tgz", - "integrity": "sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==", + "node_modules/redis-errors": { + "version": "1.2.0", "dev": true, "license": "MIT", - "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.0", - "regjsgen": "^0.8.0", - "regjsparser": "^0.12.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" - }, "engines": { "node": ">=4" } }, - "node_modules/regjsgen": { - "version": "0.8.0", - "resolved": "https://registry.npmmirror.com/regjsgen/-/regjsgen-0.8.0.tgz", - "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/regjsparser": { - "version": "0.12.0", - "resolved": "https://registry.npmmirror.com/regjsparser/-/regjsparser-0.12.0.tgz", - "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", + "node_modules/redis-parser": { + "version": "3.0.0", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "jsesc": "~3.0.2" + "redis-errors": "^1.0.0" }, - "bin": { - "regjsparser": "bin/parser" + "engines": { + "node": ">=4" } }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "node_modules/reflect-metadata": { + "version": "0.1.13", "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } + "license": "Apache-2.0" + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "license": "MIT" }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "license": "MIT", "engines": { "node": ">=0.10.0" @@ -17802,8 +13305,6 @@ }, "node_modules/require-from-string": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, "license": "MIT", "engines": { @@ -17812,8 +13313,6 @@ }, "node_modules/requizzle": { "version": "0.2.4", - "resolved": "https://registry.npmmirror.com/requizzle/-/requizzle-0.2.4.tgz", - "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", "dev": true, "license": "MIT", "dependencies": { @@ -17822,8 +13321,6 @@ }, "node_modules/resedit": { "version": "1.7.2", - "resolved": "https://registry.npmmirror.com/resedit/-/resedit-1.7.2.tgz", - "integrity": "sha512-vHjcY2MlAITJhC0eRD/Vv8Vlgmu9Sd3LX9zZvtGzU5ZImdTN3+d6e/4mnTyV8vEbyf1sgNIrWxhWlrys52OkEA==", "dev": true, "license": "MIT", "dependencies": { @@ -17840,8 +13337,6 @@ }, "node_modules/resolve": { "version": "1.22.10", - "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.10.tgz", - "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "license": "MIT", "dependencies": { @@ -17861,15 +13356,11 @@ }, "node_modules/resolve-alpn": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz", - "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", "dev": true, "license": "MIT" }, "node_modules/resolve-from": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, "license": "MIT", "engines": { @@ -17878,8 +13369,6 @@ }, "node_modules/responselike": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/responselike/-/responselike-2.0.1.tgz", - "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==", "dev": true, "license": "MIT", "dependencies": { @@ -17891,8 +13380,6 @@ }, "node_modules/restore-cursor": { "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", "dev": true, "license": "MIT", "dependencies": { @@ -17908,8 +13395,6 @@ }, "node_modules/retry": { "version": "0.12.0", - "resolved": "https://registry.npmmirror.com/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "dev": true, "license": "MIT", "engines": { @@ -17917,9 +13402,7 @@ } }, "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "version": "1.1.0", "license": "MIT", "engines": { "iojs": ">=1.0.0", @@ -17928,16 +13411,11 @@ }, "node_modules/rfdc": { "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz", - "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", "dev": true, "license": "MIT" }, "node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "license": "ISC", "dependencies": { @@ -17952,8 +13430,6 @@ }, "node_modules/roarr": { "version": "2.15.4", - "resolved": "https://registry.npmmirror.com/roarr/-/roarr-2.15.4.tgz", - "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", "dev": true, "license": "BSD-3-Clause", "optional": true, @@ -17971,164 +13447,406 @@ }, "node_modules/robust-predicates": { "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz", - "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==", "license": "Unlicense" }, - "node_modules/rollup": { - "version": "4.32.1", - "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.32.1.tgz", - "integrity": "sha512-z+aeEsOeEa3mEbS1Tjl6sAZ8NE3+AalQz1RJGj81M+fizusbdDMoEJwdJNHfaB40Scr4qNu+welOfes7maKonA==", - "devOptional": true, + "node_modules/rollup": { + "version": "4.34.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.34.9", + "@rollup/rollup-android-arm64": "4.34.9", + "@rollup/rollup-darwin-arm64": "4.34.9", + "@rollup/rollup-darwin-x64": "4.34.9", + "@rollup/rollup-freebsd-arm64": "4.34.9", + "@rollup/rollup-freebsd-x64": "4.34.9", + "@rollup/rollup-linux-arm-gnueabihf": "4.34.9", + "@rollup/rollup-linux-arm-musleabihf": "4.34.9", + "@rollup/rollup-linux-arm64-gnu": "4.34.9", + "@rollup/rollup-linux-arm64-musl": "4.34.9", + "@rollup/rollup-linux-loongarch64-gnu": "4.34.9", + "@rollup/rollup-linux-powerpc64le-gnu": "4.34.9", + "@rollup/rollup-linux-riscv64-gnu": "4.34.9", + "@rollup/rollup-linux-s390x-gnu": "4.34.9", + "@rollup/rollup-linux-x64-gnu": "4.34.9", + "@rollup/rollup-linux-x64-musl": "4.34.9", + "@rollup/rollup-win32-arm64-msvc": "4.34.9", + "@rollup/rollup-win32-ia32-msvc": "4.34.9", + "@rollup/rollup-win32-x64-msvc": "4.34.9", + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-inject": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "estree-walker": "^0.6.1", + "magic-string": "^0.25.3", + "rollup-pluginutils": "^2.8.1" + } + }, + "node_modules/rollup-plugin-inject/node_modules/estree-walker": { + "version": "0.6.1", + "dev": true, + "license": "MIT" + }, + "node_modules/rollup-plugin-inject/node_modules/magic-string": { + "version": "0.25.9", + "dev": true, + "license": "MIT", + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/rollup-plugin-node-polyfills": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "rollup-plugin-inject": "^3.0.0" + } + }, + "node_modules/rollup-plugin-visualizer": { + "version": "5.14.0", + "dev": true, + "license": "MIT", + "dependencies": { + "open": "^8.4.0", + "picomatch": "^4.0.2", + "source-map": "^0.7.4", + "yargs": "^17.5.1" + }, + "bin": { + "rollup-plugin-visualizer": "dist/bin/cli.js" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "rolldown": "1.x", + "rollup": "2.x || 3.x || 4.x" + }, + "peerDependenciesMeta": { + "rolldown": { + "optional": true + }, + "rollup": { + "optional": true + } + } + }, + "node_modules/rollup-plugin-visualizer/node_modules/picomatch": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/rollup-plugin-visualizer/node_modules/source-map": { + "version": "0.7.4", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "dev": true, + "license": "MIT" + }, + "node_modules/rollup/node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.9.tgz", + "integrity": "sha512-qZdlImWXur0CFakn2BJ2znJOdqYZKiedEPEVNTBrpfPjc/YuTGcaYZcdmNFTkUj3DU0ZM/AElcM8Ybww3xVLzA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-android-arm64": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.9.tgz", + "integrity": "sha512-4KW7P53h6HtJf5Y608T1ISKvNIYLWRKMvfnG0c44M6In4DQVU58HZFEVhWINDZKp7FZps98G3gxwC1sb0wXUUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.9.tgz", + "integrity": "sha512-0CY3/K54slrzLDjOA7TOjN1NuLKERBgk9nY5V34mhmuu673YNb+7ghaDUs6N0ujXR7fz5XaS5Aa6d2TNxZd0OQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-darwin-x64": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.9.tgz", + "integrity": "sha512-eOojSEAi/acnsJVYRxnMkPFqcxSMFfrw7r2iD9Q32SGkb/Q9FpUY1UlAu1DH9T7j++gZ0lHjnm4OyH2vCI7l7Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.9.tgz", + "integrity": "sha512-2lzjQPJbN5UnHm7bHIUKFMulGTQwdvOkouJDpPysJS+QFBGDJqcfh+CxxtG23Ik/9tEvnebQiylYoazFMAgrYw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.9.tgz", + "integrity": "sha512-SLl0hi2Ah2H7xQYd6Qaiu01kFPzQ+hqvdYSoOtHYg/zCIFs6t8sV95kaoqjzjFwuYQLtOI0RZre/Ke0nPaQV+g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.9.tgz", + "integrity": "sha512-88I+D3TeKItrw+Y/2ud4Tw0+3CxQ2kLgu3QvrogZ0OfkmX/DEppehus7L3TS2Q4lpB+hYyxhkQiYPJ6Mf5/dPg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.9.tgz", + "integrity": "sha512-3qyfWljSFHi9zH0KgtEPG4cBXHDFhwD8kwg6xLfHQ0IWuH9crp005GfoUUh/6w9/FWGBwEHg3lxK1iHRN1MFlA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.9.tgz", + "integrity": "sha512-6TZjPHjKZUQKmVKMUowF3ewHxctrRR09eYyvT5eFv8w/fXarEra83A2mHTVJLA5xU91aCNOUnM+DWFMSbQ0Nxw==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "@types/estree": "1.0.6" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.32.1", - "@rollup/rollup-android-arm64": "4.32.1", - "@rollup/rollup-darwin-arm64": "4.32.1", - "@rollup/rollup-darwin-x64": "4.32.1", - "@rollup/rollup-freebsd-arm64": "4.32.1", - "@rollup/rollup-freebsd-x64": "4.32.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.32.1", - "@rollup/rollup-linux-arm-musleabihf": "4.32.1", - "@rollup/rollup-linux-arm64-gnu": "4.32.1", - "@rollup/rollup-linux-arm64-musl": "4.32.1", - "@rollup/rollup-linux-loongarch64-gnu": "4.32.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.32.1", - "@rollup/rollup-linux-riscv64-gnu": "4.32.1", - "@rollup/rollup-linux-s390x-gnu": "4.32.1", - "@rollup/rollup-linux-x64-gnu": "4.32.1", - "@rollup/rollup-linux-x64-musl": "4.32.1", - "@rollup/rollup-win32-arm64-msvc": "4.32.1", - "@rollup/rollup-win32-ia32-msvc": "4.32.1", - "@rollup/rollup-win32-x64-msvc": "4.32.1", - "fsevents": "~2.3.2" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-inject": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz", - "integrity": "sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==", - "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.", + "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.9.tgz", + "integrity": "sha512-LD2fytxZJZ6xzOKnMbIpgzFOuIKlxVOpiMAXawsAZ2mHBPEYOnLRK5TTEsID6z4eM23DuO88X0Tq1mErHMVq0A==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "estree-walker": "^0.6.1", - "magic-string": "^0.25.3", - "rollup-pluginutils": "^2.8.1" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-inject/node_modules/estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.9.tgz", + "integrity": "sha512-dRAgTfDsn0TE0HI6cmo13hemKpVHOEyeciGtvlBTkpx/F65kTvShtY/EVyZEIfxFkV5JJTuQ9tP5HGBS0hfxIg==", + "cpu": [ + "loong64" + ], "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-inject/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.9.tgz", + "integrity": "sha512-PHcNOAEhkoMSQtMf+rJofwisZqaU8iQ8EaSps58f5HYll9EAY5BSErCZ8qBDMVbq88h4UxaNPlbrKqfWP8RfJA==", + "cpu": [ + "ppc64" + ], "dev": true, "license": "MIT", - "dependencies": { - "sourcemap-codec": "^1.4.8" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-node-polyfills": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz", - "integrity": "sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.9.tgz", + "integrity": "sha512-Z2i0Uy5G96KBYKjeQFKbbsB54xFOL5/y1P5wNBsbXB8yE+At3oh0DVMjQVzCJRJSfReiB2tX8T6HUFZ2k8iaKg==", + "cpu": [ + "riscv64" + ], "dev": true, "license": "MIT", - "dependencies": { - "rollup-plugin-inject": "^3.0.0" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-visualizer": { - "version": "5.14.0", - "resolved": "https://registry.npmmirror.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", - "integrity": "sha512-VlDXneTDaKsHIw8yzJAFWtrzguoJ/LnQ+lMpoVfYJ3jJF4Ihe5oYLAqLklIK/35lgUY+1yEzCkHyZ1j4A5w5fA==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.9.tgz", + "integrity": "sha512-U+5SwTMoeYXoDzJX5dhDTxRltSrIax8KWwfaaYcynuJw8mT33W7oOgz0a+AaXtGuvhzTr2tVKh5UO8GVANTxyQ==", + "cpu": [ + "s390x" + ], "dev": true, "license": "MIT", - "dependencies": { - "open": "^8.4.0", - "picomatch": "^4.0.2", - "source-map": "^0.7.4", - "yargs": "^17.5.1" - }, - "bin": { - "rollup-plugin-visualizer": "dist/bin/cli.js" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "rolldown": "1.x", - "rollup": "2.x || 3.x || 4.x" - }, - "peerDependenciesMeta": { - "rolldown": { - "optional": true - }, - "rollup": { - "optional": true - } - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-visualizer/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.9.tgz", + "integrity": "sha512-FwBHNSOjUTQLP4MG7y6rR6qbGw4MFeQnIBrMe161QGaQoBQLqSUEKlHIiVgF3g/mb3lxlxzJOpIBhaP+C+KP2A==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-plugin-visualizer/node_modules/source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.9.tgz", + "integrity": "sha512-cYRpV4650z2I3/s6+5/LONkjIz8MBeqrk+vPXV10ORBnshpn8S32bPqQ2Utv39jCiDcO2eJTuSlPXpnvmaIgRA==", + "cpu": [ + "x64" + ], "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 8" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmmirror.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "node_modules/rollup/node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.9.tgz", + "integrity": "sha512-z4mQK9dAN6byRA/vsSgQiPeuO63wdiDxZ9yg9iyX2QTzKuQM7T4xlBoeUP/J8uiFkqxkcWndWi+W7bXdPbt27Q==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "estree-walker": "^0.6.1" - } + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/rollup-pluginutils/node_modules/estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "node_modules/rollup/node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.34.9", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.9.tgz", + "integrity": "sha512-KB48mPtaoHy1AwDNkAJfHXvHp24H0ryZog28spEs0V48l3H1fr4i37tiyHsgKZJnCmvxsbATdZGBpbmxTE3a9w==", + "cpu": [ + "ia32" + ], "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/rollup/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } }, "node_modules/run-parallel": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "funding": [ { "type": "github", @@ -18150,44 +13868,18 @@ }, "node_modules/rw": { "version": "1.3.3", - "resolved": "https://registry.npmmirror.com/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", "license": "BSD-3-Clause" }, "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, - "node_modules/safe-array-concat": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/safe-array-concat/-/safe-array-concat-1.1.3.tgz", - "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "get-intrinsic": "^1.2.6", - "has-symbols": "^1.1.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "devOptional": true, "funding": [ { @@ -18205,27 +13897,8 @@ ], "license": "MIT" }, - "node_modules/safe-push-apply": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/safe-push-apply/-/safe-push-apply-1.0.0.tgz", - "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/safe-regex-test": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.1.0.tgz", - "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", "dev": true, "license": "MIT", "dependencies": { @@ -18242,14 +13915,10 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, "node_modules/sanitize-filename": { "version": "1.6.3", - "resolved": "https://registry.npmmirror.com/sanitize-filename/-/sanitize-filename-1.6.3.tgz", - "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==", "dev": true, "license": "WTFPL OR ISC", "dependencies": { @@ -18258,8 +13927,6 @@ }, "node_modules/sass-embedded": { "version": "1.85.1", - "resolved": "https://registry.npmmirror.com/sass-embedded/-/sass-embedded-1.85.1.tgz", - "integrity": "sha512-0i+3h2Df/c71afluxC1SXqyyMmJlnKWfu9ZGdzwuKRM1OftEa2XM2myt5tR36CF3PanYrMjFKtRIj8PfSf838w==", "dev": true, "license": "MIT", "dependencies": { @@ -18301,7 +13968,22 @@ "sass-embedded-win32-x64": "1.85.1" } }, - "node_modules/sass-embedded-android-arm": { + "node_modules/sass-embedded-win32-x64": { + "version": "1.85.1", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded/node_modules/sass-embedded-android-arm": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm/-/sass-embedded-android-arm-1.85.1.tgz", "integrity": "sha512-GkcgUGMZtEF9gheuE1dxCU0ZSAifuaFXi/aX7ZXvjtdwmTl9Zc/OHR9oiUJkc8IW9UI7H8TuwlTAA8+SwgwIeQ==", @@ -18318,7 +14000,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-android-arm64": { + "node_modules/sass-embedded/node_modules/sass-embedded-android-arm64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz", "integrity": "sha512-27oRheqNA3SJM2hAxpVbs7mCKUwKPWmEEhyiNFpBINb5ELVLg+Ck5RsGg+SJmo130ul5YX0vinmVB5uPWc8X5w==", @@ -18335,7 +14017,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-android-ia32": { + "node_modules/sass-embedded/node_modules/sass-embedded-android-ia32": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.85.1.tgz", "integrity": "sha512-f3x16NyRgtXFksIaO/xXKrUhttUBv8V0XsAR2Dhdb/yz4yrDrhzw9Wh8fmw7PlQqECcQvFaoDr3XIIM6lKzasw==", @@ -18352,7 +14034,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-android-riscv64": { + "node_modules/sass-embedded/node_modules/sass-embedded-android-riscv64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz", "integrity": "sha512-IP6OijpJ8Mqo7XqCe0LsuZVbAxEFVboa0kXqqR5K55LebEplsTIA2GnmRyMay3Yr/2FVGsZbCb6Wlgkw23eCiA==", @@ -18369,7 +14051,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-android-x64": { + "node_modules/sass-embedded/node_modules/sass-embedded-android-x64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-android-x64/-/sass-embedded-android-x64-1.85.1.tgz", "integrity": "sha512-Mh7CA53wR3ADvXAYipFc/R3vV4PVOzoKwWzPxmq+7i8UZrtsVjKONxGtqWe9JG1mna0C9CRZAx0sv/BzbOJxWg==", @@ -18386,7 +14068,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-darwin-arm64": { + "node_modules/sass-embedded/node_modules/sass-embedded-darwin-arm64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.85.1.tgz", "integrity": "sha512-msWxzhvcP9hqGVegxVePVEfv9mVNTlUgGr6k7O7Ihji702mbtrH/lKwF4aRkkt4g1j7tv10+JtQXmTNi/pi9kA==", @@ -18403,7 +14085,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-darwin-x64": { + "node_modules/sass-embedded/node_modules/sass-embedded-darwin-x64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz", "integrity": "sha512-J4UFHUiyI9Z+mwYMwz11Ky9TYr3hY1fCxeQddjNGL/+ovldtb0yAIHvoVM0BGprQDm5JqhtUk8KyJ3RMJqpaAA==", @@ -18420,7 +14102,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-arm": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-arm": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz", "integrity": "sha512-X0fDh95nNSw1wfRlnkE4oscoEA5Au4nnk785s9jghPFkTBg+A+5uB6trCjf0fM22+Iw6kiP4YYmDdw3BqxAKLQ==", @@ -18437,7 +14119,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-arm64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-arm64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.85.1.tgz", "integrity": "sha512-jGadetB03BMFG2rq3OXub/uvC/lGpbQOiLGEz3NLb2nRZWyauRhzDtvZqkr6BEhxgIWtMtz2020yD8ZJSw/r2w==", @@ -18454,7 +14136,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-ia32": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-ia32": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.85.1.tgz", "integrity": "sha512-7HlYY90d9mitDtNi5s+S+5wYZrTVbkBH2/kf7ixrzh2BFfT0YM81UHLJRnGX93y9aOMBL6DSZAIfkt1RsV9bkQ==", @@ -18471,7 +14153,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-musl-arm": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-musl-arm": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.85.1.tgz", "integrity": "sha512-5vcdEqE8QZnu6i6shZo7x2N36V7YUoFotWj2rGekII5ty7Nkaj+VtZhUEOp9tAzEOlaFuDp5CyO1kUCvweT64A==", @@ -18488,7 +14170,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-musl-arm64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-musl-arm64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.85.1.tgz", "integrity": "sha512-FLkIT0p18XOkR6wryJ13LqGBDsrYev2dRk9dtiU18NCpNXruKsdBQ1ZnWHVKB3h1dA9lFyEEisC0sooKdNfeOQ==", @@ -18505,7 +14187,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-musl-ia32": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-musl-ia32": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz", "integrity": "sha512-N1093T84zQJor1yyIAdYScB5eAuQarGK1tKgZ4uTnxVlgA7Xi1lXV8Eh7ox9sDqKCaWkVQ3MjqU26vYRBeRWyw==", @@ -18522,7 +14204,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-musl-riscv64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-musl-riscv64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz", "integrity": "sha512-WRsZS/7qlfYXsa93FBpSruieuURIu7ySfFhzYfF1IbKrNAGwmbduutkHZh2ddm5/vQMvQ0Rdosgv+CslaQHMcw==", @@ -18539,7 +14221,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-musl-x64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-musl-x64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.85.1.tgz", "integrity": "sha512-+OlLIilA5TnP0YEqTQ8yZtkW+bJIQYvzoGoNLUEskeyeGuOiIyn2CwL6G4JQB4xZQFaxPHb7JD3EueFkQbH0Pw==", @@ -18556,7 +14238,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-riscv64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-riscv64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.85.1.tgz", "integrity": "sha512-mKKlOwMGLN7yP1p0gB5yG/HX4fYLnpWaqstNuOOXH+fOzTaNg0+1hALg0H0CDIqypPO74M5MS9T6FAJZGdT6dQ==", @@ -18573,7 +14255,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-linux-x64": { + "node_modules/sass-embedded/node_modules/sass-embedded-linux-x64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.85.1.tgz", "integrity": "sha512-uKRTv0z8NgtHV7xSren78+yoWB79sNi7TMqI7Bxd8fcRNIgHQSA8QBdF8led2ETC004hr8h71BrY60RPO+SSvA==", @@ -18590,7 +14272,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-win32-arm64": { + "node_modules/sass-embedded/node_modules/sass-embedded-win32-arm64": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.85.1.tgz", "integrity": "sha512-/GMiZXBOc6AEMBC3g25Rp+x8fq9Z6Ql7037l5rajBPhZ+DdFwtdHY0Ou3oIU6XuWUwD06U3ii4XufXVFhsP6PA==", @@ -18607,7 +14289,7 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-win32-ia32": { + "node_modules/sass-embedded/node_modules/sass-embedded-win32-ia32": { "version": "1.85.1", "resolved": "https://registry.npmmirror.com/sass-embedded-win32-ia32/-/sass-embedded-win32-ia32-1.85.1.tgz", "integrity": "sha512-L+4BWkKKBGFOKVQ2PQ5HwFfkM5FvTf1Xx2VSRvEWt9HxPXp6SPDho6zC8fqNQ3hSjoaoASEIJcSvgfdQYO0gdg==", @@ -18624,40 +14306,17 @@ "node": ">=14.0.0" } }, - "node_modules/sass-embedded-win32-x64": { - "version": "1.85.1", - "resolved": "https://registry.npmmirror.com/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.85.1.tgz", - "integrity": "sha512-/FO0AGKWxVfCk4GKsC0yXWBpUZdySe3YAAbQQL0lL6xUd1OiUY8Kow6g4Kc1TB/+z0iuQKKTqI/acJMEYl4iTQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/sax": { "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", "dev": true, "license": "ISC" }, "node_modules/scule": { "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/scule/-/scule-1.3.0.tgz", - "integrity": "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==", "license": "MIT" }, "node_modules/section-matter": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/section-matter/-/section-matter-1.0.0.tgz", - "integrity": "sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==", "dev": true, "license": "MIT", "dependencies": { @@ -18670,8 +14329,6 @@ }, "node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -18679,16 +14336,12 @@ }, "node_modules/semver-compare": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", "dev": true, "license": "MIT", "optional": true }, "node_modules/send": { "version": "0.19.0", - "resolved": "https://registry.npmmirror.com/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dev": true, "license": "MIT", "dependencies": { @@ -18712,8 +14365,6 @@ }, "node_modules/send/node_modules/debug": { "version": "2.6.9", - "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "license": "MIT", "dependencies": { @@ -18722,15 +14373,11 @@ }, "node_modules/send/node_modules/debug/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true, "license": "MIT" }, "node_modules/send/node_modules/encodeurl": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true, "license": "MIT", "engines": { @@ -18739,8 +14386,6 @@ }, "node_modules/send/node_modules/mime": { "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, "license": "MIT", "bin": { @@ -18752,8 +14397,6 @@ }, "node_modules/serialize-error": { "version": "7.0.1", - "resolved": "https://registry.npmmirror.com/serialize-error/-/serialize-error-7.0.1.tgz", - "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==", "dev": true, "license": "MIT", "optional": true, @@ -18769,8 +14412,6 @@ }, "node_modules/serialize-error/node_modules/type-fest": { "version": "0.13.1", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", "dev": true, "license": "(MIT OR CC0-1.0)", "optional": true, @@ -18783,8 +14424,6 @@ }, "node_modules/serialize-javascript": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -18793,8 +14432,6 @@ }, "node_modules/serve-placeholder": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/serve-placeholder/-/serve-placeholder-2.0.2.tgz", - "integrity": "sha512-/TMG8SboeiQbZJWRlfTCqMs2DD3SZgWp0kDQePz9yUuCnDfDh/92gf7/PxGhzXTKBIPASIHxFcZndoNbp6QOLQ==", "dev": true, "license": "MIT", "dependencies": { @@ -18803,8 +14440,6 @@ }, "node_modules/serve-static": { "version": "1.16.2", - "resolved": "https://registry.npmmirror.com/serve-static/-/serve-static-1.16.2.tgz", - "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dev": true, "license": "MIT", "dependencies": { @@ -18819,55 +14454,20 @@ }, "node_modules/set-blocking": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true, "license": "ISC" }, "node_modules/set-function-length": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dev": true, "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-proto": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/set-proto/-/set-proto-1.0.0.tgz", - "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0" + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -18875,14 +14475,10 @@ }, "node_modules/setimmediate": { "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", "license": "MIT" }, "node_modules/setprototypeof": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "dev": true, "license": "ISC" }, @@ -18913,16 +14509,12 @@ }, "node_modules/sharp/node_modules/node-addon-api": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-6.1.0.tgz", - "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", "license": "MIT", "optional": true, "peer": true }, "node_modules/sharp/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "license": "ISC", "optional": true, "peer": true, @@ -18935,8 +14527,6 @@ }, "node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" @@ -18947,8 +14537,6 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "license": "MIT", "engines": { "node": ">=8" @@ -18956,8 +14544,6 @@ }, "node_modules/shell-quote": { "version": "1.8.2", - "resolved": "https://registry.npmmirror.com/shell-quote/-/shell-quote-1.8.2.tgz", - "integrity": "sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==", "dev": true, "license": "MIT", "engines": { @@ -18969,8 +14555,6 @@ }, "node_modules/shelljs": { "version": "0.8.5", - "resolved": "https://registry.npmmirror.com/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -18987,8 +14571,6 @@ }, "node_modules/shx": { "version": "0.3.4", - "resolved": "https://registry.npmmirror.com/shx/-/shx-0.3.4.tgz", - "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", "dev": true, "license": "MIT", "dependencies": { @@ -19002,93 +14584,13 @@ "node": ">=6" } }, - "node_modules/side-channel": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.1.0.tgz", - "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3", - "side-channel-list": "^1.0.0", - "side-channel-map": "^1.0.1", - "side-channel-weakmap": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-list": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/side-channel-list/-/side-channel-list-1.0.0.tgz", - "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-map": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/side-channel-map/-/side-channel-map-1.0.1.tgz", - "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-weakmap": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", - "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3", - "side-channel-map": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/siginfo": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/siginfo/-/siginfo-2.0.0.tgz", - "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", "dev": true, "license": "ISC" }, "node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "license": "ISC", "engines": { @@ -19149,18 +14651,14 @@ }, "node_modules/simple-swizzle": { "version": "0.2.2", - "resolved": "https://registry.npmmirror.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", - "devOptional": true, "license": "MIT", + "optional": true, "dependencies": { "is-arrayish": "^0.3.1" } }, "node_modules/simple-update-notifier": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", - "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", "dev": true, "license": "MIT", "dependencies": { @@ -19171,9 +14669,7 @@ } }, "node_modules/simple-update-notifier/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", "dev": true, "license": "ISC", "bin": { @@ -19185,8 +14681,6 @@ }, "node_modules/sitemap": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/sitemap/-/sitemap-8.0.0.tgz", - "integrity": "sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==", "dev": true, "license": "MIT", "dependencies": { @@ -19205,15 +14699,11 @@ }, "node_modules/sitemap/node_modules/@types/node": { "version": "17.0.45", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-17.0.45.tgz", - "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true, "license": "MIT" }, "node_modules/slash": { "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", "license": "MIT", "engines": { "node": ">=14.16" @@ -19224,8 +14714,6 @@ }, "node_modules/slice-ansi": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", @@ -19240,8 +14728,6 @@ }, "node_modules/slice-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "license": "MIT", "engines": { "node": ">=12" @@ -19252,8 +14738,6 @@ }, "node_modules/smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, "license": "MIT", "engines": { @@ -19263,15 +14747,11 @@ }, "node_modules/smob": { "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/smob/-/smob-1.5.0.tgz", - "integrity": "sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==", "dev": true, "license": "MIT" }, "node_modules/socks": { - "version": "2.8.3", - "resolved": "https://registry.npmmirror.com/socks/-/socks-2.8.3.tgz", - "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "version": "2.8.4", "dev": true, "license": "MIT", "dependencies": { @@ -19285,8 +14765,6 @@ }, "node_modules/socks-proxy-agent": { "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", - "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", "dev": true, "license": "MIT", "dependencies": { @@ -19300,8 +14778,6 @@ }, "node_modules/socks-proxy-agent/node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "license": "MIT", "dependencies": { @@ -19313,8 +14789,6 @@ }, "node_modules/sort-keys": { "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/sort-keys/-/sort-keys-1.1.2.tgz", - "integrity": "sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg==", "license": "MIT", "dependencies": { "is-plain-obj": "^1.0.0" @@ -19325,8 +14799,6 @@ }, "node_modules/sort-keys-length": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/sort-keys-length/-/sort-keys-length-1.0.1.tgz", - "integrity": "sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw==", "license": "MIT", "dependencies": { "sort-keys": "^1.0.0" @@ -19337,8 +14809,6 @@ }, "node_modules/sort-keys/node_modules/is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "license": "MIT", "engines": { "node": ">=0.10.0" @@ -19346,14 +14816,10 @@ }, "node_modules/sortablejs": { "version": "1.15.6", - "resolved": "https://registry.npmmirror.com/sortablejs/-/sortablejs-1.15.6.tgz", - "integrity": "sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==", "license": "MIT" }, "node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -19362,8 +14828,6 @@ }, "node_modules/source-map-js": { "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -19371,8 +14835,6 @@ }, "node_modules/source-map-support": { "version": "0.5.21", - "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, "license": "MIT", "dependencies": { @@ -19382,16 +14844,11 @@ }, "node_modules/sourcemap-codec": { "version": "1.4.8", - "resolved": "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead", "dev": true, "license": "MIT" }, "node_modules/speakingurl": { "version": "14.0.1", - "resolved": "https://registry.npmmirror.com/speakingurl/-/speakingurl-14.0.1.tgz", - "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -19400,15 +14857,11 @@ }, "node_modules/sprintf-js": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.1.3.tgz", - "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", "dev": true, "license": "BSD-3-Clause" }, "node_modules/ssf": { "version": "0.11.2", - "resolved": "https://registry.npmmirror.com/ssf/-/ssf-0.11.2.tgz", - "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", "license": "Apache-2.0", "dependencies": { "frac": "~1.1.2" @@ -19419,8 +14872,6 @@ }, "node_modules/ssri": { "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", "dev": true, "license": "ISC", "dependencies": { @@ -19432,15 +14883,11 @@ }, "node_modules/stackback": { "version": "0.0.2", - "resolved": "https://registry.npmmirror.com/stackback/-/stackback-0.0.2.tgz", - "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", "dev": true, "license": "MIT" }, "node_modules/stacktracey": { "version": "2.1.8", - "resolved": "https://registry.npmmirror.com/stacktracey/-/stacktracey-2.1.8.tgz", - "integrity": "sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==", "dev": true, "license": "Unlicense", "dependencies": { @@ -19450,15 +14897,11 @@ }, "node_modules/standard-as-callback": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", "dev": true, "license": "MIT" }, "node_modules/stat-mode": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/stat-mode/-/stat-mode-1.0.0.tgz", - "integrity": "sha512-jH9EhtKIjuXZ2cWxmXS8ZP80XyC3iasQxMDV8jzhNJpfDb7VbQLVW4Wvsxz9QZvzV+G4YoSfBUVKDOyxLzi/sg==", "dev": true, "license": "MIT", "engines": { @@ -19467,8 +14910,6 @@ }, "node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "dev": true, "license": "MIT", "engines": { @@ -19477,14 +14918,10 @@ }, "node_modules/std-env": { "version": "3.8.0", - "resolved": "https://registry.npmmirror.com/std-env/-/std-env-3.8.0.tgz", - "integrity": "sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==", "license": "MIT" }, "node_modules/stdin-discarder": { "version": "0.2.2", - "resolved": "https://registry.npmmirror.com/stdin-discarder/-/stdin-discarder-0.2.2.tgz", - "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==", "dev": true, "license": "MIT", "engines": { @@ -19496,8 +14933,6 @@ }, "node_modules/stoppable": { "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/stoppable/-/stoppable-1.1.0.tgz", - "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==", "dev": true, "license": "MIT", "engines": { @@ -19507,8 +14942,6 @@ }, "node_modules/streamx": { "version": "2.22.0", - "resolved": "https://registry.npmmirror.com/streamx/-/streamx-2.22.0.tgz", - "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", "devOptional": true, "license": "MIT", "dependencies": { @@ -19521,8 +14954,6 @@ }, "node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "devOptional": true, "license": "MIT", "dependencies": { @@ -19531,15 +14962,11 @@ }, "node_modules/string-template": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/string-template/-/string-template-1.0.0.tgz", - "integrity": "sha512-SLqR3GBUXuoPP5MmYtD7ompvXiG87QjT6lzOszyXjTM86Uu7At7vNnt2xgyTLq5o9T4IxTYFyGxcULqpsmsfdg==", "dev": true, "license": "MIT" }, "node_modules/string-width": { "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", @@ -19556,8 +14983,6 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -19571,15 +14996,11 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", "engines": { @@ -19588,8 +15009,6 @@ }, "node_modules/string-width/node_modules/ansi-regex": { "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "license": "MIT", "engines": { "node": ">=12" @@ -19600,8 +15019,6 @@ }, "node_modules/string-width/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" @@ -19613,112 +15030,8 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/string.prototype.matchall": { - "version": "4.0.12", - "resolved": "https://registry.npmmirror.com/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz", - "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.6", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.6", - "gopd": "^1.2.0", - "has-symbols": "^1.1.0", - "internal-slot": "^1.1.0", - "regexp.prototype.flags": "^1.5.3", - "set-function-name": "^2.0.2", - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.10", - "resolved": "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", - "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "define-data-property": "^1.1.4", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.5", - "es-object-atoms": "^1.0.0", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.9", - "resolved": "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", - "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", - "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/stringify-object": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/stringz": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/stringz/-/stringz-2.1.0.tgz", - "integrity": "sha512-KlywLT+MZ+v0IRepfMxRtnSvDCMc3nR1qqCs3m/qIbSOWkNZYT8XHQA31rS3TnKp0c5xjZu3M4GY/2aRKSi/6A==", "dev": true, "license": "MIT", "dependencies": { @@ -19727,8 +15040,6 @@ }, "node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -19740,8 +15051,6 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", "dependencies": { @@ -19753,28 +15062,14 @@ }, "node_modules/strip-bom-string": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz", - "integrity": "sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==", "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/strip-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/strip-comments/-/strip-comments-2.0.1.tgz", - "integrity": "sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/strip-final-newline": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-4.0.0.tgz", - "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", "dev": true, "license": "MIT", "engines": { @@ -19786,8 +15081,6 @@ }, "node_modules/strip-json-comments": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, "license": "MIT", "engines": { @@ -19799,8 +15092,6 @@ }, "node_modules/strip-literal": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-2.1.1.tgz", - "integrity": "sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==", "dev": true, "license": "MIT", "dependencies": { @@ -19812,21 +15103,15 @@ }, "node_modules/strip-literal/node_modules/js-tokens": { "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", - "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", "dev": true, "license": "MIT" }, "node_modules/stylis": { "version": "4.3.6", - "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.3.6.tgz", - "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==", "license": "MIT" }, "node_modules/sucrase": { "version": "3.35.0", - "resolved": "https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz", - "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", "dev": true, "license": "MIT", "dependencies": { @@ -19848,8 +15133,6 @@ }, "node_modules/sucrase/node_modules/commander": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", "dev": true, "license": "MIT", "engines": { @@ -19858,8 +15141,6 @@ }, "node_modules/sucrase/node_modules/glob": { "version": "10.4.5", - "resolved": "https://registry.npmmirror.com/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { @@ -19879,8 +15160,6 @@ }, "node_modules/sucrase/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { @@ -19895,8 +15174,6 @@ }, "node_modules/sucrase/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, "license": "ISC", "engines": { @@ -19905,8 +15182,6 @@ }, "node_modules/sumchecker": { "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/sumchecker/-/sumchecker-3.0.1.tgz", - "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -19918,8 +15193,6 @@ }, "node_modules/superjson": { "version": "2.2.2", - "resolved": "https://registry.npmmirror.com/superjson/-/superjson-2.2.2.tgz", - "integrity": "sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==", "dev": true, "license": "MIT", "dependencies": { @@ -19931,8 +15204,6 @@ }, "node_modules/superjson/node_modules/copy-anything": { "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-3.0.5.tgz", - "integrity": "sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==", "dev": true, "license": "MIT", "dependencies": { @@ -19947,8 +15218,6 @@ }, "node_modules/superjson/node_modules/is-what": { "version": "4.1.16", - "resolved": "https://registry.npmmirror.com/is-what/-/is-what-4.1.16.tgz", - "integrity": "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==", "dev": true, "license": "MIT", "engines": { @@ -19960,8 +15229,6 @@ }, "node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -19976,8 +15243,6 @@ }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, "license": "MIT", "engines": { @@ -19989,8 +15254,6 @@ }, "node_modules/svgo": { "version": "3.3.2", - "resolved": "https://registry.npmmirror.com/svgo/-/svgo-3.3.2.tgz", - "integrity": "sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw==", "dev": true, "license": "MIT", "dependencies": { @@ -20015,8 +15278,6 @@ }, "node_modules/svgo/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, "license": "MIT", "engines": { @@ -20025,8 +15286,6 @@ }, "node_modules/swagger-ui-dist": { "version": "5.20.0", - "resolved": "https://registry.npmmirror.com/swagger-ui-dist/-/swagger-ui-dist-5.20.0.tgz", - "integrity": "sha512-V5pozVTZxivdoQq/SQWxj3A4cOu5opk9MEbcZANX3Pj8X8xCrD1QCtBT7744Pz9msOvt0nnmy9JvM/9PGonCdg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -20035,8 +15294,6 @@ }, "node_modules/sync-child-process": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/sync-child-process/-/sync-child-process-1.0.2.tgz", - "integrity": "sha512-8lD+t2KrrScJ/7KXCSyfhT3/hRq78rC0wBFqNJXv3mZyn6hW2ypM05JmlSvtqRbeq6jqA94oHbxAr2vYsJ8vDA==", "dev": true, "license": "MIT", "dependencies": { @@ -20048,8 +15305,6 @@ }, "node_modules/sync-message-port": { "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/sync-message-port/-/sync-message-port-1.1.3.tgz", - "integrity": "sha512-GTt8rSKje5FilG+wEdfCkOcLL7LWqpMlr2c3LRuKt/YXxcJ52aGSbGBAdI4L3aaqfrBt6y711El53ItyH1NWzg==", "dev": true, "license": "MIT", "engines": { @@ -20058,8 +15313,6 @@ }, "node_modules/system-architecture": { "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/system-architecture/-/system-architecture-0.1.0.tgz", - "integrity": "sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==", "dev": true, "license": "MIT", "engines": { @@ -20071,8 +15324,6 @@ }, "node_modules/tailwindcss": { "version": "3.4.17", - "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.4.17.tgz", - "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "dev": true, "license": "MIT", "dependencies": { @@ -20109,8 +15360,6 @@ }, "node_modules/tailwindcss/node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "license": "ISC", "dependencies": { @@ -20122,8 +15371,6 @@ }, "node_modules/tailwindcss/node_modules/jiti": { "version": "1.21.7", - "resolved": "https://registry.npmmirror.com/jiti/-/jiti-1.21.7.tgz", - "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", "bin": { @@ -20132,8 +15379,6 @@ }, "node_modules/tailwindcss/node_modules/postcss-load-config": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz", - "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", "dev": true, "funding": [ { @@ -20168,8 +15413,6 @@ }, "node_modules/tar": { "version": "6.2.1", - "resolved": "https://registry.npmmirror.com/tar/-/tar-6.2.1.tgz", - "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "license": "ISC", "dependencies": { "chownr": "^2.0.0", @@ -20214,8 +15457,6 @@ }, "node_modules/tar-stream": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "devOptional": true, "license": "MIT", "peer": true, @@ -20232,8 +15473,6 @@ }, "node_modules/tar/node_modules/minipass": { "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "license": "ISC", "engines": { "node": ">=8" @@ -20241,8 +15480,6 @@ }, "node_modules/tdesign-icons-vue-next": { "version": "0.3.4", - "resolved": "https://registry.npmmirror.com/tdesign-icons-vue-next/-/tdesign-icons-vue-next-0.3.4.tgz", - "integrity": "sha512-fKQ2GkZ1MxHw1BRGRJYcLhtpqRCndGctf0M1hOV9MHdFyasNNGatt81Kue6szRG9nWgYUktH7zHRwMsMK6fbWQ==", "dependencies": { "@babel/runtime": "^7.16.3" }, @@ -20251,43 +15488,38 @@ } }, "node_modules/tdesign-vue-next": { - "version": "1.10.7", - "resolved": "https://registry.npmmirror.com/tdesign-vue-next/-/tdesign-vue-next-1.10.7.tgz", - "integrity": "sha512-cbKd42Few8RXO2GMfZ/oJd8SaxzYWZQagpkHtSwTb6xh+E0vHyPOo/dr7h0u51zcVY/U9RhPRHsP01mvQrt2tQ==", + "version": "1.11.1", + "resolved": "https://registry.npmmirror.com/tdesign-vue-next/-/tdesign-vue-next-1.11.1.tgz", + "integrity": "sha512-MOjX9DVxykPVtDSZhuXLjb0ZkBaUKmkoiRhgDpiOJnGo/jWKyFsVJiF9cufkJeS2ffvex9Td01Foj0Had5Xu6Q==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.22.6", "@popperjs/core": "^2.11.8", - "@types/lodash": "4.14.182", + "@types/lodash-es": "^4.17.12", "@types/sortablejs": "^1.15.1", "@types/tinycolor2": "^1.4.3", "@types/validator": "^13.7.17", "dayjs": "1.11.10", - "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "mitt": "^3.0.1", "sortablejs": "^1.15.0", "tdesign-icons-vue-next": "^0.3.4", "tinycolor2": "^1.6.0", "validator": "^13.9.0" }, + "engines": { + "node": ">= 18" + }, "peerDependencies": { "vue": ">=3.1.0" } }, - "node_modules/temp-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/temp-dir/-/temp-dir-2.0.0.tgz", - "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } + "node_modules/tdesign-vue-next/node_modules/dayjs": { + "version": "1.11.10", + "license": "MIT" }, "node_modules/temp-file": { "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/temp-file/-/temp-file-3.4.0.tgz", - "integrity": "sha512-C5tjlC/HCtVUOi3KWVokd4vHVViOmGjtLwIh4MuzPo/nMYTV/p1urt3RnMz2IWXDdKEGJH3k5+KPxtqRsUYGtg==", "dev": true, "license": "MIT", "dependencies": { @@ -20297,8 +15529,6 @@ }, "node_modules/temp-file/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "license": "MIT", "dependencies": { @@ -20310,55 +15540,8 @@ "node": ">=12" } }, - "node_modules/tempy": { - "version": "0.6.0", - "resolved": "https://registry.npmmirror.com/tempy/-/tempy-0.6.0.tgz", - "integrity": "sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-stream": "^2.0.0", - "temp-dir": "^2.0.0", - "type-fest": "^0.16.0", - "unique-string": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/tempy/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/tempy/node_modules/type-fest": { - "version": "0.16.0", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.16.0.tgz", - "integrity": "sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/terser": { "version": "5.39.0", - "resolved": "https://registry.npmmirror.com/terser/-/terser-5.39.0.tgz", - "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -20376,15 +15559,11 @@ }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true, "license": "MIT" }, "node_modules/text-decoder": { "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/text-decoder/-/text-decoder-1.2.3.tgz", - "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", "devOptional": true, "license": "Apache-2.0", "dependencies": { @@ -20393,8 +15572,6 @@ }, "node_modules/thenify": { "version": "3.3.1", - "resolved": "https://registry.npmmirror.com/thenify/-/thenify-3.3.1.tgz", - "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", "dev": true, "license": "MIT", "dependencies": { @@ -20403,8 +15580,6 @@ }, "node_modules/thenify-all": { "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/thenify-all/-/thenify-all-1.6.0.tgz", - "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", "dev": true, "license": "MIT", "dependencies": { @@ -20416,28 +15591,19 @@ }, "node_modules/tinybench": { "version": "2.9.0", - "resolved": "https://registry.npmmirror.com/tinybench/-/tinybench-2.9.0.tgz", - "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", "dev": true, "license": "MIT" }, "node_modules/tinycolor2": { "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.6.0.tgz", - "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==", "license": "MIT" }, "node_modules/tinyexec": { "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/tinyexec/-/tinyexec-0.3.2.tgz", - "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", "license": "MIT" }, "node_modules/tinyglobby": { "version": "0.2.12", - "resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.12.tgz", - "integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", - "dev": true, "license": "MIT", "dependencies": { "fdir": "^6.4.3", @@ -20452,9 +15618,6 @@ }, "node_modules/tinyglobby/node_modules/fdir": { "version": "6.4.3", - "resolved": "https://registry.npmmirror.com/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", - "dev": true, "license": "MIT", "peerDependencies": { "picomatch": "^3 || ^4" @@ -20467,9 +15630,6 @@ }, "node_modules/tinyglobby/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -20480,8 +15640,6 @@ }, "node_modules/tinypool": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/tinypool/-/tinypool-1.0.2.tgz", - "integrity": "sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==", "dev": true, "license": "MIT", "engines": { @@ -20490,8 +15648,6 @@ }, "node_modules/tinyrainbow": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz", - "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==", "dev": true, "license": "MIT", "engines": { @@ -20500,8 +15656,6 @@ }, "node_modules/tinyspy": { "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/tinyspy/-/tinyspy-3.0.2.tgz", - "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==", "dev": true, "license": "MIT", "engines": { @@ -20510,8 +15664,6 @@ }, "node_modules/tmp": { "version": "0.2.3", - "resolved": "https://registry.npmmirror.com/tmp/-/tmp-0.2.3.tgz", - "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", "license": "MIT", "engines": { "node": ">=14.14" @@ -20519,8 +15671,6 @@ }, "node_modules/tmp-promise": { "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/tmp-promise/-/tmp-promise-3.0.3.tgz", - "integrity": "sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==", "license": "MIT", "dependencies": { "tmp": "^0.2.0" @@ -20528,8 +15678,6 @@ }, "node_modules/to-regex-range": { "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "license": "MIT", "dependencies": { "is-number": "^7.0.0" @@ -20540,8 +15688,6 @@ }, "node_modules/toidentifier": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "dev": true, "license": "MIT", "engines": { @@ -20550,15 +15696,11 @@ }, "node_modules/tr46": { "version": "0.0.3", - "resolved": "https://registry.npmmirror.com/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", "dev": true, "license": "MIT" }, "node_modules/tree-kill": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/tree-kill/-/tree-kill-1.2.2.tgz", - "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "dev": true, "license": "MIT", "bin": { @@ -20567,8 +15709,6 @@ }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", - "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", "dev": true, "license": "WTFPL", "dependencies": { @@ -20577,8 +15717,6 @@ }, "node_modules/ts-dedent": { "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/ts-dedent/-/ts-dedent-2.2.0.tgz", - "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", "license": "MIT", "engines": { "node": ">=6.10" @@ -20586,15 +15724,11 @@ }, "node_modules/ts-interface-checker": { "version": "0.1.13", - "resolved": "https://registry.npmmirror.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", - "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", "dev": true, "license": "Apache-2.0" }, "node_modules/tslib": { "version": "2.8.1", - "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, "license": "0BSD" }, @@ -20614,8 +15748,6 @@ }, "node_modules/tvision-color": { "version": "1.6.0", - "resolved": "https://registry.npmmirror.com/tvision-color/-/tvision-color-1.6.0.tgz", - "integrity": "sha512-pu8LkA4ZLBjbnmC9keqce4TLnExcQphKSoExauncSybmbqAhslXQvGdsI/FeWpxItGa4mcjGsHz5YE8bjpLjRw==", "license": "ISC", "dependencies": { "@babel/runtime-corejs3": "7.18.9", @@ -20626,8 +15758,6 @@ }, "node_modules/type-check": { "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", "dev": true, "license": "MIT", "dependencies": { @@ -20638,100 +15768,18 @@ } }, "node_modules/type-fest": { - "version": "4.33.0", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-4.33.0.tgz", - "integrity": "sha512-s6zVrxuyKbbAsSAD5ZPTB77q4YIdRctkTbJ2/Dqlinwz+8ooH2gd+YA7VA6Pa93KML9GockVvoxjZ2vHP+mu8g==", + "version": "4.36.0", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typed-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", - "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/typed-array-byte-length": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", - "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-proto": "^1.2.0", - "is-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", - "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-proto": "^1.2.0", - "is-typed-array": "^1.1.15", - "reflect.getprototypeof": "^1.0.9" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.7.tgz", - "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0", - "reflect.getprototypeof": "^1.0.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/typescript": { "version": "5.8.2", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.8.2.tgz", - "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -20744,8 +15792,6 @@ }, "node_modules/ua-parser-js": { "version": "1.0.40", - "resolved": "https://registry.npmmirror.com/ua-parser-js/-/ua-parser-js-1.0.40.tgz", - "integrity": "sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==", "funding": [ { "type": "opencollective", @@ -20770,20 +15816,14 @@ }, "node_modules/uc.micro": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/uc.micro/-/uc.micro-2.1.0.tgz", - "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "license": "MIT" }, "node_modules/ufo": { "version": "1.5.4", - "resolved": "https://registry.npmmirror.com/ufo/-/ufo-1.5.4.tgz", - "integrity": "sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==", "license": "MIT" }, "node_modules/uglify-js": { "version": "3.19.3", - "resolved": "https://registry.npmmirror.com/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, "license": "BSD-2-Clause", "bin": { @@ -20793,36 +15833,13 @@ "node": ">=0.8.0" } }, - "node_modules/unbox-primitive": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.1.0.tgz", - "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-bigints": "^1.0.2", - "has-symbols": "^1.1.0", - "which-boxed-primitive": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/uncrypto": { "version": "0.1.3", - "resolved": "https://registry.npmmirror.com/uncrypto/-/uncrypto-0.1.3.tgz", - "integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==", "dev": true, "license": "MIT" }, "node_modules/unctx": { "version": "2.4.1", - "resolved": "https://registry.npmmirror.com/unctx/-/unctx-2.4.1.tgz", - "integrity": "sha512-AbaYw0Nm4mK4qjhns67C+kgxR2YWiwlDBPzxrN8h8C6VtAdCgditAY5Dezu3IJy4XVqAnbrXt9oQJvsn3fyozg==", "license": "MIT", "dependencies": { "acorn": "^8.14.0", @@ -20833,8 +15850,6 @@ }, "node_modules/unctx/node_modules/estree-walker": { "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "license": "MIT", "dependencies": { "@types/estree": "^1.0.0" @@ -20842,400 +15857,99 @@ }, "node_modules/underscore": { "version": "1.13.7", - "resolved": "https://registry.npmmirror.com/underscore/-/underscore-1.13.7.tgz", - "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "license": "MIT" }, "node_modules/undici": { "version": "7.4.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-7.4.0.tgz", - "integrity": "sha512-PUQM3/es3noM24oUn10u3kNNap0AbxESOmnssmW+dOi9yGwlUSi5nTNYl3bNbTkWOF8YZDkx2tCmj9OtQ3iGGw==", "license": "MIT", "engines": { "node": ">=20.18.1" } }, - "node_modules/undici-types": { - "version": "6.20.0", - "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.20.0.tgz", - "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", - "license": "MIT" - }, - "node_modules/unenv": { - "version": "1.10.0", - "resolved": "https://registry.npmmirror.com/unenv/-/unenv-1.10.0.tgz", - "integrity": "sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "consola": "^3.2.3", - "defu": "^6.1.4", - "mime": "^3.0.0", - "node-fetch-native": "^1.6.4", - "pathe": "^1.1.2" - } - }, - "node_modules/unenv/node_modules/mime": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", - "dev": true, - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", - "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", - "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", - "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicorn-magic": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unimport": { - "version": "3.14.6", - "resolved": "https://registry.npmmirror.com/unimport/-/unimport-3.14.6.tgz", - "integrity": "sha512-CYvbDaTT04Rh8bmD8jz3WPmHYZRG/NnvYVzwD6V1YAlvvKROlAeNDUBhkBGzNav2RKaeuXvlWYaa1V4Lfi/O0g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@rollup/pluginutils": "^5.1.4", - "acorn": "^8.14.0", - "escape-string-regexp": "^5.0.0", - "estree-walker": "^3.0.3", - "fast-glob": "^3.3.3", - "local-pkg": "^1.0.0", - "magic-string": "^0.30.17", - "mlly": "^1.7.4", - "pathe": "^2.0.1", - "picomatch": "^4.0.2", - "pkg-types": "^1.3.0", - "scule": "^1.3.0", - "strip-literal": "^2.1.1", - "unplugin": "^1.16.1" - } - }, - "node_modules/unimport/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unimport/node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - } - }, - "node_modules/unimport/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", - "dev": true, - "license": "MIT" - }, - "node_modules/unimport/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/unimport/node_modules/unplugin": { - "version": "1.16.1", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-1.16.1.tgz", - "integrity": "sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^8.14.0", - "webpack-virtual-modules": "^0.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/unique-filename": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/unique-filename/-/unique-filename-2.0.1.tgz", - "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", - "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^3.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/unique-slug": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/unique-slug/-/unique-slug-3.0.0.tgz", - "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "crypto-random-string": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unplugin": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-2.2.0.tgz", - "integrity": "sha512-m1ekpSwuOT5hxkJeZGRxO7gXbXT3gF26NjQ7GdVHoLoF8/nopLcd/QfPigpCy7i51oFHiRJg/CyHhj4vs2+KGw==", - "license": "MIT", - "dependencies": { - "acorn": "^8.14.0", - "webpack-virtual-modules": "^0.6.2" - }, - "engines": { - "node": ">=18.12.0" - } - }, - "node_modules/unplugin-auto-import": { - "version": "19.1.1", - "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-19.1.1.tgz", - "integrity": "sha512-sCGZZrSR1Bc8RfN8Q0RUDxXtC20rdAt7UB4lDyq8MNtKVHiXXh+5af6Nz4JRp9Q+7HjnbgQfQox0TkEymjdUAQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "local-pkg": "^1.0.0", - "magic-string": "^0.30.17", - "picomatch": "^4.0.2", - "unimport": "^4.1.2", - "unplugin": "^2.2.0", - "unplugin-utils": "^0.2.4" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@nuxt/kit": "^3.2.2", - "@vueuse/core": "*" - }, - "peerDependenciesMeta": { - "@nuxt/kit": { - "optional": true - }, - "@vueuse/core": { - "optional": true - } - } - }, - "node_modules/unplugin-auto-import/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unplugin-auto-import/node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - } - }, - "node_modules/unplugin-auto-import/node_modules/js-tokens": { - "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", - "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/unplugin-auto-import/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, + "node_modules/undici-types": { + "version": "6.20.0", "license": "MIT" }, - "node_modules/unplugin-auto-import/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "node_modules/unenv": { + "version": "1.10.0", "dev": true, "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "dependencies": { + "consola": "^3.2.3", + "defu": "^6.1.4", + "mime": "^3.0.0", + "node-fetch-native": "^1.6.4", + "pathe": "^1.1.2" } }, - "node_modules/unplugin-auto-import/node_modules/strip-literal": { + "node_modules/unenv/node_modules/mime": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.0.0.tgz", - "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==", "dev": true, "license": "MIT", - "dependencies": { - "js-tokens": "^9.0.1" + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/antfu" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unplugin-auto-import/node_modules/unimport": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/unimport/-/unimport-4.1.2.tgz", - "integrity": "sha512-oVUL7PSlyVV3QRhsdcyYEMaDX8HJyS/CnUonEJTYA3//bWO+o/4gG8F7auGWWWkrrxBQBYOO8DKe+C53ktpRXw==", + "node_modules/unimport": { + "version": "3.14.6", "dev": true, "license": "MIT", "dependencies": { + "@rollup/pluginutils": "^5.1.4", "acorn": "^8.14.0", "escape-string-regexp": "^5.0.0", "estree-walker": "^3.0.3", + "fast-glob": "^3.3.3", "local-pkg": "^1.0.0", "magic-string": "^0.30.17", "mlly": "^1.7.4", - "pathe": "^2.0.3", + "pathe": "^2.0.1", "picomatch": "^4.0.2", - "pkg-types": "^1.3.1", + "pkg-types": "^1.3.0", "scule": "^1.3.0", - "strip-literal": "^3.0.0", - "tinyglobby": "^0.2.11", - "unplugin": "^2.2.0", - "unplugin-utils": "^0.2.4" - }, - "engines": { - "node": ">=18.12.0" + "strip-literal": "^2.1.1", + "unplugin": "^1.16.1" } }, - "node_modules/unplugin-utils": { - "version": "0.2.4", - "resolved": "https://registry.npmmirror.com/unplugin-utils/-/unplugin-utils-0.2.4.tgz", - "integrity": "sha512-8U/MtpkPkkk3Atewj1+RcKIjb5WBimZ/WSLhhR3w6SsIj8XJuKTacSP8g+2JhfSGw0Cb125Y+2zA/IzJZDVbhA==", + "node_modules/unimport/node_modules/escape-string-regexp": { + "version": "5.0.0", "dev": true, "license": "MIT", - "dependencies": { - "pathe": "^2.0.2", - "picomatch": "^4.0.2" - }, "engines": { - "node": ">=18.12.0" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sxzz" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unplugin-utils/node_modules/pathe": { + "node_modules/unimport/node_modules/estree-walker": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/unimport/node_modules/pathe": { "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, - "node_modules/unplugin-utils/node_modules/picomatch": { + "node_modules/unimport/node_modules/picomatch": { "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", "engines": { @@ -21245,968 +15959,682 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/unplugin-vue-components": { - "version": "28.4.1", - "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-28.4.1.tgz", - "integrity": "sha512-niGSc0vJD9ueAnsqcfAldmtpkppZ09B6p2G1dL7X5S8KPdgbk1P+txPwaaDCe7N+eZh2VG1aAypLXkuJs3OSUg==", + "node_modules/unimport/node_modules/unplugin": { + "version": "1.16.1", "dev": true, "license": "MIT", "dependencies": { - "chokidar": "^3.6.0", - "debug": "^4.4.0", - "local-pkg": "^1.0.0", - "magic-string": "^0.30.17", - "mlly": "^1.7.4", - "tinyglobby": "^0.2.12", - "unplugin": "^2.2.0", - "unplugin-utils": "^0.2.4" + "acorn": "^8.14.0", + "webpack-virtual-modules": "^0.6.2" }, "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@babel/parser": "^7.15.8", - "@nuxt/kit": "^3.2.2", - "vue": "2 || 3" - }, - "peerDependenciesMeta": { - "@babel/parser": { - "optional": true - }, - "@nuxt/kit": { - "optional": true - } + "node": ">=14.0.0" } }, - "node_modules/unstorage": { - "version": "1.14.4", - "resolved": "https://registry.npmmirror.com/unstorage/-/unstorage-1.14.4.tgz", - "integrity": "sha512-1SYeamwuYeQJtJ/USE1x4l17LkmQBzg7deBJ+U9qOBoHo15d1cDxG4jM31zKRgF7pG0kirZy4wVMX6WL6Zoscg==", + "node_modules/unique-filename": { + "version": "2.0.1", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "anymatch": "^3.1.3", - "chokidar": "^3.6.0", - "destr": "^2.0.3", - "h3": "^1.13.0", - "lru-cache": "^10.4.3", - "node-fetch-native": "^1.6.4", - "ofetch": "^1.4.1", - "ufo": "^1.5.4" - }, - "peerDependencies": { - "@azure/app-configuration": "^1.8.0", - "@azure/cosmos": "^4.2.0", - "@azure/data-tables": "^13.3.0", - "@azure/identity": "^4.5.0", - "@azure/keyvault-secrets": "^4.9.0", - "@azure/storage-blob": "^12.26.0", - "@capacitor/preferences": "^6.0.3", - "@deno/kv": ">=0.8.4", - "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0", - "@planetscale/database": "^1.19.0", - "@upstash/redis": "^1.34.3", - "@vercel/blob": ">=0.27.0", - "@vercel/kv": "^1.0.1", - "aws4fetch": "^1.0.20", - "db0": ">=0.2.1", - "idb-keyval": "^6.2.1", - "ioredis": "^5.4.2", - "uploadthing": "^7.4.1" + "unique-slug": "^3.0.0" }, - "peerDependenciesMeta": { - "@azure/app-configuration": { - "optional": true - }, - "@azure/cosmos": { - "optional": true - }, - "@azure/data-tables": { - "optional": true - }, - "@azure/identity": { - "optional": true - }, - "@azure/keyvault-secrets": { - "optional": true - }, - "@azure/storage-blob": { - "optional": true - }, - "@capacitor/preferences": { - "optional": true - }, - "@deno/kv": { - "optional": true - }, - "@netlify/blobs": { - "optional": true - }, - "@planetscale/database": { - "optional": true - }, - "@upstash/redis": { - "optional": true - }, - "@vercel/blob": { - "optional": true - }, - "@vercel/kv": { - "optional": true - }, - "aws4fetch": { - "optional": true - }, - "db0": { - "optional": true - }, - "idb-keyval": { - "optional": true - }, - "ioredis": { - "optional": true - }, - "uploadthing": { - "optional": true - } + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/unstorage/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/untun": { - "version": "0.1.3", - "resolved": "https://registry.npmmirror.com/untun/-/untun-0.1.3.tgz", - "integrity": "sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ==", + "node_modules/unique-slug": { + "version": "3.0.0", "dev": true, - "license": "MIT", - "dependencies": { - "citty": "^0.1.5", - "consola": "^3.2.3", - "pathe": "^1.1.1" - }, - "bin": { - "untun": "bin/untun.mjs" - } - }, - "node_modules/untyped": { - "version": "1.5.2", - "resolved": "https://registry.npmmirror.com/untyped/-/untyped-1.5.2.tgz", - "integrity": "sha512-eL/8PlhLcMmlMDtNPKhyyz9kEBDS3Uk4yMu/ewlkT2WFbtzScjHWPJLdQLmaGPUKjXzwe9MumOtOgc4Fro96Kg==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.26.0", - "@babel/standalone": "^7.26.4", - "@babel/types": "^7.26.3", - "citty": "^0.1.6", - "defu": "^6.1.4", - "jiti": "^2.4.1", - "knitwork": "^1.2.0", - "scule": "^1.3.0" - }, - "bin": { - "untyped": "dist/cli.mjs" - } - }, - "node_modules/unused-filename": { - "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/unused-filename/-/unused-filename-4.0.1.tgz", - "integrity": "sha512-ZX6U1J04K1FoSUeoX1OicAhw4d0aro2qo+L8RhJkiGTNtBNkd/Fi1Wxoc9HzcVu6HfOzm0si/N15JjxFmD1z6A==", - "license": "MIT", + "license": "ISC", "dependencies": { - "escape-string-regexp": "^5.0.0", - "path-exists": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unused-filename/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "license": "MIT", - "engines": { - "node": ">=12" + "imurmurhash": "^0.1.4" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/unwasm": { - "version": "0.3.9", - "resolved": "https://registry.npmmirror.com/unwasm/-/unwasm-0.3.9.tgz", - "integrity": "sha512-LDxTx/2DkFURUd+BU1vUsF/moj0JsoTvl+2tcg2AUOiEzVturhGGx17/IMgGvKUYdZwr33EJHtChCJuhu9Ouvg==", + "node_modules/universalify": { + "version": "2.0.1", "dev": true, "license": "MIT", - "dependencies": { - "knitwork": "^1.0.0", - "magic-string": "^0.30.8", - "mlly": "^1.6.1", - "pathe": "^1.1.2", - "pkg-types": "^1.0.3", - "unplugin": "^1.10.0" + "engines": { + "node": ">= 10.0.0" } }, - "node_modules/unwasm/node_modules/unplugin": { - "version": "1.16.1", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-1.16.1.tgz", - "integrity": "sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==", - "dev": true, + "node_modules/unplugin": { + "version": "2.2.0", "license": "MIT", "dependencies": { "acorn": "^8.14.0", "webpack-virtual-modules": "^0.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.12.0" } }, - "node_modules/upath": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", + "node_modules/unplugin-auto-import": { + "version": "19.1.1", "dev": true, "license": "MIT", - "engines": { - "node": ">=4", - "yarn": "*" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz", - "integrity": "sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" + "local-pkg": "^1.0.0", + "magic-string": "^0.30.17", + "picomatch": "^4.0.2", + "unimport": "^4.1.2", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" }, - "bin": { - "update-browserslist-db": "cli.js" + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" }, "peerDependencies": { - "browserslist": ">= 4.21.0" + "@nuxt/kit": "^3.2.2", + "@vueuse/core": "*" + }, + "peerDependenciesMeta": { + "@nuxt/kit": { + "optional": true + }, + "@vueuse/core": { + "optional": true + } } }, - "node_modules/uqr": { - "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/uqr/-/uqr-0.1.2.tgz", - "integrity": "sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==", + "node_modules/unplugin-auto-import/node_modules/escape-string-regexp": { + "version": "5.0.0", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "node_modules/unplugin-auto-import/node_modules/estree-walker": { + "version": "3.0.3", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "punycode": "^2.1.0" + "@types/estree": "^1.0.0" } }, - "node_modules/uri-js-replace": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/uri-js-replace/-/uri-js-replace-1.0.1.tgz", - "integrity": "sha512-W+C9NWNLFOoBI2QWDp4UT9pv65r2w5Cx+3sTYFvtMdDBxkKt1syCqsUdSFAChbEe1uK5TfS04wt/nGwmaeIQ0g==", + "node_modules/unplugin-auto-import/node_modules/js-tokens": { + "version": "9.0.1", "dev": true, "license": "MIT" }, - "node_modules/urlpattern-polyfill": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz", - "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==", + "node_modules/unplugin-auto-import/node_modules/pathe": { + "version": "2.0.3", "dev": true, "license": "MIT" }, - "node_modules/utf8-byte-length": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/utf8-byte-length/-/utf8-byte-length-1.0.5.tgz", - "integrity": "sha512-Xn0w3MtiQ6zoz2vFyUVruaCL53O/DwUvkEeOvj+uulMm0BkUGYWmBYVyElqZaSLhY6ZD0ulfU3aBra2aVT4xfA==", + "node_modules/unplugin-auto-import/node_modules/picomatch": { + "version": "4.0.2", "dev": true, - "license": "(WTFPL OR MIT)" + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmmirror.com/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "node_modules/unplugin-auto-import/node_modules/strip-literal": { + "version": "3.0.0", "dev": true, "license": "MIT", "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT" - }, - "node_modules/uuid": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.1.0.tgz", - "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], + "node_modules/unplugin-auto-import/node_modules/unimport": { + "version": "4.1.2", + "dev": true, "license": "MIT", - "bin": { - "uuid": "dist/esm/bin/uuid" + "dependencies": { + "acorn": "^8.14.0", + "escape-string-regexp": "^5.0.0", + "estree-walker": "^3.0.3", + "local-pkg": "^1.0.0", + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "pathe": "^2.0.3", + "picomatch": "^4.0.2", + "pkg-types": "^1.3.1", + "scule": "^1.3.0", + "strip-literal": "^3.0.0", + "tinyglobby": "^0.2.11", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" + }, + "engines": { + "node": ">=18.12.0" } }, - "node_modules/validator": { - "version": "13.12.0", - "resolved": "https://registry.npmmirror.com/validator/-/validator-13.12.0.tgz", - "integrity": "sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==", + "node_modules/unplugin-utils": { + "version": "0.2.4", "license": "MIT", + "dependencies": { + "pathe": "^2.0.2", + "picomatch": "^4.0.2" + }, "engines": { - "node": ">= 0.10" + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" } }, - "node_modules/varint": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/varint/-/varint-6.0.0.tgz", - "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", - "dev": true, + "node_modules/unplugin-utils/node_modules/pathe": { + "version": "2.0.3", "license": "MIT" }, - "node_modules/verror": { - "version": "1.10.1", - "resolved": "https://registry.npmmirror.com/verror/-/verror-1.10.1.tgz", - "integrity": "sha512-veufcmxri4e3XSrT0xwfUR7kguIkaxBeosDg00yDWhk49wdwkSUrvvsm7nc75e1PUyvIeZj6nS8VQRYz2/S4Xg==", - "dev": true, + "node_modules/unplugin-utils/node_modules/picomatch": { + "version": "4.0.2", "license": "MIT", - "optional": true, - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - }, "engines": { - "node": ">=0.6.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/vite": { - "version": "6.2.0", - "resolved": "https://registry.npmmirror.com/vite/-/vite-6.2.0.tgz", - "integrity": "sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==", + "node_modules/unplugin-vue-components": { + "version": "28.4.1", "dev": true, "license": "MIT", "dependencies": { - "esbuild": "^0.25.0", - "postcss": "^8.5.3", - "rollup": "^4.30.1" - }, - "bin": { - "vite": "bin/vite.js" + "chokidar": "^3.6.0", + "debug": "^4.4.0", + "local-pkg": "^1.0.0", + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "tinyglobby": "^0.2.12", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" }, "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + "node": ">=14" }, "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" + "url": "https://github.com/sponsors/antfu" }, "peerDependencies": { - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "jiti": ">=1.21.0", - "less": "*", - "lightningcss": "^1.21.0", - "sass": "*", - "sass-embedded": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.16.0", - "tsx": "^4.8.1", - "yaml": "^2.4.2" + "@babel/parser": "^7.15.8", + "@nuxt/kit": "^3.2.2", + "vue": "2 || 3" + }, + "peerDependenciesMeta": { + "@babel/parser": { + "optional": true + }, + "@nuxt/kit": { + "optional": true + } + } + }, + "node_modules/unstorage": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "^3.1.3", + "chokidar": "^4.0.3", + "destr": "^2.0.3", + "h3": "^1.15.0", + "lru-cache": "^10.4.3", + "node-fetch-native": "^1.6.6", + "ofetch": "^1.4.1", + "ufo": "^1.5.4" + }, + "peerDependencies": { + "@azure/app-configuration": "^1.8.0", + "@azure/cosmos": "^4.2.0", + "@azure/data-tables": "^13.3.0", + "@azure/identity": "^4.6.0", + "@azure/keyvault-secrets": "^4.9.0", + "@azure/storage-blob": "^12.26.0", + "@capacitor/preferences": "^6.0.3", + "@deno/kv": ">=0.9.0", + "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0", + "@planetscale/database": "^1.19.0", + "@upstash/redis": "^1.34.3", + "@vercel/blob": ">=0.27.1", + "@vercel/kv": "^1.0.1", + "aws4fetch": "^1.0.20", + "db0": ">=0.2.1", + "idb-keyval": "^6.2.1", + "ioredis": "^5.4.2", + "uploadthing": "^7.4.4" }, "peerDependenciesMeta": { - "@types/node": { + "@azure/app-configuration": { "optional": true }, - "jiti": { + "@azure/cosmos": { "optional": true }, - "less": { + "@azure/data-tables": { "optional": true }, - "lightningcss": { + "@azure/identity": { "optional": true }, - "sass": { + "@azure/keyvault-secrets": { "optional": true }, - "sass-embedded": { + "@azure/storage-blob": { "optional": true }, - "stylus": { + "@capacitor/preferences": { "optional": true }, - "sugarss": { + "@deno/kv": { "optional": true }, - "terser": { + "@netlify/blobs": { "optional": true }, - "tsx": { + "@planetscale/database": { "optional": true }, - "yaml": { + "@upstash/redis": { + "optional": true + }, + "@vercel/blob": { + "optional": true + }, + "@vercel/kv": { + "optional": true + }, + "aws4fetch": { + "optional": true + }, + "db0": { + "optional": true + }, + "idb-keyval": { + "optional": true + }, + "ioredis": { + "optional": true + }, + "uploadthing": { "optional": true } } }, - "node_modules/vite-node": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/vite-node/-/vite-node-3.0.7.tgz", - "integrity": "sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==", + "node_modules/unstorage/node_modules/chokidar": { + "version": "4.0.3", "dev": true, "license": "MIT", "dependencies": { - "cac": "^6.7.14", - "debug": "^4.4.0", - "es-module-lexer": "^1.6.0", - "pathe": "^2.0.3", - "vite": "^5.0.0 || ^6.0.0" - }, - "bin": { - "vite-node": "vite-node.mjs" + "readdirp": "^4.0.1" }, "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + "node": ">= 14.16.0" }, "funding": { - "url": "https://opencollective.com/vitest" - } - }, - "node_modules/vite-node/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, - "node_modules/vite-plugin-electron": { - "version": "0.29.0", - "resolved": "https://registry.npmmirror.com/vite-plugin-electron/-/vite-plugin-electron-0.29.0.tgz", - "integrity": "sha512-HP0DI9Shg41hzt55IKYVnbrChWXHX95QtsEQfM+szQBpWjVhVGMlqRjVco6ebfQjWNr+Ga+PeoBjMIl8zMaufw==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "vite-plugin-electron-renderer": "*" - }, - "peerDependenciesMeta": { - "vite-plugin-electron-renderer": { - "optional": true - } + "url": "https://paulmillr.com/funding/" } }, - "node_modules/vite-plugin-electron-renderer": { - "version": "0.14.6", - "resolved": "https://registry.npmmirror.com/vite-plugin-electron-renderer/-/vite-plugin-electron-renderer-0.14.6.tgz", - "integrity": "sha512-oqkWFa7kQIkvHXG7+Mnl1RTroA4sP0yesKatmAy0gjZC4VwUqlvF9IvOpHd1fpLWsqYX/eZlVxlhULNtaQ78Jw==", - "dev": true, - "license": "MIT" - }, - "node_modules/vite-plugin-javascript-obfuscator": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/vite-plugin-javascript-obfuscator/-/vite-plugin-javascript-obfuscator-3.1.0.tgz", - "integrity": "sha512-sf4JFlG1iUPl7bLXHGOy+bKWOQUFyXzJFWa+n2S2xMMvyfM+V9R40HhpZoIF1eAjifArM1SF7fbSFIaTuUIbPA==", + "node_modules/unstorage/node_modules/lru-cache": { + "version": "10.4.3", "dev": true, - "license": "MIT", - "dependencies": { - "anymatch": "~3.1.3", - "javascript-obfuscator": "^4.1.0" - } + "license": "ISC" }, - "node_modules/vite-plugin-pwa": { - "version": "0.21.1", - "resolved": "https://registry.npmmirror.com/vite-plugin-pwa/-/vite-plugin-pwa-0.21.1.tgz", - "integrity": "sha512-rkTbKFbd232WdiRJ9R3u+hZmf5SfQljX1b45NF6oLA6DSktEKpYllgTo1l2lkiZWMWV78pABJtFjNXfBef3/3Q==", + "node_modules/unstorage/node_modules/readdirp": { + "version": "4.1.2", "dev": true, "license": "MIT", - "dependencies": { - "debug": "^4.3.6", - "pretty-bytes": "^6.1.1", - "tinyglobby": "^0.2.10", - "workbox-build": "^7.3.0", - "workbox-window": "^7.3.0" - }, "engines": { - "node": ">=16.0.0" + "node": ">= 14.18.0" }, "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vite-pwa/assets-generator": "^0.2.6", - "vite": "^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", - "workbox-build": "^7.3.0", - "workbox-window": "^7.3.0" - }, - "peerDependenciesMeta": { - "@vite-pwa/assets-generator": { - "optional": true - } + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, - "node_modules/vite-svg-loader": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/vite-svg-loader/-/vite-svg-loader-5.1.0.tgz", - "integrity": "sha512-M/wqwtOEjgb956/+m5ZrYT/Iq6Hax0OakWbokj8+9PXOnB7b/4AxESHieEtnNEy7ZpjsjYW1/5nK8fATQMmRxw==", + "node_modules/untun": { + "version": "0.1.3", "dev": true, "license": "MIT", "dependencies": { - "svgo": "^3.0.2" + "citty": "^0.1.5", + "consola": "^3.2.3", + "pathe": "^1.1.1" }, - "peerDependencies": { - "vue": ">=3.2.13" - } - }, - "node_modules/vite/node_modules/@esbuild/aix-ppc64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", - "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.25.0.tgz", - "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", - "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.25.0.tgz", - "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/vite/node_modules/@esbuild/darwin-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", - "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", - "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" + "bin": { + "untun": "bin/untun.mjs" } }, - "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", - "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/untyped": { + "version": "1.5.2", "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/core": "^7.26.0", + "@babel/standalone": "^7.26.4", + "@babel/types": "^7.26.3", + "citty": "^0.1.6", + "defu": "^6.1.4", + "jiti": "^2.4.1", + "knitwork": "^1.2.0", + "scule": "^1.3.0" + }, + "bin": { + "untyped": "dist/cli.mjs" } }, - "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", - "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", - "cpu": [ - "x64" - ], - "dev": true, + "node_modules/unused-filename": { + "version": "4.0.1", "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], + "dependencies": { + "escape-string-regexp": "^5.0.0", + "path-exists": "^5.0.0" + }, "engines": { - "node": ">=18" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", - "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", - "cpu": [ - "arm" - ], - "dev": true, + "node_modules/unused-filename/node_modules/escape-string-regexp": { + "version": "5.0.0", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=18" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", - "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", - "cpu": [ - "arm64" - ], + "node_modules/unwasm": { + "version": "0.3.9", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "knitwork": "^1.0.0", + "magic-string": "^0.30.8", + "mlly": "^1.6.1", + "pathe": "^1.1.2", + "pkg-types": "^1.0.3", + "unplugin": "^1.10.0" } }, - "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", - "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", - "cpu": [ - "ia32" - ], + "node_modules/unwasm/node_modules/unplugin": { + "version": "1.16.1", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "acorn": "^8.14.0", + "webpack-virtual-modules": "^0.6.2" + }, "engines": { - "node": ">=18" + "node": ">=14.0.0" } }, - "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", - "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", - "cpu": [ - "loong64" - ], + "node_modules/upath": { + "version": "2.0.1", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=18" + "node": ">=4", + "yarn": "*" } }, - "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", - "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", - "cpu": [ - "mips64el" + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } ], - "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" } }, - "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", - "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", - "cpu": [ - "ppc64" - ], + "node_modules/uqr": { + "version": "0.1.2", "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } + "license": "MIT" }, - "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", - "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", - "cpu": [ - "riscv64" - ], + "node_modules/uri-js": { + "version": "4.4.1", "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" } }, - "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", - "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", - "cpu": [ - "s390x" - ], + "node_modules/uri-js-replace": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/urlpattern-polyfill": { + "version": "8.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/utf8-byte-length": { + "version": "1.0.5", + "dev": true, + "license": "(WTFPL OR MIT)" + }, + "node_modules/util": { + "version": "0.12.5", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" } }, - "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", - "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", - "cpu": [ - "x64" + "node_modules/util-deprecate": { + "version": "1.0.2", + "license": "MIT" + }, + "node_modules/uuid": { + "version": "11.1.0", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" ], - "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "bin": { + "uuid": "dist/esm/bin/uuid" } }, - "node_modules/vite/node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", - "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/validator": { + "version": "13.12.0", "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], "engines": { - "node": ">=18" + "node": ">= 0.10" } }, - "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", - "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", - "cpu": [ - "x64" - ], + "node_modules/varint": { + "version": "6.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/verror": { + "version": "1.10.1", "dev": true, "license": "MIT", "optional": true, - "os": [ - "netbsd" - ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, "engines": { - "node": ">=18" + "node": ">=0.6.0" } }, - "node_modules/vite/node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", - "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", - "cpu": [ - "arm64" - ], + "node_modules/vite": { + "version": "6.2.0", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], + "dependencies": { + "esbuild": "^0.25.0", + "postcss": "^8.5.3", + "rollup": "^4.30.1" + }, + "bin": { + "vite": "bin/vite.js" + }, "engines": { - "node": ">=18" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } } }, - "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", - "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", - "cpu": [ - "x64" - ], + "node_modules/vite-node": { + "version": "3.0.7", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.4.0", + "es-module-lexer": "^1.6.0", + "pathe": "^2.0.3", + "vite": "^5.0.0 || ^6.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, "engines": { - "node": ">=18" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", - "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", - "cpu": [ - "x64" - ], + "node_modules/vite-node/node_modules/pathe": { + "version": "2.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/vite-plugin-electron": { + "version": "0.29.0", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" + "peerDependencies": { + "vite-plugin-electron-renderer": "*" + }, + "peerDependenciesMeta": { + "vite-plugin-electron-renderer": { + "optional": true + } } }, - "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", - "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", - "cpu": [ - "arm64" - ], + "node_modules/vite-plugin-electron-renderer": { + "version": "0.14.6", + "dev": true, + "license": "MIT" + }, + "node_modules/vite-plugin-javascript-obfuscator": { + "version": "3.1.0", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" + "dependencies": { + "anymatch": "~3.1.3", + "javascript-obfuscator": "^4.1.0" } }, - "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", - "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", - "cpu": [ - "ia32" - ], + "node_modules/vite-svg-loader": { + "version": "5.1.0", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" + "dependencies": { + "svgo": "^3.0.2" + }, + "peerDependencies": { + "vue": ">=3.2.13" } }, "node_modules/vite/node_modules/@esbuild/win32-x64": { "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz", - "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==", "cpu": [ "x64" ], @@ -22222,8 +16650,6 @@ }, "node_modules/vite/node_modules/esbuild": { "version": "0.25.0", - "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.25.0.tgz", - "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -22261,940 +16687,807 @@ "@esbuild/win32-x64": "0.25.0" } }, - "node_modules/vitest": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/vitest/-/vitest-3.0.7.tgz", - "integrity": "sha512-IP7gPK3LS3Fvn44x30X1dM9vtawm0aesAa2yBIZ9vQf+qB69NXC5776+Qmcr7ohUXIQuLhk7xQR0aSUIDPqavg==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/aix-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", + "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", + "cpu": [ + "ppc64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@vitest/expect": "3.0.7", - "@vitest/mocker": "3.0.7", - "@vitest/pretty-format": "^3.0.7", - "@vitest/runner": "3.0.7", - "@vitest/snapshot": "3.0.7", - "@vitest/spy": "3.0.7", - "@vitest/utils": "3.0.7", - "chai": "^5.2.0", - "debug": "^4.4.0", - "expect-type": "^1.1.0", - "magic-string": "^0.30.17", - "pathe": "^2.0.3", - "std-env": "^3.8.0", - "tinybench": "^2.9.0", - "tinyexec": "^0.3.2", - "tinypool": "^1.0.2", - "tinyrainbow": "^2.0.0", - "vite": "^5.0.0 || ^6.0.0", - "vite-node": "3.0.7", - "why-is-node-running": "^2.3.0" - }, - "bin": { - "vitest": "vitest.mjs" - }, + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "funding": { - "url": "https://opencollective.com/vitest" - }, - "peerDependencies": { - "@edge-runtime/vm": "*", - "@types/debug": "^4.1.12", - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "@vitest/browser": "3.0.7", - "@vitest/ui": "3.0.7", - "happy-dom": "*", - "jsdom": "*" - }, - "peerDependenciesMeta": { - "@edge-runtime/vm": { - "optional": true - }, - "@types/debug": { - "optional": true - }, - "@types/node": { - "optional": true - }, - "@vitest/browser": { - "optional": true - }, - "@vitest/ui": { - "optional": true - }, - "happy-dom": { - "optional": true - }, - "jsdom": { - "optional": true - } - } - }, - "node_modules/vitest/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" + "node": ">=18" + } }, - "node_modules/vscode-uri": { - "version": "3.0.8", - "resolved": "https://registry.npmmirror.com/vscode-uri/-/vscode-uri-3.0.8.tgz", - "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.25.0.tgz", + "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", + "cpu": [ + "arm" + ], "dev": true, - "license": "MIT" - }, - "node_modules/vue": { - "version": "3.5.13", - "resolved": "https://registry.npmmirror.com/vue/-/vue-3.5.13.tgz", - "integrity": "sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==", "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.13", - "@vue/compiler-sfc": "3.5.13", - "@vue/runtime-dom": "3.5.13", - "@vue/server-renderer": "3.5.13", - "@vue/shared": "3.5.13" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" } }, - "node_modules/vue-demi": { - "version": "0.14.10", - "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.10.tgz", - "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", - "hasInstallScript": true, + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", + "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } + "node": ">=18" } }, - "node_modules/vue-i18n": { - "version": "11.1.1", - "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-11.1.1.tgz", - "integrity": "sha512-0P6DkKy96R4Wh2sIZJEHw8ivnlD1pnB6Ib/eldoF1SUpQutfKZv6aMqZwICS1gW0rwq24ZSXw7y3jW+PRVYqWA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.25.0.tgz", + "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "@intlify/core-base": "11.1.1", - "@intlify/shared": "11.1.1", - "@vue/devtools-api": "^6.5.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/kazupon" - }, - "peerDependencies": { - "vue": "^3.0.0" + "node": ">=18" } }, - "node_modules/vue-i18n/node_modules/@vue/devtools-api": { - "version": "6.6.4", - "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", - "license": "MIT" - }, - "node_modules/vue-router": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.5.0.tgz", - "integrity": "sha512-HDuk+PuH5monfNuY+ct49mNmkCRK4xJAV9Ts4z9UFc4rzdDnxQLyCMGGc8pKhZhHTVzfanpNwB/lwqevcBwI4w==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "@vue/devtools-api": "^6.6.4" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "vue": "^3.2.0" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" } }, - "node_modules/vue-router/node_modules/@vue/devtools-api": { - "version": "6.6.4", - "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", - "license": "MIT" - }, - "node_modules/vue-tsc": { - "version": "2.2.6", - "resolved": "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-2.2.6.tgz", - "integrity": "sha512-TI6eAnWPatONEpVAZt1etbSrh8tDpHOLSlRqKGudOK5WKVnBGzHXUi0KR4UCsf2o5P+5285w4HF+5avhfH7IMA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/darwin-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", + "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@volar/typescript": "~2.4.11", - "@vue/language-core": "2.2.6" - }, - "bin": { - "vue-tsc": "bin/vue-tsc.js" - }, - "peerDependencies": { - "typescript": ">=5.0.0" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" } }, - "node_modules/vuedraggable": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/vuedraggable/-/vuedraggable-4.1.0.tgz", - "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", + "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "sortablejs": "1.14.0" - }, - "peerDependencies": { - "vue": "^3.0.1" + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" } }, - "node_modules/vuedraggable/node_modules/sortablejs": { - "version": "1.14.0", - "resolved": "https://registry.npmmirror.com/sortablejs/-/sortablejs-1.14.0.tgz", - "integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==", - "license": "MIT" - }, - "node_modules/vuepress": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/vuepress/-/vuepress-2.0.0-rc.19.tgz", - "integrity": "sha512-JDeuPTu14Kprdqx2geAryjFJvUzVaMnOLewlAgwVuZTygDWb8cgXhu9/p6rqzzdHETtIrvjbASBhH7JPyqmxmA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/freebsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", + "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@vuepress/cli": "2.0.0-rc.19", - "@vuepress/client": "2.0.0-rc.19", - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/markdown": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", - "vue": "^3.5.13" - }, - "bin": { - "vuepress": "bin/vuepress.js", - "vuepress-vite": "bin/vuepress-vite.js", - "vuepress-webpack": "bin/vuepress-webpack.js" - }, + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^18.19.0 || >=20.4.0" - }, - "peerDependencies": { - "@vuepress/bundler-vite": "2.0.0-rc.19", - "@vuepress/bundler-webpack": "2.0.0-rc.19", - "vue": "^3.5.0" - }, - "peerDependenciesMeta": { - "@vuepress/bundler-vite": { - "optional": true - }, - "@vuepress/bundler-webpack": { - "optional": true - } + "node": ">=18" } }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", + "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", + "cpu": [ + "arm" + ], "dev": true, "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/web-worker": { - "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/web-worker/-/web-worker-1.5.0.tgz", - "integrity": "sha512-RiMReJrTAiA+mBjGONMnjVDP2u3p9R1vkcGz6gDIrOMT3oGuYwX2WRMYI9ipkphSuE5XKEhydbhNEJh4NY9mlw==", - "license": "Apache-2.0" - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", + "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/webpack-virtual-modules": { - "version": "0.6.2", - "resolved": "https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz", - "integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==", - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/whatwg-encoding": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", - "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", + "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", + "cpu": [ + "ia32" + ], "dev": true, "license": "MIT", - "dependencies": { - "iconv-lite": "0.6.3" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=18" } }, - "node_modules/whatwg-mimetype": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", - "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-loong64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", + "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", + "cpu": [ + "loong64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=18" } }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-mips64el": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", + "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", + "cpu": [ + "mips64el" + ], "dev": true, "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 8" + "node": ">=18" } }, - "node_modules/which-boxed-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", - "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", + "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", + "cpu": [ + "ppc64" + ], "dev": true, "license": "MIT", - "dependencies": { - "is-bigint": "^1.1.0", - "is-boolean-object": "^1.2.1", - "is-number-object": "^1.1.1", - "is-string": "^1.1.1", - "is-symbol": "^1.1.1" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/which-builtin-type": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/which-builtin-type/-/which-builtin-type-1.2.1.tgz", - "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-riscv64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", + "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", + "cpu": [ + "riscv64" + ], "dev": true, "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "function.prototype.name": "^1.1.6", - "has-tostringtag": "^1.0.2", - "is-async-function": "^2.0.0", - "is-date-object": "^1.1.0", - "is-finalizationregistry": "^1.1.0", - "is-generator-function": "^1.0.10", - "is-regex": "^1.2.1", - "is-weakref": "^1.0.2", - "isarray": "^2.0.5", - "which-boxed-primitive": "^1.1.0", - "which-collection": "^1.0.2", - "which-typed-array": "^1.1.16" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/which-collection": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/which-collection/-/which-collection-1.0.2.tgz", - "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-s390x": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", + "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", + "cpu": [ + "s390x" + ], "dev": true, "license": "MIT", - "dependencies": { - "is-map": "^2.0.3", - "is-set": "^2.0.3", - "is-weakmap": "^2.0.2", - "is-weakset": "^2.0.3" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/which-typed-array": { - "version": "1.1.18", - "resolved": "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.18.tgz", - "integrity": "sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", + "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=18" } }, - "node_modules/why-is-node-running": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz", - "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", + "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "siginfo": "^2.0.0", - "stackback": "0.0.2" - }, - "bin": { - "why-is-node-running": "cli.js" - }, + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=8" - } - }, - "node_modules/wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmmirror.com/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" + "node": ">=18" } }, - "node_modules/wide-align/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/wide-align/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/netbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", + "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=8" + "node": ">=18" } }, - "node_modules/wide-align/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", + "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wmf": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/wmf/-/wmf-1.0.2.tgz", - "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", - "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=0.8" + "node": ">=18" } }, - "node_modules/word": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/word/-/word-0.3.0.tgz", - "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", - "license": "Apache-2.0", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/openbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", + "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=0.8" + "node": ">=18" } }, - "node_modules/word-wrap": { - "version": "1.2.5", - "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.5.tgz", - "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/sunos-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", + "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], "engines": { - "node": ">=0.10.0" + "node": ">=18" } }, - "node_modules/workbox-background-sync": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-background-sync/-/workbox-background-sync-7.3.0.tgz", - "integrity": "sha512-PCSk3eK7Mxeuyatb22pcSx9dlgWNv3+M8PqPaYDokks8Y5/FX4soaOqj3yhAZr5k6Q5JWTOMYgaJBpbw11G9Eg==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/win32-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", + "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "idb": "^7.0.1", - "workbox-core": "7.3.0" + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, - "node_modules/workbox-broadcast-update": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-broadcast-update/-/workbox-broadcast-update-7.3.0.tgz", - "integrity": "sha512-T9/F5VEdJVhwmrIAE+E/kq5at2OY6+OXXgOWQevnubal6sO92Gjo24v6dCVwQiclAF5NS3hlmsifRrpQzZCdUA==", + "node_modules/vite/node_modules/esbuild/node_modules/@esbuild/win32-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", + "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", + "cpu": [ + "ia32" + ], "dev": true, "license": "MIT", - "dependencies": { - "workbox-core": "7.3.0" + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, - "node_modules/workbox-build": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-build/-/workbox-build-7.3.0.tgz", - "integrity": "sha512-JGL6vZTPlxnlqZRhR/K/msqg3wKP+m0wfEUVosK7gsYzSgeIxvZLi1ViJJzVL7CEeI8r7rGFV973RiEqkP3lWQ==", + "node_modules/vite/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, + "hasInstallScript": true, "license": "MIT", - "dependencies": { - "@apideck/better-ajv-errors": "^0.3.1", - "@babel/core": "^7.24.4", - "@babel/preset-env": "^7.11.0", - "@babel/runtime": "^7.11.2", - "@rollup/plugin-babel": "^5.2.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-replace": "^2.4.1", - "@rollup/plugin-terser": "^0.4.3", - "@surma/rollup-plugin-off-main-thread": "^2.2.3", - "ajv": "^8.6.0", - "common-tags": "^1.8.0", - "fast-json-stable-stringify": "^2.1.0", - "fs-extra": "^9.0.1", - "glob": "^7.1.6", - "lodash": "^4.17.20", - "pretty-bytes": "^5.3.0", - "rollup": "^2.43.1", - "source-map": "^0.8.0-beta.0", - "stringify-object": "^3.3.0", - "strip-comments": "^2.0.1", - "tempy": "^0.6.0", - "upath": "^1.2.0", - "workbox-background-sync": "7.3.0", - "workbox-broadcast-update": "7.3.0", - "workbox-cacheable-response": "7.3.0", - "workbox-core": "7.3.0", - "workbox-expiration": "7.3.0", - "workbox-google-analytics": "7.3.0", - "workbox-navigation-preload": "7.3.0", - "workbox-precaching": "7.3.0", - "workbox-range-requests": "7.3.0", - "workbox-recipes": "7.3.0", - "workbox-routing": "7.3.0", - "workbox-strategies": "7.3.0", - "workbox-streams": "7.3.0", - "workbox-sw": "7.3.0", - "workbox-window": "7.3.0" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=16.0.0" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/workbox-build/node_modules/@apideck/better-ajv-errors": { - "version": "0.3.6", - "resolved": "https://registry.npmmirror.com/@apideck/better-ajv-errors/-/better-ajv-errors-0.3.6.tgz", - "integrity": "sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==", + "node_modules/vitest": { + "version": "3.0.7", "dev": true, "license": "MIT", "dependencies": { - "json-schema": "^0.4.0", - "jsonpointer": "^5.0.0", - "leven": "^3.1.0" + "@vitest/expect": "3.0.7", + "@vitest/mocker": "3.0.7", + "@vitest/pretty-format": "^3.0.7", + "@vitest/runner": "3.0.7", + "@vitest/snapshot": "3.0.7", + "@vitest/spy": "3.0.7", + "@vitest/utils": "3.0.7", + "chai": "^5.2.0", + "debug": "^4.4.0", + "expect-type": "^1.1.0", + "magic-string": "^0.30.17", + "pathe": "^2.0.3", + "std-env": "^3.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.2", + "tinypool": "^1.0.2", + "tinyrainbow": "^2.0.0", + "vite": "^5.0.0 || ^6.0.0", + "vite-node": "3.0.7", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" }, "engines": { - "node": ">=10" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "ajv": ">=8" + "@edge-runtime/vm": "*", + "@types/debug": "^4.1.12", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "@vitest/browser": "3.0.7", + "@vitest/ui": "3.0.7", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/debug": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } } }, - "node_modules/workbox-build/node_modules/@rollup/plugin-babel": { - "version": "5.3.1", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", - "integrity": "sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==", + "node_modules/vitest/node_modules/pathe": { + "version": "2.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/vscode-uri": { + "version": "3.1.0", "dev": true, + "license": "MIT" + }, + "node_modules/vue": { + "version": "3.5.13", "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - }, - "engines": { - "node": ">= 10.0.0" + "@vue/compiler-dom": "3.5.13", + "@vue/compiler-sfc": "3.5.13", + "@vue/runtime-dom": "3.5.13", + "@vue/server-renderer": "3.5.13", + "@vue/shared": "3.5.13" }, "peerDependencies": { - "@babel/core": "^7.0.0", - "@types/babel__core": "^7.1.9", - "rollup": "^1.20.0||^2.0.0" + "typescript": "*" }, "peerDependenciesMeta": { - "@types/babel__core": { + "typescript": { "optional": true } } }, - "node_modules/workbox-build/node_modules/@rollup/plugin-replace": { - "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz", - "integrity": "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==", - "dev": true, + "node_modules/vue-demi": { + "version": "0.14.10", + "hasInstallScript": true, "license": "MIT", - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" }, "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } } }, - "node_modules/workbox-build/node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, + "node_modules/vue-i18n": { + "version": "11.1.1", "license": "MIT", "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" + "@intlify/core-base": "11.1.1", + "@intlify/shared": "11.1.1", + "@vue/devtools-api": "^6.5.0" }, "engines": { - "node": ">= 8.0.0" + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" + "vue": "^3.0.0" } }, - "node_modules/workbox-build/node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true, + "node_modules/vue-i18n/node_modules/@vue/devtools-api": { + "version": "6.6.4", "license": "MIT" }, - "node_modules/workbox-build/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, + "node_modules/vue-router": { + "version": "4.5.0", "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" + "@vue/devtools-api": "^6.6.4" }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.2.0" } }, - "node_modules/workbox-build/node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true, + "node_modules/vue-router/node_modules/@vue/devtools-api": { + "version": "6.6.4", "license": "MIT" }, - "node_modules/workbox-build/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "node_modules/vue-tsc": { + "version": "2.2.8", "dev": true, "license": "MIT", "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "@volar/typescript": "~2.4.11", + "@vue/language-core": "2.2.8" }, - "engines": { - "node": ">=10" + "bin": { + "vue-tsc": "bin/vue-tsc.js" + }, + "peerDependencies": { + "typescript": ">=5.0.0" } }, - "node_modules/workbox-build/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "node_modules/workbox-build/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, + "node_modules/vuedraggable": { + "version": "4.1.0", "license": "MIT", "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/workbox-build/node_modules/pretty-bytes": { - "version": "5.6.0", - "resolved": "https://registry.npmmirror.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" + "sortablejs": "1.14.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "vue": "^3.0.1" } }, - "node_modules/workbox-build/node_modules/rollup": { - "version": "2.79.2", - "resolved": "https://registry.npmmirror.com/rollup/-/rollup-2.79.2.tgz", - "integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==", + "node_modules/vuedraggable/node_modules/sortablejs": { + "version": "1.14.0", + "license": "MIT" + }, + "node_modules/vuepress": { + "version": "2.0.0-rc.20", "dev": true, "license": "MIT", + "dependencies": { + "@vuepress/cli": "2.0.0-rc.20", + "@vuepress/client": "2.0.0-rc.20", + "@vuepress/core": "2.0.0-rc.20", + "@vuepress/markdown": "2.0.0-rc.20", + "@vuepress/shared": "2.0.0-rc.20", + "@vuepress/utils": "2.0.0-rc.20", + "vue": "^3.5.13" + }, "bin": { - "rollup": "dist/bin/rollup" + "vuepress": "bin/vuepress.js", + "vuepress-vite": "bin/vuepress-vite.js", + "vuepress-webpack": "bin/vuepress-webpack.js" }, "engines": { - "node": ">=10.0.0" + "node": "^18.19.0 || >=20.4.0" }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/workbox-build/node_modules/source-map": { - "version": "0.8.0-beta.0", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.8.0-beta.0.tgz", - "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "whatwg-url": "^7.0.0" + "peerDependencies": { + "@vuepress/bundler-vite": "2.0.0-rc.20", + "@vuepress/bundler-webpack": "2.0.0-rc.20", + "vue": "^3.5.0" }, - "engines": { - "node": ">= 8" + "peerDependenciesMeta": { + "@vuepress/bundler-vite": { + "optional": true + }, + "@vuepress/bundler-webpack": { + "optional": true + } } }, - "node_modules/workbox-build/node_modules/tr46": { + "node_modules/wcwidth": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", "dev": true, "license": "MIT", "dependencies": { - "punycode": "^2.1.0" + "defaults": "^1.0.3" } }, - "node_modules/workbox-build/node_modules/upath": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4", - "yarn": "*" - } + "node_modules/web-worker": { + "version": "1.5.0", + "license": "Apache-2.0" }, - "node_modules/workbox-build/node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "node_modules/webidl-conversions": { + "version": "3.0.1", "dev": true, "license": "BSD-2-Clause" }, - "node_modules/workbox-build/node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "node_modules/webpack-virtual-modules": { + "version": "0.6.2", + "license": "MIT" + }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", "dev": true, "license": "MIT", "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" } }, - "node_modules/workbox-cacheable-response": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-cacheable-response/-/workbox-cacheable-response-7.3.0.tgz", - "integrity": "sha512-eAFERIg6J2LuyELhLlmeRcJFa5e16Mj8kL2yCDbhWE+HUun9skRQrGIFVUagqWj4DMaaPSMWfAolM7XZZxNmxA==", + "node_modules/whatwg-mimetype": { + "version": "4.0.0", "dev": true, "license": "MIT", - "dependencies": { - "workbox-core": "7.3.0" + "engines": { + "node": ">=18" } }, - "node_modules/workbox-core": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-core/-/workbox-core-7.3.0.tgz", - "integrity": "sha512-Z+mYrErfh4t3zi7NVTvOuACB0A/jA3bgxUN3PwtAVHvfEsZxV9Iju580VEETug3zYJRc0Dmii/aixI/Uxj8fmw==", - "dev": true, - "license": "MIT" - }, - "node_modules/workbox-expiration": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-expiration/-/workbox-expiration-7.3.0.tgz", - "integrity": "sha512-lpnSSLp2BM+K6bgFCWc5bS1LR5pAwDWbcKt1iL87/eTSJRdLdAwGQznZE+1czLgn/X05YChsrEegTNxjM067vQ==", + "node_modules/whatwg-url": { + "version": "5.0.0", "dev": true, "license": "MIT", "dependencies": { - "idb": "^7.0.1", - "workbox-core": "7.3.0" + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" } }, - "node_modules/workbox-google-analytics": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-google-analytics/-/workbox-google-analytics-7.3.0.tgz", - "integrity": "sha512-ii/tSfFdhjLHZ2BrYgFNTrb/yk04pw2hasgbM70jpZfLk0vdJAXgaiMAWsoE+wfJDNWoZmBYY0hMVI0v5wWDbg==", - "dev": true, - "license": "MIT", + "node_modules/which": { + "version": "2.0.2", + "license": "ISC", "dependencies": { - "workbox-background-sync": "7.3.0", - "workbox-core": "7.3.0", - "workbox-routing": "7.3.0", - "workbox-strategies": "7.3.0" + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" } }, - "node_modules/workbox-navigation-preload": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-navigation-preload/-/workbox-navigation-preload-7.3.0.tgz", - "integrity": "sha512-fTJzogmFaTv4bShZ6aA7Bfj4Cewaq5rp30qcxl2iYM45YD79rKIhvzNHiFj1P+u5ZZldroqhASXwwoyusnr2cg==", + "node_modules/which-typed-array": { + "version": "1.1.18", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "7.3.0" + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/workbox-precaching": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-precaching/-/workbox-precaching-7.3.0.tgz", - "integrity": "sha512-ckp/3t0msgXclVAYaNndAGeAoWQUv7Rwc4fdhWL69CCAb2UHo3Cef0KIUctqfQj1p8h6aGyz3w8Cy3Ihq9OmIw==", + "node_modules/why-is-node-running": { + "version": "2.3.0", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "7.3.0", - "workbox-routing": "7.3.0", - "workbox-strategies": "7.3.0" + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" } }, - "node_modules/workbox-range-requests": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-range-requests/-/workbox-range-requests-7.3.0.tgz", - "integrity": "sha512-EyFmM1KpDzzAouNF3+EWa15yDEenwxoeXu9bgxOEYnFfCxns7eAxA9WSSaVd8kujFFt3eIbShNqa4hLQNFvmVQ==", + "node_modules/wide-align": { + "version": "1.1.5", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "workbox-core": "7.3.0" + "string-width": "^1.0.2 || 2 || 3 || 4" } }, - "node_modules/workbox-recipes": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-recipes/-/workbox-recipes-7.3.0.tgz", - "integrity": "sha512-BJro/MpuW35I/zjZQBcoxsctgeB+kyb2JAP5EB3EYzePg8wDGoQuUdyYQS+CheTb+GhqJeWmVs3QxLI8EBP1sg==", + "node_modules/wide-align/node_modules/emoji-regex": { + "version": "8.0.0", "dev": true, - "license": "MIT", - "dependencies": { - "workbox-cacheable-response": "7.3.0", - "workbox-core": "7.3.0", - "workbox-expiration": "7.3.0", - "workbox-precaching": "7.3.0", - "workbox-routing": "7.3.0", - "workbox-strategies": "7.3.0" - } + "license": "MIT" }, - "node_modules/workbox-routing": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-routing/-/workbox-routing-7.3.0.tgz", - "integrity": "sha512-ZUlysUVn5ZUzMOmQN3bqu+gK98vNfgX/gSTZ127izJg/pMMy4LryAthnYtjuqcjkN4HEAx1mdgxNiKJMZQM76A==", + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", "dev": true, "license": "MIT", - "dependencies": { - "workbox-core": "7.3.0" + "engines": { + "node": ">=8" } }, - "node_modules/workbox-strategies": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-strategies/-/workbox-strategies-7.3.0.tgz", - "integrity": "sha512-tmZydug+qzDFATwX7QiEL5Hdf7FrkhjaF9db1CbB39sDmEZJg3l9ayDvPxy8Y18C3Y66Nrr9kkN1f/RlkDgllg==", + "node_modules/wide-align/node_modules/string-width": { + "version": "4.2.3", "dev": true, "license": "MIT", "dependencies": { - "workbox-core": "7.3.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" } }, - "node_modules/workbox-streams": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-streams/-/workbox-streams-7.3.0.tgz", - "integrity": "sha512-SZnXucyg8x2Y61VGtDjKPO5EgPUG5NDn/v86WYHX+9ZqvAsGOytP0Jxp1bl663YUuMoXSAtsGLL+byHzEuMRpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "workbox-core": "7.3.0", - "workbox-routing": "7.3.0" + "node_modules/wmf": { + "version": "1.0.2", + "license": "Apache-2.0", + "engines": { + "node": ">=0.8" } }, - "node_modules/workbox-sw": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-sw/-/workbox-sw-7.3.0.tgz", - "integrity": "sha512-aCUyoAZU9IZtH05mn0ACUpyHzPs0lMeJimAYkQkBsOWiqaJLgusfDCR+yllkPkFRxWpZKF8vSvgHYeG7LwhlmA==", - "dev": true, - "license": "MIT" + "node_modules/word": { + "version": "0.3.0", + "license": "Apache-2.0", + "engines": { + "node": ">=0.8" + } }, - "node_modules/workbox-window": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/workbox-window/-/workbox-window-7.3.0.tgz", - "integrity": "sha512-qW8PDy16OV1UBaUNGlTVcepzrlzyzNW/ZJvFQQs2j2TzGsg6IKjcpZC1RSquqQnTOafl5pCj5bGfAHlCjOOjdA==", + "node_modules/word-wrap": { + "version": "1.2.5", "dev": true, "license": "MIT", - "dependencies": { - "@types/trusted-types": "^2.0.2", - "workbox-core": "7.3.0" + "engines": { + "node": ">=0.10.0" } }, "node_modules/workerd": { - "version": "1.20250124.0", - "resolved": "https://registry.npmmirror.com/workerd/-/workerd-1.20250124.0.tgz", - "integrity": "sha512-EnT9gN3M9/UHRFPZptKgK36DLOW8WfJV7cjNs3zstVbmF5cpFaHCAzX7tXWBO6zyvW/+EjklJPFtOvfatiZsuQ==", + "version": "1.20250214.0", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -23205,17 +17498,83 @@ "node": ">=16" }, "optionalDependencies": { - "@cloudflare/workerd-darwin-64": "1.20250124.0", - "@cloudflare/workerd-darwin-arm64": "1.20250124.0", - "@cloudflare/workerd-linux-64": "1.20250124.0", - "@cloudflare/workerd-linux-arm64": "1.20250124.0", - "@cloudflare/workerd-windows-64": "1.20250124.0" + "@cloudflare/workerd-darwin-64": "1.20250214.0", + "@cloudflare/workerd-darwin-arm64": "1.20250214.0", + "@cloudflare/workerd-linux-64": "1.20250214.0", + "@cloudflare/workerd-linux-arm64": "1.20250214.0", + "@cloudflare/workerd-windows-64": "1.20250214.0" + } + }, + "node_modules/workerd/node_modules/@cloudflare/workerd-darwin-64": { + "version": "1.20250214.0", + "resolved": "https://registry.npmmirror.com/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20250214.0.tgz", + "integrity": "sha512-cDvvedWDc5zrgDnuXe2qYcz/TwBvzmweO55C7XpPuAWJ9Oqxv81PkdekYxD8mH989aQ/GI5YD0Fe6fDYlM+T3Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/workerd/node_modules/@cloudflare/workerd-darwin-arm64": { + "version": "1.20250214.0", + "resolved": "https://registry.npmmirror.com/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20250214.0.tgz", + "integrity": "sha512-NytCvRveVzu0mRKo+tvZo3d/gCUway3B2ZVqSi/TS6NXDGBYIJo7g6s3BnTLS74kgyzeDOjhu9j/RBJBS809qw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/workerd/node_modules/@cloudflare/workerd-linux-64": { + "version": "1.20250214.0", + "resolved": "https://registry.npmmirror.com/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20250214.0.tgz", + "integrity": "sha512-pQ7+aHNHj8SiYEs4d/6cNoimE5xGeCMfgU1yfDFtA9YGN9Aj2BITZgOWPec+HW7ZkOy9oWlNrO6EvVjGgB4tbQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/workerd/node_modules/@cloudflare/workerd-linux-arm64": { + "version": "1.20250214.0", + "resolved": "https://registry.npmmirror.com/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20250214.0.tgz", + "integrity": "sha512-Vhlfah6Yd9ny1npNQjNgElLIjR6OFdEbuR3LCfbLDCwzWEBFhIf7yC+Tpp/a0Hq7kLz3sLdktaP7xl3PJhyOjA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" } }, "node_modules/wrangler": { - "version": "3.107.0", - "resolved": "https://registry.npmmirror.com/wrangler/-/wrangler-3.107.0.tgz", - "integrity": "sha512-Rb/fFZDHSiGNQte13Mem0O7oGKs77MfodImB3WbBD+xS0S/fxMYMwuVzkNlOGLBYYnwKx2V2/k8GpK5dJsRLhQ==", + "version": "3.111.0", "dev": true, "license": "MIT OR Apache-2.0", "dependencies": { @@ -23224,11 +17583,10 @@ "@esbuild-plugins/node-modules-polyfill": "0.2.2", "blake3-wasm": "2.1.5", "esbuild": "0.17.19", - "miniflare": "3.20250124.1", + "miniflare": "3.20250214.1", "path-to-regexp": "6.3.0", - "sharp": "^0.33.5", "unenv": "2.0.0-rc.1", - "workerd": "1.20250124.0" + "workerd": "1.20250214.0" }, "bin": { "wrangler": "bin/wrangler.js", @@ -23238,10 +17596,11 @@ "node": ">=16.17.0" }, "optionalDependencies": { - "fsevents": "~2.3.2" + "fsevents": "~2.3.2", + "sharp": "^0.33.5" }, "peerDependencies": { - "@cloudflare/workers-types": "^4.20250121.0" + "@cloudflare/workers-types": "^4.20250214.0" }, "peerDependenciesMeta": { "@cloudflare/workers-types": { @@ -23249,7 +17608,58 @@ } } }, - "node_modules/wrangler/node_modules/@esbuild/android-arm": { + "node_modules/wrangler/node_modules/@esbuild/win32-x64": { + "version": "0.17.19", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/wrangler/node_modules/esbuild": { + "version": "0.17.19", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.17.19", + "@esbuild/android-arm64": "0.17.19", + "@esbuild/android-x64": "0.17.19", + "@esbuild/darwin-arm64": "0.17.19", + "@esbuild/darwin-x64": "0.17.19", + "@esbuild/freebsd-arm64": "0.17.19", + "@esbuild/freebsd-x64": "0.17.19", + "@esbuild/linux-arm": "0.17.19", + "@esbuild/linux-arm64": "0.17.19", + "@esbuild/linux-ia32": "0.17.19", + "@esbuild/linux-loong64": "0.17.19", + "@esbuild/linux-mips64el": "0.17.19", + "@esbuild/linux-ppc64": "0.17.19", + "@esbuild/linux-riscv64": "0.17.19", + "@esbuild/linux-s390x": "0.17.19", + "@esbuild/linux-x64": "0.17.19", + "@esbuild/netbsd-x64": "0.17.19", + "@esbuild/openbsd-x64": "0.17.19", + "@esbuild/sunos-x64": "0.17.19", + "@esbuild/win32-arm64": "0.17.19", + "@esbuild/win32-ia32": "0.17.19", + "@esbuild/win32-x64": "0.17.19" + } + }, + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/android-arm": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.17.19.tgz", "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", @@ -23266,7 +17676,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/android-arm64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/android-arm64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", @@ -23283,7 +17693,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/android-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/android-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.17.19.tgz", "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", @@ -23300,7 +17710,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/darwin-arm64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/darwin-arm64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", @@ -23317,7 +17727,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/darwin-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/darwin-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", @@ -23334,7 +17744,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/freebsd-arm64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", @@ -23351,7 +17761,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/freebsd-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/freebsd-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", @@ -23368,7 +17778,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-arm": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-arm": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", @@ -23385,7 +17795,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-arm64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-arm64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", @@ -23402,7 +17812,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-ia32": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-ia32": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", @@ -23419,7 +17829,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-loong64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-loong64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", @@ -23436,7 +17846,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-mips64el": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-mips64el": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", @@ -23453,7 +17863,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-ppc64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-ppc64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", @@ -23470,7 +17880,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-riscv64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-riscv64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", @@ -23487,7 +17897,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-s390x": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-s390x": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", @@ -23504,7 +17914,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/linux-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/linux-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", @@ -23521,7 +17931,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/netbsd-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/netbsd-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", @@ -23538,7 +17948,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/openbsd-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/openbsd-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", @@ -23555,7 +17965,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/sunos-x64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/sunos-x64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", @@ -23572,7 +17982,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/win32-arm64": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/win32-arm64": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", @@ -23589,7 +17999,7 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/win32-ia32": { + "node_modules/wrangler/node_modules/esbuild/node_modules/@esbuild/win32-ia32": { "version": "0.17.19", "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", @@ -23606,67 +18016,26 @@ "node": ">=12" } }, - "node_modules/wrangler/node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], + "node_modules/wrangler/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, + "hasInstallScript": true, "license": "MIT", "optional": true, "os": [ - "win32" + "darwin" ], "engines": { - "node": ">=12" - } - }, - "node_modules/wrangler/node_modules/esbuild": { - "version": "0.17.19", - "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.17.19.tgz", - "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.17.19", - "@esbuild/android-arm64": "0.17.19", - "@esbuild/android-x64": "0.17.19", - "@esbuild/darwin-arm64": "0.17.19", - "@esbuild/darwin-x64": "0.17.19", - "@esbuild/freebsd-arm64": "0.17.19", - "@esbuild/freebsd-x64": "0.17.19", - "@esbuild/linux-arm": "0.17.19", - "@esbuild/linux-arm64": "0.17.19", - "@esbuild/linux-ia32": "0.17.19", - "@esbuild/linux-loong64": "0.17.19", - "@esbuild/linux-mips64el": "0.17.19", - "@esbuild/linux-ppc64": "0.17.19", - "@esbuild/linux-riscv64": "0.17.19", - "@esbuild/linux-s390x": "0.17.19", - "@esbuild/linux-x64": "0.17.19", - "@esbuild/netbsd-x64": "0.17.19", - "@esbuild/openbsd-x64": "0.17.19", - "@esbuild/sunos-x64": "0.17.19", - "@esbuild/win32-arm64": "0.17.19", - "@esbuild/win32-ia32": "0.17.19", - "@esbuild/win32-x64": "0.17.19" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, "node_modules/wrangler/node_modules/semver": { "version": "7.7.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", "dev": true, "license": "ISC", + "optional": true, "bin": { "semver": "bin/semver.js" }, @@ -23676,11 +18045,10 @@ }, "node_modules/wrangler/node_modules/sharp": { "version": "0.33.5", - "resolved": "https://registry.npmmirror.com/sharp/-/sharp-0.33.5.tgz", - "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", + "optional": true, "dependencies": { "color": "^4.2.3", "detect-libc": "^2.0.3", @@ -23716,8 +18084,6 @@ }, "node_modules/wrangler/node_modules/unenv": { "version": "2.0.0-rc.1", - "resolved": "https://registry.npmmirror.com/unenv/-/unenv-2.0.0-rc.1.tgz", - "integrity": "sha512-PU5fb40H8X149s117aB4ytbORcCvlASdtF97tfls4BPIyj4PeVxvpSuy1jAptqYHqB0vb2w2sHvzM0XWcp2OKg==", "dev": true, "license": "MIT", "dependencies": { @@ -23730,8 +18096,6 @@ }, "node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -23748,8 +18112,6 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { @@ -23766,15 +18128,11 @@ }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", "engines": { @@ -23783,8 +18141,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", "dependencies": { @@ -23798,14 +18154,10 @@ }, "node_modules/wrap-ansi/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", "engines": { "node": ">=8" @@ -23813,8 +18165,6 @@ }, "node_modules/wrap-ansi/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -23827,15 +18177,11 @@ }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "devOptional": true, "license": "ISC" }, "node_modules/ws": { "version": "8.18.1", - "resolved": "https://registry.npmmirror.com/ws/-/ws-8.18.1.tgz", - "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -23855,8 +18201,6 @@ }, "node_modules/xlsx": { "version": "0.18.5", - "resolved": "https://registry.npmmirror.com/xlsx/-/xlsx-0.18.5.tgz", - "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==", "license": "Apache-2.0", "dependencies": { "adler-32": "~1.3.0", @@ -23876,8 +18220,6 @@ }, "node_modules/xmlbuilder": { "version": "15.1.1", - "resolved": "https://registry.npmmirror.com/xmlbuilder/-/xmlbuilder-15.1.1.tgz", - "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==", "dev": true, "license": "MIT", "engines": { @@ -23886,15 +18228,11 @@ }, "node_modules/xmlcreate": { "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/xmlcreate/-/xmlcreate-2.0.4.tgz", - "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", "dev": true, "license": "Apache-2.0" }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmmirror.com/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "license": "ISC", "engines": { "node": ">=10" @@ -23902,14 +18240,10 @@ }, "node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" }, "node_modules/yaml": { "version": "2.7.0", - "resolved": "https://registry.npmmirror.com/yaml/-/yaml-2.7.0.tgz", - "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==", "dev": true, "license": "ISC", "bin": { @@ -23921,15 +18255,11 @@ }, "node_modules/yaml-ast-parser": { "version": "0.0.43", - "resolved": "https://registry.npmmirror.com/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", - "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==", "dev": true, "license": "Apache-2.0" }, "node_modules/yargs": { "version": "17.7.2", - "resolved": "https://registry.npmmirror.com/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "license": "MIT", "dependencies": { "cliui": "^8.0.1", @@ -23946,8 +18276,6 @@ }, "node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "license": "ISC", "engines": { "node": ">=12" @@ -23955,14 +18283,10 @@ }, "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, "node_modules/yargs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", "engines": { "node": ">=8" @@ -23970,8 +18294,6 @@ }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -23984,8 +18306,6 @@ }, "node_modules/yauzl": { "version": "2.10.0", - "resolved": "https://registry.npmmirror.com/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", "dev": true, "license": "MIT", "dependencies": { @@ -23995,8 +18315,6 @@ }, "node_modules/yocto-queue": { "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, "license": "MIT", "engines": { @@ -24008,8 +18326,6 @@ }, "node_modules/yoctocolors": { "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/yoctocolors/-/yoctocolors-2.1.1.tgz", - "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", "dev": true, "license": "MIT", "engines": { @@ -24020,21 +18336,17 @@ } }, "node_modules/youch": { - "version": "3.3.4", - "resolved": "https://registry.npmmirror.com/youch/-/youch-3.3.4.tgz", - "integrity": "sha512-UeVBXie8cA35DS6+nBkls68xaBBXCye0CNznrhszZjTbRVnJKQuNsyLKBTTL4ln1o1rh2PKtv35twV7irj5SEg==", + "version": "3.2.3", "dev": true, "license": "MIT", "dependencies": { - "cookie": "^0.7.1", + "cookie": "^0.5.0", "mustache": "^4.2.0", "stacktracey": "^2.1.8" } }, "node_modules/zip-stream": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/zip-stream/-/zip-stream-4.1.1.tgz", - "integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==", "dev": true, "license": "MIT", "peer": true, @@ -24049,8 +18361,6 @@ }, "node_modules/zip-stream/node_modules/archiver-utils": { "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-3.0.4.tgz", - "integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==", "dev": true, "license": "MIT", "peer": true, @@ -24071,9 +18381,7 @@ } }, "node_modules/zod": { - "version": "3.24.1", - "resolved": "https://registry.npmmirror.com/zod/-/zod-3.24.1.tgz", - "integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==", + "version": "3.22.3", "dev": true, "license": "MIT", "funding": {