@wangeditor-next/plugin-link-card 1.0.19 → 1.0.20

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 - present wangEditor-team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -199,6 +199,7 @@ export interface IEditorConfig {
199
199
  MENU_CONF?: Partial<IMenuConfig>;
200
200
  hoverbarKeys?: IHoverbarConf;
201
201
  EXTEND_CONF?: any;
202
+ skipCacheTypes?: string[];
202
203
  }
203
204
  /**
204
205
  * toolbar config
@@ -2,6 +2,7 @@
2
2
  * @description editor interface
3
3
  * @author wangfupeng
4
4
  */
5
+ import { NodeEntryWithContext } from '@wangeditor-next/table-module/src/utils';
5
6
  import ee from 'event-emitter';
6
7
  import { Ancestor, Editor, Element, Location, Node } from 'slate';
7
8
  import { AlertType, IEditorConfig, IMenuConfig, ISingleMenuConfig } from '../config/interface';
@@ -55,6 +56,7 @@ export interface IDomEditor extends Editor {
55
56
  move: (distance: number, reverse?: boolean) => void;
56
57
  moveReverse: (distance: number) => void;
57
58
  restoreSelection: () => void;
59
+ getTableSelection?: () => NodeEntryWithContext[][] | null;
58
60
  getSelectionPosition: () => Partial<IPositionStyle>;
59
61
  getNodePosition: (node: Node) => Partial<IPositionStyle>;
60
62
  isSelectedAll: () => boolean;
@@ -3,17 +3,17 @@
3
3
  * @author wangfupeng
4
4
  */
5
5
  import { Emitter } from 'event-emitter';
6
+ import { Ancestor, Editor, Node, Path, Range } from 'slate';
6
7
  import { VNode } from 'snabbdom';
7
- import { Node, Ancestor, Editor, Path, Range } from 'slate';
8
+ import { IEditorConfig } from '../config/interface';
8
9
  import { IDomEditor } from '../editor/interface';
9
- import TextArea from '../text-area/TextArea';
10
- import Toolbar from '../menus/bar/Toolbar';
11
10
  import HoverBar from '../menus/bar/HoverBar';
11
+ import Toolbar from '../menus/bar/Toolbar';
12
12
  import { IBarItem } from '../menus/bar-item/index';
13
- import { Key } from './key';
14
- import { PatchFn } from '../utils/vdom';
15
- import { IEditorConfig } from '../config/interface';
16
13
  import PanelAndModal from '../menus/panel-and-modal/BaseClass';
14
+ import TextArea from '../text-area/TextArea';
15
+ import { PatchFn } from '../utils/vdom';
16
+ import { Key } from './key';
17
17
  export declare const EDITOR_TO_TEXTAREA: WeakMap<IDomEditor, TextArea>;
18
18
  export declare const TEXTAREA_TO_EDITOR: WeakMap<TextArea, IDomEditor>;
19
19
  export declare const TOOLBAR_TO_EDITOR: WeakMap<Toolbar, IDomEditor>;
@@ -27,6 +27,8 @@ export declare const EDITOR_TO_CONFIG: WeakMap<IDomEditor, IEditorConfig>;
27
27
  export declare const IS_FIRST_PATCH: WeakMap<TextArea, boolean>;
28
28
  export declare const TEXTAREA_TO_PATCH_FN: WeakMap<TextArea, PatchFn>;
29
29
  export declare const TEXTAREA_TO_VNODE: WeakMap<TextArea, VNode>;
30
+ export declare const NODE_TO_VNODE: WeakMap<Node, [number, VNode]>;
31
+ export declare const NODE_TO_HTML: WeakMap<Node, String>;
30
32
  /**
31
33
  * Two weak maps that allow us rebuild a path given a node. They are populated
32
34
  * at render time such that after a render occurs we can always backtrack.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@wangeditor-next/editor"),require("snabbdom")):"function"==typeof define&&define.amd?define(["@wangeditor-next/editor","snabbdom"],r):(t="undefined"!=typeof globalThis?globalThis:t||self).WangEditorLinkCardPlugin=r(t.editor,t.snabbdom)}(this,(function(t,r){"use strict";t.i18nAddResources("en",{linkCard:{toCard:"To Card"}}),t.i18nAddResources("zh-CN",{linkCard:{toCard:"转为卡片"}});var n,e,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i={};function u(){if(e)return n;e=1;var t=function(t){return t&&t.Math===Math&&t};return n=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||t("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var c,a,f,s,l,v,p,d,h={};function g(){return a?c:(a=1,c=function(t){try{return!!t()}catch(t){return!0}})}function y(){if(s)return f;s=1;var t=g();return f=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function m(){if(v)return l;v=1;var t=g();return l=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function b(){if(d)return p;d=1;var t=m(),r=Function.prototype.call;return p=t?r.bind(r):function(){return r.apply(r,arguments)},p}var w,A,S,E,j,O,x,C,T,I,P,R,k,N,U,D,B,M,L,W,F,K,G,V,Y,H,Z,q,z,J,Q,X,_,$,tt,rt,nt,et,ot,it,ut,ct={};function at(){return S?A:(S=1,A=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function ft(){if(j)return E;j=1;var t=m(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return E=t?e:function(t){return function(){return n.apply(t,arguments)}},E}function st(){if(x)return O;x=1;var t=ft(),r=t({}.toString),n=t("".slice);return O=function(t){return n(r(t),8,-1)}}function lt(){return P?I:(P=1,I=function(t){return null==t})}function vt(){if(k)return R;k=1;var t=lt(),r=TypeError;return R=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function pt(){if(U)return N;U=1;var t=function(){if(T)return C;T=1;var t=ft(),r=g(),n=st(),e=Object,o=t("".split);return C=r((function(){return!e("z").propertyIsEnumerable(0)}))?function(t){return"String"===n(t)?o(t,""):e(t)}:e}(),r=vt();return N=function(n){return t(r(n))}}function dt(){if(B)return D;B=1;var t="object"==typeof document&&document.all;return D=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function ht(){if(L)return M;L=1;var t=dt();return M=function(r){return"object"==typeof r?null!==r:t(r)}}function gt(){if(F)return W;F=1;var t=u(),r=dt();return W=function(n,e){return arguments.length<2?(o=t[n],r(o)?o:void 0):t[n]&&t[n][e];var o},W}function yt(){if(G)return K;G=1;var t=ft();return K=t({}.isPrototypeOf)}function mt(){if(Y)return V;Y=1;var t=u().navigator,r=t&&t.userAgent;return V=r?String(r):""}function bt(){if(Z)return H;Z=1;var t,r,n=u(),e=mt(),o=n.process,i=n.Deno,c=o&&o.versions||i&&i.version,a=c&&c.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),H=r}function wt(){if(z)return q;z=1;var t=bt(),r=g(),n=u().String;return q=!!Object.getOwnPropertySymbols&&!r((function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function At(){if(Q)return J;Q=1;var t=wt();return J=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function St(){if(_)return X;_=1;var t=gt(),r=dt(),n=yt(),e=At(),o=Object;return X=e?function(t){return"symbol"==typeof t}:function(e){var i=t("Symbol");return r(i)&&n(i.prototype,o(e))}}function Et(){if(tt)return $;tt=1;var t=String;return $=function(r){try{return t(r)}catch(t){return"Object"}}}function jt(){if(nt)return rt;nt=1;var t=dt(),r=Et(),n=TypeError;return rt=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Ot(){if(ot)return et;ot=1;var t=jt(),r=lt();return et=function(n,e){var o=n[e];return r(o)?void 0:t(o)}}function xt(){if(ut)return it;ut=1;var t=b(),r=dt(),n=ht(),e=TypeError;return it=function(o,i){var u,c;if("string"===i&&r(u=o.toString)&&!n(c=t(u,o)))return c;if(r(u=o.valueOf)&&!n(c=t(u,o)))return c;if("string"!==i&&r(u=o.toString)&&!n(c=t(u,o)))return c;throw new e("Can't convert object to primitive value")}}var Ct,Tt,It,Pt,Rt,kt,Nt,Ut,Dt,Bt,Mt,Lt,Wt,Ft,Kt,Gt,Vt,Yt,Ht,Zt,qt,zt,Jt,Qt,Xt={exports:{}};function _t(){return Tt?Ct:(Tt=1,Ct=!1)}function $t(){if(Pt)return It;Pt=1;var t=u(),r=Object.defineProperty;return It=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function tr(){if(Rt)return Xt.exports;Rt=1;var t=_t(),r=u(),n=$t(),e="__core-js_shared__",o=Xt.exports=r[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),Xt.exports}function rr(){if(Nt)return kt;Nt=1;var t=tr();return kt=function(r,n){return t[r]||(t[r]=n||{})}}function nr(){if(Dt)return Ut;Dt=1;var t=vt(),r=Object;return Ut=function(n){return r(t(n))}}function er(){if(Mt)return Bt;Mt=1;var t=ft(),r=nr(),n=t({}.hasOwnProperty);return Bt=Object.hasOwn||function(t,e){return n(r(t),e)}}function or(){if(Wt)return Lt;Wt=1;var t=ft(),r=0,n=Math.random(),e=t(1..toString);return Lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function ir(){if(Kt)return Ft;Kt=1;var t=u(),r=rr(),n=er(),e=or(),o=wt(),i=At(),c=t.Symbol,a=r("wks"),f=i?c.for||c:c&&c.withoutSetter||e;return Ft=function(t){return n(a,t)||(a[t]=o&&n(c,t)?c[t]:f("Symbol."+t)),a[t]}}function ur(){if(Vt)return Gt;Vt=1;var t=b(),r=ht(),n=St(),e=Ot(),o=xt(),i=ir(),u=TypeError,c=i("toPrimitive");return Gt=function(i,a){if(!r(i)||n(i))return i;var f,s=e(i,c);if(s){if(void 0===a&&(a="default"),f=t(s,i,a),!r(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),o(i,a)}}function cr(){if(Ht)return Yt;Ht=1;var t=ur(),r=St();return Yt=function(n){var e=t(n,"string");return r(e)?e:e+""}}function ar(){if(qt)return Zt;qt=1;var t=u(),r=ht(),n=t.document,e=r(n)&&r(n.createElement);return Zt=function(t){return e?n.createElement(t):{}}}function fr(){if(Jt)return zt;Jt=1;var t=y(),r=g(),n=ar();return zt=!t&&!r((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function sr(){if(Qt)return h;Qt=1;var t=y(),r=b(),n=function(){if(w)return ct;w=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return ct.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,ct}(),e=at(),o=pt(),i=cr(),u=er(),c=fr(),a=Object.getOwnPropertyDescriptor;return h.f=t?a:function(t,f){if(t=o(t),f=i(f),c)try{return a(t,f)}catch(t){}if(u(t,f))return e(!r(n.f,t,f),t[f])},h}var lr,vr,pr,dr,hr,gr,yr,mr={};function br(){if(vr)return lr;vr=1;var t=y(),r=g();return lr=t&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function wr(){if(dr)return pr;dr=1;var t=ht(),r=String,n=TypeError;return pr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Ar(){if(hr)return mr;hr=1;var t=y(),r=fr(),n=br(),e=wr(),o=cr(),i=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,a="enumerable",f="configurable",s="writable";return mr.f=t?n?function(t,r,n){if(e(t),r=o(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&s in n&&!n[s]){var i=c(t,r);i&&i[s]&&(t[r]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:a in n?n[a]:i[a],writable:!1})}return u(t,r,n)}:u:function(t,n,c){if(e(t),n=o(n),e(c),r)try{return u(t,n,c)}catch(t){}if("get"in c||"set"in c)throw new i("Accessors not supported");return"value"in c&&(t[n]=c.value),t},mr}function Sr(){if(yr)return gr;yr=1;var t=y(),r=Ar(),n=at();return gr=t?function(t,e,o){return r.f(t,e,n(1,o))}:function(t,r,n){return t[r]=n,t}}var Er,jr,Or,xr,Cr,Tr,Ir,Pr,Rr,kr,Nr,Ur,Dr,Br,Mr,Lr={exports:{}};function Wr(){if(xr)return Or;xr=1;var t=ft(),r=dt(),n=tr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),Or=n.inspectSource}function Fr(){if(Pr)return Ir;Pr=1;var t=rr(),r=or(),n=t("keys");return Ir=function(t){return n[t]||(n[t]=r(t))}}function Kr(){return kr?Rr:(kr=1,Rr={})}function Gr(){if(Ur)return Nr;Ur=1;var t,r,n,e=function(){if(Tr)return Cr;Tr=1;var t=u(),r=dt(),n=t.WeakMap;return Cr=r(n)&&/native code/.test(String(n))}(),o=u(),i=ht(),c=Sr(),a=er(),f=tr(),s=Fr(),l=Kr(),v="Object already initialized",p=o.TypeError,d=o.WeakMap;if(e||f.state){var h=f.state||(f.state=new d);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,r){if(h.has(t))throw new p(v);return r.facade=t,h.set(t,r),r},r=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var g=s("state");l[g]=!0,t=function(t,r){if(a(t,g))throw new p(v);return r.facade=t,c(t,g,r),r},r=function(t){return a(t,g)?t[g]:{}},n=function(t){return a(t,g)}}return Nr={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!i(n)||(e=r(n)).type!==t)throw new p("Incompatible receiver, "+t+" required");return e}}}}function Vr(){if(Dr)return Lr.exports;Dr=1;var t=ft(),r=g(),n=dt(),e=er(),o=y(),i=function(){if(jr)return Er;jr=1;var t=y(),r=er(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,o=r(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&e(n,"name").configurable);return Er={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Wr(),c=Gr(),a=c.enforce,f=c.get,s=String,l=Object.defineProperty,v=t("".slice),p=t("".replace),d=t([].join),h=o&&!r((function(){return 8!==l((function(){}),"length",{value:8}).length})),m=String(String).split("String"),b=Lr.exports=function(t,r,n){"Symbol("===v(s(r),0,7)&&(r="["+p(s(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!e(t,"name")||i&&t.name!==r)&&(o?l(t,"name",{value:r,configurable:!0}):t.name=r),h&&n&&e(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=a(t);return e(u,"source")||(u.source=d(m,"string"==typeof r?r:"")),t};return Function.prototype.toString=b((function(){return n(this)&&f(this).source||u(this)}),"toString"),Lr.exports}function Yr(){if(Mr)return Br;Mr=1;var t=dt(),r=Ar(),n=Vr(),e=$t();return Br=function(o,i,u,c){c||(c={});var a=c.enumerable,f=void 0!==c.name?c.name:i;if(t(u)&&n(u,f,c),c.global)a?o[i]=u:e(i,u);else{try{c.unsafe?o[i]&&(a=!0):delete o[i]}catch(t){}a?o[i]=u:r.f(o,i,{value:u,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return o}}var Hr,Zr,qr,zr,Jr,Qr,Xr,_r,$r,tn,rn,nn,en,on,un,cn,an,fn={};function sn(){if(zr)return qr;zr=1;var t=function(){if(Zr)return Hr;Zr=1;var t=Math.ceil,r=Math.floor;return Hr=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}();return qr=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function ln(){if(Qr)return Jr;Qr=1;var t=sn(),r=Math.max,n=Math.min;return Jr=function(e,o){var i=t(e);return i<0?r(i+o,0):n(i,o)}}function vn(){if(_r)return Xr;_r=1;var t=sn(),r=Math.min;return Xr=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function pn(){if(tn)return $r;tn=1;var t=vn();return $r=function(r){return t(r.length)}}function dn(){if(on)return en;on=1;var t=ft(),r=er(),n=pt(),e=function(){if(nn)return rn;nn=1;var t=pt(),r=ln(),n=pn(),e=function(e){return function(o,i,u){var c=t(o),a=n(c);if(0===a)return!e&&-1;var f,s=r(u,a);if(e&&i!=i){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((e||s in c)&&c[s]===i)return e||s||0;return!e&&-1}};return rn={includes:e(!0),indexOf:e(!1)}}().indexOf,o=Kr(),i=t([].push);return en=function(t,u){var c,a=n(t),f=0,s=[];for(c in a)!r(o,c)&&r(a,c)&&i(s,c);for(;u.length>f;)r(a,c=u[f++])&&(~e(s,c)||i(s,c));return s}}function hn(){return cn?un:(cn=1,un=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var gn,yn,mn,bn,wn,An,Sn,En,jn,On,xn,Cn,Tn,In,Pn,Rn,kn,Nn,Un,Dn,Bn,Mn,Ln,Wn,Fn,Kn,Gn,Vn,Yn={};function Hn(){if(mn)return yn;mn=1;var t=gt(),r=ft(),n=function(){if(an)return fn;an=1;var t=dn(),r=hn().concat("length","prototype");return fn.f=Object.getOwnPropertyNames||function(n){return t(n,r)},fn}(),e=(gn||(gn=1,Yn.f=Object.getOwnPropertySymbols),Yn),o=wr(),i=r([].concat);return yn=t("Reflect","ownKeys")||function(t){var r=n.f(o(t)),u=e.f;return u?i(r,u(t)):r}}function Zn(){if(wn)return bn;wn=1;var t=er(),r=Hn(),n=sr(),e=Ar();return bn=function(o,i,u){for(var c=r(i),a=e.f,f=n.f,s=0;s<c.length;s++){var l=c[s];t(o,l)||u&&t(u,l)||a(o,l,f(i,l))}}}function qn(){if(Sn)return An;Sn=1;var t=g(),r=dt(),n=/#|\.prototype\./,e=function(n,e){var a=i[o(n)];return a===c||a!==u&&(r(e)?t(e):!!e)},o=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",c=e.POLYFILL="P";return An=e}function zn(){if(jn)return En;jn=1;var t=u(),r=sr().f,n=Sr(),e=Yr(),o=$t(),i=Zn(),c=qn();return En=function(u,a){var f,s,l,v,p,d=u.target,h=u.global,g=u.stat;if(f=h?t:g?t[d]||o(d,{}):t[d]&&t[d].prototype)for(s in a){if(v=a[s],l=u.dontCallGetSet?(p=r(f,s))&&p.value:f[s],!c(h?s:d+(g?".":"#")+s,u.forced)&&void 0!==l){if(typeof v==typeof l)continue;i(v,l)}(u.sham||l&&l.sham)&&n(v,"sham",!0),e(f,s,v,u)}}}function Jn(){if(xn)return On;xn=1;var t=st();return On=Array.isArray||function(r){return"Array"===t(r)}}function Qn(){if(Tn)return Cn;Tn=1;var t=TypeError;return Cn=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function Xn(){if(Pn)return In;Pn=1;var t=y(),r=Ar(),n=at();return In=function(e,o,i){t?r.f(e,o,n(0,i)):e[o]=i}}function _n(){if(kn)return Rn;kn=1;var t={};return t[ir()("toStringTag")]="z",Rn="[object z]"===String(t)}function $n(){if(Un)return Nn;Un=1;var t=_n(),r=dt(),n=st(),e=ir()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Nn=t?n:function(t){var u,c,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(c=function(t,r){try{return t[r]}catch(t){}}(u=o(t),e))?c:i?n(u):"Object"===(a=n(u))&&r(u.callee)?"Arguments":a}}function te(){if(Bn)return Dn;Bn=1;var t=ft(),r=g(),n=dt(),e=$n(),o=gt(),i=Wr(),u=function(){},c=o("Reflect","construct"),a=/^\s*(?:class|function)\b/,f=t(a.exec),s=!a.test(u),l=function(t){if(!n(t))return!1;try{return c(u,[],t),!0}catch(t){return!1}},v=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!f(a,i(t))}catch(t){return!0}};return v.sham=!0,Dn=!c||r((function(){var t;return l(l.call)||!l(Object)||!l((function(){t=!0}))||t}))?v:l}function re(){if(Ln)return Mn;Ln=1;var t=Jn(),r=te(),n=ht(),e=ir()("species"),o=Array;return Mn=function(i){var u;return t(i)&&(u=i.constructor,(r(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function ne(){if(Fn)return Wn;Fn=1;var t=re();return Wn=function(r,n){return new(t(r))(0===n?0:n)}}function ee(){if(Gn)return Kn;Gn=1;var t=g(),r=ir(),n=bt(),e=r("species");return Kn=function(r){return n>=51||!t((function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo}))}}!function(){if(Vn)return i;Vn=1;var t=zn(),r=g(),n=Jn(),e=ht(),o=nr(),u=pn(),c=Qn(),a=Xn(),f=ne(),s=ee(),l=ir(),v=bt(),p=l("isConcatSpreadable"),d=v>=51||!r((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),h=function(t){if(!e(t))return!1;var r=t[p];return void 0!==r?!!r:n(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!s("concat")},{concat:function(t){var r,n,e,i,s,l=o(this),v=f(l,0),p=0;for(r=-1,e=arguments.length;r<e;r++)if(h(s=-1===r?l:arguments[r]))for(i=u(s),c(p+i),n=0;n<i;n++,p++)n in s&&a(v,p,s[n]);else c(p+1),a(v,p++,s);return v.length=p,v}})}();var oe,ie,ue,ce,ae,fe,se,le={};function ve(){if(ie)return oe;ie=1;var t=$n(),r=String;return oe=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}!function(){if(se)return le;se=1;var t=zn(),r=function(){if(ce)return ue;ce=1;var t=ft(),r=vt(),n=ve(),e=/"/g,o=t("".replace);return ue=function(t,i,u,c){var a=n(r(t)),f="<"+i;return""!==u&&(f+=" "+u+'="'+o(n(c),e,"&quot;")+'"'),f+">"+a+"</"+i+">"}}(),n=function(){if(fe)return ae;fe=1;var t=g();return ae=function(r){return t((function(){var t=""[r]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}}();t({target:"String",proto:!0,forced:n("link")},{link:function(t){return r(this,"a","href",t)}})}();var pe,de,he,ge={type:"link-card",elemToHtml:function(t,r){var n=t,e=n.title,o=void 0===e?"":e,i=n.link,u=void 0===i?"":i,c=n.iconImgSrc,a=void 0===c?"":c;return'<div data-w-e-type="link-card" data-w-e-is-void data-title="'.concat(o,'" data-link="').concat(u,'" data-iconImgSrc="').concat(a,'">\n <div class="info-container">\n <div class="title-container"><p>').concat(o,'</p></div>\n <div class="link-container"><span>').concat(u,'</span></div>\n </div>\n <div class="icon-container">\n <img src="').concat(a,'"/>\n </div>\n </div>')}},ye={};!function(){if(he)return ye;he=1;var t=_n(),r=Yr(),n=function(){if(de)return pe;de=1;var t=_n(),r=$n();return pe=t?{}.toString:function(){return"[object "+r(this)+"]"}}();t||r(Object.prototype,"toString",n,{unsafe:!0})}();var me,be,we,Ae,Se,Ee,je,Oe,xe,Ce,Te,Ie,Pe,Re,ke,Ne,Ue,De,Be,Me,Le,We,Fe,Ke,Ge,Ve,Ye,He,Ze,qe,ze,Je,Qe,Xe,_e,$e,to,ro,no,eo,oo,io,uo,co,ao,fo,so,lo,vo,po,ho,go,yo,mo,bo,wo,Ao,So,Eo={};function jo(){if(be)return me;be=1;var t=u(),r=mt(),n=st(),e=function(t){return r.slice(0,t.length)===t};return me=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Oo(){if(Ae)return we;Ae=1;var t=jo();return we="NODE"===t}function xo(){if(Oe)return je;Oe=1;var t=ht();return je=function(r){return t(r)||null===r}}function Co(){if(Ce)return xe;Ce=1;var t=xo(),r=String,n=TypeError;return xe=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function To(){if(Ie)return Te;Ie=1;var t=function(){if(Ee)return Se;Ee=1;var t=ft(),r=jt();return Se=function(n,e,o){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[o]))}catch(t){}}}(),r=ht(),n=vt(),e=Co();return Te=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),e(u),r(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Io(){if(Re)return Pe;Re=1;var t=Ar().f,r=er(),n=ir()("toStringTag");return Pe=function(e,o,i){e&&!i&&(e=e.prototype),e&&!r(e,n)&&t(e,n,{configurable:!0,value:o})}}function Po(){if(Ne)return ke;Ne=1;var t=Vr(),r=Ar();return ke=function(n,e,o){return o.get&&t(o.get,e,{getter:!0}),o.set&&t(o.set,e,{setter:!0}),r.f(n,e,o)}}function Ro(){if(De)return Ue;De=1;var t=gt(),r=Po(),n=ir(),e=y(),o=n("species");return Ue=function(n){var i=t(n);e&&i&&!i[o]&&r(i,o,{configurable:!0,get:function(){return this}})}}function ko(){if(Me)return Be;Me=1;var t=yt(),r=TypeError;return Be=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function No(){if(We)return Le;We=1;var t=te(),r=Et(),n=TypeError;return Le=function(e){if(t(e))return e;throw new n(r(e)+" is not a constructor")}}function Uo(){if(Ke)return Fe;Ke=1;var t=wr(),r=No(),n=lt(),e=ir()("species");return Fe=function(o,i){var u,c=t(o).constructor;return void 0===c||n(u=t(c)[e])?i:r(u)}}function Do(){if(Ve)return Ge;Ve=1;var t=m(),r=Function.prototype,n=r.apply,e=r.call;return Ge="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),Ge}function Bo(){if(He)return Ye;He=1;var t=st(),r=ft();return Ye=function(n){if("Function"===t(n))return r(n)}}function Mo(){if(qe)return Ze;qe=1;var t=Bo(),r=jt(),n=m(),e=t(t.bind);return Ze=function(t,o){return r(t),void 0===o?t:n?e(t,o):function(){return t.apply(o,arguments)}},Ze}function Lo(){if(Je)return ze;Je=1;var t=gt();return ze=t("document","documentElement")}function Wo(){if(Xe)return Qe;Xe=1;var t=ft();return Qe=t([].slice)}function Fo(){if($e)return _e;$e=1;var t=TypeError;return _e=function(r,n){if(r<n)throw new t("Not enough arguments");return r}}function Ko(){if(ro)return to;ro=1;var t=mt();return to=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function Go(){if(eo)return no;eo=1;var t,r,n,e,o=u(),i=Do(),c=Mo(),a=dt(),f=er(),s=g(),l=Lo(),v=Wo(),p=ar(),d=Fo(),h=Ko(),y=Oo(),m=o.setImmediate,b=o.clearImmediate,w=o.process,A=o.Dispatch,S=o.Function,E=o.MessageChannel,j=o.String,O=0,x={},C="onreadystatechange";s((function(){t=o.location}));var T=function(t){if(f(x,t)){var r=x[t];delete x[t],r()}},I=function(t){return function(){T(t)}},P=function(t){T(t.data)},R=function(r){o.postMessage(j(r),t.protocol+"//"+t.host)};return m&&b||(m=function(t){d(arguments.length,1);var n=a(t)?t:S(t),e=v(arguments,1);return x[++O]=function(){i(n,void 0,e)},r(O),O},b=function(t){delete x[t]},y?r=function(t){w.nextTick(I(t))}:A&&A.now?r=function(t){A.now(I(t))}:E&&!h?(e=(n=new E).port2,n.port1.onmessage=P,r=c(e.postMessage,e)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!s(R)?(r=R,o.addEventListener("message",P,!1)):r=C in p("script")?function(t){l.appendChild(p("script"))[C]=function(){l.removeChild(this),T(t)}}:function(t){setTimeout(I(t),0)}),no={set:m,clear:b}}function Vo(){if(io)return oo;io=1;var t=u(),r=y(),n=Object.getOwnPropertyDescriptor;return oo=function(e){if(!r)return t[e];var o=n(t,e);return o&&o.value}}function Yo(){if(co)return uo;co=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},uo=t}function Ho(){if(po)return vo;po=1;var t,r,n,e,o,i=u(),c=Vo(),a=Mo(),f=Go().set,s=Yo(),l=Ko(),v=function(){if(fo)return ao;fo=1;var t=mt();return ao=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),p=function(){if(lo)return so;lo=1;var t=mt();return so=/web0s(?!.*chrome)/i.test(t)}(),d=Oo(),h=i.MutationObserver||i.WebKitMutationObserver,g=i.document,y=i.process,m=i.Promise,b=c("queueMicrotask");if(!b){var w=new s,A=function(){var r,n;for(d&&(r=y.domain)&&r.exit();n=w.get();)try{n()}catch(r){throw w.head&&t(),r}r&&r.enter()};l||d||p||!h||!g?!v&&m&&m.resolve?((e=m.resolve(void 0)).constructor=m,o=a(e.then,e),t=function(){o(A)}):d?t=function(){y.nextTick(A)}:(f=a(f,i),t=function(){f(A)}):(r=!0,n=g.createTextNode(""),new h(A).observe(n,{characterData:!0}),t=function(){n.data=r=!r}),b=function(r){w.head||t(),w.add(r)}}return vo=b}function Zo(){return go||(go=1,ho=function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}),ho}function qo(){return mo?yo:(mo=1,yo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function zo(){if(wo)return bo;wo=1;var t=u();return bo=t.Promise}function Jo(){if(So)return Ao;So=1;var t=u(),r=zo(),n=dt(),e=qn(),o=Wr(),i=ir(),c=jo(),a=_t(),f=bt(),s=r&&r.prototype,l=i("species"),v=!1,p=n(t.PromiseRejectionEvent),d=e("Promise",(function(){var t=o(r),n=t!==String(r);if(!n&&66===f)return!0;if(a&&(!s.catch||!s.finally))return!0;if(!f||f<51||!/native code/.test(t)){var e=new r((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[l]=i,!(v=e.then((function(){}))instanceof i))return!0}return!(n||"BROWSER"!==c&&"DENO"!==c||p)}));return Ao={CONSTRUCTOR:d,REJECTION_EVENT:p,SUBCLASSING:v}}var Qo,Xo,_o={};function $o(){if(Qo)return _o;Qo=1;var t=jt(),r=TypeError,n=function(n){var e,o;this.promise=new n((function(t,n){if(void 0!==e||void 0!==o)throw new r("Bad Promise constructor");e=t,o=n})),this.resolve=t(e),this.reject=t(o)};return _o.f=function(t){return new n(t)},_o}var ti,ri,ni,ei,oi,ii,ui,ci,ai,fi,si,li,vi,pi,di,hi,gi,yi={};function mi(){return ri?ti:(ri=1,ti={})}function bi(){if(ei)return ni;ei=1;var t=ir(),r=mi(),n=t("iterator"),e=Array.prototype;return ni=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function wi(){if(ii)return oi;ii=1;var t=$n(),r=Ot(),n=lt(),e=mi(),o=ir()("iterator");return oi=function(i){if(!n(i))return r(i,o)||r(i,"@@iterator")||e[t(i)]}}function Ai(){if(ci)return ui;ci=1;var t=b(),r=jt(),n=wr(),e=Et(),o=wi(),i=TypeError;return ui=function(u,c){var a=arguments.length<2?o(u):c;if(r(a))return n(t(a,u));throw new i(e(u)+" is not iterable")},ui}function Si(){if(fi)return ai;fi=1;var t=b(),r=wr(),n=Ot();return ai=function(e,o,i){var u,c;r(e);try{if(!(u=n(e,"return"))){if("throw"===o)throw i;return i}u=t(u,e)}catch(t){c=!0,u=t}if("throw"===o)throw i;if(c)throw u;return r(u),i}}function Ei(){if(li)return si;li=1;var t=Mo(),r=b(),n=wr(),e=Et(),o=bi(),i=pn(),u=yt(),c=Ai(),a=wi(),f=Si(),s=TypeError,l=function(t,r){this.stopped=t,this.result=r},v=l.prototype;return si=function(p,d,h){var g,y,m,b,w,A,S,E=h&&h.that,j=!(!h||!h.AS_ENTRIES),O=!(!h||!h.IS_RECORD),x=!(!h||!h.IS_ITERATOR),C=!(!h||!h.INTERRUPTED),T=t(d,E),I=function(t){return g&&f(g,"normal",t),new l(!0,t)},P=function(t){return j?(n(t),C?T(t[0],t[1],I):T(t[0],t[1])):C?T(t,I):T(t)};if(O)g=p.iterator;else if(x)g=p;else{if(!(y=a(p)))throw new s(e(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((w=P(p[m]))&&u(v,w))return w;return new l(!1)}g=c(p,y)}for(A=O?p.next:g.next;!(S=r(A,g)).done;){try{w=P(S.value)}catch(t){f(g,"throw",t)}if("object"==typeof w&&w&&u(v,w))return w}return new l(!1)}}function ji(){if(pi)return vi;pi=1;var t=ir()("iterator"),r=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){r=!0}};e[t]=function(){return this},Array.from(e,(function(){throw 2}))}catch(t){}return vi=function(n,e){try{if(!e&&!r)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function Oi(){if(hi)return di;hi=1;var t=zo(),r=ji(),n=Jo().CONSTRUCTOR;return di=n||!r((function(r){t.all(r).then(void 0,(function(){}))}))}var xi,Ci={};var Ti,Ii={};var Pi,Ri={};var ki,Ni,Ui,Di,Bi={};function Mi(){if(Ni)return ki;Ni=1;var t=wr(),r=ht(),n=$o();return ki=function(e,o){if(t(e),r(o)&&o.constructor===e)return o;var i=n.f(e);return(0,i.resolve)(o),i.promise}}function Li(t,r,n,e){return new(n||(n=Promise))((function(o,i){function u(t){try{a(e.next(t))}catch(t){i(t)}}function c(t){try{a(e.throw(t))}catch(t){i(t)}}function a(t){var r;t.done?o(t.value):(r=t.value,r instanceof n?r:new n((function(t){t(r)}))).then(u,c)}a((e=e.apply(t,r||[])).next())}))}function Wi(t,r){var n,e,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(a){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(u=0)),u;)try{if(n=1,e&&(o=2&c[0]?e.return:c[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,c[1])).done)return o;switch(e=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,e=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=r.call(t,u)}catch(t){c=[6,t],e=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,a])}}}Di||(Di=1,function(){if(Xo)return Eo;Xo=1;var t,r,n,e=zn(),o=_t(),i=Oo(),c=u(),a=b(),f=Yr(),s=To(),l=Io(),v=Ro(),p=jt(),d=dt(),h=ht(),g=ko(),y=Uo(),m=Go().set,w=Ho(),A=Zo(),S=qo(),E=Yo(),j=Gr(),O=zo(),x=Jo(),C=$o(),T="Promise",I=x.CONSTRUCTOR,P=x.REJECTION_EVENT,R=x.SUBCLASSING,k=j.getterFor(T),N=j.set,U=O&&O.prototype,D=O,B=U,M=c.TypeError,L=c.document,W=c.process,F=C.f,K=F,G=!!(L&&L.createEvent&&c.dispatchEvent),V="unhandledrejection",Y=function(t){var r;return!(!h(t)||!d(r=t.then))&&r},H=function(t,r){var n,e,o,i=r.value,u=1===r.state,c=u?t.ok:t.fail,f=t.resolve,s=t.reject,l=t.domain;try{c?(u||(2===r.rejection&&Q(r),r.rejection=1),!0===c?n=i:(l&&l.enter(),n=c(i),l&&(l.exit(),o=!0)),n===t.promise?s(new M("Promise-chain cycle")):(e=Y(n))?a(e,n,f,s):f(n)):s(i)}catch(t){l&&!o&&l.exit(),s(t)}},Z=function(t,r){t.notified||(t.notified=!0,w((function(){for(var n,e=t.reactions;n=e.get();)H(n,t);t.notified=!1,r&&!t.rejection&&z(t)})))},q=function(t,r,n){var e,o;G?((e=L.createEvent("Event")).promise=r,e.reason=n,e.initEvent(t,!1,!0),c.dispatchEvent(e)):e={promise:r,reason:n},!P&&(o=c["on"+t])?o(e):t===V&&A("Unhandled promise rejection",n)},z=function(t){a(m,c,(function(){var r,n=t.facade,e=t.value;if(J(t)&&(r=S((function(){i?W.emit("unhandledRejection",e,n):q(V,n,e)})),t.rejection=i||J(t)?2:1,r.error))throw r.value}))},J=function(t){return 1!==t.rejection&&!t.parent},Q=function(t){a(m,c,(function(){var r=t.facade;i?W.emit("rejectionHandled",r):q("rejectionhandled",r,t.value)}))},X=function(t,r,n){return function(e){t(r,e,n)}},_=function(t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Z(t,!0))},$=function(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw new M("Promise can't be resolved itself");var e=Y(r);e?w((function(){var n={done:!1};try{a(e,r,X($,n,t),X(_,n,t))}catch(r){_(n,r,t)}})):(t.value=r,t.state=1,Z(t,!1))}catch(r){_({done:!1},r,t)}}};if(I&&(B=(D=function(r){g(this,B),p(r),a(t,this);var n=k(this);try{r(X($,n),X(_,n))}catch(t){_(n,t)}}).prototype,(t=function(t){N(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:null})}).prototype=f(B,"then",(function(t,r){var n=k(this),e=F(y(this,D));return n.parent=!0,e.ok=!d(t)||t,e.fail=d(r)&&r,e.domain=i?W.domain:void 0,0===n.state?n.reactions.add(e):w((function(){H(e,n)})),e.promise})),r=function(){var r=new t,n=k(r);this.promise=r,this.resolve=X($,n),this.reject=X(_,n)},C.f=F=function(t){return t===D||void 0===t?new r(t):K(t)},!o&&d(O)&&U!==Object.prototype)){n=U.then,R||f(U,"then",(function(t,r){var e=this;return new D((function(t,r){a(n,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete U.constructor}catch(t){}s&&s(U,B)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:D}),l(D,T,!1,!0),v(T)}(),function(){if(gi)return yi;gi=1;var t=zn(),r=b(),n=jt(),e=$o(),o=qo(),i=Ei();t({target:"Promise",stat:!0,forced:Oi()},{all:function(t){var u=this,c=e.f(u),a=c.resolve,f=c.reject,s=o((function(){var e=n(u.resolve),o=[],c=0,s=1;i(t,(function(t){var n=c++,i=!1;s++,r(e,u,t).then((function(t){i||(i=!0,o[n]=t,--s||a(o))}),f)})),--s||a(o)}));return s.error&&f(s.value),c.promise}})}(),function(){if(xi)return Ci;xi=1;var t=zn(),r=_t(),n=Jo().CONSTRUCTOR,e=zo(),o=gt(),i=dt(),u=Yr(),c=e&&e.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&i(e)){var a=o("Promise").prototype.catch;c.catch!==a&&u(c,"catch",a,{unsafe:!0})}}(),function(){if(Ti)return Ii;Ti=1;var t=zn(),r=b(),n=jt(),e=$o(),o=qo(),i=Ei();t({target:"Promise",stat:!0,forced:Oi()},{race:function(t){var u=this,c=e.f(u),a=c.reject,f=o((function(){var e=n(u.resolve);i(t,(function(t){r(e,u,t).then(c.resolve,a)}))}));return f.error&&a(f.value),c.promise}})}(),function(){if(Pi)return Ri;Pi=1;var t=zn(),r=$o();t({target:"Promise",stat:!0,forced:Jo().CONSTRUCTOR},{reject:function(t){var n=r.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(Ui)return Bi;Ui=1;var t=zn(),r=gt(),n=_t(),e=zo(),o=Jo().CONSTRUCTOR,i=Mi(),u=r("Promise"),c=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(c&&this===u?e:this,t)}})}()),"function"==typeof SuppressedError&&SuppressedError;var Fi,Ki,Gi,Vi,Yi={};function Hi(){if(Ki)return Fi;Ki=1;var t=wr();return Fi=function(){var r=t(this),n="";return r.hasIndices&&(n+="d"),r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.unicodeSets&&(n+="v"),r.sticky&&(n+="y"),n}}var Zi,qi,zi,Ji,Qi,Xi,_i,$i,tu,ru,nu,eu,ou={};function iu(){if(qi)return Zi;qi=1;var t=dn(),r=hn();return Zi=Object.keys||function(n){return t(n,r)}}function uu(){if(Qi)return Ji;Qi=1;var t,r=wr(),n=function(){if(zi)return ou;zi=1;var t=y(),r=br(),n=Ar(),e=wr(),o=pt(),i=iu();return ou.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,c=o(r),a=i(r),f=a.length,s=0;f>s;)n.f(t,u=a[s++],c[u]);return t},ou}(),e=hn(),o=Kr(),i=Lo(),u=ar(),c=Fr(),a="prototype",f="script",s=c("IE_PROTO"),l=function(){},v=function(t){return"<"+f+">"+t+"</"+f+">"},p=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,n,o;d="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(r=n.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):p(t);for(var c=e.length;c--;)delete d[a][e[c]];return d()};return o[s]=!0,Ji=Object.create||function(t,e){var o;return null!==t?(l[a]=r(t),o=new l,l[a]=null,o[s]=t):o=d(),void 0===e?o:n.f(o,e)}}function cu(){if(nu)return ru;nu=1;var t,r,n=b(),e=ft(),o=ve(),i=Hi(),c=function(){if(Vi)return Gi;Vi=1;var t=g(),r=u().RegExp,n=t((function(){var t=r("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),e=n||t((function(){return!r("a","y").sticky})),o=n||t((function(){var t=r("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return Gi={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=rr(),f=uu(),s=Gr().get,l=function(){if(_i)return Xi;_i=1;var t=g(),r=u().RegExp;return Xi=t((function(){var t=r(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),v=function(){if(tu)return $i;tu=1;var t=g(),r=u().RegExp;return $i=t((function(){var t=r("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),p=a("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,h=d,y=e("".charAt),m=e("".indexOf),w=e("".replace),A=e("".slice),S=(r=/b*/g,n(d,t=/a/,"a"),n(d,r,"a"),0!==t.lastIndex||0!==r.lastIndex),E=c.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];return(S||j||E||l||v)&&(h=function(t){var r,e,u,c,a,l,v,g=this,b=s(g),O=o(t),x=b.raw;if(x)return x.lastIndex=g.lastIndex,r=n(h,x,O),g.lastIndex=x.lastIndex,r;var C=b.groups,T=E&&g.sticky,I=n(i,g),P=g.source,R=0,k=O;if(T&&(I=w(I,"y",""),-1===m(I,"g")&&(I+="g"),k=A(O,g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==y(O,g.lastIndex-1))&&(P="(?: "+P+")",k=" "+k,R++),e=new RegExp("^(?:"+P+")",I)),j&&(e=new RegExp("^"+P+"$(?!\\s)",I)),S&&(u=g.lastIndex),c=n(d,T?e:g,k),T?c?(c.input=A(c.input,R),c[0]=A(c[0],R),c.index=g.lastIndex,g.lastIndex+=c[0].length):g.lastIndex=0:S&&c&&(g.lastIndex=g.global?c.index+c[0].length:u),j&&c&&c.length>1&&n(p,c[0],e,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(c[a]=void 0)})),c&&C)for(c.groups=l=f(null),a=0;a<C.length;a++)l[(v=C[a])[0]]=c[v[1]];return c}),ru=h}!function(){if(eu)return Yi;eu=1;var t=zn(),r=cu();t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})}();var au=function(){function r(){this.title=t.t("linkCard.toCard"),this.iconSvg="",this.tag="button"}return r.prototype.getSelectedLinkElem=function(r){var n=t.DomEditor.getSelectedNodeByType(r,"link");return null==n?null:n},r.prototype.getValue=function(t){return""},r.prototype.isActive=function(t){return!1},r.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},r.prototype.exec=function(r,n){return Li(this,void 0,void 0,(function(){var n,e,o,i,u,c,a,f,s,l;return Wi(this,(function(v){switch(v.label){case 0:if(this.isDisabled(r))return[2];if(null==(n=this.getSelectedLinkElem(r)))return[2];if("function"!=typeof(e=r.getMenuConfig("convertToLinkCard").getLinkCardInfo))return[2];o=n.url,i=t.SlateNode.string(n),v.label=1;case 1:return v.trys.push([1,3,,4]),[4,e(i,o)];case 2:return u=v.sent(),c=u.title,a=u.iconImgSrc,f=t.DomEditor.findPath(r,n),t.SlateTransforms.removeNodes(r,{at:f}),t.SlateTransforms.splitNodes(r,{always:!0}),s={type:"link-card",link:o,title:c,iconImgSrc:a,children:[{text:""}]},t.SlateTransforms.insertNodes(r,s),[3,4];case 3:return l=v.sent(),console.error("Convert to link-cart error",l),[3,4];case 4:return[2]}}))}))},r}(),fu={key:"convertToLinkCard",factory:function(){return new au},config:{getLinkCardInfo:function(t,r){return Li(this,void 0,void 0,(function(){return Wi(this,(function(r){return[2,new Promise((function(r){setTimeout((function(){r({title:t,iconImgSrc:""})}),100)}))]}))}))}}};var su,lu,vu,pu,du,hu,gu,yu={selector:'div[data-w-e-type="link-card"]',parseElemHtml:function(t,r,n){return{type:"link-card",link:t.getAttribute("data-link")||"",title:t.getAttribute("data-title")||"",iconImgSrc:t.getAttribute("data-iconImgSrc")||"",children:[{text:""}]}}},mu={};function bu(){if(pu)return vu;pu=1;var t=function(){if(lu)return su;lu=1;var t=ht(),r=st(),n=ir()("match");return su=function(e){var o;return t(e)&&(void 0!==(o=e[n])?!!o:"RegExp"===r(e))}}(),r=TypeError;return vu=function(n){if(t(n))throw new r("The method doesn't accept regular expressions");return n}}!function(){if(gu)return mu;gu=1;var t,r=zn(),n=Bo(),e=sr().f,o=vn(),i=ve(),u=bu(),c=vt(),a=function(){if(hu)return du;hu=1;var t=ir()("match");return du=function(r){var n=/./;try{"/./"[r](n)}catch(e){try{return n[t]=!1,"/./"[r](n)}catch(t){}}return!1}}(),f=_t(),s=n("".slice),l=Math.min,v=a("startsWith");r({target:"String",proto:!0,forced:!!(f||v||(t=e(String.prototype,"startsWith"),!t||t.writable))&&!v},{startsWith:function(t){var r=i(c(this));u(t);var n=o(l(arguments.length>1?arguments[1]:void 0,r.length)),e=i(t);return s(r,n,n+e.length)===e}})}();return{editorPlugin:function(r){var n=r.isVoid,e=r.normalizeNode,o=r;return o.isVoid=function(r){return"link-card"===t.DomEditor.getNodeType(r)||n(r)},o.normalizeNode=function(r){var n=function(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var e,o,i=n.call(t),u=[];try{for(;(void 0===r||r-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(t){o={error:t}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(r,2),i=n[0],u=n[1];if("link-card"!==t.DomEditor.getNodeType(i))return e([i,u]);var c=(o.children||[])[u[0]+1]||{},a=t.DomEditor.getNodeType(c);if("paragraph"!==a&&"blockquote"!==a&&!a.startsWith("header")){var f=[u[0]+1];t.SlateTransforms.insertNodes(o,{type:"paragraph",children:[{text:""}]},{at:f})}},o},renderElems:[{type:"link-card",renderElem:function(n,e,o){var i=t.DomEditor.isNodeSelected(o,n),u=n,c=u.title,a=u.link,f=u.iconImgSrc,s=r.h("div",{props:{className:"w-e-textarea-link-card-text-container"}},[r.h("p",{props:{className:"w-e-link-card-title"}},c),r.h("span",{props:{className:"w-e-link-card-url",title:a}},a)]),l=r.h("div",{props:{className:"w-e-textarea-link-card-icon-container"}},[r.h("img",{props:{src:f||"data:image/png;base64,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"}})]);return r.h("div",{props:{contentEditable:!1,className:"w-e-textarea-link-card-container"},dataset:{selected:i?"true":"",href:a},on:{mousedown:function(t){return t.preventDefault()},click:function(t){i||window.open(a,"_blank","noopener,noreferrer")}}},[s,l])}}],elemsToHtml:[ge],parseElemsHtml:[yu],menus:[fu]}}));
1
+ !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@wangeditor-next/editor"),require("snabbdom")):"function"==typeof define&&define.amd?define(["@wangeditor-next/editor","snabbdom"],r):(t="undefined"!=typeof globalThis?globalThis:t||self).WangEditorLinkCardPlugin=r(t.editor,t.snabbdom)}(this,function(t,r){"use strict";t.i18nAddResources("en",{linkCard:{toCard:"To Card"}}),t.i18nAddResources("zh-CN",{linkCard:{toCard:"转为卡片"}});var n,e,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i={};function u(){if(e)return n;e=1;var t=function(t){return t&&t.Math===Math&&t};return n=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||t("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var c,a,f,s,l,v,p,d,h={};function g(){return a?c:(a=1,c=function(t){try{return!!t()}catch(t){return!0}})}function y(){if(s)return f;s=1;var t=g();return f=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function m(){if(v)return l;v=1;var t=g();return l=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function b(){if(d)return p;d=1;var t=m(),r=Function.prototype.call;return p=t?r.bind(r):function(){return r.apply(r,arguments)},p}var w,A,S,E,j,O,x,C,T,I,P,R,k,N,U,D,B,M,L,W,F,K,G,V,Y,H,Z,q,z,J,Q,X,_,$,tt,rt,nt,et,ot,it,ut,ct={};function at(){return S?A:(S=1,A=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function ft(){if(j)return E;j=1;var t=m(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return E=t?e:function(t){return function(){return n.apply(t,arguments)}},E}function st(){if(x)return O;x=1;var t=ft(),r=t({}.toString),n=t("".slice);return O=function(t){return n(r(t),8,-1)}}function lt(){return P?I:(P=1,I=function(t){return null==t})}function vt(){if(k)return R;k=1;var t=lt(),r=TypeError;return R=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function pt(){if(U)return N;U=1;var t=function(){if(T)return C;T=1;var t=ft(),r=g(),n=st(),e=Object,o=t("".split);return C=r(function(){return!e("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):e(t)}:e}(),r=vt();return N=function(n){return t(r(n))}}function dt(){if(B)return D;B=1;var t="object"==typeof document&&document.all;return D=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function ht(){if(L)return M;L=1;var t=dt();return M=function(r){return"object"==typeof r?null!==r:t(r)}}function gt(){if(F)return W;F=1;var t=u(),r=dt();return W=function(n,e){return arguments.length<2?(o=t[n],r(o)?o:void 0):t[n]&&t[n][e];var o},W}function yt(){if(G)return K;G=1;var t=ft();return K=t({}.isPrototypeOf)}function mt(){if(Y)return V;Y=1;var t=u().navigator,r=t&&t.userAgent;return V=r?String(r):""}function bt(){if(Z)return H;Z=1;var t,r,n=u(),e=mt(),o=n.process,i=n.Deno,c=o&&o.versions||i&&i.version,a=c&&c.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),H=r}function wt(){if(z)return q;z=1;var t=bt(),r=g(),n=u().String;return q=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function At(){if(Q)return J;Q=1;var t=wt();return J=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function St(){if(_)return X;_=1;var t=gt(),r=dt(),n=yt(),e=At(),o=Object;return X=e?function(t){return"symbol"==typeof t}:function(e){var i=t("Symbol");return r(i)&&n(i.prototype,o(e))}}function Et(){if(tt)return $;tt=1;var t=String;return $=function(r){try{return t(r)}catch(t){return"Object"}}}function jt(){if(nt)return rt;nt=1;var t=dt(),r=Et(),n=TypeError;return rt=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Ot(){if(ot)return et;ot=1;var t=jt(),r=lt();return et=function(n,e){var o=n[e];return r(o)?void 0:t(o)}}function xt(){if(ut)return it;ut=1;var t=b(),r=dt(),n=ht(),e=TypeError;return it=function(o,i){var u,c;if("string"===i&&r(u=o.toString)&&!n(c=t(u,o)))return c;if(r(u=o.valueOf)&&!n(c=t(u,o)))return c;if("string"!==i&&r(u=o.toString)&&!n(c=t(u,o)))return c;throw new e("Can't convert object to primitive value")}}var Ct,Tt,It,Pt,Rt,kt,Nt,Ut,Dt,Bt,Mt,Lt,Wt,Ft,Kt,Gt,Vt,Yt,Ht,Zt,qt,zt,Jt,Qt,Xt={exports:{}};function _t(){return Tt?Ct:(Tt=1,Ct=!1)}function $t(){if(Pt)return It;Pt=1;var t=u(),r=Object.defineProperty;return It=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function tr(){if(Rt)return Xt.exports;Rt=1;var t=_t(),r=u(),n=$t(),e="__core-js_shared__",o=Xt.exports=r[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.43.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Xt.exports}function rr(){if(Nt)return kt;Nt=1;var t=tr();return kt=function(r,n){return t[r]||(t[r]=n||{})}}function nr(){if(Dt)return Ut;Dt=1;var t=vt(),r=Object;return Ut=function(n){return r(t(n))}}function er(){if(Mt)return Bt;Mt=1;var t=ft(),r=nr(),n=t({}.hasOwnProperty);return Bt=Object.hasOwn||function(t,e){return n(r(t),e)}}function or(){if(Wt)return Lt;Wt=1;var t=ft(),r=0,n=Math.random(),e=t(1.1.toString);return Lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function ir(){if(Kt)return Ft;Kt=1;var t=u(),r=rr(),n=er(),e=or(),o=wt(),i=At(),c=t.Symbol,a=r("wks"),f=i?c.for||c:c&&c.withoutSetter||e;return Ft=function(t){return n(a,t)||(a[t]=o&&n(c,t)?c[t]:f("Symbol."+t)),a[t]}}function ur(){if(Vt)return Gt;Vt=1;var t=b(),r=ht(),n=St(),e=Ot(),o=xt(),i=ir(),u=TypeError,c=i("toPrimitive");return Gt=function(i,a){if(!r(i)||n(i))return i;var f,s=e(i,c);if(s){if(void 0===a&&(a="default"),f=t(s,i,a),!r(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),o(i,a)}}function cr(){if(Ht)return Yt;Ht=1;var t=ur(),r=St();return Yt=function(n){var e=t(n,"string");return r(e)?e:e+""}}function ar(){if(qt)return Zt;qt=1;var t=u(),r=ht(),n=t.document,e=r(n)&&r(n.createElement);return Zt=function(t){return e?n.createElement(t):{}}}function fr(){if(Jt)return zt;Jt=1;var t=y(),r=g(),n=ar();return zt=!t&&!r(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function sr(){if(Qt)return h;Qt=1;var t=y(),r=b(),n=function(){if(w)return ct;w=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return ct.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,ct}(),e=at(),o=pt(),i=cr(),u=er(),c=fr(),a=Object.getOwnPropertyDescriptor;return h.f=t?a:function(t,f){if(t=o(t),f=i(f),c)try{return a(t,f)}catch(t){}if(u(t,f))return e(!r(n.f,t,f),t[f])},h}var lr,vr,pr,dr,hr,gr,yr,mr={};function br(){if(vr)return lr;vr=1;var t=y(),r=g();return lr=t&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wr(){if(dr)return pr;dr=1;var t=ht(),r=String,n=TypeError;return pr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Ar(){if(hr)return mr;hr=1;var t=y(),r=fr(),n=br(),e=wr(),o=cr(),i=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,a="enumerable",f="configurable",s="writable";return mr.f=t?n?function(t,r,n){if(e(t),r=o(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&s in n&&!n[s]){var i=c(t,r);i&&i[s]&&(t[r]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:a in n?n[a]:i[a],writable:!1})}return u(t,r,n)}:u:function(t,n,c){if(e(t),n=o(n),e(c),r)try{return u(t,n,c)}catch(t){}if("get"in c||"set"in c)throw new i("Accessors not supported");return"value"in c&&(t[n]=c.value),t},mr}function Sr(){if(yr)return gr;yr=1;var t=y(),r=Ar(),n=at();return gr=t?function(t,e,o){return r.f(t,e,n(1,o))}:function(t,r,n){return t[r]=n,t}}var Er,jr,Or,xr,Cr,Tr,Ir,Pr,Rr,kr,Nr,Ur,Dr,Br,Mr,Lr={exports:{}};function Wr(){if(xr)return Or;xr=1;var t=ft(),r=dt(),n=tr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),Or=n.inspectSource}function Fr(){if(Pr)return Ir;Pr=1;var t=rr(),r=or(),n=t("keys");return Ir=function(t){return n[t]||(n[t]=r(t))}}function Kr(){return kr?Rr:(kr=1,Rr={})}function Gr(){if(Ur)return Nr;Ur=1;var t,r,n,e=function(){if(Tr)return Cr;Tr=1;var t=u(),r=dt(),n=t.WeakMap;return Cr=r(n)&&/native code/.test(String(n))}(),o=u(),i=ht(),c=Sr(),a=er(),f=tr(),s=Fr(),l=Kr(),v="Object already initialized",p=o.TypeError,d=o.WeakMap;if(e||f.state){var h=f.state||(f.state=new d);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,r){if(h.has(t))throw new p(v);return r.facade=t,h.set(t,r),r},r=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var g=s("state");l[g]=!0,t=function(t,r){if(a(t,g))throw new p(v);return r.facade=t,c(t,g,r),r},r=function(t){return a(t,g)?t[g]:{}},n=function(t){return a(t,g)}}return Nr={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!i(n)||(e=r(n)).type!==t)throw new p("Incompatible receiver, "+t+" required");return e}}}}function Vr(){if(Dr)return Lr.exports;Dr=1;var t=ft(),r=g(),n=dt(),e=er(),o=y(),i=function(){if(jr)return Er;jr=1;var t=y(),r=er(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,o=r(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&e(n,"name").configurable);return Er={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Wr(),c=Gr(),a=c.enforce,f=c.get,s=String,l=Object.defineProperty,v=t("".slice),p=t("".replace),d=t([].join),h=o&&!r(function(){return 8!==l(function(){},"length",{value:8}).length}),m=String(String).split("String"),b=Lr.exports=function(t,r,n){"Symbol("===v(s(r),0,7)&&(r="["+p(s(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!e(t,"name")||i&&t.name!==r)&&(o?l(t,"name",{value:r,configurable:!0}):t.name=r),h&&n&&e(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=a(t);return e(u,"source")||(u.source=d(m,"string"==typeof r?r:"")),t};return Function.prototype.toString=b(function(){return n(this)&&f(this).source||u(this)},"toString"),Lr.exports}function Yr(){if(Mr)return Br;Mr=1;var t=dt(),r=Ar(),n=Vr(),e=$t();return Br=function(o,i,u,c){c||(c={});var a=c.enumerable,f=void 0!==c.name?c.name:i;if(t(u)&&n(u,f,c),c.global)a?o[i]=u:e(i,u);else{try{c.unsafe?o[i]&&(a=!0):delete o[i]}catch(t){}a?o[i]=u:r.f(o,i,{value:u,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return o}}var Hr,Zr,qr,zr,Jr,Qr,Xr,_r,$r,tn,rn,nn,en,on,un,cn,an,fn={};function sn(){if(zr)return qr;zr=1;var t=function(){if(Zr)return Hr;Zr=1;var t=Math.ceil,r=Math.floor;return Hr=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}();return qr=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function ln(){if(Qr)return Jr;Qr=1;var t=sn(),r=Math.max,n=Math.min;return Jr=function(e,o){var i=t(e);return i<0?r(i+o,0):n(i,o)}}function vn(){if(_r)return Xr;_r=1;var t=sn(),r=Math.min;return Xr=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function pn(){if(tn)return $r;tn=1;var t=vn();return $r=function(r){return t(r.length)}}function dn(){if(on)return en;on=1;var t=ft(),r=er(),n=pt(),e=function(){if(nn)return rn;nn=1;var t=pt(),r=ln(),n=pn(),e=function(e){return function(o,i,u){var c=t(o),a=n(c);if(0===a)return!e&&-1;var f,s=r(u,a);if(e&&i!=i){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((e||s in c)&&c[s]===i)return e||s||0;return!e&&-1}};return rn={includes:e(!0),indexOf:e(!1)}}().indexOf,o=Kr(),i=t([].push);return en=function(t,u){var c,a=n(t),f=0,s=[];for(c in a)!r(o,c)&&r(a,c)&&i(s,c);for(;u.length>f;)r(a,c=u[f++])&&(~e(s,c)||i(s,c));return s}}function hn(){return cn?un:(cn=1,un=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var gn,yn,mn,bn,wn,An,Sn,En,jn,On,xn,Cn,Tn,In,Pn,Rn,kn,Nn,Un,Dn,Bn,Mn,Ln,Wn,Fn,Kn,Gn,Vn,Yn={};function Hn(){if(mn)return yn;mn=1;var t=gt(),r=ft(),n=function(){if(an)return fn;an=1;var t=dn(),r=hn().concat("length","prototype");return fn.f=Object.getOwnPropertyNames||function(n){return t(n,r)},fn}(),e=(gn||(gn=1,Yn.f=Object.getOwnPropertySymbols),Yn),o=wr(),i=r([].concat);return yn=t("Reflect","ownKeys")||function(t){var r=n.f(o(t)),u=e.f;return u?i(r,u(t)):r}}function Zn(){if(wn)return bn;wn=1;var t=er(),r=Hn(),n=sr(),e=Ar();return bn=function(o,i,u){for(var c=r(i),a=e.f,f=n.f,s=0;s<c.length;s++){var l=c[s];t(o,l)||u&&t(u,l)||a(o,l,f(i,l))}}}function qn(){if(Sn)return An;Sn=1;var t=g(),r=dt(),n=/#|\.prototype\./,e=function(n,e){var a=i[o(n)];return a===c||a!==u&&(r(e)?t(e):!!e)},o=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",c=e.POLYFILL="P";return An=e}function zn(){if(jn)return En;jn=1;var t=u(),r=sr().f,n=Sr(),e=Yr(),o=$t(),i=Zn(),c=qn();return En=function(u,a){var f,s,l,v,p,d=u.target,h=u.global,g=u.stat;if(f=h?t:g?t[d]||o(d,{}):t[d]&&t[d].prototype)for(s in a){if(v=a[s],l=u.dontCallGetSet?(p=r(f,s))&&p.value:f[s],!c(h?s:d+(g?".":"#")+s,u.forced)&&void 0!==l){if(typeof v==typeof l)continue;i(v,l)}(u.sham||l&&l.sham)&&n(v,"sham",!0),e(f,s,v,u)}}}function Jn(){if(xn)return On;xn=1;var t=st();return On=Array.isArray||function(r){return"Array"===t(r)}}function Qn(){if(Tn)return Cn;Tn=1;var t=TypeError;return Cn=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function Xn(){if(Pn)return In;Pn=1;var t=y(),r=Ar(),n=at();return In=function(e,o,i){t?r.f(e,o,n(0,i)):e[o]=i}}function _n(){if(kn)return Rn;kn=1;var t={};return t[ir()("toStringTag")]="z",Rn="[object z]"===String(t)}function $n(){if(Un)return Nn;Un=1;var t=_n(),r=dt(),n=st(),e=ir()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Nn=t?n:function(t){var u,c,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(c=function(t,r){try{return t[r]}catch(t){}}(u=o(t),e))?c:i?n(u):"Object"===(a=n(u))&&r(u.callee)?"Arguments":a}}function te(){if(Bn)return Dn;Bn=1;var t=ft(),r=g(),n=dt(),e=$n(),o=gt(),i=Wr(),u=function(){},c=o("Reflect","construct"),a=/^\s*(?:class|function)\b/,f=t(a.exec),s=!a.test(u),l=function(t){if(!n(t))return!1;try{return c(u,[],t),!0}catch(t){return!1}},v=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!f(a,i(t))}catch(t){return!0}};return v.sham=!0,Dn=!c||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?v:l}function re(){if(Ln)return Mn;Ln=1;var t=Jn(),r=te(),n=ht(),e=ir()("species"),o=Array;return Mn=function(i){var u;return t(i)&&(u=i.constructor,(r(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function ne(){if(Fn)return Wn;Fn=1;var t=re();return Wn=function(r,n){return new(t(r))(0===n?0:n)}}function ee(){if(Gn)return Kn;Gn=1;var t=g(),r=ir(),n=bt(),e=r("species");return Kn=function(r){return n>=51||!t(function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}!function(){if(Vn)return i;Vn=1;var t=zn(),r=g(),n=Jn(),e=ht(),o=nr(),u=pn(),c=Qn(),a=Xn(),f=ne(),s=ee(),l=ir(),v=bt(),p=l("isConcatSpreadable"),d=v>=51||!r(function(){var t=[];return t[p]=!1,t.concat()[0]!==t}),h=function(t){if(!e(t))return!1;var r=t[p];return void 0!==r?!!r:n(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!s("concat")},{concat:function(t){var r,n,e,i,s,l=o(this),v=f(l,0),p=0;for(r=-1,e=arguments.length;r<e;r++)if(h(s=-1===r?l:arguments[r]))for(i=u(s),c(p+i),n=0;n<i;n++,p++)n in s&&a(v,p,s[n]);else c(p+1),a(v,p++,s);return v.length=p,v}})}();var oe,ie,ue,ce,ae,fe,se,le={};function ve(){if(ie)return oe;ie=1;var t=$n(),r=String;return oe=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}!function(){if(se)return le;se=1;var t=zn(),r=function(){if(ce)return ue;ce=1;var t=ft(),r=vt(),n=ve(),e=/"/g,o=t("".replace);return ue=function(t,i,u,c){var a=n(r(t)),f="<"+i;return""!==u&&(f+=" "+u+'="'+o(n(c),e,"&quot;")+'"'),f+">"+a+"</"+i+">"}}(),n=function(){if(fe)return ae;fe=1;var t=g();return ae=function(r){return t(function(){var t=""[r]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("link")},{link:function(t){return r(this,"a","href",t)}})}();var pe,de,he,ge={type:"link-card",elemToHtml:function(t,r){var n=t,e=n.title,o=void 0===e?"":e,i=n.link,u=void 0===i?"":i,c=n.iconImgSrc,a=void 0===c?"":c;return'<div data-w-e-type="link-card" data-w-e-is-void data-title="'.concat(o,'" data-link="').concat(u,'" data-iconImgSrc="').concat(a,'">\n <div class="info-container">\n <div class="title-container"><p>').concat(o,'</p></div>\n <div class="link-container"><span>').concat(u,'</span></div>\n </div>\n <div class="icon-container">\n <img src="').concat(a,'"/>\n </div>\n </div>')}},ye={};!function(){if(he)return ye;he=1;var t=_n(),r=Yr(),n=function(){if(de)return pe;de=1;var t=_n(),r=$n();return pe=t?{}.toString:function(){return"[object "+r(this)+"]"}}();t||r(Object.prototype,"toString",n,{unsafe:!0})}();var me,be,we,Ae,Se,Ee,je,Oe,xe,Ce,Te,Ie,Pe,Re,ke,Ne,Ue,De,Be,Me,Le,We,Fe,Ke,Ge,Ve,Ye,He,Ze,qe,ze,Je,Qe,Xe,_e,$e,to,ro,no,eo,oo,io,uo,co,ao,fo,so,lo,vo,po,ho,go,yo,mo,bo,wo,Ao,So,Eo,jo,Oo={};function xo(){if(be)return me;be=1;var t=u(),r=mt(),n=st(),e=function(t){return r.slice(0,t.length)===t};return me=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Co(){if(Ae)return we;Ae=1;var t=xo();return we="NODE"===t}function To(){if(Ee)return Se;Ee=1;var t=u();return Se=t}function Io(){if(Ce)return xe;Ce=1;var t=ht();return xe=function(r){return t(r)||null===r}}function Po(){if(Ie)return Te;Ie=1;var t=Io(),r=String,n=TypeError;return Te=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function Ro(){if(Re)return Pe;Re=1;var t=function(){if(Oe)return je;Oe=1;var t=ft(),r=jt();return je=function(n,e,o){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[o]))}catch(t){}}}(),r=ht(),n=vt(),e=Po();return Pe=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),e(u),r(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function ko(){if(Ne)return ke;Ne=1;var t=Ar().f,r=er(),n=ir()("toStringTag");return ke=function(e,o,i){e&&!i&&(e=e.prototype),e&&!r(e,n)&&t(e,n,{configurable:!0,value:o})}}function No(){if(De)return Ue;De=1;var t=Vr(),r=Ar();return Ue=function(n,e,o){return o.get&&t(o.get,e,{getter:!0}),o.set&&t(o.set,e,{setter:!0}),r.f(n,e,o)}}function Uo(){if(Me)return Be;Me=1;var t=gt(),r=No(),n=ir(),e=y(),o=n("species");return Be=function(n){var i=t(n);e&&i&&!i[o]&&r(i,o,{configurable:!0,get:function(){return this}})}}function Do(){if(We)return Le;We=1;var t=yt(),r=TypeError;return Le=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function Bo(){if(Ke)return Fe;Ke=1;var t=te(),r=Et(),n=TypeError;return Fe=function(e){if(t(e))return e;throw new n(r(e)+" is not a constructor")}}function Mo(){if(Ve)return Ge;Ve=1;var t=wr(),r=Bo(),n=lt(),e=ir()("species");return Ge=function(o,i){var u,c=t(o).constructor;return void 0===c||n(u=t(c)[e])?i:r(u)}}function Lo(){if(He)return Ye;He=1;var t=m(),r=Function.prototype,n=r.apply,e=r.call;return Ye="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),Ye}function Wo(){if(qe)return Ze;qe=1;var t=st(),r=ft();return Ze=function(n){if("Function"===t(n))return r(n)}}function Fo(){if(Je)return ze;Je=1;var t=Wo(),r=jt(),n=m(),e=t(t.bind);return ze=function(t,o){return r(t),void 0===o?t:n?e(t,o):function(){return t.apply(o,arguments)}},ze}function Ko(){if(Xe)return Qe;Xe=1;var t=gt();return Qe=t("document","documentElement")}function Go(){if($e)return _e;$e=1;var t=ft();return _e=t([].slice)}function Vo(){if(ro)return to;ro=1;var t=TypeError;return to=function(r,n){if(r<n)throw new t("Not enough arguments");return r}}function Yo(){if(eo)return no;eo=1;var t=mt();return no=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function Ho(){if(io)return oo;io=1;var t,r,n,e,o=u(),i=Lo(),c=Fo(),a=dt(),f=er(),s=g(),l=Ko(),v=Go(),p=ar(),d=Vo(),h=Yo(),y=Co(),m=o.setImmediate,b=o.clearImmediate,w=o.process,A=o.Dispatch,S=o.Function,E=o.MessageChannel,j=o.String,O=0,x={},C="onreadystatechange";s(function(){t=o.location});var T=function(t){if(f(x,t)){var r=x[t];delete x[t],r()}},I=function(t){return function(){T(t)}},P=function(t){T(t.data)},R=function(r){o.postMessage(j(r),t.protocol+"//"+t.host)};return m&&b||(m=function(t){d(arguments.length,1);var n=a(t)?t:S(t),e=v(arguments,1);return x[++O]=function(){i(n,void 0,e)},r(O),O},b=function(t){delete x[t]},y?r=function(t){w.nextTick(I(t))}:A&&A.now?r=function(t){A.now(I(t))}:E&&!h?(e=(n=new E).port2,n.port1.onmessage=P,r=c(e.postMessage,e)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!s(R)?(r=R,o.addEventListener("message",P,!1)):r=C in p("script")?function(t){l.appendChild(p("script"))[C]=function(){l.removeChild(this),T(t)}}:function(t){setTimeout(I(t),0)}),oo={set:m,clear:b}}function Zo(){if(co)return uo;co=1;var t=u(),r=y(),n=Object.getOwnPropertyDescriptor;return uo=function(e){if(!r)return t[e];var o=n(t,e);return o&&o.value}}function qo(){if(fo)return ao;fo=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},ao=t}function zo(){if(go)return ho;go=1;var t,r,n,e,o,i=u(),c=Zo(),a=Fo(),f=Ho().set,s=qo(),l=Yo(),v=function(){if(lo)return so;lo=1;var t=mt();return so=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),p=function(){if(po)return vo;po=1;var t=mt();return vo=/web0s(?!.*chrome)/i.test(t)}(),d=Co(),h=i.MutationObserver||i.WebKitMutationObserver,g=i.document,y=i.process,m=i.Promise,b=c("queueMicrotask");if(!b){var w=new s,A=function(){var r,n;for(d&&(r=y.domain)&&r.exit();n=w.get();)try{n()}catch(r){throw w.head&&t(),r}r&&r.enter()};l||d||p||!h||!g?!v&&m&&m.resolve?((e=m.resolve(void 0)).constructor=m,o=a(e.then,e),t=function(){o(A)}):d?t=function(){y.nextTick(A)}:(f=a(f,i),t=function(){f(A)}):(r=!0,n=g.createTextNode(""),new h(A).observe(n,{characterData:!0}),t=function(){n.data=r=!r}),b=function(r){w.head||t(),w.add(r)}}return ho=b}function Jo(){return mo||(mo=1,yo=function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}),yo}function Qo(){return wo?bo:(wo=1,bo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function Xo(){if(So)return Ao;So=1;var t=u();return Ao=t.Promise}function _o(){if(jo)return Eo;jo=1;var t=u(),r=Xo(),n=dt(),e=qn(),o=Wr(),i=ir(),c=xo(),a=_t(),f=bt(),s=r&&r.prototype,l=i("species"),v=!1,p=n(t.PromiseRejectionEvent),d=e("Promise",function(){var t=o(r),n=t!==String(r);if(!n&&66===f)return!0;if(a&&(!s.catch||!s.finally))return!0;if(!f||f<51||!/native code/.test(t)){var e=new r(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((e.constructor={})[l]=i,!(v=e.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==c&&"DENO"!==c||p)});return Eo={CONSTRUCTOR:d,REJECTION_EVENT:p,SUBCLASSING:v}}var $o,ti,ri={};function ni(){if($o)return ri;$o=1;var t=jt(),r=TypeError,n=function(n){var e,o;this.promise=new n(function(t,n){if(void 0!==e||void 0!==o)throw new r("Bad Promise constructor");e=t,o=n}),this.resolve=t(e),this.reject=t(o)};return ri.f=function(t){return new n(t)},ri}var ei,oi,ii,ui,ci,ai,fi,si,li,vi,pi,di,hi,gi,yi,mi,bi,wi={};function Ai(){return oi?ei:(oi=1,ei={})}function Si(){if(ui)return ii;ui=1;var t=ir(),r=Ai(),n=t("iterator"),e=Array.prototype;return ii=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function Ei(){if(ai)return ci;ai=1;var t=$n(),r=Ot(),n=lt(),e=Ai(),o=ir()("iterator");return ci=function(i){if(!n(i))return r(i,o)||r(i,"@@iterator")||e[t(i)]}}function ji(){if(si)return fi;si=1;var t=b(),r=jt(),n=wr(),e=Et(),o=Ei(),i=TypeError;return fi=function(u,c){var a=arguments.length<2?o(u):c;if(r(a))return n(t(a,u));throw new i(e(u)+" is not iterable")},fi}function Oi(){if(vi)return li;vi=1;var t=b(),r=wr(),n=Ot();return li=function(e,o,i){var u,c;r(e);try{if(!(u=n(e,"return"))){if("throw"===o)throw i;return i}u=t(u,e)}catch(t){c=!0,u=t}if("throw"===o)throw i;if(c)throw u;return r(u),i}}function xi(){if(di)return pi;di=1;var t=Fo(),r=b(),n=wr(),e=Et(),o=Si(),i=pn(),u=yt(),c=ji(),a=Ei(),f=Oi(),s=TypeError,l=function(t,r){this.stopped=t,this.result=r},v=l.prototype;return pi=function(p,d,h){var g,y,m,b,w,A,S,E=h&&h.that,j=!(!h||!h.AS_ENTRIES),O=!(!h||!h.IS_RECORD),x=!(!h||!h.IS_ITERATOR),C=!(!h||!h.INTERRUPTED),T=t(d,E),I=function(t){return g&&f(g,"normal"),new l(!0,t)},P=function(t){return j?(n(t),C?T(t[0],t[1],I):T(t[0],t[1])):C?T(t,I):T(t)};if(O)g=p.iterator;else if(x)g=p;else{if(!(y=a(p)))throw new s(e(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((w=P(p[m]))&&u(v,w))return w;return new l(!1)}g=c(p,y)}for(A=O?p.next:g.next;!(S=r(A,g)).done;){try{w=P(S.value)}catch(t){f(g,"throw",t)}if("object"==typeof w&&w&&u(v,w))return w}return new l(!1)}}function Ci(){if(gi)return hi;gi=1;var t=ir()("iterator"),r=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){r=!0}};e[t]=function(){return this},Array.from(e,function(){throw 2})}catch(t){}return hi=function(n,e){try{if(!e&&!r)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function Ti(){if(mi)return yi;mi=1;var t=Xo(),r=Ci(),n=_o().CONSTRUCTOR;return yi=n||!r(function(r){t.all(r).then(void 0,function(){})})}var Ii,Pi={};var Ri,ki={};var Ni,Ui={};var Di,Bi,Mi,Li,Wi={};function Fi(){if(Bi)return Di;Bi=1;var t=wr(),r=ht(),n=ni();return Di=function(e,o){if(t(e),r(o)&&o.constructor===e)return o;var i=n.f(e);return(0,i.resolve)(o),i.promise}}function Ki(t,r,n,e){return new(n||(n=Promise))(function(o,i){function u(t){try{a(e.next(t))}catch(t){i(t)}}function c(t){try{a(e.throw(t))}catch(t){i(t)}}function a(t){var r;t.done?o(t.value):(r=t.value,r instanceof n?r:new n(function(t){t(r)})).then(u,c)}a((e=e.apply(t,r||[])).next())})}function Gi(t,r){var n,e,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(c){return function(a){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,e&&(o=2&c[0]?e.return:c[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,c[1])).done)return o;switch(e=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,e=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=r.call(t,i)}catch(t){c=[6,t],e=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,a])}}}Li||(Li=1,function(){if(ti)return Oo;ti=1;var t,r,n,e,o=zn(),i=_t(),c=Co(),a=u(),f=To(),s=b(),l=Yr(),v=Ro(),p=ko(),d=Uo(),h=jt(),g=dt(),y=ht(),m=Do(),w=Mo(),A=Ho().set,S=zo(),E=Jo(),j=Qo(),O=qo(),x=Gr(),C=Xo(),T=_o(),I=ni(),P="Promise",R=T.CONSTRUCTOR,k=T.REJECTION_EVENT,N=T.SUBCLASSING,U=x.getterFor(P),D=x.set,B=C&&C.prototype,M=C,L=B,W=a.TypeError,F=a.document,K=a.process,G=I.f,V=G,Y=!!(F&&F.createEvent&&a.dispatchEvent),H="unhandledrejection",Z=function(t){var r;return!(!y(t)||!g(r=t.then))&&r},q=function(t,r){var n,e,o,i=r.value,u=1===r.state,c=u?t.ok:t.fail,a=t.resolve,f=t.reject,l=t.domain;try{c?(u||(2===r.rejection&&_(r),r.rejection=1),!0===c?n=i:(l&&l.enter(),n=c(i),l&&(l.exit(),o=!0)),n===t.promise?f(new W("Promise-chain cycle")):(e=Z(n))?s(e,n,a,f):a(n)):f(i)}catch(t){l&&!o&&l.exit(),f(t)}},z=function(t,r){t.notified||(t.notified=!0,S(function(){for(var n,e=t.reactions;n=e.get();)q(n,t);t.notified=!1,r&&!t.rejection&&Q(t)}))},J=function(t,r,n){var e,o;Y?((e=F.createEvent("Event")).promise=r,e.reason=n,e.initEvent(t,!1,!0),a.dispatchEvent(e)):e={promise:r,reason:n},!k&&(o=a["on"+t])?o(e):t===H&&E("Unhandled promise rejection",n)},Q=function(t){s(A,a,function(){var r,n=t.facade,e=t.value;if(X(t)&&(r=j(function(){c?K.emit("unhandledRejection",e,n):J(H,n,e)}),t.rejection=c||X(t)?2:1,r.error))throw r.value})},X=function(t){return 1!==t.rejection&&!t.parent},_=function(t){s(A,a,function(){var r=t.facade;c?K.emit("rejectionHandled",r):J("rejectionhandled",r,t.value)})},$=function(t,r,n){return function(e){t(r,e,n)}},tt=function(t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,z(t,!0))},rt=function(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw new W("Promise can't be resolved itself");var e=Z(r);e?S(function(){var n={done:!1};try{s(e,r,$(rt,n,t),$(tt,n,t))}catch(r){tt(n,r,t)}}):(t.value=r,t.state=1,z(t,!1))}catch(r){tt({done:!1},r,t)}}};if(R&&(L=(M=function(r){m(this,L),h(r),s(t,this);var n=U(this);try{r($(rt,n),$(tt,n))}catch(t){tt(n,t)}}).prototype,(t=function(t){D(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,r){var n=U(this),e=G(w(this,M));return n.parent=!0,e.ok=!g(t)||t,e.fail=g(r)&&r,e.domain=c?K.domain:void 0,0===n.state?n.reactions.add(e):S(function(){q(e,n)}),e.promise}),r=function(){var r=new t,n=U(r);this.promise=r,this.resolve=$(rt,n),this.reject=$(tt,n)},I.f=G=function(t){return t===M||t===n?new r(t):V(t)},!i&&g(C)&&B!==Object.prototype)){e=B.then,N||l(B,"then",function(t,r){var n=this;return new M(function(t,r){s(e,n,t,r)}).then(t,r)},{unsafe:!0});try{delete B.constructor}catch(t){}v&&v(B,L)}o({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:M}),n=f.Promise,p(M,P,!1,!0),d(P)}(),function(){if(bi)return wi;bi=1;var t=zn(),r=b(),n=jt(),e=ni(),o=Qo(),i=xi();t({target:"Promise",stat:!0,forced:Ti()},{all:function(t){var u=this,c=e.f(u),a=c.resolve,f=c.reject,s=o(function(){var e=n(u.resolve),o=[],c=0,s=1;i(t,function(t){var n=c++,i=!1;s++,r(e,u,t).then(function(t){i||(i=!0,o[n]=t,--s||a(o))},f)}),--s||a(o)});return s.error&&f(s.value),c.promise}})}(),function(){if(Ii)return Pi;Ii=1;var t=zn(),r=_t(),n=_o().CONSTRUCTOR,e=Xo(),o=gt(),i=dt(),u=Yr(),c=e&&e.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&i(e)){var a=o("Promise").prototype.catch;c.catch!==a&&u(c,"catch",a,{unsafe:!0})}}(),function(){if(Ri)return ki;Ri=1;var t=zn(),r=b(),n=jt(),e=ni(),o=Qo(),i=xi();t({target:"Promise",stat:!0,forced:Ti()},{race:function(t){var u=this,c=e.f(u),a=c.reject,f=o(function(){var e=n(u.resolve);i(t,function(t){r(e,u,t).then(c.resolve,a)})});return f.error&&a(f.value),c.promise}})}(),function(){if(Ni)return Ui;Ni=1;var t=zn(),r=ni();t({target:"Promise",stat:!0,forced:_o().CONSTRUCTOR},{reject:function(t){var n=r.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(Mi)return Wi;Mi=1;var t=zn(),r=gt(),n=_t(),e=Xo(),o=_o().CONSTRUCTOR,i=Fi(),u=r("Promise"),c=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(c&&this===u?e:this,t)}})}()),"function"==typeof SuppressedError&&SuppressedError;var Vi,Yi,Hi,Zi,qi={};function zi(){if(Yi)return Vi;Yi=1;var t=wr();return Vi=function(){var r=t(this),n="";return r.hasIndices&&(n+="d"),r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.unicodeSets&&(n+="v"),r.sticky&&(n+="y"),n}}var Ji,Qi,Xi,_i,$i,tu,ru,nu,eu,ou,iu,uu,cu={};function au(){if(Qi)return Ji;Qi=1;var t=dn(),r=hn();return Ji=Object.keys||function(n){return t(n,r)}}function fu(){if($i)return _i;$i=1;var t,r=wr(),n=function(){if(Xi)return cu;Xi=1;var t=y(),r=br(),n=Ar(),e=wr(),o=pt(),i=au();return cu.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,c=o(r),a=i(r),f=a.length,s=0;f>s;)n.f(t,u=a[s++],c[u]);return t},cu}(),e=hn(),o=Kr(),i=Ko(),u=ar(),c=Fr(),a="prototype",f="script",s=c("IE_PROTO"),l=function(){},v=function(t){return"<"+f+">"+t+"</"+f+">"},p=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,n,o;d="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(r=n.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):p(t);for(var c=e.length;c--;)delete d[a][e[c]];return d()};return o[s]=!0,_i=Object.create||function(t,e){var o;return null!==t?(l[a]=r(t),o=new l,l[a]=null,o[s]=t):o=d(),void 0===e?o:n.f(o,e)}}function su(){if(iu)return ou;iu=1;var t,r,n=b(),e=ft(),o=ve(),i=zi(),c=function(){if(Zi)return Hi;Zi=1;var t=g(),r=u().RegExp,n=t(function(){var t=r("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),e=n||t(function(){return!r("a","y").sticky}),o=n||t(function(){var t=r("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Hi={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=rr(),f=fu(),s=Gr().get,l=function(){if(ru)return tu;ru=1;var t=g(),r=u().RegExp;return tu=t(function(){var t=r(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),v=function(){if(eu)return nu;eu=1;var t=g(),r=u().RegExp;return nu=t(function(){var t=r("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),p=a("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,h=d,y=e("".charAt),m=e("".indexOf),w=e("".replace),A=e("".slice),S=(r=/b*/g,n(d,t=/a/,"a"),n(d,r,"a"),0!==t.lastIndex||0!==r.lastIndex),E=c.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];return(S||j||E||l||v)&&(h=function(t){var r,e,u,c,a,l,v,g=this,b=s(g),O=o(t),x=b.raw;if(x)return x.lastIndex=g.lastIndex,r=n(h,x,O),g.lastIndex=x.lastIndex,r;var C=b.groups,T=E&&g.sticky,I=n(i,g),P=g.source,R=0,k=O;if(T&&(I=w(I,"y",""),-1===m(I,"g")&&(I+="g"),k=A(O,g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==y(O,g.lastIndex-1))&&(P="(?: "+P+")",k=" "+k,R++),e=new RegExp("^(?:"+P+")",I)),j&&(e=new RegExp("^"+P+"$(?!\\s)",I)),S&&(u=g.lastIndex),c=n(d,T?e:g,k),T?c?(c.input=A(c.input,R),c[0]=A(c[0],R),c.index=g.lastIndex,g.lastIndex+=c[0].length):g.lastIndex=0:S&&c&&(g.lastIndex=g.global?c.index+c[0].length:u),j&&c&&c.length>1&&n(p,c[0],e,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(c[a]=void 0)}),c&&C)for(c.groups=l=f(null),a=0;a<C.length;a++)l[(v=C[a])[0]]=c[v[1]];return c}),ou=h}!function(){if(uu)return qi;uu=1;var t=zn(),r=su();t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})}();var lu=function(){function r(){this.title=t.t("linkCard.toCard"),this.iconSvg="",this.tag="button"}return r.prototype.getSelectedLinkElem=function(r){var n=t.DomEditor.getSelectedNodeByType(r,"link");return null==n?null:n},r.prototype.getValue=function(t){return""},r.prototype.isActive=function(t){return!1},r.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},r.prototype.exec=function(r,n){return Ki(this,void 0,void 0,function(){var n,e,o,i,u,c,a,f,s,l;return Gi(this,function(v){switch(v.label){case 0:if(this.isDisabled(r))return[2];if(null==(n=this.getSelectedLinkElem(r)))return[2];if("function"!=typeof(e=r.getMenuConfig("convertToLinkCard").getLinkCardInfo))return[2];o=n.url,i=t.SlateNode.string(n),v.label=1;case 1:return v.trys.push([1,3,,4]),[4,e(i,o)];case 2:return u=v.sent(),c=u.title,a=u.iconImgSrc,f=t.DomEditor.findPath(r,n),t.SlateTransforms.removeNodes(r,{at:f}),t.SlateTransforms.splitNodes(r,{always:!0}),s={type:"link-card",link:o,title:c,iconImgSrc:a,children:[{text:""}]},t.SlateTransforms.insertNodes(r,s),[3,4];case 3:return l=v.sent(),console.error("Convert to link-cart error",l),[3,4];case 4:return[2]}})})},r}(),vu={key:"convertToLinkCard",factory:function(){return new lu},config:{getLinkCardInfo:function(t,r){return Ki(this,void 0,void 0,function(){return Gi(this,function(r){return[2,new Promise(function(r){setTimeout(function(){r({title:t,iconImgSrc:""})},100)})]})})}}};var pu,du,hu,gu,yu,mu,bu,wu={selector:'div[data-w-e-type="link-card"]',parseElemHtml:function(t,r,n){return{type:"link-card",link:t.getAttribute("data-link")||"",title:t.getAttribute("data-title")||"",iconImgSrc:t.getAttribute("data-iconImgSrc")||"",children:[{text:""}]}}},Au={};function Su(){if(gu)return hu;gu=1;var t=function(){if(du)return pu;du=1;var t=ht(),r=st(),n=ir()("match");return pu=function(e){var o;return t(e)&&(void 0!==(o=e[n])?!!o:"RegExp"===r(e))}}(),r=TypeError;return hu=function(n){if(t(n))throw new r("The method doesn't accept regular expressions");return n}}!function(){if(bu)return Au;bu=1;var t,r=zn(),n=Wo(),e=sr().f,o=vn(),i=ve(),u=Su(),c=vt(),a=function(){if(mu)return yu;mu=1;var t=ir()("match");return yu=function(r){var n=/./;try{"/./"[r](n)}catch(e){try{return n[t]=!1,"/./"[r](n)}catch(t){}}return!1}}(),f=_t(),s=n("".slice),l=Math.min,v=a("startsWith");r({target:"String",proto:!0,forced:!!(f||v||(t=e(String.prototype,"startsWith"),!t||t.writable))&&!v},{startsWith:function(t){var r=i(c(this));u(t);var n=o(l(arguments.length>1?arguments[1]:void 0,r.length)),e=i(t);return s(r,n,n+e.length)===e}})}();var Eu={editorPlugin:function(r){var n=r.isVoid,e=r.normalizeNode,o=r;return o.isVoid=function(r){return"link-card"===t.DomEditor.getNodeType(r)||n(r)},o.normalizeNode=function(r){var n=function(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var e,o,i=n.call(t),u=[];try{for(;(void 0===r||r-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(t){o={error:t}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(r,2),i=n[0],u=n[1];if("link-card"!==t.DomEditor.getNodeType(i))return e([i,u]);var c=(o.children||[])[u[0]+1]||{},a=t.DomEditor.getNodeType(c);if("paragraph"!==a&&"blockquote"!==a&&!a.startsWith("header")){var f=[u[0]+1];t.SlateTransforms.insertNodes(o,{type:"paragraph",children:[{text:""}]},{at:f})}},o},renderElems:[{type:"link-card",renderElem:function(n,e,o){var i=t.DomEditor.isNodeSelected(o,n),u=n,c=u.title,a=u.link,f=u.iconImgSrc,s=r.h("div",{props:{className:"w-e-textarea-link-card-text-container"}},[r.h("p",{props:{className:"w-e-link-card-title"}},c),r.h("span",{props:{className:"w-e-link-card-url",title:a}},a)]),l=r.h("div",{props:{className:"w-e-textarea-link-card-icon-container"}},[r.h("img",{props:{src:f||"data:image/png;base64,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"}})]);return r.h("div",{props:{contentEditable:!1,className:"w-e-textarea-link-card-container"},dataset:{selected:i?"true":"",href:a},on:{mousedown:function(t){return t.preventDefault()},click:function(t){i||window.open(a,"_blank","noopener,noreferrer")}}},[s,l])}}],elemsToHtml:[ge],parseElemsHtml:[wu],menus:[vu]};return Eu});
2
2
  //# sourceMappingURL=index.js.map