glossator 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -0
- package/dist/feedback-layer.js +1122 -0
- package/dist/feedback-layer.js.map +7 -0
- package/package.json +43 -0
|
@@ -0,0 +1,1122 @@
|
|
|
1
|
+
var FeedbackLayer=(()=>{var $E=Object.create;var Ls=Object.defineProperty;var FE=Object.getOwnPropertyDescriptor;var LE=Object.getOwnPropertyNames;var DE=Object.getPrototypeOf,BE=Object.prototype.hasOwnProperty;var a=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var GE=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of LE(r))!BE.call(e,i)&&i!==t&&Ls(e,i,{get:()=>r[i],enumerable:!(n=FE(r,i))||n.enumerable});return e};var y=(e,r,t)=>(t=e!=null?$E(DE(e)):{},GE(r||!e||!e.__esModule?Ls(t,"default",{value:e,enumerable:!0}):t,e));var k=a((fU,Hs)=>{"use strict";Hs.exports=function(e){try{return!!e()}catch{return!0}}});var Ir=a((vU,Ks)=>{"use strict";var UE=k();Ks.exports=!UE(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var A=a((pU,Ys)=>{"use strict";var zs=Ir(),Vs=Function.prototype,Ui=Vs.call,WE=zs&&Vs.bind.bind(Ui,Ui);Ys.exports=zs?WE:function(e){return function(){return Ui.apply(e,arguments)}}});var B=a((dU,Js)=>{"use strict";var HE=A();Js.exports=HE({}.isPrototypeOf)});var P=a((Wi,Qs)=>{"use strict";var it=function(e){return e&&e.Math===Math&&e};Qs.exports=it(typeof globalThis=="object"&&globalThis)||it(typeof window=="object"&&window)||it(typeof self=="object"&&self)||it(typeof global=="object"&&global)||it(typeof Wi=="object"&&Wi)||function(){return this}()||Function("return this")()});var kr=a((hU,rc)=>{"use strict";var KE=Ir(),ec=Function.prototype,Xs=ec.apply,Zs=ec.call;rc.exports=typeof Reflect=="object"&&Reflect.apply||(KE?Zs.bind(Xs):function(){return Zs.apply(Xs,arguments)})});var qe=a((mU,nc)=>{"use strict";var tc=A(),zE=tc({}.toString),VE=tc("".slice);nc.exports=function(e){return VE(zE(e),8,-1)}});var at=a((yU,ic)=>{"use strict";var YE=qe(),JE=A();ic.exports=function(e){if(YE(e)==="Function")return JE(e)}});var N=a((gU,ac)=>{"use strict";var Hi=typeof document=="object"&&document.all;ac.exports=typeof Hi>"u"&&Hi!==void 0?function(e){return typeof e=="function"||e===Hi}:function(e){return typeof e=="function"}});var G=a((bU,oc)=>{"use strict";var QE=k();oc.exports=!QE(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var D=a((qU,uc)=>{"use strict";var XE=Ir(),cn=Function.prototype.call;uc.exports=XE?cn.bind(cn):function(){return cn.apply(cn,arguments)}});var Ki=a(lc=>{"use strict";var sc={}.propertyIsEnumerable,cc=Object.getOwnPropertyDescriptor,ZE=cc&&!sc.call({1:2},1);lc.f=ZE?function(r){var t=cc(this,r);return!!t&&t.enumerable}:sc});var We=a((SU,fc)=>{"use strict";fc.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var ln=a((wU,vc)=>{"use strict";var eC=A(),rC=k(),tC=qe(),zi=Object,nC=eC("".split);vc.exports=rC(function(){return!zi("z").propertyIsEnumerable(0)})?function(e){return tC(e)==="String"?nC(e,""):zi(e)}:zi});var nr=a((TU,pc)=>{"use strict";pc.exports=function(e){return e==null}});var ir=a((OU,dc)=>{"use strict";var iC=nr(),aC=TypeError;dc.exports=function(e){if(iC(e))throw new aC("Can't call method on "+e);return e}});var Ce=a((EU,hc)=>{"use strict";var oC=ln(),uC=ir();hc.exports=function(e){return oC(uC(e))}});var $=a((CU,mc)=>{"use strict";var sC=N();mc.exports=function(e){return typeof e=="object"?e!==null:sC(e)}});var K=a((IU,yc)=>{"use strict";yc.exports={}});var U=a((kU,bc)=>{"use strict";var Vi=K(),Yi=P(),cC=N(),gc=function(e){return cC(e)?e:void 0};bc.exports=function(e,r){return arguments.length<2?gc(Vi[e])||gc(Yi[e]):Vi[e]&&Vi[e][r]||Yi[e]&&Yi[e][r]}});var _r=a((_U,Sc)=>{"use strict";var lC=P(),qc=lC.navigator,xc=qc&&qc.userAgent;Sc.exports=xc?String(xc):""});var Pr=a((PU,Ic)=>{"use strict";var Cc=P(),Ji=_r(),wc=Cc.process,Tc=Cc.Deno,Oc=wc&&wc.versions||Tc&&Tc.version,Ec=Oc&&Oc.v8,de,fn;Ec&&(de=Ec.split("."),fn=de[0]>0&&de[0]<4?1:+(de[0]+de[1]));!fn&&Ji&&(de=Ji.match(/Edge\/(\d+)/),(!de||de[1]>=74)&&(de=Ji.match(/Chrome\/(\d+)/),de&&(fn=+de[1])));Ic.exports=fn});var ar=a((RU,_c)=>{"use strict";var kc=Pr(),fC=k(),vC=P(),pC=vC.String;_c.exports=!!Object.getOwnPropertySymbols&&!fC(function(){var e=Symbol("symbol detection");return!pC(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kc&&kc<41})});var Qi=a((AU,Pc)=>{"use strict";var dC=ar();Pc.exports=dC&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Rr=a((NU,Rc)=>{"use strict";var hC=U(),mC=N(),yC=B(),gC=Qi(),bC=Object;Rc.exports=gC?function(e){return typeof e=="symbol"}:function(e){var r=hC("Symbol");return mC(r)&&yC(r.prototype,bC(e))}});var He=a((MU,Ac)=>{"use strict";var qC=String;Ac.exports=function(e){try{return qC(e)}catch{return"Object"}}});var L=a((jU,Nc)=>{"use strict";var xC=N(),SC=He(),wC=TypeError;Nc.exports=function(e){if(xC(e))return e;throw new wC(SC(e)+" is not a function")}});var vn=a(($U,Mc)=>{"use strict";var TC=L(),OC=nr();Mc.exports=function(e,r){var t=e[r];return OC(t)?void 0:TC(t)}});var $c=a((FU,jc)=>{"use strict";var Xi=D(),Zi=N(),ea=$(),EC=TypeError;jc.exports=function(e,r){var t,n;if(r==="string"&&Zi(t=e.toString)&&!ea(n=Xi(t,e))||Zi(t=e.valueOf)&&!ea(n=Xi(t,e))||r!=="string"&&Zi(t=e.toString)&&!ea(n=Xi(t,e)))return n;throw new EC("Can't convert object to primitive value")}});var X=a((LU,Fc)=>{"use strict";Fc.exports=!0});var Bc=a((DU,Dc)=>{"use strict";var Lc=P(),CC=Object.defineProperty;Dc.exports=function(e,r){try{CC(Lc,e,{value:r,configurable:!0,writable:!0})}catch{Lc[e]=r}return r}});var ot=a((BU,Wc)=>{"use strict";var IC=X(),kC=P(),_C=Bc(),Gc="__core-js_shared__",Uc=Wc.exports=kC[Gc]||_C(Gc,{});(Uc.versions||(Uc.versions=[])).push({version:"3.48.0",mode:IC?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var or=a((GU,Kc)=>{"use strict";var Hc=ot();Kc.exports=function(e,r){return Hc[e]||(Hc[e]=r||{})}});var ee=a((UU,zc)=>{"use strict";var PC=ir(),RC=Object;zc.exports=function(e){return RC(PC(e))}});var W=a((WU,Vc)=>{"use strict";var AC=A(),NC=ee(),MC=AC({}.hasOwnProperty);Vc.exports=Object.hasOwn||function(r,t){return MC(NC(r),t)}});var Ar=a((HU,Yc)=>{"use strict";var jC=A(),$C=0,FC=Math.random(),LC=jC(1.1.toString);Yc.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+LC(++$C+FC,36)}});var R=a((KU,Qc)=>{"use strict";var DC=P(),BC=or(),Jc=W(),GC=Ar(),UC=ar(),WC=Qi(),Nr=DC.Symbol,ra=BC("wks"),HC=WC?Nr.for||Nr:Nr&&Nr.withoutSetter||GC;Qc.exports=function(e){return Jc(ra,e)||(ra[e]=UC&&Jc(Nr,e)?Nr[e]:HC("Symbol."+e)),ra[e]}});var rl=a((zU,el)=>{"use strict";var KC=D(),Xc=$(),Zc=Rr(),zC=vn(),VC=$c(),YC=R(),JC=TypeError,QC=YC("toPrimitive");el.exports=function(e,r){if(!Xc(e)||Zc(e))return e;var t=zC(e,QC),n;if(t){if(r===void 0&&(r="default"),n=KC(t,e,r),!Xc(n)||Zc(n))return n;throw new JC("Can't convert object to primitive value")}return r===void 0&&(r="number"),VC(e,r)}});var pn=a((VU,tl)=>{"use strict";var XC=rl(),ZC=Rr();tl.exports=function(e){var r=XC(e,"string");return ZC(r)?r:r+""}});var dn=a((YU,il)=>{"use strict";var eI=P(),nl=$(),ta=eI.document,rI=nl(ta)&&nl(ta.createElement);il.exports=function(e){return rI?ta.createElement(e):{}}});var na=a((JU,al)=>{"use strict";var tI=G(),nI=k(),iI=dn();al.exports=!tI&&!nI(function(){return Object.defineProperty(iI("div"),"a",{get:function(){return 7}}).a!==7})});var ut=a(ul=>{"use strict";var aI=G(),oI=D(),uI=Ki(),sI=We(),cI=Ce(),lI=pn(),fI=W(),vI=na(),ol=Object.getOwnPropertyDescriptor;ul.f=aI?ol:function(r,t){if(r=cI(r),t=lI(t),vI)try{return ol(r,t)}catch{}if(fI(r,t))return sI(!oI(uI.f,r,t),r[t])}});var ia=a((XU,sl)=>{"use strict";var pI=k(),dI=N(),hI=/#|\.prototype\./,st=function(e,r){var t=yI[mI(e)];return t===bI?!0:t===gI?!1:dI(r)?pI(r):!!r},mI=st.normalize=function(e){return String(e).replace(hI,".").toLowerCase()},yI=st.data={},gI=st.NATIVE="N",bI=st.POLYFILL="P";sl.exports=st});var z=a((ZU,ll)=>{"use strict";var cl=at(),qI=L(),xI=Ir(),SI=cl(cl.bind);ll.exports=function(e,r){return qI(e),r===void 0?e:xI?SI(e,r):function(){return e.apply(r,arguments)}}});var aa=a((eW,fl)=>{"use strict";var wI=G(),TI=k();fl.exports=wI&&TI(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Q=a((rW,vl)=>{"use strict";var OI=$(),EI=String,CI=TypeError;vl.exports=function(e){if(OI(e))return e;throw new CI(EI(e)+" is not an object")}});var re=a(dl=>{"use strict";var II=G(),kI=na(),_I=aa(),hn=Q(),pl=pn(),PI=TypeError,oa=Object.defineProperty,RI=Object.getOwnPropertyDescriptor,ua="enumerable",sa="configurable",ca="writable";dl.f=II?_I?function(r,t,n){if(hn(r),t=pl(t),hn(n),typeof r=="function"&&t==="prototype"&&"value"in n&&ca in n&&!n[ca]){var i=RI(r,t);i&&i[ca]&&(r[t]=n.value,n={configurable:sa in n?n[sa]:i[sa],enumerable:ua in n?n[ua]:i[ua],writable:!1})}return oa(r,t,n)}:oa:function(r,t,n){if(hn(r),t=pl(t),hn(n),kI)try{return oa(r,t,n)}catch{}if("get"in n||"set"in n)throw new PI("Accessors not supported");return"value"in n&&(r[t]=n.value),r}});var xe=a((nW,hl)=>{"use strict";var AI=G(),NI=re(),MI=We();hl.exports=AI?function(e,r,t){return NI.f(e,r,MI(1,t))}:function(e,r,t){return e[r]=t,e}});var g=a((iW,yl)=>{"use strict";var ct=P(),jI=kr(),$I=at(),FI=N(),LI=ut().f,DI=ia(),Mr=K(),BI=z(),jr=xe(),ml=W();ot();var GI=function(e){var r=function(t,n,i){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return jI(e,this,arguments)};return r.prototype=e.prototype,r};yl.exports=function(e,r){var t=e.target,n=e.global,i=e.stat,o=e.proto,u=n?ct:i?ct[t]:ct[t]&&ct[t].prototype,c=n?Mr:Mr[t]||jr(Mr,t,{})[t],s=c.prototype,l,f,p,v,d,m,h,q,b;for(v in r)l=DI(n?v:t+(i?".":"#")+v,e.forced),f=!l&&u&&ml(u,v),m=c[v],f&&(e.dontCallGetSet?(b=LI(u,v),h=b&&b.value):h=u[v]),d=f&&h?h:r[v],!(!l&&!o&&typeof m==typeof d)&&(e.bind&&f?q=BI(d,ct):e.wrap&&f?q=GI(d):o&&FI(d)?q=$I(d):q=d,(e.sham||d&&d.sham||m&&m.sham)&&jr(q,"sham",!0),jr(c,v,q),o&&(p=t+"Prototype",ml(Mr,p)||jr(Mr,p,{}),jr(Mr[p],v,d),e.real&&s&&(l||!s[v])&&jr(s,v,d)))}});var Ie=a((aW,gl)=>{"use strict";var UI=qe();gl.exports=Array.isArray||function(r){return UI(r)==="Array"}});var mn=a((oW,ql)=>{"use strict";var WI=R(),HI=WI("toStringTag"),bl={};bl[HI]="z";ql.exports=String(bl)==="[object z]"});var lt=a((uW,xl)=>{"use strict";var KI=mn(),zI=N(),yn=qe(),VI=R(),YI=VI("toStringTag"),JI=Object,QI=yn(function(){return arguments}())==="Arguments",XI=function(e,r){try{return e[r]}catch{}};xl.exports=KI?yn:function(e){var r,t,n;return e===void 0?"Undefined":e===null?"Null":typeof(t=XI(r=JI(e),YI))=="string"?t:QI?yn(r):(n=yn(r))==="Object"&&zI(r.callee)?"Arguments":n}});var fa=a((sW,Sl)=>{"use strict";var ZI=A(),ek=N(),la=ot(),rk=ZI(Function.toString);ek(la.inspectSource)||(la.inspectSource=function(e){return rk(e)});Sl.exports=la.inspectSource});var vt=a((cW,Cl)=>{"use strict";var tk=A(),nk=k(),wl=N(),ik=lt(),ak=U(),ok=fa(),Tl=function(){},Ol=ak("Reflect","construct"),va=/^\s*(?:class|function)\b/,uk=tk(va.exec),sk=!va.test(Tl),ft=function(r){if(!wl(r))return!1;try{return Ol(Tl,[],r),!0}catch{return!1}},El=function(r){if(!wl(r))return!1;switch(ik(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return sk||!!uk(va,ok(r))}catch{return!0}};El.sham=!0;Cl.exports=!Ol||nk(function(){var e;return ft(ft.call)||!ft(Object)||!ft(function(){e=!0})||e})?El:ft});var kl=a((lW,Il)=>{"use strict";var ck=Math.ceil,lk=Math.floor;Il.exports=Math.trunc||function(r){var t=+r;return(t>0?lk:ck)(t)}});var gn=a((fW,_l)=>{"use strict";var fk=kl();_l.exports=function(e){var r=+e;return r!==r||r===0?0:fk(r)}});var pa=a((vW,Pl)=>{"use strict";var vk=gn(),pk=Math.max,dk=Math.min;Pl.exports=function(e,r){var t=vk(e);return t<0?pk(t+r,0):dk(t,r)}});var da=a((pW,Rl)=>{"use strict";var hk=gn(),mk=Math.min;Rl.exports=function(e){var r=hk(e);return r>0?mk(r,9007199254740991):0}});var le=a((dW,Al)=>{"use strict";var yk=da();Al.exports=function(e){return yk(e.length)}});var $r=a((hW,Nl)=>{"use strict";var gk=G(),bk=re(),qk=We();Nl.exports=function(e,r,t){gk?bk.f(e,r,qk(0,t)):e[r]=t}});var Fr=a((mW,Ml)=>{"use strict";var xk=G(),Sk=Ie(),wk=TypeError,Tk=Object.getOwnPropertyDescriptor,Ok=xk&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();Ml.exports=Ok?function(e,r){if(Sk(e)&&!Tk(e,"length").writable)throw new wk("Cannot set read only .length");return e.length=r}:function(e,r){return e.length=r}});var pt=a((yW,jl)=>{"use strict";var Ek=k(),Ck=R(),Ik=Pr(),kk=Ck("species");jl.exports=function(e){return Ik>=51||!Ek(function(){var r=[],t=r.constructor={};return t[kk]=function(){return{foo:1}},r[e](Boolean).foo!==1})}});var ur=a((gW,$l)=>{"use strict";var _k=A();$l.exports=_k([].slice)});var Dl=a(()=>{"use strict";var Pk=g(),Fl=Ie(),Rk=vt(),Ak=$(),Ll=pa(),Nk=le(),Mk=Ce(),jk=$r(),$k=Fr(),Fk=R(),Lk=pt(),Dk=ur(),Bk=Lk("slice"),Gk=Fk("species"),ha=Array,Uk=Math.max;Pk({target:"Array",proto:!0,forced:!Bk},{slice:function(r,t){var n=Mk(this),i=Nk(n),o=Ll(r,i),u=Ll(t===void 0?i:t,i),c,s,l;if(Fl(n)&&(c=n.constructor,Rk(c)&&(c===ha||Fl(c.prototype))?c=void 0:Ak(c)&&(c=c[Gk],c===null&&(c=void 0)),c===ha||c===void 0))return Dk(n,o,u);for(s=new(c===void 0?ha:c)(Uk(u-o,0)),l=0;o<u;o++,l++)o in n&&jk(s,l,n[o]);return $k(s,l),s}})});var oe=a((xW,Bl)=>{"use strict";var Wk=P(),Hk=K();Bl.exports=function(e,r){var t=Hk[e+"Prototype"],n=t&&t[r];if(n)return n;var i=Wk[e],o=i&&i.prototype;return o&&o[r]}});var Ul=a((SW,Gl)=>{"use strict";Dl();var Kk=oe();Gl.exports=Kk("Array","slice")});var Hl=a((wW,Wl)=>{"use strict";var zk=B(),Vk=Ul(),ma=Array.prototype;Wl.exports=function(e){var r=e.slice;return e===ma||zk(ma,e)&&r===ma.slice?Vk:r}});var zl=a((TW,Kl)=>{"use strict";var Yk=Hl();Kl.exports=Yk});var Yl=a((OW,Vl)=>{"use strict";var Jk=zl();Vl.exports=Jk});var Ql=a((EW,Jl)=>{"use strict";var Qk=Yl();Jl.exports=Qk});var ya=a((CW,Xl)=>{"use strict";Xl.exports=Ql()});var Lr=a((IW,Zl)=>{Zl.exports=ya()});var Ke=a((kW,ef)=>{"use strict";var Xk=lt(),Zk=String;ef.exports=function(e){if(Xk(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Zk(e)}});var af=a((_W,nf)=>{"use strict";var ga=A(),e0=gn(),r0=Ke(),t0=ir(),n0=ga("".charAt),rf=ga("".charCodeAt),i0=ga("".slice),tf=function(e){return function(r,t){var n=r0(t0(r)),i=e0(t),o=n.length,u,c;return i<0||i>=o?e?"":void 0:(u=rf(n,i),u<55296||u>56319||i+1===o||(c=rf(n,i+1))<56320||c>57343?e?n0(n,i):u:e?i0(n,i,i+2):(u-55296<<10)+(c-56320)+65536)}};nf.exports={codeAt:tf(!1),charAt:tf(!0)}});var sf=a((PW,uf)=>{"use strict";var a0=P(),o0=N(),of=a0.WeakMap;uf.exports=o0(of)&&/native code/.test(String(of))});var dt=a((RW,lf)=>{"use strict";var u0=or(),s0=Ar(),cf=u0("keys");lf.exports=function(e){return cf[e]||(cf[e]=s0(e))}});var Dr=a((AW,ff)=>{"use strict";ff.exports={}});var ze=a((NW,df)=>{"use strict";var c0=sf(),pf=P(),l0=$(),f0=xe(),ba=W(),qa=ot(),v0=dt(),p0=Dr(),vf="Object already initialized",xa=pf.TypeError,d0=pf.WeakMap,bn,ht,qn,h0=function(e){return qn(e)?ht(e):bn(e,{})},m0=function(e){return function(r){var t;if(!l0(r)||(t=ht(r)).type!==e)throw new xa("Incompatible receiver, "+e+" required");return t}};c0||qa.state?(he=qa.state||(qa.state=new d0),he.get=he.get,he.has=he.has,he.set=he.set,bn=function(e,r){if(he.has(e))throw new xa(vf);return r.facade=e,he.set(e,r),r},ht=function(e){return he.get(e)||{}},qn=function(e){return he.has(e)}):(sr=v0("state"),p0[sr]=!0,bn=function(e,r){if(ba(e,sr))throw new xa(vf);return r.facade=e,f0(e,sr,r),r},ht=function(e){return ba(e,sr)?e[sr]:{}},qn=function(e){return ba(e,sr)});var he,sr;df.exports={set:bn,get:ht,has:qn,enforce:h0,getterFor:m0}});var yf=a((MW,mf)=>{"use strict";var Sa=G(),y0=W(),hf=Function.prototype,g0=Sa&&Object.getOwnPropertyDescriptor,wa=y0(hf,"name"),b0=wa&&function(){}.name==="something",q0=wa&&(!Sa||Sa&&g0(hf,"name").configurable);mf.exports={EXISTS:wa,PROPER:b0,CONFIGURABLE:q0}});var Ta=a((jW,bf)=>{"use strict";var x0=Ce(),S0=pa(),w0=le(),gf=function(e){return function(r,t,n){var i=x0(r),o=w0(i);if(o===0)return!e&&-1;var u=S0(n,o),c;if(e&&t!==t){for(;o>u;)if(c=i[u++],c!==c)return!0}else for(;o>u;u++)if((e||u in i)&&i[u]===t)return e||u||0;return!e&&-1}};bf.exports={includes:gf(!0),indexOf:gf(!1)}});var Ea=a(($W,xf)=>{"use strict";var T0=A(),Oa=W(),O0=Ce(),E0=Ta().indexOf,C0=Dr(),qf=T0([].push);xf.exports=function(e,r){var t=O0(e),n=0,i=[],o;for(o in t)!Oa(C0,o)&&Oa(t,o)&&qf(i,o);for(;r.length>n;)Oa(t,o=r[n++])&&(~E0(i,o)||qf(i,o));return i}});var xn=a((FW,Sf)=>{"use strict";Sf.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Sn=a((LW,wf)=>{"use strict";var I0=Ea(),k0=xn();wf.exports=Object.keys||function(r){return I0(r,k0)}});var Ca=a(Tf=>{"use strict";var _0=G(),P0=aa(),R0=re(),A0=Q(),N0=Ce(),M0=Sn();Tf.f=_0&&!P0?Object.defineProperties:function(r,t){A0(r);for(var n=N0(t),i=M0(t),o=i.length,u=0,c;o>u;)R0.f(r,c=i[u++],n[c]);return r}});var Ia=a((BW,Of)=>{"use strict";var j0=U();Of.exports=j0("document","documentElement")});var Ve=a((GW,Rf)=>{"use strict";var $0=Q(),F0=Ca(),Ef=xn(),L0=Dr(),D0=Ia(),B0=dn(),G0=dt(),Cf=">",If="<",_a="prototype",Pa="script",_f=G0("IE_PROTO"),ka=function(){},Pf=function(e){return If+Pa+Cf+e+If+"/"+Pa+Cf},kf=function(e){e.write(Pf("")),e.close();var r=e.parentWindow.Object;return e=null,r},U0=function(){var e=B0("iframe"),r="java"+Pa+":",t;return e.style.display="none",D0.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(Pf("document.F=Object")),t.close(),t.F},wn,Tn=function(){try{wn=new ActiveXObject("htmlfile")}catch{}Tn=typeof document<"u"?document.domain&&wn?kf(wn):U0():kf(wn);for(var e=Ef.length;e--;)delete Tn[_a][Ef[e]];return Tn()};L0[_f]=!0;Rf.exports=Object.create||function(r,t){var n;return r!==null?(ka[_a]=$0(r),n=new ka,ka[_a]=null,n[_f]=r):n=Tn(),t===void 0?n:F0.f(n,t)}});var Ra=a((UW,Af)=>{"use strict";var W0=k();Af.exports=!W0(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var mt=a((WW,Mf)=>{"use strict";var H0=W(),K0=N(),z0=ee(),V0=dt(),Y0=Ra(),Nf=V0("IE_PROTO"),Aa=Object,J0=Aa.prototype;Mf.exports=Y0?Aa.getPrototypeOf:function(e){var r=z0(e);if(H0(r,Nf))return r[Nf];var t=r.constructor;return K0(t)&&r instanceof t?t.prototype:r instanceof Aa?J0:null}});var ke=a((HW,jf)=>{"use strict";var Q0=xe();jf.exports=function(e,r,t,n){return n&&n.enumerable?e[r]=t:Q0(e,r,t),e}});var $a=a((KW,Lf)=>{"use strict";var X0=k(),Z0=N(),e_=$(),r_=Ve(),$f=mt(),t_=ke(),n_=R(),i_=X(),ja=n_("iterator"),Ff=!1,_e,Na,Ma;[].keys&&(Ma=[].keys(),"next"in Ma?(Na=$f($f(Ma)),Na!==Object.prototype&&(_e=Na)):Ff=!0);var a_=!e_(_e)||X0(function(){var e={};return _e[ja].call(e)!==e});a_?_e={}:i_&&(_e=r_(_e));Z0(_e[ja])||t_(_e,ja,function(){return this});Lf.exports={IteratorPrototype:_e,BUGGY_SAFARI_ITERATORS:Ff}});var Bf=a((zW,Df)=>{"use strict";var o_=mn(),u_=lt();Df.exports=o_?{}.toString:function(){return"[object "+u_(this)+"]"}});var Pe=a((VW,Uf)=>{"use strict";var s_=mn(),c_=re().f,l_=xe(),f_=W(),v_=Bf(),p_=R(),Gf=p_("toStringTag");Uf.exports=function(e,r,t,n){var i=t?e:e&&e.prototype;i&&(f_(i,Gf)||c_(i,Gf,{configurable:!0,value:r}),n&&!s_&&l_(i,"toString",v_))}});var cr=a((YW,Wf)=>{"use strict";Wf.exports={}});var Kf=a((JW,Hf)=>{"use strict";var d_=$a().IteratorPrototype,h_=Ve(),m_=We(),y_=Pe(),g_=cr(),b_=function(){return this};Hf.exports=function(e,r,t,n){var i=r+" Iterator";return e.prototype=h_(d_,{next:m_(+!n,t)}),y_(e,i,!1,!0),g_[i]=b_,e}});var Vf=a((QW,zf)=>{"use strict";var q_=A(),x_=L();zf.exports=function(e,r,t){try{return q_(x_(Object.getOwnPropertyDescriptor(e,r)[t]))}catch{}}});var Jf=a((XW,Yf)=>{"use strict";var S_=$();Yf.exports=function(e){return S_(e)||e===null}});var Xf=a((ZW,Qf)=>{"use strict";var w_=Jf(),T_=String,O_=TypeError;Qf.exports=function(e){if(w_(e))return e;throw new O_("Can't set "+T_(e)+" as a prototype")}});var yt=a((eH,Zf)=>{"use strict";var E_=Vf(),C_=$(),I_=ir(),k_=Xf();Zf.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,r={},t;try{t=E_(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch{}return function(i,o){return I_(i),k_(o),C_(i)&&(e?t(i,o):i.__proto__=o),i}}():void 0)});var Cn=a((rH,cv)=>{"use strict";var __=g(),P_=D(),On=X(),uv=yf(),R_=N(),A_=Kf(),ev=mt(),rv=yt(),N_=Pe(),M_=xe(),Fa=ke(),j_=R(),tv=cr(),sv=$a(),$_=uv.PROPER,F_=uv.CONFIGURABLE,nv=sv.IteratorPrototype,En=sv.BUGGY_SAFARI_ITERATORS,gt=j_("iterator"),iv="keys",bt="values",av="entries",ov=function(){return this};cv.exports=function(e,r,t,n,i,o,u){A_(t,r,n);var c=function(b){if(b===i&&v)return v;if(!En&&b&&b in f)return f[b];switch(b){case iv:return function(){return new t(this,b)};case bt:return function(){return new t(this,b)};case av:return function(){return new t(this,b)}}return function(){return new t(this)}},s=r+" Iterator",l=!1,f=e.prototype,p=f[gt]||f["@@iterator"]||i&&f[i],v=!En&&p||c(i),d=r==="Array"&&f.entries||p,m,h,q;if(d&&(m=ev(d.call(new e)),m!==Object.prototype&&m.next&&(!On&&ev(m)!==nv&&(rv?rv(m,nv):R_(m[gt])||Fa(m,gt,ov)),N_(m,s,!0,!0),On&&(tv[s]=ov))),$_&&i===bt&&p&&p.name!==bt&&(!On&&F_?M_(f,"name",bt):(l=!0,v=function(){return P_(p,this)})),i)if(h={values:c(bt),keys:o?v:c(iv),entries:c(av)},u)for(q in h)(En||l||!(q in f))&&Fa(f,q,h[q]);else __({target:r,proto:!0,forced:En||l},h);return(!On||u)&&f[gt]!==v&&Fa(f,gt,v,{name:i}),tv[r]=v,h}});var In=a((tH,lv)=>{"use strict";lv.exports=function(e,r){return{value:e,done:r}}});var lr=a(()=>{"use strict";var L_=af().charAt,D_=Ke(),vv=ze(),B_=Cn(),fv=In(),pv="String Iterator",G_=vv.set,U_=vv.getterFor(pv);B_(String,"String",function(e){G_(this,{type:pv,string:D_(e),index:0})},function(){var r=U_(this),t=r.string,n=r.index,i;return n>=t.length?fv(void 0,!0):(i=L_(t,n),r.index+=i.length,fv(i,!1))})});var La=a((aH,hv)=>{"use strict";var W_=D(),dv=Q(),H_=vn();hv.exports=function(e,r,t){var n,i;dv(e);try{if(n=H_(e,"return"),!n){if(r==="throw")throw t;return t}n=W_(n,e)}catch(o){i=!0,n=o}if(r==="throw")throw t;if(i)throw n;return dv(n),t}});var yv=a((oH,mv)=>{"use strict";var K_=Q(),z_=La();mv.exports=function(e,r,t,n){try{return n?r(K_(t)[0],t[1]):r(t)}catch(i){z_(e,"throw",i)}}});var Da=a((uH,gv)=>{"use strict";var V_=R(),Y_=cr(),J_=V_("iterator"),Q_=Array.prototype;gv.exports=function(e){return e!==void 0&&(Y_.Array===e||Q_[J_]===e)}});var qt=a((sH,qv)=>{"use strict";var X_=lt(),bv=vn(),Z_=nr(),eP=cr(),rP=R(),tP=rP("iterator");qv.exports=function(e){if(!Z_(e))return bv(e,tP)||bv(e,"@@iterator")||eP[X_(e)]}});var kn=a((cH,xv)=>{"use strict";var nP=D(),iP=L(),aP=Q(),oP=He(),uP=qt(),sP=TypeError;xv.exports=function(e,r){var t=arguments.length<2?uP(e):r;if(iP(t))return aP(nP(t,e));throw new sP(oP(e)+" is not iterable")}});var Ov=a((lH,Tv)=>{"use strict";var cP=z(),lP=D(),fP=ee(),vP=yv(),pP=Da(),dP=vt(),hP=le(),Sv=$r(),mP=Fr(),yP=kn(),gP=qt(),wv=Array;Tv.exports=function(r){var t=fP(r),n=dP(this),i=arguments.length,o=i>1?arguments[1]:void 0,u=o!==void 0;u&&(o=cP(o,i>2?arguments[2]:void 0));var c=gP(t),s=0,l,f,p,v,d,m;if(c&&!(this===wv&&pP(c)))for(f=n?new this:[],v=yP(t,c),d=v.next;!(p=lP(d,v)).done;s++)m=u?vP(v,o,[p.value,s],!0):p.value,Sv(f,s,m);else for(l=hP(t),f=n?new this(l):wv(l);l>s;s++)m=u?o(t[s],s):t[s],Sv(f,s,m);return mP(f,s),f}});var Ga=a((fH,kv)=>{"use strict";var bP=R(),Cv=bP("iterator"),Iv=!1;try{Ev=0,Ba={next:function(){return{done:!!Ev++}},return:function(){Iv=!0}},Ba[Cv]=function(){return this},Array.from(Ba,function(){throw 2})}catch{}var Ev,Ba;kv.exports=function(e,r){try{if(!r&&!Iv)return!1}catch{return!1}var t=!1;try{var n={};n[Cv]=function(){return{next:function(){return{done:t=!0}}}},e(n)}catch{}return t}});var _v=a(()=>{"use strict";var qP=g(),xP=Ov(),SP=Ga(),wP=!SP(function(e){Array.from(e)});qP({target:"Array",stat:!0,forced:wP},{from:xP})});var Rv=a((dH,Pv)=>{"use strict";lr();_v();var TP=K();Pv.exports=TP.Array.from});var Nv=a((hH,Av)=>{"use strict";var OP=Rv();Av.exports=OP});var jv=a((mH,Mv)=>{"use strict";var EP=Nv();Mv.exports=EP});var Fv=a((yH,$v)=>{"use strict";var CP=jv();$v.exports=CP});var Ua=a((gH,Lv)=>{"use strict";Lv.exports=Fv()});var _n=a((bH,Dv)=>{Dv.exports=Ua()});var xt=a((qH,Bv)=>{"use strict";var IP=TypeError,kP=9007199254740991;Bv.exports=function(e){if(e>kP)throw IP("Maximum allowed index exceeded");return e}});var Hv=a((xH,Wv)=>{"use strict";var Gv=Ie(),_P=vt(),PP=$(),RP=R(),AP=RP("species"),Uv=Array;Wv.exports=function(e){var r;return Gv(e)&&(r=e.constructor,_P(r)&&(r===Uv||Gv(r.prototype))?r=void 0:PP(r)&&(r=r[AP],r===null&&(r=void 0))),r===void 0?Uv:r}});var Pn=a((SH,Kv)=>{"use strict";var NP=Hv();Kv.exports=function(e,r){return new(NP(e))(r===0?0:r)}});var Wa=a(()=>{"use strict";var MP=g(),jP=k(),$P=Ie(),FP=$(),LP=ee(),DP=le(),zv=xt(),Vv=$r(),BP=Fr(),GP=Pn(),UP=pt(),WP=R(),HP=Pr(),Yv=WP("isConcatSpreadable"),KP=HP>=51||!jP(function(){var e=[];return e[Yv]=!1,e.concat()[0]!==e}),zP=function(e){if(!FP(e))return!1;var r=e[Yv];return r!==void 0?!!r:$P(e)},VP=!KP||!UP("concat");MP({target:"Array",proto:!0,arity:1,forced:VP},{concat:function(r){var t=LP(this),n=GP(t,0),i=0,o,u,c,s,l;for(o=-1,c=arguments.length;o<c;o++)if(l=o===-1?t:arguments[o],zP(l))for(s=DP(l),zv(i+s),u=0;u<s;u++,i++)u in l&&Vv(n,i,l[u]);else zv(i+1),Vv(n,i++,l);return BP(n,i),n}})});var St=a(()=>{});var wt=a(Jv=>{"use strict";var YP=Ea(),JP=xn(),QP=JP.concat("length","prototype");Jv.f=Object.getOwnPropertyNames||function(r){return YP(r,QP)}});var Ha=a((IH,Zv)=>{"use strict";var XP=qe(),ZP=Ce(),Qv=wt().f,eR=ur(),Xv=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],rR=function(e){try{return Qv(e)}catch{return eR(Xv)}};Zv.exports.f=function(r){return Xv&&XP(r)==="Window"?rR(r):Qv(ZP(r))}});var Rn=a(ep=>{"use strict";ep.f=Object.getOwnPropertySymbols});var An=a((_H,rp)=>{"use strict";var tR=re();rp.exports=function(e,r,t){return tR.f(e,r,t)}});var Br=a(tp=>{"use strict";var nR=R();tp.f=nR});var M=a((RH,ip)=>{"use strict";var np=K(),iR=W(),aR=Br(),oR=re().f;ip.exports=function(e){var r=np.Symbol||(np.Symbol={});iR(r,e)||oR(r,e,{value:aR.f(e)})}});var Ka=a((AH,ap)=>{"use strict";var uR=D(),sR=U(),cR=R(),lR=ke();ap.exports=function(){var e=sR("Symbol"),r=e&&e.prototype,t=r&&r.valueOf,n=cR("toPrimitive");r&&!r[n]&&lR(r,n,function(i){return uR(t,this)},{arity:1})}});var Tt=a((NH,up)=>{"use strict";var fR=z(),vR=ln(),pR=ee(),dR=le(),op=Pn(),za=$r(),Ye=function(e){var r=e===1,t=e===2,n=e===3,i=e===4,o=e===6,u=e===7,c=e===5||o;return function(s,l,f){for(var p=pR(s),v=vR(p),d=dR(v),m=fR(l,f),h=0,q=0,b=r?op(s,d):t||u?op(s,0):void 0,x,_;d>h;h++)if((c||h in v)&&(x=v[h],_=m(x,h,p),e))if(r)za(b,h,_);else if(_)switch(e){case 3:return!0;case 5:return x;case 6:return h;case 2:za(b,q++,x)}else switch(e){case 4:return!1;case 7:za(b,q++,x)}return o?-1:n||i?i:b}};up.exports={forEach:Ye(0),map:Ye(1),filter:Ye(2),some:Ye(3),every:Ye(4),find:Ye(5),findIndex:Ye(6),filterReject:Ye(7)}});var Tp=a(()=>{"use strict";var Nn=g(),Ct=P(),to=D(),hR=A(),mR=X(),Gr=G(),Ur=ar(),yR=k(),H=W(),gR=B(),Qa=Q(),Mn=Ce(),no=pn(),bR=Ke(),Xa=We(),Wr=Ve(),lp=Sn(),qR=wt(),fp=Ha(),xR=Rn(),vp=ut(),pp=re(),SR=Ca(),dp=Ki(),Va=ke(),wR=An(),io=or(),TR=dt(),hp=Dr(),sp=Ar(),OR=R(),ER=Br(),CR=M(),IR=Ka(),kR=Pe(),mp=ze(),jn=Tt().forEach,te=TR("hidden"),$n="Symbol",Et="prototype",_R=mp.set,cp=mp.getterFor($n),fe=Object[Et],fr=Ct.Symbol,Ot=fr&&fr[Et],PR=Ct.RangeError,RR=Ct.TypeError,Ya=Ct.QObject,yp=vp.f,vr=pp.f,gp=fp.f,AR=dp.f,bp=hR([].push),Re=io("symbols"),It=io("op-symbols"),NR=io("wks"),Za=!Ya||!Ya[Et]||!Ya[Et].findChild,qp=function(e,r,t){var n=yp(fe,r);n&&delete fe[r],vr(e,r,t),n&&e!==fe&&vr(fe,r,n)},eo=Gr&&yR(function(){return Wr(vr({},"a",{get:function(){return vr(this,"a",{value:7}).a}})).a!==7})?qp:vr,Ja=function(e,r){var t=Re[e]=Wr(Ot);return _R(t,{type:$n,tag:e,description:r}),Gr||(t.description=r),t},Fn=function(r,t,n){r===fe&&Fn(It,t,n),Qa(r);var i=no(t);return Qa(n),H(Re,i)?(n.enumerable?(H(r,te)&&r[te][i]&&(r[te][i]=!1),n=Wr(n,{enumerable:Xa(0,!1)})):(H(r,te)||vr(r,te,Xa(1,Wr(null))),r[te][i]=!0),eo(r,i,n)):vr(r,i,n)},ao=function(r,t){Qa(r);var n=Mn(t),i=lp(n).concat(wp(n));return jn(i,function(o){(!Gr||to(ro,n,o))&&Fn(r,o,n[o])}),r},MR=function(r,t){return t===void 0?Wr(r):ao(Wr(r),t)},ro=function(r){var t=no(r),n=to(AR,this,t);return this===fe&&H(Re,t)&&!H(It,t)?!1:n||!H(this,t)||!H(Re,t)||H(this,te)&&this[te][t]?n:!0},xp=function(r,t){var n=Mn(r),i=no(t);if(!(n===fe&&H(Re,i)&&!H(It,i))){var o=yp(n,i);return o&&H(Re,i)&&!(H(n,te)&&n[te][i])&&(o.enumerable=!0),o}},Sp=function(r){var t=gp(Mn(r)),n=[];return jn(t,function(i){!H(Re,i)&&!H(hp,i)&&bp(n,i)}),n},wp=function(e){var r=e===fe,t=gp(r?It:Mn(e)),n=[];return jn(t,function(i){H(Re,i)&&(!r||H(fe,i))&&bp(n,Re[i])}),n};Ur||(fr=function(){if(gR(Ot,this))throw new RR("Symbol is not a constructor");var r=!arguments.length||arguments[0]===void 0?void 0:bR(arguments[0]),t=sp(r),n=function(i){var o=this===void 0?Ct:this;o===fe&&to(n,It,i),H(o,te)&&H(o[te],t)&&(o[te][t]=!1);var u=Xa(1,i);try{eo(o,t,u)}catch(c){if(!(c instanceof PR))throw c;qp(o,t,u)}};return Gr&&Za&&eo(fe,t,{configurable:!0,set:n}),Ja(t,r)},Ot=fr[Et],Va(Ot,"toString",function(){return cp(this).tag}),Va(fr,"withoutSetter",function(e){return Ja(sp(e),e)}),dp.f=ro,pp.f=Fn,SR.f=ao,vp.f=xp,qR.f=fp.f=Sp,xR.f=wp,ER.f=function(e){return Ja(OR(e),e)},Gr&&(wR(Ot,"description",{configurable:!0,get:function(){return cp(this).description}}),mR||Va(fe,"propertyIsEnumerable",ro,{unsafe:!0})));Nn({global:!0,constructor:!0,wrap:!0,forced:!Ur,sham:!Ur},{Symbol:fr});jn(lp(NR),function(e){CR(e)});Nn({target:$n,stat:!0,forced:!Ur},{useSetter:function(){Za=!0},useSimple:function(){Za=!1}});Nn({target:"Object",stat:!0,forced:!Ur,sham:!Gr},{create:MR,defineProperty:Fn,defineProperties:ao,getOwnPropertyDescriptor:xp});Nn({target:"Object",stat:!0,forced:!Ur},{getOwnPropertyNames:Sp});IR();kR(fr,$n);hp[te]=!0});var oo=a(($H,Op)=>{"use strict";var jR=ar();Op.exports=jR&&!!Symbol.for&&!!Symbol.keyFor});var Cp=a(()=>{"use strict";var $R=g(),FR=U(),LR=W(),DR=Ke(),Ep=or(),BR=oo(),uo=Ep("string-to-symbol-registry"),GR=Ep("symbol-to-string-registry");$R({target:"Symbol",stat:!0,forced:!BR},{for:function(e){var r=DR(e);if(LR(uo,r))return uo[r];var t=FR("Symbol")(r);return uo[r]=t,GR[t]=r,t}})});var kp=a(()=>{"use strict";var UR=g(),WR=W(),HR=Rr(),KR=He(),zR=or(),VR=oo(),Ip=zR("symbol-to-string-registry");UR({target:"Symbol",stat:!0,forced:!VR},{keyFor:function(r){if(!HR(r))throw new TypeError(KR(r)+" is not a symbol");if(WR(Ip,r))return Ip[r]}})});var Pp=a((GH,_p)=>{"use strict";var YR=$(),JR=ze().get;_p.exports=function(r){if(!YR(r))return!1;var t=JR(r);return!!t&&t.type==="RawJSON"}});var jp=a((UH,Mp)=>{"use strict";var so=A(),QR=W(),Ln=SyntaxError,XR=parseInt,ZR=String.fromCharCode,e1=so("".charAt),Rp=so("".slice),Ap=so(/./.exec),Np={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
|
|
2
|
+
`,"\\r":"\r","\\t":" "},r1=/^[\da-f]{4}$/i,t1=/^[\u0000-\u001F]$/;Mp.exports=function(e,r){for(var t=!0,n="";r<e.length;){var i=e1(e,r);if(i==="\\"){var o=Rp(e,r,r+2);if(QR(Np,o))n+=Np[o],r+=2;else if(o==="\\u"){r+=2;var u=Rp(e,r,r+4);if(!Ap(r1,u))throw new Ln("Bad Unicode escape at: "+r);n+=ZR(XR(u,16)),r+=4}else throw new Ln('Unknown escape sequence: "'+o+'"')}else if(i==='"'){t=!1,r++;break}else{if(Ap(t1,i))throw new Ln("Bad control character in string literal at: "+r);n+=i,r++}}if(t)throw new Ln("Unterminated string at: "+r);return{value:n,end:r}}});var Fp=a((WH,$p)=>{"use strict";var n1=k();$p.exports=!n1(function(){var e="9007199254740993",r=JSON.rawJSON(e);return!JSON.isRawJSON(r)||JSON.stringify(r)!==e})});var Xp=a(()=>{"use strict";var i1=g(),Kp=U(),a1=kr(),zp=D(),pr=A(),Vp=k(),Lp=Ie(),Bn=N(),o1=Pp(),Dp=Rr(),Bp=qe(),u1=Ke(),s1=ur(),c1=jp(),l1=Ar(),f1=ar(),co=Fp(),Yp=String,Je=Kp("JSON","stringify"),Dn=pr(/./.exec),fo=pr("".charAt),v1=pr("".charCodeAt),p1=pr("".replace),lo=pr("".slice),vo=pr([].push),d1=pr(1.1.toString),h1=/[\uD800-\uDFFF]/g,Gp=/^[\uD800-\uDBFF]$/,Up=/^[\uDC00-\uDFFF]$/,po=l1(),Wp=po.length,Jp=!f1||Vp(function(){var e=Kp("Symbol")("stringify detection");return Je([e])!=="[null]"||Je({a:e})!=="{}"||Je(Object(e))!=="{}"}),Hp=Vp(function(){return Je("\uDF06\uD834")!=='"\\udf06\\ud834"'||Je("\uDEAD")!=='"\\udead"'}),m1=Jp?function(e,r){var t=s1(arguments),n=Qp(r);if(!(!Bn(n)&&(e===void 0||Dp(e))))return t[1]=function(i,o){if(Bn(n)&&(o=zp(n,this,Yp(i),o)),!Dp(o))return o},a1(Je,null,t)}:Je,y1=function(e,r,t){var n=fo(t,r-1),i=fo(t,r+1);return Dn(Gp,e)&&!Dn(Up,i)||Dn(Up,e)&&!Dn(Gp,n)?"\\u"+d1(v1(e,0),16):e},Qp=function(e){if(Bn(e))return e;if(Lp(e)){for(var r=e.length,t=[],n=0;n<r;n++){var i=e[n];typeof i=="string"?vo(t,i):(typeof i=="number"||Bp(i)==="Number"||Bp(i)==="String")&&vo(t,u1(i))}var o=t.length,u=!0;return function(c,s){if(u)return u=!1,s;if(Lp(this))return s;for(var l=0;l<o;l++)if(t[l]===c)return s}}};Je&&i1({target:"JSON",stat:!0,arity:3,forced:Jp||Hp||!co},{stringify:function(r,t,n){var i=Qp(t),o=[],u=m1(r,function(d,m){var h=Bn(i)?zp(i,this,Yp(d),m):m;return!co&&o1(h)?po+(vo(o,h.rawJSON)-1):h},n);if(typeof u!="string"||(Hp&&(u=p1(u,h1,y1)),co))return u;for(var c="",s=u.length,l=0;l<s;l++){var f=fo(u,l);if(f==='"'){var p=c1(u,++l).end-1,v=lo(u,l,p);c+=lo(v,0,Wp)===po?o[lo(v,Wp)]:'"'+v+'"',l=p}else c+=f}return c}})});var ed=a(()=>{"use strict";var g1=g(),b1=ar(),q1=k(),Zp=Rn(),x1=ee(),S1=!b1||q1(function(){Zp.f(1)});g1({target:"Object",stat:!0,forced:S1},{getOwnPropertySymbols:function(r){var t=Zp.f;return t?t(x1(r)):[]}})});var rd=a(()=>{"use strict";Tp();Cp();kp();Xp();ed()});var ho=a(()=>{"use strict";var w1=M();w1("asyncDispose")});var mo=a(()=>{"use strict";var T1=M();T1("asyncIterator")});var td=a(()=>{});var yo=a(()=>{"use strict";var O1=M();O1("dispose")});var nd=a(()=>{"use strict";var E1=M();E1("hasInstance")});var id=a(()=>{"use strict";var C1=M();C1("isConcatSpreadable")});var go=a(()=>{"use strict";var I1=M();I1("iterator")});var ad=a(()=>{"use strict";var k1=M();k1("match")});var od=a(()=>{"use strict";var _1=M();_1("matchAll")});var ud=a(()=>{"use strict";var P1=M();P1("replace")});var sd=a(()=>{"use strict";var R1=M();R1("search")});var cd=a(()=>{"use strict";var A1=M();A1("species")});var ld=a(()=>{"use strict";var N1=M();N1("split")});var bo=a(()=>{"use strict";var M1=M(),j1=Ka();M1("toPrimitive");j1()});var fd=a(()=>{"use strict";var $1=U(),F1=M(),L1=Pe();F1("toStringTag");L1($1("Symbol"),"Symbol")});var vd=a(()=>{"use strict";var D1=M();D1("unscopables")});var pd=a(()=>{"use strict";var B1=P(),G1=Pe();G1(B1.JSON,"JSON",!0)});var dd=a(()=>{});var hd=a(()=>{});var yd=a((MK,md)=>{"use strict";Wa();St();rd();ho();mo();td();yo();nd();id();go();ad();od();ud();sd();cd();ld();bo();fd();vd();pd();dd();hd();var U1=K();md.exports=U1.Symbol});var qo=a((jK,gd)=>{"use strict";gd.exports=function(){}});var dr=a(($K,wd)=>{"use strict";var W1=Ce(),xo=qo(),bd=cr(),xd=ze(),H1=re().f,K1=Cn(),Gn=In(),z1=X(),V1=G(),Sd="Array Iterator",Y1=xd.set,J1=xd.getterFor(Sd);wd.exports=K1(Array,"Array",function(e,r){Y1(this,{type:Sd,target:W1(e),index:0,kind:r})},function(){var e=J1(this),r=e.target,t=e.index++;if(!r||t>=r.length)return e.target=null,Gn(void 0,!0);switch(e.kind){case"keys":return Gn(t,!1);case"values":return Gn(r[t],!1)}return Gn([t,r[t]],!1)},"values");var qd=bd.Arguments=bd.Array;xo("keys");xo("values");xo("entries");if(!z1&&V1&&qd.name!=="values")try{H1(qd,"name",{value:"values"})}catch{}});var Od=a((FK,Td)=>{"use strict";Td.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var hr=a(()=>{"use strict";dr();var Q1=Od(),X1=P(),Z1=Pe(),Ed=cr();for(Un in Q1)Z1(X1[Un],Un),Ed[Un]=Ed.Array;var Un});var Id=a((BK,Cd)=>{"use strict";var eA=yd();hr();Cd.exports=eA});var Pd=a(()=>{"use strict";var rA=R(),tA=re().f,kd=rA("metadata"),_d=Function.prototype;_d[kd]===void 0&&tA(_d,kd,{value:null})});var Rd=a(()=>{"use strict";ho()});var Ad=a(()=>{"use strict";yo()});var Nd=a(()=>{"use strict";var nA=M();nA("metadata")});var jd=a((JK,Md)=>{"use strict";var iA=Id();Pd();Rd();Ad();Nd();Md.exports=iA});var wo=a((QK,$d)=>{"use strict";var aA=U(),oA=A(),So=aA("Symbol"),uA=So.keyFor,sA=oA(So.prototype.valueOf);$d.exports=So.isRegisteredSymbol||function(r){try{return uA(sA(r))!==void 0}catch{return!1}}});var Fd=a(()=>{"use strict";var cA=g(),lA=wo();cA({target:"Symbol",stat:!0},{isRegisteredSymbol:lA})});var Eo=a((e6,Wd)=>{"use strict";var fA=or(),Gd=U(),vA=A(),pA=Rr(),dA=R(),Hn=Gd("Symbol"),Ld=Hn.isWellKnownSymbol,Ud=Gd("Object","getOwnPropertyNames"),hA=vA(Hn.prototype.valueOf),Dd=fA("wks");for(Wn=0,To=Ud(Hn),Bd=To.length;Wn<Bd;Wn++)try{Oo=To[Wn],pA(Hn[Oo])&&dA(Oo)}catch{}var Oo,Wn,To,Bd;Wd.exports=function(r){if(Ld&&Ld(r))return!0;try{for(var t=hA(r),n=0,i=Ud(Dd),o=i.length;n<o;n++)if(Dd[i[n]]==t)return!0}catch{}return!1}});var Hd=a(()=>{"use strict";var mA=g(),yA=Eo();mA({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:yA})});var Kd=a(()=>{"use strict";var gA=M();gA("customMatcher")});var zd=a(()=>{"use strict";var bA=M();bA("observable")});var Vd=a(()=>{"use strict";var qA=g(),xA=wo();qA({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:xA})});var Yd=a(()=>{"use strict";var SA=g(),wA=Eo();SA({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:wA})});var Jd=a(()=>{"use strict";var TA=M();TA("matcher")});var Qd=a(()=>{"use strict";var OA=M();OA("metadataKey")});var Xd=a(()=>{"use strict";var EA=M();EA("patternMatch")});var Zd=a(()=>{"use strict";var CA=M();CA("replaceAll")});var rh=a((b6,eh)=>{"use strict";var IA=jd();Fd();Hd();Kd();zd();Vd();Yd();Jd();Qd();Xd();Zd();eh.exports=IA});var Se=a((q6,th)=>{"use strict";th.exports=rh()});var Kn=a((x6,nh)=>{nh.exports=Se()});var ah=a((S6,ih)=>{"use strict";dr();lr();var kA=qt();ih.exports=kA});var uh=a((w6,oh)=>{"use strict";var _A=ah();hr();oh.exports=_A});var ch=a((T6,sh)=>{"use strict";var PA=uh();sh.exports=PA});var fh=a((O6,lh)=>{"use strict";var RA=ch();lh.exports=RA});var Co=a((E6,vh)=>{"use strict";vh.exports=fh()});var zn=a((C6,ph)=>{ph.exports=Co()});var hh=a((I6,dh)=>{"use strict";dr();lr();var AA=kn();dh.exports=AA});var yh=a((k6,mh)=>{"use strict";var NA=hh();hr();mh.exports=NA});var bh=a((_6,gh)=>{"use strict";var MA=yh();gh.exports=MA});var xh=a((P6,qh)=>{"use strict";var jA=bh();qh.exports=jA});var wh=a((R6,Sh)=>{"use strict";Sh.exports=xh()});var Vn=a((A6,Th)=>{Th.exports=wh()});var Eh=a((N6,Oh)=>{"use strict";var $A=U(),FA=A(),LA=wt(),DA=Rn(),BA=Q(),GA=FA([].concat);Oh.exports=$A("Reflect","ownKeys")||function(r){var t=LA.f(BA(r)),n=DA.f;return n?GA(t,n(r)):t}});var kh=a((M6,Ih)=>{"use strict";var Ch=W(),UA=Eh(),WA=ut(),HA=re();Ih.exports=function(e,r,t){for(var n=UA(r),i=HA.f,o=WA.f,u=0;u<n.length;u++){var c=n[u];!Ch(e,c)&&!(t&&Ch(t,c))&&i(e,c,o(r,c))}}});var Ph=a((j6,_h)=>{"use strict";var KA=$(),zA=xe();_h.exports=function(e,r){KA(r)&&"cause"in r&&zA(e,"cause",r.cause)}});var Mh=a(($6,Nh)=>{"use strict";var VA=A(),Rh=Error,YA=VA("".replace),JA=function(e){return String(new Rh(e).stack)}("zxcasd"),Ah=/\n\s*at [^:]*:[^\n]*/,QA=Ah.test(JA);Nh.exports=function(e,r){if(QA&&typeof e=="string"&&!Rh.prepareStackTrace)for(;r--;)e=YA(e,Ah,"");return e}});var $h=a((F6,jh)=>{"use strict";var XA=k(),ZA=We();jh.exports=!XA(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",ZA(1,7)),e.stack!==7):!0})});var Dh=a((L6,Lh)=>{"use strict";var eN=xe(),rN=Mh(),tN=$h(),Fh=Error.captureStackTrace;Lh.exports=function(e,r,t,n){tN&&(Fh?Fh(e,r):eN(e,"stack",rN(t,n)))}});var ve=a((D6,Wh)=>{"use strict";var nN=z(),iN=D(),aN=Q(),oN=He(),uN=Da(),sN=le(),Bh=B(),cN=kn(),lN=qt(),Gh=La(),fN=TypeError,Yn=function(e,r){this.stopped=e,this.result=r},Uh=Yn.prototype;Wh.exports=function(e,r,t){var n=t&&t.that,i=!!(t&&t.AS_ENTRIES),o=!!(t&&t.IS_RECORD),u=!!(t&&t.IS_ITERATOR),c=!!(t&&t.INTERRUPTED),s=nN(r,n),l,f,p,v,d,m,h,q=function(x){return l&&Gh(l,"normal"),new Yn(!0,x)},b=function(x){return i?(aN(x),c?s(x[0],x[1],q):s(x[0],x[1])):c?s(x,q):s(x)};if(o)l=e.iterator;else if(u)l=e;else{if(f=lN(e),!f)throw new fN(oN(e)+" is not iterable");if(uN(f)){for(p=0,v=sN(e);v>p;p++)if(d=b(e[p]),d&&Bh(Uh,d))return d;return new Yn(!1)}l=cN(e,f)}for(m=o?e.next:l.next;!(h=iN(m,l)).done;){try{d=b(h.value)}catch(x){Gh(l,"throw",x)}if(typeof d=="object"&&d&&Bh(Uh,d))return d}return new Yn(!1)}});var Kh=a((B6,Hh)=>{"use strict";var vN=Ke();Hh.exports=function(e,r){return e===void 0?arguments.length<2?"":r:vN(e)}});var Vh=a(()=>{"use strict";var pN=g(),dN=B(),hN=mt(),Jn=yt(),mN=kh(),zh=Ve(),Io=xe(),ko=We(),yN=Ph(),gN=Dh(),bN=ve(),qN=Kh(),xN=R(),SN=xN("toStringTag"),Qn=Error,wN=[].push,Hr=function(r,t){var n=dN(_o,this),i;Jn?i=Jn(new Qn,n?hN(this):_o):(i=n?this:zh(_o),Io(i,SN,"Error")),t!==void 0&&Io(i,"message",qN(t)),gN(i,Hr,i.stack,1),arguments.length>2&&yN(i,arguments[2]);var o=[];return bN(r,wN,{that:o}),Io(i,"errors",o),i};Jn?Jn(Hr,Qn):mN(Hr,Qn,{name:!0});var _o=Hr.prototype=zh(Qn.prototype,{constructor:ko(1,Hr),message:ko(1,""),name:ko(1,"AggregateError")});pN({global:!0,constructor:!0,arity:2},{AggregateError:Hr})});var Po=a(()=>{"use strict";Vh()});var Ro=a((K6,Yh)=>{"use strict";var kt=P(),TN=_r(),ON=qe(),Xn=function(e){return TN.slice(0,e.length)===e};Yh.exports=function(){return Xn("Bun/")?"BUN":Xn("Cloudflare-Workers")?"CLOUDFLARE":Xn("Deno/")?"DENO":Xn("Node.js/")?"NODE":kt.Bun&&typeof Bun.version=="string"?"BUN":kt.Deno&&typeof Deno.version=="object"?"DENO":ON(kt.process)==="process"?"NODE":kt.window&&kt.document?"BROWSER":"REST"}()});var _t=a((z6,Jh)=>{"use strict";var EN=Ro();Jh.exports=EN==="NODE"});var Ao=a((V6,Xh)=>{"use strict";var CN=U(),IN=An(),kN=R(),_N=G(),Qh=kN("species");Xh.exports=function(e){var r=CN(e);_N&&r&&!r[Qh]&&IN(r,Qh,{configurable:!0,get:function(){return this}})}});var Zn=a((Y6,Zh)=>{"use strict";var PN=B(),RN=TypeError;Zh.exports=function(e,r){if(PN(r,e))return e;throw new RN("Incorrect invocation")}});var No=a((J6,em)=>{"use strict";var AN=vt(),NN=He(),MN=TypeError;em.exports=function(e){if(AN(e))return e;throw new MN(NN(e)+" is not a constructor")}});var Mo=a((Q6,tm)=>{"use strict";var rm=Q(),jN=No(),$N=nr(),FN=R(),LN=FN("species");tm.exports=function(e,r){var t=rm(e).constructor,n;return t===void 0||$N(n=rm(t)[LN])?r:jN(n)}});var im=a((X6,nm)=>{"use strict";var DN=TypeError;nm.exports=function(e,r){if(e<r)throw new DN("Not enough arguments");return e}});var jo=a((Z6,am)=>{"use strict";var BN=_r();am.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(BN)});var Ho=a((e8,dm)=>{"use strict";var ue=P(),GN=kr(),UN=z(),om=N(),WN=W(),pm=k(),um=Ia(),HN=ur(),sm=dn(),KN=im(),zN=jo(),VN=_t(),Go=ue.setImmediate,Uo=ue.clearImmediate,YN=ue.process,$o=ue.Dispatch,JN=ue.Function,cm=ue.MessageChannel,QN=ue.String,Fo=0,Pt={},lm="onreadystatechange",Rt,mr,Lo,Do;pm(function(){Rt=ue.location});var Wo=function(e){if(WN(Pt,e)){var r=Pt[e];delete Pt[e],r()}},Bo=function(e){return function(){Wo(e)}},fm=function(e){Wo(e.data)},vm=function(e){ue.postMessage(QN(e),Rt.protocol+"//"+Rt.host)};(!Go||!Uo)&&(Go=function(r){KN(arguments.length,1);var t=om(r)?r:JN(r),n=HN(arguments,1);return Pt[++Fo]=function(){GN(t,void 0,n)},mr(Fo),Fo},Uo=function(r){delete Pt[r]},VN?mr=function(e){YN.nextTick(Bo(e))}:$o&&$o.now?mr=function(e){$o.now(Bo(e))}:cm&&!zN?(Lo=new cm,Do=Lo.port2,Lo.port1.onmessage=fm,mr=UN(Do.postMessage,Do)):ue.addEventListener&&om(ue.postMessage)&&!ue.importScripts&&Rt&&Rt.protocol!=="file:"&&!pm(vm)?(mr=vm,ue.addEventListener("message",fm,!1)):lm in sm("script")?mr=function(e){um.appendChild(sm("script"))[lm]=function(){um.removeChild(this),Wo(e)}}:mr=function(e){setTimeout(Bo(e),0)});dm.exports={set:Go,clear:Uo}});var ym=a((r8,mm)=>{"use strict";var hm=P(),XN=G(),ZN=Object.getOwnPropertyDescriptor;mm.exports=function(e){if(!XN)return hm[e];var r=ZN(hm,e);return r&&r.value}});var Ko=a((t8,bm)=>{"use strict";var gm=function(){this.head=null,this.tail=null};gm.prototype={add:function(e){var r={item:e,next:null},t=this.tail;t?t.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}};bm.exports=gm});var xm=a((n8,qm)=>{"use strict";var eM=_r();qm.exports=/ipad|iphone|ipod/i.test(eM)&&typeof Pebble<"u"});var wm=a((i8,Sm)=>{"use strict";var rM=_r();Sm.exports=/web0s(?!.*chrome)/i.test(rM)});var _m=a((a8,km)=>{"use strict";var zr=P(),tM=ym(),Tm=z(),zo=Ho().set,nM=Ko(),iM=jo(),aM=xm(),oM=wm(),Vo=_t(),Om=zr.MutationObserver||zr.WebKitMutationObserver,Em=zr.document,Cm=zr.process,ei=zr.Promise,Qo=tM("queueMicrotask"),Kr,Yo,Jo,ri,Im;Qo||(At=new nM,Nt=function(){var e,r;for(Vo&&(e=Cm.domain)&&e.exit();r=At.get();)try{r()}catch(t){throw At.head&&Kr(),t}e&&e.enter()},!iM&&!Vo&&!oM&&Om&&Em?(Yo=!0,Jo=Em.createTextNode(""),new Om(Nt).observe(Jo,{characterData:!0}),Kr=function(){Jo.data=Yo=!Yo}):!aM&&ei&&ei.resolve?(ri=ei.resolve(void 0),ri.constructor=ei,Im=Tm(ri.then,ri),Kr=function(){Im(Nt)}):Vo?Kr=function(){Cm.nextTick(Nt)}:(zo=Tm(zo,zr),Kr=function(){zo(Nt)}),Qo=function(e){At.head||Kr(),At.add(e)});var At,Nt;km.exports=Qo});var Rm=a((o8,Pm)=>{"use strict";Pm.exports=function(e,r){try{arguments.length===1?console.error(e):console.error(e,r)}catch{}}});var yr=a((u8,Am)=>{"use strict";Am.exports=function(e){try{return{error:!1,value:e()}}catch(r){return{error:!0,value:r}}}});var gr=a((s8,Nm)=>{"use strict";var uM=P();Nm.exports=uM.Promise});var Vr=a((c8,Fm)=>{"use strict";var sM=P(),Mt=gr(),cM=N(),lM=ia(),fM=fa(),vM=R(),Mm=Ro(),pM=X(),Xo=Pr(),jm=Mt&&Mt.prototype,dM=vM("species"),Zo=!1,$m=cM(sM.PromiseRejectionEvent),hM=lM("Promise",function(){var e=fM(Mt),r=e!==String(Mt);if(!r&&Xo===66||pM&&!(jm.catch&&jm.finally))return!0;if(!Xo||Xo<51||!/native code/.test(e)){var t=new Mt(function(o){o(1)}),n=function(o){o(function(){},function(){})},i=t.constructor={};if(i[dM]=n,Zo=t.then(function(){})instanceof n,!Zo)return!0}return!r&&(Mm==="BROWSER"||Mm==="DENO")&&!$m});Fm.exports={CONSTRUCTOR:hM,REJECTION_EVENT:$m,SUBCLASSING:Zo}});var we=a((l8,Dm)=>{"use strict";var Lm=L(),mM=TypeError,yM=function(e){var r,t;this.promise=new e(function(n,i){if(r!==void 0||t!==void 0)throw new mM("Bad Promise constructor");r=n,t=i}),this.resolve=Lm(r),this.reject=Lm(t)};Dm.exports.f=function(e){return new yM(e)}});var oy=a(()=>{"use strict";var gM=g(),bM=X(),ai=_t(),Qe=P(),qM=K(),Xr=D(),Bm=ke(),Gm=yt(),xM=Pe(),SM=Ao(),wM=L(),ii=N(),TM=$(),OM=Zn(),EM=Mo(),zm=Ho().set,iu=_m(),CM=Rm(),IM=yr(),kM=Ko(),Vm=ze(),oi=gr(),au=Vr(),Ym=we(),ui="Promise",Jm=au.CONSTRUCTOR,_M=au.REJECTION_EVENT,PM=au.SUBCLASSING,eu=Vm.getterFor(ui),RM=Vm.set,Yr=oi&&oi.prototype,br=oi,ti=Yr,Qm=Qe.TypeError,ru=Qe.document,ou=Qe.process,tu=Ym.f,AM=tu,NM=!!(ru&&ru.createEvent&&Qe.dispatchEvent),Xm="unhandledrejection",MM="rejectionhandled",Um=0,Zm=1,jM=2,uu=1,ey=2,ni,Wm,ry,Hm,ty=function(e){var r;return TM(e)&&ii(r=e.then)?r:!1},ny=function(e,r){var t=r.value,n=r.state===Zm,i=n?e.ok:e.fail,o=e.resolve,u=e.reject,c=e.domain,s,l,f;try{i?(n||(r.rejection===ey&&FM(r),r.rejection=uu),i===!0?s=t:(c&&c.enter(),s=i(t),c&&(c.exit(),f=!0)),s===e.promise?u(new Qm("Promise-chain cycle")):(l=ty(s))?Xr(l,s,o,u):o(s)):u(t)}catch(p){c&&!f&&c.exit(),u(p)}},iy=function(e,r){e.notified||(e.notified=!0,iu(function(){for(var t=e.reactions,n;n=t.get();)ny(n,e);e.notified=!1,r&&!e.rejection&&$M(e)}))},ay=function(e,r,t){var n,i;NM?(n=ru.createEvent("Event"),n.promise=r,n.reason=t,n.initEvent(e,!1,!0),Qe.dispatchEvent(n)):n={promise:r,reason:t},!_M&&(i=Qe["on"+e])?i(n):e===Xm&&CM("Unhandled promise rejection",t)},$M=function(e){Xr(zm,Qe,function(){var r=e.facade,t=e.value,n=Km(e),i;if(n&&(i=IM(function(){ai?ou.emit("unhandledRejection",t,r):ay(Xm,r,t)}),e.rejection=ai||Km(e)?ey:uu,i.error))throw i.value})},Km=function(e){return e.rejection!==uu&&!e.parent},FM=function(e){Xr(zm,Qe,function(){var r=e.facade;ai?ou.emit("rejectionHandled",r):ay(MM,r,e.value)})},Jr=function(e,r,t){return function(n){e(r,n,t)}},Qr=function(e,r,t){e.done||(e.done=!0,t&&(e=t),e.value=r,e.state=jM,iy(e,!0))},nu=function(e,r,t){if(!e.done){e.done=!0,t&&(e=t);try{if(e.facade===r)throw new Qm("Promise can't be resolved itself");var n=ty(r);n?iu(function(){var i={done:!1};try{Xr(n,r,Jr(nu,i,e),Jr(Qr,i,e))}catch(o){Qr(i,o,e)}}):(e.value=r,e.state=Zm,iy(e,!1))}catch(i){Qr({done:!1},i,e)}}};if(Jm&&(br=function(r){OM(this,ti),wM(r),Xr(ni,this);var t=eu(this);try{r(Jr(nu,t),Jr(Qr,t))}catch(n){Qr(t,n)}},ti=br.prototype,ni=function(r){RM(this,{type:ui,done:!1,notified:!1,parent:!1,reactions:new kM,rejection:!1,state:Um,value:null})},ni.prototype=Bm(ti,"then",function(r,t){var n=eu(this),i=tu(EM(this,br));return n.parent=!0,i.ok=ii(r)?r:!0,i.fail=ii(t)&&t,i.domain=ai?ou.domain:void 0,n.state===Um?n.reactions.add(i):iu(function(){ny(i,n)}),i.promise}),Wm=function(){var e=new ni,r=eu(e);this.promise=e,this.resolve=Jr(nu,r),this.reject=Jr(Qr,r)},Ym.f=tu=function(e){return e===br||e===ry?new Wm(e):AM(e)},!bM&&ii(oi)&&Yr!==Object.prototype)){Hm=Yr.then,PM||Bm(Yr,"then",function(r,t){var n=this;return new br(function(i,o){Xr(Hm,n,i,o)}).then(r,t)},{unsafe:!0});try{delete Yr.constructor}catch{}Gm&&Gm(Yr,ti)}gM({global:!0,constructor:!0,wrap:!0,forced:Jm},{Promise:br});ry=qM.Promise;xM(br,ui,!1,!0);SM(ui)});var jt=a((p8,uy)=>{"use strict";var LM=gr(),DM=Ga(),BM=Vr().CONSTRUCTOR;uy.exports=BM||!DM(function(e){LM.all(e).then(void 0,function(){})})});var sy=a(()=>{"use strict";var GM=g(),UM=D(),WM=L(),HM=we(),KM=yr(),zM=ve(),VM=jt();GM({target:"Promise",stat:!0,forced:VM},{all:function(r){var t=this,n=HM.f(t),i=n.resolve,o=n.reject,u=KM(function(){var c=WM(t.resolve),s=[],l=0,f=1;zM(r,function(p){var v=l++,d=!1;f++,UM(c,t,p).then(function(m){d||(d=!0,s[v]=m,--f||i(s))},o)}),--f||i(s)});return u.error&&o(u.value),n.promise}})});var ly=a(()=>{"use strict";var YM=g(),JM=X(),QM=Vr().CONSTRUCTOR,cu=gr(),XM=U(),ZM=N(),e2=ke(),cy=cu&&cu.prototype;YM({target:"Promise",proto:!0,forced:QM,real:!0},{catch:function(e){return this.then(void 0,e)}});!JM&&ZM(cu)&&(su=XM("Promise").prototype.catch,cy.catch!==su&&e2(cy,"catch",su,{unsafe:!0}));var su});var fy=a(()=>{"use strict";var r2=g(),t2=D(),n2=L(),i2=we(),a2=yr(),o2=ve(),u2=jt();r2({target:"Promise",stat:!0,forced:u2},{race:function(r){var t=this,n=i2.f(t),i=n.reject,o=a2(function(){var u=n2(t.resolve);o2(r,function(c){t2(u,t,c).then(n.resolve,i)})});return o.error&&i(o.value),n.promise}})});var vy=a(()=>{"use strict";var s2=g(),c2=we(),l2=Vr().CONSTRUCTOR;s2({target:"Promise",stat:!0,forced:l2},{reject:function(r){var t=c2.f(this),n=t.reject;return n(r),t.promise}})});var lu=a((S8,py)=>{"use strict";var f2=Q(),v2=$(),p2=we();py.exports=function(e,r){if(f2(e),v2(r)&&r.constructor===e)return r;var t=p2.f(e),n=t.resolve;return n(r),t.promise}});var my=a(()=>{"use strict";var d2=g(),h2=U(),dy=X(),m2=gr(),hy=Vr().CONSTRUCTOR,y2=lu(),g2=h2("Promise"),b2=dy&&!hy;d2({target:"Promise",stat:!0,forced:dy||hy},{resolve:function(r){return y2(b2&&this===g2?m2:this,r)}})});var yy=a(()=>{"use strict";oy();sy();ly();fy();vy();my()});var fu=a(()=>{"use strict";var q2=g(),x2=D(),S2=L(),w2=we(),T2=yr(),O2=ve(),E2=jt();q2({target:"Promise",stat:!0,forced:E2},{allSettled:function(r){var t=this,n=w2.f(t),i=n.resolve,o=n.reject,u=T2(function(){var c=S2(t.resolve),s=[],l=0,f=1;O2(r,function(p){var v=l++,d=!1;f++,x2(c,t,p).then(function(m){d||(d=!0,s[v]={status:"fulfilled",value:m},--f||i(s))},function(m){d||(d=!0,s[v]={status:"rejected",reason:m},--f||i(s))})}),--f||i(s)});return u.error&&o(u.value),n.promise}})});var vu=a(()=>{"use strict";var C2=g(),I2=D(),k2=L(),_2=U(),P2=we(),R2=yr(),A2=ve(),N2=jt(),gy="No one promise resolved";C2({target:"Promise",stat:!0,forced:N2},{any:function(r){var t=this,n=_2("AggregateError"),i=P2.f(t),o=i.resolve,u=i.reject,c=R2(function(){var s=k2(t.resolve),l=[],f=0,p=1,v=!1;A2(r,function(d){var m=f++,h=!1;p++,I2(s,t,d).then(function(q){h||v||(v=!0,o(q))},function(q){h||v||(h=!0,l[m]=q,--p||u(new n(l,gy)))})}),--p||u(new n(l,gy))});return c.error&&u(c.value),i.promise}})});var du=a(()=>{"use strict";var M2=g(),j2=P(),$2=kr(),F2=ur(),L2=we(),D2=L(),qy=yr(),pu=j2.Promise,by=!1,B2=!pu||!pu.try||qy(function(){pu.try(function(e){by=e===8},8)}).error||!by;M2({target:"Promise",stat:!0,forced:B2},{try:function(e){var r=arguments.length>1?F2(arguments,1):[],t=L2.f(this),n=qy(function(){return $2(D2(e),void 0,r)});return(n.error?t.reject:t.resolve)(n.value),t.promise}})});var hu=a(()=>{"use strict";var G2=g(),U2=we();G2({target:"Promise",stat:!0},{withResolvers:function(){var r=U2.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})});var Ty=a(()=>{"use strict";var W2=g(),H2=X(),si=gr(),K2=k(),Sy=U(),wy=N(),z2=Mo(),xy=lu(),V2=ke(),yu=si&&si.prototype,Y2=!!si&&K2(function(){yu.finally.call({then:function(){}},function(){})});W2({target:"Promise",proto:!0,real:!0,forced:Y2},{finally:function(e){var r=z2(this,Sy("Promise")),t=wy(e);return this.then(t?function(n){return xy(r,e()).then(function(){return n})}:e,t?function(n){return xy(r,e()).then(function(){throw n})}:e)}});!H2&&wy(si)&&(mu=Sy("Promise").prototype.finally,yu.finally!==mu&&V2(yu,"finally",mu,{unsafe:!0}));var mu});var Ey=a(($8,Oy)=>{"use strict";Po();dr();St();yy();fu();vu();du();hu();Ty();lr();var J2=K();Oy.exports=J2.Promise});var Iy=a((F8,Cy)=>{"use strict";var Q2=Ey();hr();Cy.exports=Q2});var ky=a(()=>{"use strict";du()});var _y=a(()=>{"use strict";hu()});var Ry=a((U8,Py)=>{"use strict";var X2=Iy();ky();_y();Py.exports=X2});var Ay=a(()=>{"use strict";Po()});var Ny=a(()=>{"use strict";fu()});var My=a(()=>{"use strict";vu()});var $y=a((J8,jy)=>{"use strict";var Z2=Ry();Ay();Ny();My();jy.exports=Z2});var Zr=a((Q8,Fy)=>{"use strict";Fy.exports=$y()});var By=a((t5,Dy)=>{"use strict";mo();var ej=Br();Dy.exports=ej.f("asyncIterator")});var Uy=a((n5,Gy)=>{"use strict";var rj=By();Gy.exports=rj});var Hy=a((i5,Wy)=>{"use strict";var tj=Uy();Wy.exports=tj});var zy=a((a5,Ky)=>{"use strict";var nj=Hy();Ky.exports=nj});var ci=a((o5,Vy)=>{"use strict";Vy.exports=zy()});var Xy=a(()=>{"use strict";var ij=g(),aj=k(),oj=ee(),Qy=mt(),uj=Ra(),sj=aj(function(){Qy(1)});ij({target:"Object",stat:!0,forced:sj,sham:!uj},{getPrototypeOf:function(r){return Qy(oj(r))}})});var eg=a((f5,Zy)=>{"use strict";Xy();var cj=K();Zy.exports=cj.Object.getPrototypeOf});var tg=a((v5,rg)=>{"use strict";var lj=eg();rg.exports=lj});var ig=a((p5,ng)=>{"use strict";var fj=tg();ng.exports=fj});var og=a((d5,ag)=>{"use strict";var vj=ig();ag.exports=vj});var li=a((h5,ug)=>{"use strict";ug.exports=og()});var cg=a(()=>{"use strict";var pj=g(),dj=A(),hj=Ie(),mj=dj([].reverse),sg=[1,2];pj({target:"Array",proto:!0,forced:String(sg)===String(sg.reverse())},{reverse:function(){return hj(this)&&(this.length=this.length),mj(this)}})});var fg=a((g5,lg)=>{"use strict";cg();var yj=oe();lg.exports=yj("Array","reverse")});var pg=a((b5,vg)=>{"use strict";var gj=B(),bj=fg(),qu=Array.prototype;vg.exports=function(e){var r=e.reverse;return e===qu||gj(qu,e)&&r===qu.reverse?bj:r}});var hg=a((q5,dg)=>{"use strict";var qj=pg();dg.exports=qj});var yg=a((x5,mg)=>{"use strict";var xj=hg();mg.exports=xj});var bg=a((S5,gg)=>{"use strict";var Sj=yg();gg.exports=Sj});var xg=a((w5,qg)=>{"use strict";qg.exports=bg()});var xu=a((T5,Lt)=>{function wj(e,r){this.v=e,this.k=r}Lt.exports=wj,Lt.exports.__esModule=!0,Lt.exports.default=Lt.exports});var Sg=a(()=>{"use strict";var Tj=g(),Oj=G(),Ej=Ve();Tj({target:"Object",stat:!0,sham:!Oj},{create:Ej})});var Tg=a((C5,wg)=>{"use strict";Sg();var Cj=K(),Ij=Cj.Object;wg.exports=function(r,t){return Ij.create(r,t)}});var Eg=a((I5,Og)=>{"use strict";var kj=Tg();Og.exports=kj});var Ig=a((k5,Cg)=>{"use strict";var _j=Eg();Cg.exports=_j});var _g=a((_5,kg)=>{"use strict";var Pj=Ig();kg.exports=Pj});var fi=a((P5,Pg)=>{"use strict";Pg.exports=_g()});var wu=a((R5,Mg)=>{"use strict";var Ag=A(),Rj=L(),Aj=$(),Nj=W(),Rg=ur(),Mj=Ir(),Ng=Function,jj=Ag([].concat),$j=Ag([].join),Su={},Fj=function(e,r,t){if(!Nj(Su,r)){for(var n=[],i=0;i<r;i++)n[i]="a["+i+"]";Su[r]=Ng("C,a","return new C("+$j(n,",")+")")}return Su[r](e,t)};Mg.exports=Mj?Ng.bind:function(r){var t=Rj(this),n=t.prototype,i=Rg(arguments,1),o=function(){var c=jj(i,Rg(arguments));return this instanceof o?Fj(t,c.length,c):t.apply(r,c)};return Aj(n)&&(o.prototype=n),o}});var $g=a(()=>{"use strict";var Lj=g(),jg=wu();Lj({target:"Function",proto:!0,forced:Function.bind!==jg},{bind:jg})});var Lg=a((M5,Fg)=>{"use strict";$g();var Dj=oe();Fg.exports=Dj("Function","bind")});var Bg=a((j5,Dg)=>{"use strict";var Bj=B(),Gj=Lg(),Tu=Function.prototype;Dg.exports=function(e){var r=e.bind;return e===Tu||Bj(Tu,e)&&r===Tu.bind?Gj:r}});var Ug=a(($5,Gg)=>{"use strict";var Uj=Bg();Gg.exports=Uj});var Hg=a((F5,Wg)=>{"use strict";var Wj=Ug();Wg.exports=Wj});var zg=a((L5,Kg)=>{"use strict";var Hj=Hg();Kg.exports=Hj});var Dt=a((D5,Vg)=>{"use strict";Vg.exports=zg()});var Yg=a(()=>{"use strict";var Kj=g(),zj=yt();Kj({target:"Object",stat:!0},{setPrototypeOf:zj})});var Qg=a((U5,Jg)=>{"use strict";Yg();var Vj=K();Jg.exports=Vj.Object.setPrototypeOf});var Zg=a((W5,Xg)=>{"use strict";var Yj=Qg();Xg.exports=Yj});var rb=a((H5,eb)=>{"use strict";var Jj=Zg();eb.exports=Jj});var nb=a((K5,tb)=>{"use strict";var Qj=rb();tb.exports=Qj});var vi=a((z5,ib)=>{"use strict";ib.exports=nb()});var ob=a(()=>{"use strict";var Xj=g(),Zj=G(),ab=re().f;Xj({target:"Object",stat:!0,forced:Object.defineProperty!==ab,sham:!Zj},{defineProperty:ab})});var cb=a((J5,sb)=>{"use strict";ob();var e$=K(),ub=e$.Object,r$=sb.exports=function(r,t,n){return ub.defineProperty(r,t,n)};ub.defineProperty.sham&&(r$.sham=!0)});var fb=a((Q5,lb)=>{"use strict";var t$=cb();lb.exports=t$});var pb=a((X5,vb)=>{"use strict";var n$=fb();vb.exports=n$});var hb=a((Z5,db)=>{"use strict";var i$=pb();db.exports=i$});var Bt=a((ez,mb)=>{"use strict";mb.exports=hb()});var Ou=a((rz,Ae)=>{var a$=Bt();function pi(e,r,t,n){var i=a$;try{i({},"",{})}catch{i=0}Ae.exports=pi=function(u,c,s,l){function f(p,v){pi(u,p,function(d){return this._invoke(p,v,d)})}c?i?i(u,c,{value:s,enumerable:!l,configurable:!l,writable:!l}):u[c]=s:(f("next",0),f("throw",1),f("return",2))},Ae.exports.__esModule=!0,Ae.exports.default=Ae.exports,pi(e,r,t,n)}Ae.exports=pi,Ae.exports.__esModule=!0,Ae.exports.default=Ae.exports});var Cu=a((tz,Ne)=>{var yb=Se(),Eu=fi(),o$=Dt(),u$=li(),gb=vi(),Oe=Ou();function bb(){var e,r,t=typeof yb=="function"?yb:{},n=t.iterator||"@@iterator",i=t.toStringTag||"@@toStringTag";function o(d,m,h,q){var b=m&&m.prototype instanceof c?m:c,x=Eu(b.prototype);return Oe(x,"_invoke",function(_,C,S){var T,w,E,j=0,ge=S||[],I=!1,Z={p:0,n:0,v:e,a:be,f:o$(be).call(be,e,4),d:function(F,pe){return T=F,w=0,E=e,Z.n=pe,u}};function be(J,F){for(w=J,E=F,r=0;!I&&j&&!pe&&r<ge.length;r++){var pe,O=ge[r],Er=Z.p,Ue=O[2];J>3?(pe=Ue===F)&&(E=O[(w=O[4])?5:(w=3,3)],O[4]=O[5]=e):O[0]<=Er&&((pe=J<2&&Er<O[1])?(w=0,Z.v=F,Z.n=O[1]):Er<Ue&&(pe=J<3||O[0]>F||F>Ue)&&(O[4]=J,O[5]=F,Z.n=Ue,w=0))}if(pe||J>1)return u;throw I=!0,F}return function(J,F,pe){if(j>1)throw TypeError("Generator is already running");for(I&&F===1&&be(F,pe),w=F,E=pe;(r=w<2?e:E)||!I;){T||(w?w<3?(w>1&&(Z.n=-1),be(w,E)):Z.n=E:Z.v=E);try{if(j=2,T){if(w||(J="next"),r=T[J]){if(!(r=r.call(T,E)))throw TypeError("iterator result is not an object");if(!r.done)return r;E=r.value,w<2&&(w=0)}else w===1&&(r=T.return)&&r.call(T),w<2&&(E=TypeError("The iterator does not provide a '"+J+"' method"),w=1);T=e}else if((r=(I=Z.n<0)?E:_.call(C,Z))!==u)break}catch(O){T=e,w=1,E=O}finally{j=1}}return{value:r,done:I}}}(d,h,q),!0),x}var u={};function c(){}function s(){}function l(){}r=u$;var f=[][n]?r(r([][n]())):(Oe(r={},n,function(){return this}),r),p=l.prototype=c.prototype=Eu(f);function v(d){return gb?gb(d,l):(d.__proto__=l,Oe(d,i,"GeneratorFunction")),d.prototype=Eu(p),d}return s.prototype=l,Oe(p,"constructor",l),Oe(l,"constructor",s),s.displayName="GeneratorFunction",Oe(l,i,"GeneratorFunction"),Oe(p),Oe(p,i,"Generator"),Oe(p,n,function(){return this}),Oe(p,"toString",function(){return"[object Generator]"}),(Ne.exports=bb=function(){return{w:o,m:v}},Ne.exports.__esModule=!0,Ne.exports.default=Ne.exports)()}Ne.exports=bb,Ne.exports.__esModule=!0,Ne.exports.default=Ne.exports});var _u=a((nz,Gt)=>{var s$=Se(),c$=ci(),l$=xu(),Iu=Ou();function ku(e,r){function t(i,o,u,c){try{var s=e[i](o),l=s.value;return l instanceof l$?r.resolve(l.v).then(function(f){t("next",f,u,c)},function(f){t("throw",f,u,c)}):r.resolve(l).then(function(f){s.value=f,u(s)},function(f){return t("throw",f,u,c)})}catch(f){c(f)}}var n;this.next||(Iu(ku.prototype),Iu(ku.prototype,typeof s$=="function"&&c$||"@asyncIterator",function(){return this})),Iu(this,"_invoke",function(i,o,u){function c(){return new r(function(s,l){t(i,u,s,l)})}return n=n?n.then(c,c):c()},!0)}Gt.exports=ku,Gt.exports.__esModule=!0,Gt.exports.default=Gt.exports});var Pu=a((iz,Ut)=>{var f$=Zr(),v$=Cu(),p$=_u();function d$(e,r,t,n,i){return new p$(v$().w(e,r,t,n),i||f$)}Ut.exports=d$,Ut.exports.__esModule=!0,Ut.exports.default=Ut.exports});var qb=a((az,Wt)=>{var h$=Pu();function m$(e,r,t,n,i){var o=h$(e,r,t,n,i);return o.next().then(function(u){return u.done?u.value:o.next()})}Wt.exports=m$,Wt.exports.__esModule=!0,Wt.exports.default=Wt.exports});var wb=a((oz,Sb)=>{"use strict";var xb=He(),y$=TypeError;Sb.exports=function(e,r){if(!delete e[r])throw new y$("Cannot delete property "+xb(r)+" of "+xb(e))}});var Tb=a(()=>{"use strict";var g$=g(),b$=ee(),q$=le(),x$=Fr(),S$=wb(),w$=xt(),T$=[].unshift(0)!==1,O$=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},E$=T$||!O$();g$({target:"Array",proto:!0,arity:1,forced:E$},{unshift:function(r){var t=b$(this),n=q$(t),i=arguments.length;if(i){w$(n+i);for(var o=n;o--;){var u=o+i;o in t?t[u]=t[o]:S$(t,u)}for(var c=0;c<i;c++)t[c]=arguments[c]}return x$(t,n+i)}})});var Eb=a((cz,Ob)=>{"use strict";Tb();var C$=oe();Ob.exports=C$("Array","unshift")});var Ib=a((lz,Cb)=>{"use strict";var I$=B(),k$=Eb(),Ru=Array.prototype;Cb.exports=function(e){var r=e.unshift;return e===Ru||I$(Ru,e)&&r===Ru.unshift?k$:r}});var _b=a((fz,kb)=>{"use strict";var _$=Ib();kb.exports=_$});var Rb=a((vz,Pb)=>{"use strict";var P$=_b();Pb.exports=P$});var Nb=a((pz,Ab)=>{"use strict";var R$=Rb();Ab.exports=R$});var jb=a((dz,Mb)=>{"use strict";Mb.exports=Nb()});var $b=a((hz,Ht)=>{var A$=jb();function N$(e){var r=Object(e),t=[];for(var n in r)A$(t).call(t,n);return function i(){for(;t.length;)if((n=t.pop())in r)return i.value=n,i.done=!1,i;return i.done=!0,i}}Ht.exports=N$,Ht.exports.__esModule=!0,Ht.exports.default=Ht.exports});var Lb=a((mz,Fb)=>{"use strict";dr();St();lr();go();var M$=Br();Fb.exports=M$.f("iterator")});var Bb=a((yz,Db)=>{"use strict";var j$=Lb();hr();Db.exports=j$});var Ub=a((gz,Gb)=>{"use strict";var $$=Bb();Gb.exports=$$});var Hb=a((bz,Wb)=>{"use strict";var F$=Ub();Wb.exports=F$});var Kt=a((qz,Kb)=>{"use strict";Kb.exports=Hb()});var zb=a((xz,Me)=>{var di=Se(),L$=Kt();function Au(e){"@babel/helpers - typeof";return Me.exports=Au=typeof di=="function"&&typeof L$=="symbol"?function(r){return typeof r}:function(r){return r&&typeof di=="function"&&r.constructor===di&&r!==di.prototype?"symbol":typeof r},Me.exports.__esModule=!0,Me.exports.default=Me.exports,Au(e)}Me.exports=Au,Me.exports.__esModule=!0,Me.exports.default=Me.exports});var Vb=a((Sz,zt)=>{var D$=zb().default,B$=Se(),G$=Kt();function U$(e){if(e!=null){var r=e[typeof B$=="function"&&G$||"@@iterator"],t=0;if(r)return r.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}throw new TypeError(D$(e)+" is not iterable")}zt.exports=U$,zt.exports.__esModule=!0,zt.exports.default=zt.exports});var Qb=a((wz,je)=>{var Yb=li(),W$=xg(),H$=xu(),K$=Cu(),z$=qb(),V$=Pu(),Y$=_u(),J$=$b(),Jb=Vb();function Nu(){"use strict";var e=K$(),r=e.m(Nu),t=(Yb?Yb(r):r.__proto__).constructor;function n(u){var c=typeof u=="function"&&u.constructor;return!!c&&(c===t||(c.displayName||c.name)==="GeneratorFunction")}var i={throw:1,return:2,break:3,continue:3};function o(u){var c,s;return function(l){c||(c={stop:function(){return s(l.a,2)},catch:function(){return l.v},abrupt:function(p,v){return s(l.a,i[p],v)},delegateYield:function(p,v,d){return c.resultName=v,s(l.d,Jb(p),d)},finish:function(p){return s(l.f,p)}},s=function(p,v,d){l.p=c.prev,l.n=c.next;try{return p(v,d)}finally{c.next=l.n}}),c.resultName&&(c[c.resultName]=l.v,c.resultName=void 0),c.sent=l.v,c.next=l.n;try{return u.call(this,c)}finally{l.p=c.prev,l.n=c.next}}}return(je.exports=Nu=function(){return{wrap:function(s,l,f,p){return e.w(o(s),l,f,p&&W$(p).call(p))},isGeneratorFunction:n,mark:e.m,awrap:function(s,l){return new H$(s,l)},AsyncIterator:Y$,async:function(s,l,f,p,v){return(n(l)?V$:z$)(o(s),l,f,p,v)},keys:J$,values:Jb}},je.exports.__esModule=!0,je.exports.default=je.exports)()}je.exports=Nu,je.exports.__esModule=!0,je.exports.default=je.exports});var se=a((Tz,Xb)=>{var hi=Qb()();Xb.exports=hi;try{regeneratorRuntime=hi}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=hi:Function("r","regeneratorRuntime = r")(hi)}});var Mu=a((yi,eq)=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zb=function(){function e(r,t){var n=[],i=!0,o=!1,u=void 0;try{for(var c=r[Symbol.iterator](),s;!(i=(s=c.next()).done)&&(n.push(s.value),!(t&&n.length===t));i=!0);}catch(l){o=!0,u=l}finally{try{!i&&c.return&&c.return()}finally{if(o)throw u}}return n}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();yi.default=Q$;function Q$(e,r){if(global.document)return!1;global.document=r.context||function(){for(var n=e;n.parent;)n=n.parent;return n}();var t=Object.getPrototypeOf(global.document);return Object.getOwnPropertyDescriptor(t,"childTags")||Object.defineProperty(t,"childTags",{enumerable:!0,get:function(){return this.children.filter(function(i){return i.type==="tag"||i.type==="script"||i.type==="style"})}}),Object.getOwnPropertyDescriptor(t,"attributes")||Object.defineProperty(t,"attributes",{enumerable:!0,get:function(){var i=this.attribs,o=Object.keys(i),u=o.reduce(function(c,s,l){return c[l]={name:s,value:i[s]},c},{});return Object.defineProperty(u,"length",{enumerable:!1,configurable:!1,value:o.length}),u}}),t.getAttribute||(t.getAttribute=function(n){return this.attribs[n]||null}),t.getElementsByTagName||(t.getElementsByTagName=function(n){var i=[];return Ze(this.childTags,function(o){(o.name===n||n==="*")&&i.push(o)}),i}),t.getElementsByClassName||(t.getElementsByClassName=function(n){var i=n.trim().replace(/\s+/g," ").split(" "),o=[];return Ze([this],function(u){var c=u.attribs.class;c&&i.every(function(s){return c.indexOf(s)>-1})&&o.push(u)}),o}),t.querySelectorAll||(t.querySelectorAll=function(n){var i=this;n=n.replace(/(>)(\S)/g,"$1 $2").trim();var o=X$(n),u=o.shift(),c=o.length;return u(this).filter(function(s){for(var l=0;l<c;){if(s=o[l](s,i),!s)return!1;l+=1}return!0})}),t.contains||(t.contains=function(n){var i=!1;return Ze([this],function(o,u){o===n&&(i=!0,u())}),i}),!0}function X$(e){return e.split(" ").reverse().map(function(r,t){var n=t===0,i=r.split(":"),o=Zb(i,2),u=o[0],c=o[1],s=null,l=null;if(function(){switch(!0){case/>/.test(u):l=function(S){return function(T){return T(S.parent)&&S.parent}};break;case/^\./.test(u):var m=u.substr(1).split(".");s=function(S){var T=S.attribs.class;return T&&m.every(function(w){return T.indexOf(w)>-1})},l=function(S,T){return n?S.getElementsByClassName(m.join(" ")):typeof S=="function"?S(s):Vt(S,T,s)};break;case/^\[/.test(u):var h=u.replace(/\[|\]|"/g,"").split("="),q=Zb(h,2),b=q[0],x=q[1];s=function(S){var T=Object.keys(S.attribs).indexOf(b)>-1;return!!(T&&(!x||S.attribs[b]===x))},l=function(S,T){if(n){var w=function(){var E=[];return Ze([S],function(j){s(j)&&E.push(j)}),{v:E}}();if((typeof w>"u"?"undefined":mi(w))==="object")return w.v}return typeof S=="function"?S(s):Vt(S,T,s)};break;case/^#/.test(u):var _=u.substr(1);s=function(S){return S.attribs.id===_},l=function(S,T){if(n){var w=function(){var E=[];return Ze([S],function(j,ge){s(j)&&(E.push(j),ge())}),{v:E}}();if((typeof w>"u"?"undefined":mi(w))==="object")return w.v}return typeof S=="function"?S(s):Vt(S,T,s)};break;case/\*/.test(u):s=function(S){return!0},l=function(S,T){if(n){var w=function(){var E=[];return Ze([S],function(j){return E.push(j)}),{v:E}}();if((typeof w>"u"?"undefined":mi(w))==="object")return w.v}return typeof S=="function"?S(s):Vt(S,T,s)};break;default:s=function(S){return S.name===u},l=function(S,T){if(n){var w=function(){var E=[];return Ze([S],function(j){s(j)&&E.push(j)}),{v:E}}();if((typeof w>"u"?"undefined":mi(w))==="object")return w.v}return typeof S=="function"?S(s):Vt(S,T,s)}}}(),!c)return l;var f=c.match(/-(child|type)\((\d+)\)$/),p=f[1],v=parseInt(f[2],10)-1,d=function(h){if(h){var q=h.parent.childTags;p==="type"&&(q=q.filter(s));var b=q.findIndex(function(x){return x===h});if(b===v)return!0}return!1};return function(h){var q=l(h);return n?q.reduce(function(b,x){return d(x)&&b.push(x),b},[]):d(q)&&q}})}function Ze(e,r){e.forEach(function(t){var n=!0;r(t,function(){return n=!1}),t.childTags&&n&&Ze(t.childTags,r)})}function Vt(e,r,t){for(;e.parent;){if(e=e.parent,t(e))return e;if(e===r)break}return null}eq.exports=yi.default});var bi=a(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.convertNodeList=Z$;gi.escapeValue=eF;function Z$(e){for(var r=e.length,t=new Array(r),n=0;n<r;n++)t[n]=e[n];return t}function eF(e){return e&&e.replace(/['"`\\/:\?&!#$%^()[\]{|}*+;,.<=>@~]/g,"\\$&").replace(/\n/g,"A")}});var lq=a((qi,cq)=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=rF;var iq=bi(),rq={attribute:function(r){return["style","data-reactid","data-react-checksum"].indexOf(r)>-1}};function rF(e,r){var t=r.root,n=t===void 0?document:t,i=r.skip,o=i===void 0?null:i,u=r.priority,c=u===void 0?["id","class","href","src"]:u,s=r.ignore,l=s===void 0?{}:s,f=[],p=e,v=f.length,d=!1,m=o&&(Array.isArray(o)?o:[o]).map(function(b){return typeof b!="function"?function(x){return x===b}:b}),h=function(x){return o&&m.some(function(_){return _(x)})};for(Object.keys(l).forEach(function(b){b==="class"&&(d=!0);var x=l[b];typeof x!="function"&&(typeof x=="number"&&(x=x.toString()),typeof x=="string"&&(x=new RegExp((0,iq.escapeValue)(x).replace(/\\/g,"\\\\"))),typeof x=="boolean"&&(x=x?/(?:)/:/.^/),l[b]=function(_,C){return x.test(C)})}),d&&function(){var b=l.attribute;l.attribute=function(x,_,C){return l.class(_)||b&&b(x,_,C)}}();p!==n;){if(h(p)!==!0){if(tq(c,p,l,f,n)||nq(p,l,f,n))break;tq(c,p,l,f),f.length===v&&nq(p,l,f),f.length===v&&tF(c,p,l,f)}p=p.parentNode,v=f.length}if(p===n){var q=uq(c,p,l);f.unshift(q)}return f.join(" ")}function tq(e,r,t,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:r.parentNode,o=aq(e,r,t);if(o){var u=i.querySelectorAll(o);if(u.length===1)return n.unshift(o),!0}return!1}function aq(e,r,t){for(var n=r.attributes,i=Object.keys(n).sort(function(h,q){var b=e.indexOf(n[h].name),x=e.indexOf(n[q].name);return x===-1?b===-1?0:-1:b-x}),o=0,u=i.length;o<u;o++){var c=i[o],s=n[c],l=s.name,f=(0,iq.escapeValue)(s.value),p=t[l]||t.attribute,v=rq[l]||rq.attribute;if(!sq(p,l,f,v)){var d="["+l+'="'+f+'"]';if(/\b\d/.test(f)===!1&&(l==="id"&&(d="#"+f),l==="class")){var m=f.trim().replace(/\s+/g,".");d="."+m}return d}}return null}function nq(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:e.parentNode,i=oq(e,r);if(i){var o=n.getElementsByTagName(i);if(o.length===1)return t.unshift(i),!0}return!1}function oq(e,r){var t=e.tagName.toLowerCase();return sq(r.tag,null,t)?null:t}function tF(e,r,t,n){for(var i=r.parentNode,o=i.childTags||i.children,u=0,c=o.length;u<c;u++){var s=o[u];if(s===r){var l=uq(e,s,t);if(!l)return console.warn(`
|
|
3
|
+
Element couldn't be matched through strict ignore pattern!
|
|
4
|
+
`,s,t,l);var f="> "+l+":nth-child("+(u+1)+")";return n.unshift(f),!0}}return!1}function uq(e,r,t){var n=aq(e,r,t);return n||(n=oq(r,t)),n}function sq(e,r,t,n){if(!t)return!0;var i=e||n;return i?i(r,t,n):!1}cq.exports=qi.default});var ju=a((Si,fq)=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=uF;var nF=Mu(),iF=oF(nF),aF=bi();function oF(e){return e&&e.__esModule?e:{default:e}}function uF(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Array.isArray(r)||(r=r.length?(0,aF.convertNodeList)(r):[r]),!r.length||r.some(function(p){return p.nodeType!==1}))throw new Error('Invalid input - to compare HTMLElements its necessary to provide a reference of the selected node(s)! (missing "elements")');var n=(0,iF.default)(r[0],t),i=e.replace(/> /g,">").split(/\s+(?=(?:(?:[^"]*"){2})*[^"]*$)/);if(i.length<2)return xi("",e,"",r);for(var o=[i.pop()];i.length>1;){var u=i.pop(),c=i.join(" "),s=o.join(" "),l=c+" "+s,f=document.querySelectorAll(l);f.length!==r.length&&o.unshift(xi(c,u,s,r))}return o.unshift(i[0]),i=o,i[0]=xi("",i[0],i.slice(1).join(" "),r),i[i.length-1]=xi(i.slice(0,-1).join(" "),i[i.length-1],"",r),n&&delete global.document,i.join(" ").replace(/>/g,"> ").trim()}function xi(e,r,t,n){if(e.length&&(e=e+" "),t.length&&(t=" "+t),/\[*\]/.test(r)){var i=r.replace(/=.*$/,"]"),o=""+e+i+t,u=document.querySelectorAll(o);if(et(u,n))r=i;else for(var c=document.querySelectorAll(""+e+i),s=function(){var C=c[l];if(n.some(function(T){return C.contains(T)})){var S=C.tagName.toLowerCase();return o=""+e+S+t,u=document.querySelectorAll(o),et(u,n)&&(r=S),"break"}},l=0,f=c.length;l<f;l++){var o,u,p=s();if(p==="break")break}}if(/>/.test(r)){var v=r.replace(/>/,""),o=""+e+v+t,u=document.querySelectorAll(o);et(u,n)&&(r=v)}if(/:nth-child/.test(r)){var d=r.replace(/nth-child/g,"nth-of-type"),o=""+e+d+t,u=document.querySelectorAll(o);et(u,n)&&(r=d)}if(/\.\S+\.\S+/.test(r)){for(var m=r.trim().split(".").slice(1).map(function(_){return"."+_}).sort(function(_,C){return _.length-C.length});m.length;){var h=r.replace(m.shift(),"").trim(),o=(""+e+h+t).trim();if(!o.length||o.charAt(0)===">"||o.charAt(o.length-1)===">")break;var u=document.querySelectorAll(o);et(u,n)&&(r=h)}if(m=r&&r.match(/\./g),m&&m.length>2)for(var q=document.querySelectorAll(""+e+r),b=function(){var C=q[l];if(n.some(function(T){return C.contains(T)})){var S=C.tagName.toLowerCase();return o=""+e+S+t,u=document.querySelectorAll(o),et(u,n)&&(r=S),"break"}},l=0,f=q.length;l<f;l++){var o,u,x=b();if(x==="break")break}}return r}function et(e,r){var t=e.length;return t===r.length&&r.every(function(n){for(var i=0;i<t;i++)if(e[i]===n)return!0;return!1})}fq.exports=Si.default});var $u=a(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.getCommonAncestor=sF;wi.getCommonProperties=cF;function sF(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=r.root,n=t===void 0?document:t,i=[];e.forEach(function(p,v){for(var d=[];p!==n;)p=p.parentNode,d.unshift(p);i[v]=d}),i.sort(function(p,v){return p.length-v.length});for(var o=i.shift(),u=null,c=function(){var v=o[s],d=i.some(function(m){return!m.some(function(h){return h===v})});if(d)return"break";u=v},s=0,l=o.length;s<l;s++){var f=c();if(f==="break")break}return u}function cF(e){var r={classes:[],attributes:{},tag:null};return e.forEach(function(t){var n=r.classes,i=r.attributes,o=r.tag;if(n!==void 0){var u=t.getAttribute("class");u?(u=u.trim().split(" "),n.length?(n=n.filter(function(s){return u.some(function(l){return l===s})}),n.length?r.classes=n:delete r.classes):r.classes=u):delete r.classes}if(i!==void 0&&function(){var s=t.attributes,l=Object.keys(s).reduce(function(v,d){var m=s[d],h=m.name;return m&&h!=="class"&&(v[h]=m.value),v},{}),f=Object.keys(l),p=Object.keys(i);f.length?p.length?(i=p.reduce(function(v,d){var m=i[d];return m===l[d]&&(v[d]=m),v},{}),Object.keys(i).length?r.attributes=i:delete r.attributes):r.attributes=l:delete r.attributes}(),o!==void 0){var c=t.tagName.toLowerCase();o?c!==o&&delete r.tag:r.tag=c}}),r}});var yq=a(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});var lF=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Yt.getSingleSelector=Lu;Yt.getMultiSelector=mq;Yt.default=mF;var fF=Mu(),pq=Fu(fF),vF=lq(),pF=Fu(vF),dF=ju(),dq=Fu(dF),vq=bi(),hq=$u();function Fu(e){return e&&e.__esModule?e:{default:e}}function Lu(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e.nodeType===3&&(e=e.parentNode),e.nodeType!==1)throw new Error('Invalid input - only HTMLElements or representations of them are supported! (not "'+(typeof e>"u"?"undefined":lF(e))+'")');var t=(0,pq.default)(e,r),n=(0,pF.default)(e,r),i=(0,dq.default)(n,e,r);return t&&delete global.document,i}function mq(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Array.isArray(e)||(e=(0,vq.convertNodeList)(e)),e.some(function(l){return l.nodeType!==1}))throw new Error("Invalid input - only an Array of HTMLElements or representations of them is supported!");var t=(0,pq.default)(e[0],r),n=(0,hq.getCommonAncestor)(e,r),i=Lu(n,r),o=hF(e),u=o[0],c=(0,dq.default)(i+" "+u,e,r),s=(0,vq.convertNodeList)(document.querySelectorAll(c));return e.every(function(l){return s.some(function(f){return f===l})})?(t&&delete global.document,c):console.warn(`
|
|
5
|
+
The selected elements can't be efficiently mapped.
|
|
6
|
+
Its probably best to use multiple single selectors instead!
|
|
7
|
+
`,e)}function hF(e){var r=(0,hq.getCommonProperties)(e),t=r.classes,n=r.attributes,i=r.tag,o=[];if(i&&o.push(i),t){var u=t.map(function(s){return"."+s}).join("");o.push(u)}if(n){var c=Object.keys(n).reduce(function(s,l){return s.push("["+l+'="'+n[l]+'"]'),s},[]).join("");o.push(c)}return o.length,[o.join("")]}function mF(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.length&&!e.name?mq(e,r):Lu(e,r)}});var qq=a(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.default=ne.common=ne.optimize=ne.getMultiSelector=ne.getSingleSelector=ne.select=void 0;var Du=yq();Object.defineProperty(ne,"getSingleSelector",{enumerable:!0,get:function(){return Du.getSingleSelector}});Object.defineProperty(ne,"getMultiSelector",{enumerable:!0,get:function(){return Du.getMultiSelector}});var gq=bq(Du),yF=ju(),gF=bq(yF),bF=$u(),qF=xF(bF);function xF(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}function bq(e){return e&&e.__esModule?e:{default:e}}ne.select=gq.default;ne.optimize=gF.default;ne.common=qF;ne.default=gq.default});var xq=a(()=>{"use strict";var PF=g(),RF=Ie();PF({target:"Array",stat:!0},{isArray:RF})});var wq=a((Bz,Sq)=>{"use strict";xq();var AF=K();Sq.exports=AF.Array.isArray});var Oq=a((Gz,Tq)=>{"use strict";var NF=wq();Tq.exports=NF});var Cq=a((Uz,Eq)=>{"use strict";var MF=Oq();Eq.exports=MF});var kq=a((Wz,Iq)=>{"use strict";var jF=Cq();Iq.exports=jF});var Pq=a((Hz,_q)=>{"use strict";_q.exports=kq()});var Nq=a(()=>{"use strict";var $F=g(),FF=ee(),LF=le(),DF=Fr(),BF=xt(),GF=k(),UF=GF(function(){return[].push.call({length:4294967296},1)!==4294967297}),WF=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},HF=UF||!WF();$F({target:"Array",proto:!0,arity:1,forced:HF},{push:function(r){var t=FF(this),n=LF(t),i=arguments.length;BF(n+i);for(var o=0;o<i;o++)t[n]=arguments[o],n++;return DF(t,n),n}})});var jq=a((Yz,Mq)=>{"use strict";Nq();var KF=oe();Mq.exports=KF("Array","push")});var Fq=a((Jz,$q)=>{"use strict";var zF=B(),VF=jq(),Bu=Array.prototype;$q.exports=function(e){var r=e.push;return e===Bu||zF(Bu,e)&&r===Bu.push?VF:r}});var Dq=a((Qz,Lq)=>{"use strict";var YF=Fq();Lq.exports=YF});var Gq=a((Xz,Bq)=>{"use strict";var JF=Dq();Bq.exports=JF});var Wq=a((Zz,Uq)=>{"use strict";var QF=Gq();Uq.exports=QF});var Gu=a((eV,Hq)=>{"use strict";Hq.exports=Wq()});var tx=a(()=>{"use strict";var XF=g(),ZF=Tt().map,eL=pt(),rL=eL("map");XF({target:"Array",proto:!0,forced:!rL},{map:function(r){return ZF(this,r,arguments.length>1?arguments[1]:void 0)}})});var ix=a((IV,nx)=>{"use strict";tx();var tL=oe();nx.exports=tL("Array","map")});var ox=a((kV,ax)=>{"use strict";var nL=B(),iL=ix(),Wu=Array.prototype;ax.exports=function(e){var r=e.map;return e===Wu||nL(Wu,e)&&r===Wu.map?iL:r}});var sx=a((_V,ux)=>{"use strict";var aL=ox();ux.exports=aL});var lx=a((PV,cx)=>{"use strict";var oL=sx();cx.exports=oL});var vx=a((RV,fx)=>{"use strict";var uL=lx();fx.exports=uL});var dx=a((AV,px)=>{"use strict";px.exports=vx()});var mx=a((NV,hx)=>{hx.exports=dx()});var gx=a((MV,yx)=>{yx.exports=Zr()});var wx=a((jV,Sx)=>{"use strict";var sL=L(),cL=ee(),lL=ln(),fL=le(),bx=TypeError,qx="Reduce of empty array with no initial value",xx=function(e){return function(r,t,n,i){var o=cL(r),u=lL(o),c=fL(o);if(sL(t),c===0&&n<2)throw new bx(qx);var s=e?c-1:0,l=e?-1:1;if(n<2)for(;;){if(s in u){i=u[s],s+=l;break}if(s+=l,e?s<0:c<=s)throw new bx(qx)}for(;e?s>=0:c>s;s+=l)s in u&&(i=t(i,u[s],s,o));return i}};Sx.exports={left:xx(!1),right:xx(!0)}});var Hu=a(($V,Tx)=>{"use strict";var vL=k();Tx.exports=function(e,r){var t=[][e];return!!t&&vL(function(){t.call(null,r||function(){return 1},1)})}});var Ex=a(()=>{"use strict";var pL=g(),dL=wx().left,hL=Hu(),Ox=Pr(),mL=_t(),yL=!mL&&Ox>79&&Ox<83,gL=yL||!hL("reduce");pL({target:"Array",proto:!0,forced:gL},{reduce:function(r){var t=arguments.length;return dL(this,r,t,t>1?arguments[1]:void 0)}})});var Ix=a((DV,Cx)=>{"use strict";Ex();var bL=oe();Cx.exports=bL("Array","reduce")});var _x=a((BV,kx)=>{"use strict";var qL=B(),xL=Ix(),Ku=Array.prototype;kx.exports=function(e){var r=e.reduce;return e===Ku||qL(Ku,e)&&r===Ku.reduce?xL:r}});var Rx=a((GV,Px)=>{"use strict";var SL=_x();Px.exports=SL});var Nx=a((UV,Ax)=>{"use strict";var wL=Rx();Ax.exports=wL});var jx=a((WV,Mx)=>{"use strict";var TL=Nx();Mx.exports=TL});var Fx=a((HV,$x)=>{"use strict";$x.exports=jx()});var Dx=a((KV,Lx)=>{Lx.exports=Fx()});var Ux=a((zV,Gx)=>{"use strict";var OL=Ie(),EL=le(),CL=xt(),IL=z(),kL=$r(),Bx=function(e,r,t,n,i,o,u,c){for(var s=i,l=0,f=u?IL(u,c):!1,p,v;l<n;)l in t&&(p=f?f(t[l],l,r):t[l],o>0&&OL(p)?(v=EL(p),s=Bx(e,r,p,v,s,o-1)-1):(CL(s+1),kL(e,s,p)),s++),l++;return s};Gx.exports=Bx});var Wx=a(()=>{"use strict";var _L=g(),PL=Ux(),RL=L(),AL=ee(),NL=le(),ML=Pn();_L({target:"Array",proto:!0},{flatMap:function(r){var t=AL(this),n=NL(t),i;return RL(r),i=ML(t,0),PL(i,t,t,n,0,1,r,arguments.length>1?arguments[1]:void 0),i}})});var Hx=a(()=>{"use strict";var jL=qo();jL("flatMap")});var zx=a((XV,Kx)=>{"use strict";Wx();Hx();var $L=oe();Kx.exports=$L("Array","flatMap")});var Yx=a((ZV,Vx)=>{"use strict";var FL=B(),LL=zx(),zu=Array.prototype;Vx.exports=function(e){var r=e.flatMap;return e===zu||FL(zu,e)&&r===zu.flatMap?LL:r}});var Qx=a((e7,Jx)=>{"use strict";var DL=Yx();Jx.exports=DL});var Zx=a((r7,Xx)=>{"use strict";var BL=Qx();Xx.exports=BL});var rS=a((t7,eS)=>{"use strict";var GL=Zx();eS.exports=GL});var nS=a((n7,tS)=>{"use strict";tS.exports=rS()});var aS=a((i7,iS)=>{iS.exports=nS()});var uS=a((a7,oS)=>{"use strict";Wa();var UL=oe();oS.exports=UL("Array","concat")});var cS=a((o7,sS)=>{"use strict";var WL=B(),HL=uS(),Vu=Array.prototype;sS.exports=function(e){var r=e.concat;return e===Vu||WL(Vu,e)&&r===Vu.concat?HL:r}});var fS=a((u7,lS)=>{"use strict";var KL=cS();lS.exports=KL});var pS=a((s7,vS)=>{"use strict";var zL=fS();vS.exports=zL});var hS=a((c7,dS)=>{"use strict";var VL=pS();dS.exports=VL});var yS=a((l7,mS)=>{"use strict";mS.exports=hS()});var Yu=a((f7,gS)=>{gS.exports=yS()});var xS=a(()=>{});var wS=a((N7,SS)=>{"use strict";xS();bo();var iD=Br();SS.exports=iD.f("toPrimitive")});var OS=a((M7,TS)=>{"use strict";var aD=wS();TS.exports=aD});var CS=a((j7,ES)=>{"use strict";var oD=OS();ES.exports=oD});var kS=a(($7,IS)=>{"use strict";var uD=CS();IS.exports=uD});var PS=a((F7,_S)=>{"use strict";_S.exports=kS()});var DS=a((a9,LS)=>{"use strict";var cD=$(),lD=qe(),fD=R(),vD=fD("match");LS.exports=function(e){var r;return cD(e)&&((r=e[vD])!==void 0?!!r:lD(e)==="RegExp")}});var GS=a((o9,BS)=>{"use strict";var pD=DS(),dD=TypeError;BS.exports=function(e){if(pD(e))throw new dD("The method doesn't accept regular expressions");return e}});var WS=a((u9,US)=>{"use strict";var hD=R(),mD=hD("match");US.exports=function(e){var r=/./;try{"/./"[e](r)}catch{try{return r[mD]=!1,"/./"[e](r)}catch{}}return!1}});var zS=a(()=>{"use strict";var yD=g(),gD=at(),bD=ut().f,qD=da(),HS=Ke(),xD=GS(),SD=ir(),wD=WS(),TD=X(),OD=gD("".slice),ED=Math.min,KS=wD("startsWith"),CD=!TD&&!KS&&!!function(){var e=bD(String.prototype,"startsWith");return e&&!e.writable}();yD({target:"String",proto:!0,forced:!CD&&!KS},{startsWith:function(r){var t=HS(SD(this));xD(r);var n=qD(ED(arguments.length>1?arguments[1]:void 0,t.length)),i=HS(r);return OD(t,n,n+i.length)===i}})});var YS=a((l9,VS)=>{"use strict";zS();var ID=oe();VS.exports=ID("String","startsWith")});var QS=a((f9,JS)=>{"use strict";var kD=B(),_D=YS(),Zu=String.prototype;JS.exports=function(e){var r=e.startsWith;return typeof e=="string"||e===Zu||kD(Zu,e)&&r===Zu.startsWith?_D:r}});var ZS=a((v9,XS)=>{"use strict";var PD=QS();XS.exports=PD});var rw=a((p9,ew)=>{"use strict";var RD=ZS();ew.exports=RD});var nw=a((d9,tw)=>{"use strict";var AD=rw();tw.exports=AD});var aw=a((h9,iw)=>{"use strict";iw.exports=nw()});var uw=a((m9,ow)=>{ow.exports=aw()});var sw=a(()=>{"use strict";var ND=g(),MD=Tt().filter,jD=pt(),$D=jD("filter");ND({target:"Array",proto:!0,forced:!$D},{filter:function(r){return MD(this,r,arguments.length>1?arguments[1]:void 0)}})});var lw=a((b9,cw)=>{"use strict";sw();var FD=oe();cw.exports=FD("Array","filter")});var vw=a((q9,fw)=>{"use strict";var LD=B(),DD=lw(),es=Array.prototype;fw.exports=function(e){var r=e.filter;return e===es||LD(es,e)&&r===es.filter?DD:r}});var dw=a((x9,pw)=>{"use strict";var BD=vw();pw.exports=BD});var mw=a((S9,hw)=>{"use strict";var GD=dw();hw.exports=GD});var gw=a((w9,yw)=>{"use strict";var UD=mw();yw.exports=UD});var qw=a((T9,bw)=>{"use strict";bw.exports=gw()});var Sw=a((O9,xw)=>{xw.exports=qw()});var Fw=a(()=>{"use strict";var QD=g(),XD=U(),ts=kr(),ZD=wu(),Rw=No(),eB=Q(),Aw=$(),rB=Ve(),Mw=k(),ns=XD("Reflect","construct"),tB=Object.prototype,nB=[].push,jw=Mw(function(){function e(){}return!(ns(function(){},[],e)instanceof e)}),$w=!Mw(function(){ns(function(){})}),Nw=jw||$w;QD({target:"Reflect",stat:!0,forced:Nw,sham:Nw},{construct:function(r,t){Rw(r),eB(t);var n=arguments.length<3?r:Rw(arguments[2]);if($w&&!jw)return ns(r,t,n);if(r===n){switch(t.length){case 0:return new r;case 1:return new r(t[0]);case 2:return new r(t[0],t[1]);case 3:return new r(t[0],t[1],t[2]);case 4:return new r(t[0],t[1],t[2],t[3])}var i=[null];return ts(nB,i,t),new(ts(ZD,r,i))}var o=n.prototype,u=rB(Aw(o)?o:tB),c=ts(r,u,t);return Aw(c)?c:u}})});var Dw=a((aY,Lw)=>{"use strict";Fw();var iB=K();Lw.exports=iB.Reflect.construct});var Gw=a((oY,Bw)=>{"use strict";var aB=Dw();Bw.exports=aB});var Ww=a((uY,Uw)=>{"use strict";var oB=Gw();Uw.exports=oB});var Kw=a((sY,Hw)=>{"use strict";var uB=Ww();Hw.exports=uB});var _i=a((cY,zw)=>{"use strict";zw.exports=Kw()});var Yw=a((lY,Vw)=>{Vw.exports=_i()});var iT=a((bY,nT)=>{"use strict";var sB=k();nT.exports=sB(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})});var uT=a((qY,oT)=>{"use strict";var cB=k(),lB=$(),fB=qe(),aT=iT(),Pi=Object.isExtensible,vB=cB(function(){Pi(1)});oT.exports=vB||aT?function(r){return!lB(r)||aT&&fB(r)==="ArrayBuffer"?!1:Pi?Pi(r):!0}:Pi});var cT=a((xY,sT)=>{"use strict";var pB=k();sT.exports=!pB(function(){return Object.isExtensible(Object.preventExtensions({}))})});var ls=a((SY,vT)=>{"use strict";var dB=g(),hB=A(),mB=Dr(),yB=$(),us=W(),gB=re().f,lT=wt(),bB=Ha(),ss=uT(),qB=Ar(),xB=cT(),fT=!1,Le=qB("meta"),SB=0,cs=function(e){gB(e,Le,{value:{objectID:"O"+SB++,weakData:{}}})},wB=function(e,r){if(!yB(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!us(e,Le)){if(!ss(e))return"F";if(!r)return"E";cs(e)}return e[Le].objectID},TB=function(e,r){if(!us(e,Le)){if(!ss(e))return!0;if(!r)return!1;cs(e)}return e[Le].weakData},OB=function(e){return xB&&fT&&ss(e)&&!us(e,Le)&&cs(e),e},EB=function(){CB.enable=function(){},fT=!0;var e=lT.f,r=hB([].splice),t={};t[Le]=1,e(t).length&&(lT.f=function(n){for(var i=e(n),o=0,u=i.length;o<u;o++)if(i[o]===Le){r(i,o,1);break}return i},dB({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:bB.f}))},CB=vT.exports={enable:EB,fastKey:wB,getWeakData:TB,onFreeze:OB};mB[Le]=!0});var hT=a((wY,dT)=>{"use strict";var IB=g(),kB=P(),_B=ls(),PB=k(),RB=xe(),AB=ve(),NB=Zn(),MB=N(),jB=$(),$B=nr(),FB=Pe(),LB=re().f,DB=Tt().forEach,BB=G(),pT=ze(),GB=pT.set,UB=pT.getterFor;dT.exports=function(e,r,t){var n=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=n?"set":"add",u=kB[e],c=u&&u.prototype,s={},l;if(!BB||!MB(u)||!(i||c.forEach&&!PB(function(){new u().entries().next()})))l=t.getConstructor(r,e,n,o),_B.enable();else{l=r(function(v,d){GB(NB(v,f),{type:e,collection:new u}),$B(d)||AB(d,v[o],{that:v,AS_ENTRIES:n})});var f=l.prototype,p=UB(e);DB(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(v){var d=v==="add"||v==="set";v in c&&!(i&&v==="clear")&&RB(f,v,function(m,h){var q=p(this).collection;if(!d&&i&&!jB(m))return v==="get"?void 0:!1;var b=q[v](m===0?0:m,h);return d?this:b})}),i||LB(f,"size",{configurable:!0,get:function(){return p(this).collection.size}})}return FB(l,e,!1,!0),s[e]=l,IB({global:!0,forced:!0},s),i||t.setStrong(l,e,n),l}});var yT=a((TY,mT)=>{"use strict";var WB=ke();mT.exports=function(e,r,t){for(var n in r)t&&t.unsafe&&e[n]?e[n]=r[n]:WB(e,n,r[n],t);return e}});var TT=a((OY,wT)=>{"use strict";var gT=Ve(),HB=An(),bT=yT(),KB=z(),zB=Zn(),VB=nr(),YB=ve(),JB=Cn(),Ri=In(),QB=Ao(),rn=G(),qT=ls().fastKey,ST=ze(),xT=ST.set,fs=ST.getterFor;wT.exports={getConstructor:function(e,r,t,n){var i=e(function(l,f){zB(l,o),xT(l,{type:r,index:gT(null),first:null,last:null,size:0}),rn||(l.size=0),VB(f)||YB(f,l[n],{that:l,AS_ENTRIES:t})}),o=i.prototype,u=fs(r),c=function(l,f,p){var v=u(l),d=s(l,f),m,h;return d?d.value=p:(v.last=d={index:h=qT(f,!0),key:f,value:p,previous:m=v.last,next:null,removed:!1},v.first||(v.first=d),m&&(m.next=d),rn?v.size++:l.size++,h!=="F"&&(v.index[h]=d)),l},s=function(l,f){var p=u(l),v=qT(f),d;if(v!=="F")return p.index[v];for(d=p.first;d;d=d.next)if(d.key===f)return d};return bT(o,{clear:function(){for(var f=this,p=u(f),v=p.first;v;)v.removed=!0,v.previous&&(v.previous=v.previous.next=null),v=v.next;p.first=p.last=null,p.index=gT(null),rn?p.size=0:f.size=0},delete:function(l){var f=this,p=u(f),v=s(f,l);if(v){var d=v.next,m=v.previous;delete p.index[v.index],v.removed=!0,m&&(m.next=d),d&&(d.previous=m),p.first===v&&(p.first=d),p.last===v&&(p.last=m),rn?p.size--:f.size--}return!!v},forEach:function(f){for(var p=u(this),v=KB(f,arguments.length>1?arguments[1]:void 0),d;d=d?d.next:p.first;)for(v(d.value,d.key,this);d&&d.removed;)d=d.previous},has:function(f){return!!s(this,f)}}),bT(o,t?{get:function(f){var p=s(this,f);return p&&p.value},set:function(f,p){return c(this,f===0?0:f,p)}}:{add:function(f){return c(this,f=f===0?0:f,f)}}),rn&&HB(o,"size",{configurable:!0,get:function(){return u(this).size}}),i},setStrong:function(e,r,t){var n=r+" Iterator",i=fs(r),o=fs(n);JB(e,r,function(u,c){xT(this,{type:n,target:u,state:i(u),kind:c,last:null})},function(){for(var u=o(this),c=u.kind,s=u.last;s&&s.removed;)s=s.previous;return!u.target||!(u.last=s=s?s.next:u.state.first)?(u.target=null,Ri(void 0,!0)):Ri(c==="keys"?s.key:c==="values"?s.value:[s.key,s.value],!1)},t?"entries":"values",!t,!0),QB(r)}}});var OT=a(()=>{"use strict";var XB=hT(),ZB=TT();XB("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ZB)});var ET=a(()=>{"use strict";OT()});var IT=a((_Y,CT)=>{"use strict";CT.exports=function(e,r){return r===1?function(t,n){return t[e](n)}:function(t,n,i){return t[e](n,i)}}});var ie=a((PY,_T)=>{"use strict";var e3=U(),Ai=IT(),kT=e3("Map");_T.exports={Map:kT,set:Ai("set",2),get:Ai("get",1),has:Ai("has",1),remove:Ai("delete",1),proto:kT.prototype}});var vs=a(()=>{"use strict";var r3=g(),t3=A(),n3=L(),i3=ir(),a3=ve(),Ni=ie(),PT=X(),o3=k(),RT=Ni.Map,u3=Ni.has,s3=Ni.get,c3=Ni.set,l3=t3([].push),f3=PT||o3(function(){return RT.groupBy("ab",function(e){return e}).get("a").length!==1});r3({target:"Map",stat:!0,forced:PT||f3},{groupBy:function(r,t){i3(r),n3(t);var n=new RT,i=0;return a3(r,function(o){var u=t(o,i++);u3(n,u)?l3(s3(n,u),o):c3(n,u,[o])}),n}})});var V=a((NY,AT)=>{"use strict";var v3=He(),p3=TypeError;AT.exports=function(e){if(typeof e=="object"&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw new p3(v3(e)+" is not a map")}});var ds=a(()=>{"use strict";var d3=g(),h3=V(),ps=ie(),m3=X(),y3=ps.get,g3=ps.has,b3=ps.set;d3({target:"Map",proto:!0,real:!0,forced:m3},{getOrInsert:function(r,t){return g3(h3(this),r)?y3(this,r):(b3(this,r,t),t)}})});var ms=a(()=>{"use strict";var q3=g(),x3=L(),S3=V(),hs=ie(),w3=X(),T3=hs.get,O3=hs.has,E3=hs.set;q3({target:"Map",proto:!0,real:!0,forced:w3},{getOrInsertComputed:function(r,t){if(S3(this),x3(t),O3(this,r))return T3(this,r);r===0&&1/r===-1/0&&(r=0);var n=t(r);return E3(this,r,n),n}})});var MT=a((LY,NT)=>{"use strict";dr();ET();vs();ds();ms();St();lr();var C3=K();NT.exports=C3.Map});var $T=a((DY,jT)=>{"use strict";var I3=MT();hr();jT.exports=I3});var ys=a(()=>{"use strict";ds()});var gs=a(()=>{"use strict";ms()});var FT=a(()=>{"use strict";vs()});var DT=a((zY,LT)=>{"use strict";var k3=$T();ys();gs();FT();LT.exports=k3});var GT=a((VY,BT)=>{"use strict";var _3=z(),P3=Q(),R3=ee(),A3=ve();BT.exports=function(e,r,t){return function(i){var o=R3(i),u=arguments.length,c=u>1?arguments[1]:void 0,s=c!==void 0,l=s?_3(c,u>2?arguments[2]:void 0):void 0,f=new e,p=0;return A3(o,function(v){var d=s?l(v,p++):v;t?r(f,P3(d)[0],d[1]):r(f,d)}),f}}});var WT=a(()=>{"use strict";var N3=g(),UT=ie(),M3=GT();N3({target:"Map",stat:!0,forced:!0},{from:M3(UT.Map,UT.set,!0)})});var KT=a((QY,HT)=>{"use strict";var j3=Q();HT.exports=function(e,r,t){return function(){for(var i=new e,o=arguments.length,u=0;u<o;u++){var c=arguments[u];t?r(i,j3(c)[0],c[1]):r(i,c)}return i}}});var VT=a(()=>{"use strict";var $3=g(),zT=ie(),F3=KT();$3({target:"Map",stat:!0,forced:!0},{of:F3(zT.Map,zT.set,!0)})});var JT=a(()=>{"use strict";var L3=g(),D3=D(),B3=ve(),G3=N(),YT=L(),U3=ie().Map;L3({target:"Map",stat:!0,forced:!0},{keyBy:function(r,t){var n=G3(this)?this:U3,i=new n;YT(t);var o=YT(i.set);return B3(r,function(u){D3(o,i,t(u),u)}),i}})});var QT=a(()=>{"use strict";var W3=g(),H3=V(),K3=ie().remove;W3({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var r=H3(this),t=!0,n,i=0,o=arguments.length;i<o;i++)n=K3(r,arguments[i]),t=t&&n;return!!t}})});var ZT=a(()=>{"use strict";var z3=g(),V3=V(),bs=ie(),Y3=bs.get,J3=bs.has,XT=bs.set;z3({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(r,t){var n=V3(this),i,o;return J3(n,r)?(i=Y3(n,r),"update"in t&&(i=t.update(i,r,n),XT(n,r,i)),i):(o=t.insert(r,n),XT(n,r,o),o)}})});var rO=a((oJ,eO)=>{"use strict";var Q3=D();eO.exports=function(e,r,t){for(var n=t?e:e.iterator,i=e.next,o,u;!(o=Q3(i,n)).done;)if(u=r(o.value),u!==void 0)return u}});var me=a((uJ,tO)=>{"use strict";var X3=rO();tO.exports=function(e,r,t){return t?X3(e.entries(),function(n){return r(n[1],n[0])},!0):e.forEach(r)}});var nO=a(()=>{"use strict";var Z3=g(),e4=z(),r4=V(),t4=me();Z3({target:"Map",proto:!0,real:!0,forced:!0},{every:function(r){var t=r4(this),n=e4(r,arguments.length>1?arguments[1]:void 0);return t4(t,function(i,o){if(!n(i,o,t))return!1},!0)!==!1}})});var aO=a(()=>{"use strict";var n4=g(),i4=z(),a4=V(),iO=ie(),o4=me(),u4=iO.Map,s4=iO.set;n4({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(r){var t=a4(this),n=i4(r,arguments.length>1?arguments[1]:void 0),i=new u4;return o4(t,function(o,u){n(o,u,t)&&s4(i,u,o)}),i}})});var oO=a(()=>{"use strict";var c4=g(),l4=z(),f4=V(),v4=me();c4({target:"Map",proto:!0,real:!0,forced:!0},{find:function(r){var t=f4(this),n=l4(r,arguments.length>1?arguments[1]:void 0),i=v4(t,function(o,u){if(n(o,u,t))return{value:o}},!0);return i&&i.value}})});var uO=a(()=>{"use strict";var p4=g(),d4=z(),h4=V(),m4=me();p4({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(r){var t=h4(this),n=d4(r,arguments.length>1?arguments[1]:void 0),i=m4(t,function(o,u){if(n(o,u,t))return{key:u}},!0);return i&&i.key}})});var cO=a((mJ,sO)=>{"use strict";sO.exports=function(e,r){return e===r||e!==e&&r!==r}});var lO=a(()=>{"use strict";var y4=g(),g4=cO(),b4=V(),q4=me();y4({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(r){return q4(b4(this),function(t){if(g4(t,r))return!0},!0)===!0}})});var fO=a(()=>{"use strict";var x4=g(),S4=V(),w4=me();x4({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(r){var t=w4(S4(this),function(n,i){if(n===r)return{key:i}},!0);return t&&t.key}})});var pO=a(()=>{"use strict";var T4=g(),O4=z(),E4=V(),vO=ie(),C4=me(),I4=vO.Map,k4=vO.set;T4({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(r){var t=E4(this),n=O4(r,arguments.length>1?arguments[1]:void 0),i=new I4;return C4(t,function(o,u){k4(i,n(o,u,t),o)}),i}})});var hO=a(()=>{"use strict";var _4=g(),P4=z(),R4=V(),dO=ie(),A4=me(),N4=dO.Map,M4=dO.set;_4({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(r){var t=R4(this),n=P4(r,arguments.length>1?arguments[1]:void 0),i=new N4;return A4(t,function(o,u){M4(i,u,n(o,u,t))}),i}})});var mO=a(()=>{"use strict";var j4=g(),$4=V(),F4=ve(),L4=ie().set;j4({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(r){for(var t=$4(this),n=arguments.length,i=0;i<n;)F4(arguments[i++],function(o,u){L4(t,o,u)},{AS_ENTRIES:!0});return t}})});var yO=a(()=>{"use strict";var D4=g(),B4=L(),G4=V(),U4=me(),W4=TypeError;D4({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(r){var t=G4(this),n=arguments.length<2,i=n?void 0:arguments[1];if(B4(r),U4(t,function(o,u){n?(n=!1,i=o):i=r(i,o,u,t)}),n)throw new W4("Reduce of empty map with no initial value");return i}})});var gO=a(()=>{"use strict";var H4=g(),K4=z(),z4=V(),V4=me();H4({target:"Map",proto:!0,real:!0,forced:!0},{some:function(r){var t=z4(this),n=K4(r,arguments.length>1?arguments[1]:void 0);return V4(t,function(i,o){if(n(i,o,t))return!0},!0)===!0}})});var qO=a(()=>{"use strict";var Y4=g(),bO=L(),J4=V(),qs=ie(),Q4=TypeError,X4=qs.get,Z4=qs.has,eG=qs.set;Y4({target:"Map",proto:!0,real:!0,forced:!0},{update:function(r,t){var n=J4(this),i=arguments.length;bO(t);var o=Z4(n,r);if(!o&&i<3)throw new Q4("Updating absent value");var u=o?X4(n,r):bO(i>2?arguments[2]:void 0)(r,n);return eG(n,r,t(u,r,n)),n}})});var Ss=a((AJ,xO)=>{"use strict";var Mi=D(),xs=L(),ji=N(),rG=Q(),tG=TypeError;xO.exports=function(r,t){var n=rG(this),i=xs(n.get),o=xs(n.has),u=xs(n.set),c=arguments.length>2?arguments[2]:void 0,s;if(!ji(t)&&!ji(c))throw new tG("At least one callback required");return Mi(o,n,r)?(s=Mi(i,n,r),ji(t)&&(s=t(s),Mi(u,n,r,s))):ji(c)&&(s=c(),Mi(u,n,r,s)),s}});var SO=a(()=>{"use strict";var nG=g(),iG=Ss();nG({target:"Map",proto:!0,real:!0,forced:!0},{upsert:iG})});var wO=a(()=>{"use strict";var aG=g(),oG=Ss();aG({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:oG})});var OO=a((FJ,TO)=>{"use strict";var uG=DT();WT();VT();JT();QT();ZT();nO();aO();oO();uO();lO();ys();gs();fO();pO();hO();mO();yO();gO();qO();SO();wO();TO.exports=uG});var CO=a((LJ,EO)=>{"use strict";EO.exports=OO()});var kO=a(()=>{"use strict";var sG=g(),cG=at(),lG=Ta().indexOf,fG=Hu(),ws=cG([].indexOf),IO=!!ws&&1/ws([1],1,-0)<0,vG=IO||!fG("indexOf");sG({target:"Array",proto:!0,forced:vG},{indexOf:function(r){var t=arguments.length>1?arguments[1]:void 0;return IO?ws(this,r,t)||0:lG(this,r,t)}})});var PO=a((GJ,_O)=>{"use strict";kO();var pG=oe();_O.exports=pG("Array","indexOf")});var AO=a((UJ,RO)=>{"use strict";var dG=B(),hG=PO(),Ts=Array.prototype;RO.exports=function(e){var r=e.indexOf;return e===Ts||dG(Ts,e)&&r===Ts.indexOf?hG:r}});var MO=a((WJ,NO)=>{"use strict";var mG=AO();NO.exports=mG});var $O=a((HJ,jO)=>{"use strict";var yG=MO();jO.exports=yG});var LO=a((KJ,FO)=>{"use strict";var gG=$O();FO.exports=gG});var BO=a((zJ,DO)=>{"use strict";DO.exports=LO()});var iE=a(()=>{"use strict";var TG=g(),OG=ee(),nE=Sn(),EG=k(),CG=EG(function(){nE(1)});TG({target:"Object",stat:!0,forced:CG},{keys:function(r){return nE(OG(r))}})});var oE=a((XQ,aE)=>{"use strict";iE();var IG=K();aE.exports=IG.Object.keys});var sE=a((ZQ,uE)=>{"use strict";var kG=oE();uE.exports=kG});var lE=a((eX,cE)=>{"use strict";var _G=sE();cE.exports=_G});var vE=a((rX,fE)=>{"use strict";var PG=lE();fE.exports=PG});var dE=a((tX,pE)=>{"use strict";pE.exports=vE()});var mE=a((nX,hE)=>{hE.exports=dE()});var Cr="";function Ds(e){Cr=e.replace(/\/+$/,"")}async function Bs(e){let r=await fetch(`${Cr}/api/annotations?uri=${encodeURIComponent(e)}`);if(!r.ok)throw new Error(`Failed to fetch annotations: ${r.status}`);return r.json()}async function Gi({uri:e,quote:r,prefix:t,suffix:n,comment:i,commenter:o,parent_id:u}){let c=await fetch(`${Cr}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uri:e,quote:r,prefix:t,suffix:n,comment:i,commenter:o,parent_id:u})});if(!c.ok){let s=await c.json().catch(()=>({error:c.statusText}));throw new Error(s.error||"Failed to create annotation")}return c.json()}async function Gs(e,{comment:r}){let t=await fetch(`${Cr}/api/annotations/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comment:r})});if(!t.ok)throw new Error(`Failed to update annotation: ${t.status}`);return t.json()}async function Us(e,r){let t=await fetch(`${Cr}/api/annotations/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({resolved:r})});if(!t.ok)throw new Error(`Failed to update annotation: ${t.status}`);return t.json()}async function Ws(e){let r=await fetch(`${Cr}/api/annotations/${e}`,{method:"DELETE"});if(!r.ok)throw new Error(`Failed to delete annotation: ${r.status}`)}var TF=y(Lr(),1),OF=y(_n(),1),EF=y(Kn(),1),CF=y(zn(),1),IF=y(Vn(),1);var gu=y(Zr(),1);function Ly(e,r,t,n,i,o,u){try{var c=e[o](u),s=c.value}catch(l){return void t(l)}c.done?r(s):gu.default.resolve(s).then(n,i)}function qr(e){return function(){var r=this,t=arguments;return new gu.default(function(n,i){var o=e.apply(r,t);function u(s){Ly(o,n,i,u,c,"next",s)}function c(s){Ly(o,n,i,u,c,"throw",s)}u(void 0)})}}function $t(e,r){this.v=e,this.k=r}function Xe(e){return new $t(e,0)}var bu=y(Zr(),1),Yy=y(Se(),1),Jy=y(ci(),1);function Te(e){return function(){return new Ft(e.apply(this,arguments))}}function Ft(e){var r,t;function n(o,u){try{var c=e[o](u),s=c.value,l=s instanceof $t;bu.default.resolve(l?s.v:s).then(function(f){if(l){var p=o==="return"?"return":"next";if(!s.k||f.done)return n(p,f);f=e[p](f).value}i(c.done?"return":"normal",f)},function(f){n("throw",f)})}catch(f){i("throw",f)}}function i(o,u){switch(o){case"return":r.resolve({value:u,done:!0});break;case"throw":r.reject(u);break;default:r.resolve({value:u,done:!1})}(r=r.next)?n(r.key,r.arg):t=null}this._invoke=function(o,u){return new bu.default(function(c,s){var l={key:o,arg:u,resolve:c,reject:s,next:null};t?t=t.next=l:(r=t=l,n(o,u))})},typeof e.return!="function"&&(this.return=void 0)}Ft.prototype[typeof Yy.default=="function"&&Jy.default||"@@asyncIterator"]=function(){return this},Ft.prototype.next=function(e){return this._invoke("next",e)},Ft.prototype.throw=function(e){return this._invoke("throw",e)},Ft.prototype.return=function(e){return this._invoke("return",e)};var kF=y(se(),1),_F=y(qq(),1);function ce(e){var r,t=SF(e)?e.startContainer:e;return(r=t.ownerDocument)!==null&&r!==void 0?r:t}function SF(e){return"startContainer"in e}function er(e){if(wF(e))return e;var r=e,t=ce(r).createRange();return t.selectNodeContents(r),t}function wF(e){return"startContainer"in e}var Rq=y(Pq(),1);function Aq(e){if((0,Rq.default)(e))return e}var Kq=y(Se(),1),zq=y(Co(),1),Vq=y(Gu(),1);function Yq(e,r){var t=e==null?null:typeof Kq.default<"u"&&(0,zq.default)(e)||e["@@iterator"];if(t!=null){var n,i,o,u,c=[],s=!0,l=!1;try{if(o=(t=t.call(e)).next,r===0){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&((0,Vq.default)(c).call(c,n.value),c.length!==r);s=!0);}catch(f){l=!0,i=f}finally{try{if(!s&&t.return!=null&&(u=t.return(),Object(u)!==u))return}finally{if(l)throw i}}return c}}var Jq=y(ya(),1),Qq=y(Ua(),1);function Ti(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function Uu(e,r){if(e){var t;if(typeof e=="string")return Ti(e,r);var n=(0,Jq.default)(t={}.toString.call(e)).call(t,8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?(0,Qq.default)(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ti(e,r):void 0}}function Xq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $e(e,r){return Aq(e)||Yq(e,r)||Uu(e,r)||Xq()}var Zq=y(Se(),1),ex=y(ci(),1),rx=y(Kt(),1),Jt=y(Zr(),1);function rt(e){var r,t,n,i=2;for(typeof Zq.default<"u"&&(t=ex.default,n=rx.default);i--;){if(t&&(r=e[t])!=null)return r.call(e);if(n&&(r=e[n])!=null)return new Oi(r.call(e));t="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Oi(e){function r(t){if(Object(t)!==t)return Jt.default.reject(new TypeError(t+" is not an object."));var n=t.done;return Jt.default.resolve(t.value).then(function(i){return{value:i,done:n}})}return Oi=function(n){this.s=n,this.n=n.next},Oi.prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Jt.default.resolve({value:n,done:!0}):r(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Jt.default.reject(n):r(i.apply(this.s,arguments))}},new Oi(e)}var nD=y(se(),1);var QL=y(se(),1),XL=y(mx(),1),ZL=y(gx(),1),eD=y(Dx(),1),rD=y(aS(),1),tD=y(Yu(),1);var Cs=y(se(),1);var JD=y(se(),1);var Qu=y(se(),1);function Qt(e,r){return e.equals?e.equals(r):r.equals?r.equals(e):e===r}function bS(e,r){return Qt(e.startChunk,r.startChunk)&&Qt(e.endChunk,r.endChunk)&&e.startIndex===r.startIndex&&e.endIndex===r.endIndex}function xr(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var Ju=y(Bt(),1);var Xt=y(Se(),1),qS=y(Kt(),1);function Fe(e){"@babel/helpers - typeof";return Fe=typeof Xt.default=="function"&&typeof qS.default=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Xt.default=="function"&&r.constructor===Xt.default&&r!==Xt.default.prototype?"symbol":typeof r},Fe(e)}var RS=y(PS(),1);function AS(e,r){if(Fe(e)!="object"||!e)return e;var t=e[RS.default];if(t!==void 0){var n=t.call(e,r||"default");if(Fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Ei(e){var r=AS(e,"string");return Fe(r)=="symbol"?r:r+""}function NS(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,Ju.default)(e,Ei(n.key),n)}}function Zt(e,r,t){return r&&NS(e.prototype,r),t&&NS(e,t),(0,Ju.default)(e,"prototype",{writable:!1}),e}var MS=y(Bt(),1);function Sr(e,r,t){return(r=Ei(r))in e?(0,MS.default)(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var jS=y(Lr(),1);var Ci="Iterator exhausted before seek ended.",en=function(){function e(r){xr(this,e),this.chunker=r,Sr(this,"currentChunkPosition",0),Sr(this,"offsetInChunk",0),this.seekTo(0)}return Zt(e,[{key:"currentChunk",get:function(){return this.chunker.currentChunk}},{key:"position",get:function(){return this.currentChunkPosition+this.offsetInChunk}},{key:"read",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this._readOrSeekTo(!0,this.position+t,n,i)}},{key:"readTo",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return this._readOrSeekTo(!0,t,n)}},{key:"seekBy",value:function(t){this.seekTo(this.position+t)}},{key:"seekTo",value:function(t){this._readOrSeekTo(!1,t)}},{key:"seekToChunk",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._readOrSeekToChunk(!1,t,n)}},{key:"readToChunk",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._readOrSeekToChunk(!0,t,n)}},{key:"_readOrSeekToChunk",value:function(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=this.position,u="";if(this.chunker.precedesCurrentChunk(n))for(;!Qt(this.currentChunk,n);){var p=this._readToPreviousChunk(),v=$e(p,2),d=v[0],m=v[1];if(t&&(u=d+u),m===null)throw new RangeError(Ci)}else for(;!Qt(this.currentChunk,n);){var c=this._readToNextChunk(),s=$e(c,2),l=s[0],f=s[1];if(t&&(u+=l),f===null)throw new RangeError(Ci)}var h=this.currentChunkPosition+i;if(!t)this.seekTo(h);else return h>=this.position?u+=this.readTo(h):h>=o?(this.seekTo(h),u=(0,jS.default)(u).call(u,0,h-o)):(this.seekTo(o),u=this.readTo(h)),u}},{key:"_readOrSeekTo",value:function(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,u="";if(this.position<=n)for(;;){var c=this.currentChunkPosition+this.currentChunk.data.length;if(c<=n){var s=this._readToNextChunk(),l=$e(s,2),f=l[0],p=l[1];if(t&&(u+=f),p===null){if(this.position===n||o)break;throw new RangeError(Ci)}}else{var v=i?this.currentChunk.data.length:n-this.currentChunkPosition;t&&(u+=this.currentChunk.data.substring(this.offsetInChunk,v)),this.offsetInChunk=v,i&&this.seekBy(0);break}}else for(;this.position>n;)if(this.currentChunkPosition<=n){var d=i?0:n-this.currentChunkPosition;t&&(u=this.currentChunk.data.substring(d,this.offsetInChunk)+u),this.offsetInChunk=d;break}else{var m=this._readToPreviousChunk(),h=$e(m,2),q=h[0],b=h[1];if(t&&(u=q+u),b===null){if(o)break;throw new RangeError(Ci)}}if(t)return u}},{key:"_readToNextChunk",value:function(){var t=this.currentChunk.data.substring(this.offsetInChunk),n=this.currentChunk.data.length,i=this.chunker.nextChunk();return i!==null?(this.currentChunkPosition+=n,this.offsetInChunk=0):this.offsetInChunk=n,[t,i]}},{key:"_readToPreviousChunk",value:function(){var t=this.currentChunk.data.substring(0,this.offsetInChunk),n=this.chunker.previousChunk();return n!==null?(this.currentChunkPosition-=this.currentChunk.data.length,this.offsetInChunk=this.currentChunk.data.length):this.offsetInChunk=0,[t,n]}}]),e}();function FS(e,r){return Xu.apply(this,arguments)}function Xu(){return Xu=qr(Qu.default.mark(function e(r,t){var n,i,o,u,c,s,l,f,p,v,d,m,h,q,b,x,_,C,S,T,w,E,j=arguments;return Qu.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:n=j.length>2&&j[2]!==void 0?j[2]:{},i=n.minimalContext,o=i===void 0?!1:i,u=n.minimumQuoteLength,c=u===void 0?0:u,s=n.maxWordLength,l=s===void 0?50:s,f=new en(t()),p=new en(t()),f.seekToChunk(r.startChunk,r.startIndex),v=f.readToChunk(r.endChunk,r.endIndex),d="",m="",h=function(){return d.length+v.length+m.length},h()<c&&(f.seekToChunk(r.startChunk,r.startIndex-d.length),q=Math.floor((c-h())/2),d=f.read(-q,!1,!0)+d,h()<c&&(f.seekToChunk(r.endChunk,r.endIndex+m.length),b=c-h(),m=m+f.read(b,!1,!0),h()<c&&(f.seekToChunk(r.startChunk,r.startIndex-d.length),x=c-h(),d=f.read(-x,!1,!0)+d))),o||(f.seekToChunk(r.startChunk,r.startIndex-d.length),d=Ii(f,l,!0)+d,f.seekToChunk(r.endChunk,r.endIndex+m.length),m=m+Ii(f,l,!1));case 11:return _={type:"TextQuoteSelector",exact:v,prefix:d,suffix:m},C=ki(_)(t()),I.next=16,C.next();case 16:if(S=I.sent,!(!S.done&&bS(S.value,r))){I.next=21;break}return I.next=20,C.next();case 20:S=I.sent;case 21:if(!S.done){I.next=23;break}return I.abrupt("return",_);case 23:if(T=S.value,f.seekToChunk(r.startChunk,r.startIndex-d.length),p.seekToChunk(T.startChunk,T.startIndex-d.length),w=$S(f,p,!0),w!==void 0&&!o&&(w=Ii(f,l,!0)+w),f.seekToChunk(r.endChunk,r.endIndex+m.length),p.seekToChunk(T.endChunk,T.endIndex+m.length),E=$S(f,p,!1),E!==void 0&&!o&&(E=E+Ii(f,l,!1)),!o){I.next=44;break}if(!(w!==void 0&&(E===void 0||w.length<=E.length))){I.next=37;break}d=w+d,I.next=42;break;case 37:if(E===void 0){I.next=41;break}m=m+E,I.next=42;break;case 41:throw new Error("Target cannot be disambiguated; how could that have happened\u203D");case 42:I.next=46;break;case 44:w!==void 0&&(d=w+d),E!==void 0&&(m=m+E);case 46:I.next=11;break;case 48:case"end":return I.stop()}},e)})),Xu.apply(this,arguments)}function $S(e,r,t){for(var n="";;){var i=void 0;try{i=e.read(t?-1:1)}catch{return}n=t?i+n:n+i;var o=void 0;try{o=r.read(t?-1:1)}catch(u){if(!(u instanceof RangeError))throw u}if(i!==o)return n}}function Ii(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1/0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n="";n.length<r;){var i=void 0;try{i=e.read(t?-1:1)}catch(o){if(!(o instanceof RangeError))throw o;break}if(sD(i)){e.seekBy(t?1:-1);break}n=t?i+n:n+i}return n}function sD(e){return/^\s+$/.test(e)}var Ow=y(Lr(),1),Ew=y(_n(),1),Cw=y(Kn(),1),Iw=y(zn(),1),kw=y(Vn(),1);var rs=y(se(),1),_w=y(uw(),1),Pw=y(Sw(),1);function ww(e,r){var t;if(typeof Cw.default>"u"||(0,Iw.default)(e)==null){if(Array.isArray(e)||(t=WD(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
9
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,u=!1,c;return{s:function(){t=(0,kw.default)(e)},n:function(){var l=t.next();return o=l.done,l},e:function(l){u=!0,c=l},f:function(){try{!o&&t.return!=null&&t.return()}finally{if(u)throw c}}}}function WD(e,r){var t;if(e){if(typeof e=="string")return Tw(e,r);var n=(0,Ow.default)(t=Object.prototype.toString.call(e)).call(t,8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return(0,Ew.default)(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tw(e,r)}}function Tw(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ki(e){return function(){var r=Te(rs.default.mark(function n(i){var o,u,c,s,l,f,p,v,d,m,h,q,b,x,_,C,S,T,w,E,j,ge,I,Z,be,J,F;return rs.default.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:o=e.exact,u=e.prefix||"",c=e.suffix||"",s=u+o+c,l=[],f=!0;case 6:p=i.currentChunk,v=p.data,d=[],m=ww(l),O.prev=10,m.s();case 12:if((h=m.n()).done){O.next=27;break}if(q=h.value,b=q.charactersMatched,q.endChunk===void 0&&(x=u.length+o.length-b,x<=v.length&&(q.endChunk=p,q.endIndex=x)),q.startChunk===void 0&&(_=u.length-b,(_<v.length||q.endChunk!==void 0)&&(q.startChunk=p,q.startIndex=_)),C=s.length-b,!(C<=v.length)){O.next=24;break}if(!(0,_w.default)(v).call(v,s.substring(b))){O.next=22;break}return O.next=22,q;case 22:O.next=25;break;case 24:v===s.substring(b,b+v.length)&&(q.charactersMatched+=v.length,d.push(q));case 25:O.next=12;break;case 27:O.next=32;break;case 29:O.prev=29,O.t0=O.catch(10),m.e(O.t0);case 32:return O.prev=32,m.f(),O.finish(32);case 35:if(l=d,!(s.length<=v.length)){O.next=49;break}S=0;case 38:if(!(S<=v.length)){O.next=49;break}if(T=v.indexOf(s,S),T!==-1){O.next=42;break}return O.abrupt("break",49);case 42:if(S=T+1,!(T===0&&s.length===0&&!f)){O.next=45;break}return O.abrupt("continue",38);case 45:return O.next=47,{startChunk:p,startIndex:T+u.length,endChunk:p,endIndex:T+u.length+o.length};case 47:O.next=38;break;case 49:for(w=[],E=Math.max(v.length-s.length+1,0),j=function(Ue){var Fs=v[Ue];w=(0,Pw.default)(w).call(w,function(jE){return Fs===s[Ue-jE]}),Fs===s[0]&&w.push(Ue)},ge=E;ge<v.length;ge++)j(ge);I=ww(w);try{for(I.s();!(Z=I.n()).done;)be=Z.value,J=v.length-be,F={charactersMatched:J},J>=u.length+o.length&&(F.endChunk=p,F.endIndex=be+u.length+o.length),(J>u.length||F.endChunk!==void 0)&&(F.startChunk=p,F.startIndex=be+u.length),l.push(F)}catch(Er){I.e(Er)}finally{I.f()}f=!1;case 56:if(i.nextChunk()!==null){O.next=6;break}case 57:case"end":return O.stop()}},n,null,[[10,29,32,35]])}));function t(n){return r.apply(this,arguments)}return t}()}var VD=y(se(),1);var HD=y(Lr(),1),KD=y(Yu(),1);var YD=y(se(),1);var nn=y(Yw(),1);var Qw=y(fi(),1),Xw=y(Bt(),1);var is=y(vi(),1),Jw=y(Dt(),1);function rr(e,r){var t;return rr=is.default?(0,Jw.default)(t=is.default).call(t):function(n,i){return n.__proto__=i,n},rr(e,r)}function as(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=(0,Qw.default)(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),(0,Xw.default)(e,"prototype",{writable:!1}),r&&rr(e,r)}function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eT(e,r){if(r&&(Fe(r)=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zw(e)}var rT=y(vi(),1),tT=y(Dt(),1),os=y(li(),1);function wr(e){var r;return wr=rT.default?(0,tT.default)(r=os.default).call(r):function(t){return t.__proto__||(0,os.default)(t)},wr(e)}var Es=y(CO(),1),YO=y(fi(),1);var GO=y(BO(),1);function UO(e){try{var r;return(0,GO.default)(r=Function.toString.call(e)).call(r,"[native code]")!==-1}catch{return typeof e=="function"}}var HO=y(_i(),1),KO=y(Gu(),1),zO=y(Dt(),1);var WO=y(_i(),1);function Os(){try{var e=!Boolean.prototype.valueOf.call((0,WO.default)(Boolean,[],function(){}))}catch{}return(Os=function(){return!!e})()}function VO(e,r,t){if(Os())return HO.default.apply(null,arguments);var n=[null];(0,KO.default)(n).apply(n,r);var i=new((0,zO.default)(e).apply(e,n));return t&&rr(i,t.prototype),i}function tn(e){var r=typeof Es.default=="function"?new Es.default:void 0;return tn=function(n){if(n===null||!UO(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(n))return r.get(n);r.set(n,i)}function i(){return VO(n,arguments,wr(this).constructor)}return i.prototype=(0,YO.default)(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),rr(i,n)},tn(e)}function XO(e,r){var t=ce(e),n=t.createTreeWalker(t,NodeFilter.SHOW_TEXT,{acceptNode:function(d){return!r||r.intersectsNode(d)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),i=JO(e.startContainer,e.startOffset),o=$e(i,2),u=o[0],c=o[1];for(n.currentNode=u;c===u.length&&n.nextNode();)u=n.currentNode,c=0;e.setStart(u,c);var s=JO(e.endContainer,e.endOffset),l=$e(s,2),f=l[0],p=l[1];for(n.currentNode=f;p===0&&n.previousNode();)f=n.currentNode,p=f.length;return e.setEnd(f,p),e}function JO(e,r){var t;if(QO(e))return[e,r];var n;if(bG(e))n=e;else if(r<e.childNodes.length)n=e.childNodes[r];else{for(n=e;n.nextSibling===null;){if(n.parentNode===null)throw new Error("not implemented");n=n.parentNode}n=n.nextSibling}if(QO(n))return[n,0];var i=(t=e.ownerDocument)!==null&&t!==void 0?t:e,o=i.createTreeWalker(i,NodeFilter.SHOW_TEXT);if(o.currentNode=n,o.nextNode()!==null)return[o.currentNode,0];if(o.previousNode()!==null)return[o.currentNode,o.currentNode.length];throw new Error("Document contains no text nodes.")}function QO(e){return e.nodeType===Node.TEXT_NODE}function bG(e){return e.nodeType===Node.PROCESSING_INSTRUCTION_NODE||e.nodeType===Node.COMMENT_NODE||e.nodeType===Node.TEXT_NODE}function eE(e){var r=qG();return function(){var n=wr(e),i;if(r){var o=wr(this).constructor;i=(0,nn.default)(n,arguments,o)}else i=n.apply(this,arguments);return eT(this,i)}}function qG(){if(typeof Reflect>"u"||!nn.default||nn.default.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call((0,nn.default)(Boolean,[],function(){})),!0}catch{return!1}}var $i=function(e){as(t,e);var r=eE(t);function t(n){return xr(this,t),r.call(this,n||"Scope contains no text nodes.")}return t}(tn(TypeError)),xG=function(e){as(t,e);var r=eE(t);function t(n){return xr(this,t),r.call(this,n||"Cannot convert node to chunk, as it falls outside of chunker\u2019s scope.")}return t}(tn(TypeError)),Tr=function(){function e(r){var t=this;if(xr(this,e),Sr(this,"scope",void 0),Sr(this,"iter",void 0),this.scope=er(r),this.iter=ce(r).createNodeIterator(this.scope.commonAncestorContainer,NodeFilter.SHOW_TEXT,{acceptNode:function(o){return t.scope.intersectsNode(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),this.iter.nextNode(),!ZO(this.iter.referenceNode)){var n=this.iter.nextNode();if(n===null)throw new $i}}return Zt(e,[{key:"currentChunk",get:function(){var t=this.iter.referenceNode;if(!ZO(t))throw new $i;return this.nodeToChunk(t)}},{key:"nodeToChunk",value:function(t){if(!this.scope.intersectsNode(t))throw new xG;var n=t===this.scope.startContainer?this.scope.startOffset:0,i=t===this.scope.endContainer?this.scope.endOffset:t.length;return{node:t,startOffset:n,endOffset:i,data:t.data.substring(n,i),equals:function(u){return u.node===this.node&&u.startOffset===this.startOffset&&u.endOffset===this.endOffset}}}},{key:"rangeToChunkRange",value:function(t){t=t.cloneRange(),t.compareBoundaryPoints(Range.START_TO_START,this.scope)===-1&&t.setStart(this.scope.startContainer,this.scope.startOffset),t.compareBoundaryPoints(Range.END_TO_END,this.scope)===1&&t.setEnd(this.scope.endContainer,this.scope.endOffset);var n=XO(t,this.scope),i=this.nodeToChunk(n.startContainer),o=n.startOffset-i.startOffset,u=this.nodeToChunk(n.endContainer),c=n.endOffset-u.startOffset;return{startChunk:i,startIndex:o,endChunk:u,endIndex:c}}},{key:"chunkRangeToRange",value:function(t){var n=ce(this.scope).createRange();return n.setStart(t.startChunk.node,t.startIndex+t.startChunk.startOffset),n.setEnd(t.endChunk.node,t.endIndex+t.endChunk.startOffset),n}},{key:"nextChunk",value:function(){return this.iter.pointerBeforeReferenceNode&&this.iter.nextNode(),this.iter.nextNode()?this.currentChunk:null}},{key:"previousChunk",value:function(){return this.iter.pointerBeforeReferenceNode||this.iter.previousNode(),this.iter.previousNode()?this.currentChunk:null}},{key:"precedesCurrentChunk",value:function(t){return this.currentChunk===null?!1:!!(this.currentChunk.node.compareDocumentPosition(t.node)&Node.DOCUMENT_POSITION_PRECEDING)}}]),e}();function ZO(e){return e.nodeType===Node.TEXT_NODE}function rE(e,r){return Is.apply(this,arguments)}function Is(){return Is=qr(Cs.default.mark(function e(r,t){var n,i,o,u=arguments;return Cs.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return n=u.length>2&&u[2]!==void 0?u[2]:{},i=er(t??ce(r)),o=new Tr(i),s.next=5,FS(o.rangeToChunkRange(r),function(){return new Tr(i)},n);case 5:return s.abrupt("return",s.sent);case 6:case"end":return s.stop()}},e)})),Is.apply(this,arguments)}var ks=y(se(),1);function tE(e){var r=ki(e);return function(){var t=Te(ks.default.mark(function i(o){var u,c,s,l,f,p,v,d;return ks.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:h.prev=0,u=new Tr(o),h.next=11;break;case 4:if(h.prev=4,h.t0=h.catch(0),!(h.t0 instanceof $i)){h.next=10;break}return h.abrupt("return");case 10:throw h.t0;case 11:c=!0,s=!1,h.prev=13,f=rt(r(u));case 15:return h.next=17,Xe(f.next());case 17:return p=h.sent,c=p.done,h.next=21,Xe(p.value);case 21:if(v=h.sent,c){h.next=29;break}return d=v,h.next=26,u.chunkRangeToRange(d);case 26:c=!0,h.next=15;break;case 29:h.next=35;break;case 31:h.prev=31,h.t1=h.catch(13),s=!0,l=h.t1;case 35:if(h.prev=35,h.prev=36,!(!c&&f.return!=null)){h.next=40;break}return h.next=40,Xe(f.return());case 40:if(h.prev=40,!s){h.next=43;break}throw l;case 43:return h.finish(40);case 44:return h.finish(35);case 45:case"end":return h.stop()}},i,null,[[0,4],[13,31,35,45],[36,,40,44]])}));function n(i){return t.apply(this,arguments)}return n}()}var SG=y(se(),1);var wG=y(se(),1);var RG=y(mE(),1),AG=y(Lr(),1),NG=y(_n(),1),MG=y(Kn(),1),jG=y(zn(),1),$G=y(Vn(),1);async function yE(e,r){let t=await rE(e,r);return{exact:t.exact,prefix:t.prefix||"",suffix:t.suffix||""}}async function Fi(e,r){let t=tE({type:"TextQuoteSelector",exact:e.exact,prefix:e.prefix||void 0,suffix:e.suffix||void 0});for await(let n of t(r))return n;return null}var an="fb-highlight",gE="fb-highlight-active";var _s=null;function qE(e){_s=e}function Li(e,r){let t=[];if(e.startContainer===e.endContainer&&e.startContainer.nodeType===Node.TEXT_NODE){let n=bE(e,r);t.push(n)}else{let n=FG(e);for(let i=0;i<n.length;i++){let o=n[i],u=document.createRange();o===e.startContainer?(u.setStart(o,e.startOffset),u.setEnd(o,o.textContent.length)):o===e.endContainer?(u.setStart(o,0),u.setEnd(o,e.endOffset)):u.selectNodeContents(o),u.collapsed||t.push(bE(u,r))}}return t}function bE(e,r){let t=document.createElement("mark");return t.className=an,t.dataset.annotationId=r,t.style.backgroundColor="rgba(255, 212, 0, 0.35)",t.style.cursor="pointer",t.style.borderRadius="2px",t.addEventListener("click",()=>{_s&&_s(r)}),e.surroundContents(t),t}function Ps(e){document.querySelectorAll(`.${an}[data-annotation-id="${e}"]`).forEach(t=>{let n=t.parentNode;for(;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t),n.normalize()})}function xE(){document.querySelectorAll(`.${an}`).forEach(r=>{let t=r.parentNode;for(;r.firstChild;)t.insertBefore(r.firstChild,r);t.removeChild(r),t.normalize()})}function Di(e){document.querySelectorAll(`.${an}`).forEach(r=>{r.dataset.annotationId===e?(r.style.backgroundColor="rgba(255, 180, 0, 0.55)",r.classList.add(gE)):(r.style.backgroundColor="rgba(255, 212, 0, 0.35)",r.classList.remove(gE))})}function SE(e){let r=document.querySelector(`.${an}[data-annotation-id="${e}"]`);r&&r.scrollIntoView({behavior:"smooth",block:"center"})}function FG(e){let r=[],t=document.createTreeWalker(e.commonAncestorContainer,NodeFilter.SHOW_TEXT,{acceptNode(n){let i=document.createRange();return i.selectNodeContents(n),e.compareBoundaryPoints(Range.END_TO_START,i)<0&&e.compareBoundaryPoints(Range.START_TO_END,i)>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});for(;t.nextNode();)r.push(t.currentNode);return r}var LG=320,TE="feedback-layer-commenter",ae=null,Be=null,De=null,Rs=null,OE=null,As=null,Ns=null,Ms=null,js=null,$s=!1,EE=[],CE=new Set;function tt(){return localStorage.getItem(TE)||""}function IE({onSubmit:e,onDelete:r,onResolve:t,onReply:n,onEdit:i}){OE=e,As=r,Ns=t,Ms=n,js=i,KG(),ae=document.createElement("div"),ae.className="fb-sidebar fb-sidebar-collapsed",ae.innerHTML=`
|
|
10
|
+
<div class="fb-sidebar-header">
|
|
11
|
+
<strong>Feedback</strong>
|
|
12
|
+
<button class="fb-sidebar-toggle" title="Close sidebar">×</button>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="fb-sidebar-content">
|
|
15
|
+
<div class="fb-name-section">
|
|
16
|
+
<label class="fb-label">Your name</label>
|
|
17
|
+
<input type="text" class="fb-name-input" placeholder="Enter your name..."
|
|
18
|
+
value="${on(tt())}">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="fb-filter-section">
|
|
21
|
+
<label class="fb-filter-toggle">
|
|
22
|
+
<input type="checkbox" class="fb-show-resolved-cb">
|
|
23
|
+
<span>Show resolved</span>
|
|
24
|
+
</label>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="fb-annotation-list"></div>
|
|
27
|
+
<div class="fb-form-section" style="display:none"></div>
|
|
28
|
+
</div>
|
|
29
|
+
`;let o=document.createElement("button");o.className="fb-sidebar-tab",o.textContent="Feedback",o.addEventListener("click",()=>un()),document.body.appendChild(o),document.body.appendChild(ae),Be=ae.querySelector(".fb-annotation-list"),De=ae.querySelector(".fb-form-section");let u=ae.querySelector(".fb-name-input");u.addEventListener("input",()=>{localStorage.setItem(TE,u.value.trim())}),ae.querySelector(".fb-sidebar-toggle").addEventListener("click",()=>DG());let s=ae.querySelector(".fb-show-resolved-cb");s.addEventListener("change",()=>{$s=s.checked,tr(EE,CE)})}function un(){ae.classList.remove("fb-sidebar-collapsed"),document.querySelector(".fb-sidebar-tab").classList.add("fb-sidebar-tab-hidden")}function DG(){ae.classList.add("fb-sidebar-collapsed"),document.querySelector(".fb-sidebar-tab").classList.remove("fb-sidebar-tab-hidden")}function kE(e){if(un(),!tt()){let n=ae.querySelector(".fb-name-input");n.style.outline="2px solid #ef4444",setTimeout(()=>n.style.outline="",2e3)}Rs=e,De.style.display="",De.innerHTML=`
|
|
30
|
+
<div class="fb-form-card">
|
|
31
|
+
<div class="fb-form-quote">"${on(WG(e,120))}"</div>
|
|
32
|
+
<textarea class="fb-form-textarea" placeholder="Write your comment..." rows="3"></textarea>
|
|
33
|
+
<div class="fb-form-actions">
|
|
34
|
+
<button class="fb-btn fb-btn-primary fb-submit-btn">Add Comment</button>
|
|
35
|
+
<button class="fb-btn fb-btn-cancel fb-cancel-btn">Cancel</button>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
`;let r=De.querySelector(".fb-form-textarea");r.focus();let t=()=>{if(!tt()){let i=ae.querySelector(".fb-name-input");i.focus(),i.style.outline="2px solid #ef4444",setTimeout(()=>i.style.outline="",2e3);return}let n=r.value.trim();n&&(OE({comment:n,commenter:tt()}),De.style.display="none",Rs=null)};De.querySelector(".fb-submit-btn").addEventListener("click",t),r.addEventListener("keydown",n=>{n.key==="Enter"&&(n.metaKey||n.ctrlKey)&&(n.preventDefault(),t())}),De.querySelector(".fb-cancel-btn").addEventListener("click",()=>{De.style.display="none",Rs=null}),De.scrollIntoView({behavior:"smooth",block:"nearest"})}function BG(e){let r=[],t=new Map;for(let n of e)n.parent_id?(t.has(n.parent_id)||t.set(n.parent_id,[]),t.get(n.parent_id).push(n)):r.push(n);return{topLevel:r,repliesByParent:t}}function tr(e,r=new Set,t=new Map){EE=e,CE=r,Be.innerHTML="";let{topLevel:n,repliesByParent:i}=BG(e),o=n.slice().sort((l,f)=>{let p=t.get(l.id),v=t.get(f.id);return!p||!v?0:p.compareBoundaryPoints(Range.START_TO_START,v)}),u=o.filter(l=>{let f=r.has(l.id),p=!!l.resolved;return f||p&&$s}),c=$s?u:u.filter(l=>!l.resolved);if(o.length===0){Be.innerHTML='<div class="fb-empty">No annotations yet. Select text to add one.</div>';return}let s=o.filter(l=>!r.has(l.id)&&!l.resolved).length;if(c.length===0){s>0?Be.innerHTML=`<div class="fb-empty">
|
|
39
|
+
${u.length} annotation(s) resolved.
|
|
40
|
+
${s>0?`<br>${s} annotation(s) not shown because their quoted text no longer exists in the document.`:""}
|
|
41
|
+
<br>Check "Show resolved" to see resolved annotations.
|
|
42
|
+
</div>`:Be.innerHTML=`<div class="fb-empty">All ${o.length} annotation(s) resolved. Check "Show resolved" to see them.</div>`;return}for(let l of c){let f=document.createElement("div");f.className="fb-thread",f.appendChild(wE(l,!1));let p=i.get(l.id)||[];for(let d of p)f.appendChild(wE(d,!0));let v=document.createElement("button");v.className="fb-reply-btn",v.textContent="Reply",v.addEventListener("click",d=>{d.stopPropagation(),GG(l.id,f,v)}),f.appendChild(v),Be.appendChild(f)}}function wE(e,r){let t=!!e.resolved,n=document.createElement("div");return n.className="fb-ann-card"+(t?" fb-ann-resolved":"")+(r?" fb-ann-reply":""),n.dataset.id=e.id,n.innerHTML=`
|
|
43
|
+
<div class="fb-ann-comment">${on(e.comment)}</div>
|
|
44
|
+
<div class="fb-ann-meta">
|
|
45
|
+
<span class="fb-ann-commenter">${on(e.commenter)}</span>
|
|
46
|
+
<span class="fb-ann-time">${HG(e.created_at)}</span>
|
|
47
|
+
<button class="fb-ann-edit" title="Edit">✎</button>
|
|
48
|
+
${r?"":`<button class="fb-ann-resolve" title="${t?"Unresolve":"Resolve"}">${t?"↩":"✓"}</button>`}
|
|
49
|
+
<button class="fb-ann-delete" title="Delete">×</button>
|
|
50
|
+
</div>
|
|
51
|
+
`,r||(n.addEventListener("click",i=>{i.target.closest(".fb-ann-delete")||i.target.closest(".fb-ann-resolve")||i.target.closest(".fb-ann-edit")||(Di(e.id),SE(e.id),Be.querySelectorAll(".fb-ann-card").forEach(o=>o.classList.remove("fb-ann-active")),n.classList.add("fb-ann-active"))}),n.querySelector(".fb-ann-resolve").addEventListener("click",i=>{i.stopPropagation(),Ns&&Ns(e.id,!t)})),n.querySelector(".fb-ann-edit").addEventListener("click",i=>{i.stopPropagation(),UG(e,n)}),n.querySelector(".fb-ann-delete").addEventListener("click",i=>{i.stopPropagation(),As&&As(e.id)}),n}function GG(e,r,t){un();let n=r.querySelector(".fb-reply-form");if(n){n.remove(),t.style.display="";return}t.style.display="none";let i=document.createElement("div");i.className="fb-reply-form",i.innerHTML=`
|
|
52
|
+
<textarea class="fb-form-textarea" placeholder="Write a reply..." rows="2"></textarea>
|
|
53
|
+
<div class="fb-form-actions">
|
|
54
|
+
<button class="fb-btn fb-btn-primary fb-reply-submit">Reply</button>
|
|
55
|
+
<button class="fb-btn fb-btn-cancel fb-reply-cancel">Cancel</button>
|
|
56
|
+
</div>
|
|
57
|
+
`;let o=()=>{if(!tt()){let s=ae.querySelector(".fb-name-input");s.focus(),s.style.outline="2px solid #ef4444",setTimeout(()=>s.style.outline="",2e3);return}let c=i.querySelector("textarea").value.trim();c&&(Ms&&Ms({parent_id:e,comment:c,commenter:tt()}),i.remove(),t.style.display="")};i.querySelector(".fb-reply-submit").addEventListener("click",o);let u=i.querySelector("textarea");u.addEventListener("keydown",c=>{c.key==="Enter"&&(c.metaKey||c.ctrlKey)&&(c.preventDefault(),o())}),i.querySelector(".fb-reply-cancel").addEventListener("click",()=>{i.remove(),t.style.display=""}),r.insertBefore(i,t),u.focus()}function UG(e,r){let t=r.querySelector(".fb-ann-comment"),n=e.comment;t.innerHTML=`
|
|
58
|
+
<textarea class="fb-form-textarea" rows="3">${on(n)}</textarea>
|
|
59
|
+
<div class="fb-form-actions" style="margin-top: 6px;">
|
|
60
|
+
<button class="fb-btn fb-btn-primary fb-edit-save">Save</button>
|
|
61
|
+
<button class="fb-btn fb-btn-cancel fb-edit-cancel">Cancel</button>
|
|
62
|
+
</div>
|
|
63
|
+
`;let i=t.querySelector("textarea");i.focus(),i.setSelectionRange(i.value.length,i.value.length);let o=()=>{let u=i.value.trim();u&&js&&js(e.id,u)};t.querySelector(".fb-edit-save").addEventListener("click",o),i.addEventListener("keydown",u=>{u.key==="Enter"&&(u.metaKey||u.ctrlKey)&&(u.preventDefault(),o())}),t.querySelector(".fb-edit-cancel").addEventListener("click",()=>{t.textContent=n})}function _E(e){let r=Be.querySelector(`.fb-ann-card[data-id="${e}"]`);r&&(Be.querySelectorAll(".fb-ann-card").forEach(t=>t.classList.remove("fb-ann-active")),r.classList.add("fb-ann-active"),r.scrollIntoView({behavior:"smooth",block:"nearest"}))}function WG(e,r){return e.length>r?e.slice(0,r)+"...":e}function HG(e){let r=Date.now()-new Date(e+"Z").getTime(),t=Math.floor(r/6e4);if(t<1)return"just now";if(t<60)return`${t}m ago`;let n=Math.floor(t/60);return n<24?`${n}h ago`:`${Math.floor(n/24)}d ago`}function on(e){let r=document.createElement("div");return r.textContent=e,r.innerHTML}function KG(){let e=document.createElement("style");e.textContent=`
|
|
64
|
+
.fb-sidebar {
|
|
65
|
+
position: fixed;
|
|
66
|
+
top: 0;
|
|
67
|
+
right: 0;
|
|
68
|
+
width: ${LG}px;
|
|
69
|
+
height: 100vh;
|
|
70
|
+
background: #fafafa;
|
|
71
|
+
border-left: 1px solid #e0e0e0;
|
|
72
|
+
z-index: 9999;
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
color: #333;
|
|
78
|
+
transition: transform 0.25s ease;
|
|
79
|
+
box-shadow: -2px 0 8px rgba(0,0,0,0.08);
|
|
80
|
+
}
|
|
81
|
+
.fb-sidebar-collapsed {
|
|
82
|
+
transform: translateX(100%);
|
|
83
|
+
}
|
|
84
|
+
.fb-sidebar-tab {
|
|
85
|
+
position: fixed;
|
|
86
|
+
top: 50%;
|
|
87
|
+
right: 0;
|
|
88
|
+
z-index: 9998;
|
|
89
|
+
transform: translateY(-50%) rotate(-90deg);
|
|
90
|
+
transform-origin: bottom right;
|
|
91
|
+
background: #7c3aed;
|
|
92
|
+
color: white;
|
|
93
|
+
border: none;
|
|
94
|
+
border-radius: 6px 6px 0 0;
|
|
95
|
+
padding: 6px 16px;
|
|
96
|
+
font-size: 13px;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
100
|
+
box-shadow: -2px 0 6px rgba(0,0,0,0.15);
|
|
101
|
+
transition: opacity 0.2s;
|
|
102
|
+
}
|
|
103
|
+
.fb-sidebar-tab:hover {
|
|
104
|
+
background: #6d28d9;
|
|
105
|
+
}
|
|
106
|
+
.fb-sidebar-tab-hidden {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
}
|
|
110
|
+
.fb-sidebar-header {
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: space-between;
|
|
113
|
+
align-items: center;
|
|
114
|
+
padding: 12px 14px;
|
|
115
|
+
border-bottom: 1px solid #e0e0e0;
|
|
116
|
+
background: #fff;
|
|
117
|
+
font-size: 15px;
|
|
118
|
+
}
|
|
119
|
+
.fb-sidebar-toggle {
|
|
120
|
+
background: none;
|
|
121
|
+
border: none;
|
|
122
|
+
font-size: 20px;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
color: #666;
|
|
125
|
+
padding: 0 4px;
|
|
126
|
+
line-height: 1;
|
|
127
|
+
}
|
|
128
|
+
.fb-sidebar-content {
|
|
129
|
+
flex: 1;
|
|
130
|
+
overflow-y: auto;
|
|
131
|
+
padding: 12px;
|
|
132
|
+
}
|
|
133
|
+
.fb-label {
|
|
134
|
+
display: block;
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
color: #666;
|
|
138
|
+
margin-bottom: 4px;
|
|
139
|
+
text-transform: uppercase;
|
|
140
|
+
letter-spacing: 0.5px;
|
|
141
|
+
}
|
|
142
|
+
.fb-name-input {
|
|
143
|
+
width: 100%;
|
|
144
|
+
padding: 8px 10px;
|
|
145
|
+
border: 1px solid #d1d5db;
|
|
146
|
+
border-radius: 6px;
|
|
147
|
+
font-size: 14px;
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
}
|
|
150
|
+
.fb-name-input:focus {
|
|
151
|
+
outline: none;
|
|
152
|
+
border-color: #7c3aed;
|
|
153
|
+
box-shadow: 0 0 0 2px rgba(124,58,237,0.15);
|
|
154
|
+
}
|
|
155
|
+
.fb-name-section {
|
|
156
|
+
margin-bottom: 16px;
|
|
157
|
+
}
|
|
158
|
+
.fb-annotation-list {
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-direction: column;
|
|
161
|
+
gap: 8px;
|
|
162
|
+
}
|
|
163
|
+
.fb-empty {
|
|
164
|
+
color: #999;
|
|
165
|
+
font-size: 13px;
|
|
166
|
+
text-align: center;
|
|
167
|
+
padding: 24px 12px;
|
|
168
|
+
}
|
|
169
|
+
.fb-ann-card {
|
|
170
|
+
background: #fff;
|
|
171
|
+
border: 1px solid #e5e7eb;
|
|
172
|
+
border-radius: 8px;
|
|
173
|
+
padding: 10px 12px;
|
|
174
|
+
cursor: pointer;
|
|
175
|
+
transition: border-color 0.15s;
|
|
176
|
+
}
|
|
177
|
+
.fb-ann-card:hover {
|
|
178
|
+
border-color: #c4b5fd;
|
|
179
|
+
}
|
|
180
|
+
.fb-ann-active {
|
|
181
|
+
border-color: #7c3aed;
|
|
182
|
+
box-shadow: 0 0 0 2px rgba(124,58,237,0.12);
|
|
183
|
+
}
|
|
184
|
+
.fb-ann-quote {
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
color: #888;
|
|
187
|
+
font-style: italic;
|
|
188
|
+
margin-bottom: 6px;
|
|
189
|
+
line-height: 1.4;
|
|
190
|
+
}
|
|
191
|
+
.fb-ann-comment {
|
|
192
|
+
font-size: 13px;
|
|
193
|
+
line-height: 1.5;
|
|
194
|
+
margin-bottom: 6px;
|
|
195
|
+
}
|
|
196
|
+
.fb-ann-meta {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
gap: 8px;
|
|
200
|
+
font-size: 11px;
|
|
201
|
+
color: #999;
|
|
202
|
+
}
|
|
203
|
+
.fb-ann-commenter {
|
|
204
|
+
font-weight: 600;
|
|
205
|
+
color: #7c3aed;
|
|
206
|
+
}
|
|
207
|
+
.fb-ann-resolve {
|
|
208
|
+
background: none;
|
|
209
|
+
border: none;
|
|
210
|
+
color: #aaa;
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
font-size: 14px;
|
|
213
|
+
padding: 0 2px;
|
|
214
|
+
line-height: 1;
|
|
215
|
+
margin-left: auto;
|
|
216
|
+
}
|
|
217
|
+
.fb-ann-resolve:hover {
|
|
218
|
+
color: #16a34a;
|
|
219
|
+
}
|
|
220
|
+
.fb-ann-edit {
|
|
221
|
+
background: none;
|
|
222
|
+
border: none;
|
|
223
|
+
color: #aaa;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
font-size: 14px;
|
|
226
|
+
padding: 0 2px;
|
|
227
|
+
line-height: 1;
|
|
228
|
+
}
|
|
229
|
+
.fb-ann-edit:hover {
|
|
230
|
+
color: #7c3aed;
|
|
231
|
+
}
|
|
232
|
+
.fb-ann-delete {
|
|
233
|
+
background: none;
|
|
234
|
+
border: none;
|
|
235
|
+
color: #ccc;
|
|
236
|
+
cursor: pointer;
|
|
237
|
+
font-size: 16px;
|
|
238
|
+
padding: 0 2px;
|
|
239
|
+
line-height: 1;
|
|
240
|
+
}
|
|
241
|
+
.fb-ann-delete:hover {
|
|
242
|
+
color: #ef4444;
|
|
243
|
+
}
|
|
244
|
+
.fb-ann-resolved {
|
|
245
|
+
opacity: 0.5;
|
|
246
|
+
border-left: 3px solid #16a34a;
|
|
247
|
+
}
|
|
248
|
+
.fb-ann-resolved .fb-ann-comment {
|
|
249
|
+
text-decoration: line-through;
|
|
250
|
+
}
|
|
251
|
+
.fb-ann-resolved .fb-ann-resolve {
|
|
252
|
+
color: #16a34a;
|
|
253
|
+
}
|
|
254
|
+
.fb-filter-section {
|
|
255
|
+
margin-bottom: 12px;
|
|
256
|
+
}
|
|
257
|
+
.fb-filter-toggle {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 6px;
|
|
261
|
+
font-size: 12px;
|
|
262
|
+
color: #888;
|
|
263
|
+
cursor: pointer;
|
|
264
|
+
}
|
|
265
|
+
.fb-filter-toggle input {
|
|
266
|
+
cursor: pointer;
|
|
267
|
+
}
|
|
268
|
+
.fb-thread {
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
gap: 4px;
|
|
272
|
+
}
|
|
273
|
+
.fb-ann-reply {
|
|
274
|
+
margin-left: 20px;
|
|
275
|
+
border-left: 2px solid #e5e7eb;
|
|
276
|
+
font-size: 13px;
|
|
277
|
+
}
|
|
278
|
+
.fb-ann-reply .fb-ann-comment {
|
|
279
|
+
font-size: 12px;
|
|
280
|
+
}
|
|
281
|
+
.fb-reply-btn {
|
|
282
|
+
align-self: flex-start;
|
|
283
|
+
margin-left: 20px;
|
|
284
|
+
background: none;
|
|
285
|
+
border: none;
|
|
286
|
+
color: #7c3aed;
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
font-size: 12px;
|
|
289
|
+
font-weight: 500;
|
|
290
|
+
padding: 2px 0;
|
|
291
|
+
font-family: inherit;
|
|
292
|
+
}
|
|
293
|
+
.fb-reply-btn:hover {
|
|
294
|
+
text-decoration: underline;
|
|
295
|
+
}
|
|
296
|
+
.fb-reply-form {
|
|
297
|
+
margin-left: 20px;
|
|
298
|
+
padding: 8px;
|
|
299
|
+
background: #fff;
|
|
300
|
+
border: 1px solid #d1d5db;
|
|
301
|
+
border-radius: 6px;
|
|
302
|
+
}
|
|
303
|
+
.fb-reply-form .fb-form-textarea {
|
|
304
|
+
font-size: 12px;
|
|
305
|
+
min-height: unset;
|
|
306
|
+
}
|
|
307
|
+
.fb-reply-form .fb-form-actions {
|
|
308
|
+
margin-top: 6px;
|
|
309
|
+
}
|
|
310
|
+
.fb-form-section {
|
|
311
|
+
margin-top: 12px;
|
|
312
|
+
}
|
|
313
|
+
.fb-form-card {
|
|
314
|
+
background: #fff;
|
|
315
|
+
border: 2px solid #7c3aed;
|
|
316
|
+
border-radius: 8px;
|
|
317
|
+
padding: 12px;
|
|
318
|
+
}
|
|
319
|
+
.fb-form-quote {
|
|
320
|
+
font-size: 12px;
|
|
321
|
+
color: #888;
|
|
322
|
+
font-style: italic;
|
|
323
|
+
margin-bottom: 8px;
|
|
324
|
+
}
|
|
325
|
+
.fb-form-textarea {
|
|
326
|
+
width: 100%;
|
|
327
|
+
border: 1px solid #d1d5db;
|
|
328
|
+
border-radius: 6px;
|
|
329
|
+
padding: 8px 10px;
|
|
330
|
+
font-size: 13px;
|
|
331
|
+
font-family: inherit;
|
|
332
|
+
resize: vertical;
|
|
333
|
+
box-sizing: border-box;
|
|
334
|
+
}
|
|
335
|
+
.fb-form-textarea:focus {
|
|
336
|
+
outline: none;
|
|
337
|
+
border-color: #7c3aed;
|
|
338
|
+
}
|
|
339
|
+
.fb-form-actions {
|
|
340
|
+
display: flex;
|
|
341
|
+
gap: 8px;
|
|
342
|
+
margin-top: 8px;
|
|
343
|
+
}
|
|
344
|
+
.fb-btn {
|
|
345
|
+
border: none;
|
|
346
|
+
border-radius: 6px;
|
|
347
|
+
padding: 6px 14px;
|
|
348
|
+
font-size: 13px;
|
|
349
|
+
font-weight: 500;
|
|
350
|
+
cursor: pointer;
|
|
351
|
+
font-family: inherit;
|
|
352
|
+
}
|
|
353
|
+
.fb-btn-primary {
|
|
354
|
+
background: #7c3aed;
|
|
355
|
+
color: white;
|
|
356
|
+
}
|
|
357
|
+
.fb-btn-primary:hover { background: #6d28d9; }
|
|
358
|
+
.fb-btn-cancel {
|
|
359
|
+
background: #f3f4f6;
|
|
360
|
+
color: #555;
|
|
361
|
+
}
|
|
362
|
+
.fb-btn-cancel:hover { background: #e5e7eb; }
|
|
363
|
+
|
|
364
|
+
/* Annotate tooltip (appears on text selection) */
|
|
365
|
+
.fb-annotate-tooltip {
|
|
366
|
+
position: absolute;
|
|
367
|
+
z-index: 10001;
|
|
368
|
+
background: #7c3aed;
|
|
369
|
+
color: white;
|
|
370
|
+
border: none;
|
|
371
|
+
border-radius: 6px;
|
|
372
|
+
padding: 6px 14px;
|
|
373
|
+
font-size: 13px;
|
|
374
|
+
font-weight: 500;
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
377
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
|
378
|
+
white-space: nowrap;
|
|
379
|
+
}
|
|
380
|
+
.fb-annotate-tooltip:hover {
|
|
381
|
+
background: #6d28d9;
|
|
382
|
+
}
|
|
383
|
+
`,document.head.appendChild(e)}function PE(e,r){let t=zG(r);return`You are a document editor. Below is an HTML document and feedback from ${r.filter(i=>!i.parent_id).length} reviewer annotation(s) (with replies). Revise the document to address the feedback.
|
|
384
|
+
|
|
385
|
+
## Original Document
|
|
386
|
+
|
|
387
|
+
\`\`\`html
|
|
388
|
+
${e}
|
|
389
|
+
\`\`\`
|
|
390
|
+
|
|
391
|
+
## Reviewer Feedback
|
|
392
|
+
|
|
393
|
+
${t}
|
|
394
|
+
|
|
395
|
+
## Instructions
|
|
396
|
+
|
|
397
|
+
1. Carefully read each piece of feedback and the highlighted text it refers to.
|
|
398
|
+
2. Revise the document HTML to address the feedback where appropriate.
|
|
399
|
+
3. Preserve the overall structure and formatting of the document.
|
|
400
|
+
4. After the revised HTML, include a brief changelog noting which feedback items you addressed and how.
|
|
401
|
+
|
|
402
|
+
Respond with:
|
|
403
|
+
|
|
404
|
+
### Revised Document
|
|
405
|
+
\`\`\`html
|
|
406
|
+
[your revised HTML here]
|
|
407
|
+
\`\`\`
|
|
408
|
+
|
|
409
|
+
### Changelog
|
|
410
|
+
[numbered list matching feedback numbers, explaining what you changed]`}function zG(e){let r=[],t=new Map;for(let n of e)n.parent_id?(t.has(n.parent_id)||t.set(n.parent_id,[]),t.get(n.parent_id).push(n)):r.push(n);return r.length===0?"_No annotations found._":r.map((n,i)=>{let o=[`**${i+1}. [${n.commenter}]**`];n.quote&&o.push(`Highlighted text: "${n.quote}"`),n.comment&&o.push(`Comment: ${n.comment}`);let u=t.get(n.id)||[];for(let c of u)o.push(` - **[${c.commenter}]** (reply): ${c.comment}`);return o.join(`
|
|
411
|
+
`)}).join(`
|
|
412
|
+
|
|
413
|
+
`)}var VG=`
|
|
414
|
+
.hf-button {
|
|
415
|
+
position: fixed;
|
|
416
|
+
bottom: 24px;
|
|
417
|
+
left: 24px;
|
|
418
|
+
z-index: 10000;
|
|
419
|
+
background: #7c3aed;
|
|
420
|
+
color: white;
|
|
421
|
+
border: none;
|
|
422
|
+
border-radius: 8px;
|
|
423
|
+
padding: 12px 20px;
|
|
424
|
+
font-size: 14px;
|
|
425
|
+
font-weight: 600;
|
|
426
|
+
cursor: pointer;
|
|
427
|
+
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
|
|
428
|
+
transition: background 0.2s;
|
|
429
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
430
|
+
}
|
|
431
|
+
.hf-button:hover { background: #6d28d9; }
|
|
432
|
+
|
|
433
|
+
.hf-overlay {
|
|
434
|
+
position: fixed;
|
|
435
|
+
inset: 0;
|
|
436
|
+
z-index: 10001;
|
|
437
|
+
background: rgba(0,0,0,0.5);
|
|
438
|
+
display: flex;
|
|
439
|
+
align-items: center;
|
|
440
|
+
justify-content: center;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.hf-modal {
|
|
444
|
+
background: white;
|
|
445
|
+
border-radius: 12px;
|
|
446
|
+
width: 90%;
|
|
447
|
+
max-width: 800px;
|
|
448
|
+
max-height: 85vh;
|
|
449
|
+
display: flex;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
|
452
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.hf-modal-header {
|
|
456
|
+
display: flex;
|
|
457
|
+
justify-content: space-between;
|
|
458
|
+
align-items: center;
|
|
459
|
+
padding: 16px 20px;
|
|
460
|
+
border-bottom: 1px solid #e5e7eb;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.hf-modal-header h2 {
|
|
464
|
+
margin: 0;
|
|
465
|
+
font-size: 18px;
|
|
466
|
+
color: #1f2937;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.hf-modal-close {
|
|
470
|
+
background: none;
|
|
471
|
+
border: none;
|
|
472
|
+
font-size: 24px;
|
|
473
|
+
cursor: pointer;
|
|
474
|
+
color: #6b7280;
|
|
475
|
+
padding: 0 4px;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.hf-modal-body {
|
|
479
|
+
padding: 20px;
|
|
480
|
+
overflow-y: auto;
|
|
481
|
+
flex: 1;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.hf-modal-footer {
|
|
485
|
+
padding: 12px 20px;
|
|
486
|
+
border-top: 1px solid #e5e7eb;
|
|
487
|
+
display: flex;
|
|
488
|
+
gap: 8px;
|
|
489
|
+
justify-content: flex-end;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.hf-btn {
|
|
493
|
+
border: none;
|
|
494
|
+
border-radius: 6px;
|
|
495
|
+
padding: 8px 16px;
|
|
496
|
+
font-size: 14px;
|
|
497
|
+
font-weight: 500;
|
|
498
|
+
cursor: pointer;
|
|
499
|
+
transition: background 0.2s;
|
|
500
|
+
font-family: inherit;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.hf-btn-primary {
|
|
504
|
+
background: #7c3aed;
|
|
505
|
+
color: white;
|
|
506
|
+
}
|
|
507
|
+
.hf-btn-primary:hover { background: #6d28d9; }
|
|
508
|
+
|
|
509
|
+
.hf-btn-secondary {
|
|
510
|
+
background: #f3f4f6;
|
|
511
|
+
color: #374151;
|
|
512
|
+
}
|
|
513
|
+
.hf-btn-secondary:hover { background: #e5e7eb; }
|
|
514
|
+
|
|
515
|
+
.hf-prompt-area {
|
|
516
|
+
width: 100%;
|
|
517
|
+
min-height: 300px;
|
|
518
|
+
border: 1px solid #d1d5db;
|
|
519
|
+
border-radius: 6px;
|
|
520
|
+
padding: 12px;
|
|
521
|
+
font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
|
|
522
|
+
font-size: 12px;
|
|
523
|
+
resize: vertical;
|
|
524
|
+
box-sizing: border-box;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.hf-status {
|
|
528
|
+
padding: 12px;
|
|
529
|
+
border-radius: 6px;
|
|
530
|
+
margin-bottom: 12px;
|
|
531
|
+
font-size: 14px;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.hf-status-info { background: #eff6ff; color: #1e40af; }
|
|
535
|
+
.hf-status-success { background: #f0fdf4; color: #166534; }
|
|
536
|
+
.hf-status-error { background: #fef2f2; color: #991b1b; }
|
|
537
|
+
`,RE=null,AE=null;function NE(e,r){new URLSearchParams(window.location.search).get("author")==="true"&&(AE=e,RE=r,YG(),JG())}function YG(){let e=document.createElement("style");e.textContent=VG,document.head.appendChild(e)}function JG(){let e=document.createElement("button");e.className="hf-button",e.textContent="Send Feedback to Claude",e.addEventListener("click",()=>QG()),document.body.appendChild(e)}function QG(){let e=RE(),r=document.createElement("div");r.className="hf-overlay";let t=document.createElement("div");t.className="hf-modal";let n=document.createElement("div");n.className="hf-modal-header",n.innerHTML="<h2>Send Feedback to Claude</h2>";let i=document.createElement("button");i.className="hf-modal-close",i.textContent="\xD7",i.addEventListener("click",()=>r.remove()),n.appendChild(i);let o=document.createElement("div");o.className="hf-modal-body";let u=document.createElement("div");if(u.className="hf-modal-footer",t.append(n,o,u),r.appendChild(t),r.addEventListener("click",p=>{p.target===r&&r.remove()}),document.body.appendChild(r),e.length===0){o.innerHTML='<div class="hf-status hf-status-info">No annotations yet. Ask reviewers to highlight text and add comments first.</div>';return}let c=document.querySelector(AE.contentSelector||"body").innerHTML,s=PE(c,e);o.innerHTML=`
|
|
538
|
+
<div class="hf-status hf-status-success">
|
|
539
|
+
${e.length} annotation(s) found — prompt ready (${s.length.toLocaleString()} chars)
|
|
540
|
+
</div>
|
|
541
|
+
<textarea class="hf-prompt-area" readonly>${XG(s)}</textarea>
|
|
542
|
+
`;let l=document.createElement("button");l.className="hf-btn hf-btn-primary",l.textContent="Copy Prompt",l.addEventListener("click",async()=>{try{await navigator.clipboard.writeText(s),l.textContent="Copied!"}catch{l.textContent="Copy failed"}setTimeout(()=>l.textContent="Copy Prompt",2e3)}),u.appendChild(l);let f=document.createElement("button");f.className="hf-btn hf-btn-secondary",f.textContent="Close",f.addEventListener("click",()=>r.remove()),u.appendChild(f)}function XG(e){let r=document.createElement("div");return r.textContent=e,r.innerHTML}var nt=null,Bi=null,Y=[],Or=null,Ee=null,ye=new Set,Ge=new Map;function ZG(){let e=document.currentScript||document.querySelector('script[src*="feedback-layer"]'),r={apiUrl:e?.dataset.apiUrl||"",contentSelector:e?.dataset.contentSelector||"body",documentUri:e?.dataset.documentUri||null,proxyUrl:e?.dataset.proxyUrl||null,model:e?.dataset.model||null};Ds(r.apiUrl);let t=()=>{nt=document.querySelector(r.contentSelector)||document.body,Bi=r.documentUri||window.location.origin+window.location.pathname,IE({onSubmit:iU,onDelete:sU,onResolve:aU,onReply:oU,onEdit:uU}),qE(n=>{un(),_E(n),Di(n)}),tU(),eU(),NE(r,()=>Y)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}async function eU(){try{Y=await Bs(Bi),ye=await rU(Y),tr(Y,ye,Ge)}catch(e){console.error("[feedback-layer] Failed to load annotations:",e)}}async function rU(e){xE();let r=new Set;Ge.clear();for(let t of e)if(!t.parent_id)try{let n=await Fi({exact:t.quote,prefix:t.prefix,suffix:t.suffix},nt);n&&!t.resolved?(Li(n,t.id),r.add(t.id),Ge.set(t.id,n)):n&&t.resolved&&(r.add(t.id),Ge.set(t.id,n))}catch(n){console.warn(`[feedback-layer] Could not anchor annotation ${t.id}:`,n)}return r}function tU(){document.addEventListener("mouseup",ME),document.addEventListener("keyup",ME)}function ME(){setTimeout(()=>{let e=window.getSelection();if(!e||e.isCollapsed||!e.rangeCount){sn();return}let r=e.getRangeAt(0),t=r.toString().trim();if(!t||t.length<3){sn();return}if(!nt.contains(r.commonAncestorContainer)){sn();return}nU(r)},10)}function nU(e){sn();let r=e.getBoundingClientRect();Ee=document.createElement("button"),Ee.className="fb-annotate-tooltip",Ee.textContent="Annotate",Ee.style.top=window.scrollY+r.top-36+"px",Ee.style.left=window.scrollX+r.left+r.width/2-40+"px",Ee.addEventListener("mousedown",async t=>{t.preventDefault(),t.stopPropagation();let n=window.getSelection();if(!n||n.isCollapsed)return;let i=n.getRangeAt(0);try{Or=await yE(i,nt),kE(Or.exact)}catch(o){console.error("[feedback-layer] Failed to create selector:",o)}sn()}),document.body.appendChild(Ee)}function sn(){Ee&&(Ee.remove(),Ee=null)}async function iU({comment:e,commenter:r}){if(Or){try{let t=await Gi({uri:Bi,quote:Or.exact,prefix:Or.prefix,suffix:Or.suffix,comment:e,commenter:r});Y.push(t);let n=await Fi({exact:t.quote,prefix:t.prefix,suffix:t.suffix},nt);n&&(Li(n,t.id),ye.add(t.id)),tr(Y,ye,Ge),window.getSelection().removeAllRanges()}catch(t){console.error("[feedback-layer] Failed to create annotation:",t),alert("Failed to save annotation: "+t.message)}Or=null}}async function aU(e,r){try{let t=await Us(e,r),n=Y.findIndex(i=>i.id===e);if(n!==-1&&(Y[n]=t),r)Ps(e);else{let i=t,o=await Fi({exact:i.quote,prefix:i.prefix,suffix:i.suffix},nt);o?(Li(o,i.id),ye.add(i.id)):ye.delete(i.id)}tr(Y,ye,Ge)}catch(t){console.error("[feedback-layer] Failed to resolve annotation:",t)}}async function oU({parent_id:e,comment:r,commenter:t}){try{let n=await Gi({uri:Bi,comment:r,commenter:t,parent_id:e});Y.push(n),tr(Y,ye,Ge)}catch(n){console.error("[feedback-layer] Failed to create reply:",n),alert("Failed to save reply: "+n.message)}}async function uU(e,r){try{let t=await Gs(e,{comment:r}),n=Y.findIndex(i=>i.id===e);n!==-1&&(Y[n]=t),tr(Y,ye,Ge)}catch(t){console.error("[feedback-layer] Failed to edit annotation:",t),alert("Failed to update comment: "+t.message)}}async function sU(e){try{await Ws(e),Ps(e),ye.delete(e),Y=Y.filter(r=>r.id!==e&&r.parent_id!==e),tr(Y,ye,Ge)}catch(r){console.error("[feedback-layer] Failed to delete annotation:",r)}}ZG();})();
|
|
543
|
+
/*! Bundled license information:
|
|
544
|
+
|
|
545
|
+
@babel/runtime-corejs3/helpers/regenerator.js:
|
|
546
|
+
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
|
|
547
|
+
|
|
548
|
+
@apache-annotator/dom/lib/owner-document.js:
|
|
549
|
+
(**
|
|
550
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
551
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
552
|
+
* @license
|
|
553
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
554
|
+
* or more contributor license agreements. See the NOTICE file
|
|
555
|
+
* distributed with this work for additional information
|
|
556
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
557
|
+
* to you under the Apache License, Version 2.0 (the
|
|
558
|
+
* "License"); you may not use this file except in compliance
|
|
559
|
+
* with the License. You may obtain a copy of the License at
|
|
560
|
+
*
|
|
561
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
562
|
+
*
|
|
563
|
+
* Unless required by applicable law or agreed to in writing,
|
|
564
|
+
* software distributed under the License is distributed on an
|
|
565
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
566
|
+
* KIND, either express or implied. See the License for the
|
|
567
|
+
* specific language governing permissions and limitations
|
|
568
|
+
* under the License.
|
|
569
|
+
*)
|
|
570
|
+
|
|
571
|
+
@apache-annotator/dom/lib/to-range.js:
|
|
572
|
+
(**
|
|
573
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
574
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
575
|
+
* @license
|
|
576
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
577
|
+
* or more contributor license agreements. See the NOTICE file
|
|
578
|
+
* distributed with this work for additional information
|
|
579
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
580
|
+
* to you under the Apache License, Version 2.0 (the
|
|
581
|
+
* "License"); you may not use this file except in compliance
|
|
582
|
+
* with the License. You may obtain a copy of the License at
|
|
583
|
+
*
|
|
584
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
585
|
+
*
|
|
586
|
+
* Unless required by applicable law or agreed to in writing,
|
|
587
|
+
* software distributed under the License is distributed on an
|
|
588
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
589
|
+
* KIND, either express or implied. See the License for the
|
|
590
|
+
* specific language governing permissions and limitations
|
|
591
|
+
* under the License.
|
|
592
|
+
*)
|
|
593
|
+
|
|
594
|
+
@apache-annotator/dom/lib/css.js:
|
|
595
|
+
(**
|
|
596
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
597
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
598
|
+
* @license
|
|
599
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
600
|
+
* or more contributor license agreements. See the NOTICE file
|
|
601
|
+
* distributed with this work for additional information
|
|
602
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
603
|
+
* to you under the Apache License, Version 2.0 (the
|
|
604
|
+
* "License"); you may not use this file except in compliance
|
|
605
|
+
* with the License. You may obtain a copy of the License at
|
|
606
|
+
*
|
|
607
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
608
|
+
*
|
|
609
|
+
* Unless required by applicable law or agreed to in writing,
|
|
610
|
+
* software distributed under the License is distributed on an
|
|
611
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
612
|
+
* KIND, either express or implied. See the License for the
|
|
613
|
+
* specific language governing permissions and limitations
|
|
614
|
+
* under the License.
|
|
615
|
+
*)
|
|
616
|
+
|
|
617
|
+
@apache-annotator/dom/lib/range/cartesian.js:
|
|
618
|
+
(**
|
|
619
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
620
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
621
|
+
* @license
|
|
622
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
623
|
+
* or more contributor license agreements. See the NOTICE file
|
|
624
|
+
* distributed with this work for additional information
|
|
625
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
626
|
+
* to you under the Apache License, Version 2.0 (the
|
|
627
|
+
* "License"); you may not use this file except in compliance
|
|
628
|
+
* with the License. You may obtain a copy of the License at
|
|
629
|
+
*
|
|
630
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
631
|
+
*
|
|
632
|
+
* Unless required by applicable law or agreed to in writing,
|
|
633
|
+
* software distributed under the License is distributed on an
|
|
634
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
635
|
+
* KIND, either express or implied. See the License for the
|
|
636
|
+
* specific language governing permissions and limitations
|
|
637
|
+
* under the License.
|
|
638
|
+
*)
|
|
639
|
+
|
|
640
|
+
@apache-annotator/dom/lib/range/match.js:
|
|
641
|
+
(**
|
|
642
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
643
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
644
|
+
* @license
|
|
645
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
646
|
+
* or more contributor license agreements. See the NOTICE file
|
|
647
|
+
* distributed with this work for additional information
|
|
648
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
649
|
+
* to you under the Apache License, Version 2.0 (the
|
|
650
|
+
* "License"); you may not use this file except in compliance
|
|
651
|
+
* with the License. You may obtain a copy of the License at
|
|
652
|
+
*
|
|
653
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
654
|
+
*
|
|
655
|
+
* Unless required by applicable law or agreed to in writing,
|
|
656
|
+
* software distributed under the License is distributed on an
|
|
657
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
658
|
+
* KIND, either express or implied. See the License for the
|
|
659
|
+
* specific language governing permissions and limitations
|
|
660
|
+
* under the License.
|
|
661
|
+
*)
|
|
662
|
+
|
|
663
|
+
@apache-annotator/dom/lib/range/index.js:
|
|
664
|
+
(**
|
|
665
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
666
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
667
|
+
* @license
|
|
668
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
669
|
+
* or more contributor license agreements. See the NOTICE file
|
|
670
|
+
* distributed with this work for additional information
|
|
671
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
672
|
+
* to you under the Apache License, Version 2.0 (the
|
|
673
|
+
* "License"); you may not use this file except in compliance
|
|
674
|
+
* with the License. You may obtain a copy of the License at
|
|
675
|
+
*
|
|
676
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
677
|
+
*
|
|
678
|
+
* Unless required by applicable law or agreed to in writing,
|
|
679
|
+
* software distributed under the License is distributed on an
|
|
680
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
681
|
+
* KIND, either express or implied. See the License for the
|
|
682
|
+
* specific language governing permissions and limitations
|
|
683
|
+
* under the License.
|
|
684
|
+
*)
|
|
685
|
+
|
|
686
|
+
@apache-annotator/selector/lib/text/chunker.js:
|
|
687
|
+
(**
|
|
688
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
689
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
690
|
+
* @license
|
|
691
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
692
|
+
* or more contributor license agreements. See the NOTICE file
|
|
693
|
+
* distributed with this work for additional information
|
|
694
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
695
|
+
* to you under the Apache License, Version 2.0 (the
|
|
696
|
+
* "License"); you may not use this file except in compliance
|
|
697
|
+
* with the License. You may obtain a copy of the License at
|
|
698
|
+
*
|
|
699
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
700
|
+
*
|
|
701
|
+
* Unless required by applicable law or agreed to in writing,
|
|
702
|
+
* software distributed under the License is distributed on an
|
|
703
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
704
|
+
* KIND, either express or implied. See the License for the
|
|
705
|
+
* specific language governing permissions and limitations
|
|
706
|
+
* under the License.
|
|
707
|
+
*)
|
|
708
|
+
|
|
709
|
+
@apache-annotator/selector/lib/text/seeker.js:
|
|
710
|
+
(**
|
|
711
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
712
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
713
|
+
* @license
|
|
714
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
715
|
+
* or more contributor license agreements. See the NOTICE file
|
|
716
|
+
* distributed with this work for additional information
|
|
717
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
718
|
+
* to you under the Apache License, Version 2.0 (the
|
|
719
|
+
* "License"); you may not use this file except in compliance
|
|
720
|
+
* with the License. You may obtain a copy of the License at
|
|
721
|
+
*
|
|
722
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
723
|
+
*
|
|
724
|
+
* Unless required by applicable law or agreed to in writing,
|
|
725
|
+
* software distributed under the License is distributed on an
|
|
726
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
727
|
+
* KIND, either express or implied. See the License for the
|
|
728
|
+
* specific language governing permissions and limitations
|
|
729
|
+
* under the License.
|
|
730
|
+
*)
|
|
731
|
+
|
|
732
|
+
@apache-annotator/selector/lib/text/describe-text-quote.js:
|
|
733
|
+
(**
|
|
734
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
735
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
736
|
+
* @license
|
|
737
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
738
|
+
* or more contributor license agreements. See the NOTICE file
|
|
739
|
+
* distributed with this work for additional information
|
|
740
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
741
|
+
* to you under the Apache License, Version 2.0 (the
|
|
742
|
+
* "License"); you may not use this file except in compliance
|
|
743
|
+
* with the License. You may obtain a copy of the License at
|
|
744
|
+
*
|
|
745
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
746
|
+
*
|
|
747
|
+
* Unless required by applicable law or agreed to in writing,
|
|
748
|
+
* software distributed under the License is distributed on an
|
|
749
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
750
|
+
* KIND, either express or implied. See the License for the
|
|
751
|
+
* specific language governing permissions and limitations
|
|
752
|
+
* under the License.
|
|
753
|
+
*)
|
|
754
|
+
|
|
755
|
+
@apache-annotator/selector/lib/text/match-text-quote.js:
|
|
756
|
+
(**
|
|
757
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
758
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
759
|
+
* @license
|
|
760
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
761
|
+
* or more contributor license agreements. See the NOTICE file
|
|
762
|
+
* distributed with this work for additional information
|
|
763
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
764
|
+
* to you under the Apache License, Version 2.0 (the
|
|
765
|
+
* "License"); you may not use this file except in compliance
|
|
766
|
+
* with the License. You may obtain a copy of the License at
|
|
767
|
+
*
|
|
768
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
769
|
+
*
|
|
770
|
+
* Unless required by applicable law or agreed to in writing,
|
|
771
|
+
* software distributed under the License is distributed on an
|
|
772
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
773
|
+
* KIND, either express or implied. See the License for the
|
|
774
|
+
* specific language governing permissions and limitations
|
|
775
|
+
* under the License.
|
|
776
|
+
*)
|
|
777
|
+
|
|
778
|
+
@apache-annotator/selector/lib/text/code-point-seeker.js:
|
|
779
|
+
(**
|
|
780
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
781
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
782
|
+
* @license
|
|
783
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
784
|
+
* or more contributor license agreements. See the NOTICE file
|
|
785
|
+
* distributed with this work for additional information
|
|
786
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
787
|
+
* to you under the Apache License, Version 2.0 (the
|
|
788
|
+
* "License"); you may not use this file except in compliance
|
|
789
|
+
* with the License. You may obtain a copy of the License at
|
|
790
|
+
*
|
|
791
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
792
|
+
*
|
|
793
|
+
* Unless required by applicable law or agreed to in writing,
|
|
794
|
+
* software distributed under the License is distributed on an
|
|
795
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
796
|
+
* KIND, either express or implied. See the License for the
|
|
797
|
+
* specific language governing permissions and limitations
|
|
798
|
+
* under the License.
|
|
799
|
+
*)
|
|
800
|
+
|
|
801
|
+
@apache-annotator/selector/lib/text/describe-text-position.js:
|
|
802
|
+
(**
|
|
803
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
804
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
805
|
+
* @license
|
|
806
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
807
|
+
* or more contributor license agreements. See the NOTICE file
|
|
808
|
+
* distributed with this work for additional information
|
|
809
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
810
|
+
* to you under the Apache License, Version 2.0 (the
|
|
811
|
+
* "License"); you may not use this file except in compliance
|
|
812
|
+
* with the License. You may obtain a copy of the License at
|
|
813
|
+
*
|
|
814
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
815
|
+
*
|
|
816
|
+
* Unless required by applicable law or agreed to in writing,
|
|
817
|
+
* software distributed under the License is distributed on an
|
|
818
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
819
|
+
* KIND, either express or implied. See the License for the
|
|
820
|
+
* specific language governing permissions and limitations
|
|
821
|
+
* under the License.
|
|
822
|
+
*)
|
|
823
|
+
|
|
824
|
+
@apache-annotator/selector/lib/text/match-text-position.js:
|
|
825
|
+
(**
|
|
826
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
827
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
828
|
+
* @license
|
|
829
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
830
|
+
* or more contributor license agreements. See the NOTICE file
|
|
831
|
+
* distributed with this work for additional information
|
|
832
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
833
|
+
* to you under the Apache License, Version 2.0 (the
|
|
834
|
+
* "License"); you may not use this file except in compliance
|
|
835
|
+
* with the License. You may obtain a copy of the License at
|
|
836
|
+
*
|
|
837
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
838
|
+
*
|
|
839
|
+
* Unless required by applicable law or agreed to in writing,
|
|
840
|
+
* software distributed under the License is distributed on an
|
|
841
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
842
|
+
* KIND, either express or implied. See the License for the
|
|
843
|
+
* specific language governing permissions and limitations
|
|
844
|
+
* under the License.
|
|
845
|
+
*)
|
|
846
|
+
|
|
847
|
+
@apache-annotator/selector/lib/text/index.js:
|
|
848
|
+
(**
|
|
849
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
850
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
851
|
+
* @license
|
|
852
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
853
|
+
* or more contributor license agreements. See the NOTICE file
|
|
854
|
+
* distributed with this work for additional information
|
|
855
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
856
|
+
* to you under the Apache License, Version 2.0 (the
|
|
857
|
+
* "License"); you may not use this file except in compliance
|
|
858
|
+
* with the License. You may obtain a copy of the License at
|
|
859
|
+
*
|
|
860
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
861
|
+
*
|
|
862
|
+
* Unless required by applicable law or agreed to in writing,
|
|
863
|
+
* software distributed under the License is distributed on an
|
|
864
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
865
|
+
* KIND, either express or implied. See the License for the
|
|
866
|
+
* specific language governing permissions and limitations
|
|
867
|
+
* under the License.
|
|
868
|
+
*)
|
|
869
|
+
|
|
870
|
+
@apache-annotator/selector/lib/index.js:
|
|
871
|
+
(**
|
|
872
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
873
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
874
|
+
* @license
|
|
875
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
876
|
+
* or more contributor license agreements. See the NOTICE file
|
|
877
|
+
* distributed with this work for additional information
|
|
878
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
879
|
+
* to you under the Apache License, Version 2.0 (the
|
|
880
|
+
* "License"); you may not use this file except in compliance
|
|
881
|
+
* with the License. You may obtain a copy of the License at
|
|
882
|
+
*
|
|
883
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
884
|
+
*
|
|
885
|
+
* Unless required by applicable law or agreed to in writing,
|
|
886
|
+
* software distributed under the License is distributed on an
|
|
887
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
888
|
+
* KIND, either express or implied. See the License for the
|
|
889
|
+
* specific language governing permissions and limitations
|
|
890
|
+
* under the License.
|
|
891
|
+
*)
|
|
892
|
+
|
|
893
|
+
@apache-annotator/dom/lib/normalize-range.js:
|
|
894
|
+
(**
|
|
895
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
896
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
897
|
+
* @license
|
|
898
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
899
|
+
* or more contributor license agreements. See the NOTICE file
|
|
900
|
+
* distributed with this work for additional information
|
|
901
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
902
|
+
* to you under the Apache License, Version 2.0 (the
|
|
903
|
+
* "License"); you may not use this file except in compliance
|
|
904
|
+
* with the License. You may obtain a copy of the License at
|
|
905
|
+
*
|
|
906
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
907
|
+
*
|
|
908
|
+
* Unless required by applicable law or agreed to in writing,
|
|
909
|
+
* software distributed under the License is distributed on an
|
|
910
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
911
|
+
* KIND, either express or implied. See the License for the
|
|
912
|
+
* specific language governing permissions and limitations
|
|
913
|
+
* under the License.
|
|
914
|
+
*)
|
|
915
|
+
|
|
916
|
+
@apache-annotator/dom/lib/text-node-chunker.js:
|
|
917
|
+
(**
|
|
918
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
919
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
920
|
+
* @license
|
|
921
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
922
|
+
* or more contributor license agreements. See the NOTICE file
|
|
923
|
+
* distributed with this work for additional information
|
|
924
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
925
|
+
* to you under the Apache License, Version 2.0 (the
|
|
926
|
+
* "License"); you may not use this file except in compliance
|
|
927
|
+
* with the License. You may obtain a copy of the License at
|
|
928
|
+
*
|
|
929
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
930
|
+
*
|
|
931
|
+
* Unless required by applicable law or agreed to in writing,
|
|
932
|
+
* software distributed under the License is distributed on an
|
|
933
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
934
|
+
* KIND, either express or implied. See the License for the
|
|
935
|
+
* specific language governing permissions and limitations
|
|
936
|
+
* under the License.
|
|
937
|
+
*)
|
|
938
|
+
|
|
939
|
+
@apache-annotator/dom/lib/text-quote/describe.js:
|
|
940
|
+
(**
|
|
941
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
942
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
943
|
+
* @license
|
|
944
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
945
|
+
* or more contributor license agreements. See the NOTICE file
|
|
946
|
+
* distributed with this work for additional information
|
|
947
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
948
|
+
* to you under the Apache License, Version 2.0 (the
|
|
949
|
+
* "License"); you may not use this file except in compliance
|
|
950
|
+
* with the License. You may obtain a copy of the License at
|
|
951
|
+
*
|
|
952
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
953
|
+
*
|
|
954
|
+
* Unless required by applicable law or agreed to in writing,
|
|
955
|
+
* software distributed under the License is distributed on an
|
|
956
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
957
|
+
* KIND, either express or implied. See the License for the
|
|
958
|
+
* specific language governing permissions and limitations
|
|
959
|
+
* under the License.
|
|
960
|
+
*)
|
|
961
|
+
|
|
962
|
+
@apache-annotator/dom/lib/text-quote/match.js:
|
|
963
|
+
(**
|
|
964
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
965
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
966
|
+
* @license
|
|
967
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
968
|
+
* or more contributor license agreements. See the NOTICE file
|
|
969
|
+
* distributed with this work for additional information
|
|
970
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
971
|
+
* to you under the Apache License, Version 2.0 (the
|
|
972
|
+
* "License"); you may not use this file except in compliance
|
|
973
|
+
* with the License. You may obtain a copy of the License at
|
|
974
|
+
*
|
|
975
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
976
|
+
*
|
|
977
|
+
* Unless required by applicable law or agreed to in writing,
|
|
978
|
+
* software distributed under the License is distributed on an
|
|
979
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
980
|
+
* KIND, either express or implied. See the License for the
|
|
981
|
+
* specific language governing permissions and limitations
|
|
982
|
+
* under the License.
|
|
983
|
+
*)
|
|
984
|
+
|
|
985
|
+
@apache-annotator/dom/lib/text-quote/index.js:
|
|
986
|
+
(**
|
|
987
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
988
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
989
|
+
* @license
|
|
990
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
991
|
+
* or more contributor license agreements. See the NOTICE file
|
|
992
|
+
* distributed with this work for additional information
|
|
993
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
994
|
+
* to you under the Apache License, Version 2.0 (the
|
|
995
|
+
* "License"); you may not use this file except in compliance
|
|
996
|
+
* with the License. You may obtain a copy of the License at
|
|
997
|
+
*
|
|
998
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
999
|
+
*
|
|
1000
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1001
|
+
* software distributed under the License is distributed on an
|
|
1002
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1003
|
+
* KIND, either express or implied. See the License for the
|
|
1004
|
+
* specific language governing permissions and limitations
|
|
1005
|
+
* under the License.
|
|
1006
|
+
*)
|
|
1007
|
+
|
|
1008
|
+
@apache-annotator/dom/lib/text-position/describe.js:
|
|
1009
|
+
(**
|
|
1010
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
1011
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1012
|
+
* @license
|
|
1013
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
1014
|
+
* or more contributor license agreements. See the NOTICE file
|
|
1015
|
+
* distributed with this work for additional information
|
|
1016
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
1017
|
+
* to you under the Apache License, Version 2.0 (the
|
|
1018
|
+
* "License"); you may not use this file except in compliance
|
|
1019
|
+
* with the License. You may obtain a copy of the License at
|
|
1020
|
+
*
|
|
1021
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1022
|
+
*
|
|
1023
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1024
|
+
* software distributed under the License is distributed on an
|
|
1025
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1026
|
+
* KIND, either express or implied. See the License for the
|
|
1027
|
+
* specific language governing permissions and limitations
|
|
1028
|
+
* under the License.
|
|
1029
|
+
*)
|
|
1030
|
+
|
|
1031
|
+
@apache-annotator/dom/lib/text-position/match.js:
|
|
1032
|
+
(**
|
|
1033
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
1034
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1035
|
+
* @license
|
|
1036
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
1037
|
+
* or more contributor license agreements. See the NOTICE file
|
|
1038
|
+
* distributed with this work for additional information
|
|
1039
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
1040
|
+
* to you under the Apache License, Version 2.0 (the
|
|
1041
|
+
* "License"); you may not use this file except in compliance
|
|
1042
|
+
* with the License. You may obtain a copy of the License at
|
|
1043
|
+
*
|
|
1044
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1045
|
+
*
|
|
1046
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1047
|
+
* software distributed under the License is distributed on an
|
|
1048
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1049
|
+
* KIND, either express or implied. See the License for the
|
|
1050
|
+
* specific language governing permissions and limitations
|
|
1051
|
+
* under the License.
|
|
1052
|
+
*)
|
|
1053
|
+
|
|
1054
|
+
@apache-annotator/dom/lib/text-position/index.js:
|
|
1055
|
+
(**
|
|
1056
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
1057
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1058
|
+
* @license
|
|
1059
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
1060
|
+
* or more contributor license agreements. See the NOTICE file
|
|
1061
|
+
* distributed with this work for additional information
|
|
1062
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
1063
|
+
* to you under the Apache License, Version 2.0 (the
|
|
1064
|
+
* "License"); you may not use this file except in compliance
|
|
1065
|
+
* with the License. You may obtain a copy of the License at
|
|
1066
|
+
*
|
|
1067
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1068
|
+
*
|
|
1069
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1070
|
+
* software distributed under the License is distributed on an
|
|
1071
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1072
|
+
* KIND, either express or implied. See the License for the
|
|
1073
|
+
* specific language governing permissions and limitations
|
|
1074
|
+
* under the License.
|
|
1075
|
+
*)
|
|
1076
|
+
|
|
1077
|
+
@apache-annotator/dom/lib/highlight-text.js:
|
|
1078
|
+
(**
|
|
1079
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
1080
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1081
|
+
* @license
|
|
1082
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
1083
|
+
* or more contributor license agreements. See the NOTICE file
|
|
1084
|
+
* distributed with this work for additional information
|
|
1085
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
1086
|
+
* to you under the Apache License, Version 2.0 (the
|
|
1087
|
+
* "License"); you may not use this file except in compliance
|
|
1088
|
+
* with the License. You may obtain a copy of the License at
|
|
1089
|
+
*
|
|
1090
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1091
|
+
*
|
|
1092
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1093
|
+
* software distributed under the License is distributed on an
|
|
1094
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1095
|
+
* KIND, either express or implied. See the License for the
|
|
1096
|
+
* specific language governing permissions and limitations
|
|
1097
|
+
* under the License.
|
|
1098
|
+
*)
|
|
1099
|
+
|
|
1100
|
+
@apache-annotator/dom/lib/index.js:
|
|
1101
|
+
(**
|
|
1102
|
+
* SPDX-FileCopyrightText: 2016-2021 The Apache Software Foundation
|
|
1103
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1104
|
+
* @license
|
|
1105
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
1106
|
+
* or more contributor license agreements. See the NOTICE file
|
|
1107
|
+
* distributed with this work for additional information
|
|
1108
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
1109
|
+
* to you under the Apache License, Version 2.0 (the
|
|
1110
|
+
* "License"); you may not use this file except in compliance
|
|
1111
|
+
* with the License. You may obtain a copy of the License at
|
|
1112
|
+
*
|
|
1113
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1114
|
+
*
|
|
1115
|
+
* Unless required by applicable law or agreed to in writing,
|
|
1116
|
+
* software distributed under the License is distributed on an
|
|
1117
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1118
|
+
* KIND, either express or implied. See the License for the
|
|
1119
|
+
* specific language governing permissions and limitations
|
|
1120
|
+
* under the License.
|
|
1121
|
+
*)
|
|
1122
|
+
*/
|