reactjs-tiptap-editor 1.0.4 → 1.0.5
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/lib/{ActionMenuButton-Bzr6ICxv.cjs → ActionMenuButton-BS1m0efQ.cjs} +1 -1
- package/lib/{ActionMenuButton-71gCEVbv.js → ActionMenuButton-CmYQziyT.js} +8 -8
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.js +4 -4
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.js +3 -3
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +3 -3
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +3 -3
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +2 -2
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +3 -3
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.js +4 -4
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +3 -3
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +8 -8
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +3 -3
- package/lib/{Drawer-GRyIh2y1.js → Drawer-BCMlTDss.js} +6 -6
- package/lib/{Drawer-DlX87Cl4.cjs → Drawer-DPVStAKs.cjs} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +1 -1
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +5 -5
- package/lib/{Excalidraw-BmyhdJCU.js → Excalidraw-1dKmqI-3.js} +5 -5
- package/lib/{Excalidraw-Bkq1fXLL.cjs → Excalidraw-BP-xjF6S.cjs} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.js +3 -3
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +3 -3
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +5 -5
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +5 -5
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +5 -5
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +8 -8
- package/lib/History.cjs +1 -1
- package/lib/History.js +3 -3
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +3 -3
- package/lib/{Icon-ztD4g9N4.cjs → Icon-BjR_or8V.cjs} +1 -1
- package/lib/{Icon-1z7VnLgz.js → Icon-C-qYUAS1.js} +1 -1
- package/lib/{Iframe-AiP8qPGF.js → Iframe-B_GAN9lj.js} +5 -5
- package/lib/{Iframe-DhUlC9-Y.cjs → Iframe-CeasogsD.cjs} +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +13 -13
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +6 -6
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.js +4 -4
- package/lib/{Indent-fphgO8Eo.cjs → Indent-BGmFt7Dc.cjs} +1 -1
- package/lib/{Indent-CBoQDISv.js → Indent-DCTAYr8i.js} +3 -3
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +3 -3
- package/lib/{Katex-AfmTUUNS.cjs → Katex-CFZB-dZq.cjs} +1 -1
- package/lib/{Katex-n2PVzaMd.js → Katex-CxEAc1xw.js} +7 -7
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +1 -1
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +14 -14
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +1 -1
- package/lib/{LinkEditBlock-CoXwYHlj.js → LinkEditBlock-C8rPUoNH.js} +10 -10
- package/lib/{LinkEditBlock-sADc32hF.cjs → LinkEditBlock-DiSXJpTN.cjs} +1 -1
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.js +6 -6
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +15 -15
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +3 -3
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +14 -14
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +12 -12
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +3 -3
- package/lib/{Table-BLb5576a.cjs → Table-B4s9CpR4.cjs} +1 -1
- package/lib/{Table-BshvoFRh.js → Table-B9w1GsCg.js} +5 -5
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +3 -3
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +6 -6
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +6 -6
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +3 -3
- package/lib/{Twitter-CLVet4OM.js → Twitter-B-GTNq1g.js} +19 -19
- package/lib/{Twitter-DEKTLWO5.cjs → Twitter-BVlF0vEs.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +9 -9
- package/lib/bubble.cjs +1 -1
- package/lib/bubble.js +21 -21
- package/lib/{button-BnN1L5_T.js → button-Crm67hfl.js} +1 -1
- package/lib/{button-CjAogRMZ.cjs → button-xNppt_aK.cjs} +1 -1
- package/lib/{checkbox-sSQSzjls.js → checkbox-DViVmgJ6.js} +1 -1
- package/lib/{checkbox-BFgaCetY.cjs → checkbox-NQC2MdGT.cjs} +1 -1
- package/lib/{dialog-CzZSyyxS.js → dialog-Ce9Cjfft.js} +1 -1
- package/lib/{dialog-CUP7QBaG.cjs → dialog-DaHBd2zw.cjs} +1 -1
- package/lib/{dropdown-menu-y1rPk4dr.js → dropdown-menu-CQykJhBs.js} +1 -1
- package/lib/{dropdown-menu-CwHOwzLr.cjs → dropdown-menu-CSCDQtq0.cjs} +1 -1
- package/lib/events.constant-DQYeJpu5.cjs +1 -0
- package/lib/{events.constant-CBPIqO_g.js → events.constant-wrlJ_7JZ.js} +5 -4
- package/lib/{index-DGihe-wH.js → index-0OnGZkVF.js} +19 -16
- package/lib/{index-CnbtiTqP.cjs → index-CNzHZDls.cjs} +3 -3
- package/lib/{index--XZPCi0O.js → index-DuZCJJSp.js} +203 -179
- package/lib/{index-D4d-0Hqh.cjs → index-FSRjMsxW.cjs} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.js +2 -2
- package/lib/{input-Byg4PPou.js → input-DfqFAyKo.js} +1 -1
- package/lib/{input-Dikmsjjj.cjs → input-tU3H__39.cjs} +1 -1
- package/lib/{label-BX7OqM6p.js → label-DC33TZy_.js} +1 -1
- package/lib/{label-ChxDmW-K.cjs → label-DkDE77kc.cjs} +1 -1
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +1 -1
- package/lib/locales/index.d.ts +2 -1
- package/lib/{popover-DVD1y8Z_.cjs → popover-CZWSQZ0q.cjs} +1 -1
- package/lib/{popover-CheVmqgb.js → popover-CoepUobG.js} +1 -1
- package/lib/{separator-Y_Pbpi-5.js → separator-6SnwzytZ.js} +5 -5
- package/lib/{separator-CSuS-D6T.cjs → separator-DCQD8P6s.cjs} +1 -1
- package/lib/store-726Zjszt.cjs +1 -0
- package/lib/store-ibARMQ3h.js +10 -0
- package/lib/style.css +1 -1
- package/lib/{tabs-B9ooipwg.cjs → tabs-B_ArrG09.cjs} +1 -1
- package/lib/{tabs-p4pJGb6o.js → tabs-DrkJL_C2.js} +1 -1
- package/lib/{textarea-Byts1Pn0.js → textarea-CIs52G8B.js} +1 -1
- package/lib/{textarea-L53EceuF.cjs → textarea-CmZVZKOo.cjs} +1 -1
- package/lib/theme.cjs +1 -1
- package/lib/theme.js +1 -1
- package/lib/{toggle-DUPu3nnZ.cjs → toggle-Bo07J-M7.cjs} +1 -1
- package/lib/{toggle-WBgzE8Jm.js → toggle-MUGlaI1L.js} +10 -10
- package/lib/{tooltip-BOMwAoO1.js → tooltip-BTFcHrd9.js} +1 -1
- package/lib/{tooltip-DD5Ii8qI.cjs → tooltip-DFjcKu9a.cjs} +1 -1
- package/lib/{useButtonProps-BIOoOg6h.js → useButtonProps-D0SrPzuG.js} +2 -2
- package/lib/{useButtonProps-C4SCmCVo.cjs → useButtonProps-bei1vI37.cjs} +1 -1
- package/lib/utils/customEvents/events.constant.d.ts +1 -0
- package/package.json +1 -1
- package/lib/events.constant-B-VGURJp.cjs +0 -1
- package/lib/store-BVm_SgvL.js +0 -10
- package/lib/store-DznMm4Ug.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Fr=require("./index-DLqogznp.cjs"),er=require("react/jsx-runtime"),ur=require("react"),Ja=require("katex"),qo=require("./toggle-DUPu3nnZ.cjs");require("./index-CnbtiTqP.cjs");const Dr=require("./dialog-CUP7QBaG.cjs"),wo=require("./textarea-L53EceuF.cjs"),oe=require("./useButtonProps-C4SCmCVo.cjs"),Br=require("./_commonjsHelpers-BTDuMlIz.cjs"),Po=require("./index-D4d-0Hqh.cjs"),Io=require("./button-CjAogRMZ.cjs");var ie,sn;function Ya(){if(sn)return ie;sn=1;var r=Object.prototype.toString;return ie=function(n){var o=r.call(n),t=o==="[object Arguments]";return t||(t=o!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&r.call(n.callee)==="[object Function]"),t},ie}var ue,ln;function $o(){if(ln)return ue;ln=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Ya(),t=Object.prototype.propertyIsEnumerable,f=!t.call({toString:null},"toString"),i=t.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(y){var h=y.constructor;return h&&h.prototype===y},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=(function(){if(typeof window>"u")return!1;for(var y in window)try{if(!c["$"+y]&&e.call(window,y)&&window[y]!==null&&typeof window[y]=="object")try{u(window[y])}catch{return!0}}catch{return!0}return!1})(),p=function(y){if(typeof window>"u"||!v)return u(y);try{return u(y)}catch{return!1}};r=function(h){var m=h!==null&&typeof h=="object",B=n.call(h)==="[object Function]",q=o(h),w=m&&n.call(h)==="[object String]",O=[];if(!m&&!B&&!q)throw new TypeError("Object.keys called on a non-object");var b=i&&B;if(w&&h.length>0&&!e.call(h,0))for(var T=0;T<h.length;++T)O.push(String(T));if(q&&h.length>0)for(var X=0;X<h.length;++X)O.push(String(X));else for(var G in h)!(b&&G==="prototype")&&e.call(h,G)&&O.push(String(G));if(f)for(var F=p(h),C=0;C<a.length;++C)!(F&&a[C]==="constructor")&&e.call(h,a[C])&&O.push(a[C]);return O}}return ue=r,ue}var fe,cn;function Lt(){if(cn)return fe;cn=1;var r=Array.prototype.slice,e=Ya(),n=Object.keys,o=n?function(i){return n(i)}:$o(),t=Object.keys;return o.shim=function(){if(Object.keys){var i=(function(){var a=Object.keys(arguments);return a&&a.length===arguments.length})(1,2);i||(Object.keys=function(u){return e(u)?t(r.call(u)):t(u)})}else Object.keys=o;return Object.keys||o},fe=o,fe}var se,pn;function Vr(){if(pn)return se;pn=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return se=r,se}var le,yn;function Ht(){return yn||(yn=1,le=SyntaxError),le}var ce,vn;function nr(){return vn||(vn=1,ce=TypeError),ce}var pe,gn;function Ro(){return gn||(gn=1,pe=Object.getOwnPropertyDescriptor),pe}var ye,hn;function qr(){if(hn)return ye;hn=1;var r=Ro();if(r)try{r([],"length")}catch{r=null}return ye=r,ye}var ve,dn;function Gt(){if(dn)return ve;dn=1;var r=Vr(),e=Ht(),n=nr(),o=qr();return ve=function(f,i,a){if(!f||typeof f!="object"&&typeof f!="function")throw new n("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,y=!!o&&o(f,i);if(r)r(f,i,{configurable:v===null&&y?y.configurable:!v,enumerable:u===null&&y?y.enumerable:!u,value:a,writable:c===null&&y?y.writable:!c});else if(p||!u&&!c&&!v)f[i]=a;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ve}var ge,mn;function Ut(){if(mn)return ge;mn=1;var r=Vr(),e=function(){return!!r};return e.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},ge=e,ge}var he,Sn;function wr(){if(Sn)return he;Sn=1;var r=Lt(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,o=Array.prototype.concat,t=Gt(),f=function(c){return typeof c=="function"&&n.call(c)==="[object Function]"},i=Ut()(),a=function(c,v,p,y){if(v in c){if(y===!0){if(c[v]===p)return}else if(!f(y)||!y())return}i?t(c,v,p,!0):t(c,v,p)},u=function(c,v){var p=arguments.length>2?arguments[2]:{},y=r(v);e&&(y=o.call(y,Object.getOwnPropertySymbols(v)));for(var h=0;h<y.length;h+=1)a(c,y[h],v[y[h]],p[y[h]])};return u.supportsDescriptors=!!i,he=u,he}var de={exports:{}},me,bn;function zt(){return bn||(bn=1,me=Object),me}var Se,An;function Xa(){return An||(An=1,Se=Error),Se}var be,On;function xo(){return On||(On=1,be=EvalError),be}var Ae,qn;function Eo(){return qn||(qn=1,Ae=RangeError),Ae}var Oe,wn;function Bo(){return wn||(wn=1,Oe=ReferenceError),Oe}var qe,Pn;function jo(){return Pn||(Pn=1,qe=URIError),qe}var we,In;function To(){return In||(In=1,we=Math.abs),we}var Pe,$n;function Mo(){return $n||($n=1,Pe=Math.floor),Pe}var Ie,Rn;function Do(){return Rn||(Rn=1,Ie=Math.max),Ie}var $e,xn;function Co(){return xn||(xn=1,$e=Math.min),$e}var Re,En;function Fo(){return En||(En=1,Re=Math.pow),Re}var xe,Bn;function _o(){return Bn||(Bn=1,xe=Math.round),xe}var Ee,jn;function No(){return jn||(jn=1,Ee=Number.isNaN||function(e){return e!==e}),Ee}var Be,Tn;function Wo(){if(Tn)return Be;Tn=1;var r=No();return Be=function(n){return r(n)||n===0?n:n<0?-1:1},Be}var je,Mn;function Kr(){return Mn||(Mn=1,je=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var t=42;e[n]=t;for(var f in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,n);if(a.value!==t||a.enumerable!==!0)return!1}return!0}),je}var Te,Dn;function Vt(){if(Dn)return Te;Dn=1;var r=typeof Symbol<"u"&&Symbol,e=Kr();return Te=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Te}var Me,Cn;function Qa(){return Cn||(Cn=1,Me=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Me}var De,Fn;function Za(){if(Fn)return De;Fn=1;var r=zt();return De=r.getPrototypeOf||null,De}var Ce,_n;function ko(){if(_n)return Ce;_n=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,o="[object Function]",t=function(u,c){for(var v=[],p=0;p<u.length;p+=1)v[p]=u[p];for(var y=0;y<c.length;y+=1)v[y+u.length]=c[y];return v},f=function(u,c){for(var v=[],p=c,y=0;p<u.length;p+=1,y+=1)v[y]=u[p];return v},i=function(a,u){for(var c="",v=0;v<a.length;v+=1)c+=a[v],v+1<a.length&&(c+=u);return c};return Ce=function(u){var c=this;if(typeof c!="function"||e.apply(c)!==o)throw new TypeError(r+c);for(var v=f(arguments,1),p,y=function(){if(this instanceof p){var w=c.apply(this,t(v,arguments));return Object(w)===w?w:this}return c.apply(u,t(v,arguments))},h=n(0,c.length-v.length),m=[],B=0;B<h;B++)m[B]="$"+B;if(p=Function("binder","return function ("+i(m,",")+"){ return binder.apply(this,arguments); }")(y),c.prototype){var q=function(){};q.prototype=c.prototype,p.prototype=new q,q.prototype=null}return p},Ce}var Fe,Nn;function _r(){if(Nn)return Fe;Nn=1;var r=ko();return Fe=Function.prototype.bind||r,Fe}var _e,Wn;function Kt(){return Wn||(Wn=1,_e=Function.prototype.call),_e}var Ne,kn;function Jt(){return kn||(kn=1,Ne=Function.prototype.apply),Ne}var We,Ln;function Lo(){return Ln||(Ln=1,We=typeof Reflect<"u"&&Reflect&&Reflect.apply),We}var ke,Hn;function ro(){if(Hn)return ke;Hn=1;var r=_r(),e=Jt(),n=Kt(),o=Lo();return ke=o||r.call(n,e),ke}var Le,Gn;function Yt(){if(Gn)return Le;Gn=1;var r=_r(),e=nr(),n=Kt(),o=ro();return Le=function(f){if(f.length<1||typeof f[0]!="function")throw new e("a function is required");return o(r,n,f)},Le}var He,Un;function Ho(){if(Un)return He;Un=1;var r=Yt(),e=qr(),n;try{n=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var o=!!n&&e&&e(Object.prototype,"__proto__"),t=Object,f=t.getPrototypeOf;return He=o&&typeof o.get=="function"?r([o.get]):typeof f=="function"?function(a){return f(a==null?a:t(a))}:!1,He}var Ge,zn;function Xt(){if(zn)return Ge;zn=1;var r=Qa(),e=Za(),n=Ho();return Ge=r?function(t){return r(t)}:e?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return e(t)}:n?function(t){return n(t)}:null,Ge}var Ue,Vn;function Qt(){if(Vn)return Ue;Vn=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=_r();return Ue=n.call(r,e),Ue}var ze,Kn;function yr(){if(Kn)return ze;Kn=1;var r,e=zt(),n=Xa(),o=xo(),t=Eo(),f=Bo(),i=Ht(),a=nr(),u=jo(),c=To(),v=Mo(),p=Do(),y=Co(),h=Fo(),m=_o(),B=Wo(),q=Function,w=function(M){try{return q('"use strict"; return ('+M+").constructor;")()}catch{}},O=qr(),b=Vr(),T=function(){throw new a},X=O?(function(){try{return arguments.callee,T}catch{try{return O(arguments,"callee").get}catch{return T}}})():T,G=Vt()(),F=Xt(),C=Za(),P=Qa(),_=Jt(),L=Kt(),N={},H=typeof Uint8Array>"u"||!F?r:F(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":G&&F?F([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":q,"%GeneratorFunction%":N,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&F?F(F([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!F?r:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":t,"%ReferenceError%":f,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!F?r:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&F?F(""[Symbol.iterator]()):r,"%Symbol%":G?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":X,"%TypedArray%":H,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":_,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":C,"%Math.abs%":c,"%Math.floor%":v,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":m,"%Math.sign%":B,"%Reflect.getPrototypeOf%":P};if(F)try{null.error}catch(M){var fr=F(F(M));V["%Error.prototype%"]=fr}var Ir=function M(A){var I;if(A==="%AsyncFunction%")I=w("async function () {}");else if(A==="%GeneratorFunction%")I=w("function* () {}");else if(A==="%AsyncGeneratorFunction%")I=w("async function* () {}");else if(A==="%AsyncGenerator%"){var S=M("%AsyncGeneratorFunction%");S&&(I=S.prototype)}else if(A==="%AsyncIteratorPrototype%"){var x=M("%AsyncGenerator%");x&&F&&(I=F(x.prototype))}return V[A]=I,I},Sr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ar=_r(),U=Qt(),br=ar.call(L,Array.prototype.concat),$r=ar.call(_,Array.prototype.splice),Ar=ar.call(L,String.prototype.replace),vr=ar.call(L,String.prototype.slice),g=ar.call(L,RegExp.prototype.exec),d=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,$=function(A){var I=vr(A,0,1),S=vr(A,-1);if(I==="%"&&S!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(S==="%"&&I!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var x=[];return Ar(A,d,function(z,K,J,Y){x[x.length]=J?Ar(Y,R,"$1"):K||z}),x},j=function(A,I){var S=A,x;if(U(Sr,S)&&(x=Sr[S],S="%"+x[0]+"%"),U(V,S)){var z=V[S];if(z===N&&(z=Ir(S)),typeof z>"u"&&!I)throw new a("intrinsic "+A+" exists, but is not available. Please file an issue!");return{alias:x,name:S,value:z}}throw new i("intrinsic "+A+" does not exist!")};return ze=function(A,I){if(typeof A!="string"||A.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof I!="boolean")throw new a('"allowMissing" argument must be a boolean');if(g(/^%?[^%]*%?$/,A)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var S=$(A),x=S.length>0?S[0]:"",z=j("%"+x+"%",I),K=z.name,J=z.value,Y=!1,Z=z.alias;Z&&(x=Z[0],$r(S,br([0,1],Z)));for(var sr=1,or=!0;sr<S.length;sr+=1){var rr=S[sr],lr=vr(rr,0,1),cr=vr(rr,-1);if((lr==='"'||lr==="'"||lr==="`"||cr==='"'||cr==="'"||cr==="`")&&lr!==cr)throw new i("property names with quotes must have matching quotes");if((rr==="constructor"||!or)&&(Y=!0),x+="."+rr,K="%"+x+"%",U(V,K))J=V[K];else if(J!=null){if(!(rr in J)){if(!I)throw new a("base intrinsic for "+A+" exists, but the property is not available.");return}if(O&&sr+1>=S.length){var pr=O(J,rr);or=!!pr,or&&"get"in pr&&!("originalValue"in pr.get)?J=pr.get:J=J[rr]}else or=U(J,rr),J=J[rr];or&&!Y&&(V[K]=J)}}return J},ze}var Ve,Jn;function Go(){if(Jn)return Ve;Jn=1;var r=yr(),e=Gt(),n=Ut()(),o=qr(),t=nr(),f=r("%Math.floor%");return Ve=function(a,u){if(typeof a!="function")throw new t("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||f(u)!==u)throw new t("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],v=!0,p=!0;if("length"in a&&o){var y=o(a,"length");y&&!y.configurable&&(v=!1),y&&!y.writable&&(p=!1)}return(v||p||!c)&&(n?e(a,"length",u,!0,!0):e(a,"length",u)),a},Ve}var Ke,Yn;function Uo(){if(Yn)return Ke;Yn=1;var r=_r(),e=Jt(),n=ro();return Ke=function(){return n(r,e,arguments)},Ke}var Xn;function jr(){return Xn||(Xn=1,(function(r){var e=Go(),n=Vr(),o=Yt(),t=Uo();r.exports=function(i){var a=o(arguments),u=i.length-(arguments.length-1);return e(a,1+(u>0?u:0),!0)},n?n(r.exports,"apply",{value:t}):r.exports.apply=t})(de)),de.exports}var Je,Qn;function Q(){if(Qn)return Je;Qn=1;var r=yr(),e=Yt(),n=e([r("%String.prototype.indexOf%")]);return Je=function(t,f){var i=r(t,!!f);return typeof i=="function"&&n(t,".prototype.")>-1?e([i]):i},Je}var Ye,Zn;function eo(){if(Zn)return Ye;Zn=1;var r=Lt(),e=Kr()(),n=Q(),o=zt(),t=n("Array.prototype.push"),f=n("Object.prototype.propertyIsEnumerable"),i=e?o.getOwnPropertySymbols:null;return Ye=function(u,c){if(u==null)throw new TypeError("target must be an object");var v=o(u);if(arguments.length===1)return v;for(var p=1;p<arguments.length;++p){var y=o(arguments[p]),h=r(y),m=e&&(o.getOwnPropertySymbols||i);if(m)for(var B=m(y),q=0;q<B.length;++q){var w=B[q];f(y,w)&&t(h,w)}for(var O=0;O<h.length;++O){var b=h[O];if(f(y,b)){var T=y[b];v[b]=T}}}return v},Ye}var Xe,ra;function to(){if(ra)return Xe;ra=1;var r=eo(),e=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",t=o.split(""),f={},i=0;i<t.length;++i)f[t[i]]=t[i];var a=Object.assign({},f),u="";for(var c in a)u+=c;return o!==u},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return Xe=function(){return!Object.assign||e()||n()?r:Object.assign},Xe}var Qe,ea;function zo(){if(ea)return Qe;ea=1;var r=wr(),e=to();return Qe=function(){var o=e();return r(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},Qe}var Ze,ta;function Vo(){if(ta)return Ze;ta=1;var r=wr(),e=jr(),n=eo(),o=to(),t=zo(),f=e.apply(o()),i=function(u,c){return f(Object,arguments)};return r(i,{getPolyfill:o,implementation:n,shim:t}),Ze=i,Ze}var rt,na;function no(){if(na)return rt;na=1;var r=yr(),e=jr(),n=e(r("String.prototype.indexOf"));return rt=function(t,f){var i=r(t,!!f);return typeof i=="function"&&n(t,".prototype.")>-1?e(i):i},rt}var et,aa;function Ko(){if(aa)return et;aa=1;var r=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}r.functionsHaveConfigurableNames=function(){if(!r()||!e)return!1;var t=e(function(){},"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;return r.boundFunctionsHaveNames=function(){return r()&&typeof n=="function"&&(function(){}).bind().name!==""},et=r,et}var tt,oa;function Jo(){if(oa)return tt;oa=1;var r=Gt(),e=Ut()(),n=Ko().functionsHaveConfigurableNames(),o=nr();return tt=function(f,i){if(typeof f!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||n)&&(e?r(f,"name",i,!0,!0):r(f,"name",i)),f},tt}var nt,ia;function ao(){if(ia)return nt;ia=1;var r=Jo(),e=nr(),n=Object;return nt=r(function(){if(this==null||this!==n(this))throw new e("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),nt}var at,ua;function oo(){if(ua)return at;ua=1;var r=ao(),e=wr().supportsDescriptors,n=Object.getOwnPropertyDescriptor;return at=function(){if(e&&/a/mig.flags==="gim"){var t=n(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var f="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){f+="d"}}),Object.defineProperty(i,"sticky",{get:function(){f+="y"}}),t.get.call(i),f==="dy")return t.get}}return r},at}var ot,fa;function Yo(){if(fa)return ot;fa=1;var r=wr().supportsDescriptors,e=oo(),n=qr(),o=Object.defineProperty,t=Xa(),f=Xt(),i=/a/;return ot=function(){if(!r||!f)throw new t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var u=e(),c=f(i),v=n(c,"flags");return(!v||v.get!==u)&&o(c,"flags",{configurable:!0,enumerable:!1,get:u}),u},ot}var it,sa;function Xo(){if(sa)return it;sa=1;var r=wr(),e=jr(),n=ao(),o=oo(),t=Yo(),f=e(o());return r(f,{getPolyfill:o,implementation:n,shim:t}),it=f,it}var Cr={exports:{}},ut,la;function Pr(){if(la)return ut;la=1;var r=Kr();return ut=function(){return r()&&!!Symbol.toStringTag},ut}var ft,ca;function io(){if(ca)return ft;ca=1;var r=Pr()(),e=Q(),n=e("Object.prototype.toString"),o=function(a){return r&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:n(a)==="[object Arguments]"},t=function(a){return o(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&n(a)!=="[object Array]"&&"callee"in a&&n(a.callee)==="[object Function]"},f=(function(){return o(arguments)})();return o.isLegacyArguments=t,ft=f?o:t,ft}const Qo={},Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"})),ri=Br.getAugmentedNamespace(Zo);var st,pa;function Jr(){if(pa)return st;pa=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=r&&e&&typeof e.get=="function"?e.get:null,o=r&&Map.prototype.forEach,t=typeof Set=="function"&&Set.prototype,f=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=t&&f&&typeof f.get=="function"?f.get:null,a=t&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,c=u?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,p=v?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,h=y?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,B=Object.prototype.toString,q=Function.prototype.toString,w=String.prototype.match,O=String.prototype.slice,b=String.prototype.replace,T=String.prototype.toUpperCase,X=String.prototype.toLowerCase,G=RegExp.prototype.test,F=Array.prototype.concat,C=Array.prototype.join,P=Array.prototype.slice,_=Math.floor,L=typeof BigInt=="function"?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,Ir=Object.prototype.propertyIsEnumerable,Sr=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(s){return s.__proto__}:null);function ar(s,l){if(s===1/0||s===-1/0||s!==s||s&&s>-1e3&&s<1e3||G.call(/e/,l))return l;var D=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof s=="number"){var W=s<0?-_(-s):_(s);if(W!==s){var k=String(W),E=O.call(l,k.length+1);return b.call(k,D,"$&_")+"."+b.call(b.call(E,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(l,D,"$&_")}var U=ri,br=U.custom,$r=z(br)?br:null,Ar={__proto__:null,double:'"',single:"'"},vr={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};st=function s(l,D,W,k){var E=D||{};if(Y(E,"quoteStyle")&&!Y(Ar,E.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Y(E,"maxStringLength")&&(typeof E.maxStringLength=="number"?E.maxStringLength<0&&E.maxStringLength!==1/0:E.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var dr=Y(E,"customInspect")?E.customInspect:!0;if(typeof dr!="boolean"&&dr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Y(E,"indent")&&E.indent!==null&&E.indent!==" "&&!(parseInt(E.indent,10)===E.indent&&E.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Y(E,"numericSeparator")&&typeof E.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Or=E.numericSeparator;if(typeof l>"u")return"undefined";if(l===null)return"null";if(typeof l=="boolean")return l?"true":"false";if(typeof l=="string")return Rr(l,E);if(typeof l=="number"){if(l===0)return 1/0/l>0?"0":"-0";var tr=String(l);return Or?ar(l,tr):tr}if(typeof l=="bigint"){var mr=String(l)+"n";return Or?ar(l,mr):mr}var Qr=typeof E.depth>"u"?5:E.depth;if(typeof W>"u"&&(W=0),W>=Qr&&Qr>0&&typeof l=="object")return $(l)?"[Array]":"[Object]";var xr=bo(E,W);if(typeof k>"u")k=[];else if(or(k,l)>=0)return"[Circular]";function ir(Er,Lr,Oo){if(Lr&&(k=P.call(k),k.push(Lr)),Oo){var fn={depth:E.depth};return Y(E,"quoteStyle")&&(fn.quoteStyle=E.quoteStyle),s(Er,fn,W+1,k)}return s(Er,E,W+1,k)}if(typeof l=="function"&&!M(l)){var rn=sr(l),en=Wr(l,ir);return"[Function"+(rn?": "+rn:" (anonymous)")+"]"+(en.length>0?" { "+C.call(en,", ")+" }":"")}if(z(l)){var tn=V?b.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):H.call(l);return typeof l=="object"&&!V?hr(tn):tn}if(gr(l)){for(var Mr="<"+X.call(String(l.nodeName)),Zr=l.attributes||[],kr=0;kr<Zr.length;kr++)Mr+=" "+Zr[kr].name+"="+g(d(Zr[kr].value),"double",E);return Mr+=">",l.childNodes&&l.childNodes.length&&(Mr+="..."),Mr+="</"+X.call(String(l.nodeName))+">",Mr}if($(l)){if(l.length===0)return"[]";var re=Wr(l,ir);return xr&&!So(re)?"["+Xr(re,xr)+"]":"[ "+C.call(re,", ")+" ]"}if(A(l)){var ee=Wr(l,ir);return!("cause"in Error.prototype)&&"cause"in l&&!Ir.call(l,"cause")?"{ ["+String(l)+"] "+C.call(F.call("[cause]: "+ir(l.cause),ee),", ")+" }":ee.length===0?"["+String(l)+"]":"{ ["+String(l)+"] "+C.call(ee,", ")+" }"}if(typeof l=="object"&&dr){if($r&&typeof l[$r]=="function"&&U)return U(l,{depth:Qr-W});if(dr!=="symbol"&&typeof l.inspect=="function")return l.inspect()}if(rr(l)){var nn=[];return o&&o.call(l,function(Er,Lr){nn.push(ir(Lr,l,!0)+" => "+ir(Er,l))}),Zt("Map",n.call(l),nn,xr)}if(pr(l)){var an=[];return a&&a.call(l,function(Er){an.push(ir(Er,l))}),Zt("Set",i.call(l),an,xr)}if(lr(l))return Yr("WeakMap");if(Nr(l))return Yr("WeakSet");if(cr(l))return Yr("WeakRef");if(S(l))return hr(ir(Number(l)));if(K(l))return hr(ir(L.call(l)));if(x(l))return hr(m.call(l));if(I(l))return hr(ir(String(l)));if(typeof window<"u"&&l===window)return"{ [object Window] }";if(typeof globalThis<"u"&&l===globalThis||typeof Br.commonjsGlobal<"u"&&l===Br.commonjsGlobal)return"{ [object globalThis] }";if(!j(l)&&!M(l)){var te=Wr(l,ir),on=Sr?Sr(l)===Object.prototype:l instanceof Object||l.constructor===Object,ne=l instanceof Object?"":"null prototype",un=!on&&fr&&Object(l)===l&&fr in l?O.call(Z(l),8,-1):ne?"Object":"",Ao=on||typeof l.constructor!="function"?"":l.constructor.name?l.constructor.name+" ":"",ae=Ao+(un||ne?"["+C.call(F.call([],un||[],ne||[]),": ")+"] ":"");return te.length===0?ae+"{}":xr?ae+"{"+Xr(te,xr)+"}":ae+"{ "+C.call(te,", ")+" }"}return String(l)};function g(s,l,D){var W=D.quoteStyle||l,k=Ar[W];return k+s+k}function d(s){return b.call(String(s),/"/g,""")}function R(s){return!fr||!(typeof s=="object"&&(fr in s||typeof s[fr]<"u"))}function $(s){return Z(s)==="[object Array]"&&R(s)}function j(s){return Z(s)==="[object Date]"&&R(s)}function M(s){return Z(s)==="[object RegExp]"&&R(s)}function A(s){return Z(s)==="[object Error]"&&R(s)}function I(s){return Z(s)==="[object String]"&&R(s)}function S(s){return Z(s)==="[object Number]"&&R(s)}function x(s){return Z(s)==="[object Boolean]"&&R(s)}function z(s){if(V)return s&&typeof s=="object"&&s instanceof Symbol;if(typeof s=="symbol")return!0;if(!s||typeof s!="object"||!H)return!1;try{return H.call(s),!0}catch{}return!1}function K(s){if(!s||typeof s!="object"||!L)return!1;try{return L.call(s),!0}catch{}return!1}var J=Object.prototype.hasOwnProperty||function(s){return s in this};function Y(s,l){return J.call(s,l)}function Z(s){return B.call(s)}function sr(s){if(s.name)return s.name;var l=w.call(q.call(s),/^function\s*([\w$]+)/);return l?l[1]:null}function or(s,l){if(s.indexOf)return s.indexOf(l);for(var D=0,W=s.length;D<W;D++)if(s[D]===l)return D;return-1}function rr(s){if(!n||!s||typeof s!="object")return!1;try{n.call(s);try{i.call(s)}catch{return!0}return s instanceof Map}catch{}return!1}function lr(s){if(!c||!s||typeof s!="object")return!1;try{c.call(s,c);try{p.call(s,p)}catch{return!0}return s instanceof WeakMap}catch{}return!1}function cr(s){if(!h||!s||typeof s!="object")return!1;try{return h.call(s),!0}catch{}return!1}function pr(s){if(!i||!s||typeof s!="object")return!1;try{i.call(s);try{n.call(s)}catch{return!0}return s instanceof Set}catch{}return!1}function Nr(s){if(!p||!s||typeof s!="object")return!1;try{p.call(s,p);try{c.call(s,c)}catch{return!0}return s instanceof WeakSet}catch{}return!1}function gr(s){return!s||typeof s!="object"?!1:typeof HTMLElement<"u"&&s instanceof HTMLElement?!0:typeof s.nodeName=="string"&&typeof s.getAttribute=="function"}function Rr(s,l){if(s.length>l.maxStringLength){var D=s.length-l.maxStringLength,W="... "+D+" more character"+(D>1?"s":"");return Rr(O.call(s,0,l.maxStringLength),l)+W}var k=vr[l.quoteStyle||"single"];k.lastIndex=0;var E=b.call(b.call(s,k,"\\$1"),/[\x00-\x1f]/g,Tr);return g(E,"single",l)}function Tr(s){var l=s.charCodeAt(0),D={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return D?"\\"+D:"\\x"+(l<16?"0":"")+T.call(l.toString(16))}function hr(s){return"Object("+s+")"}function Yr(s){return s+" { ? }"}function Zt(s,l,D,W){var k=W?Xr(D,W):C.call(D,", ");return s+" ("+l+") {"+k+"}"}function So(s){for(var l=0;l<s.length;l++)if(or(s[l],`
|
|
1
|
+
"use strict";const Fr=require("./index-DLqogznp.cjs"),er=require("react/jsx-runtime"),ur=require("react"),Ja=require("katex"),qo=require("./toggle-Bo07J-M7.cjs");require("./index-CNzHZDls.cjs");const Dr=require("./dialog-DaHBd2zw.cjs"),wo=require("./textarea-CmZVZKOo.cjs"),oe=require("./useButtonProps-bei1vI37.cjs"),Br=require("./_commonjsHelpers-BTDuMlIz.cjs"),Po=require("./index-FSRjMsxW.cjs"),Io=require("./button-xNppt_aK.cjs");var ie,sn;function Ya(){if(sn)return ie;sn=1;var r=Object.prototype.toString;return ie=function(n){var o=r.call(n),t=o==="[object Arguments]";return t||(t=o!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&r.call(n.callee)==="[object Function]"),t},ie}var ue,ln;function $o(){if(ln)return ue;ln=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Ya(),t=Object.prototype.propertyIsEnumerable,f=!t.call({toString:null},"toString"),i=t.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(y){var h=y.constructor;return h&&h.prototype===y},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=(function(){if(typeof window>"u")return!1;for(var y in window)try{if(!c["$"+y]&&e.call(window,y)&&window[y]!==null&&typeof window[y]=="object")try{u(window[y])}catch{return!0}}catch{return!0}return!1})(),p=function(y){if(typeof window>"u"||!v)return u(y);try{return u(y)}catch{return!1}};r=function(h){var m=h!==null&&typeof h=="object",B=n.call(h)==="[object Function]",q=o(h),w=m&&n.call(h)==="[object String]",O=[];if(!m&&!B&&!q)throw new TypeError("Object.keys called on a non-object");var b=i&&B;if(w&&h.length>0&&!e.call(h,0))for(var T=0;T<h.length;++T)O.push(String(T));if(q&&h.length>0)for(var X=0;X<h.length;++X)O.push(String(X));else for(var G in h)!(b&&G==="prototype")&&e.call(h,G)&&O.push(String(G));if(f)for(var F=p(h),C=0;C<a.length;++C)!(F&&a[C]==="constructor")&&e.call(h,a[C])&&O.push(a[C]);return O}}return ue=r,ue}var fe,cn;function Lt(){if(cn)return fe;cn=1;var r=Array.prototype.slice,e=Ya(),n=Object.keys,o=n?function(i){return n(i)}:$o(),t=Object.keys;return o.shim=function(){if(Object.keys){var i=(function(){var a=Object.keys(arguments);return a&&a.length===arguments.length})(1,2);i||(Object.keys=function(u){return e(u)?t(r.call(u)):t(u)})}else Object.keys=o;return Object.keys||o},fe=o,fe}var se,pn;function Vr(){if(pn)return se;pn=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return se=r,se}var le,yn;function Ht(){return yn||(yn=1,le=SyntaxError),le}var ce,vn;function nr(){return vn||(vn=1,ce=TypeError),ce}var pe,gn;function Ro(){return gn||(gn=1,pe=Object.getOwnPropertyDescriptor),pe}var ye,hn;function qr(){if(hn)return ye;hn=1;var r=Ro();if(r)try{r([],"length")}catch{r=null}return ye=r,ye}var ve,dn;function Gt(){if(dn)return ve;dn=1;var r=Vr(),e=Ht(),n=nr(),o=qr();return ve=function(f,i,a){if(!f||typeof f!="object"&&typeof f!="function")throw new n("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,y=!!o&&o(f,i);if(r)r(f,i,{configurable:v===null&&y?y.configurable:!v,enumerable:u===null&&y?y.enumerable:!u,value:a,writable:c===null&&y?y.writable:!c});else if(p||!u&&!c&&!v)f[i]=a;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ve}var ge,mn;function Ut(){if(mn)return ge;mn=1;var r=Vr(),e=function(){return!!r};return e.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},ge=e,ge}var he,Sn;function wr(){if(Sn)return he;Sn=1;var r=Lt(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,o=Array.prototype.concat,t=Gt(),f=function(c){return typeof c=="function"&&n.call(c)==="[object Function]"},i=Ut()(),a=function(c,v,p,y){if(v in c){if(y===!0){if(c[v]===p)return}else if(!f(y)||!y())return}i?t(c,v,p,!0):t(c,v,p)},u=function(c,v){var p=arguments.length>2?arguments[2]:{},y=r(v);e&&(y=o.call(y,Object.getOwnPropertySymbols(v)));for(var h=0;h<y.length;h+=1)a(c,y[h],v[y[h]],p[y[h]])};return u.supportsDescriptors=!!i,he=u,he}var de={exports:{}},me,bn;function zt(){return bn||(bn=1,me=Object),me}var Se,An;function Xa(){return An||(An=1,Se=Error),Se}var be,On;function xo(){return On||(On=1,be=EvalError),be}var Ae,qn;function Eo(){return qn||(qn=1,Ae=RangeError),Ae}var Oe,wn;function Bo(){return wn||(wn=1,Oe=ReferenceError),Oe}var qe,Pn;function jo(){return Pn||(Pn=1,qe=URIError),qe}var we,In;function To(){return In||(In=1,we=Math.abs),we}var Pe,$n;function Mo(){return $n||($n=1,Pe=Math.floor),Pe}var Ie,Rn;function Do(){return Rn||(Rn=1,Ie=Math.max),Ie}var $e,xn;function Co(){return xn||(xn=1,$e=Math.min),$e}var Re,En;function Fo(){return En||(En=1,Re=Math.pow),Re}var xe,Bn;function _o(){return Bn||(Bn=1,xe=Math.round),xe}var Ee,jn;function No(){return jn||(jn=1,Ee=Number.isNaN||function(e){return e!==e}),Ee}var Be,Tn;function Wo(){if(Tn)return Be;Tn=1;var r=No();return Be=function(n){return r(n)||n===0?n:n<0?-1:1},Be}var je,Mn;function Kr(){return Mn||(Mn=1,je=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var t=42;e[n]=t;for(var f in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,n);if(a.value!==t||a.enumerable!==!0)return!1}return!0}),je}var Te,Dn;function Vt(){if(Dn)return Te;Dn=1;var r=typeof Symbol<"u"&&Symbol,e=Kr();return Te=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Te}var Me,Cn;function Qa(){return Cn||(Cn=1,Me=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Me}var De,Fn;function Za(){if(Fn)return De;Fn=1;var r=zt();return De=r.getPrototypeOf||null,De}var Ce,_n;function ko(){if(_n)return Ce;_n=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,o="[object Function]",t=function(u,c){for(var v=[],p=0;p<u.length;p+=1)v[p]=u[p];for(var y=0;y<c.length;y+=1)v[y+u.length]=c[y];return v},f=function(u,c){for(var v=[],p=c,y=0;p<u.length;p+=1,y+=1)v[y]=u[p];return v},i=function(a,u){for(var c="",v=0;v<a.length;v+=1)c+=a[v],v+1<a.length&&(c+=u);return c};return Ce=function(u){var c=this;if(typeof c!="function"||e.apply(c)!==o)throw new TypeError(r+c);for(var v=f(arguments,1),p,y=function(){if(this instanceof p){var w=c.apply(this,t(v,arguments));return Object(w)===w?w:this}return c.apply(u,t(v,arguments))},h=n(0,c.length-v.length),m=[],B=0;B<h;B++)m[B]="$"+B;if(p=Function("binder","return function ("+i(m,",")+"){ return binder.apply(this,arguments); }")(y),c.prototype){var q=function(){};q.prototype=c.prototype,p.prototype=new q,q.prototype=null}return p},Ce}var Fe,Nn;function _r(){if(Nn)return Fe;Nn=1;var r=ko();return Fe=Function.prototype.bind||r,Fe}var _e,Wn;function Kt(){return Wn||(Wn=1,_e=Function.prototype.call),_e}var Ne,kn;function Jt(){return kn||(kn=1,Ne=Function.prototype.apply),Ne}var We,Ln;function Lo(){return Ln||(Ln=1,We=typeof Reflect<"u"&&Reflect&&Reflect.apply),We}var ke,Hn;function ro(){if(Hn)return ke;Hn=1;var r=_r(),e=Jt(),n=Kt(),o=Lo();return ke=o||r.call(n,e),ke}var Le,Gn;function Yt(){if(Gn)return Le;Gn=1;var r=_r(),e=nr(),n=Kt(),o=ro();return Le=function(f){if(f.length<1||typeof f[0]!="function")throw new e("a function is required");return o(r,n,f)},Le}var He,Un;function Ho(){if(Un)return He;Un=1;var r=Yt(),e=qr(),n;try{n=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var o=!!n&&e&&e(Object.prototype,"__proto__"),t=Object,f=t.getPrototypeOf;return He=o&&typeof o.get=="function"?r([o.get]):typeof f=="function"?function(a){return f(a==null?a:t(a))}:!1,He}var Ge,zn;function Xt(){if(zn)return Ge;zn=1;var r=Qa(),e=Za(),n=Ho();return Ge=r?function(t){return r(t)}:e?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return e(t)}:n?function(t){return n(t)}:null,Ge}var Ue,Vn;function Qt(){if(Vn)return Ue;Vn=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=_r();return Ue=n.call(r,e),Ue}var ze,Kn;function yr(){if(Kn)return ze;Kn=1;var r,e=zt(),n=Xa(),o=xo(),t=Eo(),f=Bo(),i=Ht(),a=nr(),u=jo(),c=To(),v=Mo(),p=Do(),y=Co(),h=Fo(),m=_o(),B=Wo(),q=Function,w=function(M){try{return q('"use strict"; return ('+M+").constructor;")()}catch{}},O=qr(),b=Vr(),T=function(){throw new a},X=O?(function(){try{return arguments.callee,T}catch{try{return O(arguments,"callee").get}catch{return T}}})():T,G=Vt()(),F=Xt(),C=Za(),P=Qa(),_=Jt(),L=Kt(),N={},H=typeof Uint8Array>"u"||!F?r:F(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":G&&F?F([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":q,"%GeneratorFunction%":N,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&F?F(F([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!F?r:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":t,"%ReferenceError%":f,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!F?r:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&F?F(""[Symbol.iterator]()):r,"%Symbol%":G?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":X,"%TypedArray%":H,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":_,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":C,"%Math.abs%":c,"%Math.floor%":v,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":m,"%Math.sign%":B,"%Reflect.getPrototypeOf%":P};if(F)try{null.error}catch(M){var fr=F(F(M));V["%Error.prototype%"]=fr}var Ir=function M(A){var I;if(A==="%AsyncFunction%")I=w("async function () {}");else if(A==="%GeneratorFunction%")I=w("function* () {}");else if(A==="%AsyncGeneratorFunction%")I=w("async function* () {}");else if(A==="%AsyncGenerator%"){var S=M("%AsyncGeneratorFunction%");S&&(I=S.prototype)}else if(A==="%AsyncIteratorPrototype%"){var x=M("%AsyncGenerator%");x&&F&&(I=F(x.prototype))}return V[A]=I,I},Sr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ar=_r(),U=Qt(),br=ar.call(L,Array.prototype.concat),$r=ar.call(_,Array.prototype.splice),Ar=ar.call(L,String.prototype.replace),vr=ar.call(L,String.prototype.slice),g=ar.call(L,RegExp.prototype.exec),d=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,$=function(A){var I=vr(A,0,1),S=vr(A,-1);if(I==="%"&&S!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(S==="%"&&I!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var x=[];return Ar(A,d,function(z,K,J,Y){x[x.length]=J?Ar(Y,R,"$1"):K||z}),x},j=function(A,I){var S=A,x;if(U(Sr,S)&&(x=Sr[S],S="%"+x[0]+"%"),U(V,S)){var z=V[S];if(z===N&&(z=Ir(S)),typeof z>"u"&&!I)throw new a("intrinsic "+A+" exists, but is not available. Please file an issue!");return{alias:x,name:S,value:z}}throw new i("intrinsic "+A+" does not exist!")};return ze=function(A,I){if(typeof A!="string"||A.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof I!="boolean")throw new a('"allowMissing" argument must be a boolean');if(g(/^%?[^%]*%?$/,A)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var S=$(A),x=S.length>0?S[0]:"",z=j("%"+x+"%",I),K=z.name,J=z.value,Y=!1,Z=z.alias;Z&&(x=Z[0],$r(S,br([0,1],Z)));for(var sr=1,or=!0;sr<S.length;sr+=1){var rr=S[sr],lr=vr(rr,0,1),cr=vr(rr,-1);if((lr==='"'||lr==="'"||lr==="`"||cr==='"'||cr==="'"||cr==="`")&&lr!==cr)throw new i("property names with quotes must have matching quotes");if((rr==="constructor"||!or)&&(Y=!0),x+="."+rr,K="%"+x+"%",U(V,K))J=V[K];else if(J!=null){if(!(rr in J)){if(!I)throw new a("base intrinsic for "+A+" exists, but the property is not available.");return}if(O&&sr+1>=S.length){var pr=O(J,rr);or=!!pr,or&&"get"in pr&&!("originalValue"in pr.get)?J=pr.get:J=J[rr]}else or=U(J,rr),J=J[rr];or&&!Y&&(V[K]=J)}}return J},ze}var Ve,Jn;function Go(){if(Jn)return Ve;Jn=1;var r=yr(),e=Gt(),n=Ut()(),o=qr(),t=nr(),f=r("%Math.floor%");return Ve=function(a,u){if(typeof a!="function")throw new t("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||f(u)!==u)throw new t("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],v=!0,p=!0;if("length"in a&&o){var y=o(a,"length");y&&!y.configurable&&(v=!1),y&&!y.writable&&(p=!1)}return(v||p||!c)&&(n?e(a,"length",u,!0,!0):e(a,"length",u)),a},Ve}var Ke,Yn;function Uo(){if(Yn)return Ke;Yn=1;var r=_r(),e=Jt(),n=ro();return Ke=function(){return n(r,e,arguments)},Ke}var Xn;function jr(){return Xn||(Xn=1,(function(r){var e=Go(),n=Vr(),o=Yt(),t=Uo();r.exports=function(i){var a=o(arguments),u=i.length-(arguments.length-1);return e(a,1+(u>0?u:0),!0)},n?n(r.exports,"apply",{value:t}):r.exports.apply=t})(de)),de.exports}var Je,Qn;function Q(){if(Qn)return Je;Qn=1;var r=yr(),e=Yt(),n=e([r("%String.prototype.indexOf%")]);return Je=function(t,f){var i=r(t,!!f);return typeof i=="function"&&n(t,".prototype.")>-1?e([i]):i},Je}var Ye,Zn;function eo(){if(Zn)return Ye;Zn=1;var r=Lt(),e=Kr()(),n=Q(),o=zt(),t=n("Array.prototype.push"),f=n("Object.prototype.propertyIsEnumerable"),i=e?o.getOwnPropertySymbols:null;return Ye=function(u,c){if(u==null)throw new TypeError("target must be an object");var v=o(u);if(arguments.length===1)return v;for(var p=1;p<arguments.length;++p){var y=o(arguments[p]),h=r(y),m=e&&(o.getOwnPropertySymbols||i);if(m)for(var B=m(y),q=0;q<B.length;++q){var w=B[q];f(y,w)&&t(h,w)}for(var O=0;O<h.length;++O){var b=h[O];if(f(y,b)){var T=y[b];v[b]=T}}}return v},Ye}var Xe,ra;function to(){if(ra)return Xe;ra=1;var r=eo(),e=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",t=o.split(""),f={},i=0;i<t.length;++i)f[t[i]]=t[i];var a=Object.assign({},f),u="";for(var c in a)u+=c;return o!==u},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return Xe=function(){return!Object.assign||e()||n()?r:Object.assign},Xe}var Qe,ea;function zo(){if(ea)return Qe;ea=1;var r=wr(),e=to();return Qe=function(){var o=e();return r(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},Qe}var Ze,ta;function Vo(){if(ta)return Ze;ta=1;var r=wr(),e=jr(),n=eo(),o=to(),t=zo(),f=e.apply(o()),i=function(u,c){return f(Object,arguments)};return r(i,{getPolyfill:o,implementation:n,shim:t}),Ze=i,Ze}var rt,na;function no(){if(na)return rt;na=1;var r=yr(),e=jr(),n=e(r("String.prototype.indexOf"));return rt=function(t,f){var i=r(t,!!f);return typeof i=="function"&&n(t,".prototype.")>-1?e(i):i},rt}var et,aa;function Ko(){if(aa)return et;aa=1;var r=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}r.functionsHaveConfigurableNames=function(){if(!r()||!e)return!1;var t=e(function(){},"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;return r.boundFunctionsHaveNames=function(){return r()&&typeof n=="function"&&(function(){}).bind().name!==""},et=r,et}var tt,oa;function Jo(){if(oa)return tt;oa=1;var r=Gt(),e=Ut()(),n=Ko().functionsHaveConfigurableNames(),o=nr();return tt=function(f,i){if(typeof f!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||n)&&(e?r(f,"name",i,!0,!0):r(f,"name",i)),f},tt}var nt,ia;function ao(){if(ia)return nt;ia=1;var r=Jo(),e=nr(),n=Object;return nt=r(function(){if(this==null||this!==n(this))throw new e("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),nt}var at,ua;function oo(){if(ua)return at;ua=1;var r=ao(),e=wr().supportsDescriptors,n=Object.getOwnPropertyDescriptor;return at=function(){if(e&&/a/mig.flags==="gim"){var t=n(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var f="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){f+="d"}}),Object.defineProperty(i,"sticky",{get:function(){f+="y"}}),t.get.call(i),f==="dy")return t.get}}return r},at}var ot,fa;function Yo(){if(fa)return ot;fa=1;var r=wr().supportsDescriptors,e=oo(),n=qr(),o=Object.defineProperty,t=Xa(),f=Xt(),i=/a/;return ot=function(){if(!r||!f)throw new t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var u=e(),c=f(i),v=n(c,"flags");return(!v||v.get!==u)&&o(c,"flags",{configurable:!0,enumerable:!1,get:u}),u},ot}var it,sa;function Xo(){if(sa)return it;sa=1;var r=wr(),e=jr(),n=ao(),o=oo(),t=Yo(),f=e(o());return r(f,{getPolyfill:o,implementation:n,shim:t}),it=f,it}var Cr={exports:{}},ut,la;function Pr(){if(la)return ut;la=1;var r=Kr();return ut=function(){return r()&&!!Symbol.toStringTag},ut}var ft,ca;function io(){if(ca)return ft;ca=1;var r=Pr()(),e=Q(),n=e("Object.prototype.toString"),o=function(a){return r&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:n(a)==="[object Arguments]"},t=function(a){return o(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&n(a)!=="[object Array]"&&"callee"in a&&n(a.callee)==="[object Function]"},f=(function(){return o(arguments)})();return o.isLegacyArguments=t,ft=f?o:t,ft}const Qo={},Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"})),ri=Br.getAugmentedNamespace(Zo);var st,pa;function Jr(){if(pa)return st;pa=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=r&&e&&typeof e.get=="function"?e.get:null,o=r&&Map.prototype.forEach,t=typeof Set=="function"&&Set.prototype,f=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=t&&f&&typeof f.get=="function"?f.get:null,a=t&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,c=u?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,p=v?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,h=y?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,B=Object.prototype.toString,q=Function.prototype.toString,w=String.prototype.match,O=String.prototype.slice,b=String.prototype.replace,T=String.prototype.toUpperCase,X=String.prototype.toLowerCase,G=RegExp.prototype.test,F=Array.prototype.concat,C=Array.prototype.join,P=Array.prototype.slice,_=Math.floor,L=typeof BigInt=="function"?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,Ir=Object.prototype.propertyIsEnumerable,Sr=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(s){return s.__proto__}:null);function ar(s,l){if(s===1/0||s===-1/0||s!==s||s&&s>-1e3&&s<1e3||G.call(/e/,l))return l;var D=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof s=="number"){var W=s<0?-_(-s):_(s);if(W!==s){var k=String(W),E=O.call(l,k.length+1);return b.call(k,D,"$&_")+"."+b.call(b.call(E,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(l,D,"$&_")}var U=ri,br=U.custom,$r=z(br)?br:null,Ar={__proto__:null,double:'"',single:"'"},vr={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};st=function s(l,D,W,k){var E=D||{};if(Y(E,"quoteStyle")&&!Y(Ar,E.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Y(E,"maxStringLength")&&(typeof E.maxStringLength=="number"?E.maxStringLength<0&&E.maxStringLength!==1/0:E.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var dr=Y(E,"customInspect")?E.customInspect:!0;if(typeof dr!="boolean"&&dr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Y(E,"indent")&&E.indent!==null&&E.indent!==" "&&!(parseInt(E.indent,10)===E.indent&&E.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Y(E,"numericSeparator")&&typeof E.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Or=E.numericSeparator;if(typeof l>"u")return"undefined";if(l===null)return"null";if(typeof l=="boolean")return l?"true":"false";if(typeof l=="string")return Rr(l,E);if(typeof l=="number"){if(l===0)return 1/0/l>0?"0":"-0";var tr=String(l);return Or?ar(l,tr):tr}if(typeof l=="bigint"){var mr=String(l)+"n";return Or?ar(l,mr):mr}var Qr=typeof E.depth>"u"?5:E.depth;if(typeof W>"u"&&(W=0),W>=Qr&&Qr>0&&typeof l=="object")return $(l)?"[Array]":"[Object]";var xr=bo(E,W);if(typeof k>"u")k=[];else if(or(k,l)>=0)return"[Circular]";function ir(Er,Lr,Oo){if(Lr&&(k=P.call(k),k.push(Lr)),Oo){var fn={depth:E.depth};return Y(E,"quoteStyle")&&(fn.quoteStyle=E.quoteStyle),s(Er,fn,W+1,k)}return s(Er,E,W+1,k)}if(typeof l=="function"&&!M(l)){var rn=sr(l),en=Wr(l,ir);return"[Function"+(rn?": "+rn:" (anonymous)")+"]"+(en.length>0?" { "+C.call(en,", ")+" }":"")}if(z(l)){var tn=V?b.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):H.call(l);return typeof l=="object"&&!V?hr(tn):tn}if(gr(l)){for(var Mr="<"+X.call(String(l.nodeName)),Zr=l.attributes||[],kr=0;kr<Zr.length;kr++)Mr+=" "+Zr[kr].name+"="+g(d(Zr[kr].value),"double",E);return Mr+=">",l.childNodes&&l.childNodes.length&&(Mr+="..."),Mr+="</"+X.call(String(l.nodeName))+">",Mr}if($(l)){if(l.length===0)return"[]";var re=Wr(l,ir);return xr&&!So(re)?"["+Xr(re,xr)+"]":"[ "+C.call(re,", ")+" ]"}if(A(l)){var ee=Wr(l,ir);return!("cause"in Error.prototype)&&"cause"in l&&!Ir.call(l,"cause")?"{ ["+String(l)+"] "+C.call(F.call("[cause]: "+ir(l.cause),ee),", ")+" }":ee.length===0?"["+String(l)+"]":"{ ["+String(l)+"] "+C.call(ee,", ")+" }"}if(typeof l=="object"&&dr){if($r&&typeof l[$r]=="function"&&U)return U(l,{depth:Qr-W});if(dr!=="symbol"&&typeof l.inspect=="function")return l.inspect()}if(rr(l)){var nn=[];return o&&o.call(l,function(Er,Lr){nn.push(ir(Lr,l,!0)+" => "+ir(Er,l))}),Zt("Map",n.call(l),nn,xr)}if(pr(l)){var an=[];return a&&a.call(l,function(Er){an.push(ir(Er,l))}),Zt("Set",i.call(l),an,xr)}if(lr(l))return Yr("WeakMap");if(Nr(l))return Yr("WeakSet");if(cr(l))return Yr("WeakRef");if(S(l))return hr(ir(Number(l)));if(K(l))return hr(ir(L.call(l)));if(x(l))return hr(m.call(l));if(I(l))return hr(ir(String(l)));if(typeof window<"u"&&l===window)return"{ [object Window] }";if(typeof globalThis<"u"&&l===globalThis||typeof Br.commonjsGlobal<"u"&&l===Br.commonjsGlobal)return"{ [object globalThis] }";if(!j(l)&&!M(l)){var te=Wr(l,ir),on=Sr?Sr(l)===Object.prototype:l instanceof Object||l.constructor===Object,ne=l instanceof Object?"":"null prototype",un=!on&&fr&&Object(l)===l&&fr in l?O.call(Z(l),8,-1):ne?"Object":"",Ao=on||typeof l.constructor!="function"?"":l.constructor.name?l.constructor.name+" ":"",ae=Ao+(un||ne?"["+C.call(F.call([],un||[],ne||[]),": ")+"] ":"");return te.length===0?ae+"{}":xr?ae+"{"+Xr(te,xr)+"}":ae+"{ "+C.call(te,", ")+" }"}return String(l)};function g(s,l,D){var W=D.quoteStyle||l,k=Ar[W];return k+s+k}function d(s){return b.call(String(s),/"/g,""")}function R(s){return!fr||!(typeof s=="object"&&(fr in s||typeof s[fr]<"u"))}function $(s){return Z(s)==="[object Array]"&&R(s)}function j(s){return Z(s)==="[object Date]"&&R(s)}function M(s){return Z(s)==="[object RegExp]"&&R(s)}function A(s){return Z(s)==="[object Error]"&&R(s)}function I(s){return Z(s)==="[object String]"&&R(s)}function S(s){return Z(s)==="[object Number]"&&R(s)}function x(s){return Z(s)==="[object Boolean]"&&R(s)}function z(s){if(V)return s&&typeof s=="object"&&s instanceof Symbol;if(typeof s=="symbol")return!0;if(!s||typeof s!="object"||!H)return!1;try{return H.call(s),!0}catch{}return!1}function K(s){if(!s||typeof s!="object"||!L)return!1;try{return L.call(s),!0}catch{}return!1}var J=Object.prototype.hasOwnProperty||function(s){return s in this};function Y(s,l){return J.call(s,l)}function Z(s){return B.call(s)}function sr(s){if(s.name)return s.name;var l=w.call(q.call(s),/^function\s*([\w$]+)/);return l?l[1]:null}function or(s,l){if(s.indexOf)return s.indexOf(l);for(var D=0,W=s.length;D<W;D++)if(s[D]===l)return D;return-1}function rr(s){if(!n||!s||typeof s!="object")return!1;try{n.call(s);try{i.call(s)}catch{return!0}return s instanceof Map}catch{}return!1}function lr(s){if(!c||!s||typeof s!="object")return!1;try{c.call(s,c);try{p.call(s,p)}catch{return!0}return s instanceof WeakMap}catch{}return!1}function cr(s){if(!h||!s||typeof s!="object")return!1;try{return h.call(s),!0}catch{}return!1}function pr(s){if(!i||!s||typeof s!="object")return!1;try{i.call(s);try{n.call(s)}catch{return!0}return s instanceof Set}catch{}return!1}function Nr(s){if(!p||!s||typeof s!="object")return!1;try{p.call(s,p);try{c.call(s,c)}catch{return!0}return s instanceof WeakSet}catch{}return!1}function gr(s){return!s||typeof s!="object"?!1:typeof HTMLElement<"u"&&s instanceof HTMLElement?!0:typeof s.nodeName=="string"&&typeof s.getAttribute=="function"}function Rr(s,l){if(s.length>l.maxStringLength){var D=s.length-l.maxStringLength,W="... "+D+" more character"+(D>1?"s":"");return Rr(O.call(s,0,l.maxStringLength),l)+W}var k=vr[l.quoteStyle||"single"];k.lastIndex=0;var E=b.call(b.call(s,k,"\\$1"),/[\x00-\x1f]/g,Tr);return g(E,"single",l)}function Tr(s){var l=s.charCodeAt(0),D={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return D?"\\"+D:"\\x"+(l<16?"0":"")+T.call(l.toString(16))}function hr(s){return"Object("+s+")"}function Yr(s){return s+" { ? }"}function Zt(s,l,D,W){var k=W?Xr(D,W):C.call(D,", ");return s+" ("+l+") {"+k+"}"}function So(s){for(var l=0;l<s.length;l++)if(or(s[l],`
|
|
2
2
|
`)>=0)return!1;return!0}function bo(s,l){var D;if(s.indent===" ")D=" ";else if(typeof s.indent=="number"&&s.indent>0)D=C.call(Array(s.indent+1)," ");else return null;return{base:D,prev:C.call(Array(l+1),D)}}function Xr(s,l){if(s.length===0)return"";var D=`
|
|
3
3
|
`+l.prev+l.base;return D+C.call(s,","+D)+`
|
|
4
4
|
`+l.prev}function Wr(s,l){var D=$(s),W=[];if(D){W.length=s.length;for(var k=0;k<s.length;k++)W[k]=Y(s,k)?l(s[k],s):""}var E=typeof N=="function"?N(s):[],dr;if(V){dr={};for(var Or=0;Or<E.length;Or++)dr["$"+E[Or]]=E[Or]}for(var tr in s)Y(s,tr)&&(D&&String(Number(tr))===tr&&tr<s.length||V&&dr["$"+tr]instanceof Symbol||(G.call(/[^\w$]/,tr)?W.push(l(tr,s)+": "+l(s[tr],s)):W.push(tr+": "+l(s[tr],s))));if(typeof N=="function")for(var mr=0;mr<E.length;mr++)Ir.call(s,E[mr])&&W.push("["+l(E[mr])+"]: "+l(s[E[mr]],s));return W}return st}var lt,ya;function ei(){if(ya)return lt;ya=1;var r=Jr(),e=nr(),n=function(a,u,c){for(var v=a,p;(p=v.next)!=null;v=p)if(p.key===u)return v.next=p.next,c||(p.next=a.next,a.next=p),p},o=function(a,u){if(a){var c=n(a,u);return c&&c.value}},t=function(a,u,c){var v=n(a,u);v?v.value=c:a.next={key:u,next:a.next,value:c}},f=function(a,u){return a?!!n(a,u):!1},i=function(a,u){if(a)return n(a,u,!0)};return lt=function(){var u,c={assert:function(v){if(!c.has(v))throw new e("Side channel does not contain "+r(v))},delete:function(v){var p=u&&u.next,y=i(u,v);return y&&p&&p===y&&(u=void 0),!!y},get:function(v){return o(u,v)},has:function(v){return f(u,v)},set:function(v,p){u||(u={next:void 0}),t(u,v,p)}};return c},lt}var ct,va;function uo(){if(va)return ct;va=1;var r=yr(),e=Q(),n=Jr(),o=nr(),t=r("%Map%",!0),f=e("Map.prototype.get",!0),i=e("Map.prototype.set",!0),a=e("Map.prototype.has",!0),u=e("Map.prototype.delete",!0),c=e("Map.prototype.size",!0);return ct=!!t&&function(){var p,y={assert:function(h){if(!y.has(h))throw new o("Side channel does not contain "+n(h))},delete:function(h){if(p){var m=u(p,h);return c(p)===0&&(p=void 0),m}return!1},get:function(h){if(p)return f(p,h)},has:function(h){return p?a(p,h):!1},set:function(h,m){p||(p=new t),i(p,h,m)}};return y},ct}var pt,ga;function ti(){if(ga)return pt;ga=1;var r=yr(),e=Q(),n=Jr(),o=uo(),t=nr(),f=r("%WeakMap%",!0),i=e("WeakMap.prototype.get",!0),a=e("WeakMap.prototype.set",!0),u=e("WeakMap.prototype.has",!0),c=e("WeakMap.prototype.delete",!0);return pt=f?function(){var p,y,h={assert:function(m){if(!h.has(m))throw new t("Side channel does not contain "+n(m))},delete:function(m){if(f&&m&&(typeof m=="object"||typeof m=="function")){if(p)return c(p,m)}else if(o&&y)return y.delete(m);return!1},get:function(m){return f&&m&&(typeof m=="object"||typeof m=="function")&&p?i(p,m):y&&y.get(m)},has:function(m){return f&&m&&(typeof m=="object"||typeof m=="function")&&p?u(p,m):!!y&&y.has(m)},set:function(m,B){f&&m&&(typeof m=="object"||typeof m=="function")?(p||(p=new f),a(p,m,B)):o&&(y||(y=o()),y.set(m,B))}};return h}:o,pt}var yt,ha;function fo(){if(ha)return yt;ha=1;var r=nr(),e=Jr(),n=ei(),o=uo(),t=ti(),f=t||o||n;return yt=function(){var a,u={assert:function(c){if(!u.has(c))throw new r("Side channel does not contain "+e(c))},delete:function(c){return!!a&&a.delete(c)},get:function(c){return a&&a.get(c)},has:function(c){return!!a&&a.has(c)},set:function(c,v){a||(a=f()),a.set(c,v)}};return u},yt}var vt,da;function ni(){if(da)return vt;da=1;var r=Qt(),e=fo()(),n=nr(),o={assert:function(t,f){if(!t||typeof t!="object"&&typeof t!="function")throw new n("`O` is not an object");if(typeof f!="string")throw new n("`slot` must be a string");if(e.assert(t),!o.has(t,f))throw new n("`"+f+"` is not present on `O`")},get:function(t,f){if(!t||typeof t!="object"&&typeof t!="function")throw new n("`O` is not an object");if(typeof f!="string")throw new n("`slot` must be a string");var i=e.get(t);return i&&i["$"+f]},has:function(t,f){if(!t||typeof t!="object"&&typeof t!="function")throw new n("`O` is not an object");if(typeof f!="string")throw new n("`slot` must be a string");var i=e.get(t);return!!i&&r(i,"$"+f)},set:function(t,f,i){if(!t||typeof t!="object"&&typeof t!="function")throw new n("`O` is not an object");if(typeof f!="string")throw new n("`slot` must be a string");var a=e.get(t);a||(a={},e.set(t,a)),a["$"+f]=i}};return Object.freeze&&Object.freeze(o),vt=o,vt}var gt,ma;function ai(){if(ma)return gt;ma=1;var r=ni(),e=Ht(),n=typeof StopIteration=="object"?StopIteration:null;return gt=function(t){if(!n)throw new e("this environment lacks StopIteration");r.set(t,"[[Done]]",!1);var f={next:function(){var a=r.get(this,"[[Iterator]]"),u=!!r.get(a,"[[Done]]");try{return{done:u,value:u?void 0:a.next()}}catch(c){if(r.set(a,"[[Done]]",!0),c!==n)throw c;return{done:!0,value:void 0}}}};return r.set(f,"[[Iterator]]",t),f},gt}var ht,Sa;function so(){if(Sa)return ht;Sa=1;var r={}.toString;return ht=Array.isArray||function(e){return r.call(e)=="[object Array]"},ht}var dt,ba;function lo(){if(ba)return dt;ba=1;var r=Q(),e=r("String.prototype.valueOf"),n=function(a){try{return e(a),!0}catch{return!1}},o=r("Object.prototype.toString"),t="[object String]",f=Pr()();return dt=function(a){return typeof a=="string"?!0:!a||typeof a!="object"?!1:f?n(a):o(a)===t},dt}var mt,Aa;function co(){if(Aa)return mt;Aa=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;r||(n=function(i){return!1});var o=r?Map.prototype.has:null,t=e?Set.prototype.has:null;return!n&&!o&&(n=function(i){return!1}),mt=n||function(i){if(!i||typeof i!="object")return!1;try{if(o.call(i),t)try{t.call(i)}catch{return!0}return i instanceof r}catch{}return!1},mt}var St,Oa;function po(){if(Oa)return St;Oa=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;e||(n=function(i){return!1});var o=r?Map.prototype.has:null,t=e?Set.prototype.has:null;return!n&&!t&&(n=function(i){return!1}),St=n||function(i){if(!i||typeof i!="object")return!1;try{if(t.call(i),o)try{o.call(i)}catch{return!0}return i instanceof e}catch{}return!1},St}var qa;function oi(){if(qa)return Cr.exports;qa=1;var r=io(),e=ai();if(Vt()()||Kr()()){var n=Symbol.iterator;Cr.exports=function(P){if(P!=null&&typeof P[n]<"u")return P[n]();if(r(P))return Array.prototype[n].call(P)}}else{var o=so(),t=lo(),f=yr(),i=f("%Map%",!0),a=f("%Set%",!0),u=no(),c=u("Array.prototype.push"),v=u("String.prototype.charCodeAt"),p=u("String.prototype.slice"),y=function(P,_){var L=P.length;if(_+1>=L)return _+1;var N=v(P,_);if(N<55296||N>56319)return _+1;var H=v(P,_+1);return H<56320||H>57343?_+1:_+2},h=function(P){var _=0;return{next:function(){var N=_>=P.length,H;return N||(H=P[_],_+=1),{done:N,value:H}}}},m=function(P,_){if(o(P)||r(P))return h(P);if(t(P)){var L=0;return{next:function(){var H=y(P,L),V=p(P,L,H);return L=H,{done:H>P.length,value:V}}}}if(_&&typeof P["_es6-shim iterator_"]<"u")return P["_es6-shim iterator_"]()};if(!i&&!a)Cr.exports=function(P){if(P!=null)return m(P,!0)};else{var B=co(),q=po(),w=u("Map.prototype.forEach",!0),O=u("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var b=u("Map.prototype.iterator",!0),T=u("Set.prototype.iterator",!0);var X=u("Map.prototype.@@iterator",!0)||u("Map.prototype._es6-shim iterator_",!0),G=u("Set.prototype.@@iterator",!0)||u("Set.prototype._es6-shim iterator_",!0),F=function(P){if(B(P)){if(b)return e(b(P));if(X)return X(P);if(w){var _=[];return w(P,function(N,H){c(_,[H,N])}),h(_)}}if(q(P)){if(T)return e(T(P));if(G)return G(P);if(O){var L=[];return O(P,function(N){c(L,N)}),h(L)}}};Cr.exports=function(P){return F(P)||m(P)}}}return Cr.exports}var bt,wa;function yo(){if(wa)return bt;wa=1;var r=function(e){return e!==e};return bt=function(n,o){return n===0&&o===0?1/n===1/o:!!(n===o||r(n)&&r(o))},bt}var At,Pa;function vo(){if(Pa)return At;Pa=1;var r=yo();return At=function(){return typeof Object.is=="function"?Object.is:r},At}var Ot,Ia;function ii(){if(Ia)return Ot;Ia=1;var r=vo(),e=wr();return Ot=function(){var o=r();return e(Object,{is:o},{is:function(){return Object.is!==o}}),o},Ot}var qt,$a;function ui(){if($a)return qt;$a=1;var r=wr(),e=jr(),n=yo(),o=vo(),t=ii(),f=e(o(),Object);return r(f,{getPolyfill:o,implementation:n,shim:t}),qt=f,qt}var wt,Ra;function go(){if(Ra)return wt;Ra=1;var r=jr(),e=Q(),n=yr(),o=n("%ArrayBuffer%",!0),t=e("ArrayBuffer.prototype.byteLength",!0),f=e("Object.prototype.toString"),i=!!o&&!t&&new o(0).slice,a=!!i&&r(i);return wt=t||a?function(c){if(!c||typeof c!="object")return!1;try{return t?t(c):a(c,0),!0}catch{return!1}}:o?function(c){return f(c)==="[object ArrayBuffer]"}:function(c){return!1},wt}var Pt,xa;function fi(){if(xa)return Pt;xa=1;var r=Q(),e=r("Date.prototype.getDay"),n=function(a){try{return e(a),!0}catch{return!1}},o=r("Object.prototype.toString"),t="[object Date]",f=Pr()();return Pt=function(a){return typeof a!="object"||a===null?!1:f?n(a):o(a)===t},Pt}var It,Ea;function ho(){if(Ea)return It;Ea=1;var r=Q(),e=Pr()(),n=Qt(),o=qr(),t;if(e){var f=r("RegExp.prototype.exec"),i={},a=function(){throw i},u={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=a),t=function(y){if(!y||typeof y!="object")return!1;var h=o(y,"lastIndex"),m=h&&n(h,"value");if(!m)return!1;try{f(y,u)}catch(B){return B===i}}}else{var c=r("Object.prototype.toString"),v="[object RegExp]";t=function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:c(y)===v}}return It=t,It}var $t,Ba;function si(){if(Ba)return $t;Ba=1;var r=Q(),e=r("SharedArrayBuffer.prototype.byteLength",!0);return $t=e?function(o){if(!o||typeof o!="object")return!1;try{return e(o),!0}catch{return!1}}:function(o){return!1},$t}var Rt,ja;function li(){if(ja)return Rt;ja=1;var r=Q(),e=r("Number.prototype.toString"),n=function(a){try{return e(a),!0}catch{return!1}},o=r("Object.prototype.toString"),t="[object Number]",f=Pr()();return Rt=function(a){return typeof a=="number"?!0:!a||typeof a!="object"?!1:f?n(a):o(a)===t},Rt}var xt,Ta;function ci(){if(Ta)return xt;Ta=1;var r=Q(),e=r("Boolean.prototype.toString"),n=r("Object.prototype.toString"),o=function(a){try{return e(a),!0}catch{return!1}},t="[object Boolean]",f=Pr()();return xt=function(a){return typeof a=="boolean"?!0:a===null||typeof a!="object"?!1:f?o(a):n(a)===t},xt}var Hr={exports:{}},Et,Ma;function pi(){if(Ma)return Et;Ma=1;var r=Q(),e=ho(),n=r("RegExp.prototype.exec"),o=nr();return Et=function(f){if(!e(f))throw new o("`regex` must be a RegExp");return function(a){return n(f,a)!==null}},Et}var Da;function yi(){if(Da)return Hr.exports;Da=1;var r=Q(),e=r("Object.prototype.toString"),n=Vt()(),o=pi();if(n){var t=r("Symbol.prototype.toString"),f=o(/^Symbol\(.*\)$/),i=function(u){return typeof u.valueOf()!="symbol"?!1:f(t(u))};Hr.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||e(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}}else Hr.exports=function(u){return!1};return Hr.exports}var Gr={exports:{}},Bt,Ca;function vi(){if(Ca)return Bt;Ca=1;var r=typeof BigInt<"u"&&BigInt;return Bt=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"},Bt}var Fa;function gi(){if(Fa)return Gr.exports;Fa=1;var r=vi()();if(r){var e=BigInt.prototype.valueOf,n=function(t){try{return e.call(t),!0}catch{}return!1};Gr.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:n(t)}}else Gr.exports=function(t){return!1};return Gr.exports}var jt,_a;function hi(){if(_a)return jt;_a=1;var r=lo(),e=li(),n=ci(),o=yi(),t=gi();return jt=function(i){if(i==null||typeof i!="object"&&typeof i!="function")return null;if(r(i))return"String";if(e(i))return"Number";if(n(i))return"Boolean";if(o(i))return"Symbol";if(t(i))return"BigInt"},jt}var Tt,Na;function di(){if(Na)return Tt;Na=1;var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,n;r||(n=function(i){return!1});var o=r?r.prototype.has:null,t=e?e.prototype.has:null;return!n&&!o&&(n=function(i){return!1}),Tt=n||function(i){if(!i||typeof i!="object")return!1;try{if(o.call(i,o),t)try{t.call(i,t)}catch{return!0}return i instanceof r}catch{}return!1},Tt}var Ur={exports:{}},Wa;function mi(){if(Wa)return Ur.exports;Wa=1;var r=yr(),e=Q(),n=r("%WeakSet%",!0),o=e("WeakSet.prototype.has",!0);if(o){var t=e("WeakMap.prototype.has",!0);Ur.exports=function(i){if(!i||typeof i!="object")return!1;try{if(o(i,o),t)try{t(i,t)}catch{return!0}return i instanceof n}catch{}return!1}}else Ur.exports=function(i){return!1};return Ur.exports}var Mt,ka;function Si(){if(ka)return Mt;ka=1;var r=co(),e=po(),n=di(),o=mi();return Mt=function(f){if(f&&typeof f=="object"){if(r(f))return"Map";if(e(f))return"Set";if(n(f))return"WeakMap";if(o(f))return"WeakSet"}return!1},Mt}var Dt,La;function bi(){if(La)return Dt;La=1;var r=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,o;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw o}}),o={},e(function(){throw 42},null,n)}catch(O){O!==o&&(e=null)}else e=null;var t=/^\s*class\b/,f=function(b){try{var T=r.call(b);return t.test(T)}catch{return!1}},i=function(b){try{return f(b)?!1:(r.call(b),!0)}catch{return!1}},a=Object.prototype.toString,u="[object Object]",c="[object Function]",v="[object GeneratorFunction]",p="[object HTMLAllCollection]",y="[object HTML document.all class]",h="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,B=!(0 in[,]),q=function(){return!1};if(typeof document=="object"){var w=document.all;a.call(w)===a.call(document.all)&&(q=function(b){if((B||!b)&&(typeof b>"u"||typeof b=="object"))try{var T=a.call(b);return(T===p||T===y||T===h||T===u)&&b("")==null}catch{}return!1})}return Dt=e?function(b){if(q(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{e(b,null,n)}catch(T){if(T!==o)return!1}return!f(b)&&i(b)}:function(b){if(q(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(m)return i(b);if(f(b))return!1;var T=a.call(b);return T!==c&&T!==v&&!/^\[object HTML/.test(T)?!1:i(b)},Dt}var Ct,Ha;function Ai(){if(Ha)return Ct;Ha=1;var r=bi(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=function(u,c,v){for(var p=0,y=u.length;p<y;p++)n.call(u,p)&&(v==null?c(u[p],p,u):c.call(v,u[p],p,u))},t=function(u,c,v){for(var p=0,y=u.length;p<y;p++)v==null?c(u.charAt(p),p,u):c.call(v,u.charAt(p),p,u)},f=function(u,c,v){for(var p in u)n.call(u,p)&&(v==null?c(u[p],p,u):c.call(v,u[p],p,u))};function i(a){return e.call(a)==="[object Array]"}return Ct=function(u,c,v){if(!r(c))throw new TypeError("iterator must be a function");var p;arguments.length>=3&&(p=v),i(u)?o(u,c,p):typeof u=="string"?t(u,c,p):f(u,c,p)},Ct}var Ft,Ga;function Oi(){return Ga||(Ga=1,Ft=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Ft}var _t,Ua;function qi(){if(Ua)return _t;Ua=1;var r=Oi(),e=typeof globalThis>"u"?Br.commonjsGlobal:globalThis;return _t=function(){for(var o=[],t=0;t<r.length;t++)typeof e[r[t]]=="function"&&(o[o.length]=r[t]);return o},_t}var Nt,za;function wi(){if(za)return Nt;za=1;var r=Ai(),e=qi(),n=jr(),o=Q(),t=qr(),f=Xt(),i=o("Object.prototype.toString"),a=Pr()(),u=typeof globalThis>"u"?Br.commonjsGlobal:globalThis,c=e(),v=o("String.prototype.slice"),p=o("Array.prototype.indexOf",!0)||function(q,w){for(var O=0;O<q.length;O+=1)if(q[O]===w)return O;return-1},y={__proto__:null};a&&t&&f?r(c,function(B){var q=new u[B];if(Symbol.toStringTag in q&&f){var w=f(q),O=t(w,Symbol.toStringTag);if(!O&&w){var b=f(w);O=t(b,Symbol.toStringTag)}y["$"+B]=n(O.get)}}):r(c,function(B){var q=new u[B],w=q.slice||q.set;w&&(y["$"+B]=n(w))});var h=function(q){var w=!1;return r(y,function(O,b){if(!w)try{"$"+O(q)===b&&(w=v(b,1))}catch{}}),w},m=function(q){var w=!1;return r(y,function(O,b){if(!w)try{O(q),w=v(b,1)}catch{}}),w};return Nt=function(q){if(!q||typeof q!="object")return!1;if(!a){var w=v(i(q),8,-1);return p(c,w)>-1?w:w!=="Object"?!1:m(q)}return t?h(q):null},Nt}var Wt,Va;function Pi(){if(Va)return Wt;Va=1;var r=Q(),e=r("ArrayBuffer.prototype.byteLength",!0),n=go();return Wt=function(t){return n(t)?e?e(t):t.byteLength:NaN},Wt}var kt,Ka;function Ii(){if(Ka)return kt;Ka=1;var r=Vo(),e=no(),n=Xo(),o=yr(),t=oi(),f=fo(),i=ui(),a=io(),u=so(),c=go(),v=fi(),p=ho(),y=si(),h=Lt(),m=hi(),B=Si(),q=wi(),w=Pi(),O=e("SharedArrayBuffer.prototype.byteLength",!0),b=e("Date.prototype.getTime"),T=Object.getPrototypeOf,X=e("Object.prototype.toString"),G=o("%Set%",!0),F=e("Map.prototype.has",!0),C=e("Map.prototype.get",!0),P=e("Map.prototype.size",!0),_=e("Set.prototype.add",!0),L=e("Set.prototype.delete",!0),N=e("Set.prototype.has",!0),H=e("Set.prototype.size",!0);function V(g,d,R,$){for(var j=t(g),M;(M=j.next())&&!M.done;)if(U(d,M.value,R,$))return L(g,M.value),!0;return!1}function fr(g){if(typeof g>"u")return null;if(typeof g!="object")return typeof g=="symbol"?!1:typeof g=="string"||typeof g=="number"?+g==+g:!0}function Ir(g,d,R,$,j,M){var A=fr(R);if(A!=null)return A;var I=C(d,A),S=r({},j,{strict:!1});return typeof I>"u"&&!F(d,A)||!U($,I,S,M)?!1:!F(g,A)&&U($,I,S,M)}function Sr(g,d,R){var $=fr(R);return $??(N(d,$)&&!N(g,$))}function ar(g,d,R,$,j,M){for(var A=t(g),I,S;(I=A.next())&&!I.done;)if(S=I.value,U(R,S,j,M)&&U($,C(d,S),j,M))return L(g,S),!0;return!1}function U(g,d,R,$){var j=R||{};if(j.strict?i(g,d):g===d)return!0;var M=m(g),A=m(d);if(M!==A)return!1;if(!g||!d||typeof g!="object"&&typeof d!="object")return j.strict?i(g,d):g==d;var I=$.has(g),S=$.has(d),x;if(I&&S){if($.get(g)===$.get(d))return!0}else x={};return I||$.set(g,x),S||$.set(d,x),vr(g,d,j,$)}function br(g){return!g||typeof g!="object"||typeof g.length!="number"||typeof g.copy!="function"||typeof g.slice!="function"||g.length>0&&typeof g[0]!="number"?!1:!!(g.constructor&&g.constructor.isBuffer&&g.constructor.isBuffer(g))}function $r(g,d,R,$){if(H(g)!==H(d))return!1;for(var j=t(g),M=t(d),A,I,S;(A=j.next())&&!A.done;)if(A.value&&typeof A.value=="object")S||(S=new G),_(S,A.value);else if(!N(d,A.value)){if(R.strict||!Sr(g,d,A.value))return!1;S||(S=new G),_(S,A.value)}if(S){for(;(I=M.next())&&!I.done;)if(I.value&&typeof I.value=="object"){if(!V(S,I.value,R.strict,$))return!1}else if(!R.strict&&!N(g,I.value)&&!V(S,I.value,R.strict,$))return!1;return H(S)===0}return!0}function Ar(g,d,R,$){if(P(g)!==P(d))return!1;for(var j=t(g),M=t(d),A,I,S,x,z,K;(A=j.next())&&!A.done;)if(x=A.value[0],z=A.value[1],x&&typeof x=="object")S||(S=new G),_(S,x);else if(K=C(d,x),typeof K>"u"&&!F(d,x)||!U(z,K,R,$)){if(R.strict||!Ir(g,d,x,z,R,$))return!1;S||(S=new G),_(S,x)}if(S){for(;(I=M.next())&&!I.done;)if(x=I.value[0],K=I.value[1],x&&typeof x=="object"){if(!ar(S,g,x,K,R,$))return!1}else if(!R.strict&&(!g.has(x)||!U(C(g,x),K,R,$))&&!ar(S,g,x,K,r({},R,{strict:!1}),$))return!1;return H(S)===0}return!0}function vr(g,d,R,$){var j,M;if(typeof g!=typeof d||g==null||d==null||X(g)!==X(d)||a(g)!==a(d))return!1;var A=u(g),I=u(d);if(A!==I)return!1;var S=g instanceof Error,x=d instanceof Error;if(S!==x||(S||x)&&(g.name!==d.name||g.message!==d.message))return!1;var z=p(g),K=p(d);if(z!==K||(z||K)&&(g.source!==d.source||n(g)!==n(d)))return!1;var J=v(g),Y=v(d);if(J!==Y||(J||Y)&&b(g)!==b(d)||R.strict&&T&&T(g)!==T(d))return!1;var Z=q(g),sr=q(d);if(Z!==sr)return!1;if(Z||sr){if(g.length!==d.length)return!1;for(j=0;j<g.length;j++)if(g[j]!==d[j])return!1;return!0}var or=br(g),rr=br(d);if(or!==rr)return!1;if(or||rr){if(g.length!==d.length)return!1;for(j=0;j<g.length;j++)if(g[j]!==d[j])return!1;return!0}var lr=c(g),cr=c(d);if(lr!==cr)return!1;if(lr||cr)return w(g)!==w(d)?!1:typeof Uint8Array=="function"&&U(new Uint8Array(g),new Uint8Array(d),R,$);var pr=y(g),Nr=y(d);if(pr!==Nr)return!1;if(pr||Nr)return O(g)!==O(d)?!1:typeof Uint8Array=="function"&&U(new Uint8Array(g),new Uint8Array(d),R,$);if(typeof g!=typeof d)return!1;var gr=h(g),Rr=h(d);if(gr.length!==Rr.length)return!1;for(gr.sort(),Rr.sort(),j=gr.length-1;j>=0;j--)if(gr[j]!=Rr[j])return!1;for(j=gr.length-1;j>=0;j--)if(M=gr[j],!U(g[M],d[M],R,$))return!1;var Tr=B(g),hr=B(d);return Tr!==hr?!1:Tr==="Set"||hr==="Set"?$r(g,d,R,$):Tr==="Map"?Ar(g,d,R,$):!0}return kt=function(d,R,$){return U(d,R,$,f())},kt}var $i=Ii();const Ri=Br.getDefaultExportFromCjs($i);function xi(r){return r}function mo(r,e,n,o){const t=xi,[f,i]=ur.useState(t(n)),a=ur.useRef(f);return ur.useEffect(()=>{const u=()=>{const c={...n,...r.getAttributes(e)};Object.keys(c).forEach(p=>{(c[p]===null||c[p]===void 0)&&(c[p]=n?n[p]:null)});const v=t(c);Ri(a.current,v)||(i(v),a.current=v)};return r.on("selectionUpdate",u),r.on("transaction",u),()=>{r.off("selectionUpdate",u),r.off("transaction",u)}},[r,n,e,t]),f}function Ei({node:r}){const{text:e}=r.attrs,n=ur.useMemo(()=>{try{return Ja.renderToString(`${e}`)}catch{return e}},[e]),o=ur.useMemo(()=>e.trim()?er.jsx("span",{contentEditable:!1,dangerouslySetInnerHTML:{__html:n}}):er.jsx("span",{contentEditable:!1,children:"Not enter a formula"}),[e,n]);return er.jsx(Fr.NodeViewWrapper,{as:"span",style:{display:"inline-block"},children:o})}function Bi(){const{t:r}=Po.useLocale(),[e,n]=ur.useState(!1),o=oe.useButtonProps(zr.name),{icon:t=void 0,tooltip:f=void 0,tooltipOptions:i={},isActive:a=void 0}=(o==null?void 0:o.componentProps)??{},{editorDisabled:u}=oe.useToggleActive(a),c=oe.useEditorInstance(),v=mo(c,zr.name,{text:"",defaultShowPicker:!1}),{text:p,defaultShowPicker:y}=v,[h,m]=ur.useState(p||""),B=ur.useCallback(()=>{c.chain().focus().setKatex({text:h}).run(),m(""),n(!1)},[c,h]);ur.useEffect(()=>{y&&c.chain().updateAttributes(zr.name,{defaultShowPicker:!1}).focus().run()},[c,y]);const q=ur.useMemo(()=>{try{return Ja.renderToString(`${h}`)}catch{return h}},[h]),w=ur.useMemo(()=>`${h}`.trim()?q:null,[h,q]);return er.jsxs(Dr.Dialog,{onOpenChange:n,open:e,children:[er.jsx(Dr.DialogTrigger,{asChild:!0,disabled:u,children:er.jsx(qo.ActionButton,{disabled:u,icon:t,tooltip:f,tooltipOptions:i,action:()=>{u||n(!0)}})}),er.jsxs(Dr.DialogContent,{className:"richtext-z-[99999] !richtext-max-w-[1300px]",children:[er.jsx(Dr.DialogTitle,{children:r("editor.formula.dialog.text")}),er.jsx("div",{style:{height:"100%",border:"1px solid hsl(var(--border))"},children:er.jsxs("div",{className:"richtext-flex richtext-gap-[10px] richtext-rounded-[10px] richtext-p-[10px]",children:[er.jsx(wo.Textarea,{autoFocus:!0,className:"richtext-flex-1",onChange:O=>m(O.target.value),placeholder:"Text",required:!0,rows:10,value:h,style:{color:"hsl(var(--foreground))"}}),er.jsx("div",{className:"richtext-flex richtext-flex-1 richtext-items-center richtext-justify-center richtext-rounded-[10px] richtext-p-[10px]",dangerouslySetInnerHTML:{__html:w||""},style:{height:"100%",borderWidth:1,minHeight:500,background:"#fff"}})]})}),er.jsx(Dr.DialogFooter,{children:er.jsx(Io.Button,{onClick:B,type:"button",children:"Save changes"})})]})]})}function ji(r){return e=>e.getAttribute(r)}const zr=Fr.Node3.create({name:"katex",group:"inline",inline:!0,defining:!0,draggable:!0,selectable:!0,addOptions(){return{HTMLAttributes:{class:"katex"},button:({t:r})=>({componentProps:{action:()=>!0,isActive:()=>!1,disabled:!1,icon:"KatexIcon",tooltip:r("editor.katex.tooltip")}})}},addAttributes(){return{text:{default:"",parseHTML:ji("text")},defaultShowPicker:{default:!1}}},parseHTML(){return[{tag:"span.katex"}]},renderHTML({HTMLAttributes:r}){return["span",Fr.mergeAttributes(this.options&&this.options.HTMLAttributes||{},r)]},addCommands(){return{setKatex:r=>({commands:e})=>e.insertContent({type:this.name,attrs:r})}},addInputRules(){return[Fr.nodeInputRule({find:/^\$katex\$$/,type:this.type,getAttributes:()=>({defaultShowPicker:!0})})]},addNodeView(){return Fr.ReactNodeViewRenderer(Ei)}});exports.Katex=zr;exports.RichTextKatex=Bi;exports.useAttributes=mo;
|
|
@@ -2,14 +2,14 @@ import { s as Oo, N as wo, R as qo, n as Po, m as Io } from "./index-nFjllrEl.js
|
|
|
2
2
|
import { jsx as ir, jsxs as te } from "react/jsx-runtime";
|
|
3
3
|
import { useState as Wt, useRef as $o, useEffect as Ka, useMemo as Lr, useCallback as Ro } from "react";
|
|
4
4
|
import Ja from "katex";
|
|
5
|
-
import { A as Eo } from "./toggle-
|
|
6
|
-
import "./index
|
|
7
|
-
import { D as Bo, a as xo, b as To, c as Mo, d as jo } from "./dialog-
|
|
8
|
-
import { T as Do } from "./textarea-
|
|
9
|
-
import { u as Co, a as Fo, c as _o } from "./useButtonProps-
|
|
5
|
+
import { A as Eo } from "./toggle-MUGlaI1L.js";
|
|
6
|
+
import "./index-DuZCJJSp.js";
|
|
7
|
+
import { D as Bo, a as xo, b as To, c as Mo, d as jo } from "./dialog-Ce9Cjfft.js";
|
|
8
|
+
import { T as Do } from "./textarea-CIs52G8B.js";
|
|
9
|
+
import { u as Co, a as Fo, c as _o } from "./useButtonProps-D0SrPzuG.js";
|
|
10
10
|
import { g as No, c as Hr, a as Wo } from "./_commonjsHelpers-BItOPCY9.js";
|
|
11
|
-
import { u as ko } from "./index-
|
|
12
|
-
import { B as Lo } from "./button-
|
|
11
|
+
import { u as ko } from "./index-0OnGZkVF.js";
|
|
12
|
+
import { B as Lo } from "./button-Crm67hfl.js";
|
|
13
13
|
var ne, fn;
|
|
14
14
|
function Ya() {
|
|
15
15
|
if (fn) return ne;
|
package/lib/Katex.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-DLqogznp.cjs");const e=require("./Katex-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-DLqogznp.cjs");const e=require("./Katex-CFZB-dZq.cjs");exports.Katex=e.Katex;exports.RichTextKatex=e.RichTextKatex;
|
package/lib/Katex.js
CHANGED
package/lib/LineHeight.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-DylewabB.cjs"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-DylewabB.cjs"),p=require("./index-FSRjMsxW.cjs"),t=require("react/jsx-runtime"),x=require("react"),D=require("./toggle-Bo07J-M7.cjs");require("./index-CNzHZDls.cjs");const v=require("./Icon-BjR_or8V.cjs"),d=require("./useButtonProps-bei1vI37.cjs"),u=require("./dropdown-menu-CSCDQtq0.cjs");function H(){const n=d.useButtonProps(f.name),{tooltip:o=void 0,items:i,icon:c,isActive:l=void 0}=(n==null?void 0:n.componentProps)??{},{editorDisabled:s,dataState:r}=d.useActive(l);return n?t.jsxs(u.DropdownMenu,{children:[t.jsx(u.DropdownMenuTrigger,{asChild:!0,disabled:s,children:t.jsx(D.ActionButton,{customClass:"!richtext-w-12 richtext-h-12",disabled:s,icon:c,tooltip:o,children:t.jsx(v.IconComponent,{className:"richtext-ml-1 richtext-size-3 richtext-text-zinc-500",name:"MenuDown"})})}),t.jsx(u.DropdownMenuContent,{className:"richtext-min-w-24",children:i==null?void 0:i.map((e,a)=>t.jsxs(x.Fragment,{children:[t.jsx(u.DropdownMenuCheckboxItem,{checked:e.value===(r==null?void 0:r.value),onClick:()=>e==null?void 0:e.action(),children:e.label}),e.value==="Default"&&t.jsx(u.DropdownMenuSeparator,{})]},`line-height-${a}`))})]}):t.jsx(t.Fragment,{})}const f=g.LineHeight.extend({addOptions(){var n;return{...(n=this.parent)==null?void 0:n.call(this),lineHeights:p.DEFAULT_LINE_HEIGHT_LIST,button({editor:o,extension:i,t:c}){var s,r;const l=(r=(s=i==null?void 0:i.options)==null?void 0:s.lineHeights)==null?void 0:r.map(e=>({label:e==="Default"?c("editor.default"):String(e),value:e,isActive:()=>e==="Default"?!0:o.isActive("textStyle",{lineHeight:e})||!1,action:()=>{if(e==="Default"){o.chain().focus().unsetLineHeight().run();return}o.chain().focus().toggleTextStyle({lineHeight:e}).run()},default:e==="Default"||!1}));return{componentProps:{tooltip:c("editor.lineheight.tooltip"),items:l,icon:"LineHeight",isActive:()=>{const e=(l||[]).find(h=>h.isActive()&&!h.default);return e&&!e.default?e:{value:"Default",isActive:()=>!1}}}}}}}});exports.LineHeight=f;exports.RichTextLineHeight=H;
|
package/lib/LineHeight.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { L as f } from "./index-prphFVsp.js";
|
|
2
|
-
import { i as d } from "./index-
|
|
2
|
+
import { i as d } from "./index-0OnGZkVF.js";
|
|
3
3
|
import { jsx as i, Fragment as p, jsxs as h } from "react/jsx-runtime";
|
|
4
4
|
import { Fragment as m } from "react";
|
|
5
|
-
import { A as g } from "./toggle-
|
|
6
|
-
import "./index
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { A as g } from "./toggle-MUGlaI1L.js";
|
|
6
|
+
import "./index-DuZCJJSp.js";
|
|
7
|
+
import { I as D } from "./Icon-C-qYUAS1.js";
|
|
8
|
+
import { u as v, b as x } from "./useButtonProps-D0SrPzuG.js";
|
|
9
|
+
import { D as H, a as A, b as L, c as b, d as w } from "./dropdown-menu-CQykJhBs.js";
|
|
10
10
|
function j() {
|
|
11
|
-
const t =
|
|
11
|
+
const t = v(C.name), {
|
|
12
12
|
tooltip: o = void 0,
|
|
13
13
|
items: n,
|
|
14
14
|
icon: s,
|
|
15
15
|
isActive: l = void 0
|
|
16
|
-
} = (t == null ? void 0 : t.componentProps) ?? {}, { editorDisabled: a, dataState: r } =
|
|
17
|
-
return t ? /* @__PURE__ */ h(
|
|
16
|
+
} = (t == null ? void 0 : t.componentProps) ?? {}, { editorDisabled: a, dataState: r } = x(l);
|
|
17
|
+
return t ? /* @__PURE__ */ h(H, { children: [
|
|
18
18
|
/* @__PURE__ */ i(
|
|
19
|
-
|
|
19
|
+
A,
|
|
20
20
|
{
|
|
21
21
|
asChild: !0,
|
|
22
22
|
disabled: a,
|
|
@@ -28,7 +28,7 @@ function j() {
|
|
|
28
28
|
icon: s,
|
|
29
29
|
tooltip: o,
|
|
30
30
|
children: /* @__PURE__ */ i(
|
|
31
|
-
|
|
31
|
+
D,
|
|
32
32
|
{
|
|
33
33
|
className: "richtext-ml-1 richtext-size-3 richtext-text-zinc-500",
|
|
34
34
|
name: "MenuDown"
|
|
@@ -38,16 +38,16 @@ function j() {
|
|
|
38
38
|
)
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
/* @__PURE__ */ i(
|
|
41
|
+
/* @__PURE__ */ i(L, { className: "richtext-min-w-24", children: n == null ? void 0 : n.map((e, c) => /* @__PURE__ */ h(m, { children: [
|
|
42
42
|
/* @__PURE__ */ i(
|
|
43
|
-
|
|
43
|
+
b,
|
|
44
44
|
{
|
|
45
45
|
checked: e.value === (r == null ? void 0 : r.value),
|
|
46
46
|
onClick: () => e == null ? void 0 : e.action(),
|
|
47
47
|
children: e.label
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
|
-
e.value === "Default" && /* @__PURE__ */ i(
|
|
50
|
+
e.value === "Default" && /* @__PURE__ */ i(w, {})
|
|
51
51
|
] }, `line-height-${c}`)) })
|
|
52
52
|
] }) : /* @__PURE__ */ i(p, {});
|
|
53
53
|
}
|
package/lib/Link.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-DLqogznp.cjs");const e=require("./LinkEditBlock-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-DLqogznp.cjs");const e=require("./LinkEditBlock-DiSXJpTN.cjs");exports.Link=e.Link;exports.RichTextLink=e.RichTextLink;
|
package/lib/Link.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as x, Fragment as je, jsxs as G } from "react/jsx-runtime";
|
|
2
2
|
import { useState as Gt, useRef as me, useEffect as Ue } from "react";
|
|
3
|
-
import "./index
|
|
3
|
+
import "./index-DuZCJJSp.js";
|
|
4
|
+
import { I as be } from "./Icon-C-qYUAS1.js";
|
|
4
5
|
import { M as Be, h as ze, m as $t, H as We, I as Fe, J as Ke, K as _e, L as Ge } from "./index-nFjllrEl.js";
|
|
5
6
|
import { Plugin as ee, PluginKey as ne } from "@tiptap/pm/state";
|
|
6
|
-
import { A as $e } from "./toggle-
|
|
7
|
-
import { c as Qe, u as qe, a as Je, d as Ve } from "./useButtonProps-
|
|
8
|
-
import { u as Ye } from "./index-
|
|
9
|
-
import { C as Xe } from "./checkbox-
|
|
10
|
-
import { L as Ut } from "./label-
|
|
11
|
-
import { I as ge } from "./input-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { P as Ze, a as tn, b as en } from "./popover-CheVmqgb.js";
|
|
7
|
+
import { A as $e } from "./toggle-MUGlaI1L.js";
|
|
8
|
+
import { c as Qe, u as qe, a as Je, d as Ve } from "./useButtonProps-D0SrPzuG.js";
|
|
9
|
+
import { u as Ye } from "./index-0OnGZkVF.js";
|
|
10
|
+
import { C as Xe } from "./checkbox-DViVmgJ6.js";
|
|
11
|
+
import { L as Ut } from "./label-DC33TZy_.js";
|
|
12
|
+
import { I as ge } from "./input-DfqFAyKo.js";
|
|
13
|
+
import { B as pe } from "./button-Crm67hfl.js";
|
|
14
|
+
import { P as Ze, a as tn, b as en } from "./popover-CoepUobG.js";
|
|
15
15
|
const nn = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", on = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Qt = "numeric", qt = "ascii", Jt = "alpha", Q = "asciinumeric", $ = "alphanumeric", Vt = "domain", Re = "emoji", sn = "scheme", rn = "slashscheme", Bt = "whitespace";
|
|
16
16
|
function an(t, n) {
|
|
17
17
|
return t in n || (n[t] = []), n[t];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const k=require("react/jsx-runtime"),W=require("react");require("./index-
|
|
1
|
+
"use strict";const k=require("react/jsx-runtime"),W=require("react");require("./index-CNzHZDls.cjs");const be=require("./Icon-BjR_or8V.cjs"),v=require("./index-DLqogznp.cjs"),K=require("@tiptap/pm/state"),De=require("./toggle-Bo07J-M7.cjs"),lt=require("./useButtonProps-bei1vI37.cjs"),Ue=require("./index-FSRjMsxW.cjs"),Be=require("./checkbox-NQC2MdGT.cjs"),Wt=require("./label-DkDE77kc.cjs"),ge=require("./input-tU3H__39.cjs"),pe=require("./button-xNppt_aK.cjs"),Ft=require("./popover-CZWSQZ0q.cjs"),ze="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",We="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Jt="numeric",Vt="ascii",Yt="alpha",J="asciinumeric",Q="alphanumeric",Xt="domain",Re="emoji",Fe="scheme",Ke="slashscheme",Kt="whitespace";function _e(t,n){return t in n||(n[t]=[]),n[t]}function B(t,n,e){n[Jt]&&(n[J]=!0,n[Q]=!0),n[Vt]&&(n[J]=!0,n[Yt]=!0),n[J]&&(n[Q]=!0),n[Yt]&&(n[Q]=!0),n[Q]&&(n[Xt]=!0),n[Re]&&(n[Xt]=!0);for(const i in n){const s=_e(i,e);s.indexOf(t)<0&&s.push(t)}}function qe(t,n){const e={};for(const i in n)n[i].indexOf(t)>=0&&(e[i]=!0);return e}function R(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}R.groups={};R.prototype={accepts(){return!!this.t},go(t){const n=this,e=n.j[t];if(e)return e;for(let i=0;i<n.jr.length;i++){const s=n.jr[i][0],o=n.jr[i][1];if(o&&s.test(t))return o}return n.jd},has(t,n=!1){return n?t in this.j:!!this.go(t)},ta(t,n,e,i){for(let s=0;s<t.length;s++)this.tt(t[s],n,e,i)},tr(t,n,e,i){i=i||R.groups;let s;return n&&n.j?s=n:(s=new R(n),e&&i&&B(n,e,i)),this.jr.push([t,s]),s},ts(t,n,e,i){let s=this;const o=t.length;if(!o)return s;for(let a=0;a<o-1;a++)s=s.tt(t[a]);return s.tt(t[o-1],n,e,i)},tt(t,n,e,i){i=i||R.groups;const s=this;if(n&&n.j)return s.j[t]=n,n;const o=n;let a,l=s.go(t);if(l?(a=new R,Object.assign(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new R,o){if(i)if(a.t&&typeof a.t=="string"){const d=Object.assign(qe(a.t,i),e);B(o,d,i)}else e&&B(o,e,i);a.t=o}return s.j[t]=a,a}};const f=(t,n,e,i,s)=>t.ta(n,e,i,s),x=(t,n,e,i,s)=>t.tr(n,e,i,s),Ee=(t,n,e,i,s)=>t.ts(n,e,i,s),r=(t,n,e,i,s)=>t.tt(n,e,i,s),H="WORD",Zt="UWORD",ye="ASCIINUMERICAL",Oe="ALPHANUMERICAL",et="LOCALHOST",te="TLD",ee="UTLD",ct="SCHEME",F="SLASH_SCHEME",ie="NUM",ne="WS",se="NL",V="OPENBRACE",Y="CLOSEBRACE",ut="OPENBRACKET",dt="CLOSEBRACKET",ht="OPENPAREN",ft="CLOSEPAREN",mt="OPENANGLEBRACKET",gt="CLOSEANGLEBRACKET",pt="FULLWIDTHLEFTPAREN",Et="FULLWIDTHRIGHTPAREN",kt="LEFTCORNERBRACKET",At="RIGHTCORNERBRACKET",Lt="LEFTWHITECORNERBRACKET",xt="RIGHTWHITECORNERBRACKET",Tt="FULLWIDTHLESSTHAN",Ct="FULLWIDTHGREATERTHAN",bt="AMPERSAND",Rt="APOSTROPHE",yt="ASTERISK",M="AT",Ot="BACKSLASH",St="BACKTICK",Nt="CARET",D="COLON",oe="COMMA",vt="DOLLAR",S="DOT",It="EQUALS",re="EXCLAMATION",O="HYPHEN",X="PERCENT",Pt="PIPE",wt="PLUS",Ht="POUND",Z="QUERY",ae="QUOTE",Se="FULLWIDTHMIDDLEDOT",le="SEMI",N="SLASH",tt="TILDE",jt="UNDERSCORE",Ne="EMOJI",Mt="SYM";var ve=Object.freeze({__proto__:null,ALPHANUMERICAL:Oe,AMPERSAND:bt,APOSTROPHE:Rt,ASCIINUMERICAL:ye,ASTERISK:yt,AT:M,BACKSLASH:Ot,BACKTICK:St,CARET:Nt,CLOSEANGLEBRACKET:gt,CLOSEBRACE:Y,CLOSEBRACKET:dt,CLOSEPAREN:ft,COLON:D,COMMA:oe,DOLLAR:vt,DOT:S,EMOJI:Ne,EQUALS:It,EXCLAMATION:re,FULLWIDTHGREATERTHAN:Ct,FULLWIDTHLEFTPAREN:pt,FULLWIDTHLESSTHAN:Tt,FULLWIDTHMIDDLEDOT:Se,FULLWIDTHRIGHTPAREN:Et,HYPHEN:O,LEFTCORNERBRACKET:kt,LEFTWHITECORNERBRACKET:Lt,LOCALHOST:et,NL:se,NUM:ie,OPENANGLEBRACKET:mt,OPENBRACE:V,OPENBRACKET:ut,OPENPAREN:ht,PERCENT:X,PIPE:Pt,PLUS:wt,POUND:Ht,QUERY:Z,QUOTE:ae,RIGHTCORNERBRACKET:At,RIGHTWHITECORNERBRACKET:xt,SCHEME:ct,SEMI:le,SLASH:N,SLASH_SCHEME:F,SYM:Mt,TILDE:tt,TLD:te,UNDERSCORE:jt,UTLD:ee,UWORD:Zt,WORD:H,WS:ne});const P=/[a-z]/,$=new RegExp("\\p{L}","u"),_t=new RegExp("\\p{Emoji}","u"),w=/\d/,qt=/\s/,ke="\r",Gt=`
|
|
2
2
|
`,Ge="️",$e="",$t="";let ot=null,rt=null;function Qe(t=[]){const n={};R.groups=n;const e=new R;ot==null&&(ot=Ae(ze)),rt==null&&(rt=Ae(We)),r(e,"'",Rt),r(e,"{",V),r(e,"}",Y),r(e,"[",ut),r(e,"]",dt),r(e,"(",ht),r(e,")",ft),r(e,"<",mt),r(e,">",gt),r(e,"(",pt),r(e,")",Et),r(e,"「",kt),r(e,"」",At),r(e,"『",Lt),r(e,"』",xt),r(e,"<",Tt),r(e,">",Ct),r(e,"&",bt),r(e,"*",yt),r(e,"@",M),r(e,"`",St),r(e,"^",Nt),r(e,":",D),r(e,",",oe),r(e,"$",vt),r(e,".",S),r(e,"=",It),r(e,"!",re),r(e,"-",O),r(e,"%",X),r(e,"|",Pt),r(e,"+",wt),r(e,"#",Ht),r(e,"?",Z),r(e,'"',ae),r(e,"/",N),r(e,";",le),r(e,"~",tt),r(e,"_",jt),r(e,"\\",Ot),r(e,"・",Se);const i=x(e,w,ie,{[Jt]:!0});x(i,w,i);const s=x(i,P,ye,{[J]:!0}),o=x(i,$,Oe,{[Q]:!0}),a=x(e,P,H,{[Vt]:!0});x(a,w,s),x(a,P,a),x(s,w,s),x(s,P,s);const l=x(e,$,Zt,{[Yt]:!0});x(l,P),x(l,w,o),x(l,$,l),x(o,w,o),x(o,P),x(o,$,o);const d=r(e,Gt,se,{[Kt]:!0}),h=r(e,ke,ne,{[Kt]:!0}),c=x(e,qt,ne,{[Kt]:!0});r(e,$t,c),r(h,Gt,d),r(h,$t,c),x(h,qt,c),r(c,ke),r(c,Gt),x(c,qt,c),r(c,$t,c);const u=x(e,_t,Ne,{[Re]:!0});r(u,"#"),x(u,_t,u),r(u,Ge,u);const m=r(u,$e);r(m,"#"),x(m,_t,u);const p=[[P,a],[w,s]],b=[[P,null],[$,l],[w,o]];for(let E=0;E<ot.length;E++)j(e,ot[E],te,H,p);for(let E=0;E<rt.length;E++)j(e,rt[E],ee,Zt,b);B(te,{tld:!0,ascii:!0},n),B(ee,{utld:!0,alpha:!0},n),j(e,"file",ct,H,p),j(e,"mailto",ct,H,p),j(e,"http",F,H,p),j(e,"https",F,H,p),j(e,"ftp",F,H,p),j(e,"ftps",F,H,p),B(ct,{scheme:!0,ascii:!0},n),B(F,{slashscheme:!0,ascii:!0},n),t=t.sort((E,T)=>E[0]>T[0]?1:-1);for(let E=0;E<t.length;E++){const T=t[E][0],L=t[E][1]?{[Fe]:!0}:{[Ke]:!0};T.indexOf("-")>=0?L[Xt]=!0:P.test(T)?w.test(T)?L[J]=!0:L[Vt]=!0:L[Jt]=!0,Ee(e,T,T,L)}return Ee(e,"localhost",et,{ascii:!0}),e.jd=new R(Mt),{start:e,tokens:Object.assign({groups:n},ve)}}function Ie(t,n){const e=Je(n.replace(/[A-Z]/g,l=>l.toLowerCase())),i=e.length,s=[];let o=0,a=0;for(;a<i;){let l=t,d=null,h=0,c=null,u=-1,m=-1;for(;a<i&&(d=l.go(e[a]));)l=d,l.accepts()?(u=0,m=0,c=l):u>=0&&(u+=e[a].length,m++),h+=e[a].length,o+=e[a].length,a++;o-=u,a-=m,h-=u,s.push({t:c.t,v:n.slice(o-h,o),s:o-h,e:o})}return s}function Je(t){const n=[],e=t.length;let i=0;for(;i<e;){let s=t.charCodeAt(i),o,a=s<55296||s>56319||i+1===e||(o=t.charCodeAt(i+1))<56320||o>57343?t[i]:t.slice(i,i+2);n.push(a),i+=a.length}return n}function j(t,n,e,i,s){let o;const a=n.length;for(let l=0;l<a-1;l++){const d=n[l];t.j[d]?o=t.j[d]:(o=new R(i),o.jr=s.slice(),t.j[d]=o),t=o}return o=new R(e),o.jr=s.slice(),t.j[n[a-1]]=o,o}function Ae(t){const n=[],e=[];let i=0,s="0123456789";for(;i<t.length;){let o=0;for(;s.indexOf(t[i+o])>=0;)o++;if(o>0){n.push(e.join(""));for(let a=parseInt(t.substring(i,i+o),10);a>0;a--)e.pop();i+=o}else e.push(t[i]),i++}return n}const nt={defaultProtocol:"http",events:null,format:Le,formatHref:Le,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ce(t,n=null){let e=Object.assign({},nt);t&&(e=Object.assign(e,t instanceof ce?t.o:t));const i=e.ignoreTags,s=[];for(let o=0;o<i.length;o++)s.push(i[o].toUpperCase());this.o=e,n&&(this.defaultRender=n),this.ignoreTags=s}ce.prototype={o:nt,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,n,e){const i=n!=null;let s=this.o[t];return s&&(typeof s=="object"?(s=e.t in s?s[e.t]:nt[t],typeof s=="function"&&i&&(s=s(n,e))):typeof s=="function"&&i&&(s=s(n,e.t,e)),s)},getObj(t,n,e){let i=this.o[t];return typeof i=="function"&&n!=null&&(i=i(n,e.t,e)),i},render(t){const n=t.render(this);return(this.get("render",null,t)||this.defaultRender)(n,t.t,t)}};function Le(t){return t}function Pe(t,n){this.t="token",this.v=t,this.tk=n}Pe.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const n=this.toString(),e=t.get("truncate",n,this),i=t.get("format",n,this);return e&&i.length>e?i.substring(0,e)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=nt.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const n=this,e=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",e,this),s=t.get("tagName",e,n),o=this.toFormattedString(t),a={},l=t.get("className",e,n),d=t.get("target",e,n),h=t.get("rel",e,n),c=t.getObj("attributes",e,n),u=t.getObj("events",e,n);return a.href=i,l&&(a.class=l),d&&(a.target=d),h&&(a.rel=h),c&&Object.assign(a,c),{tagName:s,attributes:a,content:o,eventListeners:u}}};function Dt(t,n){class e extends Pe{constructor(s,o){super(s,o),this.t=t}}for(const i in n)e.prototype[i]=n[i];return e.t=t,e}const xe=Dt("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Te=Dt("text"),Ve=Dt("nl"),at=Dt("url",{isLink:!0,toHref(t=nt.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==et&&t[1].t===D}}),y=t=>new R(t);function Ye({groups:t}){const n=t.domain.concat([bt,yt,M,Ot,St,Nt,vt,It,O,ie,X,Pt,wt,Ht,N,Mt,tt,jt]),e=[Rt,D,oe,S,re,X,Z,ae,le,mt,gt,V,Y,dt,ut,ht,ft,pt,Et,kt,At,Lt,xt,Tt,Ct],i=[bt,Rt,yt,Ot,St,Nt,vt,It,O,V,Y,X,Pt,wt,Ht,Z,N,Mt,tt,jt],s=y(),o=r(s,tt);f(o,i,o),f(o,t.domain,o);const a=y(),l=y(),d=y();f(s,t.domain,a),f(s,t.scheme,l),f(s,t.slashscheme,d),f(a,i,o),f(a,t.domain,a);const h=r(a,M);r(o,M,h),r(l,M,h),r(d,M,h);const c=r(o,S);f(c,i,o),f(c,t.domain,o);const u=y();f(h,t.domain,u),f(u,t.domain,u);const m=r(u,S);f(m,t.domain,u);const p=y(xe);f(m,t.tld,p),f(m,t.utld,p),r(h,et,p);const b=r(u,O);r(b,O,b),f(b,t.domain,u),f(p,t.domain,u),r(p,S,m),r(p,O,b);const E=r(p,D);f(E,t.numeric,xe);const T=r(a,O),g=r(a,S);r(T,O,T),f(T,t.domain,a),f(g,i,o),f(g,t.domain,a);const L=y(at);f(g,t.tld,L),f(g,t.utld,L),f(L,t.domain,a),f(L,i,o),r(L,S,g),r(L,O,T),r(L,M,h);const it=r(L,D),_=y(at);f(it,t.numeric,_);const C=y(at),I=y();f(C,n,C),f(C,e,I),f(I,n,C),f(I,e,I),r(L,N,C),r(_,N,C);const q=r(l,D),je=r(d,D),Me=r(je,N),Ut=r(Me,N);f(l,t.domain,a),r(l,S,g),r(l,O,T),f(d,t.domain,a),r(d,S,g),r(d,O,T),f(q,t.domain,C),r(q,N,C),r(q,Z,C),f(Ut,t.domain,C),f(Ut,n,C),r(Ut,N,C);const fe=[[V,Y],[ut,dt],[ht,ft],[mt,gt],[pt,Et],[kt,At],[Lt,xt],[Tt,Ct]];for(let Bt=0;Bt<fe.length;Bt++){const[me,zt]=fe[Bt],st=r(C,me);r(I,me,st),r(st,zt,C);const z=y(at);f(st,n,z);const G=y();f(st,e),f(z,n,z),f(z,e,G),f(G,n,z),f(G,e,G),r(z,zt,C),r(G,zt,C)}return r(s,et,L),r(s,se,Ve),{start:s,tokens:ve}}function Xe(t,n,e){let i=e.length,s=0,o=[],a=[];for(;s<i;){let l=t,d=null,h=null,c=0,u=null,m=-1;for(;s<i&&!(d=l.go(e[s].t));)a.push(e[s++]);for(;s<i&&(h=d||l.go(e[s].t));)d=null,l=h,l.accepts()?(m=0,u=l):m>=0&&m++,s++,c++;if(m<0)s-=c,s<i&&(a.push(e[s]),s++);else{a.length>0&&(o.push(Qt(Te,n,a)),a=[]),s-=m,c-=m;const p=u.t,b=e.slice(s-c,s);o.push(Qt(p,n,b))}}return a.length>0&&o.push(Qt(Te,n,a)),o}function Qt(t,n,e){const i=e[0].s,s=e[e.length-1].e,o=n.slice(i,s);return new t(o,e)}const Ze=typeof console<"u"&&console&&console.warn||(()=>{}),tn="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",A={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function en(){return R.groups={},A.scanner=null,A.parser=null,A.tokenQueue=[],A.pluginQueue=[],A.customSchemes=[],A.initialized=!1,A}function Ce(t,n=!1){if(A.initialized&&Ze(`linkifyjs: already initialized - will not register custom scheme "${t}" ${tn}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
|
|
3
3
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
4
4
|
2. Cannot start or end with "-"
|
package/lib/Mermaid.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var X=Object.create;var G=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var Y=Object.getPrototypeOf,J=Object.prototype.hasOwnProperty;var K=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Z(e))!J.call(t,l)&&l!==r&&G(t,l,{get:()=>e[l],enumerable:!(a=U(e,l))||a.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?X(Y(t)):{},K(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./index-DLqogznp.cjs"),B=require("./throttle-DXN-aiH5.cjs"),o=require("react/jsx-runtime"),s=require("react"),F=require("./shortId-Bfj8TyNr.cjs"),ee=require("./toggle-
|
|
1
|
+
"use strict";var X=Object.create;var G=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var Y=Object.getPrototypeOf,J=Object.prototype.hasOwnProperty;var K=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Z(e))!J.call(t,l)&&l!==r&&G(t,l,{get:()=>e[l],enumerable:!(a=U(e,l))||a.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?X(Y(t)):{},K(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./index-DLqogznp.cjs"),B=require("./throttle-DXN-aiH5.cjs"),o=require("react/jsx-runtime"),s=require("react"),F=require("./shortId-Bfj8TyNr.cjs"),ee=require("./toggle-Bo07J-M7.cjs"),E=require("./dialog-DaHBd2zw.cjs"),te=require("./textarea-CmZVZKOo.cjs"),L=require("./index-FSRjMsxW.cjs"),z=require("./useButtonProps-bei1vI37.cjs"),re=require("./file-i7e4nQY2.cjs"),ie=require("./button-xNppt_aK.cjs"),se=`graph TB
|
|
2
2
|
a-->b`;function ae(){const t=z.useEditorInstance(),e=z.useButtonProps(W.name),{tooltipOptions:r={},isActive:a=void 0,upload:l}=(e==null?void 0:e.componentProps)??{},{editorDisabled:T}=z.useToggleActive(a),[d,C]=s.useState(se),[q,y]=s.useState(""),[c,_]=s.useState(!1),S=s.useRef(null),[h,k]=s.useState(null),[f,O]=s.useState(!0),D=s.useCallback(u=>{u&&import("mermaid").then(g=>{k(g.default)}).finally(()=>O(!1))},[]),I=async u=>{try{const{svg:g}=await h.render("mermaid-svg",u);y(g)}catch{y("")}},R=()=>{h.initialize({darkMode:!1,startOnLoad:!1,fontSize:12,theme:"base"}),I(d)};s.useEffect(()=>{!f&&h&&c&&R()},[h,c]),s.useEffect(()=>{!f&&h&&c&&I(d)},[h&&d]);const P=async()=>{if(d!==""){if(d){const u=S.current.querySelector("svg"),{width:g,height:j}=u.getBoundingClientRect(),A=`mermaid-${F.shortId()}.svg`;let b=F.i(u.outerHTML);if(l){const i=re.dataURLtoFile(b,A);b=await l(i)}t==null||t.chain().focus().setMermaid({type:"mermaid",src:b,alt:encodeURIComponent(d),width:g,height:j},!!d).run()}_(!1)}};return o.jsxs(E.Dialog,{onOpenChange:_,open:c,children:[o.jsx(E.DialogTrigger,{asChild:!0,children:o.jsx(ee.ActionButton,{disabled:T,icon:"Mermaid",tooltip:"Mermaid",tooltipOptions:r,action:()=>{T||_(!0)}})}),o.jsxs(E.DialogContent,{className:"richtext-z-[99999] !richtext-max-w-[1300px]",children:[o.jsx(E.DialogTitle,{children:"Mermaid"}),o.jsx("div",{ref:D,style:{height:"100%",border:"1px solid hsl(var(--border))"},children:f?o.jsx("p",{children:"Loading..."}):o.jsx(o.Fragment,{children:o.jsxs("div",{className:"richtext-flex richtext-gap-[10px] richtext-rounded-[10px] richtext-p-[10px]",children:[o.jsx(te.Textarea,{autoFocus:!0,className:"richtext-flex-1",onChange:u=>C(u.target.value),placeholder:"Text",required:!0,rows:10,value:d,style:{color:"hsl(var(--foreground))"}}),o.jsx("div",{className:"richtext-flex richtext-flex-1 richtext-items-center richtext-justify-center richtext-rounded-[10px] richtext-p-[10px]",dangerouslySetInnerHTML:{__html:q},ref:S,style:{height:"100%",borderWidth:1,minHeight:500,background:"#fff"}})]})})}),o.jsx(E.DialogFooter,{children:o.jsx(ie.Button,{disabled:!h,onClick:P,type:"button",children:"Save changes"})})]})]})}const H={TOP_LEFT:"tl",TOP_RIGHT:"tr",BOTTOM_LEFT:"bl",BOTTOM_RIGHT:"br"};function ne({editor:t,node:e,updateAttributes:r,getPos:a,selected:l}){const[T,d]=s.useState({width:L.IMAGE_MAX_SIZE,height:L.IMAGE_MAX_SIZE}),[C,q]=s.useState({width:0,height:0}),[y]=s.useState([H.TOP_LEFT,H.TOP_RIGHT,H.BOTTOM_LEFT,H.BOTTOM_RIGHT]),[c,_]=s.useState(!1),[S,h]=s.useState({x:0,y:0,w:0,h:0,dir:""}),{align:k}=e==null?void 0:e.attrs,f=s.useMemo(()=>{const{src:i,alt:p,width:x,height:v}=e==null?void 0:e.attrs,w=N.isNumber(x)?`${x}px`:x,n=N.isNumber(v)?`${v}px`:v;return{src:i||void 0,alt:p||void 0,style:{width:w||void 0,height:n||void 0}}},[e==null?void 0:e.attrs]),O=s.useMemo(()=>{const{style:{width:i}}=f;return{width:i==="100%"?i:void 0}},[f]);function D(i){q({width:i.target.width,height:i.target.height})}function I(){t.commands.setNodeSelection(a())}const R=s.useCallback(B.throttle(()=>{const{width:i}=getComputedStyle(t.view.dom);d(p=>({...p,width:Number.parseInt(i,10)}))},L.IMAGE_THROTTLE_WAIT_TIME),[t]);function P(i,p){i.preventDefault(),i.stopPropagation();const x=C.width,v=C.height,w=x/v;let n=Number(e.attrs.width),M=Number(e.attrs.height);const m=T.width;n&&!M?(n=n>m?m:n,M=Math.round(n/w)):M&&!n?(n=Math.round(M*w),n=n>m?m:n):!n&&!M?(n=x>m?m:x,M=Math.round(n/w)):n=n>m?m:n,_(!0),h({x:i.clientX,y:i.clientY,w:n,h:M,dir:p})}const u=s.useCallback(B.throttle(i=>{if(i.preventDefault(),i.stopPropagation(),!c)return;const{x:p,w:x,dir:v}=S,w=(i.clientX-p)*(/l/.test(v)?-1:1),{width:n,height:M}=e==null?void 0:e.attrs,m=n/M,$=z.clamp(x+w,L.IMAGE_MIN_SIZE,T.width),V=Math.round($/m);r({width:$,height:V})},L.IMAGE_THROTTLE_WAIT_TIME),[c,S,T,r,e==null?void 0:e.attrs]),g=s.useCallback(i=>{i.preventDefault(),i.stopPropagation(),c&&(h({x:0,y:0,w:0,h:0,dir:""}),_(!1),I())},[c,I]),j=s.useCallback(()=>{document==null||document.addEventListener("mousemove",u,!0),document==null||document.addEventListener("mouseup",g,!0)},[u,g]),A=s.useCallback(()=>{document==null||document.removeEventListener("mousemove",u,!0),document==null||document.removeEventListener("mouseup",g,!0)},[u,g]);s.useEffect(()=>(c?j():A(),()=>{A()}),[c,j,A]);const b=s.useMemo(()=>new ResizeObserver(()=>R()),[R]);return s.useEffect(()=>(b.observe(t.view.dom),()=>{b.disconnect()}),[t.view.dom,b]),o.jsx(N.NodeViewWrapper,{className:"image-view",style:{...O,width:"100%",textAlign:k},children:o.jsxs("div",{"data-drag-handle":!0,draggable:"true",style:{...O,background:"#fff"},className:`image-view__body ${l?"image-view__body--focused":""} ${c?"image-view__body--resizing":""}`,children:[o.jsx("img",{alt:f.alt,className:"image-view__body__image block",height:"auto",onClick:I,onLoad:D,src:f.src,style:f.style}),t.view.editable&&(l||c)&&o.jsx("div",{className:"image-resizer",children:y==null?void 0:y.map(i=>o.jsx("span",{className:`image-resizer__handler image-resizer__handler--${i}`,onMouseDown:p=>P(p,i)},`image-dir-${i}`))})]})})}const W=B.index_default.extend({name:"mermaid",addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),inline:!1,content:"",marks:"",group:"block",draggable:!1,selectable:!0,atom:!0,HTMLAttributes:{class:"mermaid"},button:({editor:e,t:r,extension:a})=>{var l;return{componentProps:{action:()=>!0,isActive:()=>!1,disabled:!1,editor:e,icon:"Mermaid",tooltip:r("editor.mermaid.tooltip"),upload:(l=a==null?void 0:a.options)==null?void 0:l.upload}}}}},addAttributes(){var t;return{...(t=this.parent)==null?void 0:t.call(this),width:{default:null,parseHTML:e=>{const r=e.querySelector("img"),a=r==null?void 0:r.getAttribute("width");return a?Number.parseInt(a,10):320},renderHTML:e=>({width:e.width})},height:{default:null,parseHTML:e=>{const r=e.querySelector("img"),a=r==null?void 0:r.getAttribute("height");return a?Number.parseInt(a,10):212},renderHTML:e=>({height:e.height})},align:{default:"center",parseHTML:e=>e.getAttribute("align"),renderHTML:e=>({align:e.align})}}},addNodeView(){return N.ReactNodeViewRenderer(ne)},addCommands(){return{setMermaid:(t,e)=>({commands:r,editor:a})=>e?r.insertContent({type:this.name,attrs:t}):r.insertContentAt(a.state.selection.anchor,{type:this.name,attrs:t}),setAlignImageMermaid:t=>({commands:e})=>e.updateAttributes(this.name,{align:t})}},renderHTML({HTMLAttributes:t}){const{align:e}=t;return["div",{style:e?`text-align: ${e};`:"",class:"imageMermaid"},["img",N.mergeAttributes(this.options.HTMLAttributes,t)]]},parseHTML(){return[{tag:"div[class=imageMermaid]",getAttrs:t=>{const e=t.querySelector("img"),r=e==null?void 0:e.getAttribute("width"),a=e==null?void 0:e.getAttribute("height");return{src:e==null?void 0:e.getAttribute("src"),alt:e==null?void 0:e.getAttribute("alt"),width:r?Number.parseInt(r,10):null,height:a?Number.parseInt(a,10):null,align:(e==null?void 0:e.getAttribute("align"))||t.style.textAlign||null}}}]}});exports.Mermaid=W;exports.RichTextMermaid=ae;
|
package/lib/Mermaid.js
CHANGED
|
@@ -3,13 +3,13 @@ import { a as q, c as Y } from "./throttle-CGM5M2yG.js";
|
|
|
3
3
|
import { jsxs as C, jsx as n, Fragment as J } from "react/jsx-runtime";
|
|
4
4
|
import { useState as m, useRef as K, useCallback as A, useEffect as H, useMemo as P } from "react";
|
|
5
5
|
import { s as Q, i as tt } from "./shortId-WJVkrvml.js";
|
|
6
|
-
import { A as et } from "./toggle-
|
|
7
|
-
import { D as rt, a as it, b as at, c as st, d as nt } from "./dialog-
|
|
8
|
-
import { T as ot } from "./textarea-
|
|
9
|
-
import { I as V, j as W, k as lt } from "./index-
|
|
10
|
-
import { c as ct, u as dt, a as ut, i as ht } from "./useButtonProps-
|
|
6
|
+
import { A as et } from "./toggle-MUGlaI1L.js";
|
|
7
|
+
import { D as rt, a as it, b as at, c as st, d as nt } from "./dialog-Ce9Cjfft.js";
|
|
8
|
+
import { T as ot } from "./textarea-CIs52G8B.js";
|
|
9
|
+
import { I as V, j as W, k as lt } from "./index-0OnGZkVF.js";
|
|
10
|
+
import { c as ct, u as dt, a as ut, i as ht } from "./useButtonProps-D0SrPzuG.js";
|
|
11
11
|
import { d as mt } from "./file-BLas99n7.js";
|
|
12
|
-
import { B as gt } from "./button-
|
|
12
|
+
import { B as gt } from "./button-Crm67hfl.js";
|
|
13
13
|
const pt = `graph TB
|
|
14
14
|
a-->b`;
|
|
15
15
|
function Ot() {
|
package/lib/MoreMark.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-DLqogznp.cjs"),r=require("react/jsx-runtime"),M=require("react"),x=require("./toggle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-DLqogznp.cjs"),r=require("react/jsx-runtime"),M=require("react"),x=require("./toggle-Bo07J-M7.cjs");require("./index-CNzHZDls.cjs");const f=require("./Icon-BjR_or8V.cjs"),S=require("./index-DmOTQudI.cjs"),h=require("./useButtonProps-bei1vI37.cjs"),p=require("./dropdown-menu-CSCDQtq0.cjs");var k=c.Mark.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(t){return t!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sub",c.mergeAttributes(this.options.HTMLAttributes,t),0]},addCommands(){return{setSubscript:()=>({commands:t})=>t.setMark(this.name),toggleSubscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSubscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),A=c.Mark.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(t){return t!=="super"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sup",c.mergeAttributes(this.options.HTMLAttributes,t),0]},addCommands(){return{setSuperscript:()=>({commands:t})=>t.setMark(this.name),toggleSuperscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSuperscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}});function v(){const t=h.useButtonProps(b.name),{icon:s=void 0,tooltip:n=void 0,items:i=[],isActive:l=void 0}=(t==null?void 0:t.componentProps)??{},{disabled:u,dataState:o}=h.useActive(l),d=M.useMemo(()=>(o==null?void 0:o.title)||"",[o]);return t?r.jsxs(p.DropdownMenu,{children:[r.jsx(p.DropdownMenuTrigger,{asChild:!0,disabled:u,children:r.jsx(x.ActionButton,{customClass:"!richtext-w-12 richtext-h-12",disabled:u,icon:s,tooltip:n,children:r.jsx(S.MenuDown,{className:"richtext-size-3 richtext-text-gray-500"})})}),r.jsx(p.DropdownMenuContent,{className:"w-full",children:i==null?void 0:i.map((e,a)=>r.jsxs(p.DropdownMenuCheckboxItem,{checked:d===e.title,className:"richtext-flex richtext-items-center richtext-gap-3",onClick:e.action,children:[r.jsx(f.IconComponent,{name:e==null?void 0:e.icon}),r.jsx("span",{className:"richtext-ml-1",children:e.title}),!!(e!=null&&e.shortcutKeys)&&r.jsx("span",{className:"richtext-ml-auto richtext-text-xs richtext-tracking-widest richtext-opacity-60",children:h.getShortcutKeys(e.shortcutKeys)})]},`more-mark-${a}`))})]}):r.jsx(r.Fragment,{})}const b=c.Extension.create({name:"moreMark",addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),button({editor:s,extension:n,t:i}){var a,g;const l=n.options.subscript,u=n.options.superscript,o={action:()=>s.commands.toggleSubscript(),isActive:()=>s.isActive("subscript")||!1,disabled:!s.can().toggleSubscript(),icon:"Subscript",title:i("editor.subscript.tooltip"),shortcutKeys:((a=n.options.shortcutKeys)==null?void 0:a[0])??["mod","."]},d={action:()=>s.commands.toggleSuperscript(),isActive:()=>s.isActive("superscript")||!1,disabled:!s.can().toggleSuperscript(),icon:"Superscript",title:i("editor.superscript.tooltip"),shortcutKeys:((g=n.options.shortcutKeys)==null?void 0:g[1])??["mod",","]},e=[];return l!==!1&&e.push(o),u!==!1&&e.push(d),{componentProps:{icon:"Type",tooltip:i("editor.moremark"),disabled:!s.isEditable,items:e,isActive:()=>e==null?void 0:e.find(m=>m.isActive())}}}}},addExtensions(){const t=[];return this.options.subscript!==!1&&t.push(k.configure(this.options.subscript)),this.options.superscript!==!1&&t.push(A.configure(this.options.superscript)),t}});exports.MoreMark=b;exports.RichTextMoreMark=v;
|